/*
Theme Name: Aurora Tech
Author: Aurora Technologies, LLC
Author URI: http://goauroratech.com/
*/

/*Reset Css*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}

ol,
ul {list-style: none;}
blockquote,
q {quotes: none;}
blockquote:before,
blockquote:after,
q:before,
q:after {content: none;}
table {border-collapse: collapse; border-spacing: 0;}
html {
	overflow-y: scroll;
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
a:focus {outline: none;}
article,
aside,
nav,
section {display: block;}
audio,
canvas,
video {display: inline-block;}
audio:not([controls]) {display: none;}
hr {background-color: #ccc; border: 0; height: 1px; margin: 24px 0;}
sub,
sup {font-size: 75%; line-height: 0; position: relative; vertical-align: baseline;}
sup {top: -0.5em;}
sub {bottom: -0.25em;}
img {border: 0; max-width: 100%;}

/* =Repeatable patterns
-------------------------------------------------------------- */

/* Form fields, general styles first */

.wpcf7 sup {color: red;}
.wpcf7 p {margin: 0!important;}
.wpcf7 .flex {margin: 0!important;}
.wpcf7 label {padding: 0 0 2px; display: inline-block;}
.wpcf7-validation-errors {border: 1px solid red; margin: 30px 0; padding: 10px 15px;}
.wpcf7-not-valid-tip {font-size: 0.9em!important; margin: 0 0 10px;}
.wpcf7-form-control-wrap {margin: 0 0 10px;}
.wpcf7-checkbox, .wpcf7-radio {display: block; margin: 0 0 10px;}

button, input, textarea, select {border: 0; border-radius: 0px; font-family: inherit; margin-right: 0%; margin-bottom: 18px; padding: 5px 10px; box-sizing: border-box; width: 100%; outline: none; background: #e5e9ef;}
input.wpcf7-file {margin: 0 0 20px;}
input[type="checkbox"], input[type="radio"] {width: auto;}
select {padding: 7px 10px;}
textarea {height: 120px;}
input[type="submit"] {width: auto; outline: none; padding: 5px 15px; cursor: pointer; -webkit-transition: .3s; transition: .3s; background: #7f8fad; color: #fff; text-transform: uppercase; font-family: 'Cabin'; font-weight: 500;}
input[type="submit"]:hover {background: #002161;}

#searchsubmit {background: #00A1E0; border: 0; color: #FFFFFF; min-width: 24%;}

/* Reset non-text input types */

input[type="checkbox"],
input[type="radio"],
input[type="file"],
input[type="hidden"],
input[type="image"],
input[type="color"] {border: 0;	border-radius: 0;	padding: 0;}

/* Responsive elements */

.entry-content img,
.comment-content img,
.widget img,
embed, iframe, object, video {max-width: 100%;}

/* Images */

.alignleft {float: left;}
.alignright {float: right;}
.aligncenter {display: block; margin-left: auto; margin-right: auto;}

.wp-caption {max-width: 100%; padding: 4px;}
.entry-content dl.gallery-item {margin: 0!important;}
.gallery-item a,
.gallery-caption {width: 100%; padding: 0 10px 0 0; box-sizing: border-box;}
.gallery-item a {display: block;}
.gallery-caption a {display: inline;}
.gallery-columns-1 .gallery-item a {max-width: 100%; width: auto;}
.gallery .gallery-icon img {height: auto; border: 0!important;}
.gallery-columns-1 .gallery-icon img {padding: 3%;}

/* Navigation for posts and pages*/

.wp-pagenavi {margin: 50px 0 0;}
.wp-pagenavi .pages {color: #aaa; font-weight: normal; margin-left: 0;}
.wp-pagenavi > span, .wp-pagenavi > a {display: inline-block; margin: 0 8px; font-weight: bold; color: inherit;}
.wp-pagenavi > span.current {color: #aaa;}

#nav-below {border-top: 5px solid #888; margin: 30px 0 0; padding: 15px; background: #f2f2f2; color: rgba(0,0,0,0);}
#nav-below::after {content: ""; display: block; clear: both;}
#nav-below a {display: inline-block; background: #fff; border-radius: 50px; padding: 10px 15px; color: #555; text-decoration: none!important; margin: 0 0 3px;}
#nav-below a:hover {box-shadow: 0 4px 10px rgba(0,0,0,0.1);}

.nav-single {border-top: 5px solid #888; background: #f2f2f2; clear: both; margin: 25px 0 0; overflow: hidden; padding: 12px 15px; font-size: 13px;}
.nav-single h4 {text-align: center;}
.nav-single #ns-next {text-align: right;}
.nav-single .ns-ib {display: inline-block; text-align: center;}
.nav-single a {display: inline-block; background: #fff; border-radius: 50px; padding: 10px 15px; color: #555; text-decoration: none!important; margin: 0 0 3px;}
.nav-single a:hover {box-shadow: 0 4px 10px rgba(0,0,0,0.1);}
.nav-single span {font-size: 12px; letter-spacing: 1px; color: #aaa;}

.nav-single + .comments-area,
#comment-nav-above {margin: 48px 0;}

/* Author profiles */

.author .archive-header {margin-bottom: 24px;}
.author-info {border-top: 1px solid #ededed; margin: 24px 0; padding-top: 24px; overflow: hidden;}
.author-description p {color: #757575; font-size: 13px; line-height: 1.846153846;}
.author.archive .author-info {border-top: 0; margin: 0 0 48px;}

/* Basic structure
-------------------------------------------------------------- */

html {font-size: 90.5%;}
body {
	line-height: 1.6;
	font-size: 15px;
	font-family: 'Open Sans', Arial, sans-serif;
	text-rendering: optimizeLegibility;
	overflow: hidden;
	color: #000;
}

a {
	outline: none;
	color: #7f8fad;
	text-decoration: none;
	-webkit-transition: .3s;
	transition: .3s;
}
a:hover {text-decoration: underline;}

/* Sidebar */

.widget-area .widget {margin-bottom: 30px;}
.widget-area .widget:last-of-type {margin-bottom: 0;}
.widget-area .widget-title {}
.textwidget p:last-child {margin: 0;}
	
.widget-area .textwidget ul {list-style: disc outside;}
.widget-area .textwidget li {margin-left: 25px;}
.widget-area #s {margin-right: -4px; width: 67.9999%;}

/* Main content area, sticky post styling and comment content
-------------------------------------------------------------- */

.entry-meta {clear: both;}
.entry-header img.wp-post-image {margin-bottom: 24px;}
.entry-title a {color: inherit;}
.entry-header .entry-format {margin-top: 24px; font-weight: normal;}
.entry-header .comments-link {margin-top: 24px; font-size: 13px; line-height: 1.846153846; color: #757575;}
.comments-link a,
.entry-meta a {color: #757575;}
.comments-link a:hover,
.entry-meta a:hover {color: #333;}
.entry-content,
.entry-summary,
.mu_register {line-height: inherit;}

.entry-content h1,
.comment-content h1,
h1,
.entry-content h2,
.comment-content h2,
h2,
.entry-header .entry-title,
.entry-content h3,
.comment-content h3,
h3,
.entry-content h4,
.comment-content h4,
h4,
.entry-content h5,
.comment-content h5,
.entry-content h6,
.comment-content h6 {
	font-family: 'RFD';
	margin: 0 0 20px;
	line-height: 1.2;
}

h1, .entry-content h1, .comment-content h1, h1.entry-title, .archive-title, .page-title, .entry-content > h2:first-child {font-size: 40px; text-transform: uppercase; text-align: center;}
.entry-content h2, .comment-content h2, .mu_register h2, h2.entry-title {font-size: 22px; font-weight: bold;}
.entry-content h2:not(:first-child) {padding-top: 15px;}
.entry-content h3, .comment-content h3, h3 {font-size: 20px;}
.entry-content h4, .comment-content h4, h4 {font-size: 16px;}
.entry-content h5, .comment-content h5 {font-size: 16px;}
.entry-content h6, .comment-content h6 {font-size: 14px;}

.entry-content p, .entry-summary p, .comment-content p, .mu_register p, p {margin: 0 0 20px; line-height: inherit;}
p:last-child {margin: 0;}

.entry-content ol,
.comment-content ol,
.entry-content ul,
.comment-content ul,
.mu_register ul {margin: 0 0 20px;}
.entry-content ol:last-child, .entry-content ul:last-child {margin-bottom: 0;}
.entry-content ul ul,
.comment-content ul ul,
.entry-content ol ol,
.comment-content ol ol,
.entry-content ul ol,
.comment-content ul ol,
.entry-content ol ul,
.comment-content ol ul {margin-bottom: 0;}
.entry-content ul,
.comment-content ul,
.mu_register ul {list-style: disc outside;}
.entry-content ol,
.comment-content ol {list-style: decimal outside;}
.entry-content li,
.comment-content li,
.mu_register li {margin: 0 0 0 25px;}

.entry-content blockquote, .comment-content blockquote {background: #eee; margin-bottom: 25px; padding: 25px;}
.entry-content blockquote p:last-child, .comment-content blockquote p:last-child {margin-bottom: 0;}

img.alignleft {margin: 0 15px 10px 0;}
img.alignright {margin: 12px 0 12px 24px;}
img.aligncenter {margin-top: 12px; margin-bottom: 12px;}
.entry-content embed,
.entry-content iframe,
.entry-content object,
.entry-content video {margin-bottom: 20px;}
.entry-content dl,
.comment-content dl {margin: 0 24px;}
.entry-content dt,
.comment-content dt {font-weight: bold;}
.entry-content dd,
.comment-content dd {margin-bottom: 24px;}
.entry-content table,
.comment-content table {margin: 0 0 20px; width: 100%;}
.entry-content table caption,
.comment-content table caption {margin: 24px 0;}
.entry-content td,
.comment-content td {vertical-align: top; padding: 0 5px;}

.blog article, .archive article {margin: 0 0 30px;}
.blog article::after, .archive article::after {content: " "; display: block; clear: both;}
.blog article .read-more, .archive article .read-more {display: block; margin: 10px 0 0;}
.blog article p .archive article p {line-height: 1.3;}
.single img.attachment-post-thumbnail {float: right; margin-left: 15px; max-width: 45%; height: auto;}
footer.entry-meta, .archive-meta {margin-top: 24px; font-size: 13px; color: #757575;}
.entry-meta > span a {color: #333333; padding: 2px; text-decoration: none;}

/* Single image attachment view
-------------------------------------------------------------- */

.article.attachment {overflow: hidden;}
.image-attachment div.attachment {text-align: center;}
.image-attachment div.attachment p {text-align: center;}
.image-attachment div.attachment img {display: block; height: auto; margin: 0 auto; max-width: 100%;}
.image-attachment .entry-caption {margin-top: 8px;}

/* Comments
-------------------------------------------------------------- */

.comments-title {margin-bottom: 48px; font-size: 16px; line-height: 1.5; font-weight: normal;}
.comments-area article {margin: 24px 0;}
.comments-area article header {float: left; margin: 0 15px 0 15px; overflow: hidden; position: relative;}
.comments-area article header img {float: left; padding: 0; line-height: 0;}
.comments-area article header cite, .comments-area article header time {display: block; margin-left: 45px;}
.comments-area article header cite {font-style: normal;}
.comments-area article header time {text-decoration: none;}
.comments-area article header h4 {position: absolute; top: 0; right: 0; padding: 6px 12px; font-weight: normal;	color: #fff; background-color: #0088d0; border-radius: 3px; border: 1px solid #007cbd;}
.comments-area li.bypostauthor cite span {position: relative; margin-left: 5px; padding: 2px 5px;}
a.comment-reply-link, a.comment-edit-link {color: #686868; font-size: 13px;}
a.comment-reply-link:hover, a.comment-edit-link:hover {color: #21759b;}
.commentlist .pingback {margin-bottom: 24px;}

/* Comment form */

#respond {margin-top: 30px;}
#respond h3#reply-title {font-size: 16px;}
#respond h3#reply-title #cancel-comment-reply-link {margin-left: 10px; font-weight: normal;}
#respond form {margin: 24px 0;}
#respond form p {margin: 12px 0;}
#respond form p.logged-in-as {margin-bottom: 24px;}
#respond form label {display: block;}
#respond form input[type="text"], #respond form textarea {box-sizing: border-box; padding: 10px; width: 100%;}
#respond form p.form-allowed-tags {margin: 0; color: #5e5e5e;}

/* Below title meta styling */

.below-title-meta{color:#aaa; font-size: 12px; margin: 0 0 20px;}
.below-title-meta a{color: inherit; text-decoration:none;}

/* Responsive selectnav.js css */

.selectnav {display: none;}
select.selectnav {border: 1px solid #ddd; border-radius: 4px; margin: 4px; padding: 10px; width: 96%;}

/* mobile menu styling */
 
@media screen and (max-width: 849px) {
    .js .selectnav {display: inline-block;}
	.main-navigation ul.nav-menu, .main-navigation div.nav-menu > ul, .nav-menu li {display: none;}
	.themonic-nav ul {display: none;}
	.themonic-nav li a, .themonic-nav li {display: none;}

	.themonic-nav ul.nav-menu, .themonic-nav div.nav-menu > ul {display: none;}
}

/* Minimum width of 850pixels. */

@media screen and (min-width: 850px) {
	.site {margin: 0 auto; max-width: 1024px;}
	body.template-front-page .site-content,
	body.single-attachment .site-content,
	body.full-width .site-content {width: 100%; margin: 0;}

/* NAV MENU DEFAULTS 
-------------------------------------------------------------- */

.themonic-nav {text-align: center;}
.themonic-nav ul {margin: 0; padding: 0; text-indent: 0;}
.themonic-nav li {display: inline-block; position: relative; -webkit-transition: .3s; transition: .3s;}
.themonic-nav li a {text-decoration: none; display: block;}

/* NAV MENU CUSTOMIZATIONS */

.themonic-nav .nav-menu > li {}
.themonic-nav .nav-menu > li > a {line-height: 3.5; padding: 0 20px; color: #fff; font-family: 'Cabin'; font-weight: 500; text-transform: uppercase; font-size: 14px;}
.themonic-nav .nav-menu > li > a:hover {color: rgba(255,255,255,0.7);}

.themonic-nav .nav-menu > li.current-menu-item > a {}

.themonic-nav .sub-menu {position: absolute; top: 100%; left: 6px; z-index: 10; text-align: center; max-height: 0; padding: 0 6px; overflow: hidden; -webkit-transition: .3s; transition: .3s; background: #dadce2; display: flex;}
.themonic-nav .nav-menu li:hover > .sub-menu {max-height: 100px; padding: 6px;}
.themonic-nav .sub-menu > li {}
.themonic-nav .sub-menu > li > a {color: #7f8fad; line-height: 1.4; white-space: nowrap; padding: 0 10px; font-family: 'Cabin'; text-transform: uppercase; font-weight: 500; font-size: 14px;}
.themonic-nav .sub-menu > li > a:hover {color: #002161;}

.themonic-nav .sub-menu .sub-menu {left: 100%; top: 0; -webkit-transform: none; transform: none;}
.themonic-nav .sub-menu .sub-menu > li > a {background: #e9e9e9;}
.themonic-nav .sub-menu .sub-menu > li > a:hover {background: #ddd;}

}

#page-wrap {padding: 0 15px;}
#main {display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex;}
.site-content {margin: 0; padding: 50px 0;  box-sizing: border-box; flex-grow: 1; max-width: 100%;}
.widget-area {margin: 0 0 0 25px; padding: 40px 0 40px 25px; width: 30%; box-sizing: border-box; flex-shrink: 0;}
.entry-content > .gallery:not(:last-child) {margin: 0 0 20px!important;}
.entry-content > div:not(:last-child):not(.expand):not(.collapse) {margin-bottom: 20px;}
.video-wrap {position: relative; padding: 56.25% 0 0; width: 100%; margin: 0 0 20px;}
.video-wrap iframe {position: absolute; left: 0; top: 0; width: 100%; height: 100%;}

.assistive-text {display: none;}
span.excerpt-dash {display: none;}

:is(a[href$=".jpg"], a[href$=".jpeg"], a[href$=".png"], a[href$=".gif"], a[href$=".webp"]):not(.fancybox-content a) {cursor: zoom-in;}
.compensate-for-scrollbar {margin: 0!important;}
.fancybox-content-wrap {display: none;}
.fancybox-slide--html .fancybox-content {max-width: 750px; max-height: 75vh; min-height: 300px;}
.fancybox-content:has(iframe[src*="youtube.com"], iframe[src*="vimeo.com"]) {height: auto !important; aspect-ratio: 1.78;}
.fancybox-content iframe[src*="youtube.com"], .fancybox-content iframe[src*="vimeo.com"] {aspect-ratio: 1.78; width: 100%; height: auto;}

@font-face {
    font-family: RFD;  
    src: url(//www.patriotrestoration.com/fonts/RFD-300.woff) format('woff'), url(//www.patriotrestoration.com/fonts/RFD-300.woff2) format('woff2');  
    font-weight: 300;
}
@font-face {
    font-family: RFD;  
    src: url(//www.patriotrestoration.com/fonts/RFD-400.woff) format('woff'), url(//www.patriotrestoration.com/fonts/RFD-400.woff2) format('woff2');  
    font-weight: 400;
}
@font-face {
    font-family: RFD;  
    src: url(//www.patriotrestoration.com/fonts/RFD-700.woff) format('woff'), url(//www.patriotrestoration.com/fonts/RFD-700.woff2) format('woff2');  
    font-weight: 700;
}
@font-face {
    font-family: RFD;  
    src: url(//www.patriotrestoration.com/fonts/RFD-800.woff) format('woff'), url(//www.patriotrestoration.com/fonts/RFD-800.woff2) format('woff2');  
    font-weight: 800;
}
@font-face {
    font-family: RFD;  
    src: url(//www.patriotrestoration.com/fonts/RFD-900.woff) format('woff'), url(//www.patriotrestoration.com/fonts/RFD-900.woff2) format('woff2');  
    font-weight: 900;
}

.anb-line {border-color: #fff;}
#aurora-nav-btn {width: 100%; padding: 15px 0 10px;}

[data-parallax] {will-change: transform;}

.limit-l {max-width: 1200px; margin: 0 auto;}
.limit {max-width: 1024px; margin: 0 auto;}
.clear {clear: both;}
.flex {display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex;}
.entry-content .flex:not(:last-child) {margin-bottom: 20px;}
.flex.rows {flex-flow: row wrap; width: 102%; margin-left: -1%;}
.flex.rows.p1 {flex-flow: row wrap; width: 103%; margin-left: -1.5%;}
.flex.rows.p2 {flex-flow: row wrap; width: 104%; margin-left: -2%;}
.flex.rows.p3 {flex-flow: row wrap; width: 105%; margin-left: -2.5%;}
.flex.rows.p4 {flex-flow: row wrap; width: 106%; margin-left: -3%;}
.flex.rows.p5 {flex-flow: row wrap; width: 107%; margin-left: -3.5%;}
.flex.rows.p6 {flex-flow: row wrap; width: 108%; margin-left: -4%;}
.flex.middle {-webkit-align-items: center; align-items: center;}
.flex.bottom {-webkit-align-items: flex-end; align-items: flex-end;}
.sub-cols > div,
.sub-col {display: flex; flex-flow: column; justify-content: space-between;}
.sub-cols > div > div:not(:last-child),
.sub-col > div:not(:last-child) {margin: 0 0 20px;}
.flex > * {flex-grow: 1; box-sizing: border-box; margin: 0 1%;}
.flex.rows > * {margin-bottom: 15px!important;}
.flex.f1 > * {flex: 1;}
.flex .f0 {flex-grow: 0; flex-shrink: 0;}
.flex .f34 {width: 73%; margin: 0 1%;}
.flex .f23 {width: 64.66%; margin: 0 1%;}
.flex .f2 {width: 48%; margin: 0 1%;}
.flex .f3 {width: 31.33%; margin: 0 1%;}
.flex .f4 {width: 24%; margin: 0 0.5%;}
.flex .f5 {width: 19%; margin: 0 0.5%;}
.flex .f40 {width: 38%; margin: 0 1%;}
.flex .f60 {width: 58%; margin: 0 1%;}
.flex.p1 > * {padding: 0 0.5%;}
.flex.p2 > * {padding: 0 1%;}
.flex.p3 > * {padding: 0 1.5%;}
.flex.p4 > * {padding: 0 2%;}
.flex.p5 > * {padding: 0 2.5%;}
.flex.p6 > * {padding: 0 3%;}
.flex:not(.rows).p1 > *:first-child, .flex:not(.rows).p2 > *:first-child, .flex:not(.rows).p3 > *:first-child, .flex:not(.rows).p4 > *:first-child, .flex:not(.rows).p5 > *:first-child, .flex:not(.rows).p6 > *:first-child {padding-left: 0;}
.flex:not(.rows).p1 > *:last-child, .flex:not(.rows).p2 > *:last-child, .flex:not(.rows).p3 > *:last-child, .flex:not(.rows).p4 > *:last-child, .flex:not(.rows).p5 > *:last-child, .flex:not(.rows).p6 > *:last-child {padding-right: 0;}
.flex:not(.rows) > *:first-child {margin-left: 0;}
.flex:not(.rows) > *:last-child {margin-right: 0;}.center {text-align: center;}
.right {float: right; margin-left: 15px;}
img.right {max-width: 45%;}
.left {float: left; margin-right: 15px;}
img.left {max-width: 45%;}
.space li {margin-bottom: 15px;}
.abs-left {position: absolute; left: 0; top: 50%; -webkit-transform: translate(0,-50%); transform: translateY(-50%);}
.abs-right {position: absolute; right: 0; top: 50%; -webkit-transform: translate(0,-50%); transform: translateY(-50%);}
.abs-center {position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%,-50%); transform: translateX(-50%) translateY(-50%);}
.pad {padding: 30px 0;}
.entry-content .pad + .pad {padding-top: 0;}
.entry-content > .pad:last-child {padding-bottom: 0;}

a.button {display: inline-block; text-decoration: none; padding: 10px 30px; background: #aaa; color: #fff;}
a.button:hover {background: #ccc;}
p.subhead {font-family: 'Cabin'; font-size: 20px; text-align: center; margin: -18px 0 35px;}
.blue {color: #7f8fad;}

#header {text-align: center; padding: 30px 15px;}
#logo img {width: 320px;}

#site-nav {background: #7f8fad;}

#banner {position: relative; height: 450px; overflow: hidden;}
.home #banner {height: 700px;}
#banner .nk-awb {position: absolute; left: 0; top: 0; width: 100%; height: 100%;}
.b-over {position: absolute; left: 0; top: 50%; transform: translate(0,-50%); text-align: center; color: #fff; width: 100%;}
.b-over h2 {text-transform: uppercase; margin: 0; font-size: 54px;}

#banner .metaslider {position: absolute; left: 0; top: 0; width: 100%; height: 100%;}
#banner :is(.metaslider > div, .flexslider, .slides, .ms-image, .ms-image img) {height: 100%;}
#banner .ms-image img {object-fit: cover;}

#banner [data-parallax] {top:calc(var(--bleed, 0px) * -1); left:0; right:0; height:calc(100% + var(--bleed, 0px) * 2);}

.scroll #site-nav {position: fixed; left: 0; top: 0; z-index: 9999; width: 100%;}
.scroll #banner {margin-top: 49px;}

#bb-wrap {position: relative;}
#b-boxes {position: absolute; left: 0; bottom: -50px; width: 100%; padding: 0 15px; box-sizing: border-box;}
a.b-box {display: block; text-decoration: none; color: #333; position: relative; line-height: 0; margin: 0 7px; border: 1px solid #fff; background: #fff; height: 265px; overflow: hidden;}
a.b-box img {position: absolute; left: 0; top: 0; width: 100%; height: calc(100% - 40px); object-fit: cover; -webkit-transition: .5s; transition: .5s;}
a.b-box h3 {margin: 0; position: absolute; left: 0; bottom: 0; width: 100%; padding: 10px 5px; box-sizing: border-box; text-align: center; color: #fff; background: #434e65; font-family: 'Cabin'; font-weight: 400; text-transform: uppercase; font-size: 18px;}
a.b-box:hover img {transform: scale(1.075);}

#photo-band {line-height: 0;}
#photo-band > div {margin: 0;}
#photo-band img {width: 100%; opacity: 1; -webkit-transition: .3s; transition: .3s;}
#photo-band img:hover {opacity: 0.8;}

.home #page-wrap {padding: 60px 15px 35px;}
.home .site {max-width: 1200px;}

#story {background: #dadce2; padding: 75px 15px; line-height: 1.75; border-bottom: 5px solid #fff;}
#story .f0 {width: 250px; padding: 0 20px 0 0;}
#story h2, #story h3, #story h4 {font-family: 'Cabin'; font-weight: 400; font-size: 20px; margin: 0 0 6px;}

#contacts {background: #7f8fad; color: #fff; text-align: center; padding: 50px 15px; line-height: 1.9; font-size: 14px;}
#contacts h2, #contacts h3, #contacts .c-head1 {font-family: 'Cabin'; font-size: 22px; font-weight: 400; margin: 0;}
#contacts p {margin: 0;}
#contacts a {color: #fff; text-decoration: none;}

#logos {padding: 50px 15px 75px;}
#logos .l-row:not(:last-child) {border-bottom: 1px solid #acabab; padding: 0 0 15px; margin: 0 0 20px;}
#logos .flex > div {flex-grow: 0; margin: 0; padding: 0 16px;}
#logos img {max-height: 45px;}

#f-gal {padding: 0 0 5px 5px;}
#f-gal .gallery {display: flex;}
#f-gal .gallery > dl.gallery-item {flex: 1; width: auto; margin: 0 5px 0 0; float: none;}
#f-gal .gallery > dl.gallery-item:last-child {margin-right: 0;}
#f-gal .gallery-icon {padding: 75% 0 0; position: relative;}
#f-gal .gallery-item a {padding: 0;}
#f-gal .gallery-item img {position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; -webkit-transition: .3s; transition: .3s;}
#f-gal .gallery-item img:hover {opacity: 0.8;}
#f-gal .gallery-caption {display: none;}
#f-gal br {display: none;}

.featherlight:last-of-type {background: rgba(0,0,0,0.5)!important;}
.featherlight .featherlight-content.has-cap {top: -12%;}
.featherlight .featherlight-content .caption {font-size: 14px!important; background: #fff; color: #000!important; padding: 10px 20px 20px; white-space: inherit!important; line-height: 1.8!important; -webkit-animation: fadein .5s; animation: fadein .5s;}
.featherlight .featherlight-content .caption h4 {color: #7f8fad; font-family: 'Cabin'; font-size: 18px; margin: 0 0 6px;}
.featherlight .featherlight-content.has-cap .featherlight-image {border: 10px solid #fff; background: #fff; max-width: 600px!important; width: 100%!important; height: auto!important; opacity: 1!important;}

.pg-side {width: 28%; flex-shrink: 0; padding: 0 0 0 20px;}
.pg-side.pgs-wide {width: 40%;}
.pg-side h3, .pg-side h2 {font-family: 'Cabin'; font-weight: 400; color: #316698; font-size: 20px;}
.pg-side li {list-style: none; margin: 0 0 6px;}
.pg-side li:before {content: "- ";}

#people {position: relative; padding: 0 150px;}
#people .flex {position: relative; top: -100px; margin: 0 0 -100px; justify-content: center; flex-flow: row wrap;}
#people .p-person {width: 10%; max-width: 225px; min-width: 140px; flex-grow: 0; position: relative; line-height: 0; margin: 0!important;}
#people .p-name {position: absolute; left: 50%; bottom: 20px; transform: translate(-50%,0); width: calc(100% - 30px); line-height: 1.4; padding: 2px 0; background: rgba(0,0,0,0.5); color: #fff; text-align: center; text-transform: uppercase; font-family: 'Cabin'; font-size: 12px;}

#person h2 {font-family: 'Cabin'; color: #7f8fad; font-weight: 400; font-size: 20px; margin: 0 0 9px;}
#person .p-img {width: 40%;}
#person .p-position {font-family: 'Cabin'; margin: 0 0 5px;}
#person .p-email {font-family: 'Cabin'; font-style: italic;}
#person .p-email a {color: #000; text-decoration: none;}
#person .p-email a:hover {color: #7f8fad;}
#person .p-bio {margin: 0 0 20px;}
#person .pq-label {font-weight: bold; margin: 0 0 5px;}

.post-type-archive-projects .site {max-width: 1300px;}
.single-post .site, .single-projects .site {max-width: 900px;}
.single-post .site-content, .single-projects .site-content {padding-top: 0;}
.proj-img {line-height: 0; margin: 0 0 5px!important;}
.proj-img img {width: 100%;}
.proj-gal {margin: 0 0 40px!important;}
.proj-gal .gallery {display: flex; width: calc(100% + 5px);}
.proj-gal .gallery > dl.gallery-item {flex: 1; width: auto; margin: 0 5px 0 0!important; float: none!important;}
.proj-gal .gallery-icon {padding: 75% 0 0; position: relative;}
.proj-gal .gallery-item a {padding: 0;}
.proj-gal .gallery-item img {position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover;}
.proj-gal .gallery-caption {display: none;}
.proj-gal br {display: none;}

.fancybox-content.gal-content {padding: 25px;}
.gal-content .proj-gal {margin: 5px 0 0!important;}
.gal-content .proj-img {margin: 0!important;}
.gal-content h2 {font-size: 40px; text-align: center; text-transform: uppercase; margin: 30px 0 20px;}

.proj-grid > a {display: block; width: calc(50% - 10px); margin: 0 5px 5px; position: relative; line-height: 0; text-decoration: none; color: #000; flex-grow: 0;}
.proj-grid.flex.rows > a {margin-bottom: 10px!important;}
.proj-grid .pg-inner {padding: 60% 0 0;}
.proj-grid .pg-img {position: absolute; left: 0; top: 0; width: 100%; height: 100%;}
.proj-grid .pg-img img {position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover;}
.proj-grid h2.pg-title {margin: 0; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); text-align: center; font-family: 'Cabin'; font-weight: 500; background: rgba(0,0,0,0.5); color: #fff; text-transform: uppercase; font-size: 13px; padding: 4px 10px 3px; min-width: 60%; -webkit-transition: .3s; transition: .3s;}
.proj-grid:not(.post-grid) .projects:hover h2.pg-title {top: 48%;}

.proj-grid.post-grid h2.pg-title {left: 0; top: auto; bottom: 0; transform: none; width: 100%; box-sizing: border-box; text-align: left; padding: 20px; font-size: 20px;}
.proj-grid.post-grid .post:hover h2.pg-title {padding: 28px 20px;}

.proj-grid.pg3 > a {width: calc(33.33% - 10px);}
.proj-grid.pg3 .pg-inner {padding: 0; aspect-ratio: 1.33;}

.entry-content .gallery {display: flex; flex-flow: row wrap; width: calc(100% + 6px); margin-left: -3px;}
.entry-content .gallery .gallery-item {float: none!important; margin: 0 3px 6px!important; width: calc(33.33% - 6px)!important; position: relative;}
.entry-content .gallery-icon {position: relative; padding: 70% 0 0;}
.entry-content .gallery img {position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; -webkit-transition: .3s; transition: .3s;}
.entry-content .gallery img:hover {opacity: 0.8;}
.entry-content .gallery .gallery-caption {font-size: 0; line-height: 0; margin: 0; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); background: rgba(0,0,0,0.5); width: auto; min-width: 65%; padding: 3px 10px 2px;}
#gallery-1 .gallery-caption h4 {margin: 0; font-family: 'Cabin'; font-size: 13px; color: #fff; font-weight: 500;}

.post-img {margin: 0 0 40px!important;}
.post-img img {width: 100%; height: auto;}

.people-grid {display: flex; flex-flow: row wrap; gap: 30px;}
.pg-pers {width: calc(25% - 23px); text-align: center;}
.pg-img {line-height: 0; margin: 0 0 15px; position: relative; aspect-ratio: 0.825;}
.pg-img img {position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover;}
.pg-txt {font-size: 17px; line-height: 1.4;}
h4.pg-name {font-size: 26px; margin: 0;}
.pg-pos {font-style: italic;}

@media screen and (max-width : 1400px){
	.featherlight .featherlight-content .caption {line-height: 1.6!important; font-size: 13px!important;}
	.featherlight .featherlight-content.has-cap .featherlight-image {max-height: 500px!important; object-fit: cover;}
}
@media screen and (max-width : 1040px){
	body.template-front-page .site-content, body.single-attachment .site-content, body.full-width .site-content {padding: 40px 0; box-sizing: border-box;}
	.flex.rows {width: 100%; margin-left: 0;}

	#banner {height: 375px;}

	#people {padding: 0 100px;}

	.featherlight .featherlight-content .caption {max-height: 200px; overflow-y: scroll!important;}
	.entry-content .gallery br {display: none;}
}
@media screen and (max-width : 850px){
	.themonic-nav {display: none;}
	#main {display: block;}
	.site-content {padding: 30px 0;}
	.widget-area {width: 100%; margin: 0; padding: 0 0 30px;}

	#banner {height: 295px;}
	.home #banner {height: 500px;}

	a.b-box {height: 200px;}

	#photo-band {flex-flow: row wrap;}
	#photo-band > div {margin: 0; width: 33.33%; flex: auto;}

	#f-gal {padding: 0 2.5px;}
	#f-gal .gallery {flex-flow: row wrap;}
	#f-gal .gallery > dl.gallery-item {flex: auto; width: calc(33.33% - 5px); margin: 0 2.5px 5px;}

	#logos img {max-height: 35px;}

	.post-grid.proj-grid.flex.rows {display: block;}
	.post-grid.proj-grid.flex.rows a {width: 100%; margin: 0 0 30px!important;}

    .proj-grid.pg3 > a {width: calc(50% - 10px);}

    .pg-pers {width: calc(33.33% - 20px);}
}
@media screen and (max-width : 720px){
	.fbreak1 {display: block!important; margin-left: 0; width: 100%;}
	.flex.fbreak1.p1 > *, .flex.fbreak1.p2 > *, .flex.fbreak1.p3 > *,
	.flex.fbreak1.p4 > *, .flex.fbreak1.p5 > *, .flex.fbreak1.p6 > * {padding: 0;}
	.fbreak1 > * {width: 100%!important; margin: 0 0 15px!important;}
	.fbreak1 > *.m0, .fbreak1 .m0 ul:last-child {margin-bottom: 0!important;}
	.fbreak1 > :last-of-type {margin: 0!important;}
	.f4-break {flex-flow: row wrap;}
	.f4-break > * {width: 48%!important; flex: auto!important; margin: 0 1% 15px!important;}
	.f4-break > *:nth-last-child(-n+2) {margin-bottom: 0!important;}

	#person .p-img {width: 100%;}

	#logo img {width: 275px;}

	.home #banner {height: 400px;}

	#b-boxes {position: relative; bottom: auto; top: -100px; margin: 0 0 -100px;}

	.home #page-wrap {padding: 0 15px 35px;}

	#story .f0 {width: 195px;}

	.pg-side {padding: 20px 0 0;}

	.proj-gal .gallery > dl.gallery-item {flex: auto; flex-grow: 0; margin: 0 2.5px 5px!important;}

	#people {padding: 0 50px;}
	#people .p-person {min-width: 130px;}
	#people .p-name {font-size: 11px;}
}
@media screen and (max-width : 575px){
	.site-content {padding: 30px 0;}
	.single img.attachment-post-thumbnail {float: none!important; display: block; margin: 0 auto 15px!important; max-width: 100%;}
	.nav-single, .nav-single #ns-next {text-align: center;}
	.nav-single .ns-ib {display: inline;}
	.right, .left {float: none; display: block; margin: 0 auto 15px;}
	img.right, img.left {max-width: 100%;}
	.fbreak2 {display: block!important; margin-left: 0; width: 100%;}
	.flex.fbreak2.p1 > *, .flex.fbreak2.p2 > *, .flex.fbreak2.p3 > *,
	.flex.fbreak2.p4 > *, .flex.fbreak2.p5 > *, .flex.fbreak2.p6 > * {padding: 0;}
	.fbreak2 > * {width: 100%!important; margin: 0 0 15px!important;}
	.fbreak2 > *.m0, .fbreak2 .m0 ul:last-child {margin-bottom: 0!important;}
	.fbreak2 > :last-of-type {margin: 0!important;}
	.f4-break.fbreak2 > *:nth-last-child(2) {margin-bottom: 15px!important;}

	h1, .entry-content h1, .comment-content h1, h1.entry-title, .archive-title, .page-title, .entry-content > h2:first-child {font-size: 34px;}
	p.subhead {font-size: 18px;}

	#logo img {width: 250px;}

	#banner {height: 230px;}
	.home #banner {height: 350px;}
    .b-over h2 {font-size: 44px;}

	.home #page-wrap {padding: 0 15px 15px;}

	#photo-band > div {width: 50%;}

	#f-gal .gallery > dl.gallery-item {width: calc(50% - 5px);}

	#logos .flex > div {padding: 0 12px;}
	#logos img {max-height: 30px;}

	#people {padding: 0 20px;}
	#people .p-person {min-width: 100px;}

	.entry-content .gallery .gallery-item {width: calc(50% - 6px)!important;}

	.proj-grid.post-grid h2.pg-title {font-size: 18px; padding: 12px;}

    .pg-pers {width: calc(50% - 15px);}
    .pg-txt {font-size: 15px;}
}
@media screen and (max-width : 425px){
	.fbreak3 {display: block!important; margin-left: 0; width: 100%;}
	.fbreak3 > *, .fbreak3.f4-break > *:nth-last-child(2), .fbreak3.f4-break > *:nth-last-child {width: 100%!important; margin: 0 0 15px!important;}
	.fbreak3 > *.m0, .fbreak1 .m0 ul:last-child {margin-bottom: 0!important;}
	.fbreak3 > :last-of-type {margin: 0!important;}

	.home #banner {height: 310px;}
    .b-over h2 {font-size: 38px;}
	a.b-box {height: 165px;}
	a.b-box h3 {font-size: 16px;}

	#logos .flex > div {padding: 0 10px;}

	.proj-gal .gallery {width: 102%; margin: 0 0 0 -1%!important;}
	.proj-gal .gallery > dl.gallery-item {width: calc(50% - 5px)!important;}

	#gallery-1 .gallery-caption h4 {font-size: 12px;}

	.proj-grid.post-grid h2.pg-title {font-size: 16px;}
}/*
*/