/*!
Theme Name: untheme
Author: megamind
Author URI: me@megamind.me
Description: No description
Version: 1.0.2
License: GNU General Public License v2 or later
Text Domain: untheme
*/

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.about-first-sect h1 {
    margin: 0 0 20px 4vw !important
}

header .logo {
    min-width: 150px !important;
}

.header-white .logo-black,
.contact-opened.modal-open .logo-white {
    display: block
}

header .logo-black,
header.pinned .logo-white,
.contact-opened.modal-open .logo-black,
.menu-opened.modal-open .logo-white {
    display: none;
}

header .logo-white,
header.pinned .logo-black,
.menu-opened.modal-open .logo-black {
    display: block;
}

.header-white .logo-white {
    display: none !important
}

.modal-open .header-white .logo-white {
    display: block !important
}

header .logo img {
    filter: none !important;
}

header .main-nav ul li.current-menu-item a {
    background: #078434;
    color: #fff;
}

header .main-nav ul li.current-menu-item img {
    filter: none;
}

header .main-nav>li.current-menu-item>a:after,
footer .footer-nav li.current-menu-item a:after {
    content: "";
    display: block;
    clear: both;
    height: 1px;
    background: #ffffff;
    margin: 5px auto -5px;
    width: 100%;
    opacity: 1;
    transition: all 0.3s ease;
}


/*
@media (min-width: 768px) {
    .body-page header .slogan {
        min-width: 125px;
    }
}
*/


/*
GDPR
*/

#modalGdpr {}

#modalGdpr .modal-holder {
    position: relative;
}

#modalGdpr .global-close-btn {
    position: fixed !important;
    top: 30px !important;
    right: 30px !important;
    width: 24px !important;
    height: auto !important;
}

#modalGdpr .modal-content {
    border-radius: 0 !important;
}


/*
dirty hacks
*/

footer .soc-links {
    margin: 2em 0;
}

@media (max-width: 767px) {
    footer .soc-links li {
        display: inline-block;
    }
    footer .soc-links {
        display: block !important
    }
}


/* Text meant only for screen readers. */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    position: absolute !important;
    word-wrap: normal !important;
}

pre {
    font-family: "iA Writer Duospace Regular", monospace !important;
    background-color: #111 !important;
    color: greenyellow !important;
    font-size: 11px !important;
}


/* hide spanish

.lang-item-es {
    display: none !important;
}
*/

.smart-house-sect .carousel-row .swiper-slide .slide-text {
    height: 155px !important;
}

.location a,
.location a:hover {
    color: white;
    line-height: 18px;
    display: inline-block;
}

.location {
    padding-bottom: 10px;
}


/* security */

@media (min-width: 768px) {
    .service-view-about-sect .full-carousel .slide-title strong.wider {
        max-width: 360px;
        min-width: 340px;
        /* word-break: break-all; */
    }
    .security-list {
        padding-bottom: 10px;
    }
}

@media (max-width: 767px) {
    .service-view-about-sect .full-carousel .slide-title {
        text-align: left !important;
    }
    .service-view-about-sect .full-carousel .slide-title strong.wider {
        max-width: 260px;
        min-width: 240px;
    }
}

.service-view-about-sect .full-carousel .slide-title strong {
    word-wrap: break-word;
}

/*
lang dropdown
*/

header .main-nav ul.sub-menu-language {
    min-width: none;
}

header .main-nav ul.sub-menu-language li {
    width: 50%;
}

.flag_container {

    position: fixed;
    bottom: 0; right: 0;transform: translateX(45%);

    z-index: 999;

  }

  .flag_ribbon {
    display: block;
    width: 100vw;
    height: 3vw;
    transform: rotate(-45deg);
    background-image: url("data:image/svg+xml,%3Csvg class='flag' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 800'%3E%3Crect width='1200' height='800' fill='%23005BBB'/%3E%3Crect width='1200' height='400' y='400' fill='%23FFD500'/%3E%3C/svg%3E");
    background-size: auto;

  }

.project-view-work-wrapper p.has-text-align-left {
    padding-left: inherit;
    padding-right: inherit;
}

/* fix header */

@media (min-width: 768px) {
    .modal-open header nav {
        margin-right: 240px;
    }

    body.contact-opened header {
        margin-top: 32px;
    }
    header.pinned {
        padding: 12px 0;
        min-height: 80px;
    }
}

@media (max-width: 767px) {
    .about-content-sect .centered-text-medium p.has-large-font-size {
        line-height: inherit !important;
        font-size: 22px !important;
        font-weight: 400 !important;
    }
}