/*
Background: #49654f
Lighter green: #779d7f
Middle green: #9db8a3
Lightest green: #dce6de

*/


/* ----------------------------------------------- */
/* BASIC SETUP */
/* ----------------------------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    background: #DCE6DE;
    color: #212326;
    font-family: 'Lato', 'Arial', sans-serif;
    font-weight: 300;
    font-size: 20px;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;

}

.clearfix {zoom: 1;}
.clearfix:after {
    content: '.';
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

/* ----------------------------------------------- */
/* REUSABLE COMPONENTS */
/* ----------------------------------------------- */


.row {
    max-width: 1140px;
    margin: 0 auto;
}

section {
    padding: 80px 0;
}

.box {
    padding: 1%;
}

/* ----- HEADINGS ----- */
h1,
h2,
h3,
h4,
h5,
h6{
    font-weight: 300;
    text-transform: uppercase;
}

h1 {
    color: #53585F;
    font-size: 180%;
    word-spacing: 2px;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

h6 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #53585F;
    font-size: 240%;
    word-spacing: 4px;
    letter-spacing: 1px;
}

h2 {
    color: #53585F;
    font-size: 180%;
    word-spacing: 2px;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

h3 {
    font-size: 110%;
    margin-top: 55px;
    margin-bottom: 35px;
    text-align: center;
}

h2:after {
    display: block;
    height: 2px;
    background-color: #779d7f;
    content: " ";
    width: 100px;
    margin: 0 auto;
    margin-top: 30px;
}

h1:after {
    display: block;
    height: 2px;
    background-color: #779d7f;
    content: " ";
    width: 100px;
    margin: 0 auto;
    margin-top: 30px;
}

p2{
    color: #779d7f;
    size: 50%;
}

h4{
    color: #779d7f;
    font-size: 120%;
    word-spacing: 2px;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
}
h5{
    margin-top: 0;
    margin-bottom: 100px;
    color: #fff;
    font-size: 240%;
    word-spacing: 4px;
    letter-spacing: 1px;
    text-align: center;
}

figcaption{
    text-align: center;
}


/* ----- PARAGRAPHS ----- */
.long-copy {
    line-height: 145%;
    width: 70%;
    margin-left: 15%;
}

.box p {
    font-size: 90%;
    line-height: 145%;
}


/* ----- ICONS ----- */
.icon-big {
    font-size: 350%;
    display: block;
    color: #dce6de;
    margin-bottom: 10px;
}

.icon-small {
    display: inline-block;
    width: 30px;
    text-align: center;
    color: #dce6de;
    font-size: 120%;
    margin-right: 10px;
    
    /*secrets to align text and icons*/
    line-height: 120%;
    vertical-align: middle;
    margin-top: -5px;
}

/* ----- LINKS ----- */

/*
Background: #49654f
Lighter green: #779d7f
Middle green: #9db8a3
Lightest green: #dce6de
(119, 157, 127, 0.7)
*/

a:link,
a:visited {
    color: #6B536E;
    text-decoration: none;
    padding-bottom: 1px;
    border-bottom: 1px solid #6B536E;
    -webkit-transition: border-bottom 0.2s, color 0.2s;
    transition: border-bottom 0.2s, color 0.2s;
}

a:hover,
a:active {
    color: #9A779D;
    border-bottom: 1px solid transparent;
}

/* ----- BUTTONS ----- */
.btn:link,
.btn:visited,
input[type=submit] {
    display: inline-block;
    padding: 10px 30px;
    font-weight: 300;
    text-decoration: none;
    border-radius: 200px;
    -webkit-transition: background-color 0.2s, border 0.2s, color 0.2s;
    transition: background-color 0.2s, border 0.2s, color 0.2s;
}

.btn-full:link,
.btn-full:visited,
input[type=submit] {
    background-color: #536E5E;
    border: 1px solid #536E5E;
    color: #fff;
    margin-right: 15px;
}

.btn-ghost:link,
.btn-ghost:visited {
    border: 1px solid #536E5E;
    color: #536E5E;
}

.btn:hover,
.btn:active,
input[type=submit]:hover,
input[type=submit]:active {
    background-color: #779d7f;
    border: 1px solid #779d7f;
}

.btn-full:hover,
.btn-full:active {
    border: 1px solid #779d7f;
}

.btn-ghost:hover,
.btn-ghost:active {
    border: 1px solid #779d7f;
    color: #779d7f;
}


/* ----------------------------------------------- */
/* HEADER */
/* ----------------------------------------------- */


.page-home-header {
 
    background-image: linear-gradient(rgba(220, 230, 222, 0.8), rgba(220, 230, 222, 0.8)), url(/resources/img/Rasia.jpeg);
    background-size: cover;
    background-position: center;
    height: 100vh;
    background-attachment: fixed;
}

.page-sovittelu-header {
   
    background-size: cover;
    background-position: center;
    height: 5vh;
    background-attachment: fixed;
}

.page-cookie-header {
   
    background-size: cover;
    background-position: center;
    height: 7vh;
    background-attachment: fixed;
}

.logo {
    height: 100px;
    width: auto;
    float: left;
    margin-top: 20px;
}

.logo-black { 
    display: none;
    height: 55px;
    width: auto;
    float: left;
    margin: 5px 0;
}


#Hero-Image-Div {
    /* THIS */
    position: relative;
    width: 100%;
    height: 37rem;
    background-color: #fff;
    /* position: absolute;
    top: 7.1rem;
    left: 0rem; */

}

/* THIS */
#Hero-Image-Div::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background: linear-gradient(rgba(119, 157, 127, 0.7), rgba(119, 157, 127, 0.7));

}

.hero-text-box {
    position: absolute;
    width: 1140px;
    top: 50%;
    left: 50%;
    z-index: 5;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.hero-text-box2{
    text-align: center;
    margin-bottom: 100px;
}



/* blurring the image 
.gfg {
    filter: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    width: 100%;
}
*/




/* Main navi */
.main-nav {
    float: right;
    list-style: none;
    margin-top: 55px;
}

.main-nav li {
    display: inline-block;
    margin-left: 40px;
}

.main-nav li a:link,
.main-nav li a:visited {
    padding: 8px 0;
    color: #212326;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 90%;
    border-bottom: 2px solid transparent;
    -webkit-transition: border-bottom 0.2s;
    transition: border-bottom 0.2s;
}

.main-nav li a:hover,
.main-nav li a:active {
    border-bottom: 2px solid #49654f;
}


/* Mobile navi */
.mobile-nav-icon {
    float: right;
    margin-top: 30px;
    cursor: pointer;
    display: none;
}

.mobile-nav-icon i {
    font-size: 200%;
    color: #fff;
}


/* Sticky navi */
.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 2px #efefef;
    z-index: 9999;
}

.sticky .main-nav { margin-top: 18px; }

.sticky .main-nav li a:link,
.sticky .main-nav li a:visited {
    padding: 16px 0;
    color: #555;
}

.sticky .logo { display: none; }
.sticky .logo-black { display: block; }


.scrolled.fade-out {
  animation: fade-out 10s ease-in-out both;
}

/* ----------------------------------------------- */
/* MEDIATION */
/* ----------------------------------------------- */


.section-mediation .long-copy {
    color: #212326;
    margin-bottom: 30px;
}

.process-photo{
    width: 90vw;
    height: auto;
    margin-top: 5vh;
    margin-bottom: 5vh;
    margin-left: 15vw;
    margin-right: 15vw;
    overflow: hidden;
}

.process-photo img{
    width: 100%;
    height: auto;
}

@media only screen and (min-width: 1200px) {
    .process-photo {
        width: 40vw;
        height: auto;
        margin-left: 30vw;
        margin-right: 30vw;
        overflow: hidden;
    }
    
    .process-photo img{
        width: 50%;
        height: auto;
    }
}

/* ----------------------------------------------- */
/* PRICE */
/* ----------------------------------------------- */

.long-copy-price{
    line-height: 145%;
    width: 70%;
    margin-left: 15%;
    margin-bottom: 0; 
}

.long-copy-price2{
    line-height: 145%;
    width: 70%;
    margin-left: 15%;
    margin-bottom: 25px; 
}


ul.a {
    margin-top: 0;
    margin-left: 17%;
    margin-bottom: 25px;
}



/* ----------------------------------------------- */
/* WHOAMI */
/* ----------------------------------------------- */

.section-whoami .long-copy{
    color: #212326;
}

.long-copy-whoami{
    line-height: 145%;
    width: 70%;
    margin-left: 15%;
    margin-bottom: 25px;
}
.long-copy-whoami2{
    line-height: 145%;
    width: 70%;
    margin-bottom: 25px;
}


.long-copy-whoami-studies{
    line-height: 145%;
    width: 70%;
    margin-top:2em;
    margin-left: 15%;
    margin-bottom: 25px; 
    text-align: center;
}

.me-row{
    margin-left: 15%;
}

.circle{
    border-radius: 50%;
    background: #9A779D;
    display: flex;
    flex-direction: column;
    justify-content: right;
    align-items: center;
    height: 300px;
    width: 300px;
}

.oma-photo img{
    width: 130%;
    height: auto;
}



.taytekuva img{
    width: 60%;
    height: auto;
    border: 2.5px solid #9A779D;
}

.taytekuva2 img{
    width: 70%;
    height: auto;
    margin-top: 10vh;
    margin-left: 15%;
    margin-right: 15%;
}

@media only screen and (min-width: 1200px) {
    .taytekuva {
    margin-left: auto;
    margin-right: auto;
    }
    
    .taytekuva img{
    width: 50%;
    height: auto;
    margin-top: 10vh;
    margin-left: 25%;
    margin-right: 25%;
    }
}

.js-scroll {
    opacity: 0;
    width: 40%;
    height: auto; 
}
.js-scroll.scrolled {
    opacity: 1;
    width: 90%;
    height: auto; 
}

.scrolled.fade-in {
  animation: fade-in 1s ease-in-out both;
}


/* ----------------------------------------------- */
/* FORM */
/* ----------------------------------------------- */

.long-copy-conflicts{
    line-height: 145%;
    width: 70%;
    margin-left: 15%;
    margin-bottom: 0; 
    padding-bottom: 0;
}

ul.b {
    margin-left: 17%;
    margin-top: 0;
    margin-bottom: 0;
}


/* ----------------------------------------------- */
/* FORM */
/* ----------------------------------------------- */


.long-copy-tarjous{
    line-height: 145%;
    width: 70%;
    margin-left: 15%;
    margin-bottom: 25px;
    color: #212326;
}

.contact-form {
    width: 60%;
    margin: 0 auto;
}

input[type=text],
input[type=email],
input[type=phone],
select,
textarea {
    width: 100%;
    padding: 7px;
    border-radius: 3px;
    border: 1px solid #ccc;
    color: #333;
}

textarea {
    height: 100px;
}

label {
    color: #212326;
}

input[type=checkbox] {
    margin: 10px 5px 10px 0;
}

#newsletter {
  accent-color: #779d7f;
}

.form-messages {
    width: 70%;
    margin: 0 auto;
    padding: 10px;
    border-radius: 3px;
    margin-bottom: 30px;
    text-align: center;
}

.success{background-color: #779d7f; color: #fff;}

.error{background-color:#779d7f;color: #fff; }

*:focus {outline: none;}

/* ----------------------------------------------- */
/* COOKIES */
/* ----------------------------------------------- */


/* ROUND SWITCH CHECKBOX */

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
    
}

.checkboxSlider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.checkboxSlider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .checkboxSlider {
  background-color: #49654f;
}

input:focus + .checkboxSlider {
  box-shadow: 0 0 1px #49654f;
}

input:checked + .checkboxSlider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* round sliders */
.checkboxSlider.round {
  border-radius: 34px;
}

.checkboxSlider.round:before {
  border-radius: 50%;
}

/* WHATSAPP PAGE */

.float{
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	right:40px;
	background-color:#FFF;
	color:#49654f;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	box-shadow: 2px 2px 3px #999;
  z-index:100;
}

.my-float{
	margin-top:16px;
}

/* COOKIE PAGE */

.cookieClose {
  text-decoration: none;
  float: right;
  color: #49654f;
  border-bottom: none;
}

/*Links*/
.cookieDialog a:link{
    color: #49654f;
    text-decoration: none;
    padding-bottom: 1px;
    border-bottom: 1px solid #9db8a3;
}

.cookieDialog a:hover,
.cookieDialog a:active {
    color: #9db8a3;
    border-bottom: 1px solid transparent;
}

.cookieDialog {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1010;
  width: 100%;
  height: 100%;
  display: none;
}

.cookieDialog table{
    color: #49654f;
}

.cookieOverlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1009;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: none;
}

.cookieIn {
  width: 100%;
  height: 100%;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

.cookieBox h2 {
  margin: 10px 40px 15px 0;
}

.cookieBox {
  background: #dce6de;
  border-radius: 10px;
  margin: 30px;
  padding: 30px;
  margin: 0 auto;
  max-width: 700px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  text-align: left;
  position: relative;
}

.cookieDialog td {
  padding-right: 20px;
}

.cookieOverlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1009;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: none;
}

/* cookie page - buttons */

.cookieNoticeButton.gray {
  color: #000;
  background: #fff;
}

.cookieNoticeButton.gray:hover {
  color: #000;
  background: #f0f0f0;
}

.cookieNoticeButton.green {
  color: #fff;
  background: #49654f;
}

.cookieNoticeButton.green:hover {
  background: #49654f;
}

.cookietb th, td, tr {
  padding: 15px;
    text-align: left;
}



/* ----------------------------------------------- */
/* FOOTER */
/* ----------------------------------------------- */

footer {
    background-color: #49654f;
    padding: 50px;
    font-size: 80%;
}

.footer-nav {
    list-style: none;
    float: left;
}

.social-links {
    list-style: none;
    float: right;
}

.footer-nav li,
.social-links li {
    display: inline-block;
    margin-right: 20px;
}

.footer-nav li:last-child,
.social-links li:last-child {
    margin-right: 0;
}

.footer-nav li a:link,
.footer-nav li a:visited, 
.social-links li a:link,
.social-links li a:visited {
    text-decoration: none;
    border: 0;
    color: #dce6de;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}

.footer-nav li a:hover,
.footer-nav li a:active {
    color: #9db8a3;
}

.social-links li a:link,
.social-links li a:visited {
    font-size: 160%;
}

.ion-social-facebook,
.ion-social-linkedin,
.ion-social-googleplus,
.ion-social-instagram {
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}

.ion-social-facebook:hover {
    color: #3b5998;
}

.ion-social-linkedin:hover {
    color: #0077B5;
}

.ion-social-googleplus:hover {
    color: #dd4b39;
}

.ion-social-instagram:hover {
    color: #517fa4;
}


footer p {
    color: #fff;
    text-align: center;
    margin-top: 20px;
}

/* ----------------------------------------------- */
/* Animations */
/* ----------------------------------------------- */

.js--wp-1,
.js--wp-2,
.js--wp-3
{
    opacity: 0;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
}

.js--wp-4 {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
}

.js--wp-1.animated,
.js--wp-2.animated,
.js--wp-3.animated {
    opacity: 1;
}


@keyframes fade-in {
  0% {
    opacity: 0;
      scale: 0.8;
  }
  100% {
    opacity: 1;
      scale: 1;
  }
}

@keyframes fade-out {
  0% {
    opacity: 1;
      scale: 1;
  }
  100% {
    opacity: 0;
      scale: 3;
  }
}
