/* Gallery ________________________________*/
#overlay { position: fixed; top: 0; left: 0; width: 100%; height:100%; display: none; background: rgba(255, 255, 255, .7); overflow:auto; z-index:100 }
#gallery { max-width: 100%; position: relative; display: none; /*background-color: #2DACB9;*/ }
#gallery-wrapper { width: 100%; display:block; margin-right: auto; margin-left: auto; text-align: center; }
#gallery-nav { width: 100%; text-align: center; /*background-color: #FFBB02;*/ }
#gallery-nav a { display: inline-block; height: 2em; width: 2em; line-height: 2; text-align: center; text-decoration: none; color: #FFF; background-color: #000; margin-top: 0.4em; margin-right: 0.4em; margin-bottom: 0.4em; margin-left: 0; }
#gallery-wrapper img { max-width: 94%; display: none; margin-top: 20; margin-right: auto; margin-bottom: 0; margin-left: auto; border: 6px solid #900; }
#gallery-wrapper > img:first-child { display: block; }
#close_gall { position:absolute; top:0; right:0; color:#CCC; background-color:#900; padding: 20px; text-align: center; cursor:pointer; z-index:2; }
#next-nav { position:absolute; width:20%; height:100%; top:0; right:0; color:#CCC; text-align: center; cursor:pointer; background-image: url(../images/next.png); background-repeat: no-repeat; background-position: right center; z-index:1; }
#prev-nav { position:absolute; width:20%; height:100%; top:0; left:0; color:#CCC; text-align: center; cursor:pointer; background-image: url(../images/prev.png); background-repeat: no-repeat; background-position: left center; z-index:1; }
#gallery_tot { text-align:center; padding:10px; font-weight: 600; }
.overlay { position: fixed; top: 0; left: 0; width: 100%; height:100%; display: none; background: rgba(255, 255, 255, .7); overflow:auto; z-index:100 }
.gallery { max-width: 100%; position: relative; display: none; /*background-color: #2DACB9;*/ }
.gallery-wrapper { width: 100%; display:block; margin-right: auto; margin-left: auto; text-align: center; }
.gallery-nav { width: 100%; text-align: center; /*background-color: #FFBB02;*/ }
.gallery-nav a { display: inline-block; height: 2em; width: 2em; line-height: 2; text-align: center; text-decoration: none; color: #FFF; background-color: #000; margin-top: 0.4em; margin-right: 0.4em; margin-bottom: 0.4em; margin-left: 0; }
.gallery-wrapper img { max-width: 94%; display: none; margin-top: 20; margin-right: auto; margin-bottom: 0; margin-left: auto; border: 6px solid #900; }
.gallery-wrapper > img:first-child { display: block; }
.close_gall { position:absolute; top:0; right:0; color:#CCC; background-color:#900; padding: 20px; text-align: center; cursor:pointer; z-index:2; }
/* Gallery ________________________________*/
/* ********************** SOCIAL ********************** */
#social { paddind:0; display:inline-block; vertical-align:top; }
#social a { display:inline-block }
#social #fb { background-image:url(../images/facebook.png); background-color:#999; background-repeat:no-repeat; background-position:5px center; }
#social #tw { background-color:#666; background-image:url(../images/twitter.png); background-repeat:no-repeat; background-position:5px center; }
#social #gp { background-color:#333; background-image:url(../images/in.png); background-repeat:no-repeat; background-position:5px center; }
#social #fb:hover { background-color:rgba(59, 89, 152) }
#social #tw:hover { background-color:rgba(85, 172, 238) }
#social #gp:hover { background-color:rgba(0, 119, 181) }
#social #fb, #social #tw, #social #gp { height:auto; width:60px; height:40px; display:inline-block }
/* ********************** PAGINATORE ********************** */
.paginatore { font-size:14px; margin-top:5px; margin-bottom: 10px; text-align:center; }
.paginatore a { color:var(--thm-b-font); }
.col-sm-4 img { width:100%; height:auto; border: 4px solid #36424C; }
.paginatore_int { padding:3px; background-color:#fff; }
.paginatore_int a, .paginatore_int span { background-color: #FFF; display: inline-block; padding-top:1px; padding-bottom:1px; padding-left:12px; padding-right:12px; border: 2px solid var(--thm-EPT); margin-right:2px; }
.paginatore_int a:hover, .paginatore_int .corrente { background-color: #000; color:#FFF; }
.paginatore_int span.corrente { background-color: var(--thm-base); ; display: inline-block; padding-top:10px; padding-bottom:10px; padding-left:20px; padding-right:20px; margin-right:2px; color:#FFF; }
.wrap_paginatore { display: inline-block; }
/* ********************** ADACT IMG  POST ********************** */
.img-responsive_d_met_lef { width:50%; height:auto; float:left; margin-top: 15px; margin-right: 15px; margin-bottom: 15px; cursor:pointer; }
.img-responsive_d_met_rig { width:50%; height:auto; float:right; margin-top: 15px; margin-bottom: 15px; margin-left: 15px; cursor:pointer; }
.img-responsive_full { width:100%; height:auto; float:left; margin-bottom: 15px; margin-top: 15px; cursor:pointer; }
.img-responsive_left { display:block; height:auto; float:left; margin-top: 15px; margin-right: 15px; margin-bottom: 15px; cursor:pointer; }
.img-responsive_rig { display:block; height:auto; float:right; margin-top: 15px; margin-bottom: 15px; margin-left: 15px; cursor:pointer; }
.wrapper img:hover { cursor:pointer; }
/* ********************** CONTACT ********************** */
form { margin:0; padding:0; }
fieldset { border:0px; }
#contact_form { margin-left:0px; position:relative; margin-top: 10px; margin-right: auto; margin-bottom: 0; width:100%; float: left; }
label { margin-top:3px; margin-bottom: 3px; color: #000; font-size: 13px; }
label.sp { width:3px; }
input.text-input { width:100%; margin:0px 0px 6px 0px; height:15px; padding:5px 2px; vertical-align:middle; }
textarea.text-input { width:100%; height:250px; margin:0px; vertical-align:top; }
.b-cont h2 { margin-bottom:5px; }
span.pagina_selezionata { padding:2px 5px; border:1px solid #CCCCCC; color:#999999; margin-left:5px; }
a.pagina_link { padding:2px 5px; text-decoration:none; border:1px solid #999999; color:#666666; cursor:pointer; margin-left:5px; }
a.pagina_link:hover { padding:2px 5px; text-decoration:none; border:1px solid #333333; color:#333333; background-color:#CCCCCC; cursor:pointer; margin-left:5px; }
/* Contact ________________________________*/
/*Btn Style One*/

.btn-style-one { position: relative; display: inline-block; text-align: center; text-transform: uppercase; letter-spacing: 0.05em; background: #FFF; color: var(--thm-black); border-radius: 5px; overflow: hidden; font-family: var(--thm-font); transition: all 0.3s ease; -moz-transition: all 0.3s ease; -webkit-transition: all 0.3s ease; -ms-transition: all 0.3s ease; -o-transition: all 0.3s ease; }
.btn-style-one .btn-title { position: relative; display: block; font-size: 18px; line-height: 30px; font-weight: 400; letter-spacing: .1em; padding: 19px 50px 16px; z-index: 1; }
.btn-style-one:hover { background: var(--thm-base); color: #ffffff; }
.btn-style-one .btn-curve { position: absolute; right: -15px; top: 0; width: 26px; height: 100%; background: var(--thm-black); opacity: 0.2; z-index: 0; transform: skewX(-22deg); transition: all 0.5s ease; -moz-transition: all 0.5s ease; -webkit-transition: all 0.5s ease; -ms-transition: all 0.5s ease; -o-transition: all 0.5s ease; }
.btn-style-one:hover .btn-curve { opacity: 1; right: 0; width: 100%; transform: skewX(0deg); }
.default-form { position: relative; }
.default-form .row { margin: 0 -15px; }
.default-form .form-group { position: relative; margin-bottom: 10px; }
.default-form .field-inner { position: relative; display: block; }
.default-form .field-inner .alt-icon { position: absolute; left: 20px; top: 50%; margin-top: -15px; line-height: 30px; font-size: 20px; color: #9b9fa6; z-index: 1; pointer-events: none; }
.default-form .form-group .field-label { position: relative; display: block; color: #0f172b; font-size: 14px; line-height: 24px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.default-form .form-group .e-label { position: relative; }
.default-form .form-group input[type="text"], .default-form .form-group input[type="email"], .default-form .form-group input[type="password"], .default-form .form-group input[type="tel"], .default-form .form-group input[type="url"], .default-form .form-group input[type="file"], .default-form .form-group input[type="number"], .default-form .form-group textarea, .default-form .form-group select { position: relative; display: block; /*height: 70px;*/ width: 100%; font-size: 14px; color: #686a6f; line-height: 40px; font-weight: 400; padding: 7px 30px; background-color: #fff; border: 3px solid var(--thm-EPT); border-radius: 7px; font-family: var(--thm-b-font); transition: all 300ms ease; }
 .default-form .form-group ::placeholder {
 opacity: 1;
 color: inherit;
}
.default-form .form-group textarea { height: 220px; resize: none; }
.contact-form .form-group input[type="submit"], .contact-form .form-group button { display: inline-block; }
.default-form .form-group input[type="text"]:focus, .default-form .form-group input[type="email"]:focus, .default-form .form-group input[type="password"]:focus, .default-form .form-group input[type="tel"]:focus, .default-form .form-group input[type="url"]:focus, .default-form .form-group input[type="file"]:focus, .default-form .form-group input[type="number"]:focus, .default-form .form-group textarea:focus, .default-form .form-group select:focus, .form-group .ui-selectmenu-button.ui-button:focus, .form-group .ui-selectmenu-button.ui-button:active { border-color: var(--thm-base); }
 .default-form ::-webkit-input-placeholder {
 color: #aaaaaa;
}
 .default-form ::-moz-input-placeholder {
 color: #aaaaaa;
}
 .default-form ::-ms-input-placeholder {
 color: #aaaaaa;
}
.default-form label.error { color: #FFF; font-size: 14px; text-align: left; display: block; letter-spacing: 1px;line-height: 15px; }
/*Custom Select*/

.form-group .ui-selectmenu-button.ui-button { width: 100%; font-size: 14px; font-style: normal; height: 70px; padding: 14px 30px; line-height: 40px; font-family: var(--thm-b-font); color: var(--thm-text); border-radius: 7px; background-color: #f4f5f8; border: 1px solid #f4f5f8; }
.form-group .ui-button .ui-icon { background: none; position: relative; top: 10px; text-indent: 0px; color: var(--thm-black); }
.form-group .ui-button .ui-icon:before { font-family: 'Font Awesome 5 Free'; content: "\f107"; position: absolute; right: 0px; top: 0px !important; width: 15px; height: 30px; display: block; color: var(--thm-black); line-height: 20px; font-size: 16px; font-weight: 900; text-align: center; z-index: 5; }
.body-dark .default-form .form-group input[type="text"],
.body-dark .default-form .form-group input[type="email"],
.body-dark .default-form .form-group input[type="password"],
.body-dark .default-form .form-group input[type="tel"],
.body-dark .default-form .form-group input[type="url"],
.body-dark .default-form .form-group input[type="file"],
.body-dark .default-form .form-group input[type="number"],
.body-dark .default-form .form-group textarea,
.body-dark .default-form .form-group select{ background-color:#FFF;}
.align{text-align:left;}
.cont_form{ overflow: hidden; /*padding-left:10%; padding-right:10%;*/}
#mx_frm{display:inline-block; color: var(--thm-base); margin-left:30px; margin-top:0px;}
/* ********************** CERCA NEL SITO********************** */
#txt_src{ position:relative;}
#search_form .error { color:#CCC; font-size: 14px; text-align: left; display: block;line-height: 24px; }
/* ********************** TABELLE RIGHE ALTERNATE********************** */
table { width:100%; text-align: left; font-size: 13px; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #999; border-bottom-color: #999; border-left-color: #999; line-height: 14px; }
th { font-weight: bold; background-color: #FFF; }
td, th { padding: 8px; border-right-width: 1px; border-right-style: solid; border-right-color: #999; }
.odd { background-color: rgba(255,255,255, 0.4); }
.even { background-color: rgba(255,255,255, 0.8); }
@media (max-width: 991px) {
.align{text-align:center;}
#mx_frm{display:block;margin-left:0px; margin-top:10px;}
}
@media (max-width: 768px) {
.box_galleria_fot {
width: 33.3%;
height:180px;
}
.align{text-align:center;}
#mx_frm{display:block;margin-left:0px; margin-top:10px;}
}
 @media(max-width:480px ) {
 .box_galleria_fot {
height:100px;
width: 50%;
}
.col_frm {
width: 100%;
}
.align{text-align:center;}
#mx_frm{display:block;margin-left:0px; margin-top:10px;}
}
