﻿/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */

/*
* Custom Style Sheet - Use this file to style your content
*/

.custom-logo {
  display: inline-block;
  width: 210px;
  height: 90px;
  background: url(../../../images/yootheme/logo.png) 50% 50% no-repeat;
  background-size: contain;
}

/* Only Phones (Portrait) */
@media (max-width: 479px) {
  .custom-logo { height: 60px; }
}

/*
font-family: 'Acme', sans-serif;
font-family: 'Open Sans', sans-serif;
font-family: 'Bangers', cursive;
*/

body{
  background: #688f0f;
  background-image:url(http://www.erboristeriavillanova.it/wp-content/uploads/2016/12/bg_naturalmente_erboristeria_padova_new.jpg);
  background-position: center top;
  background-repeat:no-repeat;
  background-attachment:fixed;
  padding: 37px 0 60px 0;
}

.content table td{
  padding:5px;
}

.content table{
  background-color:#dad9d7;
  border-color:#464037;
}


a{
  text-decoration: none;
  transition: all 0.5s ease 0s;
  color: #969081;
}
a:hover { color: #cec1ae; }

.wrapper{
  background-color: rgba(255, 255, 255, 0.9);
}

.menu-dropdown a.level1 {
	color: #837866 !important;
}

.menu-dropdown li.active .level1 {
 color: #ae9a77 !important;
}

body.wp-archive.wp-cat-3.wp-category.wp-cat-3 .wrapper {
    background-color: rgba(213, 206, 180, 0.9);
}

#footer {
color: #837866 !important;
}

.menu-dropdown li.active .level1,
.menu-dropdown li.level1:hover .level1,
.menu-dropdown li.remain .level1,
.menu-dropdown li.active .level1 {
    background: none !important;
}

.menu-dropdown .dropdown-bg > div {
    
    background: #e8e6e6 !important;
}

.menu-dropdown li.level2 {    
    border-top: 1px solid #9e8157;
}

#top-a .module{
  margin: 0;
}

#headerbar {
  float: left;
  margin: 50px auto 0;
  width: 344px;
}

#logo img{
  max-width: 100%;
}

#menu{
  float: right;
  margin-top: -9px;
}
.menu-dropdown a.level1 > span, .menu-dropdown span.level1 > span{
  height: 30px;
  padding: 0;
  line-height: 30px;
  width: 80px;
  text-align: center;
}

.menu-dropdown a.level1{
  font-size:12px !important;
}

#sidebar-a .featured-post{
  border-bottom: 1px solid #9e8157;
  padding-bottom: 14px;
}

.info-contatti{
  line-height:7px;
}

.wp-front_page #Widgets_on_Pages_1 li{
  /*width: 100%;*/
  margin-bottom:30px;
}

#Widgets_on_Pages_1{
  margin-left: -25px;
}

.widgets_on_page .widgettitle{
  font-size:20px !important;
}

#logo img {
  margin-left: -22px;
  margin-top: -31px;
}

.widgets_on_page .home-preview .leggi-tutto{
  /*float:right;*/
  margin-top:10px;
}

.widgets_on_page .home-preview{
  text-transform:none !important;
}

.edit, .links{
  display:none;
}

#top-a .grid-box:first-child{
  height: 392px!important;
  width: 670px!important;
}

#top-a .grid-box:last-child{
  float: right;
  width: 271px!important;
}

#top-a .grid-box:last-child{
  margin: 0;
  padding: 0;
}

#top-a .nav {
  position: absolute;
  bottom: 4px;
  z-index: 100;
  right: 15px;
}

#top-a .wk-slideshow-default .nav span{
  background: url('custom/nav.png') transparent top center no-repeat;
  width: 16px;
  height: 16px;
}

.wk-slideshow-default .nav .active span, .wk-slideshow-default .nav span:hover{
  background: url('custom/nav.png') transparent bottom center no-repeat!important;
}

.widgets_on_page li {
  list-style-type: none;
  display: inline-block;
  width: 50%;
  vertical-align: top;
}

.widgets_on_page li:before{
  display: block;
  background: url('custom/bg-home-text.png') no-repeat transparent 2px center;
  width: 66px;
  height: 67px;
  text-align: center;
  line-height: 62px;
  font-size: 24px;
  color: #c8f346;
  text-transform: uppercase;
  font-family: 'Bangers', cursive;
  font-weight: bold;
  float: left;
  margin-right: 10px;
}

/*.widgets_on_page li:nth-child(1):before{ content: "1"; }

.widgets_on_page li:nth-child(2):before{ content: "2"; }

.widgets_on_page li:nth-child(3):before{ content: "3"; }

.widgets_on_page li:nth-child(4):before{ content: "4"; }*/

.widgets_on_page .widgettitle{
  font-size: 14px;
  line-height: 20px;
  color: #86775c;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  margin: 3px 0 0px;
  text-transform: uppercase;
}

.widgets_on_page .home-preview{
  margin-bottom: 7px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #655c4d;
  text-transform: uppercase;
}

.widgets_on_page .home-preview p{
  margin: 0;
}

.widgets_on_page .textwidget {
  display: block;
  float: none;
  }

.widgets_on_page .leggi-tutto a{
  display: inline-block;
  background: url('http://www.erboristeriavillanova.it/wp-content/uploads/2016/12/leggi-tutto2.png') 100% 2px no-repeat;
  padding-right: 17px;
  color: #86775c;
  text-decoration: none;
  font-family: 'Cabin', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 17px;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.widgets_on_page .leggi-tutto a:hover{ color: #464037; }

.wp-front_page header{ margin-bottom: 0!important; }

.wp-front_page #system { margin-top: -20px; }

#sidebar-a .module-title, .title, .title a, #top-a .module-title{
  font-size: 20px;
  line-height: 24px;
  color: #86775c;
  font-family: 'Acme', sans-serif;
  font-weight: 400;
  margin: 0 0 23px;
  text-transform: uppercase;
}

#sidebar-a .featured-post, .info-contatti{
  font-size: 13px;
  color: #655c4d;
  font-family: 'Open Sans', sans-serif;
  margin-bottom: 15px;
}

#sidebar-a .featured-post h4{ margin: 0; }

#sidebar-a .featured-post h4 a, .info-contatti strong, .invia input{
  font-family: 'Acme', sans-serif;
  color: #655c4d;
}

#sidebar-a .featured-post h4 a:hover { color: #c77b03 }

#sidebar-a {/* background: url('custom/bg-widget.png') repeat transparent; */

background: #d9cbb0;}

.offerte{
  display: inline-block;
  position: relative;
  text-transform: uppercase;
  padding: 9px 22px;
  background: url('custom/top-a-leggi-tutto.gif') 0 0 repeat-x #efb500;
  color: #464037;
  text-shadow: 1px 0 1px rgba(0,0,0,.22);
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  font-family: 'Open Sans', sans-serif;
  text-decoration: none;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  bottom: 36px;
  left: 56px;
}

.offerte:hover{
  background: #efb500;
  background-position: 0 -200px;
  color: #fff;
}

#menu .dropdown {
  width: 175px !important;
  margin-left:-50px;
}

.content.clearfix {
  color: #464037;
  font-size: 12px;
}

.title a, .meta a{
  text-decoration: none;
  transition: all 0.5s ease 0s;
}

.title a:hover{
  color: #c77b03;
}


.meta, .meta a:hover{
  color: #9FAB28;
}

.meta a{ color: #969081 }

.wp-page-28 #top-a .grid-box:last-child{
  background: #d9cbb0;
  padding: 10px 5px 0 10px;
}

.info-contatti span{ font-weight: bold; }

.info-contatti strong{ font-size: 14px; }

.contatti input, .contatti textarea{
  padding: 5px;
  border: none;
}

.mail, .oggetto, .nome{
  display: inline-block;
  width: 311px;
  margin: 0;
}

.mail{
  margin: 0 10px;
}

.mail input, .oggetto input, .nome input{
  width: 301px;
}

.wp-page-28 #content{
  margin: 20px 0;
}

.messaggio textarea {
  width: 950px;
}

.captcha img{
  position: relative;
  top: 10px;
  height: 25px;
}

.invia input{
  color: #fff;
  background: #6A8E0D;
  transition: 0.5s;
  font-size: 14px;
}

.invia input:hover{
  color: #fff;
  background: #86775c;}

#footer .module{
  display: inline-block;
  width: 30%;
  vertical-align: top;
}

#footer .module p{
  margin-top: 0;
}

.wp-front_page #sidebar-a {
  max-width: 392px !important;
  width: 270px!important;
  margin-left: -10px!important;
}



#footer .module:first-child{
  width:60%;
}

#pre-footer{
  text-align:left;
}

.social img{
  width:35px;
  margin-top:6px;
}

.wrapper{
  -webkit-box-shadow: 0px 6px 10px 0px rgba(255, 255, 255, 0.3);
  box-shadow: 0px 6px 10px 0px rgba(255, 255, 255, 0.3);
  -moz-box-shadow: 0px 6px 10px 0px rgba(255, 255, 255, 0.3);
  -o-box-shadow: 0px 6px 10px 0px rgba(255, 255, 255, 0.3);
}

.menu-dropdown li.level1{
  margin-left:8px;
}

#footer{
  border-top: 1px dashed #464037;
  margin-top: 30px;
}

#system .item > header .title{
  font-size:26px;
}

#system .title a{
  font-size:	24px;
}

.menu-dropdown a.level2 > span, .menu-dropdown span.level2 > span{
  font-size:12px;
}

.content .alignright, .content .alignleft{
  border:1px solid #ccc;
  background-color:#FFF;
  padding:3px;
}

#sidebar-a .featured-post h4 a{
  font-size: 21px;
  line-height: 22px;
}

#sidebar-a .featured-post h4{
  margin-bottom:6px;
}

.wpcf7-form .captcha{
  width:800px;
  position:static;
  float:left;
  margin-top: -8px;
}

.wpcf7-form .captcha .wpcf7-form-control{
  width: 100px;
  height: 20px;
  margin-right: 3px;
}

.wpcf7-form .invia{
  position: static;
  float: left;
  margin-top: 0px;
}

.invia input{
  width: 110px;
}

.mail input, .oggetto input, .nome input {
  width: 301px;
  height: 20px;
}

.widgets_on_page .widgettitle{
  margin-bottom:6px;
}

.slogan-negozio em {
  font-size: 18px;
}

.slogan-negozio{
  margin-top: 55px;
}

#header, #main, #top-a, #top-b, #bottom-a, #bottom-b{
  max-width: 960px;
  margin: auto;
}
.wp-page-28 #top-a .grid-box:last-child .module.mod-line.deepest p {
  line-height: 1.3em !important;
}

@media (max-width: 1051px) {
  .wrapper {
    margin: auto;
    box-sizing: border-box;
    padding: 20px 25px 0;
  }
  img {
    height: auto;
    width: auto;
    max-width: 100%;
  }
}

@media (max-width: 1009px) {

  #menubar, #menu, .menu.menu-dropdown, .menu-dropdown,
  .menu-dropdown .level1, .menu-dropdown .level1 > span {
    float: none;
    clear: both;
    display: block;
    text-align: center;
    margin: auto;
  }
  #menubar {
    margin: 30px 0 20px;
  }
  .menu-dropdown, .menu-dropdown .level1, .menu-dropdown .level1 > span {
    display: inline-block;
    margin: auto;
    padding: 0;
  }
  #headerbar {
    float: none;
    clear: both;
    display: block;
  }
  .menu-dropdown a.level1, .menu-dropdown span.level1 {
    padding: 10px 0;
    box-sizing: border-box;
    height: auto;
    width: auto;
  }
  #logo img {
    margin: auto;
    float: none;
    clear: both;
  }
  .menu-dropdown li.level1 {
    margin: auto;
    padding: 0 !important;
  }
  .menu-dropdown a.level1, .menu-dropdown span.level1 {
    position: static;
    line-height: 1em;
    width: auto;
    height: auto;
    box-sizing: border-box;
    padding: 0;
  }
  #top-a .grid-box:first-child {
    width: /*calc(100% - 280px) !important;*/
    height: auto !important;
    min-height: 440px;
  }
  #top-a .grid-box:first-child .module.mod-line.deepest {
    min-height: 440px !important;
  }
  #top-a .grid-box:first-child .wk-slideshow.wk-slideshow-default {
    width: 100% !important;
    height: 100% !important;
  }
  #top-a .grid-box:first-child .wk-slideshow.wk-slideshow-default img {
    width: auto !important;
    max-width: none;
    height: 100% !important;
    text-align: center;
  }
  span.wpcf7-form-control-wrap {
    display: block;
  }
  .mail, .oggetto, .nome, .messaggio textarea,
  .mail input, .oggetto input, .nome input,
  .wpcf7-form .captcha {
    display: block;
    margin: auto;
    box-sizing: border-box;
    width: 100%;
    height: auto;
  }
  .wpcf7-form .captcha {
    margin-bottom: 20px;
  }
  span.wpcf7-form-control-wrap.captcha-700 {
    display: inline-block;
    width: 50%;
    margin-right: 20px;
  }
  .wpcf7-form .captcha .wpcf7-form-control.wpcf7-captchar {
    width: 100%;
    margin: 0;
    height: 30px;
    box-sizing: border-box;
  }
  span.wpcf7-form-control-wrap.captcha-700 input[type=hidden] {
    display: none;
  }
  .wpcf7-form .captcha .wpcf7-form-control.wpcf7-captchac.wpcf7-captcha-captcha-700 {
    display: inline-block;
    height: 30px;
    position: static;
    margin: auto;
    vertical-align: middle;
    float: right;
  }
}

@media (max-width: 990px) {
  .wp-page-28 #top-a .grid-box:last-child {
    height: 392px;
  }
  .wp-page-28 #top-a .grid-box:first-child {
    width: calc(100% - 291px) !important;
  }
}

@media (max-width: 850px) {
  .wp-front_page.sidebar-a-right #maininner,
  .sidebar-a-right #sidebar-a {
    float: none;
    clear: both;
    width: 100% !important;
    box-sizing: border-box;
    margin: auto !important;
  }
  .wp-front_page.sidebar-a-right #maininner ul {
    padding-left: 0;
  }
  .wp-front_page #system {
    margin: auto;
  }
  #Widgets_on_Pages_1 {
    margin: 30px auto 0 !important;
  }
  .sidebar-a-right #sidebar-a {
    background: none;
  }
  .sidebar-a-right #sidebar-a .grid-box {
    display: block;
    float: none;
    box-sizing: border-box;
    padding: 20px;
    margin: auto;
  }
  .sidebar-a-right #sidebar-a .grid-box .module.mod-line.deepest {
    margin: 0;
    box-sizing: border-box;
    padding: 20px;
    background: url('custom/bg-widget.png') repeat transparent
  }
}

@media (max-width: 767px) {
  .wp-page-28 #top-a .grid-box:last-child,
  .wp-page-28 #top-a .grid-box:first-child {
    display: block;
    float: none;
    margin: auto;
    box-sizing: border-box;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }
  .wp-page-28 #top-a .grid-box:last-child .module.mod-line.deepest,
  .wp-page-28 #top-a .grid-box:first-child .module.mod-line.deepest {
    min-height: 0 !important;
    height: auto !important;
  }
}

@media (max-width: 701px) {
  #maininner ul {
    margin: auto !important;
    clear: both;
    float: none;
    padding-left: 0;
  }
  .page #maininner img {
    display: block;
    float: none !important;
    clear: both;
    margin: auto !important;
    text-align: center;
  }
  .content table {
    max-width: 100% !important;
    width: 100% !important;
    overflow: scroll !important;
    box-sizing: border-box;
    padding: 0;
    margin: auto;
    display: block;
  }
  .page #maininner .wpcf7-form .captcha img.wpcf7-form-control.wpcf7-captchac.wpcf7-captcha-captcha-700 {
    float: right !important;
  }
}

@media (max-width: 601px) {
  #top-a .grid-box:first-child {
    display: none;
  }
  #top-a .grid-box:last-child,
  #top-a .grid-box:last-child .module.mod-line.deepest,
  #top-a .grid-box:last-child .module.mod-line.deepest p {
    width: 100% !important;
    max-height: 440px;
    overflow: hidden;
  }
  #top-a .grid-box:last-child img {
    height: auto;
    max-width: none;
    width: 100%;
  }
  .offerte {
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    top: auto;
    z-index: 1000;
    bottom: 0;
    display: block;
    text-align: center;
  }
  .wp-front_page #Widgets_on_Pages_1 li {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .wp-post-126 #content .content p {
    margin-left: auto !important;
  }
}

@media (max-width: 360px) {
  .wp-front_page #Widgets_on_Pages_1 li::before,
  .widgets_on_page .home-preview .leggi-tutto {
    float: none;
    clear: both;
    margin: auto;
  }
  .widgets_on_page .widgettitle {
    width: 100%;
    text-align: center;
  }
  .widgets_on_page .textwidget {
    margin: auto;
    width: 100%;
    text-align: center;
  }
  .widgets_on_page .home-preview .leggi-tutto {
    margin-top: 6px;
  }
  #footer .module, #footer .module:first-child {
    display: block;
    width: 100%;
    clear: both;
    float: none;
    text-align: center;
    margin: auto;
  }
  #pre-footer {
    width: 100%;
    text-align: center;
  }
}


/* -- Daniela - che pialla tutto il top a --- */


.wp-front_page #top-a .grid-box:last-child {
    width: 0 !important;
}

.wp-front_page div#main {
    padding-top: 50px;
}

.wp-front_page #top-a .grid-box:first-child {
    width: 100% !important;
}

@media (max-width: 601px) {

.wp-front_page #top-a .module.mod-line.deepest {
    height: 0;
}

}