/*
 Theme Name:   pymac
 Theme URI:    pymac
 Description:  pymac
 Version:      1.7
 Author:       pymac
 Author URI:   pymac
 Text Domain:  enfold
 Template:     enfold
*/

@import url("../enfold/style.css");

header #header_main_alternate {background-color: #EC050F;}
nav.main_menu li {border: 0px;}
nav.main_menu li > a {
	border: 0px !important;
	color: #fff !important;
	text-transform: uppercase;
	font-weight: normal;
}

p {font-size: 15px;}

/* HOME */ 
body.home .slideshow_caption {width: 55% !important;}
body.home .slideshow_caption h2.avia-caption-title {font-size: 35px;}
body.home .slideshow_caption .avia-caption-content p {font-size: 17px; line-height: 22px;}

body.home #av_section_1 .av-special-heading-h3 h3.av-special-heading-tag {font-size: 0.8em !important;}
body.home #av_section_1 .avia-button-wrap .avia-button {font-size: 17px;}

body.home #av_section_2 .av-special-heading {margin-top: 30px !important;}
body.home #av_section_2 h3.av-special-heading-tag {font-weight: bold !important;}
body.home #av_section_2 .av_textblock_section {text-align: justify;}

body.home #av_section_3 article .iconbox_icon {font-size: 35px !important;}
body.home #av_section_3 article .iconbox_content h3.iconbox_content_title {font-size: 1.50em !important;}
/*body.home #av_section_3 article .iconbox_content_container p {text-align: justify;}*/
.caption_right .slideshow_caption {
	top: 0px !important;
}
.avia-logo-element-container .slide-entry-wrap:nth-child(1) {margin-bottom: 25px !important;}

/*PAGE */
body.page #after_full_slider_1 .content {border: 0px !important; padding: 20px 0 !important;}
body.page .avia-fullwidth-portfolio .grid-content {height: 80px;}
body.page .avia-fullwidth-portfolio h3.grid-entry-title {color: #EC050F; font-size: 15px;}
body.page .avia-fullwidth-portfolio .grid-entry-excerpt {font-size: 13px;}

.copyright {font-size: 13px; margin-top: 30px !important; display: block;}

/* XS */
@media only screen and (min-width: 0px) and (max-width: 767px) {	
	body.home .avia-fullwidth-slider .slideshow_align_caption {
		vertical-align: top !important;
	}
	.caption_right .slideshow_caption {
	    left: 0% !important;		
		margin-top: 15px !important;
	}
	.responsive #top .slideshow_caption h2 {
		font-size: 16px !important;
		text-align: left !important;
	}
	body.home #av_section_1 .av-special-heading-h3 h3.av-special-heading-tag {
	    font-size: 16px !important;
	    text-align: justify;
	    line-height: 20px !important;
	}
	body.home .avia-fullwidth-slider .avia-caption-content  {
		display: none !important;
		visibility: hidden !important;
	}
	.content, .sidebar {
	    padding-top: 20px !important;
	    padding-bottom: 20px !important;
	}
	h1 {
	    font-size: 22px !important;
	    line-height: 25px !important;
   	}
	h2 {
	    font-size: 20px !important;
	    line-height: 23px !important;
   	}
   	body.home .av_one_third {
		margin-top: 20px !important;
	    margin-bottom: 0px !important;
   	}
   	#footer {
   		padding: 20px 0 0 !important;
   	}
   	#footer .flex_column section {
   		margin: 0px !important;
   	}
   	#footer .widget li {
    	line-height: 1em !important;
   	}
}

/* SM */
@media only screen and (min-width: 768px) and (max-width: 991px) {	
	body.home .avia-fullwidth-slider .slideshow_align_caption {
		vertical-align: top !important;
	}
	.caption_right .slideshow_caption {
	    left: 0% !important;
	}
	body.home .avia-fullwidth-slider h2.avia-caption-title {		
		margin-top: 20px !important;
	}
	body.home .avia-fullwidth-slider h2.avia-caption-title {
		font-size: 20px !important;
	}
	#header_main_alternate {
		height: auto !important;
		padding: 10px 0 0 !important;
	}
	#header_main_alternate .container {
		width: 100% !important;
		padding: 0px 10px !important;
	}
	#header_main_alternate li {
		width: 11% !important;
	}
	#header_main_alternate li:first-child {
		width: 17% !important;
	}
	#header_main_alternate li:nth-child(2) {
		width: 15% !important;
	}
	#header_main_alternate li:last-child {
		width: 10% !important;
	}
	#header_main_alternate li > a {
		line-height: 16px !important;
	}
	h1 {
	    font-size: 22px !important;
	    line-height: 25px !important;
   	}
	h2 {
	    font-size: 20px !important;
	    line-height: 23px !important;
   	}
   	#section-points-forts div .av_one_third {
		clear: none !important;
		margin: 0px !important;
		width: 45% !important;
		height: 180px !important;
		margin-left: 0px !important;
		margin-right: 15px !important;
   	}
}

/* MD */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
	body.home .avia-fullwidth-slider .slideshow_align_caption {
		vertical-align: top !important;
	}
	.caption_right .slideshow_caption {
	    left: 10% !important;
	}
	body.home .avia-fullwidth-slider h2.avia-caption-title {		
		margin-top: 20px !important;
	}
	body.home .avia-fullwidth-slider h2.avia-caption-title {
		font-size: 20px !important;
	}
	#header_main_alternate {
		height: auto !important;
		padding: 10px 0 0 !important;
	}
	#header_main_alternate .container {
		width: 100% !important;
		padding: 0px 10px !important;
	}
	#header_main_alternate li {
		width: 11% !important;
	}
	#header_main_alternate li:first-child {
		width: 17% !important;
	}
	#header_main_alternate li:nth-child(2) {
		width: 15% !important;
	}
	#header_main_alternate li:last-child {
		width: 10% !important;
	}
	#header_main_alternate li > a {
		line-height: 16px !important;
	}
}

/* LG */
@media only screen and (min-width: 1200px) {
	body.home ul.avia-slideshow-inner {height: 700px !important;}
	body.home .avia-fullwidth-slider .slideshow_align_caption {
		vertical-align: top !important;
	}
	.caption_right .slideshow_caption {
	    left: 10% !important;
	}
	body.home .avia-fullwidth-slider h2.avia-caption-title {		
		margin-top: 40px !important;
	}
	form.wpcf7-form p {
		float: left;
		width: 48%;
	}
	form.wpcf7-form p.right {
		float: right;
		width: 48%;
		margin-right: 0px !important;
	}
	form.wpcf7-form p.total {
		width: 100%;
	}
	form.wpcf7-form input.wpcf7-submit {
		padding: 16px 40px;
		font-size: 0.92em;
		border-radius: 2px;
	}
	.wpcf7-validation-errors,
	.wpcf7-mail-sent-ok {
		clear: left;
	}
}