/*
Theme Name: Canvas Child Avd di iPac
Description: Child theme Avd style for the Canvas
Author: iPac
Template: canvas
Version: 0.1.0
*/
/*

NOTE:

	1. 	Impostare nel menu del plugin Overplace lo z-index per le recensioni a 999
	2. 	Per impostare Canvas in modalità Fullwidth andare in 
			Theme Options >> Styling & Layout >> Full Width Layout
		e mettere la spunta su "Set header container to display full width" e
		"Set footer widget area and footer container to display full width."
	3. L'area di testo in alto compare solo se il widget "Header Widget - iPAC" ha contenuti
	4. Modificare anche il margin-left di #main-nav a seconda delle esigenze
		per centrare il meno in modo ottimale
*/
@import url("../canvas/style.css");

/* Generated by Font Squirrel (http://www.fontsquirrel.com) on November 3, 2014 */



@font-face {
    font-family: 'pontano_sansregular';
    src: url('font/pontanosans-regular-webfont.eot');
    src: url('font/pontanosans-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/pontanosans-regular-webfont.woff2') format('woff2'),
         url('font/pontanosans-regular-webfont.woff') format('woff'),
         url('font/pontanosans-regular-webfont.ttf') format('truetype'),
         url('font/pontanosans-regular-webfont.svg#pontano_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

/* Generated by Font Squirrel (http://www.fontsquirrel.com) on November 3, 2014 */



@font-face {
    font-family: 'playfair_displayregular';
    src: url('font/playfairdisplay-regular-webfont.eot');
    src: url('font/playfairdisplay-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/playfairdisplay-regular-webfont.woff2') format('woff2'),
         url('font/playfairdisplay-regular-webfont.woff') format('woff'),
         url('font/playfairdisplay-regular-webfont.ttf') format('truetype'),
         url('font/playfairdisplay-regular-webfont.svg#playfair_displayregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

ul.nav li a {font-family: 'playfair_displayregular', serif !important;
text-transform: uppercase;}

.post-more {
 font-size: 13px;
float: right;
font-size: 18px !important;
margin: -17px 10px;
 display: none !important;
}

h1, h2, h3, h4, h5, h6 { font-family: 'pontano_sansregular', serif !important;}

.gallery img { width: 90%; }
#nav-container { margin-bottom: 0 !important; }
#navigation {z-index: 999}
.banner_header { background: #AF1717; height: 00px; border-bottom: 0px dotted black; }
.banner_header_top { background: #444; height: 30px; color: #FFF; }
.banner_header_top_content { width: 940px; margin: 0 auto; padding:10px; }

#logo {
float: none !important;
max-width: 100%;
margin: 0 auto;
text-align: center;
}

.footer_left { float:left }
.footer_right { text-align:right }

body.full-width #content { margin-top: 25px; }

.tp-button.red {
font-size: 20px !important;
}

/* Shortcodes */
.one_half, .one_third, .two_third, .three_fourth, .one_fourth { margin-right: 4%; float: left; line-height:21px; margin-bottom:20px; position:relative; }
.one_half { 	width: 48%; }
.one_third { width: 30.6666%; }
.two_third { width: 65.3332%; }
.one_fourth { width: 22%; }
.three_fourth { width: 74%; }
#main .last { margin-right: 0 !important; clear: right; }

img.noborder { border: 0px; background: transparent; clear: both;}

@media screen and (min-width: 840px) and (max-width: 982px) {
/* regole CSS */

ul.nav li a {
padding: .5em 0.5em;
font-size:12px;
}

.tp-button.red {
font-size: 15px !important;
} 
}

@media screen and (min-width: 768px) and (max-width: 839px) {
/* regole CSS */

ul.nav li a {
padding: .5em 0.3em;
font-size:11px;
}

.tp-button.red {
font-size: 15px !important;
} 
}

@media only screen and (min-width: 768px) {
	#main-nav { margin-left: 25%; }
}

@media only screen and (max-width: 767px) {
	#nav-container #navigation { z-index: 9999999; }
	.banner_header_top { display: none }
	.one_half, .one_third, .two_third, .three_fourth, .one_fourth{
		width:100%;
		margin-bottom:20px;
	}
	.one_half > div, .one_third > div, .two_third > div, .three_fourth > div, .one_fourth > div{
		margin-bottom:0;
	}

.tp-button.red {
font-size: 11px !important;
} 

#nav-container #navigation {
 background-color: #5C5959;
}

ul.nav li a {
 color: #FFF;
}

#navigation .menus h3 {display: none;}

.nav-toggle {background: rgba(188,35,21,1);
background: -moz-linear-gradient(top, rgba(188,35,21,1) 0%, rgba(197,34,13,1) 29%, rgba(219,40,13,1) 50%, rgba(159,0,12,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(188,35,21,1)), color-stop(29%, rgba(197,34,13,1)), color-stop(50%, rgba(219,40,13,1)), color-stop(100%, rgba(159,0,12,1)));
background: -webkit-linear-gradient(top, rgba(188,35,21,1) 0%, rgba(197,34,13,1) 29%, rgba(219,40,13,1) 50%, rgba(159,0,12,1) 100%);
background: -o-linear-gradient(top, rgba(188,35,21,1) 0%, rgba(197,34,13,1) 29%, rgba(219,40,13,1) 50%, rgba(159,0,12,1) 100%);
background: -ms-linear-gradient(top, rgba(188,35,21,1) 0%, rgba(197,34,13,1) 29%, rgba(219,40,13,1) 50%, rgba(159,0,12,1) 100%);
background: linear-gradient(to bottom, rgba(188,35,21,1) 0%, rgba(197,34,13,1) 29%, rgba(219,40,13,1) 50%, rgba(159,0,12,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bc2315', endColorstr='#9f000c', GradientType=0 );}
}

@media only screen and (max-width: 550px) {
.footer_left { float:none;display:block;clear:both }
.footer_right { text-align: left }

#wrapper .woo-sc-button.large {
font-size: 16px;
}

input, textarea {width: 90%;}
}

#loopedSlider.has-pagination {
margin-bottom: 5px;
display: none;
}

.threecol-one {
background: #F1F1F1;
padding: 15px;
box-sizing: border-box;
border-top: 4px solid #d51f24;
}

#home-box .threecol-one {
background: #fff;
padding: 15px;
box-sizing: border-box;
border-top: 4px solid #d51f24;
border-bottom:1px solid #ccc;
border-right:1px solid #ccc;
border-left:1px solid #ccc;
height:auto;
}

#home-box .threecol-one img {border:none;}
#home-box .threecol-one img.icon {
position: absolute;
top: 50%;
right: -55px;
margin-top: -35px;
z-index: 9;
}

body .woo-sc-box.alert:before {
content: "";
}

body .woo-sc-box.alert {
border: 1px solid #999696 !important;
background-color: #fff  !important;
}
body .woo-sc-box:before {width:auto;}
.woo-sc-box span {font-size: 50px; font-weight: bold;}
.woo-sc-box p {padding-left:30px;}

body.home .page .title, body.page-id-3684 .page .title,  body.page-id-76 .page .title, body.page-id-3711 .page .title {
display: none !important;}

 ul.nav li.current_page_item a, ul.nav li.current-menu-item a {
background: #FFFFFF !important;
color: #d51f24 !important;
}

body.full-header.full-slider #loopedSlider {
margin-top: 0;
}

#post-author {display:none;}

#main-nav {
margin-left:0 !important;
}

#connect, #comments, .post-meta {
display: none !important;
}

.post {
position: relative;
background-color: #FFF;
padding: 20px 10px;
border: 2px dotted #9d9b9b;
}

input[type=submit] {background-color: #AF1717 !important;}

input[type=submit]:hover {background-color: #971111 !important;}