/**
 * Main theme CSS file
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#common-wordpress-template-files
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 * @link https://developer.wordpress.org/themes/theme-security/
 * @link https://make.wordpress.org/core/handbook/best-practices/coding-standards/
 *
 * @package Base
 * @subpackage Base Child
 * @since 1.0
 * @version 1.0
 */

/** 
 * @Contents
 *
 * Global styles
 * Nav styles
 * Footer styles
 * Single styles
 * Home styles
 */

/** 
 * Global styles
 */

body {
	font-family: 'Roboto', sans-serif;
    font-size: 1.125rem;
    font-weight: 300;
}
/* Clear fixed header */
#content,
#post-banner {
    margin-top: 5.063rem;
}
.container-break {
	width: 100vw;
	position: relative;
	left: calc(-1 * (100vw - 100%) / 2);
}

/* Links */
a {
	color: #004e90;
	text-decoration: none;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
a:hover {
	color: #004783;
	text-decoration: none;
}
.post-content a {
	font-weight: bold;
    border-bottom: 2px solid;
    padding-bottom: 2px;
}

/* Bold */
b, strong {
    font-weight: bold;
}

/* Titles */

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	font-weight: 900;
}

h1, .h1 {
	font-size: 2.5rem;
}

/* Card */

.card {
    background-color: #f7f7f7;
    border: none; 
    border-radius: 0px;
	font-size: 1rem;
}
.card-title {
    font-weight: 500;
    color: #666;
    font-size: 1.125rem;
}
.card-img-top {
    border-radius: 0px;
}
.card-columns {
	column-count: 1;
}
@media (min-width: 640px) {
    .card-columns {
        column-count: 2;
    }
}
@media (min-width: 1080px) {
    .card-columns {
        column-count: 3;
    }
}

@media (min-width: 1440px) {
    .card-columns {
        column-count: 4;
    }
}
.card-columns .card {
    margin-bottom: 1.25rem;
}

/* Project Cards */
.card.project a {
	color: #212529;
}
.card.project {
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.projects:hover .project {
	opacity: .5;
	-ms-transform: scale(0.95);
    -webkit-transform: scale(0.95);
    transform: scale(0.95);
}
.projects .project:hover {
	opacity: 1;
	-ms-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
}


/* Buttons */

.btn {
    font-weight: 600;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.btn:focus, .btn.focus {
    outline: 0 !important;
    box-shadow: none !important;
}
.btn-lg, .btn-group-lg > .btn {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 0.3rem;
}
.btn-primary {
    color: #fff;
    background-color: #004e90;
    border-color: #004e90;
}
.btn-primary:hover,
.btn-primary:not(:disabled):not(.disabled):active, 
.btn-primary:not(:disabled):not(.disabled).active, 
.show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #004783;
    border-color: #004783;
}
/* No Style */
.btn-no-style {
	background-color: transparent !important;
    border: none !important;
    color: inherit !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0px !important;
}


/** 
 * Nav styles
 */
#header .navbar {
	background: #fff;
	border-bottom: 1px solid #f0f0f0;
}
#header .navbar-brand {
	width: 167px;
    height: 50px;
    text-align: center;
    padding-bottom: 0;
    background-size: 167px 50px;
    background-image: url(../img/logo.jpg);
    background-repeat: no-repeat;
    text-indent: -99999px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
@media (min-width: 960px) {
	#header .navbar-brand {

	}
}
#header .navbar-brand-slogan {
	font-size: 0.75rem;
	width: 120px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
#header .collapsing {
    -webkit-transition: none;
    transition: none;
    display: none;
}
#header .navbar-toggler {
    z-index: 10;
}
#header .navbar-toggler span {
	background-color: #ffffff;
}
#header .navbar-toggler.collapsed span {
    background-color: #212529;
}
#header .navbar-collapse.show {
    background: rgba(0,0,0,.90);
    overflow-y: auto;
    height: 100vh;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
}
#header #search {
    background: rgba(0,0,0,.90);
    overflow-y: auto;
    height: 100vh;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
}
#header #search form,
#header #search form fieldset{
    width: 100%;
	margin: 0 auto;
}
@media (min-width: 960px) {
	#header #search form,
	#header #search form fieldset{
		width: 90%;
	}
}
@media (min-width: 1440px) {
	#header #search form,
	#header #search form fieldset{
		width: 80%;
	}
}
@media (min-width: 1920px) {
	#header #search form,
	#header #search form fieldset{
		width: 70%;
	}
}
#header #search form #search-input {
	background: none;
    color: #fff;
    border: none;
    box-shadow: none;
    font-size: 2rem;
    outline: none;
    height: 100%;
    width: 90%;
}
@media (min-width: 960px) {
	#header #search form #search-input {
		font-size: 4rem;
	}
}
#header #search form .fa-search {
	font-size: 1.625rem;
    color: #fff;
}
@media (min-width: 960px) {
	#header #search form .fa-search {
		font-size: 3.25rem;
	}	
}	
/* do not group these rules */
#header #search form input::-webkit-input-placeholder {
    color: #fff;
}
#header #search form input:-moz-placeholder {
    /* FF 4-18 */
    color: #fff;
    opacity: 1;
}
#header #search form input::-moz-placeholder {
    /* FF 19+ */
    color: #fff;
    opacity: 1;
}
#header #search form input:-ms-input-placeholder {
    /* IE 10+ */
    color: #fff;
}
#header #search form input::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #fff;
}
#header #search form input::placeholder {
    /* modern browser */
    color: #fff;
}


#header .navbar-nav {
    text-align: center;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.03125rem;
    margin: 0 auto
}
#header .navbar-nav .nav-link {
    color: #fff;
    padding: 0;
}
#header .navbar-nav .dropdown-menu {
/*    position: relative;*/
    text-align: center;
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.03125rem;
	background: transparent;
    border: none;
	color: #fff;
}
#header .dropdown-item {
    padding: 0;
    font-weight: 600;
    color: #ccc;
    background-color: transparent;
    border: 0;
    margin: 0;
    font-size: 1.25rem;
    letter-spacing: normal;
}
#header .dropdown-item:hover {
    background-color: transparent;
}
#header .btn-search {
	font-size: 1.125rem;
    margin-top: 0.3125rem;
	z-index: 100;
	margin-right: 1.25rem;
}
#header .btn-search .fa-times {
	font-size: 1.75rem;
	color: #fff;
}
#header .btn-contact {
    font-size: 0.75rem;
    text-transform: uppercase;
}
#header .dropdown-toggle:after {
    display: none;
}
/* pagination */
#pagination .page-numbers {
    border: 1px solid #004e90;
    color: #004e90;
    font-weight: bold;
}
#pagination .page-numbers.current {
    background-color: #004e90;
    border-color: #004e90;
}
#pagination .page-numbers:hover {
    color: #fff;
    background-color: #004e90;
    border-color: #004e90;
}
#pagination .page-numbers.disabled, 
.pagination .dots {
    color: #004e90;
    border-color: #004e90;
}

/** 
 * Footer styles
 */
#footer {
	font-size: 1rem;
}
#footer .footer-top a {
	color: #fff;
}
#footer .footer-bottom {
	font-size: 0.8125rem;
}
#footer .footer-bottom a {
	color: #212529;
}


/** 
 * Single styles
 */

/** 
 * Home styles
 */
.page-template-page-home #content {
    margin-top: 0;
}
.page-template-page-home #post-banner {
    width: 100%;
    height: 70vh;
    max-height: 1080px;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #004e90;
    color: #fff;
    overflow: hidden;
    position: relative;
}
.page-template-page-home #post-banner video {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	z-index: 0;
	-ms-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}
@media (min-width: 480px) {
    .page-template-page-home #banner-image {
        max-width: 180px;
    }
}
.page-template-page-home #post-banner .video-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: rgba(0,78,144,0.75);
/*    background-image: url(../img/home-banner.png);*/
    background-position: right bottom;
/*    background-size: contain;*/
    background-repeat: no-repeat;
	background-size: 50%;
}
.page-template-page-home #post-banner article {
    z-index: 100;
    margin: 0 auto;
    text-align: center;
}
.page-template-page-home #post-banner header h1 {
    font-size: 1.5rem;
    font-weight: 300;
}
.page-template-page-home #post-banner header h2 {
	font-size: 2.2rem;
    margin: 0 auto;
}
@media (min-width: 480px) {
    .page-template-page-home #post-banner header h2 {
        font-size: 2.813rem;
    }   
}
.page-template-page-home .installers {
	background-color: #004e90;
    color: #fff;
}
.page-template-page-home #banner-logo {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 100;
}

/** 
 * Contact styles
 */

.page-template-page-contact #offices {
	font-size: 1rem;
}

