﻿/*
 Theme Name:   MUUTU
 Theme URI:    https://www.muutu.fi
 Description:  Digitoimisto Muutu Custom WP
 Author:       Digitoimisto Muutu
 Author URI:   https://www.muutu.fi
 Template:     Divi
 Version:      6.8.0.11
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         responsive-layout
 Text Domain:  divi-child
*/


/************* Enon Metsäpalvelun tyylit **************/


/* Valitun (eli hiirellä maalatun) tekstin väri. */
::-moz-selection {
   color: #fff;
   background: #23B5D3;
}
::selection {
   color: #fff;
   background: #23B5D3;
}

/* Placeholder-väri CF7-lomakkeissa */
::-webkit-input-placeholder {
    color: #fff !important;
    opacity: 1;
}
:-moz-placeholder {
    color: #fff !important;
    opacity: 1;
}
::-moz-placeholder {
    color: #fff !important;
    opacity: 1;
}
:-ms-input-placeholder {
    color: #fff !important;
    opacity: 1;
}
::-webkit-calendar-picker-indicator {
    filter: invert(1);
}
.et_search_form_container input {
    outline-width: 0;
}

h1 span {
   display: block;
   line-height: 1.05;
}

.wpcf7-form-control-wrap {
   margin-right: .3rem;
}

table, td {
   border: none !important;
}
td {
   padding: 0 !important;
}

.wpcf7-list-item {
   margin-left: 0;
}
.wpcf7-spinner {
   background-color: #7A7265 !important;   
}
.wpcf7-list-item.first, .wpcf7-list-item.first input[type="checkbox"] {
   margin-left: 0;
}
.wpcf7-form table, .wpcf7-form td {
   border: none !important;
}
.wpcf7-form p {
  text-align: left !important;
  color: #fff;
}
.wpcf7-form td:first-child {
   padding: 0 2rem 0 0;
}
.wpcf7-form td:last-child {
   padding: 0;
}
.wpcf7-form .tietosuojaselostelinkki {
   color: #333;
   text-decoration: underline;
   text-decoration-color: rgba(51, 51, 51, .45);
}
.wpcf7-response-output {
   margin: 1rem 0 0 0 !important;
}

/* hCaptcha-bannerin tuunaukset. */
.wpcf7-form-control.h-captcha {
   display: block;
}

/* Tee yläpalkin sisään- ja ulosfeidauksesta pehmeämpää */
#main-header, #main-header li a, .et_pb_toggle_title, .et_pb_toggle_title::before {
   transition: all .3s linear !important;
}

/* Siirrä pääkuva valikon alle. */
.home #et-main-area {
   position: absolute;
   width: 100%;
   top: 0;  
}
.home #main-header {
   background-color: transparent !important;
}
.home #main-header:not(.et-fixed-header) {
   -moz-box-shadow: 0 1px 0 rgba(0,0,0,0);
   -webkit-box-shadow: 0 1px 0 rgba(0,0,0,0);
   box-shadow: 0 1px 0 rgba(0,0,0,0);
}
.home #main-header.et-fixed-header {
   background: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 46%, rgba(0,0,0,.96) 100%);
}
.home #main-header:not(.et-fixed-header) #top-menu > li > a {
   text-shadow: 1px 1px 1px black;
}

/* Valikkopalkin logo piiloon aloitusnäkymässä */
.home #main-header:not(.et-fixed-header) .logo_container a {
   pointer-events: none;
}
.home #main-header:not(.et-fixed-header) #logo {
   opacity: 0;
}
.home #main-header.et-fixed-header #logo {
   opacity: 1;
   filter: brightness(1.3);
}

/* Copyright-footerin tuunausta */
#main-footer, #footer-bottom {
   background-color: transparent;
}
#main-footer {
   position: relative;
}
#footer-bottom {
   position: absolute;
   bottom: 0;
   z-index: 999;
   width: 100%;
}
#footer-bottom .copyright, #footer-bottom .copyright a {
  color: #ddd !important;
}

/* Piilota gallerian kuvalaskuri- ja tekstipalkki */
.mfp-bottom-bar { display: none }


/* Responsiivisuussäädöt */


/* Vain desktop */
@media only screen and (min-width: 981px)  {
   h1 span {
      font-size: 40%;
   }
   small {
      font-size: 80%;
   }
   /* Perusyhteyslomakkeen säätöjä */
   .wpcf7-spinner {
      right: 19%;
      margin-bottom: -.2rem !important;
      scale: 2;
   }   
   .wpcf7 td {
      font-size: 16px;
      vertical-align: middle;
   }
   .wpcf7-form td:first-child {
      width: 30%;
   }   
   .wpcf7-list-item:not(.first) input[type="checkbox"] {
      margin-left: 1rem;
   }   
   /* Virheilmoitus hyväksymättömästä tietosuojaselosteesta */
   span[data-name="tietosuojaseloste"] .wpcf7-not-valid-tip {
      display: inline-block;
      position: absolute;
      width: 206px;
      left: 17vw;    
   }  
   .align_center {
      align-items: center;
      display: flex;
   }
   .align_end {
      align-items: flex-end;
      display: flex;
   }  
}

/* Vain mobiili */

/* Puhelinkoot */
@media only screen and (max-width: 980px)  {
  #logo {
      transform: scale(1.8);      
      -webkit-transform:scale(1.8, 1.8);       
   }
   h1 span {
      font-size: 50%;
   }
   small {
      font-size: 85%;
      line-height: 120%;
      display: inline-block;
   }
   /* ®- ja ™-merkit mobiilissa. */
   sup {
      bottom: .4em;
   }
   /* Complianz-napit erilleen toisistaan mobiilissa. */
   .cmplz-buttons button {
      margin-bottom: .5rem !important;
      display: block !important;
   }
   .cmplz-link.privacy-statement {
      padding-left: 1rem;
   }     
   /* Perusyhteyslomakkeen säätöjä */
   .wpcf7-spinner {
      right: 42%;
      margin-bottom: -1.2% !important;
      scale: 2;
   }   
   .wpcf7 td {
      font-size: 14px;
      vertical-align: middle;
   }
   .wpcf7-list-item, .wpcf7-list-item input {
      margin-left: 0 !important;
   }
   .wpcf7-list-item {
      display: block !important;
   }   
   .wpcf7-form-control.h-captcha {
      transform: scale(.8);      
      -webkit-transform:scale(.8, .8);   
      margin-left: -2rem;
   }
   /* Virheilmoitus hyväksymättömästä tietosuojaselosteesta */
   span[data-name="tietosuojaseloste"] .wpcf7-not-valid-tip {
      display: inline-block;
      position: absolute;
      width: 20vw;
      top: 6vw;
      left: -10vw;
   }   
   td {
      display: block;
   }
   .copyright {
      line-height: 1.2;
      text-align: center;
      padding: 0 10vw;
   }
}

/* Mistä leveydestä alaspäin näytetään hampurilaisvalikko.
   Palttiarallaa pienemmästä läppärinäytöstä alaspäin.  */
@media only screen and (max-width: 1280px) {
   #top-menu-nav {
      display: none;
   }
   #et_mobile_nav_menu {
      display: block
   }
}

/* Isot näytöt */
@media only screen and (min-width: 981px) and (max-width: 1919px) {
   h1 img {
      max-width: 840px;
   }
   #otsikko_wrapper {
      margin-left: -10vw;
   }
   #alaotsikko h2 {
      margin-top: -4.5rem;
   }   
}
@media only screen and (min-width: 1920px) and (max-width: 2234px) {
   h1 img {
      max-width: 1080px;
   }
   #otsikko_wrapper {
      margin-left: -15vw;
   }
   #alaotsikko {
      margin-left: -4.5vw !important;
   }
   #alaotsikko h2 {
      margin-top: -5.5rem;
   }
}
@media only screen and (min-width: 2235px) {
   h1 img {
      max-width: 1140px;
   }
   #otsikko_wrapper {
      margin-left: -20vw;
   }
   #alaotsikko {
      margin-left: -11.5vw !important;
   }
   #alaotsikko h2 {
      margin-top: -6.2rem;
   }
}

/* Näillä voi jyrätä mobiilimenun värejä. */

/* Hampurilainen */
#main-header .mobile_menu_bar::before {
   color: #fff !important;
}

/* Viiva avatun mobiilivalikon yläreunassa */
.et_mobile_menu {
   border-top: 3px solid #fff;
}

/*#et_mobile_nav_menu a {
   text-transform: uppercase;
}*/

/* Vain mobiili; näyttö pystyasennossa */
@media only screen and (max-width: 980px) and (orientation: portrait) {
   
}

/* Vain mobiili; näyttö vaaka-asennossa */
@media only screen and (max-width: 980px) and (orientation: landscape) {
   
}


/*********** Enon Metsäpalvelun tyylit päättyvät ************/


/* Mobile menu scrollable fix - cmon Divi WHY U NO 2019??*/
.et_mobile_menu {
  overflow-y:scroll!important;
  max-height:80vh!important;
  -overflow-scrolling:touch!important;
  -webkit-overflow-scrolling:touch!important;
}

/* SlideFix */
.mfp-title {display:none}

/* Piilota navigaation hakufunktio*/
#et_top_search {display:none!important}

/* GradientOverlay */
.gradient-overlay:before {
   content:"";
   position:absolute;
   z-index:1;
   background:inherit;
   top:0;
   bottom:0;
   width:100%;
}
.gradient-overlay .et_pb_row {
   z-index:2 !important;
}
.gradient-overlay {
   background-color: transparent;
}
/* GradientOverlay - END */

/* Easy icons - add these to links with e.g. class="icon-email" etc. */
.icon-email::before{font-family: 'ETmodules';content: '\e076';} /* Envelope */
.icon-phone::before{font-family: 'ETmodules';content: '\e090';} /* Phone */
.icon-mobile::before{font-family: 'ETmodules';content: '\e00b';} /* Mobile */
.icon-marker::before{font-family: 'ETmodules';content: '\e081';} /* Marker */
.icon-clock::before{font-family: 'ETmodules';content: '\e06b';} /* Clock */
/* Easy icons - END */

/* Services box-shadow + hover */
.services{
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
	-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
	transition: all 100ms ease-out 0s;
}

.services:hover{
	box-shadow: 0 6px 9px rgba(0, 0, 0, 0.09);
}

/* Lisää sulkunappi haitareihin. */
.et_pb_accordion_item.et_pb_toggle_open .et_pb_toggle_title:before {
   display: block;
   content: "\e04f";
}

/* Mistä leveydestä alaspäin näytetään hampurilaisvalikko. */
@media only screen and (max-width: 1280px) {
   #top-menu-nav {
      display: none;
   }
   #et_mobile_nav_menu {
      display: block
   }
}

@media only screen and (max-device-width : 980px)  {
    /* Navigaatio seuraa mobiilissa */
   #main-header {
      position:fixed!important;
   }
   /* Mobile menu close icon */
   .mobile_nav.opened .mobile_menu_bar:before {
      content: '\4d';
      -webkit-transition: 0.3s;
      transition: 0.3s;
   }
}

/* Lightbox-näkymän sulkurasti hiukan kirkkaammaksi. */
.mfp-close {
	opacity: .6 !important;
}
.mfp-close:hover {
	opacity: 1 !important;
}
