/*
Theme Name:     optimizer - Child
Description:    Child theme for the optimizer theme
Author:         optimizer
Template:		optimizer

*/

@import url("../optimizer/style.css");

/* --------- Insert your custom styles on next rows --------- */


.none { 
display:none !important;
}
form.wpcf7-form { 
	padding: 15px;
}
form.wpcf7-form textarea { 
	min-height: 60px !important;
}	
input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
    padding: 6px;
}
.eventi_img {
	width:95%;
}


.page_head {
    min-height: 110px !important;
}

#content {
    margin-top: 0px !important;
}


.clear {
	clear:both;
}

#stat_img {
	height:550px;
}
.about_header{ 
	font-size:56px; 
	width:80%;
	display:block;
	margin:0px auto;
	line-height:50px;
	letter-spacing: 0.01em;
	text-shadow:5px 2px 10px #000;
}



span.desc {
    font-size: 14px;
    font-weight: bold;
}
.header {
	z-index:9999;
}

.head_inner {
    position: fixed !important;
    z-index: 9999 !important;
	background-color: rgba(000, 000, 000, 0.8) !important;
}

body > div.header_wrap.layer_wrapper > div > div {
	width:100%;
	margin:0 auto;
}

.logo {
    float: left;
    max-width: 100%;
    padding-left: 10%;
}

#topmenu {
    vertical-align: middle;
    float: right;
    padding-right: 10%;
    padding-top: 10px;
}

.about_inner {
    width: 100%;
    float: left;
	text-align:left;
}

.text_float {
	width:60%;
	float:left;
}

.text_float p {
	   font-size:18px !important;
	}
#post-176 > div > div:nth-child(2) > div:nth-child(2) > a > img { }

#widget2 {
	width:100% !important;
	height: 540px !important;
}
#optimizer_front_blocks-3 > div > div > div > div > div > div > div.midrow_block.axn_block1 > div > div > h3, #optimizer_front_blocks-3 > div > div > div > div > div > div > div.midrow_block.axn_block3 > div > div > h3 {

	font-size:24px;
	padding:10px 0;
}


.page_head .pagetitle_wrap {
    width: 85%;
    margin: 40px auto 0px;
}

#sottotitolo {
    text-align: center;
    color: #555555;
    font-size: 25px;
    padding-top: 0;
    margin-top: -1px;
	margin-bottom:50px;
}



.midrow_block {
    padding: 20px 0%;

}
div.midrow_block:nth-child(1){
	width:60% !important;
}
#optimizer_front_blocks-3 > div > div > div > div > div > div > div.midrow_block.axn_block3 {
	width:40% !important;
}
#optimizer_front_blocks-3 > div > div > div > div > div > div > div.midrow_block.axn_block3 > div > div > p {
    text-align: left;
    padding: 0 15%;
}

.page_head, .author_div {
     background-color: #fff !important;
    color: #555555;
    margin-top: 100px;
}

#acquista {
	    text-transform: uppercase;
    font-size: 20px;
    padding-top: 22px;
}
.sponsor {
	background-color: #FCFCFC;
	padding: 60px 0;
}
.sponsor a img {
	padding: 5px 39px;
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(0%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
}

.sponsor a:hover img {
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
    -webkit-filter: grayscale(100%);
}

body > div.sponsor > div > h3 {
	padding-top:30px;
}

#copyright > div > div.copytext > p:nth-child(2) {
    font-size: 13px;
    line-height: 16px;
}
#optimizer_front_about-6 > div > div > div > div > div > p:nth-child(2) {
	width: 200px;
    display: block;
    float: right;
    margin-top: -165px;
}

#tp_mn {
	margin:0 !important;
}

#optimizer_front_about-4 > div > div > div > div > div > div.img_float > img {
	padding-top:20px;
}


#optimizer_front_blocks-3 > div > div > div > div > div > div > div.midrow_block.axn_block3 > div > div.block_img > img {
    width: 200px;
    padding-top: 100px;
}


.info_book {
    float: right;
    width: 29%;
    padding-top: 20px;
}

#optimizer_front_about-4 > div > div > div > div > div > div.img_float > img {
	    border-bottom: 1px solid #ccc;
}

.btn_buy {
    background-color:#CEE6E3;
    font-size: 20px;
    display: block;
    width: 100px;
    text-align: center;
}

.btn_buy a:link {
	color:#fff !important;
}

.acquista_tit {
	font-size:24px;
	line-height: 25px;
	color:#AD2019;
}

.acquista_tit i{
	font-size:20px;
}

.acquista_p {
	color:#333;
	font-size: 16px;
}

.prezzo {
	font-size:30px;
	font-weight:bolder;
	color:#AD2019;
	padding-top: 25px;
}

.prezzo span{
	font-size:22px;
	font-weight:normal;
	color:#AD2019;
}

#acquista {
	font-size: 18px;
    padding-top: 15px;
    color: #333;
}

.acquista_st {
    font-size: 18px;
    width: 340px;
    padding-bottom: 20px;
    color: #333;
    border-bottom: 1px solid #333;
	margin-bottom:20px;
}

#acquista_bottone {
	font-size:24px;
	color:#007EAC;
	font-weight:bolder;
	padding-top:20px;
	padding-left: 10px;
}

#post-8 > div.single_post_content > div:nth-child(1) > div.content-column.one_third.last_column {
	  margin-top: 20px;
}

.btn_buy_second{
    background-color: #CEE6E3;
    font-size: 22px;
    display: block;
    width: 280px;
    text-align: left;
    padding: 10px;
	font-weight: bolder;
}

.box_grey {
	
	background-color:#FCFCFC;
	width:300px;
	/*height: 350px; /* Per il bottone acquisto */
	height:auto;
	overflow: auto;
}


#post-8 > div.single_post_content > div:nth-child(1) > div.content-column.one_third.last_column > div > form > input[type="image"]:nth-child(5) {
    width: 200px;
    margin: 0 auto;
    display: block;
}

.single_post_content {
	padding-top:150px !important;
}

.lay4 .post_content {
    width: 75% !important;
    padding-top: 11px !important;
}

.lay4 .post_image {
    width: 25%;
    height: auto;
    float: left;
    margin-right: 0;
    overflow: hidden;
    padding-top: 10px;
}


.lay4 .hentry img {
	width:200px;
}

@media (max-width: 1260px) {
	.acquista_st {
		width: 290px;
	}
}
@media (max-width: 1140px) {
	#widget2 {
    height: 370px !important;
	}
	
	#optimizer_front_blocks-3 > div > div > div > div > div > div > div.midrow_block.axn_block3 > div > div.block_img > img {
    width: 170px;
    padding-top: 90px;
	}
	
	div.midrow_block:nth-child(1) {
    width: 55% !important;
	}
	
	#optimizer_front_blocks-3 > div > div > div > div > div > div > div.midrow_block.axn_block3 > div > div > p {
    text-align: left;
    padding: 0 6%;
	}
	
	#optimizer_front_blocks-3 > div > div > div > div > div > div > div.midrow_block.axn_block3 {
    width: 45% !important;
	}
	
	#post-8 > div.single_post_content > div:nth-child(1) > div:nth-child(1){
    	width: 28%;
		    padding-top: 18px;
	}
	
	#post-8 > div.single_post_content > div:nth-child(1) > div:nth-child(2)  {
    	width: 40%;
	}
	
	#post-8 > div.single_post_content > div:nth-child(1) > div.content-column.one_third.last_column {
		width:30%;
	}
}
@media (max-width: 970px) {
	.stat_content_inner {
		margin-top:120px !important;
	}
	
	about_header {
	    font-size: 38px;
    	width: 87%;
	}
	
	#optimizer_front_blocks-3 > div > div > div > div > div > div > div.midrow_block.axn_block3 {
		float:none;
	}
	div.midrow_block:nth-child(1) {
    width: 100% !important;
}
	#widget2 {
    height: 450px !important;
	}
	
	#optimizer_front_blocks-3 > div > div > div > div > div > div > div.midrow_block.axn_block1 {
		min-height:0px !important;
	}
	
	#optimizer_front_blocks-3 > div > div > div > div > div > div > div.midrow_block.axn_block3 {
    width: 100% !important;
	}
	
	#post-8 > div.single_post_content > div:nth-child(1) > div:nth-child(1) {
    width: 100%!important;
   	}
	
	div.single_post_content > div:nth-child(1) > div:nth-child(2) {
    width: 100%!important;
	}
	
	.acquista_st {
    width: 100%;
	}
	
	#post-8 > div.single_post_content > div:nth-child(1) > div.content-column.one_third.last_column {
    width: 100% !important;
	margin-top:100px;
	}
	
	.thn_post_wrap img {
    max-width: 100%;
    height: auto;
    float: left;
    padding-right: 40px;
	}
	
	.thn_post_wrap img {
	float: none;
    padding-right: 0px;
	}
	
	
}

@media (max-width: 906px) {
	.lay4 .post_content {
    width: 100% !important;
    padding-top: 11px !important;
	}
	
}

@media (max-width: 860px) {
	.text_float {
       width: 90% !important;
       float:none;
	}
	
	
	.img_float img,  .btn_buy {
		float:left;
	}
	
	.info_book {
     float:none;
     width: auto;
    border-top: 1px solid #ccc;
    padding-top: 20px;
	}

	
}

@media (max-width: 480px) {
	
	.about_header {
	    font-size: 26px;
    	width: 90%;
	}
	
	.img_float img {
		width:50%;
	}
	
	.sponsor a img {
    padding: 5px 19px;
	}
	.logo {
    padding-left: 2%;
	}
	
	
	
}