/*
Theme Name: Publisher Child Theme
Theme URI: http://themeforest.net/item/publisher/15801051?ref=Better-Studio
Version: 5.2
Description: Designed by <a href="http://betterstudio.com/">BetterStudio</a>
Author: BetterStudio
Author URI: http://betterstudio.com/
Text Domain: publisher 
Copyright: (c) 2016 BetterStudio
Template: mercatininatale
*/

.rv_frame, iframe {border:0px}

/******* Postlist 2017-02-17 *******/

/* Some basic styling */
.postlist h3 {font-size: 22px; line-height: 1.2em; margin-top: 0; padding-top: 0}
.postlist p, .postlist .morelink a {font-size: 14px; line-height: 1.4em;}
.withthumb .lcp-container {margin-left: 220px;}
.morelink {text-align: right;}

/* Styling of the outer container */
.postlist {
    border: 1px solid #ccc;
        background: rgba(255, 255, 255, 0.7);
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.1);
    margin: 20px 0px;
    padding: 20px;
    overflow: auto;
}

/* The image magic */
.thumbmagic {
  float: left;
  display: inline-block;
  position: relative;
  overflow: hidden;
  width: 200px;
  height: 0;
  padding-bottom: 150px;
}

.thumbmagic img {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 0;
  max-height: none;
  max-width: none;
/* min-width: 200px; width: auto; height: 100%; /* Use for portrait display */
  min-height: 150px; height: auto; width: 100%; /* Use for landscape display */
  -webkit-transform: translate(-50%,-50%);
      -ms-transform: translate(-50%,-50%);
          transform: translate(-50%,-50%);
}

/* The responsive magic */
@media screen and (max-width: 600px) {
  .thumbmagic {float: none; display: block; margin: 10px auto 20px auto;}
  .thumbmagic:empty {display: none;}
  .withthumb .lcp-container {margin-left: 0px; text-align: center;}
  }

/* The cardview */
.cardview.postlist {padding: 0;}
.cardview .thumbmagic {float: none; width: 100%; padding-bottom: 38%; margin-top: 0;}
.cardview .lcp-container {margin: 0; padding: 0 20px 20px 20px;}

/* Multicolumn */
@media ( min-width: 767px ) {
div.postlist {/*width: 48%;*/ float: left;}
div.postlist:nth-of-type(2n+1) {margin-right: 4%;}
div.postlist:nth-of-type(2n+3) {clear: both;}
}

/* Multicolumn 3 > 2 > 1 Version */ /* Comment the upper version and uncomment this one to use it
@media ( min-width: 767px ) and ( max-width: 1100px ) {
div.postlist {float: left; width: 48%;}
div.postlist:nth-of-type(2n+1) {margin-right: 4%;}
div.postlist:nth-of-type(2n+3) {clear: both;}
}
@media ( min-width: 1101px ) {
div.postlist {float: left; width: 32%; margin-right: 2%;}
div.postlist:nth-of-type(3n+3) {margin-right: 0;}
div.postlist:nth-of-type(3n+4) {clear: both;}
}
*/
/* nasconde la parte dx delle review */
#review-statistics .review-wrap-up .review-wu-right {display:none;}
#review-statistics .review-wrap-up .review-wu-left {width:100% !important;}

.btn.btn-primary.btn-lg.btn-block {
    font-size: 1.1em;
    text-align: left;
}
.td_align_center {
    text-align: center;
}

.td_valign_middle td {
    vertical-align: middle !important;
}

.user-comments-grades {width:100% !important;}

.bsac-container.bsac-type-image {clear:both;}

search-form input[type="search"], .search-field {
    border-color: #0080ce;
}

.shape{    
	border-style: solid; border-width: 0 70px 40px 0; float:right; height: 0px; width: 0px;
	-ms-transform:rotate(360deg); /* IE 9 */
	-o-transform: rotate(360deg);  /* Opera 10.5 */
	-webkit-transform:rotate(360deg); /* Safari and Chrome */
	transform:rotate(360deg);
}
.offer{
	background:#fff; border:1px solid #ddd; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); margin: 15px 0; overflow:hidden;
	margin-bottom: 5px;
    padding-bottom: 10px;
}

.shape {
	border-color: rgba(255,255,255,0) #d9534f rgba(255,255,255,0) rgba(255,255,255,0);
}
.offer-radius{
	border-radius:7px;
}
.offer-danger {	border-color: #d9534f; }
.offer-danger .shape{
	border-color: transparent #d9534f transparent transparent;
}
.offer-success {	border-color: #5cb85c; }
.offer-success .shape{
	border-color: transparent #5cb85c transparent transparent;
}
.offer-default {	border-color: #999999; }
.offer-default .shape{
	border-color: transparent #999999 transparent transparent;
}
.offer-primary {	border-color: #428bca; }
.offer-primary .shape{
	border-color: transparent #428bca transparent transparent;
}
.offer-info {	border-color: #5bc0de; }
.offer-info .shape{
	border-color: transparent #5bc0de transparent transparent;
}
.offer-warning {	border-color: #f0ad4e; }
.offer-warning .shape{
	border-color: transparent #f0ad4e transparent transparent;
}

.shape-text{
	color:#fff; font-size:12px; font-weight:bold; position:relative; right:-40px; top:2px; white-space: nowrap;
	-ms-transform:rotate(30deg); /* IE 9 */
	-o-transform: rotate(360deg);  /* Opera 10.5 */
	-webkit-transform:rotate(30deg); /* Safari and Chrome */
	transform:rotate(30deg);
}

.mercatini-infobox .thumbnail { border-radius: 0 !important; }
.mercatini-infobox:first-child { margin-top: 0 !important; }
.mercatini-infobox { margin-top: 20px; }
.mercatini-infobox .dotted { border-right: 1px dotted #ccc; min-height: 140px; }
.mercatini-infobox ul { padding-left: 0 !important; list-style: none;  }
.mercatini-infobox ul li { font: 400 normal 1em "Roboto",Arial,Verdana,sans-serif;  line-height: 30px; }
.mercatini-infobox ul li i { padding-right: 5px; }
.mercatini-infobox .col-md-7 { position: relative; }
.mercatini-infobox h3 { font: 500 normal 1.375em "Roboto",Arial,Verdana,sans-serif; margin-top: 0 !important; margin-bottom: 10px !important; }
.mercatini-infobox h3 > a, .mercatini-infobox i { color: #248dc1 !important; }
.mercatini-infobox p { font: normal normal 1em "Roboto",Arial,Verdana,sans-serif; text-align:justify;} 
.mercatini-infobox span.plus { position: absolute; right: 0; top: 126px; }
.mercatini-infobox span.plus a { background-color: #248dc1; padding: 5px 5px 3px 5px; }
.mercatini-infobox span.plus a:hover { background-color: #414141; }
.mercatini-infobox span.plus a i { color: #fff !important; }
.mercatini-infobox span.border { display: block; width: 97%; margin: 0 15px; border-bottom: 1px dotted #ccc; }

.wpb_wrapper {
    padding-left: 8px;
    padding-right: 8px;
}

.bs-callout {
  padding: 20px;
  margin: 20px 0;
  border: 1px solid #eee;
  border-left-width: 5px;
  border-radius: 3px;
}
.bs-callout h4 {
  margin-top: 0;
  margin-bottom: 5px;
}
.bs-callout p:last-child {
  margin-bottom: 0;
}
.bs-callout code {
  border-radius: 3px;
}

/* Tighten up space between multiple callouts */
.bs-callout + .bs-callout {
  margin-top: -5px;
}

/* Variations */
.bs-callout-danger {
  border-left-color: #ce4844;
}
.bs-callout-danger h4 {
  color: #ce4844;
}
.bs-callout-warning {
  border-left-color: #aa6708;
}
.bs-callout-warning h4 {
  color: #aa6708;
}
.bs-callout-info {
  border-left-color: #1b809e;
}
.bs-callout-info h4 {
  color: #1b809e;
}

.small-h-text{
	font-size:0.8em;
}
/* elenco date nei box dei mercatini */
ul.meta-search {
    font-size: 14px;
}
