/*
 Theme Name:     Divi Child Theme - Amfora
 Theme URI:      http://www.elegantthemes.com/gallery/divi
 Description:    divi Child Theme with PM footer - Amfora
 Author:         Elegant Themes
 Author URI:     http://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/

@import url("../Divi/style.css");





/* =Theme customization starts here
------------------------------------------------------- */

body {
  overflow-x: hidden;
}



/* EXPLODER */
@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {



  .header-content {
    padding: 18% 10px !important;
  }
}



/* MISC
======================================================= */

.woocommerce-message {
  position: absolute !important;
  top: 120px !important;
  left: 0px !important;
  z-index: 9999 !important;
  font-size: 0.9em !important;

}

.woocommerce-cart .woocommerce-message {
  position: static !important;
}


.woocommerce-message woocommerce.et_pb_button_helper_class a.button,
.woocommerce-page.et_pb_button_helper_class a.button {

  background-color: #000 !important;
  border: 1px solid #fff !important;
  margin-left: 20px;
  font-size: 0.9em !important;

}


ul.page-list li {
  list-style-type: none;
  display: inline;
  margin: 0 15px;
  font-size: 1.3em;

}

#circle {
  width: 40px;
  height: 40px;
  background: black;
  -moz-border-radius: 50px;
  -webkit-border-radius: 50px;
  border-radius: 50px;
  display: inline-block;
  margin-right: 20px;
}


/* TUOTESIVU
======================================================= */
@media (min-width:480px) {
  .single-product div.product form.cart {
    float: right;
    margin: 0 !important;
  }
}

.single-product .woocommerce-breadcrumb {
  display: none;
}

#tab-description h2:first-child {
  display: none;
}

.single-product #main-content .container {
  padding-top: 0 !important;
  max-width: 100%;
  width: 100%;
}

.single-product .product .summary,
.single-product .entry-content {
  width: 80%;
  max-width: 1200px;
  margin: auto;
  margin-bottom: 80px;
}



.upsells {
  width: 80%;
  max-width: 1200px;
  margin: auto;
  margin-bottom: 80px;
}

.upsells li {

  float: left;
  margin-bottom: 20px;
}



#slider1_container,
#slider1_container .woocommerce-images,
#slider1_container .woocommerce-images>div {
  width: 100vw !important;
  height: 40vw !important;
}

#slider1_container {
  margin-bottom: 80px;
}

.woocommerce-images span {
  top: 17vw !important;
}

.woocommerce-images img {
  width: 100vw;
}


.product_meta {
  border: none;
}


@media only screen and (max-width:960px) {}


.woocommerce .quantity input.qty,
.woocommerce-page .quantity input.qty,
.woocommerce #content .quantity input.qty,
.woocommerce-page #content .quantity input.qty,
.woocommerce-cart table.cart td.actions .coupon .input-text {
  height: 42px;
  box-shadow: inset 0 0 0 1px #000 !important;
  border: 1px solid #fff !important;
  border-radius: 0 !important;
  color: #000 !important;
  background-color: #fff !important;
}





body #page-container #left-area {
  width: 100% !important;
  padding-right: 0;
}

.et_right_sidebar #main-content .container:before {
  display: none;
}


/* ETUSIVU
======================================================= */
.home #main-header:not(.et-fixed-header) #logo {
  display: none;
}

/*.home header#main-header,
.single-product header#main-header,
.page-id-84 header#main-header,
.page-id-128 header#main-header {
 background: #333;
}*/


.page-id-86 header#main-header {
  background: #333;
}

header#main-header.et-fixed-header {
  background: #333;
}




/* TUOTELISTAUS
======================================================= */
/*
ul.products li {
  min-width: 200px;
  width: 23%;
  margin-right: 2%;
  margin-bottom: 2%;
  display: inline-flex;
  box-shadow: 0 0 0 1px rgba(0,0,0,.1);
  transition: all 150ms;
}

ul.products li h3,
ul.products li .price {
  padding: 8px 15px !important;
}

ul.products li h3 {
  border-bottom: 1px solid rgba(0,0,0,.1);
}

.woocommerce-result-count {
  display: none;
}*/


/* CONTENT VIEWS
======================================================= */
/*
.pt-cv-content-item.pt-cv-1-col.pt-cv-nolf {
  transition: all 150ms;
}
.pt-cv-readmore.pt-cv-textlink {
  display: block;
  color: #333 !important;
}
a._self.pt-cv-readmore.pt-cv-textlink:after {
  content: "→";
  transform: translate(5px,-1px);
  position: absolute;
  transition: all 150ms;
}
.pt-cv-content:hover a._self.pt-cv-readmore.pt-cv-textlink:after {
  transform: translate(15px,-1px);
}
*/

#tuotteet #pt-cv-view-ecd52ad55c .pt-cv-content-item {
  padding-bottom: .3vw !important;
}


/* OSTOSKORI
======================================================= */
.cart .coupon {
  display: inline-block;
}

.cart label[for="coupon_code"] {
  float: left;
  padding: 7px;
}

.woocommerce .cart input[name="update_cart"] {
  float: right;
}




/* FOOTER
======================================================= */
.fwidget {
  width: 100%;
}

.footer-widget:first-of-type {
  text-align: center;
  width: 100% !important;
}

@media (min-width: 768px) {
  .footer-widget .fwidget:first-of-type img {
    /*transform: translateX(30%);*/
    max-width: 300px;
    padding-top: 30px;
  }

  /*#text-4 {
    text-align: right;
    margin-top: 171px;
  }*/
}

.footer-widget h4 {
  padding-bottom: 20px;
}

#main-footer .fa {
  color: #fff;
}

#main-footer .fa-inverse {
  color: #333;
}

.et_pb_widget a {
  color: #fff;
}


@media (max-width: 981px) {

  .single-product header#main-header {
    background: #333 !important;
  }

}