/*
    Theme Name: BFJ Skeleton
    Author: Brenton Oliver
    Description: BFJ Media skeleton.
    Version: 1.0
*/


/* Global*/
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%;font:inherit;vertical-align:baseline}body{line-height:1}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{-webkit-appearance:none;appearance:none;border-radius:0}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}.screen-reader-text{clip:rect(1px, 1px, 1px, 1px);position:absolute !important}

.floating-search {
    display: none;
}

a{
    color: #0a0a2c;
}
a:hover{
    text-decoration: none;
}
.page-container{
    width: 100%;
    max-width: 1440px;
    padding: 0 25px;
    margin-left: auto !important;
    margin-right: auto !important;
}
html, body {
    height: 100%;
}

h1,h2,h3,h4,h5,h6{
	font-family: 'Playfair Display', serif;
}

h1 {
  display: block;
  font-size: 2.5em;
  margin-top: 0.67em;
  margin-bottom: 0.67em;
  margin-left: 0;
  margin-right: 0;
}

h2 {
  display: block;
  font-size: 2em;
  margin-top: 0.83em;
  margin-bottom: 0.83em;
  margin-left: 0;
  margin-right: 0;
}

h3 {
  display: block;
  font-size: 1.67em;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 0;
  margin-right: 0;
}

h4 {
  display: block;
  font-size: 1.5em;
  margin-top: 1.33em;
  margin-bottom: 1.33em;
  margin-left: 0;
  margin-right: 0;
}

h5 {
  display: block;
  font-size: 1.33em;
  margin-top: 1.67em;
  margin-bottom: 1.67em;
  margin-left: 0;
  margin-right: 0;
}

h6 {
  display: block;
  font-size: 1.17em;
  margin-top: 2.33em;
  margin-bottom: 2.33em;
  margin-left: 0;
  margin-right: 0;
}

body {
    display: flex;
    flex-direction: column;
	font-family: 'Roboto', sans-serif;
}

.navbar-row {
	font-family: 'Roboto', sans-serif !important;
}
@media (max-width: 600px) {
	.wp-block-media-text {
		display: block;
	}
}

/* Mobile Global */
.mobile-wrap{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.mobile-wrap .logo{
    margin-right: auto;;
}




#content {
    flex: 1 0 auto;
    padding: 20px 0;
}
#content p{
    display: block;
  	margin-top: 1em;
  	margin-bottom: 1em;
  	margin-left: 0;
	margin-right: 0;
	line-height: 1.5em;
}
article{
    padding: 20px 0;
}
footer {
    flex-shrink: 0;
    padding-top: 20px;
    padding-bottom: 20px;
    background: #449ff4;
}
img.loading{
    display: block;
    margin: 50px auto;
}
input:focus,
textarea:focus,
select:focus{
    outline: none;
}
.fit-content{
    max-width: intrinsic;           /* Safari/WebKit uses a non-standard name */
    max-width: -moz-max-content;    /* Firefox/Gecko */
    max-width: -webkit-max-content; /* Chrome */
}
@media (min-width: 768px){
    .fit-sm-content{
        max-width: intrinsic;           /* Safari/WebKit uses a non-standard name */
        max-width: -moz-max-content;    /* Firefox/Gecko */
        max-width: -webkit-max-content; /* Chrome */
    }
}


/* Fade-in Fade-out Animation */
#fader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    pointer-events: none;
    background: white;
    animation-duration: 300ms;
    animation-timing-function: ease-in-out;
}
@keyframes fade-out {
    from { opacity: 1 }
      to { opacity: 0 }
}
@keyframes fade-in {
    from { opacity: 0 }
      to { opacity: 1 }
}
#fader.fade-out {
    opacity: 0;
    animation-name: fade-out;
}
#fader.fade-in {
    opacity: 1;
    animation-name: fade-in;
}


/* Header */
header {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 10;
    background-color: #005cb5;
    padding: 10px 0;
}
body.admin-bar header{
    top: 32px;
}
header a.logo img{
    max-height: 100px;
	max-width: 350px;
}
header nav ul.menu{
    margin-bottom: 0;
}
header nav .menu li{
    display: inline-flex;
    padding: 5px 20px;
}
header a.logo,
header nav,
header .phone{
    display: inline-block;
    vertical-align: middle;
	color: white;
}

header .phone{
	padding: 14px 16px;
}

header .sub-menu{
    position: absolute;
    top: 20px;
    left: 0;
    /* background-color: #eeeeee;*/
    padding: 5px;
    display: none;
}
header li:hover .sub-menu{
    display: block;
}
header .sub-menu li{
    display: block;
}

.navbar-row {
    background-color: #005cb5 !important;
}

a.menu-item {
    color: white !important;
}

.wp-block-media-text {
    min-height: 500px;
}

@media (min-width: 768px){
    header .sub-menu{
        position: absolute;
        top: 103px;
        display: block;
    }
}

@media (max-width: 768px) {
	header a.logo img {
    max-height: 100px;
    max-width: 150px;
}
}

@media (max-width: 768px) {
.header-banner h1 {
    font-size: 2.5em !important;
}
}

@media (max-width: 768px) {
.header-banner {
    position: relative;
    min-height: 250px !important;
}
}


#mobile-menu ul.menu > li {
    padding: 2vh 2vw;
    font-size: 25px;
    text-transform: uppercase;
}
#mobile-menu ul.menu > li {
    font-weight: bold;
    text-decoration: uppercase;
}
#mobile-menu ul.menu > li.menu-item-has-children > a:after{
    font-family: "Font Awesome 5 Free";
    content: '\f105';
    position: absolute;
    padding-left: 20px;
}
#mobile-burger {
    /* width: 60px; */
    width: 30px;
    /* height: 45px; */
    height: 20px;
    position: relative;
    /* margin: 50px auto; */
    margin: 0 0 0 10px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}
#mobile-burger span {
    display: block;
    position: absolute;
    /* height: 9px; */
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}
#mobile-burger span:nth-child(1) {
    top: 0px;
}
#mobile-burger span:nth-child(2),#mobile-burger span:nth-child(3) {
    top: 10px;
}
#mobile-burger span:nth-child(4) {
    top: 20px;
}
#mobile-burger.open span:nth-child(1) {
    top: 18px;
    width: 0%;
    left: 50%;
}
#mobile-burger.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}
#mobile-burger.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
#mobile-burger.open span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
}





/* Header Banner */
.header-banner{
    position: relative;
    /* height: calc(100vh - 104px); */
    min-height: 250px;
}
.header-banner:before{
    content: '';
    background-color: rgb(0,0,0,0.7);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
}
.header-banner img{
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
}
.header-banner h1{
    font-size: 60px;
    color: #ffffff;
	text-align: center;
}

.header-banner h3 {
    color: white;
    text-align: center;
    font-size: 30px;
}



/* Post - Single */
.card .card-img-top{
    height: auto;
}





/* Page - Default Template */
/* body #content p:last-child{
    margin-bottom: 0;
} */






/* Footer */
footer a {
	color: white;
}

footer a:hover{
	color: #005cb5;
}

footer img.logo{
    max-width: 200px;
    max-height: 200px;
	padding-bottom: 10px;
}
footer .social-wrapper a.social{
    margin: 10px;
    font-size: 25px;
    line-height: 1;
}
footer #copyright{
    max-width: 300px;
    margin: 10px auto;
	color: white;
}

footer li {
    padding: 8px 0px;
}

footer p {
    padding: 8px 0px !important;
    color: white;
}

div#footer-phone, div#footer-email {
    padding: 8px 0px;
}

.wp-block-column {
    margin-bottom: 20px;
}