/* CSS Document */

body {
	margin: 0;
	padding: 0;
}

.row {
	display: flex;
	flex-wrap: wrap;
}

.home-page {
	align-items: center;
	display: flex;
}

.noMargin {
	margin-bottom: 0;
}

h1,h2,h3,h4,h5 {
	margin: 1rem 0 0.5rem;
}

h1 {
	color: #0f75bc;
	font: 700 40px/50px 'acumin-pro-condensed', sans-serif;
}

h2 {
	color: #666666;
	font: 700 30px/40px 'acumin-pro-condensed', sans-serif;
}

h3 {
	color: #666666;
	font: 700 24px/30px 'acumin-pro-condensed', sans-serif;
}

p, li, input {
    font: 400 16px/24px 'Lato', sans-serif;
}

.red {
	color: red;
}

label {
	text-align: left;
}

.wrapper {
	box-shadow: 0px 0px 20px #000000;
	margin: 20px auto;
	max-width: 400px;
	padding: 40px 25px 20px;
	text-align: center;
	width: 90%;
}

.header {
	border-bottom: 1px solid #0f75bc;
}

.portal-nav a {
    display: inline-block;
    margin: 5px 0 0 10px;
    background: #0f75bc;
    border: 1px solid #0f75bc;
    color: #fff;
    padding: 3px 8px;
    border-radius: 5px;
}

.portal-nav a:hover {
	color: #0f75bc;
	background: #fff;
}

@media (max-width: 639px) {

	.header {
		text-align: center;
	}

	h1 {
		font-size: 2em;
	}

	h2 {
		font-size: 1.6em;
	}

}

@media (min-width: 640px) {

	.right {
		text-align: right;
	}

}

.header img {
	max-width: 320px;
	width: 100%;
}

.header .right img {
	max-width: 200px;
}

.createAccount {
	max-width: 800px;
}

.createAccount input[type=email] {
	margin-bottom: 0;
}

input[type=submit],
.btn {
	background: #0f75bc;
	border: 1px solid #0f75bc;
	color: #ffffff;
	display: inline-block;
	line-height: 45px;
	padding: 0 15px;
	text-transform: uppercase;
	transition: all 0.2s;
}

.btn.red {
    background: red;
    border: 1px solid red;
}

.btn.orange {
    background: orange;
    border: 1px solid orange;
}

.btn.green {
    background: green;
    border: 1px solid green;
}

input[type=submit]:hover,
.btn:hover,
.btn:active,
.btn:focus{
	background: #ffffff;
	color: #0f75bc;
	cursor: pointer;
}

.btn.orange:hover {
    color: orange;
}

.btn.red:hover {
    color: red;
}

.btn.green:hover {
    color: green;
}

.columns .sml {
	display: inline-block;
	margin-right: 3%;
	width: 25%;
}

.columns .med {
	display: inline-block;
	margin-top: 1em;
	width: 72%;
}

.btnArea {
	background: #efefef;
	border-top: 1px solid #0f75bc;
	padding: 20px 0;
}

input[type="checkbox"] {
	height: 30px;
	margin: 13px 0 0;
	vertical-align: top;
}

.inline {
	font-size: 0;
}

.inline p {
	display: inline-block;
	width: 72%;
}

.checkboxes {
    font: 400 16px/30px 'Lato', sans-serif;
}

.checkboxes p {
    width: 100%;
}

.checkboxes input[type="checkbox"] {
    margin: 0 0 10px;
}

.table {
	border-bottom: 1px solid #cccccc;
	border-right: 1px solid #cccccc;
	font-size: 0;
	display: flex;/* width: 100%; */
flex-wrap: wrap;flex-direction: row;}

.cell {
	border-left: 1px solid #cccccc;
	border-top: 1px solid #cccccc;
	font: 400 16px/24px 'Lato', sans-serif;
	display: inline-block;
	padding: 2px 10px;
	vertical-align: top;
	width: 100%;
}

.table .row {
	display: flex;
	margin: 0 !important;
width: 100%;}

.table .row:nth-child(odd) .cell {
	background: #eeeeee;
}

.upcoming .row:first-child .cell,
.inspections .row:first-child .cell,
.existing .row:first-child .cell,
.installers .row:first-child .cell {
	background: #666666;
	color: #ffffff;
	font-weight: bold;
}

.upcoming .row .cell {
    width: 20%;
    word-break: break-all;
}

@media (min-width: 640px) {

    .upcoming .row .cell {
        width: 10%;
        word-break: break-word;
    }
    
    .upcoming .row .cell:nth-child(1) {
        width: 10%;
    }
    
    .upcoming .row .cell:nth-child(2) {
        width: 15%;
    }
    
    .upcoming .row .cell:nth-child(3) {
        width: 15%;
    }
    
    .upcoming .row .cell:nth-child(4) {
        width: 15%;
    }

    .upcoming .row .cell:nth-child(5) {
        width: 25%;
    }
    
    .upcoming .row .cell:nth-child(6) {
        width: 20%;
    }
    
}

.existing .row .cell:nth-child(1) {
	/* width: 30%; */
}

.existing .row .cell:nth-child(2) {
	/* width: 25%; */
flex: 2;}

.existing .row .cell:nth-child(3) {
	/* width: 35%; */
}

@media (min-width: 640px) {

    .existing .row .cell:nth-child(1) {
       /* width: 15%; */
    flex: 1;}
    
    .existing .row .cell:nth-child(3) {
		/* width: 20%; */
	flex: 2;}    
	
	.manageLicencees  .row .cell:nth-child(1) {
        width: 10%;
    }
    .manageLicencees  .row .cell:nth-child(2) {
        width: 20%;
    }
    .manageLicencees  .row .cell:nth-child(3) {
        width: 15%;
    }
    .manageLicencees  .row .cell:nth-child(4) {
        width: 20% !important;
    }
    .manageLicencees  .row .cell:nth-child(5) {
        width: 20% !important;
    }

}

.existing .row .cell:nth-child(4) {
	/* width: 30%; */
flex: 1;}

.existing .row .cell:nth-child(5) {
	/* width: 30%; */
flex: 2;}

.existing .row .cell:nth-child(6) {
	/* width: 30%; */
flex: 1;}

.existing .row .cell:nth-child(7) {
	/* width: 30%; */
flex: 1;}


.installers {
	margin: 0 0 20px;
}

.inspections .row .cell:nth-child(1) {
	width: 12%;
}

.inspections .row .cell:nth-child(2) {
	width: 13%;
}

.inspections .row .cell:nth-child(3) {
	width: 14%;
}

.inspections .row .cell:nth-child(4) {
	width: 46%;
}

.inspections .row .cell:nth-child(5) {
	width: 7%;
}

.inspections .row .cell:nth-child(6) {
	width: 11%;
}

.installers .row .cell:nth-child(1) {
	width: 30%;
}

.installers .row .cell:nth-child(2) {
	width: 40%;
}

.installers .row .cell:nth-child(3) {
	width: 30%;
}

.installers .row .cell:nth-child(4) {
	width: 46%;
}

.installers .row .cell:nth-child(5) {
	width: 7%;
}

.installers .row .cell:nth-child(6) {
	width: 11%;
}

.summaryTable .row .cell:nth-child(1) {
	background: #666666;
	color: #ffffff;
	font-weight: bold;
	width: 60%;
}

.summaryTable .row .cell:nth-child(2) {
	width: 40%;
}

.approvedTermSteel .cell {
	background: yellow !important;
}

.approvedClient .cell,
.needsApproval .cell {
	background: #78fc78 !important;
}

.summaryTable {
	margin: 0 0 20px;
}

.btnArea {
	margin: 40px 0 0;
}

.adminSection {
	background: #89fe94;
	margin: 20px 0 -40px;
}

.adminSection .btn {
	background: #0fbc1f;
	border: 1px solid #0fbc1f;
}

.adminSection .btn:hover,
.adminSection .btn:active{
	color: #0fbc1f;
	background: #ffffff;
}

.userNo {
	color: Red;
}

.userYes {
	color: forestgreen;
}

/* ==================== VALIDATION ==================== */

.error {
	text-align: left;
}

input.error, select.error {
	border: 1px solid red !important;
}

label.error {
	margin: 0 0 10px;
}

/* =================== END = VALIDATION =================== */

/* ==================== IMAGE CHANGING ==================== */

.imageChange label {
	color: #000000;
}

.imageChange .warning {
	display: none;
	font: 400 11px/21px "Open Sans", sans-serif;
}

.imageChange img:hover {
	cursor: pointer;
}

#busLogoChange:checked ~ img,
#img1Change:checked ~ img,
#img2Change:checked ~ img,
#img3Change:checked ~ img,
#img4Change:checked ~ img,
#img5Change:checked ~ img,
#img6Change:checked ~ img,
#sitePlan:checked ~ img{
	display: none;
}

#busLogoChange:checked ~ input, #busLogoChange:checked ~ .warning,
#img1Change:checked ~ input, #img1Change:checked ~ .warning,
#img2Change:checked ~ input, #img2Change:checked ~ .warning,
#img3Change:checked ~ input, #img3Change:checked ~ .warning,
#img4Change:checked ~ input, #img4Change:checked ~ .warning,
#img5Change:checked ~ input, #img5Change:checked ~ .warning,
#img6Change:checked ~ input, #img6Change:checked ~ .warning,
#sitePlan:checked ~ input, #sitePlan:checked ~ .warning{
	display: block;
}

.imageChange input {
	display: none;
}

textarea {
	height: 100px;
}

/* ==================== END = IMAGE CHANGING ==================== */

.clear {
    clear: both;
}

.searchForm {
	border-top: 1px solid #ccc;
	margin: 20px 0 0;
}

.searchForm input[type="text"] {
	height: 48px;
}