/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/


/*==FONTS==*/
@font-face {
    font-family: 'TAN - MERINGUE';
    src: url(/wp-content/themes/ihmetys/assets/fonts/TAN%20-%20MERINGUE.eot);
    src: url(/wp-content/themes/ihmetys/assets/fonts/TAN%20-%20MERINGUE.eot) format('embedded-opentype'),
		url(/wp-content/themes/ihmetys/assets/fonts/TAN%20-%20MERINGUE.woff2) format('woff2'),
		url(/wp-content/themes/ihmetys/assets/fonts/TAN%20-%20MERINGUE.woff) format('woff'),
		url(/wp-content/themes/ihmetys/assets/fonts/TAN%20-%20MERINGUE.ttf) format('truetype');
	font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body{
    font-family: urbane, sans-serif;   
    font-style: normal;
}

h4{
	font-family: 'TAN - MERINGUE';
}

p,h1,h2,h3,h5{
    font-family: urbane, sans-serif;
    font-style: normal;
    font-weight: 500;   
}

a:hover{
    color:#EE9700;
}

.elementor-icon-list-text{
    font-family: urbane, sans-serif;
    font-style: normal;
    font-weight: 300;
}

span.elementor-button-text {
    font-family: 'urbane';
    font-style: normal;
    font-weight: 300;
}





/*==Viiva grafiikat taustassa==*/

.waves-on-left,
.waves-on-right,
.big-wave-on-left,
.big-wave-on-right{
	position:relative;
}

.waves-on-left:after {
    content: "";
    width: 150px;
    height: 800px;
    position: absolute;
    bottom: -350px;
    left: 0;
    background: url(/wp-content/uploads/2022/11/viivat-kelta-pysty.svg) no-repeat left /contain;
    z-index: 100;
}

.waves-on-right:after{
    content: "";
    width: 150px;
    height: 800px;
    position: absolute;
    bottom: -350px;
    right: 0;
    background: url(/wp-content/uploads/2022/12/keltasetviivat_iso.svg) no-repeat right /contain;
    z-index: 100;   
}

.big-wave-on-left:after{
    content: "";
    width: 200px;
    height: 900px;
    position: absolute;
    bottom: -350px;
    left: 0;
    background: url(/wp-content/uploads/2022/12/sinisetviivat_iso.svg) no-repeat left /contain;
    z-index: 100;   
}

.big-wave-on-left-yellow:after{
    content: "";
    width: 190px;
    height: 700px;
    position: absolute;
    bottom: -350px;
    right: 0;
    background: url(/wp-content/uploads/2023/01/keltasetviivat_iso_vasen.png) no-repeat right /contain;
    z-index: 100;   
}



@media screen and (max-width:1200px){
	.waves-on-left:after {
		content: "";
		width: 150px;
		height: 620px;
		position: absolute;
		bottom: -300px;
		left: 0;
		background: url(/wp-content/uploads/2022/11/viivat-kelta-pysty.svg) no-repeat left /contain;
		z-index: 100;
	}

    .waves-on-right:after{
        content: "";
        width: 150px;
        height: 600px;
        position: absolute;
        bottom: -350px;
        right: 0;
        background: url(/wp-content/uploads/2022/12/keltasetviivat_iso.svg) no-repeat right /contain;
        z-index: 100;   
    }

    .big-wave-on-left:after{
        content: "";
        width: 180px;
        height: 800px;
        position: absolute;
        bottom: -350px;
        left: 0;
        background: url(/wp-content/uploads/2022/12/sinisetviivat_iso.svg) no-repeat left /contain;
        z-index: 100;   
    }

    .big-wave-on-left-yellow:after{
        content: "";
        width: 180px;
        height: 700px;
        position: absolute;
        bottom: -350px;
        right: 0;
        background: url(/wp-content/uploads/2023/01/keltasetviivat_iso_vasen.png) no-repeat right /contain;
        z-index: 100;   
    }
}

@media screen and (max-width:1024px){
    .waves-on-left:after {
        content: "";
        width: 150px;
        height: 620px;
        position: absolute;
        bottom: -250px;
        left: 0;
        background: url(/wp-content/uploads/2022/11/viivat-kelta-pysty.svg) no-repeat left /contain;
        z-index: 100;
    }

    .waves-on-right:after {
        content: "";
        width: 150px;
        height: 600px;
        position: absolute;
        bottom: -350px;
        right: 0;
        background: url(/wp-content/uploads/2022/12/keltasetviivat_iso.svg) no-repeat right /contain;
        z-index: 100;
    }

    .big-wave-on-left:after{
        content: "";
        width: 160px;
        height: 750px;
        position: absolute;
        bottom: -350px;
        left: 0;
        background: url(/wp-content/uploads/2022/12/sinisetviivat_iso.svg) no-repeat left /contain;
        z-index: 100;   
    }

    .big-wave-on-left-yellow:after{
        content: "";
        width: 150px;
        height: 700px;
        position: absolute;
        bottom: -350px;
        right: 0;
        background: url(/wp-content/uploads/2023/01/keltasetviivat_iso_vasen.png) no-repeat right /contain;
        z-index: 100;   
    }
}
@media screen and (max-width:767px) {
    .waves-on-left:after,
    .waves-on-right:after,
    .big-wave-on-left:after,
    .big-wave-on-right:after {
    display: none!important;
    }

}



/*Header*/

.main-nav a{
    font-family: urbane, sans-serif;
    font-style: normal;
    font-weight: 200;
    text-transform: uppercase;
}

.main-nav .menu-item{
    padding: 12px 10px;
}

.main-nav .tarjous-btn {
    border: solid 2px #EE9700;
    padding: 12px 10px;
    margin-left: 30px;
    transition:ease-in-out .3s;
}

.main-nav .tarjous-btn:hover {
    background-color:#ee9700 ;
}

.main-nav .menu-item a{
    z-index: 10;
}

.main-nav .elementor-nav-menu .menu-item a::after{
    content: '';
    display: block!important;
    width: 0%!important;
    height: 12px!important;
    background: #ee9700!important;
    transition: ease-in-out.3s!important;
    margin-top:41px;
    z-index: -1;
}

.main-nav .elementor-nav-menu--dropdown .menu-item a::after{
    content: '';
    display: none!important;
    width: 0%!important;
    height: 0px!important;
    background: #ee9700!important;
    transition: ease-in-out.3s!important;
    margin-top:0px;
    z-index: -1;
}

.main-nav .menu-item a:hover::after{
	width: 100%!important;
    transition: width .3s!important;
	opacity:100%!important;
}


/* .main-nav .menu-item a:hover{
    box-shadow: inset 0 -10px 0 #ee9700;
} */

.main-nav .current-menu-item a{
    box-shadow: inset 0 -12px 0 #ee9700;
} 

/* .main-nav .tarjous-btn.menu-item a:hover,
.main-nav .tarjous-btn.menu-item a:active, */
.main-nav .tarjous-btn.menu-item a::after{
    box-shadow: none;
    content:none;
    display: none;
}





/*Global Styles*/

.heading-link a:hover{
    box-shadow: inset 0 -13px 0 #ee9700;
}

.heading-link a{
    transition:ease-in-out .3s;
    font-weight: 700;
    font-size: 20px;
}

.h2-tausta span{
    box-shadow: inset 0 -33px 0 #EE9700;
    padding-left: 10px;
    padding-right: 10px;
}

.h3-tausta span {
    box-shadow: inset 0 -27px 0 #ee9700;
    padding-left: 2px;
    padding-right: 3px;
}

@media screen and (max-width:767px){
    .h2-tausta span{
            box-shadow: inset 0 -25px 0 #EE9700;
            padding-left: 10px;
            padding-right: 10px;
    }

    .h3-tausta span {
        box-shadow: inset 0 -21px 0 #ee9700;
        padding-left: 2px;
        padding-right: 3px;
    }    
}

.elementor-icon-list-icon svg,
.elementor-icon-list-item a{
    transition: ease-in-out .3s;
}



/*Elementor button*/
.elementor-button{
	border:solid 2px #fff;
	background-color:transparent;
}

.elementor-button:hover{
	border:solid 2px #EE9700;
	background-color:#EE9700;
}



/*Block quote*/

.free-quote .elementor-blockquote__content{
    position: relative;
 }
 
 .free-quote .elementor-blockquote{
     padding-left:70px;
 }
 
 .free-quote .elementor-blockquote p{
    font-weight: 200;
    font-size: 17px;
}

 .free-quote .elementor-blockquote__content:before{
    content:'“';
    font-family: 'TAN - MERINGUE';
    position: absolute;
    top:90px;
    left:-90px;
    font-size: 150px;
    opacity: .3;
 }

 .free-quote  .elementor-blockquote__author{
    font-family: 'Urbane';
    text-transform:uppercase;
    width:65%;
    font-weight: 600;
    font-size: 19px;
    line-height: 1.3em;
}

@media screen and (max-width:767px){
    .free-quote  .elementor-blockquote__author{
        font-family: 'Urbane';
        text-transform:uppercase;
        width:100%;
        font-weight: 600;
        font-size: 18px;
        line-height: 1.3em;
    } 

    .free-quote .elementor-blockquote__content:before{
        content:'“';
        font-family: 'TAN - MERINGUE';
        position: absolute;
        top:70px;
        left:-68px;
        font-size: 120px;
        opacity: .3;
     }
     
     .free-quote .elementor-blockquote{
        padding-left:50px;
    }  
}



/*Slick Styles*/

.slick-arrow{
	font-size:0;
	border:none;
	outline:none;
    
}

.slick-arrow:hover,
.slick-arrow:active,
.slick-arrow:focus{
    background-color:transparent;
    border:none;
    outline:none;
}

/*Reference slides*/
.slide-references .slick-next::before{
	color:#235A8B;
	content:'\f054';
	font-family:'Font Awesome 5 Free';
    font-size: 25px;
}

.slide-references .slick-prev::before{
	color:#235A8B;
	content:'\f053';
	font-family:'Font Awesome 5 Free';
    font-size: 25px;
}

.slide-references .slick-prev{
    top: 85%;
    left:150px;
    display: block;
    width: 25px;
    height: 25px;
    padding: 0;
    z-index: 10;
    /* -webkit-transform: translate(250%, -50%);
    -ms-transform: translate(250%, -50%);
    transform: translate(250%, -50%); */
    transition:ease-in-out .3s;
}

.slide-references .slick-next{
    top: 85%;
    left:220px;
    display: block;
    width: 25px;
    height: 25px;
    padding: 0;
    z-index: 10;
    /* -webkit-transform: translate(450%, -50%);
    -ms-transform: translate(450%, -50%);
    transform: translate(450%, -50%); */
    transition:ease-in-out .3s;
    animation: hover-side 2.5s ease-in-out infinite;
}

@keyframes hover-side {
	0% {
        left:220px;
	}
	50% {
        left:225px;
	}
	100% {
        left:220px;
	}
}





@media screen and (max-width:1200px){
    .slide-references .slick-prev{
        top: 80%;
        left:75px;
    }
    
    .slide-references .slick-next{
        top: 80%;
        left:145px;
    }
}

@media screen and (max-width:1024px){
    .slide-references .slick-prev{
        top: 95%;
        left:50px;
    }
    
    .slide-references .slick-next{
        top: 95%;
        left:120px;
    }
}

@media screen and (max-width:767px){
    .slide-references .slick-prev{
        top: 96%;
        left:30px;
    }
    
    .slide-references .slick-next{
        top: 96%;
        left:100px;
    }
}




/*Suositukset slides*/

.slide-suositukset .slick-prev{
    top: 110%;
    display: block;
    width: 20px;
    height: 20px;
    padding: 0;
    -webkit-transform: translate(250%, -50%);
    -ms-transform: translate(250%, -50%);
    transform: translate(250%, -50%);
}

.slide-suositukset .slick-next{
    top: 110%;
    display: block;
    width: 20px;
    height: 20px;
    padding: 0;
    -webkit-transform: translate(450%, -50%);
		left:0;
    -ms-transform: translate(450%, -50%);
    transform: translate(450%, -50%);
    animation: hover-side-suositus 2.5s ease-in-out infinite;
}

.slide-suositukset .slick-next::before{
	color:#EE9700;
	content:'\f054';
	font-family:'Font Awesome 5 Free';
	font-size:25px;
}

.slide-suositukset .slick-prev::before{
	color:#EE9700;
	content:'\f053';
	font-family:'Font Awesome 5 Free';
	font-size:25px;
}

.slide-suositukset .elementor-post{
	margin:50px 0px!important;
}

@keyframes hover-side-suositus {
	0% {
        transform: translate(450%, -50%);
	}
	50% {
        transform: translate(470%, -50%);
	}
	100% {
        transform: translate(450%, -50%);
	}
}



/*===Tarjouspyyntö lomake / Gravity forms===*/

.gform_required_legend{
    display:none;
}


.gform_wrapper input[type=text],
.gform_wrapper input[type=email],
.gform_wrapper input[type=tel]{
   background-color:transparent;
   border-color:#235A8B;
   border-width:0px 0px 2px 0px;
   border-radius:0px;
   font-family:'Urbane';
   color:#000;
   margin-bottom:20px!important;
   outline:none;
   
}

.gfield_description{
   font-family:'Urbane'!important;
   font-size:15px!important;
   line-height:1.4em!important;
}

.gform_wrapper input[type=text]::placeholder {
   color:#1F1F1F;
}

.gform_wrapper label,
.gform_wrapper legend{
   font-family:'Urbane';
   font-weight:500!important;
}

.ginput_container_checkbox,
.ginput_container_radio{
   margin-bottom:20px;
}

.ginput_container_select{
   margin-bottom:20px;
   width:25%!important;
}

.ginput_container_select select{
   border: solid 2px #235A8B;
   border-radius:0px;
   background-color:#F6F3FB;
   font-family:'Urbane'!important;

}

.gform_wrapper .button{
   border: solid 2px #235A8B;
   border-radius:0px;
   background-color:#F6F3FB!important;
   color:#000!important;
   font-family:'Urbane'!important;
   text-transform:uppercase;
   font-size:15px;
   font-weight:500;
   padding:6px 25px 5px 25px;
}

.gform_wrapper .button:hover,
.gform_wrapper .button:focus{
   background-color:#235A8B!important;
   color:#fff!important;

}
