/*
Theme Name:   Overlay Child
Theme URI:    https://overlaywp.com/child-theme/overlay-default-child/
Description:  Overlay Child is a child theme for the Overlay WordPress theme. Configured by Rico for Archimedict.
Author:       Rico van der Klein
Author URI:   https://overlaywp.com/
Template:     overlay
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         blog, e-commerce, portfolio, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, rtl-language-support, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
Text Domain:  overlay-child
*/

/* -- Add your Own Custom CSS Here -- */
body {
    overflow-x: hidden;
}

html.no-scroll {
    overflow: hidden;
}

a:focus {
    text-decoration: none;

    border: none;
    outline: none;

    color: #f8f9fa;
}

.gray-blue-button {
    cursor: pointer;

    background-color: #29abe1;

    color: #f8f9fa;
}

.gray-blue-button:hover {
    background-color: #9b9b9b;

    color: #f1f1f1;
}

/* Modal CSS */
.popup-window {
    z-index: 10;

    position: fixed;

    display: none;

    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, 0.5);
}

.popup-outer {
    position: relative;

    display: grid;

    grid-template-rows: 60px;

    height: 100%;

    margin: auto;

    top: 50%;

    transform: translateY(-50%);

    overflow: hidden;

    background-color: #f8f9fa;
}

.popup-topbar {
    position: fixed;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    grid-row-start: 1;

    width: 100%;
    height: 60px;

    background-color: #f8f9fa;
}

@media (min-width: 850px) {
    .popup-outer {
        width: 90%;
    }

    .popup-topbar {
        grid-template-columns: 160px 1fr 160px;
    }
}

.popup-topbar img {
    width: 90%;

    margin: auto;
}

.popup-topbar .popup-widget-title {
    position: relative;

    grid-column-start: 2;

    grid-row-start: 1;

    text-align: center;

    margin: auto;
}

.popup-topbar .close-button {
    position: relative;

    grid-column-start: 3;

    user-select: none;

    cursor: pointer;

    width: 90%;
    height: 50px;

    float: left;

    text-align: center;

    line-height: 50px;

    color: #f8f9fa;

    background-color: #29abe1;

    margin: auto;

    border-radius: 50px;

    transition-property: background-color, color;
    transition-duration: .2s;
}

.popup-topbar .close-button:hover {
    background-color: rgb(175, 0, 0);

    color: #f8f9fa;
}

.popup-inner {
    position: relative;
    
    display: block;

    width: 100%;

    grid-row-start: 2;

    overflow-y: auto;
    overflow-x: hidden;
}

.popup-inner .widget {
    padding: 5%;
}

.popup-inner #contact-form {
    display: grid;

    grid-template-rows: auto 1fr;
    grid-template-columns: 100%;
}

.popup-inner #contact-form .textwidget {
    grid-row-start: 2;
}

.popup-inner #contact-form #google-maps {
    display: block !important;

    grid-row-start: 1;

    width: 100%;
    min-width: 50px;
    
}

@media (min-width: 850px) {
    .popup-inner #contact-form {
        display: grid;

        grid-template-columns: 1fr 1fr;
        grid-template-rows: 100%;
    }

    .popup-inner #contact-form .textwidget {
        grid-column-start: 1;
        grid-row-start: 1;
    }

    .popup-inner #contact-form #google-maps {
        grid-column-start: 2;
        grid-row-start: 1;

        width: 100%;
    }

    .popup-inner #contact-form #google-maps iframe {
        width: 100%;

        height: 500px;
    }
}

.popup-inner #privacy {
    max-width: 1200px;
    margin: 0 auto 0 auto;
}

#contact-form .widget_text {
    padding: 0 !important;
}


.wpcf7 textarea,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
    min-width: 90%;
    max-width: 90%;
}

@media (min-width: 850px) { 
    .wpcf7 textarea,
    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"] {
        min-width: 25%;
        max-width: 85%;
    }
}

.wpcf7 .ajax-loader {
    position: absolute;
}

.contact-submit {
    border: none !important;

    border-radius: 50px !important;

    cursor: pointer;

    width: 150px;
    height: 50px;

    transition-property: background-color;
    transition-duration: .2s;
}

.contact-submit:focus {
    outline: none;
    border: none;
}

.contact-submit:hover {
    color: #f1f1f1;

    background-color: #29abe1;
}

/* Footer */
.footer {
    display: grid;

    position: relative;

    grid-template-rows: 1fr 1fr 1fr;

    align-items: center;

    background-color: #f8f9fa;
}

.footer .logo-wrap {
    display: flex;

    grid-row-start: 3;

    justify-content: center;

    align-items: center;

    margin: 0 auto 0 auto;

    width: 80%;
    height: 150px;
}

.logo-wrap img {
    object-fit: contain;

    margin: 0 !important;

    height: auto;
    width: auto;
}

.footer .modal-links {
    display: grid;

    grid-row-start: 1;

    grid-template-rows: repeat(1, 1fr);

    grid-gap: 20px;
}

.modal-links .button {
    display: block;

    text-align: center;

    width: 100%;
    height: 100%;
}

.footer .social-links {
    display: grid;

    grid-row-start: 2;

    grid-template-columns: repeat(1, 50px);

    justify-content: center;

    grid-gap: 10px;
}

.social-links a {
    display: block;

    text-align: center;

    width: 100%;

    font-size: 30px;

    color: #9b9b9b;

    transition-property: color;
    transition-duration: .2s;
}

.social-links a:hover {
    color: #29abe1;
}

@media (min-width: 850px) {
    .footer {
        grid-template-rows: none;
        grid-template-columns: 1fr 1fr 1fr;
    }

   .footer .logo-wrap {
        display: flex;

        grid-column-start: 1;
        grid-row-start: none;

        margin: 0 auto 0 auto;

        width: 80%;
        height: 80px;
    }

    .logo-wrap img {
        object-fit: contain;

        height: 50px;
        width: auto;

        
    }

    .footer .modal-links {
        display: grid;

        grid-column-start: 2;
        grid-row-start: none;

        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: none;

        grid-gap: 20px;
    }

    .modal-links .button {
        display: block;

        text-align: center;

        width: 100%;
        height: 100%;
    }

    .footer .social-links {
        display: grid;

        grid-column-start: 3;
        grid-row-start: none;

        grid-template-columns: repeat(1, 50px);

        justify-content: center;

        grid-gap: 20px;
    }

    .social-links a {
        display: block;

        text-align: center;

        width: 100%;

        font-size: 30px;
    } 
}

/* Cookies */
.cookies-wrap {
    position: fixed;

    display: block;

    bottom: 0;

    width: 100%;

    transition: .5s;

    transform: translateY(100%);

    box-shadow: 10px 0 10px gray;

    background-color: #f8f9fa;

    z-index: 3;
}

.cookies-wrap.show {
    transform: translateY(0%);
}

.cookies-content {
    position: relative;

    display: block;

    padding: 25px 0;

    line-height: 50px;

    text-align: center;
}

.cookies-content .popup-toggler {
    display: inline-block;
}

.cookie-buttons {
    display: inline-block
}

.button {
    display: inline-block;

    width: 100px;
    height: 50px;

    border-radius: 50px;
}

.cookies-accept {
    background-color: #29abe1;

    color: #f1f1f1;

    margin: 0 25px;

    transition: .2s;
}

.cookies-deny {
    color: #9b9b9b;

    transition: .2s;
}

.cookies-deny:hover {
    background-color: #9b9b9b;

    color: #f1f1f1;
}

.cookies-privacy {
    display: inline-block;
}

.keep-icon-box-left .elementor-icon-box-wrapper {
  display: flex;
  flex-direction: row;
}

.keep-icon-box-left .elementor-icon-box-icon {
  flex: 0 0 auto;
  margin-left: 0px !important;
  margin-right: 14px !important;
}

.keep-icon-box-left .elementor-icon-box-content {
    margin-left: 20px !important;
}

#pratenmet-grecaptcha {
    display: inline-block;

    overflow: hidden;

    border-radius: 3px;

    box-shadow: grey 0px 0px 5px;

    margin-bottom: 25px;
}

#pratenmet-grecaptcha a,
#pratenmet-grecaptcha a:link,
#pratenmet-grecaptcha a:visited {
    color: white;
}

#pratenmet-grecaptcha a:hover {
    text-decoration: underline;
}

#pratenmet-grecaptcha .pratenmet-gr-badge {
    float: left;

    width: 75px;
    height: 75px;
    
    padding: 10px;

    background-color: #f9f9f9;
}

#pratenmet-grecaptcha .pratenmet-gr-badge img {
    height: auto;
    width: auto;
}

#pratenmet-grecaptcha .pratenmet-gr-content {
    display: flex;

    flex-direction: column;

    flex-grow: 1;

    float: left;

    height: 75px;

    padding: 0 20px 0 20px;

    background-color: #4a90e2;

    color: white;

    font-family: Roboto, helvetica, arial, sans-serif;
    font-size: 13px;
    font-weight: 400;

    justify-content: center;
}

#pratenmet-grecaptcha .pratenmet-gr-content .content-sub {
    font-size: 11px;
}

#pratenmet-grecaptcha .pratenmet-gr-content .content-sub span {
    font-size: 8px;
}

.grecaptcha-badge {
    visibility: collapse !important;
}