

@media only screen and (max-width: 1000px) {
.header_bottom, nav.mobile_menu {
    background-color: #fff !important;
}

header .mobile_menu_button span 
{
color: #333 !important;
}

nav.mobile_menu ul li a, nav.mobile_menu ul li h3 {
    color: #4a4a4a !important;
}
}

nav.main_menu.right {
    float: right;
    clear: both;
    margin-top: -8px;
    width: 100%;
}

.mobile_menu_button span {
    color: #31312f;
    width: 19px;
    height: 17px;
    font-size: 14px;
    z-index: 50;
    display: table-cell;
    position: relative;
    cursor: pointer;
    vertical-align: middle;
}

.blog_holder.masonry article h3 a {
    font-weight: 300;
    font-size: 24px;
    font-weight: 500;
}
.blog_holder.blog_single article h2 {
    display: block;
    margin: 0 0 15px;
    text-align: justify;
}

h3, h3 a {
    color: #0d1200 !important;
    font-size: 23px;
    font-weight: 500;
}

.header_top {
display: none;
}

#lang_sel_list {
    height: 0px !important;
    width: 100px;
    margin-top: 20px;
    position: absolute;
}

#lang_sel_list ul {
    border-top: none !important;
}

#lang_sel_list ul a.lang_sel_other, #lang_sel li ul a:link, #lang_sel_list ul a.lang_sel_other:visited, #lang_sel_list a.lang_sel_sel {
    background-color: rgba(255, 255, 255, 0) !important;
}


.sticky .q_logo {
    top: 20%;
}

.sticky .header_inner_right {
display: none;
}

.sticky nav.main_menu.right {
    margin-top: 15px;
    width: 100%;
}

.sticky nav.main_menu.right {
float: right;
}

.logo_wrapper {
    padding-top: 36px;
}

.q_slider {
/* margin-top: 100px; */
}

.q_slider_inner {
    margin-top: -14px;
}

nav.main_menu.right {
float: right;
clear: both;
margin-top: 0px;
}

.slb_details {
display: none;
}

header.sticky .drop_down .second {
  margin-top: 50px !important;
}


.ppt {
display: none !important;
}

#le_mascot {
  float: left;
  width: 100%;
 /* z-index: 999; */
  position: absolute;
margin-top: 170px;
}

.fb-like-box {
background-color: white;
}

/* spaziatura voci di menu */
nav.main_menu>ul>li>a span {
    padding: 0 8px !important;
    font-size: 14px;
}

/* menu spaziatura e altezza */
nav.main_menu ul li a {
  line-height: initial !important;
  padding-top: 17px !important;
}

nav.main_menu .inner ul li a {
  line-height: initial !important;
  padding-top: 5px !important;
}

/* togli background color */
nav.main_menu>ul>li:hover>a span {
  background-color: transparent !important;
   color: #9c163e;
}

.dark nav.main_menu>ul>li>a, .dark nav.main_menu>ul>li.active>a {
  color: #31312f !important;
  font-weight: 600 !important;
}

/* altezza testata */
.header_inner {
  height: 90px;
}

.header_inner_right {
    width: 70%;
    max-height: 88px;
}

/* mette la barra dietro al menu */
 .header_bottom {
    padding: 0 45px;
    position: relative;
    -webkit-transition: all .2s ease 0s;
    -moz-transition: all .2s ease 0s;
    -o-transition: all .2s ease 0s;
    transition: all .2s ease 0s;
    height: 126px !important;
    background-image: url(http://agriturismo-castiglione.com/wp-content/uploads/2016/09/ruggeri-barra-top.png);
}

/* altri */
.carousel-control{
    width: 30%;
}


/* MODIFICHE SCHERMI PICCOLI */

@media only screen and (max-width: 420px) {

.header_bottom {
background-image: none !important;
}

.q_logo a { 
 height: 70px !important;
}

.header_bottom {padding: 0 15px;}
}
}

@media (max-width: 1270px) {
    .dc-floater {
        display: none;
    }

    #le_mascot {
        display: none;
    }


#payoff {
display: none;
}

.mobile_menu_button span {
    color: #31312f;
}

}

.footer_top a {
    color: #383129 !important;
    font-weight: 600;
}

/* SPECIFICI */

#knews_widget-2 h6 {
display: none;
}



/* BOTTONI CHIAMACI E TROVACI */

@media only screen and (max-width: 420px){

.header_inner_right {
visibility: hidden;
}

.carousel-inner .item .image {
  /* background-size: auto 335px !important; */
}
#chiamacitrovaci {
display: block !important;
}

.header_top {
display: block !important;
}
}

#btn_chiamaci {
  float: left;
  margin-left: 5px;
  color: #b75b76;
  font-weight: 600;
  font-size: 18px;
  border: 1px solid;
  padding: 5px;
  margin-top: -12px;
  padding-top: 2px;
  padding-bottom: 2px;
  border-radius: 4px;
}

#btn_trovaci {
  float: right;
  border-radius: 4px;
  margin-right: 5px;
  color: #b75b76;
  font-weight: 600;
  font-size: 18px;
  border: 1px solid;
  padding: 5px;
  margin-top: -12px;
  padding-top: 2px;
  padding-bottom: 2px;
}



/* STILIZZAZIONE FORM */

#gform_2, #gform_3, #gform_5, #gform_6, #gform_7 {
  padding: 20px;
}

.gform_wrapper.three-column_wrapper ul.gform_fields.gform_column {
display: block;
float: left;
width: 25%;
}

.gform_wrapper .gsection {
border: none !important;
}

.gform_wrapper {
padding: 25px;
margin-top-15px;
padding-top: 3px;
background-color: rgb(234, 234, 234);
-webkit-border-radius: 9px;
-moz-border-radius: 9px;
border-radius: 9px;
}

.gform_wrapper .gform_footer {
clear: none;
}

.gform_wrapper h3.gform_title {
border-bottom: 1px solid lightgray;
padding-bottom: 10px;
}

.gform_wrapper .gform_footer {
text-align: center;
clear: none !important;
}

#gform_submit_button_1, #gform_submit_button_2,#gform_submit_button_4,#gform_submit_button_5,#gform_submit_button_6,#gform_submit_button_7,#gform_submit_button_8 {
	background-color: #0c2602;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
	border:1px solid #0b0e07;
	display:inline-block;
	cursor:pointer;
	color:#fff;
	font-family:Arial;
	font-size:20px;
	font-weight:bold;
	padding:9px 11px;
	text-decoration:none;
	text-shadow:0px 1px 0px #263666;
}


#gform_submit_button_1:hover, #gform_submit_button_2:hover {
	background-color:#b75b76;
}

#gform_submit_button_1:active {
	position:relative;
	top:1px;
}

.contact_form input[type='text'], .contact_form textarea {
border: 1px solid grey;
}

#gform_wrapper_5 .top_label li.gfield.gf_left_half, #gform_wrapper_6 .top_label li.gfield.gf_left_half, #gform_wrapper_7 .top_label li.gfield.gf_left_half {
   width: 19%;
}

#gform_wrapper_5 .top_label li.gfield.gf_right_half,#gform_wrapper_6 .top_label li.gfield.gf_right_half ,#gform_wrapper_7 .top_label li.gfield.gf_right_half {
    width: 19%;
}

#input_5_8, #input_5_9, #input_6_8, #input_6_9, #input_7_8, #input_7_9{
    width: 100% !important;
}

#input_5_6, #input_5_7, #input_6_6, #input_6_7, #input_7_6, #input_7_7{
    width: 50% !important;
}

#field_5_7, #field_5_6, #field_6_7, #field_6_6, #field_7_7, #field_7_6 {
    width: 15% !important;
}

#field_5_4, #field_5_5, #field_6_4, #field_6_5, #field_6_4, #field_6_5,  {
    width: 23% !important;
}

.sticky nav.main_menu>ul>li>a span {
    padding: 0 24px !important;
color: black !important;
}

#gform_wrapper_5 , #gform_wrapper_6, #gform_wrapper_7 {
height: 113px;
}

#gform_wrapper_5 .gform_body, #gform_wrapper_6 .gform_body, #gform_wrapper_7 .gform_body {
    width: 90%;
    float: left;
}

#gform_wrapper_5 .gform_footer, #gform_wrapper_6 .gform_footer , #gform_wrapper_7 .gform_footer  {
    width: 10%;
    float: left;
}

.classe_policy  {
margin-top: 30px;
}

#gform_submit_button_1, #gform_submit_button_2, #gform_submit_button_4, #gform_submit_button_5, #gform_submit_button_6, #gform_submit_button_7, #gform_submit_button_8 {
    background-color: #b75b76!important;
}

@media only screen and (max-width: 1200px) {
#gform_wrapper_5 .top_label li.gfield.gf_right_half {
    width: 100% !important;
}
#gform_wrapper_5 .top_label li.gfield.gf_left_half {
    width: 100% !important;
}
#gform_wrapper_5 .gform_footer {
    width: 100%;
    float: left;
}
#gform_wrapper_5, #gform_wrapper_6, #gform_wrapper_7 {
    height: 471px;
}

#gform_wrapper_6 .top_label li.gfield.gf_right_half {
    width: 100% !important;
}
#gform_wrapper_6 .top_label li.gfield.gf_left_half {
    width: 100% !important;
}
#gform_wrapper_6 .gform_footer {
    width: 100%;
    float: left;
}
#gform_wrapper_6, #gform_wrapper_6, #gform_wrapper_7 {
    height: 471px;
}

#gform_wrapper_7 .top_label li.gfield.gf_right_half {
    width: 100% !important;
}
#gform_wrapper_7 .top_label li.gfield.gf_left_half {
    width: 100% !important;
}
#gform_wrapper_7 .gform_footer {
    width: 100%;
    float: left;
}
#gform_wrapper_7, #gform_wrapper_6, #gform_wrapper_7 {
    height: 471px;
}

}

header.sticky .header_bottom {
  padding-top: 0px !important;
  margin-top: -20px;
}

.content {
margin-top: -143px;
}

.light nav.main_menu>ul>li>a, .light nav.main_menu>ul>li>a:hover, .light nav.main_menu>ul>li.active>a {
    color: black;
}

.q_logo a {
height: 70px !important;
}

header.sticky .q_logo img.sticky, header.sticky .q_logo.animate_logo div.sticky {
display: none;
}

header.sticky .header_bottom {
    background-color: rgb(145, 151, 163, 0.56) !important;
    height: 105px !important;
}

header {
    margin: 0 0 -20px 0 !important;
}

.light nav.main_menu > ul > li > a {
    font-weight: 600 !important;
    color: #fff !important;
}


nav.main_menu.right>ul {
    left: auto;
    display: flex;
    justify-content: space-between;
    width: 100%;
}


@media only screen and (max-width: 1024px) {
.logo_wrapper {
    height: 100px!important;
    position: absolute;
    left: 50%;
    margin-top: -20px !important;
    margin-left: 15px;
}

    #le_belve {
        display: none !important;
    }
}


h3, h3 a {
    color: #007cc4;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.4em;
}


section.section {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
    position: relative;
    padding: 5px !important;
    overflow: hidden;
}

.portfolio_slider .hover_feature_holder_title_inner {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    width: 94%;
    height: 100%;
    padding: 15px 3%;
    font-style: oblique;
    color: #9c183f;
}

.footer_top a {
    color: #fff !important;
    font-weight: 500;
    font-size: 16px;
    font-family: sans-serif;
    line-height: 0px;
}
