/*
 Theme Name:   Nortek Contractor Extranet
 Description:  Custom Theme - UnderStrap Child
 Template:     understrap
 Version:      0.5.2
 License: GNU General Public License v2 or later
 Text Domain:  contractor-extranet
*/

body {
	line-height: normal;
}

.wrapper {
	padding: 30px 0 0;
}

#page {
	z-index: 1;
}

.row.is-flex {
    display: flex;
    flex-wrap: wrap;
}
.row.is-flex > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

/*
* And with max cross-browser enabled.
* Nobody should ever write this by hand. 
* Use a preprocesser with autoprefixing.
*/
.row.is-flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.row.is-flex > [class*='col-'] {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.container {
	max-width: 960px;
}

.navbar {
	height: 100px;
	position: relative;
}



.page-template-login .panel-default {
	background-color: white;
	padding: 20px;
}



.home-grid {
	border-top: 1px solid black;
	border-left: 1px solid black;
}

.home-grid-box {
	min-height: 150px;
	display: flex;
	padding: 0;
	border-right: 1px solid black;
	border-bottom: 1px solid black;
}

.home-big-button {
	display: flex;
	height: 100%;
	position: relative;
	background-color: #ffffff;
	text-align: center;
}

.home-big-button a {
	display: flex;
	height: 100%;
	width: 100%;
	position: relative;
	text-align: center;
}



.home-big-button h2 {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	text-align: center;
	padding: 30px 15px 0;
	font-size: 25px;
	transition: all 0.1s;
}

.home-big-button:hover h2 {
	transform: scale(1.15);
}

.home-big-button h2 span {
	font-size: 25px;
	color: black;	
}

.home-children {
	display: flex;
	height: 100%;
	position: relative;
	background-color: #ffffff;
	text-align: center;
	flex-wrap: wrap;
	Xborder: 1px solid red;
	overflow: hidden;
	background-color: #5d5d5d;
	box-shadow: inset 0px 0px 15px rgba(0, 0, 0, 0.80);
	min-height: 200px;
}

.home-children h2 {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: 0;
	text-align: center;
	padding: 30px 15px 0;
	font-size: 25px;
	Xborder: 1px solid blue;
	background-color: white;
	transition: all 0.5s;
	z-index: 99;
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.80);
}


.home-children:hover h2 {
	transform: translateY(-120%);	
}

.home-children ul {
	display: block;
	position: absolute;
	top: 50%;
	right: 0;
	left: 0;
	padding: 0;
	list-style-type: none;
	z-index: 1;
	transform: translateY(-50%);
}

.home-children ul li.section-name {
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 25px;
	font-weight: bold;
	color: #aaaaaa;
}

.home-children ul li a, .nolink {
	color: #e2e2e2;
	font-weight: bold;
	text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.60);
	text-decoration: none;
	transition: all 0.1s;
	line-height: 36px;
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 25px;
}

.nolink small {
	display: block;
	font-weight: bold;
	margin-top: -13px;
	font-style: italic;
}

.home-children ul li a:hover {
	color: white;
	font-size: 28px;
	text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.70);		
}

.home-icon {
	background-color: #002e5f;
	width: 90px;
}

.home-wysiwyg {
	display: flex;
	height: 100%;
	width: 100%;
	position: relative;
	background-color: #ffffff;
	text-align: center;
	flex-wrap: wrap;
}

.home-wysiwyg p {
	display: flex;
	width: 100%;	
}

.home-wysiwyg h2 {
	display: block;
	width: 100%;
	text-align: center;
	padding: 30px 15px 0;
	font-size: 28px;
}

.navbar .container {
	
}

a.navbar-logo {
	display: block;
	height: 75px;
	width: 210px;
	background-position: center center;
	background-repeat: no-repeat;
	align-self: flex-start;
	margin: 0 auto;
}

h2.navbar-right {
	display: flex;
}

a.navbar-logo-2 {
	display: block;
	height: 75px;
	width: 210px;
	background-position: center center;
	background-repeat: no-repeat;
	background-image: url('img/HVACBB-logo.png');
	margin-left: auto;
}



#content {
	background-color: rgba(255, 255, 255, 0.9);
	padding-bottom: 40px;
	min-height: 500px;
}

.home #content {
	background-color: transparent;
}

#main {
	padding-top: 20px;
}

.site-info {
	font-size: 12px;
}

#page-wrapper {
	z-index: 1;
}

#wrapper-footer {
	z-index: 2;
}

.home .footer-grid {
	display: none;
}

.footer-grid {
	margin-bottom: 30px;
	border-top: 1px solid #3d3d3d;
	border-left: 1px solid #3d3d3d;
}

.footer-grid-box {
	background-color: white;
	text-align: center;
	padding: 15px;
	position: relative;
	width: 16.66%;
	width: 14.285%;
	height: 120px;
	border-right: 1px solid #3d3d3d;
	border-bottom: 1px solid #3d3d3d;
	overflow: hidden;
}

.footer-grid-box.home-box {
	Xwidth: 10%;
}

.footer-grid-box img {
	width: 50px;	
}

.footer-grid-box .label {
	font-family: 'Open Sans Condensed', sans-serif;
	font-weight: 700;
	font-size: 14px;
	color: black;
	margin-top: 4px;
	line-height: 15px;
}

.footer-button {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: white;
	z-index: 100;
	padding: 25px 15px 15px;
}

.footer-button .arrow-up {
	position: absolute;
	top: 8px;
}

.footer-button a {
	color: black;
}

.footer-button a:hover {
	color: black;
	text-decoration: none;
}

.no-children .footer-button {
	transition: all 0.05s;
}

.no-children .footer-button:hover {
	transform: scale(1.1);
}

.footer-grid-box:hover .footer-children {

}

.footer-grid:hover .footer-grid-box {
	width: 13.33332%;
}

.footer-grid:hover .home-box {
	Xwidth: 10%;
}

.footer-grid-box:hover {
	width: 20% !important;
}

.home-update-content {
	margin-left: 14px;
}

.footer-grid-box.with-children .footer-button {
	transition: all 0.5s;
}

.footer-grid-box.with-children:hover .footer-button {
	transform: translateY(-110%);
}

.footer-children {
	display: block;
	background-color: #5d5d5d;
	box-shadow: inset 0px 0px 15px rgba(0, 0, 0, 0.80);
	position: absolute;
	height: 120px;
	top: 0;
	right: 0;
	left: 0;
	transition: all 0.5s;
}

.footer-children ul {
	margin: 0;
	padding: 0;	
	z-index: 99;
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	list-style-type: none;
}

.footer-children ul li {
	transition: all 0.1s;	
}

.footer-children ul li a {
	font-family: 'Open Sans Condensed', sans-serif;
	font-weight: 700;
	font-size: 14px;
	color: white;
	text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.8);
}

.footer-children ul li:hover {
	transform: scale(1.1);	
}

.footer-children ul li a:hover {
	text-decoration: none;
}

.site-info {
	display: block;
	float: right;
}

.site-info .logout a {
	color: black;
	background-color: white;
	padding: 6px 16px;
	font-weight: bold;
	font-size: 20px;
}

.site-info .logout a:hover {
	text-decoration: none;	
}

.dataTable {
	font-size: 12px;
}

.dataTable tbody tr {
	cursor: pointer;
}

.dataTable tbody tr:hover {
	background-color: #f2f2f2 !important;
}

.dataTable tbody tr.expanded {
	background-color: #5a6268 !important;
	color: white;
	border-top-color: #5a6268;
}

.dataTable tbody tr.shown, .dataTable tbody tr.shown:hover {
	background-color: #454545 !important;
	color: white;
}

#moreinfo-modal {
	position: absolute;
	display: block;
	background-color: red;
}

.table .moreinfo {
	display: none;
	background-color: white;
	border: 1px solid #5a6268;
	padding: 20px;
	position: absolute;
	z-index: 99;
	left: 0;
	right: 0;
	bottom: -100px;
	height: 100px;
	border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;
	color: black;
}

.dataTable tbody tr.expanded .moreinfo {
	display: block;	
}

.dataTables_wrapper {
	font-size: 12px;
}

.dataTables_wrapper [type="search"] {
	padding: 0.375rem 0.75rem;
	color: #495057;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #ced4da;
	border-radius: 0.25rem;
	-webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
	transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

.multi-label {
	margin-bottom: 10px;
	text-align: center;
	font-weight: bold;
}

#loginTabs a {
	font-size: 14px;
}

.calltoaction {
	text-align: center;
	font-weight: bold;
	font-size: 17px;
	padding: 0 10px;
}

@media (max-width:768px) {
	
	.footer-grid-box {
		width: 16.66%;	
	}
	
	.footer-button {
		padding: 25px 5px 5px;
	}
	
	.footer-grid-box img {
		max-width: 100%;	
	}
	
	.footer-grid:hover .footer-grid-box {
		width: 10%;
	}
	
	.footer-grid .footer-grid-box .label {
		font-size: 10px;
		line-height: 0.9 !important;
		margin-top: 4px;
	}
	
	.footer-grid:hover .footer-grid-box .label {
		display: none;
	}
	
	.footer-grid .footer-grid-box.no-children:hover .label {
		display: block;
		font-size: 13px;
	}
	
	.footer-grid-box:hover {
		width: 50% !important;
	}
	
}

