/* 
Theme Name:		 cosedafareapalermo
Description:	 cosedafareapalermo is a child theme of Altair, created by ChildTheme-Generator.com
Author:			 Carlo Cini
Author URI:		 https://www.carlocini.com
Template:		 altair
Version:		 1.0.0
Text Domain:	 cosedafareapalermo
*/


/*
    Add your custom styles here
*/

/***
 FONT 
***/
#wrapper h1 {
	font-family: 'Nilland Bold','Helvetica Neue',sans-serif;
}

/*
 CENTRO IMMAGINE FULLSCRENN
*/
#page_caption.hasbg.fullscreen {background-position: 50% 50%;}

/***
 BOTTONE CUSTOM 
***/
.section-button {text-align: center;}
.section-button .btn.btn-custom {
    text-transform: uppercase;
    color: #e4342b;
    border: 2px solid #e4342b;
    border-radius: 25px;
    padding: 1.1em 1.7em;
    letter-spacing: 2px;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    transition: .2s linear;
    min-width: 200px;
    display: inline-block;
}
.withbg .section-button .btn.btn-custom {
    color: #fff;
    border: 2px solid #fff;
    background: transparent;
}
.withbg .section-button .btn.btn-custom:hover {
    color: #fff;
    border: 2px solid #e4342b;
    background: #e4342b;
}
.section-button .btn.btn-custom:hover {
    border: 2px solid #e4342b;
    background: #e4342b;
	color:#fff;
}
@media screen and (min-width:961px) {

	.post_wrapper.grid_layout .grid_wrapper {transition: all 0.3s ease;}
	.post_wrapper.grid_layout .grid_wrapper:hover {
		background: #e4342b;
	}
	#section-h-tou .teaser_content_wrapper, .page-template-page-destination .teaser_content_wrapper {
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		height: 100%;
		width: 100%;
		transition: .3s ease;
		padding: 0;
		margin: 0;
		background: rgba(0,0,0,0.1);
		height: calc(100% - 10px);
	}
	#section-h-tou .teaser_content_wrapper:hover, .page-template-page-destination .teaser_content_wrapper:hover {
		background-color: #e4342b;
	}
	#section-h-tou .teaser_content_wrapper h5, .page-template-page-destination .teaser_content_wrapper h5 {
		position: absolute;
		top: calc(50% - 13.5px);
		margin: 0 auto;
		display: block;
		text-align: center;
		width: 100%;
		color: #fff;
		text-shadow: 0 0 2px #000;
	}
	#section-h-jew .teaser_content_wrapper h5:hover {
		color:#e4342b;
	}
}

.animate_counter_wrapper {
    margin: 20px 0;
}

/***
 VARIE 
***/
.withbg a:hover, .withbg a:active, #page_content_wrapper .withbg a:hover, #page_content_wrapper .withbg a:active {color: #fff;}
body.page-template-blog_gf #page_content_wrapper {padding-left:20px; padding-right:20px; width: calc(100% - 40px);}

@media screen and (min-width:961px) {
	#page_content_wrapper .inner .sidebar_content.blog_f .post.type-post {
    	width: calc(50% - 30px);
    	padding: 15px;
	}
}
@media screen and (min-width:1600px) {
#portfolio_filter_wrapper.fullwidth.three_cols.gallery .element, .portfolio_filter_wrapper.fullwidth.three_cols.gallery .element {width: 16.5%;}
body.page-template-blog_gf-php .post.type-post, body.page-template-galleries-php .galleries.type-galleries, body.tax-gallerycat .galleries.type-galleries, .ppb_blog_posts .post.type-post {width: 22%;}
}
@media screen and (min-width:768px) and (max-width:960px) {
#portfolio_filter_wrapper.fullwidth.three_cols.gallery .element, .portfolio_filter_wrapper.fullwidth.three_cols.gallery .element {width: 49.5% !important;}
#section-h-gio .one_third {
    width: 30.66%;
    margin-right: 4%;
    margin-bottom: inherit;
    clear: inherit;
}
}
a .teaser_content {color: #fff; padding-left:10px;padding-right:10px;}

.comment_counter:hover, .post_share:hover {background: #e4342b;}

@media screen and (max-width: 767px) {
   #page_content_wrapper p {font-size:20px;}
	.tour_meta_wrapper .one_third {width:100%;}
	.tour_meta_wrapper .one_fourth:first-child {border-left: 0;}
	.tour_meta_wrapper .one_third {   border-bottom: 1px solid #e1e1e1; border-left:0 !important; border-right:0 !important;}
	.tour_meta_wrapper .one_third:last-child {border-bottom:0 !important;}
}

/***
 SINGLE 
***/
.comment_counter {display:none;}
#crumbs a:hover, #crumbs a:active {color:#e4342b !important;}

.comment_counter:hover, .post_share:hover {background: #e4342b;}
@media screen and (max-width: 767px) {
    .single #page_content_wrapper p {font-size:16px;}
}
.tour_meta_value .tour_discount_price, .tour_program_title {color:#e4342b;}

#call_to_action_tour_book_btn, #tour_book_btn.center {opacity: 0.8;}
#call_to_action_tour_book_btn:hover, #tour_book_btn.center:hover {
	opacity: 1;
	background: #e4342b !important;
	background-color: #e4342b !important;
	border-color: #e4342b !important;
}
.single-post .post_header a {text-decoration: underline;}
/***
 BOTTONE TOTOP 
***/
#toTop {
    width: 25px;
    background: #e4342b;
}



/***
 PALLINI CAROSELLO 
***/
.flex-control-paging li a {
    border: 2px solid #e4342b;
}
.flex-control-paging li a.flex-active {
    background: #e4342b;
}
.animate_counter_wrapper .counter_subject, .post_header .post_detail, .recent_post_detail, .post_detail, .thumb_content span, .page_caption_desc, .testimonial_customer_position, .testimonial_customer_company, .portfolio_excerpt, .testimonial_slider_meta {
    color: #e4342b;
}



/***
 CONTACT PAGE 
***/
#text-4 {
    list-style: none;
    text-align: left;
}
.contact_social ul li a:hover{background: #e4342b;}



/***
 TEAM 
***/
.team_wrapper > div {float: none; margin: 0 auto;}


/***
 HEADER
***/
#menu_wrapper {
    max-width: 1180px;
    width:100%;
}


/***
 FOOTER 
***/
#footer ul.sidebar_widget {
    max-width: 1180px;
    width:100%;
    padding: 0 10px;
}
#footer .sidebar_widget.two > li {
    width: 24%;
    margin-right: 1%;
}
#footer .sidebar_widget.two > li:nth-child(2) {
    margin-right: 1%;
    width: 24%;
}
#footer p, #footer ul.sidebar_widget li ul li {
    font-size: 16px;
}


/***
 HOME PAGE
***/
@media screen and (min-width:960px) {
    .home .one_fourth, .page-template-page-destination .one_fourth {
        margin: 1.33% !important;
    }
    .home .one_fourth.last {
        margin: 1.33% !important;
        float: left;
    }
}
@media screen and (min-width:480px) and (max-width:959px) {
.home .one_fourth, .page-template-page-destination .one_fourth  {
    width: 47% !important;
    margin: 1.33% !important;
    clear: none !important;
}
.home .one_fourth.last, .page-template-page-destination .one_fourth.last  {
    width:47% !important;
    margin-right: inherit !important;
    margin: 1.33%;
    float: left;
}
}
@media screen and (max-width:959px) {
    #section-h-btn6 .one_fourth, #section-h-btn6 .one_fourth.last {margin-bottom: 30px !important;}
}

/*MENU MOBILE*/
@media screen and (max-width:767px) {
.logo_wrapper { margin-left: 15px;}
#mobile_nav_icon {float: right;margin-right: 15px;}
body {font-size: 16px !important;}
}
@media screen and (min-width:768px) and (max-width:960px) {
.logo_wrapper { margin-left: 15px;}
#mobile_nav_icon {float: right;margin-right: 10%;}
}


/*COOKIE POLICY BANNER*/
#nibirumail_cookie_advice {
    background: #e4342b !important;
    font-size: 20px !important;
}
#nibirumail_cookie_advice > div{
    max-width: 900px;
    margin: 0 auto;
}

/*WRAPPER MOBILE*/
@media screen and (max-width:767px) {
	#page_content_wrapper, .page_content_wrapper {width: 330px !important;}
}