@font-face{
    font-family:'Manrope';
    src: url(fonts/regular.woff) format('woff'), 
         url(fonts/regular.woff2) format('woff2'); 
	font-display: swap;
}
@font-face{
    font-family:'Manrope Semibold';
    src: url(fonts/semibold.woff) format('woff'), 
         url(fonts/semibold.woff2) format('woff2'); 
	font-display: swap;
}
@font-face{
    font-family:'Manrope Bold';
    src: url(fonts/bold.woff) format('woff'), 
         url(fonts/bold.woff2) format('woff2');
	font-display: swap;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: none;
}
.container{
    padding:30px 0;
    max-width:1170px!important;
}
.nav{
    justify-content:center;
    padding:0;
}
body{
    font-family: 'Manrope', Arial, Helvetica, sans-serif;
}
a{
    color:black;
}
a:hover{
    text-decoration: none;
    color:black;
}
img{
    max-width:100%;
    max-height:100%;
    height:auto;
}

/* nupud*/ 
.btn{
    text-transform: uppercase;
    font-family: 'Manrope Semibold', Arial, Helvetica, sans-serif;
    text-align: center;
    transition: all 0.3s ease-in-out;

}
.btn:focus{
    outline:none;
    box-shadow:none;
}
.btn:hover{
    outline:none;
    box-shadow:none;
    transform: translate(0px, -5px);
}
/* navbar*/  
.navibar{
    align-items: center;
    font-size:17px;
    padding:8px 0;
}
.nav-item{
    font-family: 'Manrope Semibold', Arial, Helvetica, sans-serif;
    position:relative;
    margin:20px;
    color:black;
}
.navbar{
    padding:8px 0;
}
.wpml-ls-legacy-list-horizontal>ul{
    margin:0 -10px!important;
}
.carousel-item{
max-height:400px;}
.current-menu-item::after{
    content:"";
    border-bottom: 3px solid #5156F6;
    width:100%;
    top:30px;
    left:0;
    bottom:0;
    position:absolute;
    opacity:1;
}
#nav-active::after{
    content:"";
    border-bottom: 3px solid #5156F6;
    width:100%;
    top:30px;
    left:0;
    bottom:0;
    position:absolute;
    opacity:1;
}

/* ::after element transition*/
.nav-item a::after{
    content:"";
    -webkit-transition: opacity 0.3s ease-in-out;
    transition:opacity 0.4s;
    position:absolute;
    width:100%;
    top: 30px;
    left:0;
    border-bottom:3px solid #5156F6;
    opacity:0
}
.nav-item a:hover::after{
    opacity:1;
}
.nav-down a::after{
    content:"";
    position:absolute;
    -webkit-transition: opacity 0.3s ease-in-out;
    transition:opacity 0.4s;
    border-bottom: 3px solid #5156F6;
    width:100%;
    top:30px;
    left:0;
    bottom:0;
    opacity:0;
}
.nav-down a:hover::after{
    opacity:1;
}

/* language switcher */
.wpml-ls-link{
font-size:17px;
font-family: 'Manrope Semibold', Arial, Helvetica, sans-serif;
}
.wpml-ls-current-language>a>span::after{
content:"";
border-bottom: 3px solid #5156F6;
position:absolute;
top:29px;
width:100%;
left:0;
opacity:1;
}

.wpml-ls-native{
position:relative;
}

.wpml-ls-native::after{
content:"";
position:absolute;
border-bottom: 3px solid #5156F6;
width:100%;
top:29px;
left:0;
opacity:0;
transition:opacity 0.4s;
}
.wpml-ls-native:hover::after{
opacity:1;
}
.wpml-ls-legacy-list-horizontal{
padding:0;
}

/* banner*/ 
.banner{
    color:white;
    padding:70px 0 80px;
}
.banner-title{
    font-size:48px;
    font-family: 'Manrope Bold', Arial, Helvetica, sans-serif;
    margin-bottom:35px;
    line-height:52px;
}
.banner-text{
    padding:30px 0;
}
.main-text{
    font-size:18px;
    margin:0 0 35px;
}
.btn-default{
    position:relative;
    height:60px;
    width:auto;
    background-color:#5156F6;
    border-radius:7px;
    color:white;
    margin:20px 0;
    padding:15px 35px;
}
.btn-default:hover{
    color:white;
}
.teenused-btn:hover{
    color:white;
}
.carousel-controls{
    position:relative;
    margin-top:-25px;
}
.carousel-control-prev{
    left:calc(43% - 30px);
    opacity:1;
    background-color:#5156F6;
    height:50px;
    width:50px;
    border:3px solid white;
    color:white;
}
.carousel-control-next{
    right:calc(43% - 30px);
    opacity:1;
    background-color:#5156F6;
    height:50px;
    width:50px;
    border:3px solid white;
    color:white;
}
.carousel-control-prev:hover{
    opacity:1;
}
.carousel-control-next:hover{
    opacity:1;
}
.carousel-control-prev:focus{
    opacity:1;
}
.carousel-control-next:focus{
    opacity:1;
}
.carousel-control-prev-icon{
    background-image: url(images/left-arrow.svg);
}
.carousel-control-next-icon{
    background-image: url(images/right-arrow.svg);
}
/* ettevõttest*/
.description{
    padding:60px 0;
}
.title{
    font-size:30px;
    font-family: 'Manrope Bold', Arial, Helvetica, sans-serif;
    color:#5156F6;
    margin:0 0 35px;
}
.description-intro{
    font-size:18px;
    font-family: 'Manrope Semibold', Arial, Helvetica, sans-serif;
}
.meist-pic{
    height:500px;
    width:300px;
    text-align: end;
    margin-top:20px;
}
/* tehtud tööd*/
.tehtud{
    text-align:center;
    padding-top:15px;
}
.tehtud-title{
    font-size:30px;
    font-family: 'Manrope Bold', Arial, Helvetica, sans-serif;
    margin:30px 0;
}
.tehtud-container{
    display:flex;
    justify-content: space-evenly;
    flex-wrap:wrap;
}
.img-container{
   width:270px;
    height:180px;
    position:relative;
    display:inline-block;
    z-index:0;
}
.tehtud-img{
    display:block;
}
.veel-btn{
    padding:15px 60px;
    height:60px;
    border-radius:7px;
    color:#2E3192;
    border:2px solid #2E3192;
    background-color:transparent;
    margin: 65px 0 60px 0;
    font-family: 'Manrope Semibold', Arial, Helvetica, sans-serif;
}
.veel-btn:hover{
    color:#2E3192;
    transform:translate(0px, -5px);
    transition:0.3s ease-in-out;
}
.overlay{
    position:absolute;
    transition: all .3s ease;
    opacity:0;
    background-color:#5156F6;
    z-index:99;
    height:100%;
    width:100%;
    top:-30px;
    left:-30px;
    margin:30px;
    display:flex;
    align-items: center;
    justify-content:center;
}
.icon{
    position:absolute;
    opacity:0;
    z-index:99;
    width:100%;
    height:100%;
    display:flex;
    justify-content:center;
    align-items: center;
    top:0;
    left:0;   
}
.img-container:hover .icon{
    opacity:1;
}

.img-container:hover .overlay{
    opacity:0.65;
}
/* vorm*/
.vorm{
    color:white;
    padding:35px 15px 55px;
}
.form-text{
    text-align:center;
}
.background{
    width:100%;
    background-color:#2E3192;
}
.epost{
    width:65%; 
    height: 60px; 
    margin-top: 25px; 
    padding:15px;
}
.vorm-title{
    font-family: 'Manrope Bold', Arial, Helvetica, sans-serif;
    font-size:30px;
    margin:0 0 30px;
    text-align:center;
}
#contactform{
    display:flex;
    justify-content:space-between;
}
.nav-down{
    font-size:17px;
}
.developed-By{
    font-size:14px;
    color:#848484;
    text-align:center;
    padding-top:10px; 
}
.tagasiside{
    margin-bottom:4px;
    text-align:center;
}
/* services*/
ul li{
    color:#5156F6;
     margin:25px 0;
     font-size:18px;
}
ul li span{
    color:black;
}
ul{
    padding-left:20px;
}
.galerii--btn{
    width:auto;
    height:60px;
    border-radius:7px;
    border:2px solid #2E3192;
    background-color:transparent;
    color:#2E3192;
    padding:15px 60px;
}
.galerii--btn:hover{
    color:#2E3192;
    transform:translate(0px, -5px);
    transition:0.3s ease-in-out;
}
.services{
    padding:20px 0;
}
.service-img{
    width:470px;
    height:470px;
    margin-bottom:30px;
}
hr{
    margin:0;
}
/* works*/
.works-img{
    padding-bottom:85px;
}
.works-img img{
    margin-bottom:30px;
}
.gallery-title{
    padding:20px 0 15px;
}
.gallery-subtitle{
    width:100%;
    padding:0 15px;
    font-family: 'Manrope Semibold', Arial, Helvetica, sans-serif;
    font-size:18px;
    margin:20px 0 10px;
}
/* contact*/
.contact-info{
    font-size:18px;
    margin:0 0 25px;
}
.contact{
    padding:20px 0 70px;
}
.contact-form{
    width:100%; 
    height:200px;
    border:1px solid #F0F0F7; 
    filter:drop-shadow(0px 0px 25px rgba(81, 86, 246, 0.102));
}
.contact-email{
    height:60px;
    border:1px solid #F0F0F7; 
    filter:drop-shadow(0px 0px 25px rgba(81, 86, 246, 0.102));
}

/* Contact form 7 */


textarea{
 padding:15px;
 	border-radius:0;
    display: block;
    font-size: 16px;
    height: 200px;
    width: 100%;
    resize:none;
    filter:drop-shadow(0px 0px 25px rgba(81, 86, 246, 0.102));
    border:1px solid #F0F0F7;

}

span.wpcf7-not-valid-tip {
  display: none;
}

.wpcf7-not-valid {
  border: 2px solid red !important;
}

#vorm-email{
	padding:15px;
	border-radius:0;
	width:60%;
	height:60px;
	margin:0 0 15px;
	border:1px solid #F0F0F7;
         filter:drop-shadow(0px 0px 25px rgba(81, 86, 246, 0.102));
	float:right;
}

#teie-nimi{
	padding:15px;
	padding:15px;
	border-radius:0;
	width:37%;
	height:60px;
	margin:0 0 15px;
	border:1px solid #F0F0F7;
         filter:drop-shadow(0px 0px 25px rgba(81, 86, 246, 0.102));
}
#esita-nupp{
    display:block;
    margin:auto;
    height:60px;
    width:35%;
    background-color:#5156F6;
    color:white;
    text-transform: uppercase;
    font-family: 'Manrope Semibold', Arial, Helvetica, sans-serif;
    outline:none;
    border:none; 
    border-radius:7px;
    transition: all 0.3s ease-in-out;
	
}
#esita-nupp:hover{
    transform:translate(0px, -5px);
}
div.wpcf7-response-output{
margin:0;
}
div.wpcf7-mail-sent-ok{
border:none;
background-color: #398f14;
color:black;
}
div.wpcf7-validation-errors, div.wpcf7-acceptance-missing{
border:none;
background-color: #f7e700;
color:black;
}


/*Set lightbox size*/
.fancybox-slide--iframe .fancybox-content {
width : 1920px;
height : 200px;
max-width : 100%;
max-height : 100%;
margin: 0;
}




/* hamburger */
.nav-down{
    font-size:17px;
}
.navbar-nav{
    margin:0;
    flex-direction:row;
}
.navbar .navbar-nav .nav-item {
    display:inline;
    list-style:none;
    font-size:17px;
}
.navbar-collapse{
    display:flex;
    justify-content:space-between;
    font-size:17px;
}
.navbar-nav .nav-item a{
    text-decoration:none;
    display:inline-block;   
    margin:0;
}
.navbar .navbar-language .language{
    display:inline;
    list-style:none;
}
.toggle-collapse{
    float:right;
   padding:5px;
    background-color:transparent;
    cursor:pointer;
    display:none;
}
.navv-up{
    position:relative;
    left:3%;
}
.collapse:not(.show){
    display:contents;
} 



@media only screen and (max-width : 550px) {
    .nav-item{
        font-size:14px;
    }
    .service-img{
        width:auto;
        height:auto;
    }
    .contact-email{
        width:100%;
    }
    .galerii--btn{
        width:100%;
    }
    .veel-btn{
        width:100%;
        margin:30px 0;
    }
    .btn-default{
        width:100%;
        margin:0;
    }
    .banner-title{
        font-size:32px;
        margin-bottom:15px;
        line-height:36px;
    }
    .banner-text{
        padding:50px 15px 30px;
    }
    .main-text{
        font-size:16px;
    }
    .carousel-control-prev{
        left:calc(45% - 25px);
        height:30px;
        width:30px;      
    }
    .carousel-control-next{
        right:calc(45% - 25px);
        height:30px;
        width:30px;
    }
    .container{
        padding:30px 30px 0;
    }
    .carousel-controls{
        margin-top:-15px;
    }
    .tehtud-title{
        font-size:24px;
    }
    .wpml-ls-native{
        font-size:14px;     
    }
    .nav-up{
        justify-content: flex-start;
    }
    .works-img{
        padding-bottom:40px;
        text-align:center;
    }
    .description-intro{
        font-size:16px;
    }
    .title{
        font-size:24px;
    }
    .vorm-title{
        font-size:24px;

    }
    .contact-info{
        font-size:16px;
    }
    li span{
        font-size:16px;
    }
    .nav-item{
        font-size:16px;
    }
    .img-container{
        width:auto;
        height:auto;
    }
    .navibar{
        padding:5px 0 0;
    }
    .wpml-ls-current-language>a>span::after{
    top:25px;
    }
  #bar{
        padding:10px 30px;
    }

}
@media only screen and (max-width: 650px){
     #contactform{
        display:block;
    }
    .contactButton{
        width:100%;
    }
    #esita-nupp{
        width:100%;
        margin-top:20px;
    }
    #vorm-email{
	width:100%;
    }
	#teie-nimi{
	 width:100%;}

}
@media only screen and (min-width : 551px) and (max-width : 1025px){
    .carousel-container{
        padding-top:40px;
    }
    .lng a::after{
        top:30px;
    }
    #nav-active::after{
        top:30px;
    }

}
@media only screen and (max-width : 1000px){
    .form-container{
        padding-top:30px;
    }   
    .main-text{
        margin-bottom:25px;
    }
    .title{
        margin-bottom:25px;
    }
}
@media only screen and (min-width : 900px) and (max-width: 1024px){
    .banner-title{
        line-height:46px;
    }
    .wpml-ls-legacy-list-horizontal{
        margin-left:10px;
}
}
@media only screen and (max-width : 1024px){
    .tehtud-container{
        display:block;
    }
    .meist-pic{
        text-align:center;
        width:100%;
    }
    .service-img-container{
        text-align:center;
    }
    .service-img{
        width:auto;
        height:auto;
    }
      .nav-down{
        display:none;
    } 
    #nav-down{
        padding:20px 30px;
    }
    .developed-By{
        padding:5px 0;
    }
    .madeBy{
        margin-bottom:0;
    }
    #language{
        display:flex;
    }
}
@media only screen and (min-width: 551px) and (max-width: 1250px){
    .container{
        padding:30px 50px;
    }
}
@media only screen and (min-width : 990px) and (max-width : 1250px){
    .banner-text{
        padding:20px 0 60px;
    }
    .banner-title{
        margin-bottom:15px;
        font-size:42px;
    }
    .teenused-btn{
        margin-top:0;
    }
    .navbar{
        padding: 8px 0;
    }
    .language a{
        font-size:16px;
    }
}
@media only screen and (min-width: 1250px){
    .carousel-container{
        padding-bottom:30px;
    }
}
@media only screen and (min-width: 1056px) and (max-width: 1249px){
    .carousel-container{
        padding-bottom:60px;
    }
}


@media screen and (max-width:550px) {
    .navbar .navbar-nav .nav-item{
        font-size:14px;
    }
    .toggle-collapse{
        padding:0;
    }
    
}
@media screen and (min-width:550px) and (max-width : 1024px){
    .navbar .navbar-nav .nav-item{
        font-size:17px;
    }
    .toggle-collapse{
        padding:20px 0 0;
    }
    .bar1, .bar2, .bar3 {
        width: 35px;
        height: 6px;
        border-radius:7px;
        background-color:#2E3192;
        margin: 3px 0 6px;
        transition: 0.4s;  
      }
      #nav-active::after{
        top:30px;
    }   
}
@media screen and (max-width: 1024px){
    .toggle-collapse{
        display:inline-block;
    }
    .navbar-nav{
        padding:0;
        display:block;
    }
    .navbar-collapse{
        display:block;
        transition:all .5s ease;
    }
    .navbar .navbar-nav .nav-item{
        display:block;
        list-style:none;
        margin:0;
    }
    .navbar .navbar-nav .nav-item a{
        position:relative;
    }
     .navbar-nav .nav-item a{
        position:relative;
        padding:10px 0;
    }
    .nav-item a::after{
        top:35px;
    }
    .nav-item a:hover:after{
        top:35px;
    }
    .current-menu-item::after{
	bottom:3px;}
    .collapse:not(.show){
        display:block;
    }   
    .navbar-collapse{
        width:100%;
        overflow:hidden;
        text-align:center;
        height:0vh;
        transition: all .5s ease;
        display:block; 
    }
    .collapse{
        height:inherit;
        margin-top:15px;
        position:relative;
        right:17%;
    }
    .navibar{
        align-items:normal;
    }
    .navbar{
        padding:0;
        display:flex;
        justify-content:flex-end;
    }
    .navv-up{
        margin:auto;
        width:max-content;
    }
    .wpml-ls-legacy-list-horizontal>ul{
        margin:10px!important;
}

} 
.bar1, .bar2, .bar3 {
    width: 35px;
    height: 3px;
    border-radius:7px;
    background-color:#2E3192;
    margin: 3px 0 6px;
    transition: 0.4s;  
  }
  .change .bar1 {
   transform: rotate(-45deg) translate(-7px, 6px);
  }
  .change .bar2 {opacity: 0;}
  
  .change .bar3 {
    
    transform: rotate(45deg) translate(-6px, -6px);
  }



@media only screen and (min-width : 551px) and (max-width : 990px){
    .service-img{
        width:350px;
        height:350px;
    }
    .vorm{
        padding:38px 100px;
    }
    .banner-text{
        padding-top:70px;
    }
    .banner-title{
        margin-bottom:15px;
    }
    .teenused-btn{
        margin-top:5px;
    }
    .banner-text{
        padding:70px 15px 30px;
    }
    #bar{
        padding:10px 50px;
} 
}


