/*
Theme Name: scribeo_V2
Description: scribeo.fi
Author: Teemu Suoranta
Author URI: teemusuoranta.fi
*/

/* 01. RESETS -----------------------------------------------------------------------*/
.ui-dialog {
  position:fixed !important;
  top: 40% !important;
}

html,body,img{outline: none;border:0;margin:0;padding:0;}
img{max-width:100%;height:auto;}
div{margin:0 auto;}
p{line-height:2em;font-size:1.1em;margin: 0 0 1em 0;}
a, a:focus, a:hover, a:active {outline: none !important;}input:focus,select:focus,textarea:focus,button:focus {outline: none;}
::selection {background: #ff9108;color:#ffffff;}::-moz-selection {background: #ff9108;color:#ffffff;}
html{background-image: url(img/pilvet.jpg);background-repeat:no-repeat;background-size:100% auto;}

/* 02. COMMON -----------------------------------------------------------------------*/
.middle-parent {display:table;height:100%;}
.middle-child {display:table-cell;vertical-align:middle;}
.long{height:100%;}.wide{width:100%;}
.center{text-align:center;}
.no-list ul{margin:0;padding:0;}.no-list li{margin:0;padding:0;list-style-type:none;}

img.kansireunus {
  border:1px solid #d6d6d6;
}

h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: #85c267;
}

h4 {
  margin:1.4em 0 1.2em 0;
}

ul li {
  margin-bottom: .6em;
  font-size: 1em;
}


/* 03. STRUCTURE -----------------------------------------------------------------------*/


.rotate-180 {
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
}

#dropdown-tuotteet {
  display: none;
}

.raja{
  width: 96%;
  max-width: 1220px;
}

#header-img {
  margin-top:.65em;
}

.nav-bar {
  width: 100%;
  border-radius: 20px;
  background: #7e7efa;
  height: 80px;
}

.nav-left {
  float: left;
}

.nav-left ul {
  margin-left:3em;
}

.nav-left ul li {
  display: inline-block;
  line-height: 80px;
  font-size: 1.3em;
  font-weight: 600;

}


.nav-left ul li a {
  color: #fff;
  margin-right: 1.5em;

}

.nav-left ul li a:hover {
  color: #fcb255;
  text-decoration: none;
}



.nav-right {
  float: right;
  background: #6969ee;
  width: 400px;
  height: 80px;
  border-radius: 0 20px 20px 0;
}

.nav-right br {
  display: none;
}

#ostoskassi {
  padding-left: 1.4em;
  padding-top: 14px;
}

.content {
  border: 1px solid #ebebeb;
  width: 100%;
  border-radius: 20px 20px 0 0;
  background: #fff;
  margin-top:1em;
  padding-bottom: 5em;
}

.tuotteet-nav {
  width: 20%;
  float: left;
}

.main-content {
  width: 60%;
  float: left;
  border-left: 1px solid #ebebeb;
  margin-top: 3.4em;
}

.side-content {
  width: 20%;
  float: right;
}

.tuotteet-nav-inner {
  padding: 0 2em;
}

.main-content-inner {
  margin:0 3em;
}

.side-content-inner {
  margin: 3em 1.2em 1em .5em;
}

.tuotteet-nav h2 {
  font-family: 'Lobster', cursive;
  color: #9696fb;
  font-size: 2.3em;
  letter-spacing: .002em;
  margin-top: 1.2em;
  margin-bottom:1em;
}

.tuotteet-nav ul li {
  display: block;
  list-style-type: none;
    padding: 0px;
    margin: 1.4em 0 1em 0;
    padding-bottom: 1.2em;
    border-bottom: 1px dotted #e3e3e3;
}



.tuotteet-nav ul li {
  list-style-position:inside;
  background-image: url(img/bullet.png);
    background-repeat: no-repeat;
    padding-left: 39px;
    line-height: 24px;
    margin-bottom: 1em;
    display: block;
    text-align: left;
    font-size: 1em;
}

.tuotteet-nav ul li span:hover {
  cursor:pointer;
}

ul.subnav {
  display: none;
}

ul.subnav li {
  background-image:none;
    padding-left: 0;
    line-height: 1.4em;
    margin-bottom: .5em;
    display: block;
    text-align: left;
    font-size: .95em;
    border:0;
    padding-bottom: 0;


}

/* 04 OSTOSKORI ---------------------------------------------------------------------------------------------*/

.ostoskorityhja {
  height: 80px;
}

.ostoskorityhja {
  margin-left: 1.6em;
}

.ostoskorityhja img, .ostoskoritavaroita img {
  margin-top: -8px;
}

.ostoskorityhja span {
  line-height: 84px;
  margin-left: 1em;
  color: #fff;
}


.ostoskoritavaroita {
  height: 80px;
}

.ostoskoritavaroita span {
  line-height: 84px;
  margin-left: 1em;
  color: #fff;
}

a.tilaukseen {
  background: #ff9108;
  border-radius: 3px;
  color: #fff;
  padding: 6px 12px;
  margin-left:1.3em;
  font-size: .95em;
  -webkit-box-shadow: 0px 3px 0px 0px rgba(187, 106, 4, 1);
  -moz-box-shadow:    0px 3px 0px 0px rgba(187, 106, 4, 1);
  box-shadow:         0px 3px 0px 0px rgba(187, 106, 4, 1);
}

a.tilaukseen:hover, a.tilaukseen:active {
  text-decoration: none;
  background: #e88305;
  color: #fff;

}

/* FRONT ----------------------------------------------------------------------------------------------------------------------------------------------------*/

.main-content h1 {
  margin: -12px 0 .85em 0;
}

/* SIVUPALKKIIN ----------------------------------------------------------------------------------------------------------------------------------------------------*/

.side-contact {
  margin: 1.6em 1.8em;
  border: 1px solid #e0e0e0;
  max-width: 194px;


}

.side-contact-inner {
  padding: 1.4em 1.6em;
}

.side-contact h4 {
  font-family: 'Lobster', cursive;
  color: #ff9108;
  font-weight: 400;
  font-size: 1.9em;
  margin: 0 0 .5em 0;
  padding: 0;
}

.etiketti {
  display: block;
  font-size: .9em;

}


.osoite {
  display: block;
  font-weight: 600;
  margin-bottom: .6em;
}



.esittelyssa-tuote {
  margin: 1.6em 1.8em;
  max-width: 194px;

}

.esittelyssa-otsikko {
  background: #ffa73a;
}



.esittelyssa-tuote-inner {
  padding: 1em .8em .65em .8em;
  border: 1px solid #ffd5a1;
}

.esittelyssa-tuote img {
  max-width: 120px;
}

.esittelyssa-tuote h3 {
  font-size: 1em;
  color:#494949;
  margin: .7em 0 .1em 0;
  font-weight: 600;
}

.esittelyssa-tuote span {
  color: #696969;
  font-size: .85em;
}

.esittelyssa-otsikko span {
  padding: .45em 0;
  display: block;
  font-family: 'Lobster', cursive;
  color: #fff;
  font-weight: 400;
  font-size: 1.5em;
  letter-spacing: .05em;
}

.esittelyssa-tuote a:hover, .esittelyssa-tuote:active {
  text-decoration: none;
  color: inherit;
}


/* TUOTTEET ----------------------------------------------------------------------------------------------------------------------------------------------------*/

.tuotteet-sivu {

}

.tuotteet-sivu h2 {
  font-size: 1.6em;
  margin: 1em 0 1em 0;
}

.tuotteet-sivu h3 {
  color: #222222;
  font-size: 1.1em;
  margin: .5em 0 .2em 0;
  padding: 0;
  font-weight: 400;
}

.tuotteet-sivu img {
  margin-top: .6em;
}

.tuote-face {
  width: 30.33%;
  margin-right: 3%;
}

/* YKSITTAINEN TUOTE ------------------------------------------------------------------------------------------------------------------------------------------*/

.tuote-otsikko {

}

.tuote-otsikko h1 {
  font-weight: 600;
  color: #85c267;
  font-size:1.9em;
  margin: 0;
  padding: 0 0 .4em 0;
}

.tuote-otsikko h2 {
  font-weight: 400;
  color: #5a5a5a;
  font-size: 1em;
  margin: 0;
}

.tuote-lyhyet-tiedot p {
  font-size: 1em;
  line-height: 1.4em;
}

.tuote-faktat {
  margin: 3.2em 0 1.5em 0;
}

.hintaboksi {
  border: 1px solid #7e7efa;
  margin-bottom: 2em;
}

.hintaboksi h3 {
  background: #7e7efa;
  width: 100%;
  text-align: center;
  color: #fff;
  margin: 0;
  padding: .8em 0;
  font-size: 1.3em;
}

.hintaboksi-inner {
  margin: .5em 1.2em .5em 1.2em;
}

span.hinta {
  display: block;
  margin: 0 auto;
  padding-bottom: .3em;
}

span.kuvaus {
  padding: .8em 0 1.4em;
  display: block;
  color: #5b5b9d;
  font-size: .95em;
  line-height: 1.6em;
}

a.lisaakoriin,
.single_add_to_cart_button {
  background: #85c267;
  -webkit-box-shadow: 0px 3px 0px 0px rgba(109, 165, 82, 1);
  -moz-box-shadow:    0px 3px 0px 0px rgba(109, 165, 82, 1);
  box-shadow:         0px 3px 0px 0px rgba(109, 165, 82, 1);
  border-radius: 3px;
  color: #fff;
  font-weight: 600;
  font-size:1em;
  padding: .4em 1.1em;
  margin: 1.4em 0 1em 0;
  display: inline-block;
}

a.lisaakoriin:hover, a.lisaakoriin:active,
.single_add_to_cart_button:hover, .single_add_to_cart_button:active {
  text-decoration: none;
  background: #8bca6d;
  -webkit-box-shadow: 0px 3px 0px 0px rgba(109, 165, 82, 1);
  -moz-box-shadow:    0px 3px 0px 0px rgba(109, 165, 82, 1);
  box-shadow:         0px 3px 0px 0px rgba(109, 165, 82, 1);

}

span.maara {

}

span.maara b, span.hinta b {
  margin-right:.5em;
  font-size:.95em;
}

.hintaboksi input {
  text-align: center;
}

/* HINNASTO ----------------------------------------------------------------------------------------------------------------------------------------------------*/

.hinnastorivi {
  width: 100%;
  padding: .4em .8em;
}

.hinnasto-sivu h2 {
  font-size:1.5em;
}

.parillinen {
  background: #f7f7f7;
}

.rivi-hinta{
  float: right;
}

/* TILAUS ------------------------------------------------------------------------------------------------------------------------------------------------------*/

.tilausrivi {
  width: 100%;
  display: block;
  margin: 1.1em 0;
}

.label {
  min-width: 120px;
  width: 26%;
  display: block;
  float:left;
}

h2.tilausotsikko {
  font-size: 1.6em;
  margin-bottom: .7em;
  margin-top: 2em;
}

span.disclaimer {
  display: block;
  font-size: .95em;
  color: #303030;
  margin-bottom: 2.5em;
}

input.tilaainput {
  width: 74%;
  padding:.3em .6em;
  max-width: 420px;
}

textarea.tilaatextarea {
  width: 74%;
  padding:.3em .6em;
  max-width: 420px;
  min-height: 140px;
}

input.tilaapostinro {
  padding:.3em .6em;
}

.postituslista {
  border:1px solid #dedede;
  margin:2.5em 0 2.5em 0;
  width: 100%;
  max-width: 530px;
}

.numbersOnly {
  text-align: center;
}

.posti-disclaimer {
  display: block;
  font-size: .95em;
  color: #303030;
  max-width: 450px;
  margin-bottom: 1.3em;
  line-height: 1.5em;
}

.postituslista-inner {
  margin: 2em 1.6em;
}

.postitusrivi {

}

.postitusrivi span {
  margin-right: 1em;
}

.postitusrivi input {
  max-width: 300px;
  padding:.1em .5em;
}


input.lahetatilaus {
  background: #85c267;
  -webkit-box-shadow: 0px 3px 0px 0px rgba(109, 165, 82, 1);
  -moz-box-shadow:    0px 3px 0px 0px rgba(109, 165, 82, 1);
  box-shadow:         0px 3px 0px 0px rgba(109, 165, 82, 1);
  border-radius: 3px;
  color: #fff;
  font-weight: 600;
  font-size:1em;
  padding: .4em 2.5em;
  margin: 0 0 1em 0;
  display: inline-block;
  border:0;
  width: 100%;
  max-width: 200px;
}

input.lahetatilaus:hover, input.lahetatilaus:active {
  text-decoration: none;
  background: #8bca6d;
  -webkit-box-shadow: 0px 3px 0px 0px rgba(109, 165, 82, 1);
  -moz-box-shadow:    0px 3px 0px 0px rgba(109, 165, 82, 1);
  box-shadow:         0px 3px 0px 0px rgba(109, 165, 82, 1);

}

/* YHTEYDENOTTO ------------------------------------------------------------------------------------------------------------------------------------------------*/

.wpcf7 {

}

.wpcf7 p {
  font-size: 1em;
}

.lomakeinput {
  font-size: 1em;
  width: 100%;
  max-width: 500px;
}

.lomaketextarea {
  font-size: 1em;
  width: 100%;
  max-width: 500px;
}



.wpcf7-submit {
  background: #85c267;
  -webkit-box-shadow: 0px 3px 0px 0px rgba(109, 165, 82, 1);
  -moz-box-shadow:    0px 3px 0px 0px rgba(109, 165, 82, 1);
  box-shadow:         0px 3px 0px 0px rgba(109, 165, 82, 1);
  border-radius: 3px;
  color: #fff;
  font-weight: 600;
  font-size:1em;
  padding: .4em 2.5em;
  margin: 0 0 1em 0;
  display: inline-block;
  border:0;
  width: 100%;
  max-width: 220px;
}

.wpcf7-submit:hover, .wpcf7-submit:active {
  text-decoration: none;
  background: #8bca6d;
  -webkit-box-shadow: 0px 3px 0px 0px rgba(109, 165, 82, 1);
  -moz-box-shadow:    0px 3px 0px 0px rgba(109, 165, 82, 1);
  box-shadow:         0px 3px 0px 0px rgba(109, 165, 82, 1);

}

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

.subfooter {
  width: 100%;
  background: #6969ee;
  padding: 1em 0;
}

.subfooter span {
  color: #fff;
  font-size:.9em;
  margin: 0 .5em;

}

.footer {
  width: 100%;
  background: #7e7efa;
  font-family: 'Lobster', cursive;
  color: #fff;
  padding: 1.4em 0;
}

.footer ul {
  display: block;
}


.footer ul li {
  display: inline-block;
  font-size: 1.45em;

}

/*
.footer ul li + li::before {
    content: " | ";
}

*/

.footer ul li{
    display: inline;
    padding: 0 20px;
    border-left: solid 1px #acacff;
}
.footer ul li:first-child{
    border-left: none;
}

/* WooCommerce -------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

ul.woocommerce-mini-cart {
  display: none !important;
}

.woocommerce-mini-cart__total strong {
  display: none !important;
}

.header-cart__title {
  display: none !important;
}

.ostoskoritavaroita * {
  transition: all .1s ease-in-out;
}

.ostoskoritavaroita img {
  display: inline-block;
  line-height: 80px;
  margin-top: 14px;
  vertical-align: top;
}

.header-cart__title {
  color:  #fff;
  display: inline-block;
  margin-left: 10px;
}

.widget_shopping_cart_content,
.widget_shopping_cart_content p {
  display: inline-block;
  margin: 0;
}

.header-cart .woocommerce-Price-amount {
  margin-left: 6px !important;
  font-size: 14px !important;
}

.header-cart .woocommerce-Price-currencySymbol {
  margin-left: 3px !important;
}

.woocommerce-mini-cart__empty-message {
  line-height: 80px;
  color: #fff;
  margin-left: 14px !important;
  font-size: 14px;
}

.woocommerce-mini-cart-title, .woocommerce-mini-cart-title li {
  list-style-type: none;
  margin: 0;
  color: #fff;
  font-size: 14px;
  display: inline-block;
  padding: 0;
}

.woocommerce-mini-cart-title {
  margin-left: 10px !important;
}

.hintaboksi-label {
  margin-bottom: 0;
  font-weight: bold;
  line-height: 1.25;
  font-size: 14px;
}

.hintaboksi-sisalto {
  padding: .8em 0 .25em;
  display: block;
  color: #5b5b9d;
  font-size: .95em;
  line-height: 1.6em;
}

.hintaboksi .qty {
  margin-top: 6px;
  width: 100%;
  max-width: 80px;
  padding: 4px;
}

.product-thumbnail img {
  max-width: 50px !important;
}

#billing_country_field {
  display: none !important;
}

#customer_details {

}
#customer_details .col-1,
#customer_details .col-2 {
  width: 100% !important;
  float: none !important;
}

#shipping_country_field {
  display: none !important;
}

.woocommerce-billing-fields > h3 {
  display: none !important;
}

.shop_table .cart-subtotal,
.shop_table .woocommerce-shipping-totals.shipping {
  display: none !important;
}

h3.form-row {
  padding-top: 2rem !important;
}

#myfield2_field,
#billing_myfield15_field,
#billing_myfield18_field {
  padding-top: .5rem !important;
  color: #3b3f3f !important;
  font-weight: normal !important;
  font-size: 14px;
  line-height: 1.5;
}

.woocommerce #respond input#submit,.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
  background-color: #85c267 !important;
  color:  #fff !important;
}

.woocommerce #respond input#submit:hover,.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce button.button.alt:active, .woocommerce input.button.alt:hover,
.woocommerce button.button.alt:disabled[disabled],
.woocommerce button.button.alt:disabled[disabled]:hover {
  background-color: #6da552 !important;
}

.woocommerce-terms-and-conditions-wrapper {
  display: none !important;
}


/* RESPONSIVE -------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/


@media(max-width:1080px){

  #dropdown-tuotteet {
    display: inline-block;
  }

  .tuotteet-nav-inner h2 {
    margin-bottom: .14em;
  }

  .tuotteet-nav-inner h2:hover {
    cursor: pointer;
  }

  .tuotelistaus {
    display: none;
  }

  .yhteensa {
    display: none;
  }

  .tuotteet-nav {
  width: 100%;
  float: none;
  }

  .main-content {
    width: 70%;
  }

  .side-content {
    width: 30%;
  }

  .nav-bar{
    height: 70px;
  }

  .nav-right {
    height: 70px;
    width: 350px;
  }

  .nav-left ul li {
    line-height: 70px;
    font-size: 1.2em;
  }

  .ostoskoritavaroita span {
    line-height: 74px;
    margin-left: 1em;
  }

  .ostoskoritavaroita img {
    margin-top:  8px;
  }

  .ostoskorityhja span,
  .woocommerce-mini-cart__empty-message  {
    line-height: 74px;
    }

@media(max-width:975px){
  .nav-left ul li a {
    margin-right: 1em;
  }

  .nav-left ul li {
    font-size: 1.1em;
  }

  .raja{
    width: 100%;
  }

  .nav-bar {
    border-radius:0;
  }

  .nav-right {
    border-radius:0;
  }

  .content {
    border:0;
    border-radius:0;
  }

  .main-content-inner {
    margin: 0 2em;
  }

  .main-content {
    margin-top: 2.4em;

  }

  h1, .h1 {
    font-size: 30px;
    text-align: center;
  }

}

@media(max-width:830px){

  .nav-left ul {
    margin-left: 1.5em;
  }


}

@media(max-width:810px){
  .main-content {
    width: 100%;
    float: none;
  }

  .side-content {
    width: 100%;
    float: none;
    display: none;
  }

  .nav-bar{
    height: 120px;
  }

  .nav-right {
    height: 60px;
    float: left;
    width: 100%;
  }

  .nav-left {
    width: 100%;
  }

  .nav-left ul li {
    line-height: 60px;
    font-size: 1.1em;
  }

  .ostoskoritavaroita span {
    line-height: 64px;
    margin-left: 1em;
  }

  .ostoskoritavaroita img {
    margin-top: 6px;
  }

  .ostoskorityhja span {
    line-height: 64px;
    }

  #menu-yla-navigaatio {
    margin: 0;
    text-align: center;
  }


}

@media(max-width: 767px){
  .tuote-kansi, .tuote-lyhyet-tiedot {
    text-align: center;
  }

  .tuote-lyhyet-tiedot {
    margin-top: 1em;
  }
}

@media(max-width: 570px){
  .label{
    display: block;
    float: none;
    width: 100%;
  }
}

@media(max-width:490px){
  #menu-item-123 {
    display: none;
  }

  .nav-left ul li a {
    margin-right: .7em;
  }

  .nav-left ul li {
    font-size: 1em;
  }

  .tuote-face {
    width: 48%;
    margin-right: 2%;
  }


}


@media(max-width:360px){
  #menu-item-123 {
    display: none;
  }

  .nav-left ul li a {
    margin-right: .5em;
  }

  .nav-left ul li {
    font-size: 1em;
  }



}
