/*
############### Widget Tabs ###################
*/

body {
  background-color: transparent;
  font-family: 'Roboto', Arial !important;
}
h1, h2, h3, h4, h5, h6 {
  color: #333333;    
  text-shadow: none; 
  font-weight: normal; 
  font-family: 'Roboto', Arial !important;
}
.widget-tabs {
  position: relative;
  clear: both;
  margin: 25px 0;
  height: 250px;
}
.widget-tab {
  float: left;
  width: 50%;
}
.widget-tab label {
  background: #eee; 
  padding: 10px 41px;   
  position: relative; 
  cursor: pointer;
}
.widget-tab [type=radio] {
  display: none;   
}
#wTabs form label {
    clear: both;
    text-align: left;
    margin-left: 15px;
    font-size: 16px;
    color: #333333;
    font-weight: 400;
}
.widget-tab .content {
  position: absolute;
  top: 28px;
  left: 0;
  background: white;
  right: 0;
  bottom: 0;
  padding: 20px;
  border: 1px solid #ccc; 
}
[type=radio]:checked ~ label {
  background: white;
  border-bottom: 1px solid white;
  z-index: 2;
}
[type=radio]:checked ~ label ~ .content {
  z-index: 1;
}
/*
############### Form ###################
*/
#w-earnings-calc {
  width: 400px;
  height: auto;
  margin: 0 auto;
  padding: 0;
}
#wTabs h4 {
    font-size: 22px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 100;
}
.hint {
    margin: -7px 0 0 5px;
}
.hint:hover { cursor: pointer; }
.hint > a {
  color: #AFA8A8;
  top: 10px;
  left: 1px;
  position: relative;
}
#wTabs .btn-blue  {
    background: #49a4d0;
    background: -moz-linear-gradient(top, #49a4d0 0%, #46a2d3 50%, #3799ca 51%, #3596cb 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#49a4d0), color-stop(50%,#46a2d3), color-stop(51%,#3799ca), color-stop(100%,#3596cb));
    background: -webkit-linear-gradient(top, #49a4d0 0%,#46a2d3 50%,#3799ca 51%,#3596cb 100%);
    background: -o-linear-gradient(top, #49a4d0 0%,#46a2d3 50%,#3799ca 51%,#3596cb 100%);
    background: -ms-linear-gradient(top, #49a4d0 0%,#46a2d3 50%,#3799ca 51%,#3596cb 100%);
    background: linear-gradient(to bottom, #49a4d0 0%,#46a2d3 50%,#3799ca 51%,#3596cb 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#49a4d0', endColorstr='#3596cb',GradientType=0 );
    border-top: 1px solid #6db5da;
    border-right: 1px solid #6db5da;
    border-left: 1px solid #297aa3;
    border-bottom: 1px solid #297aa3;
    color: #fff;
    border-radius: 0;
    font-size: 13px;
    height: 50px;
    max-width: 320px;
    margin: 10px 0;
    padding: 0;
}

#cpa-form input[type=submit], 
#lot-plan-form input[type=submit] {
}

#wTabs select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    overflow: hidden; 
    position: relative;
    display: block;
}
#wTabs .form-group.select:after {
    content:"\f0d7";
    font-size: 18px;
    font-family: FontAwesome;
    color: #000;
    padding: 15px 5px 0px 0px;
    position: absolute;
    right: 20px;
    bottom: 0px;
    z-index: 1;
    text-align: center;
    width: 10%;
    height: 50px;
    pointer-events: none;
    box-sizing: border-box;
}
#wTabs .logo {
  max-width: 160px;
  padding: 10px;
  margin: 0 auto;
  display: block;
}
#wTabs #toggleCpaChart {
    line-height: 48px;
    cursor: pointer;
    height: 48px;
    width: 100%;
}
/*Result*/
#wTabs #cpa-result, #wTabs #lot-result {
    font-weight: 700;
    font-size: x-large;
    float: left;
    text-align: center;
    width: 100%;
    height: 34px;
}
/*
############### Overrides ###################
*/

#wTabs .field-title {
    width: 100%;
    float: left;
}
#wTabs .form-control {
  box-sizing: border-box;
  margin: 0px;
  border-radius: 0;
  height: 50px;
  padding: 2px 10px;
  font-size: 18px;
  font-weight: 400;
  color: #0f5b8d;
  border: 1px solid #666666;
}
#wTabs {border: 1px solid #e6e6e6;background-color: #ffffff;}
#wTabs .nav-tabs>li {
  padding: 0;
  margin-bottom: -2px;
  border-radius: 0;
  background-color: #f1f1f1;
}
#wTabs  .nav > li > a {
    font-weight: 700;
    color: #666666;
}
#wTabs .nav-tabs>li.active>a, 
#wTabs .nav-tabs>li.active>a:focus, 
#wTabs .nav-tabs>li.active>a:hover { border: 0;background-color: #FFFFFF; cursor: pointer;color: #8cc64a;}
#wTabs .panel {
  border: 0;
  padding: 10px 0;
  border-radius: 0;
  margin: 0;
}
#wTabs .panel-body {
  padding: 10px 0;
}
#wTabs ul.nav-tabs {
  border: 0;
  padding: 0;
  border-top: 1px solid #cccccc;
}

@media (max-width: 1199px) {
  #wTabs .form-control {
    /* min-width: 250px; */
  }
}

@media (max-width: 480px) {
  #wTabs .form-control {
    /* min-width: 128px; */
  }
}
.popover {
    min-width: 235px;
}