/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/***********************************************************************************************************************************************/
/********************A wizard is never late, Frodo Baggins. Nor is he early. He arrives precisely when he means*********************************/
/***********************************************************************************************************************************************/


/*******************************************************************************************************************/
/*				  													                                       GENERIC*/
/******************************************************************************************************************/

/****************************************************************************/
/*				  								                      COLORS*/
/****************************************************************************/

:root {
    --lightblue: #7fb9e5;
    --midblue: #2d7bc4;
    --darkblue: #2b3392;
    --red: #8d101f;
    --white: #ffffff;
    --black: #000000;
}

/****************************************************************************/
/*				  								                       FONTS*/
/****************************************************************************/

@font-face {
    font-family: 'avertastd';
    src: url('/wp-content/themes/generatepress_child/fonts/avertastd-regular-webfont.woff2') format('woff2'),
        url('/wp-content/themes/generatepress_child/fonts/avertastd-regular-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'avertastd';
    src: url('/wp-content/themes/generatepress_child/fonts/avertastd-bold-webfont.woff2') format('woff2'),
        url('/wp-content/themes/generatepress_child/fonts/avertastd-bold-webfont.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

/*******************************************************************************************************************/
/*				  													                                         HEADER*/
/******************************************************************************************************************/

/****************************************************************************/
/*				  								                     GENERIC*/
/****************************************************************************/

.site-branding p a {
    color: var(--white);
    font-size: 30px;
}

.site-branding p a:hover {
    color: var(--white);
}

.site-header .inside-header {
    max-width: 1600px;
}

/************************************************************/
/*				  		                          RESPONSIVE*/
/************************************************************/


@media(max-width: 480px) {
    .site-header .inside-header .site-branding {
        width: 70%;
    }
}

/****************************************************************************/
/*				  								                        MENU*/
/****************************************************************************/

#primary-menu>ul>li>a {
    color: var(--white);
    font-size: 20px;
}

.main-navigation ul ul {
    background-color: var(--darkblue);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding-top: 20px;
    padding-bottom: 20px;
}

#primary-menu>ul>li>ul li a {
    color: var(--white);
    font-size: 18px;
}

/************************************************************/
/*				  		                          RESPONSIVE*/
/************************************************************/

@media(max-width: 1279px) {
    .gp-icon svg {
        font-size: 35px;
        color: white;
    }

    .main-navigation ul ul {
        border: none;
        padding-left: 20px;
    }
}

/*******************************************************************************************************************/
/*				  													                                           HOME*/
/******************************************************************************************************************/

/****************************************************************************/
/*				  								                   SECTION 1*/
/****************************************************************************/

.home-section1 .row1 {
    justify-content: center;
    max-width: 1500px;
}

.home-section1 .row1 h2 {
    color: var(--darkblue);
    font-size: 25px;
    margin-bottom: 0px;
}

.home-section1 .row1 h3 {
    color: var(--darkblue);
    font-size: 80px;
}

.home-section1 .row1 h4 {
    color: var(--darkblue);
    font-size: 30px;
}

.home-section1 .row1 p {
    color: var(--red);
    font-style: italic;
    font-size: 25px;
}

.home-section1 .row1 p.municipalities {
    color: var(--black);
    font-size: 16px;
    font-style: italic;
}

/************************************************************/
/*				  		                          RESPONSIVE*/
/************************************************************/

@media(max-width: 1440px) {
    .home-section1 .gb-container {
        max-width: 1300px
    }
}

@media(max-width: 1280px) {
    .home-section1 .gb-container {
        max-width: 1200px !important;
    }
}

@media(max-width: 912px) {
    .home-section1 {
        min-height: 500px !important;
    }

    .home-section1 .gb-container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .home-section1 .row1 h3 {
        font-size: 60px;
        padding-top: 100px;
    }

    .home-section1 .row1 h4 {
        font-size: 22px;
    }

    .home-section1 .row1 p {
        font-size: 18px;
    }
}

@media(max-width: 820px) {
    .home-section1 .row1 h3 {
        font-size: 55px;
    }

    .home-section1 .row1 h4 {
        font-size: 20px;
    }
}

@media(max-width: 480px) {

    .home-section1 {
        min-height: 550px !important;
        justify-content: flex-end !important;
        padding-top: 10px;
    }

    .home-section1 h3 {
        display: none;
    }

    .home-section1 .row1 {
        background-color: rgba(255, 255, 255, 0.5);
        padding: 20px;
    }
}


/****************************************************************************/
/*				  								                   SECTION 2*/
/****************************************************************************/

.home-section2 {
    padding-top: 100px;
    margin: 0 auto;
}

.home-section2 h2 {
    font-size: 50px;
    text-align: center;
    padding-bottom: 50px;
}

.home-section2 h2:after {
    content: '';
    border-bottom: 2px solid var(--red);
    display: block;
    width: 10%;
    padding-top: 10px;
    margin: 0 auto;
}

.home-section2 .subtitle {
    font-size: 20px;
    text-align: center;
}

.home-section2 .gb-grid-wrapper>div {
    position: relative;
}

.home-section2 .inner-block {
    background-color: var(--midblue);
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    width: 80%;
    padding: 40px;
    height: 150px;
    display: flex;
    align-items: center;
}

.home-section2 .inner-block h3 {
    color: var(--white);
    font-size: 50px;
    position: absolute;
    top: -40px;
    text-shadow: 0px 4px 4px rgb(0 0 0 / 50%);
}

.home-section2 .inner-block p {
    color: var(--white);
    font-size: 25px;
    margin-bottom: 0px;
}

.home-section2 .gb-button {
    background-color: var(--red);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40%;
    margin: 50px auto;
}

/************************************************************/
/*				  		                          RESPONSIVE*/
/************************************************************/

@media(max-width: 1440px) {
    .home-section2 {
        max-width: 1300px !important;
    }
}

@media(max-width: 1280px) {
    .home-section2 {
        max-width: 1200px !important;
    }
}

@media(max-width: 912px) {
    .home-section2 {
        padding-left: 30px;
        padding-right: 30px;
    }

    .home-section2 .inner-block p {
        font-size: 18px;
    }
}

@media(max-width: 820px) {
    .home-section2 .inner-block p {
        font-size: 16px;
    }
}

@media(max-width: 768px) {
    .home-section2 .gb-button {
        width: 45%;
    }
}

@media(max-width: 480px) {
    .home-section2 .gb-button {
        width: 85%;
    }
}

@media(max-width: 375px) {
    .home-section2 .gb-button {
        width: 100%;
    }
}

@media(max-width: 360px) {
    .home-section2 h2 {
        font-size: 40px;
    }
}

/****************************************************************************/
/*				  								                   SECTION 3*/
/****************************************************************************/

.home-section3 {
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 50px;
}

/************************************************************/
/*				  		                          RESPONSIVE*/
/************************************************************/

@media(max-width: 1440px) {
    .home-section3 {
        max-width: 1300px !important;
    }
}

@media(max-width: 1280px) {
    .home-section3 {
        max-width: 1200px !important;
    }
}

@media(max-width: 912px) {
    .home-section3 {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media(max-width: 480px) {
    .home-section3 .wp-block-getwid-video-popup__wrapper {
        min-height: 200px !important;
    }
}

/****************************************************************************/
/*				  								                   SECTION 4*/
/****************************************************************************/

.home-section4 {
    padding-top: 100px;
    width: 80%;
    margin: 0 auto;
}

.home-section4 blockquote {
    border-left: 5px solid var(--darkblue);
}

.home-section4 p {
    font-size: 35px;
}

.home-section4 .gb-button {
    background-color: var(--red);
}

.home-section4 .gb-button strong {
    padding-left: 5px;
}

/************************************************************/
/*				  		                          RESPONSIVE*/
/************************************************************/

@media(max-width: 820px) {
    .home-section4 .gb-button {
        font-size: 15px;
    }
}

@media(max-width: 768px) {
    .home-section4 .gb-button {
        font-size: 14px;
    }
}

@media(max-width: 375px) {
    .home-section4 blockquote p {
        font-size: 18px;
    }
}

@media(max-width: 360px) {
    .home-section4 .gb-button {
        font-size: 13px;
    }
}

/****************************************************************************/
/*				  								                   SECTION 5*/
/****************************************************************************/

.home-section5 {
    padding-top: 100px;
    padding-bottom: 100px;
    width: 80%;
    margin: 0 auto;
}

.home-section5 h2 {
    font-size: 50px;
    text-align: center;
    padding-bottom: 50px;
}

.home-section5 h2:after {
    content: '';
    border-bottom: 2px solid var(--red);
    display: block;
    width: 10%;
    padding-top: 10px;
    margin: 0 auto;
}

.home-section5 .gb-query-loop-item h3 a {
    text-decoration: none;
    color: var(--black);
    text-align: left;
    display: block;
}

.home-section5 .gb-query-loop-item figure img {
    width: 100%;
}

.home-section5 .gb-query-loop-item .gb-dynamic-read-more {
    display: block;
    padding-top: 10px;
    text-decoration: none;
    color: var(--black);
}

.home-section5 .gb-query-loop-item .gb-dynamic-read-more:hover {
    color: var(--red);
}

/************************************************************/
/*				  		                          RESPONSIVE*/
/************************************************************/

@media(max-width: 912px) {
    .home-section5 .gb-grid-wrapper>div {
        width: 100%;
    }
}

@media(max-width: 375px) {
    .home-section5 h2 {
        font-size: 40px;
    }
}

/****************************************************************************/
/*				  								                   SECTION 6*/
/****************************************************************************/

.home-section6 {
    padding-bottom: 50px;
}

/*******************************************************************************************************************/
/*				  													                                            CV*/
/******************************************************************************************************************/

/****************************************************************************/
/*				  								                   SECTION 1*/
/****************************************************************************/

/************************************************************/
/*				  		                          RESPONSIVE*/
/************************************************************/

@media(max-width: 912px) {
    .cv-section1 .gb-grid-wrapper>div {
        width: 100%;
    }
}

/*******************************************************************************************************************/
/*				  													                                        CONTACT*/
/******************************************************************************************************************/

/****************************************************************************/
/*				  								                   SECTION 1*/
/****************************************************************************/

.contact-section1 .contact-form-wrapper {
    background-color: var(--midblue);
    padding: 50px;
}

.contact-section1 .info p a {
    color: var(--black);
    text-decoration: none;
}

.contact-section1 .info p a:hover {
    color: var(--red);
}

.contact-section1 .contact-form-wrapper .split-half {
    display: flex;
    gap: 20px;
}

.contact-section1 .contact-form-wrapper .split-half>div {
    width: 50%;
}

.contact-section1 .contact-form-wrapper .split-half>div input {
    width: 100%;
    background-color: transparent;
    color: var(--white);
}

.contact-section1 .contact-form-wrapper .split-half>div input::placeholder {
    color: var(--white);
}

.contact-section1 .no-split {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.contact-section1 .no-split>div input,
.contact-section1 .no-split>div textarea {
    width: 100%;
    background-color: transparent;
    color: var(--white);
}

.contact-section1 .no-split>div input::placeholder,
.contact-section1 .no-split>div textarea::placeholder {
    color: var(--white);
}

.contact-section1 .contact-form-wrapper .split-half .wpcf7-checkbox label {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.contact-section1 .contact-form-wrapper .split-half .wpcf7-checkbox label input {
    width: auto;
}

.contact-section1 .contact-form-wrapper .split-half .wpcf7-checkbox label span {
    color: var(--white);
    font-size: 14px;
}

.contact-section1 .contact-form-wrapper input.wpcf7-form-control.has-spinner.wpcf7-submit {
    background-color: var(--red);
}

.contact-section1 .municipalities {
    font-size: 15px;
    font-style: italic;
}

/****************************************************************************/
/*				  								                   SECTION 2*/
/****************************************************************************/

.contact-section2 {
    padding-top: 50px;
}

/*******************************************************************************************************************/
/*				  													                                   BLOG ARCHIVE*/
/******************************************************************************************************************/

/****************************************************************************/
/*				  								                  POST ITEMS*/
/****************************************************************************/

.blog article .inside-article,
.archive.category article .inside-article {
    display: flex;
    flex-direction: column;
}

.blog article .inside-article .entry-header,
.archive.category article .inside-article .entry-header {
    order: 2;
    padding-top: 20px;
}

.blog article .inside-article .post-image,
.archive.category article .inside-article .post-image {
    order: 1;
    /* border: 1px solid rgba(0, 0, 0, 0.2); */
}

.blog article .inside-article .entry-summary,
.archive.category article .inside-article .entry-summary {
    order: 3;
}

.blog article .inside-article .entry-meta,
.archive.category article .inside-article .entry-meta {
    order: 4;
}

.blog .read-more-container a {
    background-color: transparent;
    color: var(--black);
    padding: 0;
}

.blog .read-more-container a:hover {
    color: var(--red);
}

.blog footer.entry-meta {
    display: flex;
    justify-content: flex-end;
}

.blog footer.entry-meta a {
    text-decoration: none;
    color: var(--black);
}

.blog footer.entry-meta a:hover {
    color: var(--red);
}

/****************************************************************************/
/*				  								                     SIDEBAR*/
/****************************************************************************/

.inside-right-sidebar aside {
    background-color: var(--midblue) !important;
}

.inside-right-sidebar aside h2 {
    color: var(--white);
    font-size: 30px;
}

.inside-right-sidebar aside h2:after {
    content: '';
    border-bottom: 1px solid var(--white);
    display: block;
    width: 100%;
    padding-top: 10px;
}

.inside-right-sidebar aside form label {
    width: 100%;
}

.inside-right-sidebar aside .search-form button.search-submit {
    background-color: var(--red);
}

.inside-right-sidebar aside ul li,
.inside-right-sidebar aside ul li a {
    color: var(--white);
    text-decoration: none;
}

/*******************************************************************************************************************/
/*				  													                                        FOOTER*/
/******************************************************************************************************************/

/****************************************************************************/
/*				  								                     GENERIC*/
/****************************************************************************/

.footer-widgets-container {
    max-width: 1600px;
    margin: 0 auto;
}

/****************************************************************************/
/*				  								                     COLUMNS*/
/****************************************************************************/

.foot-col1 h2,
.foot-col2 h2 {
    color: var(--white);
    font-size: 40px;
}

.foot-col1 h2:after,
.foot-col2 h2:after {
    content: '';
    border-bottom: 1px solid var(--white);
    display: block;
    width: 100%;
    padding-top: 10px;
}

.foot-col1 p,
.foot-col1 p a {
    color: var(--white);
    font-size: 16px;
    text-decoration: none;
}

.foot-col2 .wp-block-social-links li {
    margin-bottom: 0px;
}

/************************************************************/
/*				  		                          RESPONSIVE*/
/************************************************************/

@media(max-width: 820px) {
    .inside-footer-widgets {
        flex-direction: column;
        gap: 20px;
    }

    .inside-footer-widgets>div {
        width: 100%;
    }

    .foot-col3 {
        text-align: center;
    }
}

@media(max-width: 375px) {

    .foot-col1 h2,
    .foot-col2 h2 {
        font-size: 30px;
    }
}

@media(max-width: 360px) {

    .foot-col1 p,
    .foot-col1 p a {
        font-size: 14px;
    }
}

/****************************************************************************/
/*				  								                   COPYRIGHT*/
/****************************************************************************/

.copyright-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.copyright-bar a {
    display: flex;
    justify-content: center;
    align-items: center;
}

/************************************************************/
/*				  		                          RESPONSIVE*/
/************************************************************/

@media(max-width: 820px) {
    .copyright-bar {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .copyright-bar a {
        display: flex;
        align-items: center;
    }
}