/* =Responsive (Mobile) Design
-------------------------------------------------------------- */

@media screen and (max-width: 1200px) {

	#wrapper {
		padding: 0 20px;
	}
	.home #logo,#logo {
		margin-left: 10px;
		width: 20%;
	}
	
	.certificato_tripadv {
		display:none;
	} 
	
	#jig1 .jig-imageContainer:nth-child(5n) {
		padding-right: 10px;
	}
}

@media screen and (max-width: 980px) {
	
	.menu a {
		font-size: 14px;
		padding: 0 14px;
	}
	
	.main-nav {
		float: right;
		margin-top: 32px;
		clear: none;
	}
	
	#contact_info {
		font-size: 12px;
	}
	.btn_fork {display:none;}

	body {
	}

	.grid,
	.grid-right {
		display: block;
		float: none;
		width: 100%;
		margin-right: 0;
	}

	.copyright,
	.scroll-top,
	.powered {
		float: left;
	}

	#featured-image .fluid-width-video-wrapper {
		margin: 20px 0 0 0;
	}

	.front-page  #widgets {
		margin-top: 40px;
	}

	.top-widget,
	.front-page  .top-widget {
		margin-top: 0 !important;
	}

	.hide-desktop {
		display: block;
	}

	.show-desktop {
		display: none;
	}

	.hide-980 {
		display: none;
	}

	.show-980 {
		display: block;
	}

}

@media screen and (max-width: 768px) {

	#contact_info .wpb_column.vc_column_container.vc_col-sm-5 {
		width: 34%;
		float: left;
		text-align: left;
		font-size: 12px;
	}
	#contact_info .wpb_column.vc_column_container.vc_col-sm-7 {
		width: 66%;
		float: right;
		text-align: right;
		font-size: 12px;
	}
	
	
	.page-id-157 #footer-wrapper {
		padding: 0 0px 30px;
	}
	.page-id-157 #contact_box,
	.page-id-157 #contact_info {
		width: 100%;
		float:none;
	}
	
	#box_newsletter .form_nl .vc_column-inner  {
		padding-top: 0;
	}
	
	
	.box_menu .col_menu .vc_col-sm-9 {
		width: 73%;
		float: left;
	}
	.box_menu .col_menu .vc_col-sm-3 {
		width: 27%;
		float: right;
	}
	.box_menu .col_menu.wpb_column.vc_column_container:first-child {
		border:0;
	}
	.box_menu .col_menu.wpb_column.vc_column_container {
		padding: 10px;
	}
	.box_menu .col_menu .wpb_text_column.wpb_content_element strong,
	.box_menu .col_menu .wpb_text_column.wpb_content_element p	{
		font-size: 13px;
	}
	
}
	
	
@media screen and (max-width: 650px) {
	
	.home #header {
		box-shadow: 0;
	}
	.home header{
		position: inherit;
		z-index: 999;
		width: auto;
	}
	.home .container{
		padding-top: 25px;
	}
	
	
	#top-widget {
		display: inline-block;
	}
	.home #header,#header {
		margin: 0;
		display: block;
		width: 100%;
		background: white;
		height: 120px;
		position: relative;
	}
	#header {
		height: auto;
	}
	.home #logo,#logo {
		margin: 0 auto;
		width: 100%;
		text-align: center;
	}
	.home #logo img,#logo img {
		width: 220px;
	}
	
	.btn_prenota.vc_btn3-container.vc_btn3-center {
		position: fixed;
		bottom: 0;
		z-index: 999;
		margin-bottom: 10px;
		width: 100%;
		left: 0;
	}
	#copyright {
		position: relative;
		z-index: 9999;
	}
	
	/*MENU MOBILE*/	
	.js #header .main-nav {
		float: none;
		clear: both;
		top: 50px;
		position: absolute;
		z-index: 99;
		margin: 0 auto;
		background: transparent;
		margin-top: 0;
		right: 0;
		width: 100%;
	}
	.js .home #header .main-nav {
		top: 20px;
	}
	.js #header .main-nav .menu {
		top: 70px;
	}
	.js #header .main-nav #responsive_current_menu_item {
		color: transparent!important;
	}
	.js #header .main-nav a#responsive_menu_button {
		display: block;
		position: absolute;
		top: 0px;
		left: 100%;
		width: 35px;
		height: 35px;
		padding: 5px;
		margin-left: -50px;
		background: url(../images/select-icons.png) -8px 3px no-repeat;
		cursor: pointer;
		background-size: 100%;
	}

	.js #header .main-nav a#responsive_menu_button.responsive-toggle-open {
		background: url(../images/select-icons.png) -8px 3px no-repeat;
		background-size: 100%;
	}
	
	
	#box_orari p {
		padding: 0 30px;
	}
	
	
	.featured {
		padding: 0 40px 80px;
	}
	#box_newsletter {
		padding: 0 20px;
	}
	
	#wall_facebook {
		padding: 0 20px;
	}
	#wall_facebook .vc_separator .vc_sep_holder {
		display:none;
	}
	#wall_facebook .vc_separator h4 {
		margin: 0 auto;
	}
	
	
	#wall_facebook #jig1 {
		padding: 0 9%;
		width: auto!important;
	}
	
	
	#footer-wrapper {
		padding: 0 0px 30px;
	}

	body {
	}

	#logo {
		float: none;
		margin: 0;
		text-align: center;
	}

	.grid,
	.grid-right {
		float: none;
	}

	#featured-image .fluid-width-video-wrapper {
		margin: 20px 0 0 0;
	}

	.top-widget {
		float: none;
		margin: 0 auto 10px auto;
		position: relative;
		text-align: center;
		width: auto;
	}

	.top-widget .widget-title h3 {
		text-align: center;
	}

	.js .sub-header-menu {
		display: none;
	}

	.js .main-nav {
		position: relative;
		background-color: #585858;
		background-image: -webkit-gradient(linear, left top, left bottom, from(#585858), to(#3d3d3d));
		background-image: -webkit-linear-gradient(top, #585858, #3d3d3d);
		background-image: -moz-linear-gradient(top, #585858, #3d3d3d);
		background-image: -ms-linear-gradient(top, #585858, #3d3d3d);
		background-image: -o-linear-gradient(top, #585858, #3d3d3d);
		background-image: linear-gradient(to top, #585858, #3d3d3d);
		clear: both;
		-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#585858, endColorstr=#3d3d3d)";
		margin: 0 auto;
	}

	.js .main-nav .menu {
		display: none;
		position: absolute;
		width: 100%;
		top: 30px;
		z-index: 1000;
	}

	.js .main-nav .menu ul {
		margin-top: 1px;
	}

	.js .main-nav .menu li {
		float: none;
		background-color: #ffffff;
		border: none;
	}

	.js .main-nav .menu li a {
		color: #444444;
		font-size: 13px;
		font-weight: normal;
		height: 45px;
		line-height: 45px;
		padding: 0 15px;
		border: none;
		border-bottom: 1px solid #f5f5f5;
		text-shadow: none;
		text-align: left;
		cursor: pointer;
	}

	.js .main-nav .menu li.current_page_item,
	.js .menu .current_page_item a,
	.js .menu .current-menu-item a {
		background-color: #f5f5f5;
	}

	.js .main-nav .menu li li:hover {
		background: none !important;
	}

	.js .main-nav .menu li li a {
		position: relative;
		padding: 0 10px 0 30px;
	}

	.js .main-nav .menu li li li a {
		position: relative;
		padding: 0 10px 0 40px;
	}

	.js .main-nav .menu li a:hover,
	.js .main-nav .menu li li a:hover {
		background-image: none;
		filter: none;
		background-color: #f5f5f5 !important;
	}

	.js .main-nav .menu li li a::before {
		content: '\2013';
		position: absolute;
		top: 0;
		left: 20px;
	}

	.js .main-nav .menu li li li a::before {
		content: '\2013';
		position: absolute;
		top: 0;
		left: 20px;
	}

	.js .main-nav .menu li li li a::after {
		content: '\2013';
		position: absolute;
		top: 0;
		left: 30px;
	}

	.js .main-nav .menu li ul {
		position: static;
		visibility: visible;
		background-color: #ffffff;
	}

	.js .main-nav .menu ul {
		min-width: 0;
	}

	.js .main-nav #responsive_current_menu_item {
		display: block;
		padding: 5px 40px 5px 10px;
		color: #ffffff;
		font-weight: 700;
		cursor: pointer;
	}

	.js .main-nav a#responsive_menu_button {
		position: absolute;
		display: block;
		top: 0;
		left: 100%;
		height: 30px;
		width: 23px;
		margin-left: -30px;
		background: url('../images/select-icons.png') 0 5px no-repeat;
		cursor: pointer;
	}

	.js .main-nav a#responsive_menu_button.responsive-toggle-open {
		background: url('../images/select-icons.png') 0 -46px no-repeat;
	}

	.top-menu,
	.footer-menu li {
		float: none;
		font-size: 11px;
		text-align: center;
	}

	#author-meta {
		padding: 20px;
	}

	#wrapper .gallery .gallery-item {
		max-width: 100%;
	}

	.hide-650 {
		display: none;
	}

	.show-650 {
		display: block;
	}

	.hide-mobile {
		display: none;
	}

	#footer {
		text-align: center;
	}

	#footer .social-icons {
		padding-bottom: 10px;
		text-align: center;
	}
}

@media screen and (max-width: 570px) {

/*	#jig1 .jig-imageContainer {float: none;padding: 0;width: auto!important;}
	#jig1 .jig-imageContainer img {width:auto!important;}
	#jig1 .jig-overflow {width:auto!important;}
	*/
	#wall_facebook {
		display:none;
	}
}
	
@media screen and (max-width: 480px) {
	
	#top-widget {
		display: none;
	}
	.home #header {
		height: 110px;
	}
	.home #logo {
		margin: 0 auto;
		width: 100%;
		text-align: center;
	}
	.home #logo img {
		width: 160px;
	}
	
	#box_orari p {
		padding: 0 15px;
	}
	
	.featured {
		padding: 0 20px 80px;
	}
	
	
	.category img.wp-post-image {
		float:none;
		width:100%;
	}
	#footer {
		padding: 80px 0px 0;	
	}
	#footer-wrapper .box_orari_footer p {
		font-size: 12px;
	}
	#footer-wrapper .box_orari_footer .vc_column-inner {
		padding:0 12px;
	}

	body {
	}

	#logo {
		float: none;
		text-align: center;
	}

	.grid,
	.grid-right {
		float: none;
	}

	#featured-image .fluid-width-video-wrapper {
		margin: 20px 0 0 0;
	}

	.featured-title {
		font-size: 40px;
		padding: 40px 20px 0 20px
	}

	.featured-subtitle {
		font-size: 24px;
	}

	.navigation .next,
	.navigation .previous {
		display: block;
		margin: 0 auto;
		text-align: center;
	}

	.menu ul,
	.menu li,
	.top-menu,
	.footer-menu li,
	.sub-header-menu li {
		float: none;
		text-align: center;
	}

	#wrapper .gallery .gallery-item {
		float: none;
	}

	.hide-480 {
		display: none;
	}

	.show-480 {
		display: block;
	}

	#footer {
		text-align: center;
	}

	#footer .social-icons {
		text-align: center;
	}
}

@media screen and (max-width: 320px) {

	body {
	}

	#featured p {
		font-size: 12px;
		line-height: 1.5em;
	}

	.featured-title {
		font-size: 35px;
	}

	.featured-subtitle {
		font-size: 15px;
	}

	.call-to-action a.button {
		font-size: 14px;
		padding: 7px 17px;
	}

	.hide-320 {
		display: none;
	}

	.show-320 {
		display: block;
	}
}

@media screen and (max-width: 240px) {

	body {
	}

	#featured p {
		font-size: 11px;
		line-height: 1.5em;
	}

	.featured-title {
		font-size: 20px;
	}

	.featured-subtitle {
		font-size: 11px;
	}

	.call-to-action a.button {
		font-size: 12px;
		padding: 5px 15px;
	}

	.top-widget area,
	.top-widget select,
	.top-widget textarea,
	.top-widget input[type="text"],
	.top-widget input[type="password"],
	.top-widget input[type="email"] {
		width: 75%;
	}

	.widget-title h3,
	.widget-title-home h3 {
		font-size: 14px;
		height: 13px;
		line-height: 13px;
		text-align: left;
	}

	.hide-240 {
		display: none;
	}

	.show-240 {
		display: block;
	}
}
