/*
	Theme Name: COTB 2017
	Theme URI: https://oxjno.com
	Description: COTB 2017 WordPress Theme
	Version: 1.0.0
	Author: Oxjno Sviluppo Web
	Author URI: https://oxjno.com
	
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html, body {
    height: 100%;
	font-size: 100%;
}
/*html {
	font-size:62.5%;
}
body {
	font:300 11px/1.4 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color:#444;
}*/


a{text-decoration: none; color:inherit;}
a:hover{text-decoration: underline; color:inherit}

::-moz-selection {
    background: #0055c1;
    color: #fff;
    text-shadow: none
}

::selection {
    background: #0055c1;
    color: #fff;
    text-shadow: none
}



body {
    display: block;
    line-height: normal;
    color: #6f7172;
    font-family: "Open Sans", sans-serif;
	background: #fff;
}


/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	height: auto;
	vertical-align:bottom;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1280px;
	width:95%;
	margin:0 auto;
	position:relative;
}
/* header */
.header {

}
/* logo */
.logo {

}
.logo-img {

}
/* nav */
.nav {

}
/* sidebar */
.sidebar {

}
/* footer */
.footer {

}

#menuTopRai {
    /*background: linear-gradient(to bottom, rgba(37, 62, 116, .9) , rgba(37, 62, 116, .8));*/
}
#header{
    padding-top: 5em;
    padding-bottom: 5em;
	/*background-image: linear-gradient(to bottom, rgba(37, 62, 116, .8), rgba(37, 62, 116, .9));*/
}

.topTitle{
display: block;
position: relative;
width: 100%;
height: 408px;
background: #001739;
background-image: url(img/bkg_main.jpg);
background-position: top center;
background-attachment: fixed;
-webkit-background-size:cover;
background-size: cover;
}

.topTitle:before{
content:"";
position: absolute;
z-index: 0;
width: 100%;
height: 100%;
background: -moz-linear-gradient(top, rgba(37,62,116,0.8) 0%, rgba(7,31,69,0.8) 80%, rgba(0,23,57,1) 100%);
background: -webkit-linear-gradient(top, rgba(37,62,116,0.8) 0%,rgba(7,31,69,0.8) 80%,rgba(0,23,57,1) 100%);
background: linear-gradient(to bottom, rgba(37,62,116,0.8) 0%,rgba(7,31,69,0.8) 80%,rgba(0,23,57,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cc253e74', endColorstr='#001739',GradientType=0 );
}

.topTitle .bw{
content: "";
display: block;
position: absolute;
top: 408px;
left: 0px;
z-index: 1;
width: 100%;
height: 408px;
background-image: url(img/bkg_main.jpg);
background-repeat: no-repeat;
background-position: center -408px;
background-attachment: fixed;
-webkit-background-size:cover;
background-size: cover;
filter: grayscale(100%);
opacity: 0.15;
}

.topTitle .bw:before{
content:"";
position: absolute;
z-index: 0;
width: 100%;
height: 100%;
background-image: -ms-radial-gradient(center top, ellipse farthest-corner, rgba(255,255,255,0) 0%, #FFFFFF 60%);
background-image: -moz-radial-gradient(center top, ellipse farthest-corner,  rgba(255,255,255,0) 0%, #FFFFFF 60%);
background-image: -o-radial-gradient(center top, ellipse farthest-corner,  rgba(255,255,255,0) 0%, #FFFFFF 60%);
background-image: -webkit-gradient(radial, center top, 0, center top, 359, color-stop(0,  rgba(255,255,255,0)), color-stop(60, #FFFFFF));
background-image: -webkit-radial-gradient(center top, ellipse farthest-corner,  rgba(255,255,255,0) 0%, #FFFFFF 60%);
background-image: radial-gradient(ellipse farthest-corner at center top,  rgba(255,255,255,0) 0%, #FFFFFF 60%);
}
.topTitle, .topTitle .bw{
	background-position-y: top !important;
}


#header h2{
	font-family: 'Montserrat', sans-serif;
	color:#fff;
	font-weight: 900;
	text-transform: uppercase;
	font-size: 3em;
	width: 100%;
	float: left;
	margin: 0;
}
#header h2:after {
    content: url('img/divisore.png');
    margin: 20px 0;
    display: block;
    height: 2px;
    font-size: 2px;
    width: 100%;
    line-height: 0;
}
#breadcrumb{
	font-family: 'Montserrat', sans-serif;
	color:#fff;
	font-weight: 400;
	font-size: 1em;
}
.social{
	text-align: right;
	font-size: 2em;
	color:#fff;
}
.social a {
    margin: 0 10px;
}
.social a:first-of-type {
    margin-left: 0;
}
.social a:last-of-type {
    margin-right: 0;
}
.social span {
    font-size: .5em;
    margin: 10px 30px 10px 0;
    display: inline-block;
}


.mainContent{
	/*background: linear-gradient(to bottom, rgba(255,255,255,.9) , rgba(255,255,255,1));*/
	z-index: 2;
    position: relative;
}
.mainContent h1{
	font-size: 2em;
}
.mainContent p{
	line-height: 1.6em;
}
.mainContent img{
	margin: 1.6em 0;
}

#preFooter {
    background: #b3b3b3;
    color: #fff;
    padding: 2em 0;
    font-size: 1.2em;
    font-weight: 700;
    line-height: 1.2em;
	position: relative;
	z-index: 2;
}

#footer{
	background: #a7a7a7;
	color:#fff;
	font-size: .8em;
	padding:2em 0;
	position: relative;
	z-index: 2;
}
/*NUOVI GIANLUCA*/
.container-fluid{
	padding-left:0!important;
	padding-right:0!important;
}
.margin-first {
    margin-top: 100px;
    margin-bottom: 100px;
}
.margin-last{
	margin-bottom:100px;
}
.nopadding-lr{
	padding-left:0!important;
	padding-right:0!important;
}
.mainContent h2{
	line-height: normal;
    color: #6f7172;
    font-family: "Open Sans", sans-serif;
	font-size: 1.5em;
	margin-top:0;
	margin-bottom:20px
}
.mainContent p:last-child{
	/*margin-bottom:100px;*/
}
.thumb{
	padding-left:20px;
	padding-right:20px
	}


/*Legacy cotb 2016*/

/*End legacy cotb 2016*/


/*------------------------------------*\
    PAGES
\*------------------------------------*/
/*GIURIE*/
#giurie{
	text-align:center;
}
#giurie .giurato {
	margin-left:auto;
	margin-right:auto
}
#giurie h1{
	line-height: normal;
    color: #6f7172;
    font-family: "Open Sans", sans-serif;
	font-size: 0.8em;
	font-weight:bold;
	margin-top:10px;
	margin-bottom:3px;
}
#giurie h2{
	font-size:0.7em
}
.titolo-giuria{
	margin-bottom:30px;
	font-size:1em;
	font-weight:bold;
	text-transform: uppercase;
	text-align:left;
	overflow:visible!important;
	white-space:nowrap;
}

/*SCHEDA GIURATO*/
.giurato{
	position:relative;
	width:100px;
	height:100px;
	border-radius:50px;
	overflow:hidden;
}
.giurato img{
	width: 100%;
    margin: 0;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
}
/*PARTNERS*/
#partners img{
	width:100%;
}
#partners h1{
	font-size:1.3em;
	padding-left:20px
}
/*ELENCO VIDEO*/
#elenco-video img{
	width:100%	
}
#elenco-video h1{
	color:#18254c;
	font-size:0.8em;
	font-weight:bold;
	margin:0;
	text-transform:uppercase;
	margin-bottom:3px
}

#elenco-video h2 {
    color: #6f7172;
    font-size: 1.5em;
    margin: 0;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}
#elenco-video button{
    background-color: #18254c;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;
	border-radius:30px;
	text-transform:uppercase
}
.button-video{
	text-align:center
}
#elenco-video > div > *:nth-child(4n+5) {
	  clear: left;
	}
/*VIDEO*/
#video{
	margin-left:0;
	margin-right:0
}
#video img{
	width:100%;
}
#info-video h1{
	color:#fff;
	font-family:'Open Sans', sans-serif;
	margin-top:0;
}
#info-video p{
	color:#fff;
}
#info-video a{
	float:left!important;
	margin-right:25px;
}
.info-video-sx{
	border-bottom:#c1c1c1 0.5px solid;
	padding-bottom:10px;
	margin-bottom:20px
}
.info-video-dx{
	border-bottom:#c1c1c1 0.5px solid;
	font-weight:bold;
	padding-bottom:10px;
	margin-bottom:20px;
}

/*HOME*/
.page-template-template-homepage .topTitle{
	background: url(img/home-xl.jpg) top right no-repeat scroll;
	background-image: url(img/home-xl.jpg);
	background-color: rgba(22,47,87,1);
	background-repeat: no-repeat;
	background-size: cover;
	-webkit-background-size:cover;
	/*background-size: auto 100%;*/
	background-attachment: scroll;
	
}
.page-template-template-homepage  .topTitle::before {
    background: none;
}

#logo-home{
	height:25vh
	}
#logo-home img{
	width:auto;
	height:25vh
}
#txt-header-home p{
	color:#fff;
	font-size:1em;
	margin: 0 0 .5em 0;
}
#txt-header-home .data{
	color:#00a0fa;
}
.divisore{
	background: url(img/divisore.png) left center no-repeat;
    margin: 20px 0;
    display: block;
    height: 2px;
    font-size: 2px;
    width: 70px;
    line-height: 0;
	overflow:hidden;
	padding-left:0;
}
#home{
	height:50vh;
}
#home-sx-txt {
    position: absolute;
    bottom: 2em;
}
#home-sx{
	background-color: rgba(103,109,67,1);
	background: url(img/iscrizione_bg.jpg);
	background-image:url(img/iscrizione_bg.jpg);
	background: -webkit-linear-gradient(top, rgba(103,109,67,0), rgba(103,109,67,1)), url(img/iscrizione_bg.jpg) top center no-repeat;
	background: linear-gradient(to bottom, rgba(103,109,67,0), rgba(103,109,67,1)), url(img/iscrizione_bg.jpg) top center no-repeat;
	background-position:top center;
	background-repeat:no-repeat;
	-webkit-background-size:cover;
	background-size:cover;
	color:#fff;
	font-size:0.8em; 
	min-height:50vh;
}
#home-sx p{
	margin-bottom:0px!important;
}
#home-sx h1{
	/*padding-top:30%;*/
	margin-bottom:10px;
	font-family: "Open Sans", sans-serif;
	font-weight: 300;
}
#home-sx h2{
	font-size:18px;
	color:#fff;
}
	
#home-dx{
	background-color: rgba(22,47,87,1);
	background: url(img/giappone_bg.jpg);
	background-image:url(img/giappone_bg.jpg);
	background: -webkit-linear-gradient(top, rgba(22,47,87,0), rgba(22,47,87,1)), url(img/giappone_bg.jpg) top center no-repeat;
	background: linear-gradient(to bottom, rgba(22,47,87,0), rgba(22,47,87,1)), url(img/giappone_bg.jpg) top center no-repeat;
	background-position:top center;
	background-repeat:no-repeat;
	-webkit-background-size:cover;
	background-size:cover;
	color:#fff;
	font-size:0.8em; 
	min-height:50vh;
}
#home-dx-txt {
    position: absolute;
    bottom: 2em;
}
#home-dx p{
	margin:0px;
}
#home-dx h1{
	/*padding-top:30%;*/
	margin-bottom:10px;
	font-family: "Open Sans", sans-serif;
	font-weight: 300;	
}
#home-dx h2{
	font-size:18px;
	color:#fff;
	font-weight: 300;
	margin:0;
	padding:0;
}
#home .button{
    background-color: #fff;
    border: none;
    color: #808b9c;
    padding: 7px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;
	border-radius:5px;
	text-transform: none;
}
#button-header-mobile{
	display: none;
	background-color: #00a0fa;
    border: none;
    color: #fff;
    padding: 7px 32px;
    text-align: center;
    text-decoration: none;
    font-size: 1em;
	border-radius:5px;
	text-transform: capitalize;
}
.button-home{
	text-align:left;
	padding-bottom:3%;
	padding-left:0
}

/* nuova fascia banner */
#home2-sx-txt {
    position: absolute;
    bottom: 2em;
}
#home2-sx{
	background: transparent top center no-repeat;
	-webkit-background-size:cover;
	background-size:cover;
	color:#fff;
	font-size:0.8em;
	height:50vh;
}
#home2-sx p{
	margin-bottom:0px!important;
	padding-bottom:3%
}
#home2-sx h1{
	margin-bottom:10px;
	font-family: "Open Sans", sans-serif;
	font-weight: 300;
}
#home2-sx h2{
	font-size:18px;
	color:#fff;
}
#home2-dx-txt {
    position: absolute;
    bottom: 2em;
}
#home2-dx{
	background: transparent top center no-repeat;
	-webkit-background-size:cover;
	background-size:cover;
	color:#fff;
	font-size:0.8em;
	height:50vh;
}

#home2-dx p{
	margin-bottom:0px!important;
	padding-bottom:3%
}
#home2-dx h1{
	margin-bottom:10px;
	font-family: "Open Sans", sans-serif;
	font-weight: 300;	
}
#home2-dx h2{
	font-size:18px;
	color:#fff;
	font-weight: 300;
}
#home2 .button{
    background-color: #fff;
    border: none;
    color: #808b9c;
    padding: 7px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;
	border-radius:5px;
	text-transform: none;
}
/*fine nuova fascia banner*/


#categorie {
    padding-top: 2em;
}
#categorie h1{
	font-family: 'Montserrat', sans-serif;
	margin-bottom:30px;
	color:#00a0fa;
	font-size:2em;
	font-weight:bold;
	text-transform: uppercase;
	text-align:center;
}
#categorie h2{
	color:#7c8589;
	font-size:1em;
	text-align:center;
	margin-bottom:5px;
	font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 1.4em;
}
#categorie .thumb{
	position:relative;
	width:100px;
	height:100px;
	border-radius:50px;
	overflow:hidden;
	margin-left:auto;
	margin-right:auto
}
#categorie .thumb img{
	width:100%;
	margin:0;
	position:absolute;
	left:0;
	top:-15%;
}
.ico-categoria{
	background: url(img/ico-categoria.png) top center no-repeat;
	background-size: 100% auto;
	width: 96px;
	height: 180px;
	margin: 0 auto;
}
#categorie a:hover, #categorie a:hover h2{
	color:#00a0fa;
	text-decoration: none;
	
}
#categorie a:hover .ico-categoria{
	background-position: bottom center;
}


.ico-award{
	background: url(img/ico-award.png) top center no-repeat;
	background-size: 100% auto;
	width: 148px;
	height: 143px;
	margin: 0 auto;
}
#premio-speciale a:hover, #premio-speciale a:hover h2{
	color:#00a0fa;
	text-decoration: none;
	
}
#premio-speciale a:hover .ico-award{
	background-position: bottom center;
}
#premio-speciale {
	background: #001739; /* Old browsers */
	background: -moz-radial-gradient(center, ellipse cover, #001739 0%, #004579 100%); /* FF3.6-15 */
	background: -webkit-radial-gradient(center, ellipse cover, #001739 0%,#004579 100%); /* Chrome10-25,Safari5.1-6 */
	background: radial-gradient(ellipse at center, #001739 0%,#004579 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#001739', endColorstr='#004579',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
	padding:50px;
}
#premio-speciale h1{
	font-family: 'Montserrat', sans-serif;
	margin-bottom:30px;
	color:#fff;
	font-size:2em;
	font-weight:bold;
	text-transform: uppercase;
	text-align:center;
}
#premio-speciale h2{
	color:#fff;
	font-size:0.8em;
	text-align:center;
	margin-bottom:5px;
	font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 1.4em;
}
#premio-speciale .thumb{
	position:relative;
	width:100px;
	height:100px;
	border-radius:50px;
	overflow:hidden;
	margin-left:auto;
	margin-right:auto;
	background:red;
}
#premio-speciale .thumb img{
	width:100%;
	margin:0;
	position:absolute;
	left:0;
	top:-15%;
}
#premio-speciale > .row > *:nth-child(3n+4) {
	  clear: left;
	}

body.home .topTitle .bw{
top: 60vh;
background-position: center -50vh;
}
body.home > .topTitle {
    height: 60vh !important;
}


#secondContent{
	background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url(img/bkg_main.jpg);
	background-position: top center;
	background-attachment: fixed;
	-webkit-background-size:cover;
	background-size: cover; 
	padding-top: 0;
	padding-bottom: 2em;
}

.award-item {
    margin: 0 0 3em 0;
    display: block;
}

.news h2 {
	font-family: 'Montserrat', sans-serif;
    text-align: center;
    text-transform: uppercase;
	font-size: 2em;
}
.news h2, .news .date{
	color:#00a0fa;
}
#rowNews{
    background: rgba(0,0,0,.1);
    padding-top: 2em;
}

/*Banner in homepage*/

/*fine Banner in homepage*/
.inEvidenza {
	z-index: 1000;
    position: fixed;
    margin-left: auto;
    margin-right: auto;
    bottom: 0px;
    left: 0px;
    right: 0px;
    width: 1000px;
    max-width: 100%;
    cursor: pointer;
}
.inEvidenza img{
    position: relative;
    margin: 0 auto;
    bottom: 0px;
}
.inEvidenza > .close {
    width: 25px;
    height: 25px;
    position: absolute;
    top: -12.5px;
    right: -12.5px;
    display: block;
    background: url('img/btn_chiudi.png') transparent no-repeat;
    background-size: 100%;
	opacity: .5;
}
.inEvidenza > .close:hover, .inEvidenza > .close:focus {
    opacity: 1;
}
@media only screen and (max-width:999px) {
	.inEvidenza > .close {
		right: 0px;
	}
}
/*fine HOME*/


/*------------------------------------*\
    IMAGES
\*------------------------------------*/
.bwimg{
	filter: grayscale(100%);
}
.bwimg:hover{
	filter: none;
}


/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

/*Bootstrap modifications*/
.container {
    max-width: 100%;
}

.col-xs-5ths,
.col-sm-5ths,
.col-md-5ths,
.col-lg-5ths {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}

.col-xs-5ths {
    width: 20%;
    float: left;
}

@media (min-width: 768px) and  (max-width: 1023px) {
    .col-sm-5ths {
        width: 20%;
        float: left;
    }
}

@media (min-width: 1024px) {
    .col-md-5ths {
        width: 20%;
        float: left;
    }
}

@media (min-width: 1366px) {
    .col-lg-5ths {
        width: 20%;
        float: left;
    }
}
/*End Bootstrap Modifications*/


@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:768px) {

}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

@media only screen and (max-width: 1365px) {
	/**/
	.no-mar-pad-lr{
	margin-left:0!important;
	margin-right:0!important;
	padding-left:0!important;
	padding-right:0!important
	}
	#info-video h1{
	margin-top:10px;
	}
	.header-video{
		padding-top:40px!important
	}
	#home {
		height: auto;
	}
	body.home > .topTitle {
    height: 60vh !important;
}
	body.home .topTitle .bw{
	top: 60vh;
	background-position: center -60vh;
	}
	#home-sx h1, #home-dx h1{
		padding-top: 40px
	}
	
}

@media only screen and (max-width: 1024px) {
	#home .clearfix:before,
	#home .clearfix:after,
	#home .container:before,
	#home .container:after,
	#home .container-fluid:before,
	#home .container-fluid:after,
	#home .row:before,
	#home .row:after,
	#home .form-horizontal .form-group:before,
	#home .form-horizontal .form-group:after,
	#home .btn-toolbar:before,
	#home .btn-toolbar:after,
	#home .btn-group-vertical > .btn-group:before,
	#home .btn-group-vertical > .btn-group:after,
	#home .nav:before,
	#home .nav:after,
	#home .navbar:before,
	#home .navbar:after,
	#home .navbar-header:before,
	#home .navbar-header:after,
	#home .navbar-collapse:before,
	#home .navbar-collapse:after,
	#home .pager:before,
	#home .pager:after,
	#home .panel-body:before,
	#home .panel-body:after,
	#home2 .clearfix:before,
	#home2 .clearfix:after,
	#home2 .container:before,
	#home2 .container:after,
	#home2 .container-fluid:before,
	#home2 .container-fluid:after,
	#home2 .row:before,
	#home2 .row:after,
	#home2 .form-horizontal .form-group:before,
	#home2 .form-horizontal .form-group:after,
	#home2 .btn-toolbar:before,
	#home2 .btn-toolbar:after,
	#home2 .btn-group-vertical > .btn-group:before,
	#home2 .btn-group-vertical > .btn-group:after,
	#home2 .nav:before,
	#home2 .nav:after,
	#home2 .navbar:before,
	#home2 .navbar:after,
	#home2 .navbar-header:before,
	#home2 .navbar-header:after,
	#home2 .navbar-collapse:before,
	#home2 .navbar-collapse:after,
	#home2 .pager:before,
	#home2 .pager:after,
	#home2 .panel-body:before,
	#home2 .panel-body:after
	{
	  content: none;
	}
	#home.row:before,
	#home.row:after,
	#home2.row:before,
	#home2.row:after{
	  content: none;
	}
	#home2-sx h1, #home2-dx h1 {
		font-size: 1.4em;
	}
	#home .col-lg-offset-4{
		margin-left:0;
	}
	#premispeciali > *:nth-child(3n+4) {
	  clear: left;
	}
}

@media only screen and (max-width: 1023px) {
	.page-template-template-homepage .topTitle {
	    /*background-size: auto 80%;*/
		background-attachment: fixed;
    	background-position: 80% top;
	}
	
	
	/**/
	.no-mar-pad-lr{
	margin-left:0!important;
	margin-right:0!important;
	padding-left:0!important;
	padding-right:0!important
	}
	#info-video h1{
	margin-top:10px;
	}
	.header-video{
		padding-top:40px!important
	}
	#button-header-mobile{
		display:inline-block;
	}
	#home-dx{
		height:60vh;
	}
	#home2-sx{
		height:60vh;
	}
	#home2-dx{
		height:60vh;
	}
	#home {
		height: auto;
		min-height: 60vh;
	}
	
	body.home > .topTitle {
    height: 60vh !important;
}
	body.home .topTitle .bw{
	top: 60vh;
	background-position: center -60vh;
	}
}
@media only screen and (max-width:768px) {
	
	#header h2{
		font-size: 2em;
		
	}
	
	#home-sx{
		display:none;
	}
	.margin-first {
		margin-top: 50px;
		margin-bottom: 50px;
	}
	
	.page-template-template-homepage .topTitle {
		/*background-size: auto 100%;*/
		background-position: 70% top;
		background-attachment: fixed;
	}	
	.titolo-giuria{
		text-align:center;
	}

	body.home > .topTitle {
        min-height: 100vh !important;
		display: block;
		height: auto !important;
	}
	body.home .topTitle .bw{
	top: 100vh;
	background-position: center -100vh;
	}
	#txt-header-home p {
    color: #fff;
    font-size: 1.6em;
    text-align: center;
	}
	#button-header-mobile {
	font-size:1.2em;
    margin: 2em;
	}
	#logo-home {
    /*height: 25vh;*/
	margin: 2em 0 0;
    height: auto !important;
	}
	#logo-home img {
    width: 100%;
    height: auto;
	max-width: 400px;
    margin: 0 auto;
	}
	.divisore {
    background: url(img/divisore.png) center center no-repeat;
    margin: 20px 0;
    display: block;
    height: 2px;
    font-size: 2px;
    width: 100%;
    line-height: 0;
    overflow: hidden;
    padding-left: 0;
	}
	.social{
		/*display:none;*/
		margin-top: 1em;
		text-align: left;
	}
	#txt-header-home .data {
		color: #fff;
	}
	#listaCategorie > *:nth-child(2n+3) {
	  clear: left;
	}
	#home2-sx h1, #home2-dx h1 {
		font-size: 1.4em;
	}
	#home .col-lg-offset-4{
		margin-left:0;
	}
		
}
@media only screen and (min-width:1366px) {
	#home-sx-txt div p, #home-sx-txt div h1, #home-sx-txt div div {
		margin-left: 10px;
	}
}
	
@media only screen and (max-height: 700px) and (min-width: 768px) and (max-width:1368px){
	#home-sx h1, #home-dx h1 {
		padding-top: 0% !important;
	}
	body.home > .topTitle {
		height: 70vh !important;
	}
	#home {
		height: 50vh;
	}
	#home2-sx h1, #home2-dx h1 {
		font-size: 1.4em !important;
	}
	#home .col-lg-offset-4{
		margin-left:0;
	}
	#home  .col-lg-8 {
		width: 100%;
	}
	.topTitle{
		background-position: top right;
		background-attachment: fixed;
	}
	#home .clearfix:before,
	#home .clearfix:after,
	#home .container:before,
	#home .container:after,
	#home .container-fluid:before,
	#home .container-fluid:after,
	#home .row:before,
	#home .row:after,
	#home .form-horizontal .form-group:before,
	#home .form-horizontal .form-group:after,
	#home .btn-toolbar:before,
	#home .btn-toolbar:after,
	#home .btn-group-vertical > .btn-group:before,
	#home .btn-group-vertical > .btn-group:after,
	#home .nav:before,
	#home .nav:after,
	#home .navbar:before,
	#home .navbar:after,
	#home .navbar-header:before,
	#home .navbar-header:after,
	#home .navbar-collapse:before,
	#home .navbar-collapse:after,
	#home .pager:before,
	#home .pager:after,
	#home .panel-body:before,
	#home .panel-body:after {
	  content: none;
	}
	#home.row:before,
	#home.row:after{
	  content: none;
	}
	
}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
