/*
    Theme Name: Sperling Starter
    Theme URI: https://www.sperlinginteractive.com
    Description: Sperling Interactive WordPress Starter Theme
    Version: 1.0
    Author: Sperling Interactive
  Theme URI: https://www.sperlinginteractive.com
*/

/*------------------------------------*\
    Example of Using Root Variable 
    :root {
        --blue: #0000FF          
    }
    .test-element {
        color: var(--blue)
    }
\*------------------------------------*/

:root {
    --black: #000;
    --white: #fff;
    --light-gray: #e6e9e3;
    --dark-gray: #9aa59e;
    --magenta: #ce418a;
    --violet: #a42c8b;
    --blue: #3564af;
    --dark-teal: #0d80aa;
    --teal: #0fb4be;
    --gold: #fbaf17;
    --orange: #f47920;
    --dark-orange: #f05a2b;
    --cinnamon: #c74526;
}

/* global box-sizing */
*,
*:after,
*:before {
    box-sizing: border-box;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* html element 62.5% font-size for REM use */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    color: #444;
    font: 300 1.6rem/1.4 'Noto Sans', sans-serif;
}

/* clear */
.clear:before,
.clear:after {
    content: ' ';
    display: table;
}

.clear:after {
    clear: both;
}

.clear {
    zoom: 1;
}

img {
    max-width: 100%;
    vertical-align: bottom;
    height: auto;
}

/* Lightspeed Lazy load fade in */
img[data-lazyloaded] {
    opacity: 0;
}

img.litespeed-loaded {
    -webkit-transition: opacity .5s linear 0.2s;
    -moz-transition: opacity .5s linear 0.2s;
    transition: opacity .5s linear 0.2s;
    opacity: 1;
}

a {
    text-decoration: none;
    color: var(--magenta);
}

a:hover {
    color: var(--cinnamon);
}

a:focus {
    outline: 0;
}

a:hover,
a:active {
    outline: 0;
}

input:focus {
    border: 1px solid #04A4CC;
    outline: 0;
}

p,
ul,
ol {
    font-size: 1.6rem;
}

h1 {
    font-size: 3.6rem;
}

h2 {
    font-size: 3.2rem;
}

h3 {
    font-size: 2.8rem;
}

h4 {
    font-size: 2.4rem;
}

h5 {
    font-size: 2.0rem;
}

h6 {
    font-size: 1.6rem;
}

blockquote {
    margin: 25px 0;
    padding: 25px 0 25px 5vw;
    font-style: italic;
    border-top: 1px solid;
    border-bottom: 1px solid;
    font-weight: 700;
}

/* ---- Font Weight ---- */
.thin{
    font-weight: 100;
}

.extra-light{
    font-weight: 200;
}

.light{
    font-weight: 300;
}

.regular{
    font-weight: 400;
}

.medium{
    font-weight: 500;
}

.semibold{
    font-weight: 600;
}

.bold{
    font-weight: 700;
}

.extrabold{
    font-weight: 800;
}

.black{
    font-weight: 900;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/
/* wrapper */
.wrapper {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    width: 100%;
    max-width: 2560px;
}

.container {
    max-width:1280px; 
    align-self: center;
    flex: 1 auto;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    padding: 0 20px;
}

/* header */
.header {
    background-color: #fff;
    /* border-top: 15px solid var(--orange); */
    box-shadow: 0px 3px 6px rgba(0,0,0,0.19);
    position: relative;
}

.header-inner{
    max-width:1920px; 
    align-self: center;
    flex: 1 auto;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    padding: 20px 10px;
    position: relative;
}

.logo-img {
    backface-visibility: hidden;
    height: 80px;
}

/* nav */
.nav {}

/* Responsive Menu */
#responsive-menu-pro-wrapper{
    padding: 120px 5% 10% 5% !important;
}

#responsive-menu-pro-container li.responsive-menu-pro-item:first-child a{
    border-top: 0 !important;
}

#responsive-menu-pro-container li.responsive-menu-pro-item:last-child a{
    border-bottom: 0 !important;
}

#responsive-menu-pro-container #responsive-menu-pro li.responsive-menu-pro-item a{
    padding-left: 0 !important;
    font-weight: 700;
}

#responsive-menu-pro-container #responsive-menu-pro-wrapper{
    margin-top: 15px !important;
    box-shadow: 0px 3px 6px rgba(0,0,0,0.19);
}

#responsive-menu-pro-container #responsive-menu-pro ul.responsive-menu-pro-submenu li.responsive-menu-pro-item .responsive-menu-pro-item-link{
    font-weight: 500;
}

/* sidebar */
.sidebar {}

/* footer */
.footer {
    background: var(--light-gray);
    padding: 50px 0;
}

.footer a{
    color: #444;
    transition: ease-in .3s;
}

.footer a:hover{
    color: var(--magenta);
}

.footer p{
    margin-top: 0;
}

.footer p.footer-label{
    color: var(--violet);
    margin-bottom: 0;
}

.footer .socials a{
    font-size: 3.5rem;
    color: var(--dark-gray);
    transition: ease-in .3s;
    margin-right: 3px;
}

.footer .socials a:hover{
    color: var(--magenta);
}

.pagination {
    font-size: 1.6rem;
}

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    height: auto;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/*------------------------------------*\
    PAGES
\*------------------------------------*/

/* HOMEPAGE */
.homepage-blocks .columns{
    margin-left: -1px;
    margin-right: -1px;
}

.homepage-blocks .columns .column{
    padding: 1px !important;
}

.per-block{
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-blend-mode: multiply;
    min-height: 400px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin: 0 1px 2px 1px; */
}

.per-block h2{
    color: var(--light-gray);
    font-weight: 300;
    text-align: center;
    transition: ease-in .3s;
    padding: 0 10%;
}

.per-block:hover h2{
    font-weight: 400;
}

.per-block.page-title{
    min-height: auto;
    color: #fff;
    text-align: center;
    margin-bottom: 2px;
    background-color: var(--blue);
}

.per-block.block-1{
    background-color: var(--magenta);
}

.per-block.block-2{
    height: 100%;
    background-color: var(--orange);
}

.per-block.block-3{
    height: 100%;
    background-color: var(--teal);
}

.per-block.block-4{
    background-color: var(--dark-teal);
}

.per-block.block-5{
    height: 100%;
    background-color: var(--violet);
}

.per-block.block-6{
    height: 100%;
    background-color: var(--cinnamon);
}

/* SERVICES TEMPLATE */
.services-header{
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-color: var(--dark-teal);
    background-blend-mode: multiply;
}

.services-header h1{
    color: var(--white);
}

.gallery{
    list-style-type: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery li{
    margin: 15px 0;
    padding: 0 15px;
}

/*------------------------------------*\
    IMAGES
\*------------------------------------*/


/*------------------------------------*\
    ACF GOOGLE MAP
\*------------------------------------*/

.acf-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
    max-height: 600px;
    border: #ccc solid 1px;
    margin: 20px 0;
  }

   /* Fixes potential theme css conflict. */
  .acf-map img {
   max-width: inherit !important;
  }


  .services-main-content .content-box h2 {
    color: var(--violet);
  }


  .admin-bar button#responsive-menu-pro-button {
    top:32px;
  }

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/
@media only screen and (min-width:320px) {}

@media only screen and (min-width:480px) {
    .logo-img{
        height: 80px;
    }
}

@media only screen and (min-width:769px) {
    .socials{
        text-align: right;
    }

    .is-reversed{
        flex-flow: row-reverse;
    }

    .gallery{
        display: block;
    }

    .header-inner{
        padding: 5px 25px;
    }
}

@media only screen and (min-width:1024px) {}

@media only screen and (min-width:1140px) {}

@media only screen and (min-width:1280px) {}

/*------------------------------------*\
    MISC
\*------------------------------------*/
::selection {
    background: #04A4CC;
    color: #FFF;
    text-shadow: none;
}

::-webkit-selection {
    background: #04A4CC;
    color: #FFF;
    text-shadow: none;
}

::-moz-selection {
    background: #04A4CC;
    color: #FFF;
    text-shadow: none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #FFF;
    border: 1px solid #F0F0F0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption .wp-caption-text,
.gallery-caption {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.sticky {}

.bypostauthor {}

/*------------------------------------*\
    PRINT
\*------------------------------------*/
@media print {
    * {
        background: transparent !important;
        box-shadow: none !important;
        color: #000 !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " ("attr(href) ")";
    }

    abbr[title]:after {
        content: " ("attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }

    .nav,
    .sidebar,
    .home-slider,
    #respond {
        display: none;
    }

    @page {
        margin: 2cm;
    }
}

.notification-banner {
    padding: 10px 0;
    font-size: 16px;
    text-align: center;
}

.notification-banner p {
    margin: 0;
}
