/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

#the-content-mga{
    position: absolute;
    right: 80px;
    top:250px;
    width:30%;
}

#the-content-mga::after{
    content: "";
    display: block;
    height: 90px;
}

@media screen and (min-width: 813px) and (max-width: 1024px){
    #the-content-mga{
        position: absolute;
        right: 60px;
        top:100px;
        width:45%;
    }
}

@media screen and (min-width: 668px) and (max-width: 812px){
    #the-content-mga{
        position: absolute;
        right: 60px;
        top:100px;
        width:65%;
    }
}

@media screen and (max-width: 667px){
    #the-content-mga{
        position: absolute;
        right: 60px;
        top:80px;
        width:calc(100% - 120px);
    }
}


.barrange.container{
  background-color: rgba(0,0,0,.1);
  width: 100%;
  padding:10px;
  display: flex;
  box-sizing:border-box;
  border-radius:3px 3px 0 0;
}

.barrange.container div{
  padding:10px 0;
}

.barrange .pre{
  background:transparent;
  flex-grow:0;
  border-radius:3px 0 0 3px;
  -webkit-box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.2);
  -moz-box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.2);
  box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.2);
}

.barrange .in{
  background:orange;
  flex-grow:0;
  text-align: center;
  color: rgba(0, 0, 0, 0.5);
  font-weight: 700;
}

.barrange .post{
  flex-basis:auto;
  background:transparent;
  flex-grow:1;
  border-radius:0 3px 3px 0;
  -webkit-box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.2);
  -moz-box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.2);
  box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.2);
}

.scale{
  display:flex;
  padding: 10px;
  background-color: rgba(0,0,0,.05);
  border-radius: 0 0 3px 3px;
}
.scale .tacca{
  border-right: 1px solid #999;
  height:15px;
  flex-basis:1;
  flex-grow:1;
}

.scale .tacca:first-child{
  border-left: 1px solid #999;
}


.scale .tacca span{
  padding:5px;
  font-size:9px;
}

.sup .in{
  border-radius:3px 0 0 3px;
}

.raccolta.container{
  background-color: rgba(0,0,0,.1);
  width: 100%;
  padding:10px;
  box-sizing:border-box;
  border-radius:3px 3px 0 0;
}

.raccolta.container .holder{
  display: flex;
  width: 100%;
  box-sizing:border-box;
  -webkit-box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.2);
  -moz-box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.2);
  box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.2);
  align-items: center;
  border-radius:3px;
}

.raccolta.container .holdertxt{
  display: flex;
  width: 100%;
  box-sizing:border-box;
}

.raccolta.container .holder div,
.raccolta.container .holdertxt div{
  padding:10px 0;
  flex-basis:20%;
  text-align: center;
  opacity:0;
  font-size:10px;
}

.raccolta.container .holder div:nth-child(1){
  background:#e0071c;
  border-radius:3px 0 0 3px;
}

.raccolta.container .holder div:nth-child(2){
  background:#ffa500;
}

.raccolta.container .holder div:nth-child(3){
  background:#ffe566;
}

.raccolta.container .holder div:nth-child(4){
  background:#69bcd3;
}

.raccolta.container .holder div:nth-child(5){
  background:#1978aa;
  border-radius:0 3px 3px 0;
}

/* Overlay Portrait*/

.portrait.overlay{
  position: fixed;
  left:0;
  right:0;
  top:0;
  bottom:0;
  background: url('/wp-content/uploads/2020/05/portrait-background-1.jpg') no-repeat center center;
  background-size: cover;
  z-index: 999999;
  display: none;
}

@media screen and (orientation:portrait) {
  .portrait.overlay{
    display: block !important;
  }
  :not.portrait.overlay{
    display: none !important;
  }
}

.portrait.overlay .content-holder{
  display: flex;
  justify-content: center;
  align-items:start;
  height: 100vh;
  align-content: center;
}

.portrait.overlay .content-content{
  width: 65vw;
  background: rgba(255, 255, 255, 0.85);
  padding:10px 20px;
  margin-top: 10vh;
  text-align: center;
}

.portrait.overlay .content-content img{
  margin: 20px auto 20px auto;
  max-width: 300px;
  width: 100%;
}

.portrait.overlay .content-content p{
  text-align:center;
}


#mgas article, #listing-comuni article{
  overflow:visible;
}

#mgas .accesso-free h3,
#listing-comuni .accesso-free h3,
#related-mga .free h4{
  position:relative;
}

#related-mga .free h4{
  display: inline-block;
}

#mgas .accesso-free h3::after,
#listing-comuni .accesso-free h3::after,
#related-mga .free h4::after{
  display: inline-block;
  padding:2px 4px;
  background:#55595c;
  content: 'FREE';
  font-size:8px;
  border-radius:3px;
  color: white;
  position: absolute;
  margin-left:5px;
  top:-5px;
  overflow:visible;
  font-family: "Roboto", Sans-serif;
}

#barolo-menu li.free a span{
  display: inline;
  padding:2px 4px;
  background:#55595c;
  font-size:8px;
  line-height: 12px;
  border-radius:3px;
  color: white;
  margin-left:5px;
  overflow:visible;
  font-family: "Roboto", Sans-serif;
}

/* one column checkout page */
.woocommerce #customer_details.col2-set .col-1, .woocommerce-page #customer_details.col2-set .col-1,
.woocommerce #customer_details.col2-set .col-2, .woocommerce-page #customer_details.col2-set .col-2 {
    clear: both;
    float: none !important;
    width: 100% !important;
    margin-right:0 !important;
    text-align: left;
    padding-bottom: 20px;
}

/*rimuovo footer in come fare*/
.page-id-26 .elementor-location-footer, .page-id-3383 .elementor-location-footer{
  display: none;
}


/*cambio il colore dei bottoni di woocommerce*/
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt{
	background-color: #046C14 !important;
	padding: 15px 20px;
	margin-top: 15px;
}

.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button{
	background-color: #046C14 !important;
	color: white !important;
}

.ui-dialog-buttonset button{
  font-size:13px;
  padding: 0 10px;
  border:none;
}
