/*
Theme Name: UsBormiese
Theme URI: http://www.consortech.it
Author: Consortech - Marco Cristini
Author URI: http://www.consortech.it
Description: Tema sviluppato Custom Usb
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain: twentythirteen

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

ROSSO  #e82f36
GRIGIO #888787

*/

@import url('css/menu.css');
@import url('css/events.css');

img{
	border: 0px;
}


a{
	text-decoration: none;
	color:#e82f36;
}

a:visited{
	color:#e82f36;
}

a:hover{
	color:black;
}

@font-face {
    font-family: OpenSans-Regular;
    src: url('fonts/OpenSans-Regular.eot');
    src: url('fonts/OpenSans-Regular.ttf');
}

@font-face {
    font-family: OpenSans-Bold;
    src: url('fonts/OpenSans-Bold.eot');
    src: url('fonts/OpenSans-Bold.ttf');
}

body.custom-background{
	margin: 0;
	padding: 0;
	font-family: 'OpenSans-Regular';

}

#overlay-body{
	background: rgba(0, 0, 0, 0.6);
	height: 100%;
	width: 100%
}

/* HEADER */
header#main-header{
	width: 100%;
	background-color: rgba(255,255,255,0.7);
	margin: 0 auto;
	height: 150px;
}

div#cont-logo{
	padding-top:5px;
	text-align: center;
}

/* END HEADER */

#main-wrapper {
	position: relative;
	width: 980px;
	margin-left: 0px;
	margin: 0 auto;
	margin-top:20px;
	border-collapse: separate;
}


.search-form{
	width: 100px;
	float: left;
	line-height: 60px;
}

.search-form input{
	border-radius: 5px;
	height: 30px;
	background: white url('images/lente.png') right no-repeat;
}

#cont-ricerca form{
	margin-left: 30px;
}

/*FOOTER*/

footer#colophon{
	width: 980px;
	margin: 0 auto;
	background: url('images/fondo_footer.png') repeat-y;
	margin-top:20px;
	margin-bottom: 100px;
	/*color: white;*/
	text-align: center;
	clear: both;
}

/*IN EVIDENZA */

div#cont-inevidenza{
	background: white;
	height: 350px;
	margin:0px 0px 20px 0px;
}

div.cont-immagine-inevidenza{
	float: left;
}

div.cont-titolo-inevidenza{
	font-family: 'OpenSans-Bold';
	float: left;
	margin: 25px 25px 5px 25px;
	font-size:27px;
	text-transform: uppercase;
	width: 260px;
	line-height: 30px;
}

div.cont-titolo-inevidenza a{
	text-decoration: none;
	color: black;
}

div.cont-data-inevidenza{
	float: left;
	margin: 25px;
	color: #e82f36;
	margin: 0px 25px 5px 25px;
	text-transform: uppercase;
	font-size: 24px;
	width: 260px;
}



div#cont-inevidenza div.cont-testo-inevidenza{
	float: left;
	color: #888787;
	margin: 0px 25px 10px 25px;
	font-size: 16px;
	width: 260px;
	height: 65px;
	overflow: hidden;
}

div#cont-inevidenza div.cont-testo-inevidenza p{
	margin: 0;
	padding: 0;
}

div#cont-inevidenza ul.slider{
	margin: 0;
	padding: 0;
	list-style: none;
}

div#cont-inevidenza .bx-wrapper .bx-viewport{
	margin: 0;
	padding: 0;
	left:0px;
	-moz-box-shadow: none;
   	-webkit-box-shadow: none;
   	height: 350px !important;
   	border:0px;
}

div#cont-inevidenza .bx-wrapper .bx-pager{
	float: left;
	position: absolute;
	bottom: 10px ;
	right: 10px;
	width: 250px;
	text-align: right;
}

div#cont-inevidenza .bx-wrapper .bx-pager.bx-default-pager a{
	text-indent:-1000px;
	color: transparent;
	font-size: 0px;
	background: url('images/slider_pager.png');
	height: 16px;
	width: 16px;
}

div#cont-inevidenza .bx-wrapper .bx-pager.bx-default-pager a.active{
	background: url('images/slider_pager_active.png')
}

/*BOX HOMEPAGE */
.box-homepage{
	width: 313px;
	height: 350px;
	float: left;
	position: relative;
	overflow: hidden;
	margin: 0px 20px 20px 0px;
	background: white;
}

.box-homepage.last-of-line{
	margin: 0px 0px 20px 0px;
}


.cont-footer-boxhomepage{
	width: 313px;
	height: 35px;
	background: url('images/fondo_footer_boxhome.png') repeat;
	position: absolute;
	z-index: 10;
	top:315px;
	text-align: right;
	color: white;
}

.cont-footer-boxhomepage a{
	text-decoration: none;
	color: white;
	font-size: 18px;
	line-height: 35px;
	padding-right: 10px;
}

.cont-ombra-boxhomepage{
	width: 313px;
	height: 35px;
	background: url('images/ombrabox.png') bottom no-repeat;
	position: absolute;
	top:280px;
	text-align: right;
	color: white;
}

.box-homepage .overlay{
	position: absolute;
    top: 350px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background-color: white;
    opacity: 0.8;

    -ms-transition-property: top;
  	-ms-transition-duration: 0.3s;
    transition-property: top;
  	transition-duration: 0.3s;
	-webkit-transition-property: top;
  	-webkit-transition-duration: 0.3s;
}

.box-homepage:hover .overlay {
	top:0px;
    -ms-transform: translateY(0);
    transform: translateY(0);
    -webkit-transform: translateY(0);
}


.box-homepage-eventi{
	width: 313px;
	height: 250px;
	float: left;
	position: relative;
	overflow: hidden;
	margin: 0px 20px 20px 0px;
	background: white;
}

.box-homepage-eventi.last-of-line{
	margin: 0px 0px 20px 0px;
}

.box-homepage-eventi .cont-footer-boxhomepage{
	width: 313px;
	height: 35px;
	background: url('images/fondo_footer_boxhome.png') repeat;
	position: absolute;
	z-index: 10;
	top:215px;
	text-align: right;
	color: white;
}

.box-homepage-eventi .cont-ombra-boxhomepage{
	width: 313px;
	height: 35px;
	background: url('images/ombrabox.png') bottom no-repeat;
	position: absolute;
	top:180px;
	text-align: right;
	color: white;
}


.box-homepage-eventi .overlay{
	position: absolute;
    top: 350px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background-color: white;
    opacity: 1;

    -ms-transition-property: top;
  	-ms-transition-duration: 0.3s;
    transition-property: top;
  	transition-duration: 0.3s;
	-webkit-transition-property: top;
  	-webkit-transition-duration: 0.3s;
}

.box-homepage-eventi:hover .overlay {
	top:0px;
    -ms-transform: translateY(0);
    transform: translateY(0);
    -webkit-transform: translateY(0);
}

.box-homepage-eventi div.cont-titolo-inevidenza{
	font-family: 'OpenSans-Bold';
	float: left;
	margin: 25px 25px 5px 25px;
	font-size:25px;
	text-transform: uppercase;
	width: 260px;
	line-height: 30px;
}

.box-homepage-eventi div.cont-titolo-inevidenza a{
	text-decoration: none;
	color: black;
}

.box-homepage-eventi div.cont-data-inevidenza{
	float: left;
	margin: 25px;
	color: #e82f36;
	margin: 0px 25px 5px 25px;
	text-transform: uppercase;
	font-size: 20px;
	width: 260px;
}


/* CATEGORY PAGE */

.box-inevidenza-cat{
	width: 647px;
	overflow: hidden;
	background: white;
}

.colsx{
	width: 647px;
	background: white;
	display: table-cell;
	vertical-align: top;
}

.spacing{
	width: 20px;
	background: none;
	display: table-cell;
	vertical-align: top;
}

.coldx{
	width: 313px;
	background: white;
	display: table-cell;
	vertical-align: top;
	text-align: center;
}

.vcalendar{
	text-align: left;
	padding-left: 15px;
	margin-top:0px;
}

h2.widgettitle{
	text-align: left;
	padding-left:15px;
	padding-bottom: 10px;
	margin-bottom: 0px;
}

#tribe-events-list-widget-2 > ol > li.tribe-events-list-widget-events.hentry.vevent.type-tribe_events > h4{
	margin:0px;
}

#adrotate_widgets-4{
	padding-top: 20px;
}

li.tribe-events-list-widget ol li {
	margin-bottom: 0px;
	margin-right: 5px;
	list-style: none;
	padding: 0px;
}

.titolocategoria{
	font-family: 'OpenSans-Bold';
	margin: 0px 0px 30px 0px;
}

.titolocategoria2{
	font-family: 'OpenSans-Bold';
	margin: 30px 0px 30px 20px;
	border-bottom: 1px solid #888787;
}

.menu-sottocategorie{
	width: 100%;
	padding-left: 0px;
	border-top: 1px solid #888787;
}

.menu-sottocategorie a {
	line-height: 30px;
	text-decoration: none;
	text-transform: capitalize;
	color: black;
	font-size: 18px;
}
.menu-sottocategorie a:hover{
	color: #888787;
}

div.cont-lista-categoria{
	vertical-align: top;
	margin: 0px 0px 20px 20px;
}

div.cont-lista-categoria .titolo-post{
	text-transform: uppercase;
	text-decoration: none;
	color: black;
	font-size: 20px;
	vertical-align: top;
}

.cont-lista-categoria-corpo{
	max-width: 400px;
}

.cont-lista-categoria-img, .cont-lista-categoria-corpo{
	float: left;
	margin-right: 20px;
}

.cont-lista-categoria-separatore{
	clear: both;
}

.cont-lista-categoria-corpo .cont-data{
	font-size: 16px;
	color: #e82f36;
}

.cont-lista-categoria-corpo .cont-content{
	font-size: 14px;
	color: #888787;
	width: 450px;
}

.link-readmore{
	font-family: 'OpenSans-Bold';
	font-size: 14px;
	color:black;

}

.link-readmore:hover{
	color:#e82f36;
}

div#cont-menu-categorie{
	height: 350px;
}

/* END CATEGORY PAGE */

/*SINGLE PAGE*/

.cont-articolo .titolo-post{
	text-transform: uppercase;
	text-decoration: none;
	color: black;
	font-size: 30px;
	vertical-align: top;
}

.cont-single-corpo{
	font-size: 14px;
	margin: 0px 20px 0px 20px;
	text-align: justify;
}

.cont-single-corpo .cont-data{
	font-size: 20px;
	color: #e82f36;
	text-transform: uppercase;
}

.cont-single-corpo .cont-content{
	border-top:1px solid #888787;
	margin-bottom: 50px;
	color:#888787;
}


/*END SINGLE PAGE*/

.breadcrumb{
	color:#888787;
	font-size: 12px;
	text-transform: uppercase;
	margin: 10px 0px 10px 20px;
}

.breadcrumb a{
	color: #888787;
	text-decoration: none;
}

.sidebar, li.widget{
	list-style-type: none;
}

/*GALLERIA*/

div.galleria{
	float: left;
	margin-right: 10px;
	display: inline;
}

/*END GALLERIA*/

#cont-inevidenza .bx-wrapper .bx-controls-direction a{
	z-index: 10;
}

.hfeed .summary a{
	color: black;
}

/*pgina 404*/

.page-wrapper{
	padding: 20px;
}

.site-content{
	background: white;
}
body.loading {
    overflow: hidden;
}
body.loading .modal {
    display: block;
}
.modal {
    display: none !important;
}
.modal_visible {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba( 255, 255, 255, .5 )
                url('images/ajax-loader.gif')
                50% 50%
                no-repeat;
}

.cont-pager{
	width: 100%;
	text-align: center;
	margin-bottom: 20px;
	margin-top: 20px;
}

.cont-pager a{
	font-size: 120%;
}
