/***** Fonts *****/


/*
font-family: 'asapbold';
font-family: 'asapbold_italic';
font-family: 'asapitalic';
font-family: 'asapregular'; */

.browsehappy {
    margin: 0em;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
    position: fixed;
    top: 0em;
    left: 0em;
    text-align: center;
    width: 100%;
    height: 100%;
    z-index: 100000;
}

html,
body {
    font-family: 'asapregular', Arial, Helvetica, sans-serif;
    /*height: 100%;*/
}

body.home {
    height: 100%;
}

nav ul {
    padding: 0;
    margin: 0;
}

nav li {
    padding: 0;
    margin: 0;
    list-style: none;
}

.bx-wrapper .bx-controls-direction a {
    z-index: 99!important;
}


/***** Global Classes *****/

.img-left {
    float: left;
    margin: 0 30px 30px 0;
    border: none;
}

.img-right {
    float: right;
    margin: 0 0 30px 30px;
    border: none;
}

.clear {
    clear: both;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.txt-big {
    color: #a2bd30;
    font-weight: bold;
    line-height: 26px;
}

.txt-left {
    text-align: left;
}

.txt-right {
    text-align: right;
}

.txt-center {
    text-align: center;
}

.txt-justify {
    text-align: justify;
}

.normal {
    font-weight: normal;
}

.bold {
    font-weight: bold;
}

.italic {
    font-style: italic;
}

.underline {
    border-bottom: 1px solid;
}

.highlight {
    padding: 4px 7px 4px;
    color: #000;
    line-height: 19px;
    display: inline-block;
    background: #00deff;
    font-weight: bold;
}

.intro {
    font-size: 130%;
    line-height: 130%;
}

.nopadding {
    padding: 0;
}

.noindent {
    margin-left: 0;
    padding-left: 0;
}

.nobullet {
    list-style: none;
    list-style-image: none;
}

.inline {
    display: inline;
}

.block {
    display: block;
}

.hidden {
    display: none;
}

.hide {
    display: none;
}

.bfix {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.table-cell {
    display: table-cell;
    vertical-align: middle;
}

sup {
    text-transform: lowercase!important;
}

.ulFlat {
    list-style-position: inside;
}

.ulFlat li {
    padding: 0;
    margin: 0;
}

.downloads li {
    background: url(../img/ico-pdf.png) center left no-repeat;
    padding: 20px 0px 20px 50px;
    list-style-type: none!important;
    margin: 0;
}

.evidence,
.midEvidence,
.bigEvidence {
    text-transform: uppercase;
    color: #cba844;
    font-size: 18px;
    font-family: 'asapbold';
    font-weight: normal;
}

.midEvidence {
    font-size: 24px;
}

.bigEvidence {
    font-size: 38px;
}

.btnSubmit {
    background-color: #9b0000;
    border: none;
    color: #FFFFFF!important;
    font-family: 'asapbold';
    text-transform: uppercase;
    font-size: 20px!important;
    transition: all 0.3s linear 0s;
    float: right;
    margin-right: 0;
    padding: 8px 12px;
}

.btnSubmit:hover {
    border-color: #b72825;
    background-color: #cba844;
    color: #FFF;
}

#boxDownloadSchede {
    display: none;
}

#boxDownloadSchede .genericText h2 {
    font-size: 30px!important;
}

#boxDownloadSchede .genericText ol {
    counter-reset: item;
}

#boxDownloadSchede .genericText ol li:before {
    content: counter(item) ") ";
    counter-increment: item;
    color: #cba844;
    font-weight: bold;
}

#boxDownloadSchede .genericText ol li {
    font-size: 16px!important;
    list-style-type: none!important;
}


/***** Struttura *****/

a {
    text-decoration: none!important;
}

.textLink a {
    color: #cba844;
    text-decoration: underline!important;
}

.textLink a:hover {
    text-decoration: none!important;
}

#wrapper {
    min-height: 100%;
    height: auto !important;
    height: 100%;
}

#mainMenu {
    background-color: rgba(183, 40, 37, 0.7);
    border-bottom: 4px solid #cba844;
}

#mainMenu ul {
    width: 901px;
    width: 716px;
    margin: 0 auto;
}

#mainMenu li {
    display: inline-block;
    margin: 0 -2px;
}

#mainMenu nav>ul>li>a,
#mainMenu ul ul>li a {
    color: #FFFFFF;
    font-family: 'asapbold';
    font-size: 14px;
    text-transform: uppercase;
    display: inline-block;
    padding: 23px 22px;
    transition: background-color 1.8s;
}

#mainMenu nav>ul>li>a:hover,
#mainMenu nav>ul>li.active {
    background-color: rgba(110, 24, 22, 0.8);
    transition: background-color 0.5s;
}
/*
#mainMenu nav>ul>li:last-child>a,
#mainMenu nav>ul>li:last-child.active {
    background: #cba844;
    background: -moz-linear-gradient(top, #cba844 63%, #ab8721 100%);
    background: -webkit-linear-gradient(top, #cba844 63%, #ab8721 100%);
    background: linear-gradient(to bottom, #cba844 63%, #ab8721 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#cba844', endColorstr='#ab8721', GradientType=0);
}*/

#mainMenu nav>ul>li:last-child>a:hover {
    background: rgba(110, 24, 22, 0.8)!important;
    transition: background 0.5s;
}

#mainMenu nav>ul>li {
    position: relative;
}

#mainMenu ul ul {
    display: none;
    position: absolute;
    left: 0px;
    width: 168px;
    background-color: rgba(110, 24, 22, 0.7);
}

#mainMenu ul ul>li a {
    width: 114px;
    display: block;
    clear: both;
}

html,
body {
    background-image: url(../img/bg-body.jpg);
    background-position: top 50%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    /*filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/bg-body.jpg', sizingMethod='scale');*/
    /*-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/bg-body.jpg', sizingMethod='scale')";*/
    z-index: -2;
}

.bx-wrapper .bx-viewport {
    border: none!important;
    box-shadow: none!important;
    left: 0px!important;
    background-color: transparent!important;
    z-index: 1;
}

.bx-wrapper .bx-pager.bx-default-pager a {
    background: none repeat scroll 0 0 #FFFFFF;
    width: 14px;
    height: 14px;
    border-radius: 14px;
}

.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
    bottom: -36px;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
    background: none repeat scroll 0 0 #CBA844;
}

.bx-pager {
    position: relative!important;
    bottom: 0px!important;
}

#camera-slideshow {
    position: fixed!important;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    z-index: -1!important;
}

#containeHome {
    margin-bottom: 40px;
}

#containeHome img {
    max-width: 900px;
}

#logo {
    text-align: center;
    padding-top: 40px;
    padding-bottom: 20px;
}

#containeHome img {
    margin: 0 auto!important;
}

#containeHome div.hide-tablet {
    width: 100%;
}

#containeHome .max-img {
    width: auto;
}

#textHome {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 30px;
    margin: 30px 0;
    border-radius: 30px;
    font-family: 'asapbold_italic';
    color: #b72825;
}

#textHome h1 {
    color: #b72825;
    font-family: 'asapbold';
    text-transform: uppercase;
    text-align: center;
}

#firstFooter,
#firstFooter a {
    color: #FFFFFF;
}

#firstFooter {
    background-color: rgba(183, 40, 37, 0.7);
    font-size: 12px;
}

#firstFooter .row {
    padding-top: 30px;
    padding-bottom: 30px;
}

#boxSocial {
    margin-top: -6px;
}

#boxSocial img {
    margin: 0 3px;
}

#secondFooter {
    text-align: center;
    background-color: #b72825;
    padding: 8px 0;
}

#thirdFooter {
    background-color: #9b0000;
}

#thirdFooter .float-left {
    background-color: #FFFFFF;
    padding: 12px 20px;
    border-top-right-radius: 20px;
}

.imgList li {
    display: block;
    float: left;
    padding: 0;
}

#container {
    background-color: rgba(181, 56, 49, 0.85);
    padding: 74px 0 110px 0;
    margin-bottom: 70px;
    color: #FFFFFF;
    font-size: 14px;
    line-height: 24px;
}

#container li,
#container p,
.genericText {
    list-style-type: square;
    font-size: 14px!important;
    line-height: 24px!important;
}

#container h1 {
    font-family: 'asapbold';
    text-transform: uppercase;
    color: #cba844;
    font-size: 36px;
    margin-bottom: 44px;
}

#container h2,
#container .readMore,
.pagination a {
    font-family: 'asapbold';
    text-transform: uppercase;
    color: #cba844;
    font-size: 25px;
    line-height: 25px;
}

.pagination a {
    font-size: 20px;
}

.pagination li:first-child {
    padding-left: 0;
}

.pagination li:first-child a,
.pagination li:last-child a {
    text-decoration: underline!important;
}

.pagination li {
    float: left;
    list-style-type: none!important;
    line-height: 25px!important;
}

.pagination li span {
    font-size: 20px!important;
}

.pagination .disabled {
    opacity: 0.3;
}

.pagination {
    font-family: 'asapbold';
    font-size: 25px;
    text-transform: uppercase;
}

#container ul {
    margin-top: 0;
}

#gruppoSagraId5 .imgList li {
    margin-bottom: 20px;
}

#gruppoSagraId6 h2 {
    font-size: 15px;
    margin-bottom: 30px;
}

#gruppoSagraId6 .grid_6 {
    margin-bottom: 45px;
}

#gruppoSagraId6 .grid_6:nth-child(2n+2) {
    clear: both;
}

#cucina .date h2 {
    background-color: #cba844;
    width: 40px;
    padding: 7px 5px 3px 5px;
}

#cucina .date h2 span {
    display: block;
}

#cucinaFirstBox h2 {
    text-transform: none;
}

#cucinaFirstBox {
    padding-bottom: 60px;
    margin-bottom: 50px;
    border-bottom: 1px solid #cba844;
}

#cucinaFirstBox .grid_4 {
    margin-bottom: 20px;
}

#eventiIndex li {
    margin-bottom: 70px;
}

#eventiIndex li:nth-child(2n+3) {
    clear: both;
}

#eventiIndex li img {
    margin-bottom: 30px;
}

#eventiIndex li h2 {
    margin-bottom: 30px;
    font-size: 20px;
}

.genericText {
    margin-bottom: 40px;
    font-size: 15px;
    line-height: 15px;
}

.container a,
.genericText a,
.genericText span {
    color: #cba844;
}

.media {
    border: none;
    background: url(../img/loading.gif) center center no-repeat;
    background-color: rgba(0, 0, 0, 0.2);
}

#container .readMore {
    font-size: 20px;
    display: block;
    text-decoration: underline!important;
    margin-top: 28px;
}

.mediaList li {
    width: 100%;
    margin-bottom: 60px;
}

.socialBox {
    padding: 30px 0;
}

#eventiActions li {
    margin-bottom: 20px;
}

#eventiActions li span {
    display: block;
    padding: 33px 10px 0px 100px;
    height: 50px;
    vertical-align: middle;
    font-size: 18px;
    line-height: 18px;
    font-family: 'asapbold';
    text-transform: uppercase;
}

#eventiActions li a {
    color: #FFFFFF;
}

#eventiActions li:nth-child(1) {
    background: #ac0805 url(../img/download.png) 20px center no-repeat;
}

#eventiActions li:nth-child(2) {
    background: #ac0805 url(../img/penna.png) 20px center no-repeat;
}

#eventiActions li:nth-child(3) {
    background: #ac0805 url(../img/busta.png) 20px center no-repeat;
}

#eventiActions li:nth-child(4) {
    background: #ac0805 url(../img/fax.png) 20px center no-repeat;
}

.date h2 {
    color: #FFFFFF!important;
    font-size: 37px!important;
    line-height: 20px;
    margin-bottom: 22px;
}

.date h2 span {
    color: #FFFFFF;
    font-size: 19px;
    font-family: 'asapregular';
}

.date h2 .year {
    color: #cba844;
    margin-top: -2px;
    display: block;
    font-size: 17px;
}

.date h3 {
    color: #FFFFFF;
    font-size: 27px;
    line-height: 27px;
    font-family: 'asapbold';
    text-transform: uppercase;
    margin-top: -8px;
}

.boxIndexNews {
    padding-bottom: 32px;
}

#news .imgList li {
    width: 100%;
}

#archivioNews ul {
    margin-left: 16px;
    margin-bottom: 70px;
}

#archivioNews li {
    padding: 0;
    margin-bottom: 10px;
}

#archivioNews a {
    font-family: 'asapitalic';
    color: #FFFFFF;
    text-transform: capitalize;
}

#archivioNews li.active a {
    color: #cba844;
}

#news .genericText,
#contatti .genericText {
    font-family: 'asapitalic';
}

#contatti .media {
    margin-bottom: 40px;
}

#contatti form label,
#mc_embed_signup form label {
    display: block;
    float: none;
    width: 100%;
    text-align: left;
    color: #FFFFFF;
}

#contatti input[type=email],
#contatti input[type=text],
#contatti input[type=tel],
#contatti textarea,
#mc_embed_signup input[type=email],
#mc_embed_signup input[type=text] {
    width: 100%;
}

#contatti textarea {
    height: 430px;
}

input[type="checkbox"]:checked+label:before,
input[type="radio"]:checked+label:before {
    background-color: #b72825;
    border-color: #9b0000;
}

input[type="radio"]:checked+label:before {
    background-color: #FFFFFF;
}

#contatti .checkbox,
#contatti .radio {
    display: block;
    width: 100%;
}

input[type="submit"],
#mc_embed_signup input[type="submit"] {
    background-color: #9b0000;
    border: none;
    color: #FFFFFF;
    font-family: 'asapbold';
    text-transform: uppercase;
    font-size: 20px;
    transition: all 0.3s linear 0s;
    float: right;
    margin-right: 0;
}

input:hover[type="submit"],
#mc_embed_signup input:hover[type="submit"] {
    border-color: #b72825;
    background-color: #cba844;
    color: #FFF;
}

input[type="checkbox"]+label:before {
    color: #FFFFFF!important;
}

.domandaPartecipazione input[type="checkbox"]+label:before {
    top: 4px!important;
}

.domandaPartecipazione a {
    color: #cba844;
}

.domandaPartecipazione a:hover {
    color: white;
}

#boxOrari21,
#boxOrari28 {}

#calcola {
    color: #cba844;
    font-family: 'asapbold';
    text-decoration: underline!important;
    text-transform: uppercase;
    font-size: 15px;
}

#contatti h3 {
    font-family: 'asapitalic';
    color: #FFFFFF;
    font-size: 14px;
}

#contattiColDx h3 {
    margin-bottom: 0px!important;
    text-transform: uppercase;
    font-size: 14px;
    font-family: 'asapbold';
    margin-top: 14px;
}

#opuscoli {
    margin-top: 50px;
    font-family: 'asapbold';
}

#opuscoli iframe a {
    font-size: 30px;
    color: #cba844!important;
    text-transform: uppercase;
}

#opuscoli a:hover {
    color: #FFFFFF;
}

.domandaPartecipazione textarea {
    height: 70px!important;
}

#boxEspositoreConLicenza,
#boxAltraMetratura {
    display: none;
}

.newsColDx h2 {
    color: #CBA844;
    font-family: 'asapbold';
    font-size: 36px!important;
    margin-bottom: 44px;
    text-transform: uppercase;
    line-height: 40px!important;
}


/*default messages form*/

.messages {
    width: 95%;
    -moz-border-radius: 4px;
    border-radius: 4px;
    display: block;
    padding: 10px 0;
    margin: 10px 3% 10px;
    clear: both;
}

.messages a.closeMessage {
    margin: -14px -8px 0 0;
    display: none;
    width: 16px;
    height: 16px;
    float: right;
    background: url(../images/messages/close.png) no-repeat;
}


/*.messages:hover a.closeMessage { visibility:visible; }*/

.messages p {
    margin: 3px 0 3px 10px !important;
    padding: 0 10px 0 23px !important;
    font-size: 14px;
    line-height: 16px;
}

.messages.error {
    border: 1px solid #C42608;
    color: #c00 !important;
    background: #FFF0EF;
}

.messages.error p {
    background: url(../img/messages/cross.png ) no-repeat 0px 50%;
    color: #c00 !important;
}

.messages.success {
    background: #E0FBCC;
    border: 1px solid #6DC70C;
}

.messages.success p {
    background: url(../img/messages/tick.png) no-repeat 0px 50%;
    color: #2B6301 !important;
}

.messages.warning {
    background: #FFFCD3;
    border: 1px solid #EBCD41;
    color: #000;
}

.messages.warning p {
    background: url(../img/messages/warning.png ) no-repeat 0px 50%;
    color: #5F4E01;
}

.messages.information,
.messages.info {
    background: #DFEBFB;
    border: 1px solid #82AEE7;
}

.messages.information p,
.messages.info p {
    background: url(../img/messages/help.png ) no-repeat 0px 50%;
    color: #064393;
}

.messages.information a,
.messages.warning a {
    text-decoration: underline;
}


/***** Screen 1200px+ *****/

#boxOpenMenu {
    display: none;
}


/***** Screen Smaller than 1199px *****/

@media only screen and (min-width: 960px) and (max-width: 3000px) {
    body.home {
        background: none!important;
    }
}


/***** Tablet (Smaller than 959px) *****/

@media only screen and (min-width: 768px) and (max-width: 959px) {
    body.home {
        background: none!important;
    }
    #containeHome .max-img {
        width: 100%;
    }
    .logo {
        padding-top: 60px!important;
    }
}

@media only screen and (min-width:300px) and (max-width: 959px) {
    h1 {
        font-size: 30px!important;
        margin-bottom: 24px!important;
    }
    #container {
        padding: 54px 0 84px!important;
    }
    #boxOpenMenu {
        display: inline;
    }
    #menuList {
        display: none;
        border-top: 4px solid #cba844;
    }
    #mainMenu ul {
        width: 100%;
    }
    #mainMenu .row {
        padding: 0;
        margin: 0;
        width: 100%;
    }
    #openMenu {
        display: block;
        font-family: 'asapbold';
        font-size: 14px;
        text-transform: uppercase;
        color: #FFFFFF;
    }
    #openMenu img {
        padding: 17px;
        margin-right: 20px;
        background-color: rgba(110, 24, 22, 0.7);
    }
    #mainMenu li {
        display: block!important;
    }
    #mainMenu nav>ul>li>a,
    #mainMenu ul ul>li a {
        display: block;
        padding-top: 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid #FFFFFF;
    }
    #mainMenu nav>ul>li:last-child>a {
        border: none;
    }
    #mainMenu nav>ul>li.active a {
        color: #cdab3b;
    }
    #mainMenu nav>ul>li>a:hover {
        color: #cdab3b;
    }
    #mainMenu ul ul {
        position: relative;
        margin: 0;
        padding: 0;
        width: inherit;
        background-color: rgba(110, 24, 22, 0.7);
    }
    #mainMenu ul ul>li {
        margin: 0!important;
        padding: 0!important;
    }
    #mainMenu ul ul>li a {
        width: inherit;
    }
    .logo {
        padding-top: 60px!important;
    }
    .boxIndexNews .grid_4 {
        margin-bottom: 60px!important;
    }
    #eventi .grid_7 {
        clear: both!important;
        width: 100%;
    }
}


/***** Mobile AND Tablet (portrait 300px) *****/

@media only screen and (min-width:480px) and (max-width: 959px) {
    body.home {
        background: none!important;
    }
}


/***** Mobile (landscape 420px) *****/

@media only screen and (max-width: 480px) {
    html,
    body {
        background: none!important;
        background-color: #7B040F!important;
    }
    /*
	body.home {
		background-image: url(../img/bg-body-mobile.jpg)!important;
	}*/
    #camera-slideshow,
    #opuscoli {
        display: none!important;
    }
    #firstFooter {
        text-align: center;
    }
    #boxSocial {
        display: block!important;
        width: 100%;
        padding-top: 20px;
    }
    #eventiActions li span {
        padding-bottom: 20px!important;
    }
    .pagination li:first-child,
    .pagination li:last-child {
        display: block!important;
        width: 100%!important;
        text-align: center!important;
        margin-bottom: 10px!important;
    }
    .btnSubmit,
    #contatti input[type=submit] {
        font-size: 14px!important;
    }
}
