@import url('https://fonts.googleapis.com/css?family=Lato:300,400');


body, html {
  height: 100%;
  font-family: "Lato", sans-serif;
  text-rendering: optimizeLegibility !important;
  color: #444;
  font-weight: 400;
}

body {
  background-color: #c8c8c8;
}

a {
  color: #EE4B19;
  text-decoration: none;
  transition: outline-color 0.6s ;
}

.content-formatted h1 {
  font-weight: 400;
  font-size: 3.7rem;
}

.big-carousel {
  background-repeat: no-repeat;
  height: 100%;
  width: 1200px;
}


.akkadian-logo {
  position: absolute;
  background-image: url('../images/logo.png');
  width: 143px;
  height: 25px;
  background-size: cover;
  margin: 30px;
  z-index: 100;
}

.akkadian-nav {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 75%;
  position: absolute;
  right: 0;
  margin: 40px;
  z-index: 101;
}

.akkadian-nav a {
  margin-left: 1.8em;
  padding: 0.5em;
  outline: 1px solid rgba(0,0,0,0);
}

.akkadian-nav a:hover {
  outline: 1px solid #EE4410;
}

.person-data {
  opacity: 0;
  position: absolute;
  bottom: 0;
  margin: 30px;
  color: white;
  font-size: 1.4em;
  text-shadow: 0 0 25px rgba(0,0,0,0.8);;
}


.person-name, .person-phone {
  float: left;
  margin-right: 3em;
  margin-bottom: 0.8em;
}

/* .person-phone {
  display: none;
} */

.person-title {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 60%;
  margin-top: 0.5em;
}

.front-text {
  position: absolute;
  box-sizing: border-box;
  width: 49%;
  left: 50%;
  top: 22%;
  padding-right: 3em;
  margin-right: 3em;
  line-height: 1.5em;
  max-width: 800px;
  font-size: 200%;
  font-weight: 300;
  color: #555;
}

.front-text-small {
  margin-top: 1em;
  font-size: 60%;
  line-height: 1.5em;
}

.front-text h2 {
  color: #EE4410;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5em;
  margin-top: 1.5em;
}

.front-text h2:first-child {
  margin-top: 0;
}

.front-text p {
  margin-bottom: 0.5em;
  font-size: 90%;
}

.front-text a:hover {
  text-decoration: underline;
}

.next-btn {
  background-image: url('../images/arrow-right.png');
  background-size: cover;
  background-repeat: no-repeat;
  width: 33px;
  height: 65px;
  position: absolute;
  right: 30px;
  top: 50%;
  z-index: 3;
}

.next-btn:hover {
  background-image: url('../images/arrow-right-active.png');
}

.next-btn a {
  display: block;
  margin: auto;
  width: 100%;
  height: 100%;
}

h2.post-title {
  font-weight: 300;
}

/* blog page */

.container {
    padding-top: 80px;
}

.post .post-date {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.post .post-content {
    font-weight: 300;
}

.blog-page .post, .post-page .post {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 30px;
}

.kriis-page .post {
    padding: 30px;
}

.container .background-color {
    padding: 0;
}

.post-nav {
    margin: 50px 30px 0px 30px;
    padding-bottom: 30px;
}


.content-formatted {
  line-height: 1.5;
}

.content-formatted li {
    padding: 0.5em 0.8em 0.5em 0;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.content-formatted li:last-child {
    padding: 0.5em 0.8em 0.5em 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.bannerlink {
  display: block;
  background-color: rgba(0,0,0,0.05);
  padding: 0.5em 0.8em;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { 
  .person-data {
    text-shadow: 0 0 25px rgba(0,0,0,1), 0px 0px 15px rgba(0,0,0,0.6);
  }
  
  .post .post-content {
    font-weight: 400;
}
} 

/* blog article page */
.content {
    display: block;
    margin-top: 0;
}

/* shop */

.edy-buy-button {
  display: inline-block;
  background-color: #EE4B19;
  color: #FFF;
  padding: 0.5em;
}

.content-formatted .custom-btn.edy-buy-button {
  font-size: 120%;
  background-color: #EE4B19;
  color: #FFF;
  padding: 0.6em;
  margin: 1em 0;
  display: block;
  text-align: center;
  border: none;
  opacity: inherit;
}

.content-formatted .custom-btn.edy-buy-button:hover {
  background-color: #B93811;
  color: #FFF;
}


.crisisexit-page {
  background-color: #D5D5D5;
  background-image: url('../images/bg-wereopen-lite.jpg');
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center top;
  background-attachment: initial;
}

.crisisexit-page h1 {
  color: #EE4B19;
  font-size: 3.6em;
  font-weight: normal;
  margin-top: 1em;
  margin-bottom: 1em;
  width: 80%;
}

.crisisexit-page h1 .sub {
  display: block;
  font-size: 70%;
  margin-top: 1em;
  font-size: 50%;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2em;
}

.crisisexit-page h2 {
  color: #EE4B19;
  font-size: 1.2em;
  font-weight: normal;
  margin-top: 1em;
  margin-bottom: 1em;
  width: 75%;
  line-height: 1.3em;
}

.crisisexit-page h3 {
    color: #ee4b19 !important;
    text-align: center !important;
    font-size: 140%;
    padding: 1em;
}

.crisisexit-page hr {
  margin-top: 20px;
  height: 2px;
  display: block;
  border: 0;
  background-color: #ee4b19;
  width: 40%;
}

.crisisexit-coverimg {
  display: block;
  /*background-image: url('../images/raamat-v2.png');*/
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  margin-left: -5vw;
}

.crisisexit-coverimg img {
  width: 105%;
}

.crisisexit-moneyback {
  display: block;
  position: absolute;
  width: 110px;
  height: 110px;
  background-image: url('../images/moneyback.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  right: 50px;
  top: -70px;
  z-index: 1;
}

.blog-page.crisisexit-page .post {
    background-color: initial;
    padding: 0;
}

.crisisexit-carousel {
  display: flex;
}

.crisisexit-carousel-option {
  flex: 1;
  position: relative;
  background-color: #FAFAFA;
  display: inline-block;
  font-size: 90%;
  border-radius: 10px;
  margin-bottom: 1em;
}

.crisisexit-carousel-option-top {
  margin: 15px;
  margin-bottom: 10em;
}

.crisisexit-carousel-option-bottom {
  margin: 15px 15px 30px 15px;
  position: absolute; 
  width: 90%; 
  width: calc(100% - 30px);
  bottom: 0; 
}


.crisisexit-carousel-option ul, .crisisexit-carousel-option ol {
  list-style: disc;
  margin-left: 1em;
  font-size: 80%;
}

.crisisexit-singleoption .crisisexit-carousel-option ul, .crisisexit-carousel-option ol {
  list-style: disc;
  margin-left: 1em;
  margin-top: 0.5em;
  font-size: 100%;
}


.crisisexit-singleoption .crisisexit-carousel-option-top {
  margin: 25px;
}

.crisisexit-person {
  width: 32%;
  text-align: center;
  display: inline-block;
  vertical-align: top;
  padding: 5px;
  
  margin-top: 1em;
}

.crisisexit-person-pic {
  width: 130px;
  height: 130px;
  background-size: cover;
  border-radius: 50%;
  margin: auto;
  margin-bottom: 1em;
}

.crisisexit-testimonial {
/*  border: 1px solid #ee4b19;
  padding: 15px 20px;*/
  color: #ee4b19;
  font-style: italic;
  font-size: 110%;
  width: 66%;
  margin: 2em auto 3em auto;
}

.crisisexit-testimonial-name {
   font-style: normal;
  padding: 15px 20px 1px;
  color: #ee4b19;
  font-weight: bold;
  font-size: 90%;
  color: #555;
}

.crisisexit-testimonial-venture {
 font-style: normal;
 font-size: 70%;
 text-transform: uppercase;
  color: #ee4b19;
  padding-left: 20px;
  letter-spacing: 0.01em;
  color: #555;
}


.crisisexit-person-name {
  font-weight: bold;
  margin: auto;
  margin-bottom: 1em;
}

.crisisexit-person-profile {
  font-size: 75%;
  display: block;
  margin: auto;
  margin-bottom: 6em;
}

.content-formatted li {
    padding: 0.5em 0.8em 0.5em 0;
    border-top: 0;
}

.content-formatted ul {
  list-style: disc;
  margin-left: 1.5em;
}

.content-formatted ol {
  list-style: decimal;
  margin-left: 1em;
}

.content-formatted li:last-child {
    border-bottom: none;
   /* padding: 0; */
}



/* front carousel nav */
#peepsnav a {
  margin-right: 1em;
  font-size: 70%;
}

#peepsnav a:hover {
  text-decoration: none;
}
/* front page carousel */

.big-carousel > figure {
  /*animation: imageAnimation 3s linear  0s;*/
  backface-visibility: hidden;
  background-size: cover;
  background-position: center center;
  color: transparent;
  height: 100%;
  left: 0px;
  opacity: 0;
  position: absolute;
  top: 0px;
  width: 120%;
  width: calc(100% + 100px);
  max-width: 1600px;
  z-index: 0;
}


.big-carousel > figure:nth-child(1) { background-image: url('../images/big-eneli.jpg'); transform: translateX(-100px); }
.big-carousel > figure:nth-child(2) { background-image: url('../images/big-kadri.jpg'); transform: translateX(-100px); }
.big-carousel > figure:nth-child(3) { background-image: url('../images/big-julia.jpg'); transform: translateX(-100px); }
.big-carousel > figure:nth-child(4) { background-image: url('../images/big-paul.jpg'); transform: translateX(-100px); }
.big-carousel > figure:nth-child(5) { background-image: url('../images/big-sandra.jpg'); transform: translateX(-100px); }
.big-carousel > figure:nth-child(6) { background-image: url('../images/big-harold.jpg'); transform: translateX(-100px); }
.big-carousel > figure:nth-child(7) { background-image: url('../images/big-maria.jpg'); transform: translateX(-100px); }

@keyframes
imageAnimation {  0% {
 /*animation-timing-function: ease-in;*/
 opacity: 0;
 /*transform: scale(1, 1);*/
/* slide { from { top:-900px; } to { top:-300px; } }*/
}
 /*8% {
 animation-timing-function: ease-out;
 opacity: 1;
}*/

 100% {
 opacity: 0;
 transform: (-20%);
}
}

@keyframes bigCarouselFadeOut {  0% {
 opacity: 1;
}

 100% {
 opacity: 0;
 /*transform: (-20%);*/
}

}


/* footer */
.akkadian-icon {
 background: url('/images/akkadian-icon.png');
 background-size: cover;
 width: 75px;
 height: 75px;
 display: block;
 margin: 15px auto;
}

footer.footer {
  text-align: center;
  margin-bottom: 60px;
}

@media screen and (max-width: 1200px) {
  .front-text {
    font-size: 170%;
    top: 20%;
}
}

@media screen and (max-width: 950px) {
  .front-text {
    font-size: 150%;
    top: 15%;
   
}
    .big-carousel > figure {
    background-position: calc(50% - 50px) center;
  }
}

@media screen and (max-width: 752px) {
  .blog-page .container,  .post-page .container {
    padding: 0;
    padding-top: 80px;
  }
  
  .crisisexit-carousel {
    display: initial;
  }

  .crisisexit-carousel-option {
    margin-right: 0 !important;
  }
  
}

@media screen and (max-width: 750px) {
  .front-text {
    font-size: 125%;
    top: 15%;
    left: 45%;
  }
  
    .big-carousel > figure {
    background-position: calc(50% - 50px) center;
  }
}

@media screen and (max-width: 550px) {
  .content-formatted h1 {
    font-size: 3rem;
  }

  .big-carousel > figure {
    background-position: 46% center;
  }
  
  .next-btn {
    top: 65%;
  }

  .front-text {
    font-size: 95%;
    top: 15%;
    width: 62%;
    left: 44%; /* iphone */
  }
  
  .person-data {
    margin: 30px;
    font-size: 1.2em;
  }
  
  .front-text-small {
    font-size: 75%;
  }
  
  .container {
    padding-top: 60px;
  }
  
  .blog-page .post {
    padding: 15px;
}

  .blog-page .container,  .post-page .container {
    padding: 0;
    padding-top: 80px;
  }
  
  .content-formatted {
    font-size: 100%;
  }
}

@media screen and (max-width: 350px) {
  .akkadian-logo {
    margin: 20px 15px;
  }
  
  .akkadian-nav {
    margin: 29px 15px;
  }
  
  .akkadian-nav a {
    margin-left: 0.6em;
  }
  
  .front-text {
    top: 15%;
    width: 64%;
    left: 46%;
    font-size: 80%;
  }

  
  .front-text-small {
    font-size: 80%;
  }
  
  .big-carousel > figure {
    background-position: 48% center;
  }
  
  .person-data {
    font-size: 1.1em;
  }
  
  .container {
    padding: 10px;
    padding-top: 50px;
  }
}


@media screen and (min-width: 750px) and (max-height: 690px) {
  .front-text {
    top: 15%;
    font-size: 150%;
  }
}

@media screen (min-width: 351px) and (max-width: 710px) and (max-height: 690px) { /* and (min-width: 750px) */
  .front-text {
    top: 15%;
    font-size: 100%;
  } 
}

@media screen and (min-width: 711px) and (max-width: 751px) and (max-height: 690px) { /* and (min-width: 750px) */
  .front-text {
    top: 15%;
    font-size: 150%;
  } 
}


@media screen and (min-width: 350px) and (max-height: 420px) { 
 .front-text {
    top: 80px;
    font-size: 100%;
  }
}
