/* ##########################
GENERAL
############################# */

@font-face {
	font-family: Ubuntu;  
	src: url('fonts/Ubuntu-Regular.ttf');
	font-weight: normal;  
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Ubuntu', sans-serif;
    color: #373737;
}

.font-blue {
    font-size: 18px;
    color: #005e88;
}

a:hover {
    text-decoration: none;
    color: inherit;
}

a {
    color: inherit;
}

h2 {
    font-size: 40px;
    font-weight: 100;
    text-transform: uppercase;
    color: #73a3ba;
}

h3 {
    text-transform: uppercase;
    font-size: 24px;
    color: #005e88;
}

h4 {
    font-size: 24px;
    color: #005e88;
    margin-top: 0;
}

@media only screen and (max-width: 960px) {
    html {
        font-size: 100%;
    }
}

@media only screen and (max-width: 1024px) {
    html {
        font-size: 100%;
    }
}

@media only screen and (max-width: 1280px) {
    html {
        font-size: 100%;
    }
}

.page-breadcrumb {
    margin-bottom: 3rem;
    font-size: 21px;
    text-transform: uppercase;
    font-weight: 600;
}

.page-breadcrumb > div {
    background: #005e88;
    padding-left: 0;
    align-items: center;
    display: flex;
}

.page-breadcrumb > div > a {
    color: #005e88;
    display: inline-block;
    background: #fff;
    padding-right: 1rem;
}

.page-breadcrumb > div > span {
    font-size: 1rem;
    text-transform: initial;
    color: #fff;
    margin-left: 1rem;
}


/* ##########################
EASY EDIT WP CONTENT
############################# */


.text-blue {
    margin: auto;
    font-size: 18px;
    color: #005e88;
    margin-top: 2rem;
    margin-bottom: 2rem;
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

/* -------- next element --------- */

.wp-block-media-text.has-media-on-the-right.text-with-image {
    position: relative;
    background: #f5f9fa;
    grid-template-columns: auto 33.333333%;
    margin-top: 2rem;
    margin-bottom: 2rem;
    min-height: 200px;
}

.wp-block-media-text.has-media-on-the-right.text-with-image > div {
    padding: 3rem 2rem 3rem 5rem;
    z-index: 1;
    background-color: #f5f9fa;
}

.wp-block-media-text.has-media-on-the-right.text-with-image::before {
    content: '';
    display: block;
    height: 100%;
    background: #005e88;
    width: 40px;
    position: absolute;
    z-index: 33;
    top: 0;
}

.wp-block-media-text.has-media-on-the-right.text-with-image.no-left-block::before {
    display: none;
}

.wp-block-media-text.has-media-on-the-right.text-with-image.no-left-block > div {
    padding: 2rem 2rem 2rem 2.5rem;
}

.wp-block-media-text.has-media-on-the-right.text-with-image figure img {
    position: absolute;
    height: 100%;
    object-fit: cover;
}

.wp-block-media-text.has-media-on-the-right.text-with-image figure {
    position: relative;
    height: 100%;
}

.wp-block-media-text.has-media-on-the-right.text-with-image > div > p {
    margin: 0;
}

.wp-block-media-text.has-media-on-the-right.text-with-image h2 {
    font-size: 2.2rem;
    margin-top: 0;
}

.wp-block-media-text.has-media-on-the-right.text-with-image .wp-block-button {
    margin-bottom: 0;
    margin-top: 2rem;
}

.wp-block-media-text.has-media-on-the-right.text-with-image .wp-block-button a {
    background: #005e88;
    border-radius: 0;
    margin-right: auto;
    font-size: 16px;
    float: right;
}

/* -------- next element --------- */

.map-contact.wp-block-columns > div:first-child {
    background: #005e88;
    color: #fff;
    margin: 0;
    max-height: 200px;
    flex-basis: 33.333333%;
}

.map-contact.wp-block-columns > div:first-child > div {
    grid-template-columns: 45%;
    height: 100%
}

.map-contact.wp-block-columns > div:first-child p,
.map-contact.wp-block-columns > div:last-child p {
    margin: 0;
}

.map-contact.wp-block-columns > div:first-child > div > figure {
    width: 43%;
    display: block;
    margin: auto;
}

.map-contact.wp-block-columns > div:last-child {
    margin: 0;
    max-height: 200px;
    overflow: hidden;
    flex-basis: 66.666666%;
}

.map-contact.wp-block-columns > div:last-child .leaflet-map {
    max-height: 200px;
}

/* -------- next element --------- */


.has-2-columns.text-with-image-2col figure img {
    position: absolute;
    height: 100%;
    object-fit: cover;
}

.has-2-columns.text-with-image-2col figure {
    position: relative;
    height: 100%;
}

.has-2-columns.text-with-image-2col .has-media-on-the-right {
    grid-template-columns: auto 37%;
}

.has-2-columns.text-with-image-2col .has-media-on-the-right p {
    margin-bottom: 0;
}

/* -------- next element --------- */

.wp-block-gallery .blocks-gallery-item {
    max-height: 200px;
}

.wp-block-gallery.image-higher .blocks-gallery-item {
    max-height: 400px;
}

.wp-block-gallery .blocks-gallery-item {
    width: 100%;
}

/* -------- next element --------- */


.wp-block-media-text.has-media-on-the-right.text-with-icon {
    background: #f5f9fa;
    height: 160px;
    grid-template-columns: auto 30%;
    position: absolute;
    width: 100%;
    bottom: 0;
}

.text-with-icon > figure {
    background: #005e88;
    width: 100%;
    height: 100%;
    position: relative;
}

.text-with-icon > figure img {
    width: 70px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 0;
    right: 0;
}

.text-with-icon > div p {
    margin: 0;
}

/* -------- next element --------- */


.wp-block-columns.img-with-icon {
    height: 160px;
    overflow: hidden;

    position: absolute;
    display: block;
    width: 100%;
    bottom: 0;
}

.wp-block-columns.img-with-icon > div:first-child {
    margin: 0;

    height: 160px;
    display: inline-block;
    width: 66.666666%;
    margin-right: -5px;
}

.wp-block-columns.img-with-icon > div:first-child figure {
    margin: 0;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.wp-block-columns.img-with-icon > div:first-child figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wp-block-columns.img-with-icon > div:last-child {
    background: #005e88;
    margin: 0;

    height: 160px;
    width: 33.333333%;
    display: inline-block;
}

.wp-block-columns.img-with-icon > div:last-child figure {
    position: relative;
    margin: 0;
    width: 100%;
    height: 100%;
}

.wp-block-columns.img-with-icon > div:last-child figure img {
    max-height: 60px;
    max-width: 70px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}


/* -------- next element --------- */

.with-icon-col {
    position: relative;
}

.with-icon-col > h4 {
    min-height: 40px;
}

.with-icon-col > p {
    margin-bottom: 176px;
}

/* -------- next element --------- */

.section-blue-box > div::before {
        content: '';
    display: block;
    height: 100%;
    background: #005e88;
    width: 40px;
    position: absolute;
    z-index: 33;
    top: 0;
    left: 0;
}

.section-blue-box > div {
    padding-left: 60px;
    position: relative;
}

.section-blue-box > div p {
    margin-bottom: 0
}


.section-blue-box > div a {
    text-decoration: underline;
}


/* -------- next element --------- */

.map-contact.smile > div:first-child {
        text-align: center;
    padding: 1rem 0 2rem 0;
}

.map-contact.smile {
       align-items: center;
}

.map-contact.smile > div:last-child {
      margin-left: 2rem;
}

.map-contact.smile > div:last-child strong {
      display: inline-block;
    width: 90px;
}


/* -------- next element --------- */


.custom-btn a {
        background: #005e88;
    border-radius: 0;
    margin-right: auto;
    font-size: 16px;
}

/* -------- next element --------- */

.map-contact.smile.table > div:first-child {
        display: table-cell;
    width: 33.333333%;   
    padding: 0;
    vertical-align: middle;
    padding-bottom: 1em;
}

.map-contact.smile.table > div:last-child {
        display: table-cell;
    width: 66.666666%;
        vertical-align: middle;
    padding: 1.5rem 0 1.5rem 2rem;
}

.map-contact.smile.table {
       display: table;
    min-height: 180px;
}


/* -------- next element --------- */

.media {
        float: left;
    margin: 0;
    position: relative;
    height: 48px;
    padding-left: 3rem;
    line-height: 48px;
    width: 270px;
    clear: left;
}

.media::before {
        content: '';
    display: block;
    height: 100%;
    background: #005e88;
    width: 20px;
    position: absolute;
    z-index: 33;
    top: 0;
    left: 0;
}

/* -------- next element --------- */

.custom-btn.float-left {
    float: left;
    margin-right: 2rem;
}

.custom-btn.float-left a {
    width: 220px;
}







/* ##########################
CONTACT FORM
############################# */

#cf7md-form .mdc-textfield--upgraded:not(.mdc-textfield--fullwidth) {
    background: #f5f9fa;
        border-left: 20px solid #005e88;
    margin-top: 0;
}

#cf7md-form .mdc-textfield--upgraded:not(.mdc-textfield--fullwidth):not(.mdc-textfield--multiline)::after {
    display: none;
}

#cf7md-form .cf7md-text, #cf7md-form .cf7md-quiz {
    margin-top: 0;
}

#cf7md-form .mdc-textfield__label {
    line-height: 2;
    margin-left: 1rem;
}

#cf7md-form .mdc-layout-grid > div:first-child,
#cf7md-form .mdc-layout-grid > div:nth-child(2) {
        width: calc(50% - .5rem);
    display: inline-grid;
}

#cf7md-form .mdc-layout-grid > div:nth-child(2) {
    margin-left: auto;
}

#cf7md-form .mdc-layout-grid > div:nth-child(3) {
    width: 100%
}

#cf7md-form .mdc-layout-grid {
    display: flex;
}

#cf7md-form .mdc-layout-grid .cf7md-textarea-autosize {
    width: 100%
}

#cf7md-form .mdc-textfield--multiline .mdc-textfield__input:invalid:not(:focus) {
    border: 0;
    min-height: 130px;
}

#cf7md-form .mdc-button--primary.mdc-button--raised {
     background-color: #005e88;
    box-shadow: none;
    border-radius: 0;
}

#cf7md-form .cf7md-item, #cf7md-form input, #cf7md-form label, #cf7md-form textarea, #cf7md-form p, #cf7md-form .mdc-select, #cf7md-form.cf7md-form + .wpcf7-response-output, #cf7md-form .wpcf7-not-valid-tip, #cf7md-form .mdc-card__title, #cf7md-form .mdc-card__subtitle, #cf7md-form .mdc-button {
        font-family: "Ubuntu", sans-serif;
}

#cf7md-form .cf7md-item select, #cf7md-form .cf7md-item input, #cf7md-form .cf7md-item textarea {
    margin: auto;
    margin-left: 1rem;
}

#cf7md-form .mdc-textfield--focused .mdc-textfield__label {
    color: #005e88;
}

#cf7md-form .mdc-textfield--multiline .mdc-textfield__input:focus, #cf7md-form .mdc-textfield:not(.mdc-textfield--upgraded) .mdc-textfield__input:focus, #cf7md-form .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background, #cf7md-form .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background, #cf7md-form .mdc-radio__native-control:checked + .mdc-radio__background .mdc-radio__outer-circle {
    border: 0;
}

/* ##########################
MENU
############################# */

#masthead {
    position: relative;
}

.dropdown-toggle::after {
    border: 0;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 35px;
    content: '...';
    position: absolute;
    width: 10px;
}


header#masthead {
    background-color: #f5f9fa;
    box-shadow: none;
    padding: 0 1rem;
}

.navbar-brand {
    position: absolute;
    background: #fff;
    padding: 10px 2rem;
    top: 0;
    left: 0;
    z-index: 1;
}

.navbar-nav {
    margin-right: auto;
    padding-left: 310px;
    text-transform: uppercase;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
    color: #005e88;
    font-weight: 600;
    line-height: 40px;
    padding: 0.5rem 1rem;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover,
body:not(.theme-preset-active) #masthead .navbar-nav > li.current_page_item > a {
    color: #fff;
    font-weight: 600;
    background-color: #005e88;
}


.navbar-expand-lg .navbar-nav .dropdown-menu {
    border: none;
    border-radius: 0;
    background: #005e88;
    margin-top: 0;
}

.dropdown-menu .dropdown-item {
    font-size: 14px;
    color: #fff;
}

/* ##########################
HEAD 3 BANNER
############################# */

#header-3banner {
    display: flex;
}

.header-3banner-col {
    position: relative;
}

.header-3banner-col a {
    height: 100%;
    width: 100%;
    display: block;
    position: absolute;
    top: 0;
}

.header-3banner-col a span {
    position: absolute;
    z-index: 1;
    bottom: -10px;
    display: block;
    width: 100%;
    left: 0;
    line-height: 42px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 500;
}

.header-3banner-col a:hover {
    text-decoration: none;
}

.header-3banner-col:first-child a span {
    background-color: #ef4840;
}

.header-3banner-col:first-child::before {
    content: '';
    background-color: #ef4840;
    display: block;
    width: 35px;
    height: 60%;
    position: absolute;
    right: 0;
    bottom: 0;
}


.header-3banner-col:nth-child(2) a span {
    background-color: #008dd3;
}

.header-3banner-col:nth-child(2)::before {
    content: '';
    background-color: #008dd3;
    display: block;
    width: 35px;
    height: 100%;
    position: absolute;
    left: 0;
}

.header-3banner-col:nth-child(2)::after {
    content: '';
    background-color: #008dd3;
    display: block;
    width: 35px;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
}

.header-3banner-col:last-child a span {
    background-color: #f58844;
}

.header-3banner-col:last-child::before {
    content: '';
    background-color: #f58844;
    display: block;
    width: 35px;
    height: 60%;
    position: absolute;
    left: 0;
    bottom: 0;
}


#page-sub-header .container::after {
    content: '';
    display: block;
    position: absolute;
    width: 50%;
    height: 42px;
    right: 0;
    background: #f58844;
    top: calc(100% - 32px);
}

#page-sub-header .container::before {
    content: '';
    display: block;
    position: absolute;
    width: 50%;
    height: 42px;
    left: 0;
    background: #ef4840;
    top: calc(100% - 32px);
}



/* ##########################
HEAD CAPTION
############################# */


#header-caption {
    margin-top: 4rem;
}

#header-caption p {
    padding: 0 4rem;
    display: block;
    margin: auto;
}

a.page-scroller {
    margin-top: 0;
    margin: auto;
    width: 55px;
    display: block;
}

a.page-scroller::before {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    border: 8px solid #005e88;
    border-left: none;
    border-top: none;
    transform: rotate(45deg);
}




/* ##########################
HOME PAGE - BLOG SECTION
############################# */


h2.entry-title {
    font-size: 18px;
    color: #fff;
    background-color: #005e88;
    margin: 0;
    padding: 1rem;
    font-weight: 500;
    border: none;
    min-height: 76px
}

.entry-header {
    background: #f5f9fa;
    text-align: right;
}

.posted-on {
    color: #005e88;
}

.posted-on a {
    background: #005e88;
    display: inline-block;
    line-height: 2rem;
    padding: 0 1rem;
    color: #fff;
}

#primary .navigation {
    display: none;
}


/* ##########################
REEL SLIDESHOW
############################# */

#reel-slideshow {
    overflow: hidden;
    margin-top: 3rem;
}

#reel-slideshow span {
    font-size: 24px;
    color: #005e88;
    display: block;
    text-align: center;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-weight: 600;
}


/* ##########################
VIDEO
############################# */

.videoWrapper {
    margin-top: 3rem;
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    padding-top: 25px;
    height: 0;
}

.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* ##########################
FOOTER
############################# */

#footer-head {
    margin-top: 2rem;
    color: #fff;
    position: relative;
}

#footer-head::before {
    content: "";
    display: block;
    background-color: #005e88;
    height: 60px;
    position: absolute;
    bottom: 0;
    top: 0;
    width: 100%;
    margin: auto;
}

#footer-head .container .row > div:last-child {
    display: flex;
    align-items: center;
}


#footer-head .container .row > div:last-child span {
    margin-left: 2rem;
}

#footer-head .container .row > div:first-child {
    padding: 0 2rem;
    background-color: #fff;
}

#footer-body {
    margin: 3rem 0;
    color: #005e88;
}

#footer-body .row > div:first-child {
    display: flex;
}

#footer-body .row > div:first-child img {
    padding: 0 2.5rem;
    margin: auto;
}

#footer-body .row > div:nth-child(2) span,
#footer-body .row > div:nth-child(3) span {
    line-height: 1.6rem;
}

#footer-body .row > div:nth-child(3) a {
    color: #005e88;
}

#footer-body i {
    margin-right: 1rem;
}

.footer-title {
    font-size: 22px;
    margin-bottom: 1rem;
}

footer .site-info {
    text-align: center;
}



/* ##########################
#############################

STATUT

#############################
############################# */

.wp-block-columns.has-2-columns.statut > div:first-child {
    flex-basis: 33.333333%;
}

.wp-block-columns.has-2-columns.statut > div:first-child ul {
    list-style-type: none;
    padding: 1.5rem 2rem;
    background: #005e88;
    color: #fff;
    position: sticky;
    position: -webkit-sticky;
    top: 70px;
    margin-right: 10px;
}

.wp-block-columns.has-2-columns.statut > div:first-child ul li {
    margin: .75rem 0;
}

.wp-block-columns.has-2-columns.statut > div:last-child {
    flex-basis: 66.666666%;
}

.wp-block-columns.has-2-columns.statut h3 {
    margin-top: 4rem;
}

.wp-block-columns.has-2-columns.statut p,
.wp-block-columns.has-2-columns.statut ol {
    color: #005e88;
    font-size: 18px;
    padding-left: 0;
    margin-bottom: 1rem;
}




/* ##########################
#############################

RECENT POST PAGE

#############################
############################# */

#recent-post-page .recent-post-post:first-of-type {
    flex: 0 0 66.666666%;
    max-width: 66.666666%;
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

#recent-post-page .recent-post-post:first-of-type .post-thumbnail {
    height: 233px;
    overflow: hidden;
    position: relative;
}

#recent-post-page .recent-post-post:first-of-type .post-thumbnail img {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;

}

#recent-post-page .recent-post-post:first-of-type .page-content {
    padding: 3rem;
}

#recent-post-page .recent-post-post {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

#recent-post-page .recent-post-post:first-of-type .entry-content {
    padding: 3rem;
}

footer.entry-footer {
    display: none;
}


/* ##########################
#############################

SINGLE POST

#############################
############################# */

.single-post article .post-thumbnail {
    overflow: hidden;
    position: relative;
    height: 350px;
}

.single-post article .post-thumbnail img {
    top: 0;
    bottom: 0;
    margin: auto;
    position: absolute;
}

.single-post article .entry-meta {
    display: none;
}

#comments {
    display: none;
}


/* ##########################
#############################

RESPONSIVE

#############################
############################# */


@media only screen and (max-width: 991px) {
    .navbar-nav {
        padding-left: 0;
        margin-top: 2rem;
    }

    .navbar-brand {
        margin: auto;
        margin-right: 6rem;
        align-items: center;
        display: flex;
        background: white;
        height: 62px;
    }
}

@media only screen and (max-width: 767px) {


    .text-blue {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }


    #header-3banner {
        display: block;
    }

    .header-3banner-col:first-child::before,
    .header-3banner-col:nth-child(2)::after,
    .header-3banner-col:nth-child(2)::before,
    .header-3banner-col:last-child::before,
    #page-sub-header .container::before,
    #page-sub-header .container::after {
        display: none;
    }

    .header-3banner-col {
        max-width: 325px;
        margin: auto;
        margin-bottom: 3rem;
    }

    .header-3banner-col:nth-child(2) {
        height: 245px;
    }

    .header-3banner-col:nth-child(2) img {
        height: 100%;
        object-fit: cover;
    }

    #header-caption img {
        display: block;
        margin: auto;
    }

    a.page-scroller {
        display: none;
    }

    .footer-title {
        margin-bottom: 0;
        margin-top: 1rem;
    }

    #reel-slideshow {
        margin-top: 0;
    }
    
    .dropdown-toggle::after {
        display: none;
    }
    
    .navbar-expand-lg .navbar-nav .dropdown-menu {
        padding: 10px 0 10px 25px;
        margin: 0;
    }
    
    .menu-item {
        margin-bottom: 4px;
    }
    
    .wp-block-media-text.has-media-on-the-right.text-with-image .wp-block-button a {
        float: none;
    }
    
    .map-contact.wp-block-columns > div:first-child {
        flex-basis: 100%;
    }
        
    .map-contact.wp-block-columns > div:first-child > div {
        grid-template-columns: auto !important;
        padding: 15px 0;
    }
    
    .map-contact.wp-block-columns > div:first-child > div > figure {
        display: none;
    }
    
    .wp-block-columns.has-2-columns.statut > div:first-child {
        flex-basis: 100%;
    }
    
    .wp-block-columns.has-2-columns.statut ol {
        padding-left: 15px;
    }
    
    .media::before {
        display: none;
    }
    
    .media {
        float: none;
    padding: 0;
    display: block;
    margin-bottom: 1rem;
    }
    
    .custom-btn.float-left {
        float: none !important;
    }
    
    .section-blue-box > div {
        padding-left: 0;
        margin-bottom: 3rem;
    }
    
    .section-blue-box .wp-block-media-text {
        display: block;
    }
    
    .section-blue-box .wp-block-media-text figure {
        margin-bottom: 15px;
        width: 50%;
    }
    
    .section-blue-box > div::before {
        display: none;
    }
    
    .page-id-226 .wp-block-spacer {
        display: none;
    }
    
    .wp-block-media-text .wp-block-media-text__content {
        padding: 0;
    }
    
    .map-contact.smile.table > div:last-child {
        display: block;
    width: 100%;
    padding: 0;
    margin: auto;
    max-height: none;
    margin-top: 1rem;
    }
    
    .map-contact.smile.table > div:first-child {
        display: block;
        width: 100%;
    }  
    
    .map-contact.smile.table > div:first-child figure {
        padding-top: 1rem
    }
    
    .map-contact.smile > div:last-child {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .wp-block-media-text.has-media-on-the-right.text-with-icon {
        display: block;
        height: unset;
    }
    
    .wp-block-media-text.has-media-on-the-right.text-with-icon figure {
        height: 100px;
    }
    
    .wp-block-media-text.has-media-on-the-right.text-with-icon p {
        padding: 1rem;
    }
    
    .wp-block-columns.has-2-columns > div:first-child {
        margin-bottom: 4rem;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    #footer-head .container .row > div:first-child {
        padding: 2rem;
    }

    #recent-post-page .recent-post-post:first-of-type .post-thumbnail {
        height: 140px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    #recent-post-page .recent-post-post:first-of-type .post-thumbnail {
        height: 193px;
    }
}

@media only screen and (max-width: 767px) {
    #footer-head {
        background-color: #005e88;
    }

    #footer-head::before {
        display: none;
    }

    #footer-head .container .row > div:last-child {
        order: -1;
        padding: 2rem 0;
    }

    #footer-head .container .row > div:first-child img {
        display: block;
        margin: auto;
        margin-top: 1rem;
    }


    #recent-post-page .recent-post-post,
    #recent-post-page .recent-post-post:first-of-type {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .wp-block-media-text.has-media-on-the-right.text-with-image figure {
        height: 200px
    }

    .wp-block-media-text.has-media-on-the-right.text-with-image {
        display: block;
    }

    .wp-block-media-text.has-media-on-the-right.text-with-image::before {
        display: none;
    }

    .wp-block-media-text.has-media-on-the-right.text-with-image > div {
        padding: 2rem;
    }
}


@media only screen and (max-width: 599px) {

    .wp-block-gallery .blocks-gallery-item {
        margin-right: 0;
    }

}
