@import url('https://fonts.googleapis.com/css?family=Titillium+Web');

body {
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.8) url(../images/bg.jpg) center center no-repeat;
    background-size: cover;
}
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    background-color: #333b4e;
    opacity: 1;
    color: #ffffff;
}
/* Headers */
h1,h2,h3,h4,h5,h6 {
    font-family: 'Titillium Web', sans-serif;
}
.table>tbody>tr>th>img {
    margin-left: 20%;
}
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th{
    /*border-top:  1px solid rgba(187, 145, 11, 0.5);*/
    border-right: 1px solid rgba(62, 57, 57, 0.5);
}
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    border-top:  1px solid rgba(62, 57, 57, 0.5);
}
.table>tbody>tr>td:last-child{
    border-right: none;
}
.table>tbody>tr>td>.form-group,.table>tbody>tr>th>.form-group{
    margin-bottom: 0;
    
}
.table-hover>tbody>tr:hover {
/*    background-color: rgba(212, 212, 212, 0.62);*/
    background-color: #055367;
}
.table>tbody>tr>td,.table>tbody>tr>th{
    font-size: 16px;
    font-family: 'Titillium Web', sans-serif;
    
}
.table>tbody>tr {
    background: #056881;
    color: #fff;
}
.table>tbody>tr:nth-child(even) {
    background: #1285a2;
}
header {
    padding: 10px;
}
header div {
    z-index: 2;
}




.mainContainer {
    height: auto;
    min-height: 500px;
    /*z-index: 1;*/
    border-radius: 5px;
    padding-bottom: 35px;
        position: relative;
}

.imageContainer {
    background: #fff;
    padding: 10px;
    border: 4px solid #055165;
    box-shadow: 0px 3px 4px rgba(0,0,0,0.3);
}

.imageContainer a h3 {
    text-align:center;
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
}

.imageContainer a h3.txtDownstream{
    padding-top:10px;
    border-top:5px solid #1285A2;
}
.imageContainer a:hover {
    text-decoration:none;
}

.c1da2b9 {
    color: #fff;
    margin: 40px 0;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
}
.logo{    position: absolute;
    top: 18px;
    right: 0;}
.tablebg {
    box-shadow: 3px 4px 13px rgba(0,0,0,0.3);
    border: 5px solid #055165;
}

#step2Images {
    width: auto;
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 345px;
}
#step3Images{
    width: auto;
    max-width:100%;
    margin: 0 auto;
    display:block;
    margin-top: 20px;
}

.tableContainer {
    height: auto;
}

.tblCalc tbody tr th:nth-child(1){
    width: 7%;
}

.tblCalc tbody tr td:nth-child(2),.tblCalc tbody tr td:nth-child(4),.tblCalc tbody tr td:nth-child(3),.tblCalc tbody tr td:nth-child(5){
    width: 22%;
}

#selectUpstream, #selectDownStream {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #ffff;
    background-color: #0c728c;
    background-image: none;
    border: 1px solid #1aaec7;
    border-radius: 4px;
}
.form-control {
    color: #fff;
    background-color: #0c728c;
    border: 1px solid #1aaec7;
}
#popup {
    border-radius: 4px;
    box-shadow: 0px 2px 10px #333;
    border-bottom: 1px solid #c50e0e;
    border-top: 1px solid #c75050;
   min-width: 250px;
    width: 100%;
    height: 100%;
    /*min-height: 30px;*/
    
    /*position: fixed;
    bottom: 8%*/;
    z-index: 20;
    /*left: 50%;*/
    /*margin-left: -150px;*/
    
    
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f85032+0,f16f5c+50,f44336+51,f44336+72,e73827+100 */
background: #f85032; /* Old browsers */
background: -moz-linear-gradient(-45deg, #f85032 0%, #f16f5c 50%, #f44336 51%, #f44336 72%, #e73827 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(-45deg, #f85032 0%,#f16f5c 50%,#f44336 51%,#f44336 72%,#e73827 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(135deg, #f85032 0%,#f16f5c 50%,#f44336 51%,#f44336 72%,#e73827 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f85032', endColorstr='#e73827',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */



}
.messageMark{
    position: absolute;
    top: 0px;
    left: 0px;
    opacity: 0.6;
}
.messageMark img {
        width: 42px;
}
#popup p {
    color: #fff;
    padding: 10px;
    margin: 0;
    text-align: center;
}
#closeImg {
    position: absolute;
    top: 5px;
    right: 5px;
}
#closeImg a img {
    width: 18px;
}
/*
#txtDuctWidth, #txtDuctHeight, #txtDuctRun{
    background: #ffeb3b;
}
#txtDuctRunDis {
    background: #F44336;
    color: #fff;
}
#txtDistance {
    background: #916cd4;
    color: #fff;
}*/

footer {
    height: 30px;
    margin-top: 15px;
    background: #101010;
    position: fixed;
    width: 100%;
    bottom: 0;
}
footer div p {
    font-size: 11px;
    color: #fff;
    text-align: center;
    padding-top: 9px;
    margin: 0;
}
@-ms-viewport{
  width: device-width;
}
@media (min-width: 1200px)
{
.container {
    width: 100%;
}
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
        background-color: #22273c;
    opacity: 1;
    color: #fff;
}

#txtDownStreamPercentage, #txtUpStreamPercentage{
    background: url(../images/exclaimation.png) no-repeat;
    background-size: contain;
    padding-left: 15%;
}

@media only screen and (max-width: 500px) and (min-width: 300px)  {

    .container{
        padding-right: 0px;
        padding-left: 0px;
        margin-right: 0;
        margin-left: 0;
    }

    .mainContainer {
        padding-left:5px;
        padding-right:5px;
    }


    .tableContainer {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        overflow: scroll;
        
    }

    .table>tbody>tr>td,.table>tbody>tr>th{
        font-size: 14px;
        font-family: 'Titillium Web', sans-serif;
    
    }

    .c1da2b9  {
        padding-bottom: 50px;
    }
    .logo {
        left: 50%;
    margin-left: -66px;
    
    margin-top: 50px;
    }
    section.fullwidth {
        margin-bottom: 20px;
    }
    footer {
        position: fixed;
        z-index: 20;
        bottom: 0;
    }

    #popup {
        
        position: fixed;
        bottom: 8%;
        left: 50%;
        margin-left: -48%;
        height: auto;
        width: 96%;
    }

    .imageContainer{
        margin-bottom:50px;
    }
}