/* Dynamic CSS Code */

nav[role=navigation] { text-align: left; }
#site-logo { text-align: center; }
#site-logo { padding: 49px 0 36px 0; }

/* Colorchanger Styles */


/* Typography: Navigation */
#nav-wrap nav > ul > li > a  { font-family: "Playball" !important; }
#nav-wrap nav > ul > li > a { font-size: 20px !important; }
#wrap {
background: #FDF6D7;
border-top: solid 4px #78403a;
}
#nav-wrap div.bg {
background: url(../core/images/capitellon-bg.png) repeat;
}
#nav-wrap nav > ul > li > a {
color: #FDF6D7;
}
#nav-wrap nav > ul > li.current-menu-item > a, #nav-wrap nav > ul > li.current_page_item > a, #nav-wrap nav > ul > li:hover > a {
color: #d6d2bb;
}
hgroup#page-title h1 {
color: #78403a;
}
footer[role="contentinfo"] {
border-top: solid 4px #78403a;
color: #FDF6D7;
}
#secondary .widget h2.title {
color: #FDF6D7;
}
h1.section-heading {
color: #FDF6D7;
}
#secondary .widget.widget_search input[type="text"] {
background: #FDF6D7;
border: solid 1px #c9c3a5;
}
#slider.default, #slider.nivo, .frame, .wp-caption img {
border: solid 4px #c9c3a5;
}
hr.sep {
border-top: solid 1px #78403a;
}
#content-wrap > .sbg {
background-color: #e3ddc2;
}
#home section.modular article > header span {
color: #78403a;
}
hgroup#page-title h2 {
color: #78403a;
}
nav[role="navigation"] {
text-align: center;
}
#nav-wrap nav > ul > li {
    margin-left: 34px;
}

/* STILI HOME PAGE */
#home .homeleft {float:left;width:63%;}
#home .homeright {float:left;width:35%;padding-left:2%;}
#home .ytvideo {width:560px;height:315px;}
@media screen and (max-width: 976px) {
#home .homeleft, #home .homeright {float:none;width:100%;}
#home .homeright {padding-left:0;padding-top:12px;}
#home .ytvideo {margin: auto;display: block;}
}
@media screen and (max-width: 784px) {
#home .ytvideo {width: 420px;height: 236px;}
}

/* STILI TABS */
.js ul.sc-tabs > li.tab {
background-color: #FDF6D7;
border: solid 1px #FEE3AE;
}
.js ul.sc-tabs > li.nav span.active {
background: #FDF6D7;
border-bottom-color: #FDF6D7;
}
.js ul.sc-tabs > li.nav span {
border: solid 1px #FEE3AE;
background: -webkit-gradient(linear, left top, left bottom, from(#FDF6D7), to(#FCF1BC));
background: -moz-linear-gradient(top, #FDF6D7, #FCF1BC);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FDF6D7', endColorstr='#FCF1BC');
}

/* STLI TABELLE */
th {
border-bottom: 2px solid #78403a;
}
td {
border-bottom: 1px solid #FEE3AE;
}

/* MOBILE */
.mobile-768 section#site-logo img {
    max-width: 700px;
    height: auto !important;
}
.mobile-768 #nav-wrap nav > ul > li > a {
    font-size: 16px !important;
}

/* LANGUAGE SELECTOR */
#lang_sel {margin-left:10px;}
#lang_sel a.lang_sel_sel {background-color: rgba(0, 0, 0, 0.1);}
#lang_sel ul ul a, #lang_sel ul ul a:HOVER, #lang_sel ul ul a:visited {background-color: rgba(0, 0, 0, 0.2);}
#lang_sel a, #lang_sel a:visited {border: 0;line-height: 26px;}

/* LANGUAGE SELECTOR HEADER */
#wrap {margin-top:0;}
#lang {height:22px;width:960px;margin:30px auto 0;background: url('../core/images/common-bg.jpg') repeat scroll 0% 0% transparent;}
#lang span {display:block;height:20px;padding-right:30px;padding-bottom:2px;background-color: rgba(0, 0, 0, 0.1);text-align:right;}
#lang span img {margin-left:12px;}
#lang span a img {opacity: 0.4;}
@media screen and (max-width: 976px) {
#lang {width: 768px;margin-top:0;}
}
@media screen and (max-width: 784px) {
#lang {width: 480px;}
}

/* CONTACT FORM */
.col1of2 {width:46%;float:left;}
.col2of2 {width:50%;float:left;padding-left:3%;border-left: 1px solid #78403A;}
@media screen and (max-width: 768px) {
.col1of2 {width:100%}
.col2of2 {width:100%;float:none;padding-left:0;border-left: 0px;}
}