﻿#foodChecklistSection {
    width: 95%;
    margin: 0 auto;
}

#foodChecklistSection > .row {
    margin: 0;
}

#mainTab {
    position: relative;
    width: 300px;
    margin: 0 auto;
    font-size: 2em;
    color: #262f41;
    text-align: center;
    text-transform: uppercase;
    padding: 0.5em;
    letter-spacing: 5px;
    font-weight: lighter;
}

#mainTab p span {
    font-size: 18px;
    vertical-align: super;
    cursor: pointer;
}

#mainTab .legend {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    padding: 1em;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    text-align: left;
    letter-spacing: 0;
    font-weight: normal;
    background: #fff;
    z-index: 99;
    text-transform: initial;
    width: 350px;
    transform: translate(90%, 0);
}

#mainTab p span:hover  {
    
}

#subTab ul {
    display: flex;
    flex-direction: row;
}

#subTab li {
    width: 33%;
}

#subTab li + li {
    margin-left: 0.2%;
}

#subTab li a {
    width: 100%;
    padding: 10px 0;
    font-size: 12px;
    color: #262f41;
    text-align: center;
    background: #dddde2;
    border: 0;
    border-radius: 0;
    text-transform: uppercase;
}

#subTab li.active a {
    color: #fff;
    background: #262f41;
}

#mainTabContent {
    padding: 1em 0;
}

#foodChecklistSection #mainTabContent .tabs-left {
    border-bottom: none;
    border-right: 1px solid #ddd;
}

/*#foodChecklistSection #mainTabContent .tabs-left li {
    display: none;
}*/

#foodChecklistSection #mainTabContent .tabs-left li.active {
    display: block;
}

#foodChecklistSection #mainTabContent .tabs-left > li {
    float: none;
    margin: 0px;
}

#foodChecklistSection #mainTabContent .tabs-left li a {
    display: block !important;
    color: #262f41;
    border: none;
    background: unset;
}

#foodChecklistSection #mainTabContent .tabs-left>li.active>a,
#foodChecklistSection #mainTabContent .tabs-left>li.active>a:hover,
#foodChecklistSection #mainTabContent .tabs-left>li.active>a:focus {
  margin:0px;
  color: #fff;
  border-bottom-color: #ddd;
  border-right-color: transparent;
  background:#262f41;
  border:none;
  border-radius:0px;
}
#foodChecklistSection #mainTabContent .nav-tabs > li > a:hover {
    margin-right: 0;
    border-bottom: 1px solid transparent;
}
#foodChecklistSection #mainTabContent .tabs-left > li.active > a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -10px;
    margin-top: -10px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #262f41;
    display: block;
    width: 0;
}

#subTabSection .tab-content {
    padding: 0 0 0 2em;
}

#foodChecklistSection .tab-content .buttonGroup {
    position: relative;
    float: right;
}

#foodChecklistSection .tab-content input[type="radio"] {
    display: none;
}
#foodChecklistSection .tab-content input[type="radio"] + label {
    color: #000;
    cursor: pointer;
    user-select: none;
    padding-left: 15px;
    padding-right: 15px;
    font-weight: normal;
}
#foodChecklistSection .tab-content input[type="radio"] + label::before {
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid #bbb;
    font-size: 0;
    position: absolute;
    top: -8px;
    left: 0;
    transform: translate(-50%, 50%);
}

#foodChecklistSection .tab-content input[type="radio"] + label:nth-child(4)::before {
    right: 30px;
    left: auto;
}

#foodChecklistSection .tab-content input[type="radio"] + label::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #bbbbbb;
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%, 50%);
}

#foodChecklistSection .tab-content input[type="radio"] + label:nth-child(4)::after {
    right: 38px;
    left: auto;
}

#foodChecklistSection .tab-content input[type="radio"]:checked + label::before {
    border-width: 2px;
    border: 1px solid #262f41;
}

#foodChecklistSection .tab-content input[type="radio"]:checked + label::after {
    background-color: #262f41;
}

#foodChecklistSection .tab-content button {
    min-width: 150px;
    margin-top: 1em;
    padding: 3px 6px;
    color: #fff;
    background: #262f41;
    border: 1px solid #262f41;
    border-radius: 4px;
    text-align: center;
    outline: none;
    box-shadow: none;
}

.checklistTab {
    display: block;
    margin-bottom: 15px;
    padding: 10px 0 10px 15px;
    border: 1px solid rgb(221, 221, 221);
    border-radius: 4px;
    box-shadow: 0 3px 6px rgba(160,160,160,0.16), 0 3px 6px rgba(160,160,160,0.23);
}

.answerTab {
    width: 50%;
    padding: 10px 15px;
    background: #d84040;
    color: #fff;
    border: 1px solid #d84040;
    border-radius: 4px;
}

#pelletSection .checklistTab,
#pelletSection .answerTab {
    width: 100%;
}

.checklistTab .leftSection,
.checklistTab .rightSection {
    display: inline-block;
}

.checklistTab .question {
    display: inline-block;
    width: 70%;
}

#foodComposition hr {
    background-color: #ddd;
}

#foodComposition .subQuestionSection {
    display: inline-block;
    width: 70%;
}

#foodComposition #questionb_3 .buttonGroup {
    margin-top: 5.5em;
}

.checklistTab .subQuestion {
    margin: 0.5em 1.5em;
    clear: both;
}

.checklistTab .subQuestion:first-child {
    margin-top: 1.5em;
}

#foodForm section {
    display: inline-block;
    width: 47%;
    padding-bottom: 1em;
    vertical-align: top;
}

#foodForm section h4 {
    margin-bottom: 1em;
}

#foodForm table {
    width: 100%;
}

#foodForm table caption  {
    padding: 10px;
}

#foodForm #flourSection ul {
    padding: 0;
    list-style: none;
}

#foodForm #pelletSection {
    margin-left: 2.5%;
    padding-left: 2.5%;
    border-left: 1px solid #ddd;
}

#foodForm #pelletSection .checklistTab span:first-child {
    display: inline-block;
    width: 60%;
}

#foodForm #pelletSection table {
    margin-top: 2em;
}

#preMix #preMixLeftSection, #preMix #preMixRightSection {
    display: inline-block;
    width: 49%;
    vertical-align: top;
}

#preMix #preMixLeftSection {
    position: relative;
}

#preMix #preMixLeftSection:after {
    content: "";
    position: absolute;
    top: -20px;
    right: -10px;
    width: 1px;
    height: 334px;
    background: #ddd;
}

#preMix #preMixRightSection {
    margin-left: 1.5%;
}

#preMix .checklistTab, #negativeAnswerPremixLeft, #negativeAnswerPremixRight {
    width: 100%;
}

#light .checklistTab, #light .answerTab,
#litter .checklistTab, #litter .answerTab,
#tempVent .checklistTab, #tempVent .answerTab,
#badStartLeft .checklistTab, #badStartLeft .answerTab,
#badStartRight .checklistTab, #badStartRight .answerTab {
    width: 100%;
}

#lightTab table caption {
    margin-bottom: 1em;
    font-weight: bold;
}

#lightTab table tbody td:first-child {
    font-weight: bold;
}

#questionDrinkers_1 .question {
    display: inline-block;
    width: 40%;
}

#Drinkers input#option87 + label:nth-child(4)::before,
#Drinkers input#option88 + label:nth-child(4)::before {
    right: 109px;
    left: auto;
}

#Drinkers input#option87 + label:nth-child(4)::after,
#Drinkers input#option88 + label:nth-child(4)::after {
    right: 117px;
    left: auto;
}

#tempVentTab .tempVentLegend #ambParametersTable td {
    text-align: left;
}

#tempVentTab .tempVentLegend .tableHead {
    font-weight: bold;
    text-align: center !important;
    vertical-align: middle;
}

#tempVent #questionTempVent_1 .question {
    margin-bottom: 2em;
}

#crawTestLeft .legend {
    width: 48%;
    float: left;
    padding: 1em;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#crawTestLeft .legend + .legend {
    margin-left: 4%;
}

#badStartLeft .checklistTab > span,
#badStartRight .checklistTab > span {
    margin-bottom: 1em;
}

#badStartLeft .bold {
    margin-top: 1em;
    margin-bottom: 5px;
}

#badStartLeft .legend {
    padding: 1em;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#badStartLeft .badStartLeftInfo {
    display: none;
}

#badStartRight .checklistTab .question {
    width: 100%;
}

#badStartRight .checklistTab .question span {
    display: block;
    font-size: 13px;
    font-style: italic;
}
/*#badStartRight .checklistTab .question span:first-child {
    margin-top: 5px;
}*/

.bold {
    font-weight: bold;
}

#foodBegining .partA #question_2,
#foodBegining .partA #question_3,
#foodBegining .partA #question_4,
#foodBegining .partA #question_5,
#foodComposition .partB #questionb_2,
#foodComposition .partB #questionb_3,
#rawMaterialsNutrients #questionNutrients_2,
#foodMix #questionFoodMix_2, #foodMix #questionFoodMix_3,
#foodMix #questionFoodMix_4, #foodMix #questionFoodMix_5,
#mycotoxins #questionMycotoxins_2,
#mycotoxins #questionMycotoxins_3,
#mycotoxins #questionMycotoxins_4,
#mycotoxins #questionMycotoxins_5,
#foodContamination #questionContaminate_2,
#foodContamination #questionContaminate_3,
#questionPremixRight_2,
#questionPellet_2, #questionPellet_3,
#light #questionLight_2,
#light #questionLight_3,
#light #questionLight_4,
#litter #questionLitter_2,
#Drinkers #questionDrinkers_2, #Drinkers #questionDrinkers_3,
#Drinkers #questionDrinkers_4, #Drinkers #questionDrinkers_5,
#Drinkers #questionDrinkers_6, #Drinkers #questionDrinkers_7,
#Drinkers #questionDrinkers_8 {
    display: none;
}

#foodBegining .partA #negativeAnswerA,
#foodComposition .partB #negativeAnswerB,
#rawMaterialsNutrients #negativeAnswerNutrients,
#mycotoxins #negativeAnswerMycotoxins,
#foodContamination #negativeAnswerContaminate,
#foodMix #negativeAnswerFoodMix,
#foodForm #negativeAnswerPellet,
#preMix #negativeAnswerPremixLeft,
#preMix #negativeAnswerPremixRight,
#light #negativeAnswerLight,
#litter #negativeAnswerLitter,
#Feeders #negativeAnswerFeeders, 
#Drinkers #negativeAnswerDrinkers,
#tempVent #negativeAnswerTempVent,
#badStartLeft #negativeAnswerbadStartLeft, 
#badStartRight #negativeAnswerbadStartRight {
    display: none;
}

#backBtnPartA, #backBtnPartB, #backBtnNutrients,
#backBtnPremixLeft, #backBtnPremixRight, #backBtnMycotoxins, #backBtnContaminate,
#backBtnFoodMix, #backBtnPellet, #backBtnLight, #backBtnLitter, #backBtnFeeders,
#backBtnDrinkers, #backBtnTempVent, #backBtnbadStartLeft, #backBtnbadStartRight, #infoBtnbadStartLeft {
    display: none;
}

@media screen and (max-width: 1366px) {
    #foodChecklistSection {
/*        max-width: 95vw;*/
    }
}

@media screen and (min-width: 768px) and (max-width: 1500px) {
    #light .checklistTab .question {
        width: 60%;
    }
}
@media screen and (max-width: 1190px) {
    #subTab li a {
        height: 54px;
    }
}
    @media screen and (max-width: 768px) {
        #foodChecklistSection {
            padding-left: 85px;
        }

        .checklistTab {
            width: 100%;
        }

        #foodChecklistSection {
            padding-left: 0;
        }

        .checklistTab .question {
            width: 43%;
        }
    }
@media screen and (max-width: 620px){
    #foodChecklistSection {
        max-width: unset;

    }
}
@media screen and (max-width: 425px) {
    #foodChecklistSection {
        padding-bottom: 40px;
    }
    #subTabSection .tab-content {
         padding: 0 ; 
    }
}
