﻿/* Move down content because we have a fixed navbar that is 50px tall */
body {
    
}

/*fix for x overflowing on ipad on some pages*/
body
{
    overflow-x:hidden;
}

body form
{
    overflow-x:hidden;
}

.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}
.form-signin .checkbox {
  font-weight: normal;
}
.form-signin .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.cropDiv {
    border:none; 
    text-align:center;
    width:86px;
    height:86px;
    float:left;
    background-color:#f5f1e8;
    margin:3px;
    color:#333333;
    border-radius:5px;
    z-index:9999;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.panel-heading a:after {
    font-family:'Glyphicons Halflings';
    content:"\e114";
    float: right;
    color: grey;
}
.panel-heading a.collapsed:after {
    content:"\e080";
}


.nav_bottom {
  padding-left: 0;
  margin-bottom: 10px;
  list-style: none;
  margin-top: 10px;
  margin-left: 30px;
}
.nav_bottom > li {
  position: relative;
  display: inline-block;
  margin-left:40px;
  margin-right:40px;
}
.nav_bottom > li > a {
  position: relative;
  display: inline-block;
  padding: 15px 15px;
  font-size:large;
  font-family:"futura-pt";
  font-weight:700;
  color:white;
}
.nav_bottom > li > a:hover,
.nav_bottom > li > a:focus {
  text-decoration: none;
  color: #fff;
  background-color: #7A886F;
}

.progress_container {
    margin-top:42px;
    margin-bottom:32px;
}

.progress {
    width:175px; 
    height:78px; 
    font-family:'museo-slab'; 
    font-weight:900; 
    text-align:center; 
    padding:15px 0px;
    float:left;
}

.progress_current {
    background-color:#a4633f;
    border:2px solid white; 
    color:white; 
}

.progress_past {
    color:white;
    background-color:rgba(88,100,78,0.7);
    border:none;
    cursor: pointer;
}

.progress_future {
    color:#58644e; 
    background-color:rgba(185,166,112,0.7); 
    border:#58644e 2px solid;
}

.progress_line {
    width:66px;
    float:left;
    margin-top:35px;
    background-color:#58644e;
    height:2px;
}

/*ipad landscape*/
@media only screen and (min-width: 168px) and (max-width:1024px) and (orientation:landscape)
{
    .progress {
        width:160px; 
        height:78px; 
    }

    .progress_line {
        width: 30px;
    }
}

/*ipad portrait*/
@media only screen and (min-width : 768px) and (max-width : 1024px) and (orientation : portrait)
{
    .progress {
        width:130px; 
        height:78px; 
    }

    .progress_line {
        width: 15px;
    }
}

/*medium width for narrow pc screens*/
@media only screen and (min-width:1024px) and (max-width:1200px)
{
    .progress {
        width:164px; 
        height:78px; 
    }

    .progress_line {
        width: 30px;
    }
}

.descriptive_text {
    font-weight:300; 
    color:#666666; 
    margin-bottom:0px;
}

.soils_box {
    border: 1px #d8e9e0 solid;
    background-color:white;
    padding: 10px 20px 20px 20px; 
    margin-left:20px;
}

@media (max-width:1024px) and (orientation:portrait)
{
    .soils_box{
        margin-left:15px;
        margin-top:10px;
    }
}

.box {
    border: 1px #d8e9e0 solid;
    background-color:white;
    padding: 10px 20px 20px 20px; 
}

.normalCrop > h2 {
    margin-bottom:6px; 
    margin-top:10px;
}

.normalCrop > p {
    font-size:medium;
}

.longCodeCrop > h2 {
    margin-bottom:6px; 
    margin-top:23px; 
    font-size:x-large;
}

.longCodeCrop > p {
    font-size:medium;
}

.longDescriptionCrop > h2 {
    margin-bottom:6px; 
    margin-top:4px;
}

.longDescriptionCrop > p {
    font-size:medium; 
    line-height:1;
}

.croppingBox {
    border:1px solid white; 
    height:40px;
    background-color:#BAA671;
}

.livestockBox {
    border:1px solid white; 
    height:40px;
    background-color:#A3633F;
}

.bottomBorder {
    border-bottom: #d8e9e0 1px solid;
}

.topBorder {
    border-top: #d8e9e0 1px solid;
}

.flockOutline {
    padding: 10px 20px; 
    text-align:center; 
    border: solid 1px #d8e9e0; 
    border-top-left-radius:5px; 
    border-top-right-radius:5px; 
    border-bottom-left-radius:0px; 
    border-bottom-right-radius:0px; 
    border-bottom:none;
    height:340px;
    background-position-y: 50%;
    background-color:  #f9f9f9;
    cursor: pointer;
}

.selectedFlock {
    height: 350px !important;
    background-color: white !important;
    background-position-y: 46% !important;
    margin-top: -10px;
    cursor: default;
    box-shadow: 0px 3px 0px -1px rgba(255,255,255,1);
}

.SRFlock {
    background-image: url('/Images/Livestock_Outline_SR.png');
    background-position-x: center;
    background-repeat: no-repeat;
}

.NSRFlock {
    background-image: url('/Images/Livestock_Outline_NSR.png');
    background-position-x: center;
    background-repeat: no-repeat;
}

.DualFlock {
    background-image: url('/Images/Livestock_Outline_Dual.png');
    background-position-x: center;
    background-repeat: no-repeat;
}

@media (min-width:992px) {
    .special-col-md {
        width:20%;
    }

    .special-col-md-2 {
        width:40%;
    }
}

.question_sign {
    color: #376a70;
    margin-left:10px;
}

.confirm_box {
    background-color:  #f9f9f9;
    border: solid 1px #d8e9e0; 
    border-radius:5px;
    padding:20px;
}

.loadingDiv {
        opacity: .3;
    background-image: url('../Images/Icons/Progress_white.gif');
    background-repeat: no-repeat;
    background-position-x: 50%;
    background-position-y: 0%;
}

@media (min-width:768px) {
    .marginLoginCreateAccount {
        margin-top:118px;
    }
}
@media (max-width:767px) {
    .marginLoginCreateAccount {
        margin-top:20px;
    }
}

@media (max-width:1024px) and (orientation:portrait){
    .marginLoginCreateAccount{
        transform:translate(0px, -110px);
    }
}

/*some values for the what-if banner when viewed normally*/
#what-if .bottom-margin
{
    margin-bottom:30px;
}

#what-if .top-margin
{
    margin-top:10px;
}

/*fixes for ipad in landscape mode showing the what-if banner*/
@media (max-width:1024px) and (orientation:portrait) {
    #what-if
    {
        transform:translate(0, -45px);
    }
    #what-if .bottom-margin
    {
        margin-bottom:0px;
    }
    #what-if .top-margin
    {
        margin-top: 0px;
    }
    #what-if .btn
    {
        transform: translate(570px,-80px);
    }
    #what-if .explanation
    {
        transform: translate(0px,-60px);
        margin-bottom: -50px;
    }
}

@media (max-width:1024px) and (orientation:portrait) 
{
    #scenario-results-whatif .container 
    {
        transform: translate(0px,-40px);
    }
}

/*styling for dashboard in portrait mode on ipad*/
@media (max-width:1024px) and (orientation:portrait) {
    #lblDashboardSubheading {
        font-size: 30px;
    }

    .dashboardLivestockBox {
        padding-top: 5px;
        margin-top: 20px;
    }

    .NumberColumn a{
        font-size:16px;
    }
}

/*override the bootstrap navbar collapse*/
@media (max-width: 1024px) and (orientation:portrait){
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
        border-bottom-width:0px;
        margin-top:20px;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }
   .navbar-nav .open .dropdown-menu {
       position: static;
       float: none;
       width: auto;
       margin-top: 0;
       background-color: transparent;
       border: 0;
       -webkit-box-shadow: none;
       box-shadow: none;
    }

   .navbar-collapse{
       margin-top:20px;
       border-bottom-width:0px;
       border-top-width:0px;
   }

   #lblHello{
       display:block;
       font-size:20px;
       margin-bottom:20px;
   }

   #btnLogout{
       display:block;
       margin-bottom:20px;
   }

}

/*dashboard sub heading position fix*/
@media (max-width:1024px) and (orientation:portrait)
{
    #lblDashboardSubheading
    {
        margin-left:-50px;
    }
}

@media (max-width:1024px) and (orientation:landscape)
{
    #lblDashboardSubheading
    {
        margin-left:20px;
    }
}
