html.responsive {
    background: transparent;
}

html.wf-loading * {
    opacity: 0;
}

.page-template-page-flexible-content .avia-menu.av_menu_icon_beside {
    border: 0;
    padding: 0;
    margin: 0;
}

.html_header_top.html_header_sticky.html_large .page-template-page-flexible-content #main {
    padding-top: 65px;
}

@media (min-width: 1200px) {
    .html_header_top.html_header_sticky.html_large .page-template-page-flexible-content #main {
        padding-top: 116px;
    }
}

@media (max-width: 767px) {
    .responsive #top.page-template-page-flexible-content #main {
        padding-top: 120px !important;
    }
}

#top.page-template-page-flexible-content a.header-logo {
    display: block;
    line-height: 1em;
}

#top.page-template-page-flexible-content a {
    text-decoration: none;
}



#top.page-template-page-flexible-content:not(.home) .new-home a:not(.btn) {
    position: relative;
    color: #289FB2;
    font-weight: 700;
    width: calc(100%);
    background-image: linear-gradient(transparent calc(100% - 2px), #289FB2 2px);
    background-repeat: no-repeat;
    background-size: 0% 100%;
    transition: background-size .5s;
}

#top.page-template-page-flexible-content:not(.home) .new-home .bg-dark-blue a:not(.btn),
#top.page-template-page-flexible-content:not(.home) .new-home .bg-gradient a:not(.btn),
#top.page-template-page-flexible-content:not(.home) .new-home .bg-dark a:not(.btn) {
    color: #fff;
    background-image: linear-gradient(transparent calc(100% - 2px), #fff 2px);
}

#top.page-template-page-flexible-content:not(.home) .new-home a:not(.btn):hover {
  background-size: 100% 100%;
}

#top.page-template-page-flexible-content:not(.home) .custom-header__container:after {
    display: none;
}

.custom-header {
    background-color: #fff;
    border-bottom: 1px solid #e4e4e4;
    position: fixed;
    width: 100%;
    z-index: 999;
    top: 0;
}

@media (max-width: 1199px) {
    #top.page-template-page-flexible-content .container {
        padding-inline: 22px;
    }
}

@media (min-width: 1200px) {
    .custom-header {
        top: auto;
    }
}

.header-logo {
    display: inline-block;
}

.custom-header__navigation ul {
    margin: 0;
}

.custom-header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-header__navigation #menu-main-menu {
    display: none;
}

@media (max-width: 1199px) {
    .custom-header__navigation #menu-main-menu {
        position: fixed;
        width: 100%;
        left: 0;
        top: 95px;
        background-color: #fff;
        max-height: calc(100% - 95px);
        overflow: scroll;
    }
}

@media (max-width: 767px) {
    .custom-header__navigation #menu-main-menu {
        max-height: calc(100% - 88px);
        overflow: scroll;
     }
}

.custom-header__navigation .header-social__link {
    width: 15px;
    display: inline-block;
}

.custom-header__navigation .header-social__link svg {
    width: 100%;
    height: auto;
}

.custom-header__navigation {
    display: flex;
    align-items: center;
}

.header-menu {
    width: 39px;
    height: 26px;
    position: relative;
    margin-right: 40px;
    cursor: pointer;
}

.header-menu span {
    display: block;
    position: absolute;
    width: 100%;
    height: 4px;
    left: 0;
    background-color: #063E51;
    transform: rotate(0deg);
    transition: top 0.25s ease-in-out,
                bottom 0.25s ease-in-out,
                left 0.25s ease-in-out,
                opacity 0.25s ease-in-out,
                transform 0.25s ease-in-out;
}

.header-menu span:first-child {
    top: 0;
    transform-origin: top left;
}

.header-menu span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.header-menu span:last-child {
    bottom: 0;
    transform-origin: top right;
}

.header-menu.is-active span:first-child {
    transform: rotate(45deg);
    left: 5px;
    top: -2px;
}

.header-menu.is-active span:nth-child(2) {
    opacity: 0;
    left: -6px;
}

.header-menu.is-active span:last-child {
    transform: rotate(-45deg);
    bottom: 25px;
    left: -8px;
}

.header-buttons {
    margin-right: 40px;
}

.header-buttons .popup-contact > a {
    border: 2px solid #289FB2 !important;
    color: #289FB2;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.2em;
    font-weight: bold;
    background: transparent;
    display: block;
    text-transform: uppercase;
    transition: background 0.25s ease-in-out,
                color 0.25s ease-in-out;
}

.header-logo {
    max-width: 118px;
}

.custom-header__navigation .header-social {
    display: none;
}

@media (min-width: 768px) {
    .header-logo {
        max-width: 204px;
    }

    .custom-header__navigation .header-social {
        display: flex;
    }

    .custom-header__navigation .header-social > li:not(:last-child) {
        margin-right: 15px;
    }
}

@media (min-width: 1200px) {
    .header-menu {
        display: none;
    }

    .header-buttons {
        display: none;
    }

    .custom-header__navigation #menu-main-menu {
        display: flex !important;
    }

    .custom-header__navigation li.menu-item-has-children {
        position: relative;
    }

    .custom-header__navigation li.menu-item-has-children:hover > ul.sub-menu {
        opacity: 1;
        /* transform: translateY(0); */
        pointer-events: auto;
    }

    .custom-header__navigation ul {
        display: flex;
        align-items: center;
    }

    .custom-header__navigation ul.header-social {
        margin-left: 30px;
    }

    .page-template-page-flexible-content .av-main-nav > li {
        line-height: 1.2em;
    }

    .custom-header__navigation > ul:not(.header-social) > li:not(:last-child) {
        margin-right: 25px;
    }

    .custom-header__navigation > ul.header-social > li:not(:last-child) {
        margin-right: 15px;
    }
    
    .custom-header__navigation ul:not(.header-social) > li > a {
        height: auto;
        line-height: 1.2em;
        font-size: 16px;
        color: #063E51;
        font-weight: bold;
    }

    .custom-header__navigation ul:not(.header-social) > li:hover > a {
        color: #FF244C;
    }

    .custom-header__navigation > ul:not(.header-social) > li:not(.popup-contact) > a {
        padding-block: 52px;
        text-transform: uppercase;
        display: inline-block;
    }

    .custom-header__navigation > ul:not(.header-social) > li.popup-contact {
        margin-left: 40px;
        padding-block: 30px;
    }

    .custom-header__navigation > ul:not(.header-social) > li.popup-contact > a {
        border: 2px solid #289FB2 !important;
        color: #289FB2;
        padding: 20px 40px;
        border-radius: 4px;
        background: transparent;
        display: block;
        text-transform: uppercase;
        transition: background 0.25s ease-in-out,
                    color 0.25s ease-in-out;
    }

    .custom-header__navigation > ul:not(.header-social) > li.popup-contact > a:hover {
        background: #289FB2;
        color: #fff;
    }

    .custom-header__navigation .header-social__link {
        width: 23px;
        display: inline-block;
    }

    .custom-header__navigation ul.sub-menu {
        position: absolute;
        top: 100%;
        left: -20px;
        right: 0;
        margin: 0 auto;
        display: block;
        width: 300px;
        /* border: 1px solid #ccc; */
        border-top: 4px solid #FF244C;
        background: linear-gradient(#fff 0%, #eefafb 100%);
        pointer-events: none;
        opacity: 0;
        box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.15);
        /* transform: translateY(50px); */
        transition: opacity 0.3s ease-in-out;
    }

    .custom-header__navigation ul.sub-menu {
        margin: 0;
    }

    .custom-header__navigation ul.sub-menu li {
        display: block;
        margin: 0;
    }

    .custom-header__navigation ul.sub-menu > li > a {
        display: block;
        width: 100%;
        padding: 15px 20px;
        box-shadow: inset 0 0 #FF244C;
        transition: box-shadow 0.3s ease-in-out,
                    color 0.3s ease-in-out;
        white-space: nowrap;
    }

    .custom-header__navigation ul.sub-menu > li > a:hover {
        box-shadow: inset 0 -100px #FF244C;
        color: #fff;
    }
    
    .custom-header__navigation ul.sub-menu:before {
        content: "";
        position: absolute;
        bottom: calc(100% + 0px);
        left: 27px;
        display: block;
        width: 0px;
        height: 0px;
        border-style: solid;
        border-width: 0 12.5px 15px 12.5px;
        border-color: transparent transparent #FF244C transparent;
        transform: rotate(0deg);
        box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.15);
    }

    #top.page-template-page-flexible-content nav .social_bookmarks {
        position: relative;
        top: 0;
        margin-top: 0;
        margin-left: 30px;
    }

    #top.page-template-page-flexible-content .av-logo-container .social_bookmarks li a {
        font-size: 30px;
        color: #289FB2;
    }

    #top.page-template-page-flexible-content .av-logo-container .social_bookmarks li:not(:last-child) {
        margin-right: 15px;
    }
    
    .page-template-page-flexible-content #header_main .main_menu {
        height: auto;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .page-template-page-flexible-content #header_main .av-main-nav {
        position: relative;
        float: none;
        display: flex;
    }

    .page-template-page-flexible-content #header_main .av-main-nav > li {
        float: none;
    }
    
    .page-template-page-flexible-content #header_main .inner-container {
        display: flex;
        align-items: center;
    }

    .page-template-page-flexible-content .inner-container .logo,
    .page-template-page-flexible-content .inner-container .main_menu {
        position: relative;
    }


    #top.page-template-page-flexible-content .responsive .container {
        max-width: calc(1256px + 100px);
    }

    #top.page-template-page-flexible-content #header_main .container {
        height: auto;
        line-height: 1.2em
    }

    .header-logo {
        max-width: 200px;
    }
}

@media (min-width: 1400px) {
    .header-logo {
        max-width: 287px;
    }

    #top.page-template-page-flexible-content #header_main .main_menu ul:first-child > li.popup-contact {
        margin-left: 80px;
    }
}

.page-footer {
    background: linear-gradient(#063e51 0%, #289fb2 100%);
    padding: 78px 0;
}

@media (min-width: 990px) {
    .page-footer__container {
        display: flex;
        justify-content: space-between;
    }
}

.page-template-page-flexible-content .page-footer .page-footer__container:before,
.page-template-page-flexible-content .page-footer .page-footer__container:after {
    display: none;
}

.footer-logo {
    width: 170px;
}

.footer-logo__image {
    display: block;
    text-decoration: none;
    border: 0;
}

.footer-logo__image img {
    width: 100%;
    height: auto;
}

.page-footer__bottom {
    text-align: center;
    padding: 10px 0;
    background-color: #1F8699;
}

.page-footer__bottom p {
    margin: 0;
    color: #fff;
}

.footer-logo__right a,
.footer-logo__right p {
    color: #fff;
    margin: 0;
    font-size: 16px;
    text-decoration: none;
}

.footer-logo__right p {
    line-height: 1.6em;
}

.footer-logo__right p a {
    font-weight: bold;
}

.footer-logo__right p strong {
    display: block;
    margin-bottom: 18px;
}

.footer-logo__right {
    display: flex;
}

.footer-logo__right ul {
    margin: 0;
    margin-right: 80px;
}

.footer-logo__right ul li:not(:last-child) {
    margin-bottom: 18px;
}

@media (min-width: 1200px) {
    .footer-logo__right a {
        transition: box-shadow 0.25s ease-in-out;
        box-shadow: inset 0 0 #fff;
        padding-block: 2px;
    }

    .footer-logo__right a:hover {
        box-shadow: inset 0 -1px #fff;
    }

    .footer-logo__right a,
    .footer-logo__right p {
        font-size: 18px;
    }
}

.footer-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    line-height: 1;
}

.footer-icon svg {
    height: 22px;
    width: auto;
}

.header-link__icon {
    display: none;
}

@media (min-width: 1200px) {
    .custom-header__navigation ul.sub-menu {
        display: block !important;
    }
}

@media (max-width: 1199px) {
    .custom-header__navigation > ul.menu > li {
        background-color: #fff;
        border-radius: 10px;
        overflow: hidden;
        position: relative;
    }

    .custom-header__navigation > ul.menu > li:not(:last-child) {
        margin-bottom: 15px;
    }

    .custom-header__navigation > ul.menu > li > a {
        display: block;
        width: 100%;
        padding: 15px 20px;
        font-size: 18px;
        text-transform: uppercase;
        font-weight: bold;
        color: #063E51;
    }

    .custom-header__navigation #menu-main-menu {
        background-color: #063E51;
        padding: 30px 20px;
    }

    .custom-header__navigation ul li {
        margin-bottom: 0;
    }

    .custom-header__navigation ul.sub-menu {
        background-color: #EEF0F7;
        display: none;
    }

    .custom-header__navigation ul.sub-menu > li > a {
        display: block;
        font-size: 16px;
        font-weight: bold;
        color: #063E51;
        display: block;
        padding: 10px 20px;
    }

    .custom-header__navigation ul.sub-menu > li {
        margin-bottom: 0;
    }

    .header-link__icon {
        display: block;
        position: absolute;
        width: 55px;
        height: 55px;
        top: 0;
        right: 0;
        border-radius: 0;
        cursor: pointer;
        transform: rotate(0deg);
        -webkit-tap-highlight-color: transparent;
        transition: transform 0.3s ease-in-out,
                    top 0.25s ease-in-out;
    }

    .menu-item-is-active > .header-link__icon {
        transform: rotate(180deg);
    }

    .header-link__icon:before {
        z-index: 1;
        content: "";
        display: block;
        position: absolute;
        top: calc(50% - 2px);
        transform: translateY(-50%) rotate(45deg);
        left: 0;
        right: 0;
        margin: 0 auto;
        width: 8px;
        height: 8px;
        border: 2px solid #fff;
        border-top: 0;
        border-left: 0;
    }

    .header-link__icon:after {
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 0;
        right: 0;
        margin: 0 auto;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #1b7d8c;
    }

    .responsive #top #wrap_all .page-footer .container {
        display: flex;
        flex-direction: column-reverse;
    }

    .footer-logo {
        margin: 50px auto 0;
        display: block;
    }

    .footer-logo__right ul:last-child {
        margin: 0;
    }
}

@media (max-width: 767px) {
    .custom-header__navigation > ul.menu > li > a {
        font-size: 16px;
    }

    .header-buttons {
        display: none;
    }

    .header-menu {
        margin-right: 0;
    }

    .header-logo {
        max-width: 188px;
    }

    .custom-header__navigation #menu-main-menu {
        top: 88px;
    }

    .responsive #top #wrap_all .page-footer .container {
        display: flex;
        flex-direction: column-reverse;
    }

    .page-footer {
        padding-block: 50px;
    }

    .footer-logo {
        margin: 50px auto 0;
    }

    .footer-logo__right {
        display: block;
        text-align: center;
    }

    .footer-logo__right ul {
        margin: 0;
    }

    .footer-logo__right ul:last-child {
        text-align: left;
    }

    .footer-logo__right ul li:not(:last-child) {
        margin-bottom: 14px;
    }

    .footer-logo__right ul:not(:last-child) {
        margin-bottom: 50px;
    }

    .responsive #top #wrap_all .page-footer .container {
        width: 100%;
        max-width: 300px;
        padding-inline: 30px;
    }
}







/* Flexible Content Styles */

#top.page-template-page-flexible-content .bg-white {
    background-color: #fff;
}

#top.page-template-page-flexible-content .bg-light-gray {
    background-color: #FAFAFA;
}

#top.page-template-page-flexible-content .bg-pink {
    background: #fdf5f7;
}

#top.page-template-page-flexible-content .bg-dark-blue {
    background: #063E51;
}

#top.page-template-page-flexible-content .bg-gradient {
    background: linear-gradient(#ff244c 0%, #289fb2 100%);
}


#top.page-template-page-flexible-content:not(.home) h1,
#top.page-template-page-flexible-content:not(.home) .h1,
#top.page-template-page-flexible-content:not(.home) h2,
#top.page-template-page-flexible-content:not(.home) .h2,
#top.page-template-page-flexible-content:not(.home) h3,
#top.page-template-page-flexible-content:not(.home) .h3,
#top.page-template-page-flexible-content:not(.home) h4,
#top.page-template-page-flexible-content:not(.home) .h4 {
    color: #063E51;
}

#top.page-template-page-flexible-content:not(.home) h5,
#top.page-template-page-flexible-content:not(.home) .h5 {
    font-size: 20px;
    letter-spacing: 0.3em;
    color: #289FB2;
    margin-bottom: 8px;
    text-transform: uppercase !important;
}

#top.page-template-page-flexible-content:not(.home) h4,
#top.page-template-page-flexible-content:not(.home) .h4 {
    text-transform: initial !important;
    letter-spacing: 0;
}

#top.page-template-page-flexible-content:not(.home) h2, 
#top.page-template-page-flexible-content:not(.home) .h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

#top.page-template-page-flexible-content:not(.home) h3,
#top.page-template-page-flexible-content:not(.home) .h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

#top.page-template-page-flexible-content:not(.home) h4, 
#top.page-template-page-flexible-content:not(.home) .h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    #top.page-template-page-flexible-content:not(.home) h2, 
    #top.page-template-page-flexible-content:not(.home) .h2 {
        font-size: 42px;
        margin-bottom: 20px;
    }

    #top.page-template-page-flexible-content:not(.home) h3,
    #top.page-template-page-flexible-content:not(.home) .h3 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    #top.page-template-page-flexible-content:not(.home) h4, 
    #top.page-template-page-flexible-content:not(.home) .h4 {
        font-size: 24px;
        margin-bottom: 20px;
    }
}

@media (min-width: 1200px) {
    #top.page-template-page-flexible-content:not(.home) h2, 
    #top.page-template-page-flexible-content:not(.home) .h2 {
        font-size: 50px;
        margin-bottom: 20px;
    }

    #top.page-template-page-flexible-content:not(.home) h3,
    #top.page-template-page-flexible-content:not(.home) .h3 {
        font-size: 40px;
        margin-bottom: 20px;
    }

    #top.page-template-page-flexible-content:not(.home) h4, 
    #top.page-template-page-flexible-content:not(.home) .h4 {
        font-size: 32px;
        margin-bottom: 20px;
    }
}

#top.page-template-page-flexible-content:not(.home) .bg-gradient :where(h1, h2, h3, h4, h5, h6, p, li),
#top.page-template-page-flexible-content:not(.home) .bg-dark-blue :where(h1, h2, h3, h4, h5, h6, p, li) {
    color: #fff;
}

#top.page-template-page-flexible-content:not(.home) p {
    margin-top: 0;
}

#top.page-template-page-flexible-content p:last-child {
    margin-bottom: 0;
}

#top.page-template-page-flexible-content:not(.home) #main .wysiwyg ul,
#top.page-template-page-flexible-content:not(.home) #main .wysiwyg__content ul {
    margin-left: 24px;
}

#top.page-template-page-flexible-content:not(.home) #main .wysiwyg ul li,
#top.page-template-page-flexible-content:not(.home) #main .wysiwyg__content ul li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
}

#top.page-template-page-flexible-content:not(.home) #main .wysiwyg__container ul li:before,
#top.page-template-page-flexible-content:not(.home) #main .wysiwyg__content ul li:before {
    content: "";
    display: block;
    position: absolute;
    top: 10px;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: #FF244C;
}

#top.page-template-page-flexible-content:not(.home) #main .bg-gradient .wysiwyg__container ul li:before,
#top.page-template-page-flexible-content:not(.home) #main .bg-gradient .wysiwyg__content ul li:before,
#top.page-template-page-flexible-content #main .wysiwyg.bg-gradient .wysiwyg__content ul li:before, 
#top.page-template-page-flexible-content #main .wysiwyg.bg-dark-blue .wysiwyg__content ul li:before {
    background-color: #fff;
}

#top.page-template-page-flexible-content .new-home a.btn,
#top.page-template-page-flexible-content a.btn {
    background-color: #FF244C;
    color: #fff;
}

#top.page-template-page-flexible-content .new-home a.btn-secondary,
#top.page-template-page-flexible-content a.btn-secondary {
    background-color: #fff;
    border: 2px solid #289FB2;
    color: #289FB2;
}

#top.page-template-page-flexible-content .new-home a.btn-tertiary,
#top.page-template-page-flexible-content a.btn-tertiary {
    background-color: #289FB2;
    color: #fff;
}

#top.page-template-page-flexible-content img.alignright,
#top.page-template-page-flexible-content img.alignleft,
#top.page-template-page-flexible-content img.alignnone {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

@media (min-width: 768px) {
    #top.page-template-page-flexible-content img.alignright {
        margin-top: 0;
        margin-left: 32px;
        margin-bottom: 32px;
    }

    #top.page-template-page-flexible-content img.alignleft {
        margin-top: 0;
        margin-right: 32px;
        margin-left: 0;
        margin-bottom: 32px;
    }
}

@media (min-width: 1200px) {
    #top.page-template-page-flexible-content .new-home a.btn:hover,
    #top.page-template-page-flexible-content a.btn:hover,
    #top.page-template-page-flexible-content .btn:hover {
        background: #C42222;
    }

    #top.page-template-page-flexible-content .new-home a.btn-secondary:hover,
    #top.page-template-page-flexible-content a.btn-secondary:hover,
    #top.page-template-page-flexible-content .btn-secondary:hover {
        background-color: transparent;
        box-shadow: 0px 0px 10px #289fb2;
    }

    #top.page-template-page-flexible-content .new-home a.btn-tertiary:hover,
    #top.page-template-page-flexible-content a.btn-tertiary:hover,
    #top.page-template-page-flexible-content .btn-tertiary:hover {
        box-shadow: none;
        background: #063E51;
        border-color: #063E51;
        color: #fff;
    }
}

#top.page-template-page-flexible-content blockquote {
    width: 100%;
    margin-block: 50px;
    padding: 55px 45px;
    background: linear-gradient(#ff244c 0%, #d02839 50.25%, #c42222 100%);
    border-radius: 10px;
    text-align: center;
    border: 0;
}

#top.page-template-page-flexible-content .bg-gradient blockquote,
#top.page-template-page-flexible-content .bg-dark-blue blockquote {
    background: linear-gradient(#feecf0 0%, #eefafb 100%);
}

#top.page-template-page-flexible-content blockquote p {
    font-size: 18px;
    color: #fff;
}

#top.page-template-page-flexible-content .bg-gradient blockquote p,
#top.page-template-page-flexible-content .bg-dark-blue blockquote p {
    color: #2C3338 !important;
}

@media (max-width: 767px) {
    .responsive.html_mobile_menu_tablet.html_header_top #top.page-template-page-flexible-content:not(.home) #main {
        padding-top: 42px !important;
    }
}

@media (min-width: 768px) {
    .responsive.html_mobile_menu_tablet.html_header_top #top.page-template-page-flexible-content:not(.home) #main {
        padding-top: 50px !important;
    }
}

@media (min-width: 1200px) {
    .responsive.html_mobile_menu_tablet.html_header_top #top.page-template-page-flexible-content:not(.home) #main {
        padding-top: 140px !important;
    }
}

.masthead--innerpage {
    margin-top: 0;
    background: linear-gradient(#fff 0%, #eefafb 100%);
    padding: 50px 0;
}

@media (min-width: 768px) {
    .masthead--innerpage {
        padding: 50px 0;
    }
}

@media (min-width: 1200px) {
    .masthead--innerpage {
        padding: 45px 0;
    }
}

.masthead--innerpage__title {
    font-size: 35px;
    color: #063E51;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .masthead--innerpage__title {
        font-size: 50px;
    }
}

@media (min-width: 1200px) {
    .masthead--innerpage__title {
        font-size: 56px;
    }
}

.masthead--innerpage__title span {
    color: #FF244C;
    font-family: "Libre Baskerville", serif;
    font-style: italic;
}

.masthead--innerpage .breadcrumbs-list span > a,
.masthead--innerpage .breadcrumbs-list span > span,
.back-to-page > a {
    font-size: 16px;
    font-weight: bold;
}

.back-to-page > a,
.masthead--innerpage .breadcrumbs-list span > a {
    color: #063E51;
}

.masthead--innerpage .breadcrumbs-list span.breadcrumb_last {
    color: #289FB2;
}

.back-to-page > a:before,
.masthead--innerpage .breadcrumbs-list span > a:after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    border-top: 8px solid transparent;
    border-right: 0;
    border-bottom: 8px solid transparent;
    border-left: 8px solid #FF244C;
    margin: 0 15px;
    height: 0;
    border-radius: 8px;
}

.masthead--innerpage .breadcrumbs-list span > a:hover {
    color: #FF244C;
}

.back-to-page > a:before {
    margin: 0 15px 0 0;
    border-top: 8px solid transparent;
    border-right: 8px solid #FF244C;
    border-bottom: 8px solid transparent;
    border-left: 0;
    border-radius: 8px;
}

.breadcrumbs-list {
    display: none;
}

@media (min-width: 768px) {
    .back-to-page {
        display: none;
    }

    .breadcrumbs-list {
        display: block;
    }
}

.wysiwyg {
    position: relative;
}

.section-padding {
    padding: 50px 0;
} 

@media (min-width: 768px) {
    .section-padding {
        padding: 75px 0;
    }
}

@media (min-width: 1200px) {
    .section-padding {
        padding: 110px 0;
    }
}

html.responsive .wysiwyg .wysiwyg__container {
    max-width: calc(1050px + 100px);
    margin: 0 auto;
}

.image-buttons__heading {
    text-align: center;
    margin: 0 auto;
    max-width: 1050px;
}

.image-buttons__row {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.image-buttons__row__item {
    width: 100%;
    margin-bottom: 32px;
}

a.image-buttons__card__container {
    display: block;
}

@media (min-width: 768px) {
    .image-buttons__row {
        margin-inline: -16px;
    }

    .image-buttons__row__item {
        width: 50%;
        padding: 0 16px;
    }
}

@media (min-width: 1200px) {
    .image-buttons__row {
        margin-top: 50px;
    }

    .image-buttons__row__item {
        width: 33.33%;
    }
}

.image-buttons__card {
    box-shadow: 0px 0px 25px rgba(40, 159, 178, 0.15);
    border-radius: 10px;
    overflow: hidden;
}

@media (min-width: 1200px) {
    .image-buttons__card:hover .image-buttons__card__back {
        opacity: 1;
    }

    .image-buttons__card:hover .image-buttons__card__front > span {
        background: #289FB2;
    }
}

.image-buttons__card__front {
    display: block;
    border-radius: 10px;
    overflow: hidden;
}

.image-buttons__card__front__image {
    max-height: 339px;
}

@media (min-width: 1200px) {
    .image-buttons__card__front {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .image-buttons__card__front__image {
        flex: 1;
    }

    .image-buttons__card__front__image img {
        position: relative;
        width: 100%;
        height: 100%;
        object-position: center;
        object-fit: cover;
    }
}

.image-buttons__card__front > span {
    display: block;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #289FB2;
    padding: 23px 15px;
}

.image-buttons__card__back {
    text-align: center;
    position: relative;
    padding: 42px 30px;
    border-radius: 10px;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.25s ease-in-out;
    display: none;
}

@media (min-width: 1200px) {
    .image-buttons__card__back {
        display: block;
    }

    .image-buttons__card__back p {
        height: 200px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 9;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        
    }
}

.image-buttons__card__back:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(40,159,178);
    background: linear-gradient(0deg, rgba(40,159,178,1) 0%, rgba(40,159,178,1) 30%, rgba(40,159,178,.75) 100%);
}

.image-buttons__card__back h3,
.image-buttons__card__back p,
.image-buttons__card__back span {
    position: relative;
    z-index: 2;
}

.image-buttons__card__back h3,
.image-buttons__card__back p {
    color: #fff !important;
}

.image-buttons__card__back h3 {
    font-size: 20px !important;
}

.image-buttons__card__back > span {
    color: #063E51 !important;
    border-color: #5FE5FA !important;
    background-color: #5FE5FA !important;
}

@media (min-width: 1200px) {
    .image-buttons__card__back > span:hover {
        color: #063E51 !important;
        border-color: #fff !important;
        background-color: #fff !important;
    }
}

.half-media-text {
    position: relative;
}

.half-media-text__curve {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.half-media-text.bg-gradient .half-media-text__curve,
.half-media-text.bg-dark-blue .half-media-text__curve {
    opacity: 0.1;
}

.half-media-text__curve img {
    width: 100%;
    height: auto;
}

.half-media-text .container {
    position: relative;
    z-index: 2;
}

.half-media-text__row {
    display: flex;
    flex-wrap: wrap;
}

.half-media-text__media {
    display: block;
    position: relative;
    margin-bottom: 30px;
}

.half-media-text__media-img img {
    border-radius: 10px;
}

@media (min-width: 1200px) {
    .half-media-text__media {
        margin-bottom: 0;
    }
}

.half-media-text__media .video-icon {
    display: block;
    width: 88px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    margin: 0 auto;
    filter: drop-shadow(0px 0px 5px #289fb2);
}

.half-media-text__media .video-icon svg {
    width: 100%;
    height: auto;
}

.half-media-text--logo .half-media-text__media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.half-media-text--logo .half-media-text__media img {
    max-width: 260px;
    height: auto;
    margin: 0 auto;
    display: block;
}

@media (min-width: 1200px) {
    .half-media-text--logo .half-media-text__media img {
        max-width: 376px;
        height: auto;
    }
}

.half-media-text__row__item {
    width: 100%;
}

@media (min-width: 1200px) {
    .half-media-text__row {
        margin-inline: -38px;
    }
    
    .half-media-text__row--reverse {
        flex-direction: row-reverse;
    }
    
    .half-media-text__row__item {
        width: 50%;
        padding-inline: 38px;
    }

    .half-media-text__media {
        height: 100%;
        border-radius: 10px;
        overflow: hidden;
    }

    .bg-white .half-media-text__media {
        box-shadow: 0px 0px 25px rgba(40, 159, 178, 0.15);
    }

    .half-media-text--logo .half-media-text__media {
        box-shadow: none;
    }

    .half-media-text__media .video-icon {
        transform: translateY(-50%) scale(1);
        transition: transform 0.25s ease-in-out;
    }

    .half-media-text__media:hover .video-icon {
        transform: translateY(-50%) scale(1.15);
    }

    .half-media-text__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

#top.page-template-page-flexible-content .new-home .full-width-image-text-overlay a.btn-secondary, 
#top.page-template-page-flexible-content .full-width-image-text-overlay a.btn-secondary,
#top.page-template-page-flexible-content .bg-dark-blue a.btn-secondary,
#top.page-template-page-flexible-content .bg-gradient a.btn-secondary,
#top.page-template-page-flexible-content .bg-dark a.btn-secondary {
    background: #fff;
    color: #FF244C;
    border: 2px solid #fff;
}

#top.page-template-page-flexible-content .new-home .full-width-image-text-overlay a.btn-tertiary, 
#top.page-template-page-flexible-content .full-width-image-text-overlay a.btn-tertiary,
#top.page-template-page-flexible-content .bg-dark-blue a.btn-tertiary,
#top.page-template-page-flexible-content .bg-gradient a.btn-tertiary,
#top.page-template-page-flexible-content .bg-dark a.btn-tertiary{
    background: #5FE5FA;
    border-color: #5FE5FA;
    color: #063E51;
}

@media (min-width: 1200px) {
    #top.page-template-page-flexible-content .new-home a.btn-primary:hover, 
    #top.page-template-page-flexible-content a.btn-primary:hover, 
    #top.page-template-page-flexible-content .btn-primary:hover {
        border-color: #C42222;
        box-shadow: 0 0 10px #C42222;
    }

    #top.page-template-page-flexible-content .new-home .full-width-image-text-overlay a.btn-secondary:hover, 
    #top.page-template-page-flexible-content .full-width-image-text-overlay a.btn-secondary:hover,
    #top.page-template-page-flexible-content .bg-dark-blue a.btn-secondary:hover,
    #top.page-template-page-flexible-content .bg-gradient a.btn-secondary:hover,
    #top.page-template-page-flexible-content .bg-dark a.btn-secondary:hover {
        background-color: #FF244C;
        color: #fff;
        border: 2px solid #FF244C;
        box-shadow: none;
    }

    #top.page-template-page-flexible-content .new-home .full-width-image-text-overlay a.btn-tertiary:hover, 
    #top.page-template-page-flexible-content .full-width-image-text-overlay a.btn-tertiary:hover,
    #top.page-template-page-flexible-content .bg-dark-blue a.btn-tertiary:hover,
    #top.page-template-page-flexible-content .bg-gradient a.btn-tertiary:hover,
    #top.page-template-page-flexible-content .bg-dark a.btn-tertiary:hover {
        background-color: #2DC9E2;
        border-color: #2DC9E2;
        color: #063E51;
    }
}

.team-members__heading {
    text-align: center;
    max-width: 1050px;
    margin: 0 auto;
}

.team-members__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 50px;
}

.team-members__row__item {
    width: 100%;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .team-members__row {
        margin-inline: -16px;
    }

    .team-members__row__item {
        width: 50%;
        padding: 0 16px;
    }
}

@media (min-width: 1200px) {
    .team-members__row__item {
        width: 25%;
    }
}

.team-members__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    overflow: hidden;
}

a.team-members__card:after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: #289FB2;
    transform-origin: bottom;
    transform: scaleY(0);
    transition: transform 0.35s ease-in-out;
}

.team-members__card__image {
    width: 100%;
    height: 234px;
}

.team-members__card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 1200px) {
    a.team-members__card:hover:after {
        transform: scaleY(1);
    }

    .team-members__card:hover {
        box-shadow: 0px 0px 25px rgba(40, 159, 178, 0.3);
    }

    a.team-members__card:hover .team-members__card__play {
        transform: scale(1.15);
    }
}

.team-members__card__info {
    text-align: center;
    padding: 25px 15px;
    text-align: center;
    position: relative;
}

.team-members__card__info--with-video {
    padding-top: 40px;
}

.team-members__card__info > h3 {
    font-size: 20px !important;
    margin-bottom: 5px !important;
    text-transform: capitalize !important;
    color: #289FB2 !important;
}

.team-members__card__info > .position {
    font-size: 16px;
    color: #063E51;
}

.team-members__card__play {
    width: 50px;
    filter: drop-shadow(0px 0px 5px #289fb2);
    position: absolute;
    top: -25px;
    left: 0;
    right: 0;
    margin: 0 auto;
    transition: transform 0.35s ease-in-out;
}

.team-members__card__play svg {
    width: 100%;
    height: auto;
}

.accordion-block {
    position: relative;
}

.accordion-block .container {
    max-width: calc(1050px + 100px);
}

.accordion-block__heading {
    text-align: center;
}

.accordion-block__container {
    margin-top: 50px;
}

.accordion-block-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 0px 25px transparent;
    transition: box-shadow 0.25s ease-in-out;
}

.accordion-block-card:not(:last-child) {
    margin-bottom: 20px;
}

.accordion-block-card__heading {
    background-color: #063E51;
    padding: 25px 30px;
    position: relative;
    cursor: pointer;
    transition: background 0.25s ease-in-out;
}

.accordion-block-card__content {
    display: none;
    background-color: #fff;
    padding: 0 30px 25px;
}

.accordion-block-card__heading h3 {
    font-size: 18px !important;
    margin-bottom: 0 !important;
    color: #fff !important;
    transition: color 0.25s ease-in-out;
}

.accordion-block-card__bottom {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #DEE1EF;
}

.accordion-block-card__bottom .btn {
    margin-top: 0 !important;
}

.accordion-block-icon {
    display: block;
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
}

.accordion-block-icon:before,
.accordion-block-icon:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    margin: 0 auto;
    background-color: #289FB2;
    border-radius: 4px;
    transition: transform 0.25s ease-in-out,
                background 0.25s ease-in-out;
}

.accordion-block-icon:before {
    width: 3px;
    height: 15px;
}

.accordion-block-icon:after {
    width: 15px;
    height: 3px;
}

.accordion-block-card.is-active .accordion-block-icon:before {
    transform: translateY(-50%) rotate(90deg);
    background-color: #fff;
}

.accordion-block-card.is-active .accordion-block-icon:after {
    transform: translateY(-50%) rotate(180deg);
    background-color: #fff;
}

.accordion-block-card.is-active .accordion-block-icon {
    background-color: #289FB2;
}

.accordion-block-card.is-active .accordion-block-card__heading {
    background-color: #fff;
}

.accordion-block-card.is-active .accordion-block-card__heading h3 {
    color: #289FB2 !important;
}

.accordion-block-card.is-active {
    box-shadow: 0px 0px 25px rgba(40, 159, 178, 0.15);
}





/* Table Styles */

.new-home table {
    font-size: 18px;
    border-color: #EEF0F7;
    border-radius: 10px;
}

.new-home table tr td,
.new-home table tr th {
    padding: 5px 15px;
    font-size: 18px;
    background: #fff;
    color: #2c3338;
    vertical-align: middle;
    border-width: 0;
}

.new-home table[border="1"] td {
    border-width: 1px;
}

.new-home table tr:first-child td,
.new-home table tr:first-child th {
    background: #2DC9E2;
    font-weight: 700;
    text-align: left;
    color: #063e51;
    border-color: transparent;
}

.new-home table tr:first-child td:first-child {
    border-top-left-radius: 10px;
}

.new-home table tr:first-child td:last-child {
    border-top-right-radius: 10px;
}

.new-home table tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}

.new-home table tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}

.new-home table tr:not(:first-child) td {
    border-color: #eee;
}

@media (min-width: 1200px) {

    .new-home table tr td,
    .new-home table tr th {
        padding: 5px 30px;
    }

    .new-home table tr:first-child td,
    .new-home table tr:first-child th {
        padding: 20px 30px;
    }
}

#main > .avia-section {
    float: none;
}

