﻿/*
 Theme Name: Carlos
 Template:     Divi
 Version:      6.8.0.7
 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
*/


/********* Kimaran tyylit alkavat ***********/


/* Valitun (eli hiirellä maalatun) tekstin väri. */
::-moz-selection {
   color: #fff;
   background: #FF5E07;
}
::selection {
   color: #fff;
   background: #FF5E07;
}

/* Tee alaotsikko h1:n sisälle span-tagilla. */
h1 span {
   display: block;
   line-height: 1.05;
   font-family: 'Inter',Helvetica,Arial,Lucida,sans-serif;
   font-weight: 700;
   text-transform: uppercase;
   color: #fff !important;
   text-shadow: none;
}

.wpcf7-form-control-wrap {
   margin-right: .3rem;
}

.wpcf7-list-item {
   margin-left: 0;
}
/*.wpcf7-spinner {
   filter: invert(1) brightness(2);
} */
.wpcf7 input[type="checkbox"] {
   margin-left: 0;
}
.wpcf7-form table, .wpcf7-form td {
   border: none !important;
}
.wpcf7-form td {
   width: 50%;
}
.wpcf7-form td:last-child {
   padding: 0;
}
.wpcf7-form p {
  text-align: left !important;
}
.wpcf7-submit {
   float: right;
}
.wpcf7-spinner {
   position: absolute;
   scale: 2.1;
   margin-top: 1rem;   
   background-color: #293b45 !important;
}


/* Kätke reCAPTCHA-lätkä muualla kuin yhteyslomakkeessa.
   Huom: vaatii myös koodinpätkän scripts.js:ään.  */
.grecaptcha-badge {
   opacity: 0;
   z-index: 9999999999;
}

/* Tee yläpalkin sisään- ja ulosfeidauksesta pehmeämpää */
#main-header, #main-header li a:before {
   transition: all .3s linear !important;
   /* Palkin varjo pois. */
/* box-shadow: none; */
}

/* 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 {
  color: #ddd !important;
}

.cmplz-title, .cmplz-buttons button {
   font-size: 14px !important;
   font-family: 'Inter',Helvetica,Arial,Lucida,sans-serif !important;
   font-weight: 700 !important;
   text-transform: uppercase !important;
}


/* Lomaketogglen tuunausta */

.et_pb_toggle_open h5.et_pb_toggle_title {
   color: #fff;
}
.et_pb_toggle_open h5.et_pb_toggle_title::before {
   color: #0a8daa;
}
.et_pb_toggle_open {
   border-radius: 0 !important;
}
#muutostyolomake textarea {
  margin-bottom: 1rem;
}

/* Responsiivisuussäädöt */


/* Vain desktop */
@media only screen and (min-width: 981px)  {
   h1 span {
      font-size: 14px;
      letter-spacing: 1px;
      margin-top: 1rem;
   }
   small {
      font-size: 70%;
   }
   /* Virheilmoitus hyväksymättömästä tietosuojaselosteesta */
   span[data-name="tietosuojaseloste"] .wpcf7-not-valid-tip {
      display: inline-block;
      position: absolute;
      width: 206px;
      left: 17vw;    
   }
   .wpcf7-response-output {
      margin-top: 6em;
   }   
   .wpcf7-form td:first-child {
      padding: 0 2rem 0 0;
   }
   .wpcf7-spinner {
      right: 23%;
   }   
}

/* Vain mobiili */

/* Puhelinkoot */
@media only screen and (max-width: 980px)  {
   h1 span {
      font-size: 12px;
      letter-spacing: 1px;
      margin-top: .5rem;
  }
   small {
      font-size: 85%;
   }
   .wpcf7-form td {
     display: block;
     width: 100%;
   }   
   #yhteyslomake .wpcf7-form:last-child p {
      text-align: center !important;
   }
   #yhteyslomake .wpcf7-form:last-child button {
      float: none !important;
   }
   .wpcf7-spinner {
      right: 0;
   }   
   /* 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;
   }
   .wpcf7-form td:first-child {
      padding: 0;
      margin-top: .5rem;
   }
   .et_pb_toggle_open {
      margin-left: -10vw;
      margin-right: -10vw;
   }
   .et_pb_toggle_content .et_pb_row {
      width: 100%;
   }
   /* ®- 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;
   }     
}

/* 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
   }
}

/* Hampurilainen */
#main-header .mobile_menu_bar::before {
   color: #0a8daa !important;
}

/* Viiva avatun mobiilivalikon yläreunassa */
.et_mobile_menu {
   border-top: 3px solid #FF5E07;
}

#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) {
   
}


/********* Kimaran 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;
}
