/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Theme Name: Galilahi-theme
    Created on : Feb 15, 2021, 1:47:11 PM
    Author     : IAmAD
*/
body {
    background:#ffffff;
    font-family: 'Raleway', sans-serif;
    position: relative;
    min-height: 100vh;
    font-weight: 300 !important;
}

header {
    background: #ffffff;
    width: 100%;
    min-height: 100px;
    letter-spacing: 2px;
    font-size: .9375rem;
    border-bottom: inset;
    border-color: #eae9e5;
    border-width: 1px;
}

@media screen and (max-width: 991px) {
    header {
        min-height: 70px;
    }
}

.mobile-menu {
    position: absolute;
    top: 70px;
    left: -300px;
    height: 100vh;
    width: 300px;
    z-index: 999;
    flex-direction: column;
    background: #FFF;
    padding: 20px 50px 0 20px;
    
    border-right: inset;
    border-color: #eae9e5;
    border-width: 1px;
    
    transition: all 0.5s;
}

.mobile-menu.open {
    left: 0px;
}

.mobile-menu .header-menu-1,
.mobile-menu .header-menu-2 {
    width: 100%;
    text-align: left;
}

.mobile-menu .header-menu-1 li,
.mobile-menu .header-menu-2 li {
    display: block;
    padding: 8px 0px;
}

.header-menu-2 li a,
.header-menu-1 li a{
    color: #000000;
    text-decoration: none;
    padding: 10px;
    position: relative;
    z-index: 1;
}

.header-menu-2 li,
.header-menu-1 li{
    position: relative;
    margin-right: 16px;
    display: inline-block;
    text-transform: uppercase;
}

.header-menu-1 > li,
.header-menu-2 > li {
    height: 60px;
    line-height: 60px;
}

.header-menu-1 > li > ul > li,
.header-menu-2 > li > ul > li {
    height: auto;
    line-height: 100%;
}

.header-menu-1 li:last-child,
.header-menu-2 li:last-child {
    margin-right: 0px;
}

.header-menu-1 li .sub-menu,
.header-menu-2 li .sub-menu{
    opacity: 0;
    transition: 0.5s all;
    position: absolute;
    z-index: 999;
    top: 100%;
    left: 0;
    margin: 0;
    padding: 0;
    list-style-type: none;
    text-align: center;
    pointer-events: none;
    margin-top: 5px;
}
.header-menu-1 .menu-item-has-children:hover > .sub-menu,
.header-menu-2 .menu-item-has-children:hover > .sub-menu{
    pointer-events: auto;
    opacity: 1;
    background: #fff;
}
.header-menu-1 .menu-item-has-children .sub-menu > .menu-item-has-children:hover > .sub-menu,
.header-menu-2 .menu-item-has-children .sub-menu > .menu-item-has-children:hover > .sub-menu {

    display: block;

}

.header-menu-1 li .sub-menu > li,
.header-menu-2 li .sub-menu > li {
    padding: 10px 4px;
    margin: 0px;
}

.header-menu-1 li .sub-menu > li:last-child,
.header-menu-2 li .sub-menu > li:last-child {
    border-bottom: none;
}

.header-menu-1 li .sub-menu a,
.header-menu-2 li .sub-menu a {
    color: #56514f;
    display: block;
    text-decoration: none;
}

.header-menu-1 .sub-menu li .sub-menu,
.header-menu-2 .sub-menu li .sub-menu{
    top: 0;
    left: 100%;

}

.header-menu-2 li:before,
.header-menu-1 li:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 0;
    height: 100%;
    background-color: #eae9e5;
    border-radius: 15px;
    transition: all 0.7s ease;
    opacity: 0;
}

.header-menu-2 li:hover:before,
.header-menu-1 li:hover:before {
    width: 100%;
    opacity: 1;
}

/* CONTENT */

.wider-container {
    max-width: 1600px;
}

.content-container {
    padding-top: 5em;
    padding-bottom: 5em;
}

.padding-20 {
    padding: 20px;
}


/* FOOTER */

footer {
    background: #eae9e5;
    width: 100%;
    min-height: 250px;
    letter-spacing: 2px;
    font-size: .9375rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

footer a, footer a:hover {
    color: #78716e;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85em;
    font-weight: 400;
}

footer li {
    list-style-type: none;
}

footer .social-media a:not(:last-child) {
    margin-right: 20px;
}

.social-media {
    color: #78716e;
}

.underbar {
    background: #78716e;
}

.mt-50 {
    margin-top: 100px;
}

.mt-40 {
    margin-top: 50px;
}

.mb-50{
    margin-bottom: 100px;
}

.splide__slide img {
    width: 100%;
    height: auto;
}

.main-slider{
    max-height: calc(100vh - 130px);
    overflow: hidden;
}

.main-slider img{
    height: 100%;
}

.textcolumn {
    background: #eae9e5;
    border: none;
    height: 100%;
}

.mt-200{
    margin-top: 200px;
}


.frontpagecontentcardbutton1:hover{
    color: #ffffff;
    background: #78716e;
    text-align: center;
}

.text-box-container{
    background: #eae9e5;
}

.text-container{
    padding: 20px;
}

.buttoncontainer-1{
    padding: 100px;
}

.container-latestcolumns{
    margin-top: 80px;
    margin-bottom: 30px;
}

.contentcardtext3{
    color: #78716e;
    text-align: center;
    padding: 30px;
    background: #eae9e5;
    margin: 0;
}

.latest{
    margin-top: 100px;
    text-align: center;
}

.latestfont{
    text-transform: uppercase;
    color: #78716e;
    letter-spacing: 5px;
    font-size: 1.1rem;
    line-height: 1rem;
    font-weight: 400;
}

.title-before-title{
    letter-spacing: 5px;
    font-size: 1rem;
    line-height: 1rem;
    text-transform: uppercase;
    font-weight: 400;
}

.latest-container-text{
    letter-spacing:2px;
    font-weight: 300;
}

.half-slider {

}

.content-slider-box{
    background: #eae9e5;
    color: #78716e;
    margin: 0;
}

.content-slider-textbox-2-title{
    font-size: 4.375rem;
    line-height: 4.375rem;
    font-weight: 100;
}


.get-in-touch-text{
    text-transform: uppercase;
    text-align: center;
    margin-top: 150px;
    background: #C1BABB;
    background: -webkit-linear-gradient(to right, #C1BABB 0%, ead6d2 100%);
    background: -moz-linear-gradient(to right, #C1BABB 0%, ead6d2 100%);
    background: linear-gradient(to right, #C1BABB 0%, ead6d2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    font-weight: 300;
}

.focus-color:focus {
    background: #d8d8d8 !important;
}

.contact-contact #eesnimi,
.contact-contact #perekonnanimi,
.contact-contact #email,
.contact-contact #pohjusevalik{
    display: inline-block;
    height: 42px;
    padding: 6px 20px;
    background-color: #ffffff;
    border-radius: 20px;
    outline: none;
    letter-spacing: 1px;
    transition: opacity 0.5s ease-in-out;
    float: right;
    width: 100%;
    margin: 10px 1%;
    border: hidden;
}

.contact-contact #sonum{
    resize: none;
    display: inline-block;
    width: 100%;
    min-height: 150px;
    padding: 6px 20px;
    background-color: #ffffff;
    border-radius: 30px;
    outline: none;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.2s ease;
    border: hidden;
}

.error{
    background: #ee5739!important;
}



.submitbutton:hover{
    background: #78716e;
    color: #fff;
}

.submitbutton-contact{
    background: #eae9e5;
    border: 0.5px solid #78716e; 
    padding: 0.50rem 1rem;
    border-radius: 2.5rem / 100%;
    overflow: hidden;
    color: #78716e;
    align-content: center;
    text-align: center;
    width: 100%;
    max-width: 160px;
    min-width: 120px;
    transition: opacity 0.5s ease-in-out;
    margin-top: 15px;
    margin-bottom: 15px;

}

.submitbutton-contact:hover{
    background: #78716e;
    color: #fff;
}

.instagram-picture{
    height: 255px; /* You must set a specified height */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover; /* Resize the background image to cover the entire container */
    overflow: hidden;
    padding: 10px;
    position: relative;
    margin-left: -5px;
}

.instagram-picture-top{
    margin-top: 30px;
}

.instagram-picture-bot{
    margin-top: -5px;
}

.instagram-picture .imagepadder{
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.instagram-picture img{
    height: 100%;
    position: absolute;
    top: 0;
    left: -50%;
}

.instagram-textbox{
    background: #eae9e5;
    float: left;
    height: 560px;
    width: 33.33%;
    padding-top: 270px;
    padding-left: 20px;
    margin-right: 15px;
}

.instagram-custom-text{
    text-decoration: none;
    font-size: 3.125rem;
    font-weight: 100;
    letter-spacing: 2px;
}

.bottom-slider{
    margin-bottom: 150px;
    margin-top: 50px;
}

.bottom-slider img{
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 300px;
    padding: 0 20px;
    transform: translate(-50%, -50%);
    opacity: 0.5;
}

.featured-in{
    text-align: center;
    margin-top: 100px;
}

.featured-in-text{
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 5px;
    font-size: 1rem;
    line-height: 1rem;
}

.Services-front-image img{
    height: 871px;
    width: 1800px;
}

.about-image{
    position: relative;
    text-align: center;
}

.about-image img{
    max-height: 500px;
    max-width: 1800px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.center-text{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

.imagecolumn4 {
    background-image: url('2_nature_2.png'); /* The image used */
    background-color: #cccccc; /* Used if the image is unavailable */
    height: 900px; /* You must set a specified height */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover; /* Resize the background image to cover the entire container */
}

.imagecolumn-left-image img{
    height: 900px;
    max-width: 100%;
}

.imagecolumn3{
    background-image: url('2_nature_2.png'); /* The image used */
    background-color: #cccccc; /* Used if the image is unavailable */
    height: 900px; /* You must set a specified height */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover; /* Resize the background image to cover the entire container */
}

.image-right img{
    width: 100%;
}

.centered-button{
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border: 1px solid #ffffff; 
    padding: 0.50rem 1rem;
    font-size: 1rem;
    border-radius: 2.5rem / 100%;
    overflow: hidden;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #78716e;
}

.centered-button:hover{
    color: #ffffff;
    background: #78716e;
    text-align: center;
}

.image-background {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.textcolumn-contact {
    background: #eae9e5;
    border: none;
    height: 100%;
    text-align: center;
}

.contentcardtext-contact {
    padding: 100px;
    padding-top: 250px;
}

.get-in-touch-text-contact{
    text-transform: uppercase;
    text-align: center;
    background: #C1BABB;
    background: -webkit-linear-gradient(to right, #C1BABB 0%, ead6d2 100%);
    background: -moz-linear-gradient(to right, #C1BABB 0%, ead6d2 100%);
    background: linear-gradient(to right, #C1BABB 0%, ead6d2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.center-post-title{
    position: absolute;
    margin-top: 125px;
    margin-left: 2%;
    color: white;
}

.center-post-title-2{
    position: absolute;
    margin-top: 175px;
    margin-left: 2%;
    color: white;
}

.post-images img{
    max-height: 300px;
    max-width: 100%;
}

.text-start:hover,
.text-start{
    color: white;
    font-weight: 100;
}

.text-end-color,
.text-end-color:hover{
    color: white;
    font-weight: 100;
}


@media screen and (max-width: 840px) {
    .instagram-textbox{
        width: 100%;
        padding-bottom: 80px;
        padding-top: 80px;
        height: 100%;
    }
}

@media screen and (max-width: 840px) {
    .instagram-picture-top{
        margin-top: 0px;
        margin-left: 0px;
    }
}

@media screen and (max-width: 840px) {
    .instagram-picture-bot{
        margin-left: 0px;
    }
}

@media screen and (max-width: 840px) {
    .content-slider-box{
        font-size: 2.375rem;
        line-height: 2.375rem;
    }
}

@media screen and (max-width: 840px) {
    .content-slider-textbox-2-title{
        font-size: 2.375rem;
        line-height: 2.375rem; 
    }
}

@media screen and (max-width: 840px) {
    .latest-container-text{
        font-size: 1.1rem;
        line-height: 1.5rem; 
    }
}

@media screen and (max-width: 840px) {
    .contentandslider{
        height: auto;
    }
}

@media screen and (max-width: 840px) {
    .margin-for-button-mobile{
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 840px) {
    .contentcardtext1{
        font-size: 1.1rem;
        line-height: 1.5rem;
        padding-top: 20%;
        padding-left: 15px;
        padding-bottom: 2px;
        padding-right: 15px;
        height: auto;
    }
}

@media screen and (max-width: 840px) {
    .contentcardtitle1{
        margin-top: -15%;
    }
}

@media screen and (max-width: 840px) {
    .imagecolumn1{
        height: 250px;
        margin-top: -100px;
    }
}

@media screen and (max-width: 840px) {
    .imagecolumn2{
        height: 250px;
        margin-top: -200px;
    }
}

@media screen and (max-width: 840px) {
    .splide__slide img{
        height: 100%;
    }
}

@media screen and (max-width: 840px) {
    .wp_nav_menu {
        display: none !important;
    }
}

/* katza lisad */

.caveat {
    font-family: 'Caveat', cursive;
}

.pt-200{
    padding-top: 200px!important;
}

span.bkdesign {
    font-weight: 500;
}

.slider-credentials {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    text-align: center;
    justify-content: center;
    align-items: center;
}


.about-us .image-left {
    background-image: url('images/showcase_apt.jpg'); /* The image used */
    background-color: #cccccc; /* Used if the image is unavailable */
    height: 500px; /* You must set a specified height */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover; /* Resize the background image to cover the entire container */
}

.about-us .image-right-container {
    padding-top: 200px!important;
}

@media screen and (max-width: 991px) {
    .about-us .image-right-container {
        padding-top: 0px!important;
    }
}

.about-us .image-right {
    background-image: url('images/berit-01-cropped.jpg'); /* The image used */
    background-color: #cccccc; /* Used if the image is unavailable */
    height: 500px; /* You must set a specified height */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover; /* Resize the background image to cover the entire container */
}

@media screen and (max-width: 700px) {
    .about-us .image-left,
    .about-us .image-right {
        height: 300px;
    }
}

.content-card {
    padding: 6em 9em;
    color: #78716e;
}

@media screen and (max-width: 700px) {
    .content-card {
        padding: 4em;
    }
}

.content-card-title-small {
    font-weight: 400;
    font-size: 1.2em;
    letter-spacing: 0.2em;
}

.content-card-title {
    font-weight: 100;
    font-size: 4.375rem;
    line-height: 4.375rem;
}

.content-card-text {
    line-height: 2em;
    font-size: 1em;
}

.content-button {
    background: transparent;
    border: 0.5px solid #78716e; 
    padding: 0.6em 2em;
    font-size: 0.9rem;
    border-radius: 2.5rem / 100%;
    overflow: hidden;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #78716e;
    left: 0;
}

.content-button:hover{
    color: #ffffff;
    background: #78716e;
    text-align: center;
}

.frontpagecontentcardbutton1{
    background: #eae9e5;
    border: 2px solid #78716e;
}

.content-slider-textbox-small-container {
    margin-bottom: -30px;
    position: absolute;
    top: -1em;
    left: 0;
    width: 100%;
    margin-left: 110px;
    background-color: #fff;
    border: 1px solid #dad9d6;
    max-width: 135px;
    height: auto;
}

.content-slider-textbox-small-container-title{
    padding: 0;
    font-weight: 300;
    margin-bottom: 0.5em;
    margin-top: 1.5em;
    text-transform: uppercase;
    font-size: 1.1em;
    text-align: center;
    letter-spacing: 0.2em;
    color: #78716e;
}

.content-textbox-3 {
    width: 100%;
    height: 100%;
    padding: 9em;
    padding-top: 12em;
    max-height: 700px;
}

@media screen and (max-width: 840px) {
    .content-textbox-3 {
        padding: 6em;
        padding-top: 8em;
    }
}

@media screen and (max-width: 991px) {
    .content-textbox-3 {
        padding: 3em;
    }
}

.header-menu-1 {
    width: 40%;
    text-align: right;
}

.header-menu-2 {
    width: 40%;
}

.header-menu-2 ul,
.header-menu-1 ul {
    padding: 0;
    margin: 0;
    display: inline-block;
}

.header-container img {
    display: block;
    height: 100px;
    margin-left: 30px;
    margin-right: 30px;
}

.contact-submit-button {
    background: transparent;
    border: 0.5px solid #78716e; 
    padding: 0.5em 2em;
    border-radius: 2.5rem / 100%;
    overflow: hidden;
    color: #78716e;
    align-content: center;
    text-align: center;
    width: 100%;
    transition: opacity 0.5s ease-in-out;
}

/* kontaktivorm */
.contact {
    width: 40%;
}

@media screen and (max-width: 991px) {
    .contact {
        width: 100%;
    }
}

.contact #eesnimi,
.contact #perekonnanimi,
.contact #email {
    height: 42px;
    padding: 6px 20px;
    background-color: #eae9e5;
    border-radius: 20px;
    outline: none;
    letter-spacing: 1px;
    transition: opacity 0.5s ease-in-out;
    width: 100%;
    border: none;
    font-weight: 300;
}

.contact #sonum{
    resize: none;
    display: inline-block;
    min-width: 100%;
    margin-top: 10px;
    min-height: 150px;
    padding: 12px 20px;
    background-color: #eae9e5;
    border-radius: 30px;
    outline: none;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.2s ease;
    border: hidden;
    font-weight: 300;
}

.latest-text-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    flex-direction: column;
    color: #FFF;
    pointer-events: none;
}

.latest-text-container h4 {
    font-weight: 400;
    font-size: 1.1em;
    letter-spacing: 0.3em;
    text-align: center;
    margin-bottom: 0;
}

.latest-text-container h2 {
    font-size: 3.5em;
    margin-bottom: 0;
    text-align: center;
}

.latest-project {
    width: 100%;
    height: 100%;
    background: #eae9e5;
}

.latest-project img {
    width: 100%;
}

.footer-underbar-2 {
    font-size: 1.3em;
}

/* bouncy arrow */
.slider-arrow-down {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    z-index: 99;
    text-align: center;
    opacity: 0.8;
}

.slider-arrow-down a {
    color: #FFF!important;
    display: block;
}

.arrow {
    text-align: center;
}
.bounce {
    -moz-animation: bounce 2s infinite;
    -webkit-animation: bounce 2s infinite;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}




/* mobile menu nav button */
.menu-toggle-box {
    border-radius: 2px;
    position: absolute;
    top: 18px;
    left: 30px;
    transform: translate(0%, 0%);
    width: 50px;
    height: 50px;
}

.menu-toggle-btn {
    position: absolute;
    top: 0px;
    left: 0px;
    transform: translate(0%, 0%);
    width: 50px;
    cursor: pointer;
}

.menu-toggle-box span {
    display: block;
    width: 100%;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    height: 6px;
    background: #eae9e5;
    transition: all .3s;
    position: relative;
}

.menu-toggle-box span + span {
    margin-top: 8px;
}

.active span:nth-child(1) {
    animation: ease .7s top forwards;
}

.not-active span:nth-child(1) {
    animation: ease .7s top-2 forwards;
}

.active span:nth-child(2) {
    animation: ease .7s scaled forwards;
}

.not-active span:nth-child(2) {
    animation: ease .7s scaled-2 forwards;
}

.active span:nth-child(3) {
    animation: ease .7s bottom forwards;
}

.not-active span:nth-child(3) {
    animation: ease .7s bottom-2 forwards;
}

@keyframes top {
    0% {
        top: 0;
        transform: rotate(0);
    }
    50% {
        top: 14px;
        transform: rotate(0);
    }
    100% {
        top: 14px;
        transform: rotate(45deg);
    }
}

@keyframes top-2 {
    0% {
        top: 14px;
        transform: rotate(45deg);
    }
    50% {
        top: 14px;
        transform: rotate(0deg);
    }
    100% {
        top: 0;
        transform: rotate(0deg);
    }
}

@keyframes bottom {
    0% {
        bottom: 0;
        transform: rotate(0);
    }
    50% {
        bottom: 14px;
        transform: rotate(0);
    }
    100% {
        bottom: 14px;
        transform: rotate(135deg);
    }
}

@keyframes bottom-2 {
    0% {
        bottom: 14px;
        transform: rotate(135deg);
    }
    50% {
        bottom: 14px;
        transform: rotate(0);
    }
    100% {
        bottom: 0;
        transform: rotate(0);
    }
}

@keyframes scaled {
    50% {
        transform: scale(0);
    }
    100% {
        transform: scale(0);
    }
}

@keyframes scaled-2 {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}