.bold{
    font-weight: bold;
}
.hidden{
    display: none;
}
.p-relative{
    position: relative;
}
.p-absolute{
    position: absolute;
}
.capitalize{
    text-transform: capitalize;
}
.mb-2{
    margin-bottom: 2rem;
}
.range-field{
    width: 94%;
    margin-left: 2%;
}
.min-limit{
    position: absolute;
    bottom: 0;
    left: 0;
    color: darkgrey;
}
.max-limit{
    position: absolute;
    bottom: 0;
    right: 0;
    color: darkgrey;
    z-index: -1;
}

.divider{
    height: 2px;
    margin: 10px 0;
}
.modal{
    display: inline;
    width: 90%;
    height: 80% !important;
    max-height: 80%;
    top: 10%;
    z-index: 4;
}
.modal-content{
    overflow-x: hidden;
}
.modal-content td{
    text-align: center;
}

label{
    font-size: 1.2rem;
}

.tab a{
    color: grey !important;
    text-align: center;
}
.tab.active{
    background-color: transparent !important;
    border-bottom: 2px solid #ee6e73;
}
.tab.active a{
    color: #ee6e73 !important;
    font-weight: bold;
}
.tab-content{
    padding: 10px !important;
}
.section-header{
    color: grey;
    font-size: 1.5rem;
}
.section-description{
    color:#a8a7a7;
    font-size: 1rem;
}
.pipe-type-selector{
    height: 2.5rem;
    line-height: 2.2rem;
    padding-left: 3%;
    border: 1.5px solid darkgray;
    border-radius: 15px;
    color:gray;
}
.pipe-type-selector.open{
    border-radius: 15px 15px 0 0;
    border-bottom: none;
}
.pipe-type-options{
    background-color:white;
    width: 100%;
    padding: 2%;
    z-index: 4;
    border: 1.5px solid darkgray;
    border-radius: 0 0 15px 15px;
}

.thumb{
    display: none !important;
}


input[type="range"]::-moz-range-thumb{
    background-color: red;
    background: red;
}
input[type="range"]::-webkit-slider-thumb{
    background-color: red;
    background: red;
}


.diagram{
    position: relative;
    margin-top: 10%;
}

#river-horizontal-length{
    position: absolute;
    right: 51%;
    top: 2%;
}
#canal-horizontal-length{
    position: absolute;
    right: 50%;
    top: 5.5%;
}
#canal-half-radius-st{
    position: absolute;
    right: 75%;
    top: 20%;
    font-size: 0.75rem;
}
#canal-half-radius-nd{
    position: absolute;
    right: 23%;
    top: 20%;
    font-size: 0.75rem;
}
#cana-half-radius-nd{
    position: absolute;
    right: 75%;
    top: 20.3%;
    font-size: 1rem;
}
#river-half-horizontal-length-st{
    position: absolute;
    right: 67%;
    top: 34.5%;
    font-size: 0.75em;
}
#canal-half-horizontal-length-st{
    position: absolute;
    right: 68%;
    top: 33.3%;
    font-size: 0.75em;
}
#river-half-horizontal-length-nd{
    position: absolute;
    right: 36%;
    top: 34.5%;
    font-size: 0.75em;
}
#canal-half-horizontal-length-nd{
    position: absolute;
    right: 33%;
    top: 33.3%;
    font-size: 0.75em;
}

#river-depth-of-bury{
    position: absolute;
    right: 52%;
    top: 56%;
    font-size: 0.85em;
}
#canal-depth-of-bury{
    position: absolute;
    right: 51%;
    top: 44.5%;
    font-size: 0.85em;
}
#river-bore-length{
    position: absolute;
    right: 51%;
    top: 78%;
    font-size: 0.85em;
}
#canal-bore-length{
    position: absolute;
    right: 50%;
    top: 62.5%;
    font-size: 0.85em;
}
#canal-straight-length{
    position: absolute;
    top: 85%;
    right: 50%;
}

@media screen and (min-width: 1240px) {
    #river-horizontal-length,
    #canal-horizontal-length{
        font-size: 1.5rem;
    }
    #river-half-horizontal-length-st,
    #river-half-horizontal-length-nd,
    #canal-half-horizontal-length-st,
    #canal-half-horizontal-length-nd{
        font-size: 1em;
    }
    #river-depth-of-bury,
    #canal-depth-of-bury{
        font-size: 1rem;        
    }
    #river-depth-of-bury{
        top: 58%;
    }
    #river-bore-length,
    #canal-bore-length{
        font-size: 1rem;        
    }
    #river-bore-length{
        top: 80%;
    }
    #canal-half-radius-st,
    #canal-half-radius-nd{
        font-size: 1rem;
    }
}
@media screen and (min-width: 1300px) {
    #canal-half-radius-st,
    #canal-half-radius-nd{
        top: 21.3%;
    }
}
@media screen and (min-width: 1700px) {
    #canal-half-horizontal-length-st{
        top: 34.5%;
    }
    #canal-half-horizontal-length-nd{
        top: 34.5%;
    }   
    #canal-depth-of-bury{
        top: 46.5%;
    }
    #canal-bore-length{
        top: 64%; 
    }
    #canal-straight-length{
        top: 87%;
    } 
}

.icon{
    max-width: 30px !important;
    min-width: 2rem;
}
.icon-value{
    font-size: 2rem;
    margin: 6% 3%;
}
.icon-description{
    line-height: 11px;
    font-size: .7rem;
    margin-left: 5px;
}

.promo{
    color:gray;
    line-height: 1.6rem;
}
.promo-header{
    font-size: 2rem;
}
.promo-perks{
    padding-left: 15px !important;
    margin-left: 2rem;
}
.perk-item{
    list-style-type: disc !important;
}



.header-table {
    padding: 1rem;
    position: relative;
}
.margintop {
    margin-top: 7rem;
}
.body-content {
    transform: rotate(-35deg);
    margin: 20px 0;
    padding-left: 20px;
    position: absolute;
    top: -4.5rem;
    width: 200px;
}

.table th {
    border: none!important;
}
.body-content p {
    color: #0081cb;
}

.second-p {
    font-size: 12px;
    margin-top: -1.5rem;
    margin-left: 1rem;
}
.third-p {
    margin-left: 2.2rem!important;
}

.form-control {
    padding: 0!important;
    border: none!important;
}