/*

LOGO COLORS:

Orange: #d24627 || rgb(211,71,39)
    75%: #DD745D
    50%: #E8A293
    25%: #F9E8E4

Blue: #212c64 || rgb(34,45,100)
    75%: #59618B
    50%: #9095B1
    25%: #C7CAD8

SECONDARY COLORS:


Gold: #faa519 || rgb(250,166,26)
    75%: #FBBC53
    50%: #FCD28C
    25%: #FEE8C5


Light Blue: #5db3e4 || rgb(94,179,228)
    75%: #86C6EB
    50%: #AED9F1
    25%: #D6ECF8

Mocha: #ccc9bc || rgb(205,202,188)
    75%: #D9D7CD
    50%: #E5E4DD
    25%: #F2F1EE

Blue 2:  #0061aa || rgb: 0/97/170
    75%: #4089BF
    50%: #7FB0D4
    25%: #BFD7EA

Gray: #a7a7a9 || rgb(167,168,169)
    75%: #BDBDBF
    50%: #D3D3D4
    25%: #E9E9E9

Dark Teal: #056c7b || rgb(6,108,124)
    75%: #44919C
    50%: #82B5BD
    25%: #C0DADE

Light Teal: #42ada8 || rgb(66,174,169)
    75%: #71C2BE
    50%: #A0D6D3
    25%: #D0EAE9

*/

/***************************************************************************
        FONTS
/**************************************************************************/

/* Start with the basic settings */

body {
    font-family: 'Lato', sans-serif;
}

a:link, a:visited, a:hover, a:active, h1, h2, h3, h4, h5, h6, nav#site-navigation, .entry-meta span.entry-date, .entry-meta span.entry-author, body .breadcrumbs .current {
    font-family: 'Oswald', sans-serif;
}

/* Overrides */

/***************************************************************************
        END FONTS
/**************************************************************************/

a, a:visited {
    color: #d24627;
}

a:hover, a:active {
    color: #d24627;
}

@media screen and (min-width: 768px) {
    a[id] {
        position: absolute;
        height: 10px;
        width: 10px;
        top: -180px;
    }
}

@media screen and (min-width: 992px) {
    a[id] {
        top: -140px;
    }
}

.content-area h1, .content-area h2, .content-area h3, .content-area h4, .content-area h5, .content-area h6 {
    display: inline;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.6rem;
}

h3 {
    font-size: 1.4rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

h1, h2, h3 {
    color: #0061aa;
    position: relative;
}

h4, h5, h6 {
    color: #d24627;
}

h5, h6 {
    font-weight: 300;
}

h1.header-accent::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    border: 1px solid #faa519;
    width: 80px;
}

/* In order to work with the backend editor this CSS has moved to editor-style-shared.css */

/* a.btn-primary {
    background-color: #d24627;
    color: #fff;
    border: 1px solid #fff;
} */

a.btn-primary:hover {
    background-color: #fff;
    color: #d24627;
    border: 1px solid #d24627;
}

a.btn-secondary {
    background-color: #fff;
    color: #5db3e4;
    border: 1px solid #5db3e4;
}

a.btn-secondary:hover {
    background-color: #5db3e4;
    color: #fff;
    border: 1px solid #fff;
}

a.video-link {
    position: relative;
    display: block;
    margin: 0 auto;
    max-width: 480px;
}

a.video-link-16x9 {
    overflow: hidden;
}

a.video-link-16x9:after {
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    display: block;
    padding-bottom: 56.25%;
}

a.video-link-16x9 img {
    position: absolute;
    width: 100%;
    top: -17%;
}

a.fa.video-link:before, a.fab.video-link:before {
    left: 50%;
    top: 50%;
    position: absolute;
    font-size: 70px;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.content-area, .site-main {
    float: none;
    margin: 0;
    width: auto;
}

.container {
    width: 100%;
}

@media (min-width: 576px) {
    .container {
        max-width: none;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: none;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: none;
    }
}

@media screen and (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

header#masthead {
    background-color: #D6ECF8;
}

header#masthead .container {
    padding: 0;
}

header#masthead .top-cap {
    text-align: right;
    background-color: #0061aa;
    font-size: 20px;
}

header#masthead .top-cap .top-cap-phone {
    padding: 5px 0;
    padding-right: 25px;
    color: #fff;
}

.site-header {
    background-attachment: fixed;
    background-position: top center;
    background-size: cover;
    position: relative;
    overflow: initial;
    z-index: 10000;
}

@media screen and (min-width: 768px) {
    .site-header.sticky {
        position: fixed;
        width: 100%;
    }
}

/*
Horizontal logo contained in the teal bar
.site-branding {
    max-height: 200px;
    position: absolute;
    border-top: none;
}
.site-branding a.custom-logo-link {
    display: block;
    height: 62px;
    box-sizing: border-box;
    padding: 5px;
}
*/

.site-branding {
    height: 82px;
    margin: 4px 0 4px 1%;
    border-top: none;
    background-color: transparent;
    float: left;
}

@media screen and (min-width: 1200px) {
    .site-branding {
        margin-left: 0;
    }
}

.site-branding a.custom-logo-link {
    display: block;
    height: 100%;
    box-sizing: border-box;
    padding: 2px;
}

.site-branding img.custom-logo {
    max-height: 100%;
    width: auto;
}

nav#site-navigation {
    clear: none;
    display: block;
    float: right;
    width: 100%;
}

nav#site-navigation #mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
    padding: 10px;
    line-height: 25px;
}

@media screen and (min-width: 992px) {
    nav#site-navigation {
        display: flex;
        align-items: center;
        width: auto;
        height: 82px;
        margin: 4px 0;
    }
    nav#site-navigation ul.mega-menu>li:last-of-type>ul {
        right: 0 !important;
    }
}

nav#site-navigation .menu-primary-menu-container {
    display: inline-block;
    float: right;
}

ul#primary-menu {
    float: right;
}

/* ul#primary-menu > li a {
    padding: 30px 10px;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 15px;
}
ul#primary-menu ul.sub-menu li a {
    padding: 10px;
    background-color: #fff;
} */

body .site-main {
    margin: 0;
    padding-top: 20px;
}

body .breadcrumbs {
    font-size: .9rem;
    margin-top: 1rem;
}

body .breadcrumbs a {
    margin-top: 20px;
    color: #D6ECF8;
    /* Light Blue  25 */
    color: #AED9F1;
    /* Light Blue  50 */
    color: #86C6EB;
    /* Light Blue  75 */
    color: #5db3e4;
    /* Light Blue */
    color: #ccc9bc;
    /* Mocha */
}

body .breadcrumbs .current {
    color: #D6ECF8;
    /* Light Blue  25 */
    color: #AED9F1;
    /* Light Blue  50 */
    color: #86C6EB;
    /* Light Blue  75 */
    color: #5db3e4;
    /* Light Blue */
    /* color: #ccc9bc; /* Mocha */
}

body .site-main.has_hero_image {
    padding-top: 0;
}

body:not(.page-home) .site-main {
    padding-right: 3%;
}

body.home:not(.blog) .site-main {
    padding-top: 0;
}

.content-area section {
    padding: 40px 0;
}

section .container {}

#content {
    clear: both;
}

#content .entry-content {}

.entry-content iframe {
    margin: 0 auto;
    display: inherit;
    margin: 40px auto;
}

.entry-meta {
    padding: 6px 4px 2px 0;
}

.entry-meta span.entry-date, .entry-meta span.entry-author {
    color: #d24627;
    color: #0061aa;
}

.content-area svg {
    color: #5db3e4;
}

a.video-link svg {
    position: absolute;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
}

.service-icon svg, a.video-link svg {
    min-width: 100%;
    max-height: 90px;
    height: 8vw !important;
    min-height: 40px;
}

section.parallax {
    padding: 0;
    position: relative;
    text-align: center;
    overflow: hidden;
}

section.parallax img {
    object-fit: cover;
    object-position: 0% 20%;
    max-height: 100%;
}

section.parallax div.hero-content {
    padding: 10px;
    margin: 10px;
    display: block;
}
section.parallax div.hero-content h1 {
    padding-bottom: 1%;
    display: block;
}
@media screen and (min-width: 578px) {
    section.parallax div.hero-content {
        position: absolute;
        /* border: 1px solid red; */
        top: 50%;
        /* left: 50%; */
        /* transform: translate(-50%, -50%); */
        padding: 3%;
        width: 100%;

        text-align: center;
        transform: translateY(-50%);
        background-color: rgba(255, 255, 255, .8);
        left: 0;
        background-color: transparent;
    }
    section.parallax div.hero-content h1 {
        font-size: 3.5rem;
    }
    section.parallax div.hero-content a.btn {
        font-size: 1.5rem;
    }
    section.parallax.full-cover:before {
        content: '';
        position: absolute;
        height: 100%;
        width: 100%;
        top: 0;
        background-color: rgba(255, 255, 255, .7);
    }
}

@media screen and (min-width: 768px) {
    section.parallax {
        height: 50vw;
        max-height: 500px;
    }
}

section.share-this {
    padding: 0;
}

/*****************************************************************************************************/

section .section-header.full-width {
    width: 100%;
}

/*****************************************************************************************************/

section[class^="home-"] h1,
section[class^="home-"] h2,
section[class^="home-"] h3,
section[class^="home-"] h4,
section[class^="home-"] h5 {
    display: block;
    width: 100%;
}


section.home-intro {
    background-color: #ccc9bc;
}

section.home-intro .container {
    /* text-align: center; */
}

/*****************************************************************************************************/

section.home-services .container {
    text-align: center;
}

section.home-services .container svg path {
    fill: #5db3e4;
}

/*****************************************************************************************************/

/*
This is for the stylized doc poking up through the top of the section.
section.home-our-team {
    background-color: #ccc9bc;
    background-image: url('./images/bg-doktorka.jpg');
    padding-bottom: 0;
    margin-top: 2vw;
}
section.home-our-team .container .row {
}

section.home-our-team .container .doctor-image {
    max-height: 300px;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 120%;
    overflow: unset;
    width: 100%;
}
section.home-our-team .container .doctor-image img {
    height: 120%;
    position: absolute;
    bottom: 0;

    left: 50%;
    transform: translateX(-50%);
} */

section.home-our-team .container .doctor-image {
    display: inline-block;
    background-color: #fff;
    padding: 1rem;
    border: 1px solid #cdcdcd;
}

section.home-our-team .container .doctor-image img {
    border: 1px solid #dedede;
    padding: 5px;
}

/*****************************************************************************************************/

section.home-latest-news .container .row {
    padding: 10px 0 20px;
}

section.home-latest-news .container .row:last-of-type {
    overflow: hidden;
}

section.home-latest-news .timeline-section {
    position: relative;
}

section.home-latest-news .timeline-section h1 {
    line-height: .4;
}

section.home-latest-news .timeline-section header.entry-header {
    padding: 10px 0;
}

section.home-latest-news .post-date {
    font-weight: bold;
}

section.home-latest-news .post-img a {
    position: relative;
    display: block;
    text-align: center;
}

section.home-latest-news .post-img img {
    border-radius: 50%;
}

section.home-latest-news .post-content h1.entry-title a {
    color: #454545;
    font-size: 22px;
    font-weight: 400;
    line-height: 26px;
}

section.home-latest-news .post-content .entry-meta {
    font-style: italic;
}

section.home-latest-news .post-content .entry-excerpt {}

@media screen and (min-width: 576px) {
    section.home-latest-news .timeline-section .post-img:before {
        content: '';
        border-left: 1px solid #ccc9bc;
        position: absolute;
        height: 120%;
        left: 50%;
        top: 10%;
    }
    section.home-latest-news .post-wrap {
        padding: 20px 0;
    }
    section.home-latest-news .post-img a {
        top: 10%;
    }
}

section.home-videos {
    background-color: rgba(66, 174, 169, .25);
    /* light teal */
    background-color: rgba(6, 108, 124, .25);
    /* dark teal */
}

/* section.home-resources img.document-download {
    position: absolute;
    max-height: 140%;
    left: 50%;
    transform: translateX(-50%);
    top: -20%;
} */

.style-doc-background {
    display: inline-block;

    max-height: 100%;
    position: absolute;
	top: 15%;
    left: 50%;
    transform: translateX(-50%);
}

.style-doc-background img {
    border: 1px solid #eee;
    position: relative;
    /* max-width: 100%;
    max-height: 100%; */
    width: auto;
    z-index: 1;
    box-shadow: 4px 4px 8px #444;
    transform: rotate(5deg);

	display: block;
}

.style-doc-background:before, .style-doc-background:after {
    content: '';
    border: 1px solid #ddd;
    background-color: #eee;
    box-shadow: 4px 4px 8px #444;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.style-doc-background:before {
    transform: rotate(8deg);
}

.style-doc-background:after {
    transform: rotate(12deg);
}

/*****************************************************************************************************/

@media screen and (min-width: 450px) {
    body.archive a.post-thumbnail, body.blog a.post-thumbnail {
        float: right;
        max-width: 30%;
        margin: 0 0 3% 3%;
    }
    body.blog header.entry-header {
        float: left;
        max-width: 65%;
    }
    body.blog .entry-content {
        clear: left;
    }
}

.alignleft, .alignright {
    display: block;
    float: none;
    margin: .5rem auto 1rem;
}

@media screen and (min-width:800px) {
    .alignleft, .alignright {
        display: inline;
        margin: 1.5rem 1rem;
    }
    .alignleft {
        float: left;
    }
    .alignright {
        float: right;
    }
}

.wp-caption figcaption.wp-caption-text {
    font-size: 11px;
    margin: .5rem 0;
}

.entry-content>ol, .entry-content>ol>li .entry-content>ul, .entry-content>ul>li {
    margin: 0;
    padding: 0;
}

.entry-content>ol, .entry-content>ul {
    margin-left: .5rem;
    margin-top: -.75rem;
    margin-bottom: 1rem;
}

.entry-content>ol ol, .entry-content>ul ul {
    margin-left: 1.5rem;
    padding-left: 0;
}

.entry-content ul li {}

.related-content svg {
    padding-right: 5px;
}

.related-content svg path {
    fill: #d24627;
}

footer.entry-footer span {
    margin-right: 2%;
}

.related-content {
    border-top: 2px dotted;
    margin-top: 2.3em;
    padding-top: 1em;
}

.related-content h3 {
    margin-bottom: .5em;
}

.related-content .col {
    margin-bottom: 10px;
}

/*****************************************************************************************************
    TEMPLATES
/*****************************************************************************************************/

.container.hero-image-container {
    padding: 0;
}

.container.hero-image-container .hero-image-wrapper h1.entry-title {
    padding: 15px;
    padding-bottom: 0;
    margin-bottom: 0;
}

@media screen and (min-width: 768px) {
    .container.hero-image-container .hero-image-wrapper {
        max-height: 400px;
        overflow: hidden;
        position: relative;
    }
    .container.hero-image-container .hero-image-wrapper h1.entry-title {
        z-index: 1;
        position: absolute;
        right: 0%;
        bottom: 5%;
        font-size: 68px;
        background-color: rgba(255, 255, 255, .7);
        padding: 1% 7% 2% 2%;
    }
}

/*****************************************************************************************************
    LANDING PAGE
/*****************************************************************************************************/

body.page-template-page-template-landing-page .content-area {
    width: 100%;
}

body.page-template-page-template-landing-page .content-area .download-button {
	margin-bottom: 1em;
}

/*****************************************************************************************************
    END LANDING PAGE
/*****************************************************************************************************/

/*--------------------------------------------------------------
# Lightbox for Video
--------------------------------------------------------------*/

.featherlight.featherlight-iframe .featherlight-content {
    position: relative;
    overflow: hidden;
    width: 96%;
    max-width: 854px;
}

.featherlight.featherlight-iframe .featherlight-content:before {
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    display: block;
    padding-bottom: 56.25%;
}

.featherlight.featherlight-iframe .featherlight-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.lightbox-content-hidden {
    display: none;
}

/*--------------------------------------------------------------
# END: Lightbox
--------------------------------------------------------------*/

/*****************************************************************************************************/

#secondary {
    padding-top: 40px;
    float: none;
    width: auto;
}

#secondary .widget-title {
    color: #4f4f4f;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 1px dotted;
    margin-bottom: 5px;
    padding-bottom: 3px;
}

#secondary ul, #secondary ul li {
    margin: 0;
    padding: 0;
}

#secondary ul {
    list-style: none;
}

#secondary ul li {
    position: relative;
    padding-left: 15px;
    margin-left: 8px;
}

#secondary ul li::before {
    position: absolute;
    width: 12px;
    left: 0;
    /* This block works for the free version */
    font-family: "Font Awesome\ 5 Free";
    font-weight: 900;
    content: '\f105';
    /*content: '\f33b';*/
    /* Hook up FA to use these */
    /* */
    /*content: '\f03d';  Pro Video Light */
    /*font-weight: 900;*/
    /*font-weight: 400;*/
    /*font-weight: 300;*/
    /*font-family: "Font Awesome 5 Brands"; */
    /*font-family: "Font Awesome\ 5 Pro"; */
    /*font-family: "Font Awesome 5 Brands";*/
    /*content: "\f099";*/
    /*font-family: "Font Awesome\ 5 Pro"; */
    /*font-family: "Font Awesome 5 Pro"; */
    /*content: '\f33b';*/
    /*font-weight: 400;*/
    /*font-weight: 300;*/
    margin-right: 0.5em;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    /*
    margin-right: 0.5em;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    */
}

#secondary section.widget.widget_nav_menu ul#menu-quick-links {
    list-style: none;
}

#secondary section.widget.widget_nav_menu ul#menu-quick-links li {
    padding-left: 0;
    width: 80%;
}

#secondary section.widget.widget_nav_menu ul#menu-quick-links li::before {
    content: '';
}

#secondary section.widget.widget_nav_menu ul#menu-quick-links li a {
    text-align: center;
    background-color: #0061aa;
    color: #fff;
    width: 100%;
    display: block;
    margin: 10px 0;
    padding: 5px;
    border-radius: 4px;
}

#secondary section.widget.widget_nav_menu ul#menu-quick-links li a:hover {
    box-shadow: 1px 1px 9px #d24627;
}

#secondary svg {
    width: 33px !important;
    height: auto;
}

#secondary svg.fa-twitter-square {
    color: #1da1f2;
}

#secondary svg.fa-facebook-square {
    color: #3b5998;
}

#secondary svg.fa-youtube-square {
    color: #bb0000;
}
aside#secondary .content_block {
    border-bottom: 1px dotted #444;
    padding: 20px 0;
}
aside#secondary .content_block:first-of-type {
    padding-top: 0;
}
/*****************************************************************************************************/

footer.site-footer {
    background-color: #212c64;
    background-color: #0061aa;
    min-height: 200px;
    padding: 3% 0;
}

body:not(.home) footer.site-footer {
    margin-top: 3%;
}

footer.site-footer, footer.site-footer h1, footer.site-footer h2, footer.site-footer h3, footer.site-footer h4, footer.site-footer a {
    color: #fff;
}

footer.site-footer section.widget.widget_nav_menu ul, footer.site-footer section.widget.widget_nav_menu ul li {
    margin: 0;
    padding: 0
}

footer.site-footer section.widget.widget_nav_menu ul {
    list-style: none;
}

footer.site-footer ul.menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

footer.site-footer svg {
    width: 33px !important;
    height: auto;
}
