
/*
START - MAIN LAYOUT ORIENTED STUFF
*/
body {
    
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    
    -moz-box-wrap: wrap;
    -webkit-box-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flexbox-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    -moz-box-pack: justify;
    justify-content: space-between;
    
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
    -moz-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    
    position: relative;
    margin: 0;
    padding: 0;
    font-size: 100%;
    color: #1b1b1b;
    background-color: #fff;
    font-family: 'Open Sans',Helvetica,sans-serif;
    -webkit-text-size-adjust: 100%;
}


body > *{
    -webkit-box-flex: 1 1 100%;
    -moz-box-flex: 1 1 100%;
    -webkit-flex: 1 1 100%;
    -ms-flex: 1 1 100%;
    flex: 1 1 100%;
    
}










header {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    
    -moz-box-wrap: nowrap;
    -webkit-box-wrap: nowrap;
    -webkit-flex-wrap: nowrap;
    -ms-flexbox-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    -moz-box-pack: justify;
    justify-content: space-between;
    
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    
    position: relative;
    margin: 0 0 10px 0;
    padding: 0.5em 1.5em;
    
    border-bottom: 1px solid #ddd;
    
}

header ul{
    list-style-type: none;    
}


header ul i{
    margin-right: 0.3em;
}

header a{
    text-decoration: none;
    color: #999;
}

header a:hover{
    text-decoration: underline;
    color: #000;
}


header .logo{
    font-size: 2.0em;
    font-weight: bold;
    max-width: 200px;
}

header .logo img{
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
}



body > aside{
    margin: 0;
    padding: 0;
}

body > aside div{
    margin: 0;
    padding: 0.2em 1.0em;
    background-color: #666;
    color: #fff;
    border-bottom: 10px solid #fff;
}

body > aside ul{
	display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    
    -moz-box-wrap: wrap;
    -webkit-box-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flexbox-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    -moz-box-pack: justify;
    justify-content: space-between;
    
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
    -moz-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;


	margin: 0;
	padding: 0;
	list-style-type: none;
}

body > aside li{
	    
    -webkit-box-flex: 1 1 100%;
    -moz-box-flex: 1 1 100%;
    -webkit-flex: 1 1 100%;
    -ms-flex: 1 1 100%;
    flex: 1 1 100%;
    
	margin: 0 0 0.7em 0;
	padding: 0;
}

body > aside li form{
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
}


body > aside li select{
	display: block;
	margin: 0;
	
	/*padding: 0.2rem 1.5rem 0.2rem 0.2rem;*/
}


@media print, screen and (min-width: 900px) {
	
	body > aside li{
	    
	    -webkit-box-flex: 1 1 25%;
	    -moz-box-flex: 1 1 25%;
	    -webkit-flex: 1 1 25%;
	    -ms-flex: 1 1 25%;
	    flex: 1 1 25%;
	    
		margin: 0;
		padding: 0 0.1em;
	}
	
	body > aside li:last-child{
		-webkit-box-flex: 1 1 40%;
	    -moz-box-flex: 1 1 40%;
	    -webkit-flex: 1 1 40%;
	    -ms-flex: 1 1 40%;
	    flex: 1 1 40%;
	}
}



body > nav{
    margin: 0;
    padding: 0;
}

body > nav ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
}

/*
body > nav a span{
    display: none;
    font-weight: bold;    
    color: red;
}*/

body > nav a span:after{
    content: ' - ';
}


body > nav a:hover{
    background-color: #aaa;
    color: #fff;
}


body > nav a i{
    display: inline-block;
    margin-top: 0.5em;
    font-weight: bold;    
}





body > section{
    margin: 0;
    padding: 0.5em;
}


@media print, screen and (min-width: 900px) {
    
    body > nav{
        -webkit-box-flex: 0 1 200px;
        -moz-box-flex: 0 1 200px;
        -webkit-flex: 0 1 200px;
        -ms-flex: 0 1 200px;
        flex: 0 1 200px;
        
        border-top: 3px solid #000;
    }
    
    body > nav a span{
        display: block;
        margin-bottom: 0.3em;
    }
    
    body > nav a span:after{
        content: '';
    }
    
    
    body > section{
        -webkit-box-flex: 2 1 70%;
        -moz-box-flex: 2 1 70%;
        -webkit-flex: 2 1 70%;
        -ms-flex: 2 1 70%;
        flex: 2 1 70%;
        
        padding-right: 1.5em;
        padding-left: 1.5em;
    }
}





footer{
    margin: 1.0em 0;
    padding: 1.0em 0;
    border-top: 1px solid #ccc;
    text-align: center;
}

footer .footer-copyright{
    margin: 0 auto 1.0em auto;
    padding: 0;
    max-width: 90%;
    font-size: 0.8em;
}

footer p{
    font-size: 0.8em;
}

/*
END - MAIN LAYOUT ORIENTED STUFF
*/





/*
START - BASIC TYPOGRAPHY
*/

h1,
h2{
    margin: 0 0 1.3em 0;
    padding: 0;
    font-size: 1.1em;
    border-bottom: 1px solid #666;
    
}

h1 span{
    float: right;
    color: #666;
    font-size: 0.85em;
}

h1 span i{
    margin-right: 0.3em;
}


p {
    margin: 0 0 0.6em 0;
    padding: 0;
    font-size: 1.125em;
    line-height: 1.875em;
    color: #737373;
}

ul,
ol {
    font-size: 0.9em;
    line-height: 1.3em;
}

ul ul,
ol ol,
ul ol,
ol ul {
    font-size: 100%;
}

dl {
    font-size: 0.9em;
    line-height: 1.3em;
}

a {
    color: #333;
}




@media print, screen and (min-width: 900px) {
    
    h1,
    h2{
        text-align: left;
    }

}



/*
END - BASIC TYPOGRAPHY
*/



label i{
    margin: 0 0 0 0.6em;
    color: #666;
}





table.dataTable caption{
    text-align: left;
    background-color: #ccc;
    border-bottom: 2px solid #666;
}

table.dataTable tfoot th{
    padding: 8px 10px;
}

table.dataTable td i.fa::before{
    margin-right: 0.8em;
    color: #bbb;
}

/*
  this over-rides a style in
  https://cdn.datatables.net/..../datatables.min.css  
*/
table.dataTable th.focus, 
table.dataTable td.focus{
    outline: inherit;
}



#curveGradeDiv > section{
    margin: 0 0 2.0em 0;
    padding: 0;
    /*border: 4px solid aqua;*/
}

#curveGradeDiv > section{
    margin: 0 0 3.0em 0;
    padding: 0;
    
    border-left: 8px solid #666;
}

#curveGradeDiv > section h3{
    margin: 0 0 0.7em 0;
    padding: 0.2em 0 0.1em 0.5em;
    font-size: 1.2em;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    background-color: #b3ffff;
}



#curveGradeDiv > section table th{
    text-align: center;
    border: 1px solid #666;
    font-size: 0.85em;
}

#curveGradeDiv > section table thead > tr:first-child{
    background-color: #e6ffff;
}

#curveGradeDiv > section table td{
    text-align: right;
    font-size: 0.85em;
    border: 1px solid #666;
}

#curveGradeDiv table tfoot th{
    text-align: right;
    font-weight: bold;
    
}



#curveGradeDiv table.curveSummary th{
    border: 1px solid #333;
    text-align: center;
}

#curveGradeDiv table.curveSummary td{
    border: 1px solid #333;
    text-align: right;
}



#stepThreeForm section{
    margin: 0 0 1.0em 0;
    padding: 0 0 0.5em 0;
    border-bottom: 1px solid #333;
}

#stepThreeForm section h4{
    margin: 0 0 0.5em 0;
}

#stepThreeForm section dl{
    margin: 0 0 0.7em 10%;
    padding: 0;
}

#stepThreeForm section dt{
    display: inline;
    margin: 0;
    padding: 0;
    font-weight: bold;
}

#stepThreeForm section dt:after{
    content: ':';
}

#stepThreeForm section dd{
    display: inline;
    margin: 0;
    padding: 0;
}




.tigreGrid{
    width: 100% !important;
}

.tigreGrid .left{
    text-align: left;
}

.tigreGrid .right{
    text-align: right;
}

.tigreGrid .center{
    text-align: center;
}








#gradesCurvesTables{
    margin: 0;
    padding: 0;
}

#gradesCurvesTables h5{
    margin: 0 0 0.5em 0;
    padding: 0.3em 0.5em;
    background-color: #666;
    color: #fff;
}


@media print, screen and (min-width: 1000px) {
    
    #gradesCurvesTables{
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        
        -moz-box-wrap: nowrap;
        -webkit-box-wrap: nowrap;
        -webkit-flex-wrap: nowrap;
        -ms-flexbox-wrap: nowrap;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        -moz-box-pack: justify;
        justify-content: space-between;
        
        -webkit-box-align: flex-start;
        -webkit-align-items: flex-start;
        -moz-box-align: flex-start;
        -ms-flex-align: flex-start;
        align-items: flex-start;

    
        margin: 0;
        padding: 0;
    }
    
    #gradesCurvesTables > *{
        -webkit-box-flex: 0 1 48%;
        -moz-box-flex: 0 1 48%;
        -webkit-flex: 0 1 48%;
        -ms-flex: 0 1 48%;
        flex: 0 1 48%;
        
        margin: 0;
        padding: 0;
    }


}



fieldset{
    margin: 1.0em 0;
    padding: 1.0em;
    border: 3px solid #666;
}

fieldset legend{
    margin: 0;
    padding: 0 0.5em;
    background-color: #fff;
}


fieldset.phone{
    padding: 0;
    border: 0;
}

fieldset.phone legend{
    padding: 0;
}

fieldset.phone > div{
    display: inline-block;
    margin: 0;
    padding: 0;
    width: 3.3em;
}


fieldset.phone > div:last-child{
    width: 4.0em;
}

/* remove spinner from input:number */
fieldset.phone input,
fieldset.phone input:hover,
fieldset.phone input:focus{
    -webkit-appearance: none;
    margin: 0;
    -moz-appearance:textfield;
    text-align: center;
}


#editUser fieldset.phone{
    display: inline-block;
    margin: 0 2.0em 0 0;
    padding: 0;
}




#trafficSpeed .ajaxContent table{
    margin: 1.0em auto;
    
}

#trafficSpeed .ajaxContent table th{
    text-align: right;
}

#trafficSpeed .ajaxContent table td{
    text-align: right;
}


@media screen and (min-width: 600px) {
    
    #trafficSpeed .ajaxContent fieldset{
        
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        
        -moz-box-wrap: wrap;
        -webkit-box-wrap: wrap;
        -webkit-flex-wrap: wrap;
        -ms-flexbox-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        -moz-box-pack: justify;
        justify-content: space-between;
        
        -webkit-box-align: flex-start;
        -webkit-align-items: flex-start;
        -moz-box-align: flex-start;
        -ms-flex-align: flex-start;
        align-items: flex-start;
        
    }
    
    #trafficSpeed .ajaxContent fieldset > label{
        
        -webkit-box-flex: 0 1 48%;
        -moz-box-flex: 0 1 48%;
        -webkit-flex: 0 1 48%;
        -ms-flex: 0 1 48%;
        flex: 0 1 48%;
        
    }
    
    #trafficSpeed .ajaxContent fieldset > label:last-child{
        -webkit-box-flex: 1 1 100%;
        -moz-box-flex: 1 1 100%;
        -webkit-flex: 1 1 100%;
        -ms-flex: 1 1 100%;
        flex: 1 1 100%;
        
    }

}

@media screen and (min-width: 1200px) {
    
    #trafficSpeed .ajaxContent{
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        
        -moz-box-wrap: wrap;
        -webkit-box-wrap: wrap;
        -webkit-flex-wrap: wrap;
        -ms-flexbox-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        -moz-box-pack: justify;
        justify-content: space-between;
        
        -webkit-box-align: flex-start;
        -webkit-align-items: flex-start;
        -moz-box-align: flex-start;
        -ms-flex-align: flex-start;
        align-items: flex-start;
        
    }
    
    
    #trafficSpeed .ajaxContent .callout{
        -webkit-box-flex: 1 1 100%;
        -moz-box-flex: 1 1 100%;
        -webkit-flex: 1 1 100%;
        -ms-flex: 1 1 100%;
        flex: 1 1 100%;
    }
    
    #trafficSpeed .ajaxContent > form{
        -webkit-box-flex: 1 1 60%;
        -moz-box-flex: 1 1 60%;
        -webkit-flex: 1 1 60%;
        -ms-flex: 1 1 60%;
        flex: 1 1 60%;
        
        margin: 0;
        padding: 0 1.0em 0 0;
    }
    #trafficSpeed .ajaxContent > table{
        
        -webkit-box-flex: 0 1 45%;
        -moz-box-flex: 0 1 45%;
        -webkit-flex: 0 1 45%;
        -ms-flex: 0 1 45%;
        flex: 0 1 45%;
        
        margin: 0;
        width: inherit;
    }
    
    #trafficSpeed .ajaxContent fieldset > label{
        /*
        -webkit-box-flex: 0 1 32%;
        -moz-box-flex: 0 1 32%;
        -webkit-flex: 0 1 32%;
        -ms-flex: 0 1 32%;
        flex: 0 1 32%;
        */
    }
}





#editSegmentDetails section{
    margin: 0 0 1.0em 0;
    padding: 0 0 0.5em 0;
    border-bottom: 1px solid #333;
}

#editSegmentDetails section h4{
    margin: 0 0 0.5em 0;
}

#editSegmentDetails section dl{
    margin: 0 0 0.7em 10%;
    padding: 0;
}

#editSegmentDetails section dt{
    display: inline;
    margin: 0;
    padding: 0;
    font-weight: bold;
}

#editSegmentDetails section dt:after{
    content: ':';
}

#editSegmentDetails section dd{
    display: inline;
    margin: 0;
    padding: 0;
}





#annualCosts .ajaxContent{
    
}

#annualCosts .ajaxContent fieldset{
    margin-right: auto;
    margin-left: auto;
    
}

#annualCosts .ajaxContent fieldset label{
    
}



@media screen and (min-width: 600px) {
    
    #annualCosts .ajaxContent{
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        
        -moz-box-wrap: wrap;
        -webkit-box-wrap: wrap;
        -webkit-flex-wrap: wrap;
        -ms-flexbox-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        -moz-box-pack: justify;
        justify-content: space-between;
        
        -webkit-box-align: flex-start;
        -webkit-align-items: flex-start;
        -moz-box-align: flex-start;
        -ms-flex-align: flex-start;
        align-items: flex-start;
        
    }
    
    #annualCosts .ajaxContent > .alert-box{
        
        -webkit-box-flex: 1 1 100%;
        -moz-box-flex: 1 1 100%;
        -webkit-flex: 1 1 100%;
        -ms-flex: 1 1 100%;
        flex: 1 1 100%;
        
    }
    
    #annualCosts .ajaxContent > form{
        -webkit-box-flex: 0 1 48%;
        -moz-box-flex: 0 1 48%;
        -webkit-flex: 0 1 48%;
        -ms-flex: 0 1 48%;
        flex: 0 1 48%;
        
    }
}




.qq-upload-button{
    background-color: #2ba6cb;
    max-width: 12.0em;
    width: inherit;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.qq-upload-button:hover{
    background-color: #2284a2;
}



#dataImportPage nav ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
}

#dataImportPage nav ul li{
    display: inline-block;
    margin: 0;
    padding: 0;
}

#dataImportPage #exceptionReport{
    margin: 1.0em 0;
    padding: 1.0em;
    border: 2px solid #aaa; 
}

#dataImportPage #exceptionReport h5{
    margin: 0 0 0.5em 0;
    font-size: 1.0em;
}


#dataImportPage td.highlightCol{
    background-color: #ffffe0;
}


#dataImportPage td.highlightCol.percent{
    background-color: #ccccb3;
}

#dataImportPage td.highlightCol.totals{
    background-color: #e5e5c9;
}


#dataImportPage td.highlightCol.segment{
    background-color: #ff9999;
}











