/*4333
Theme Name: ac 2.1
Theme URI: http://wordpress.org/themes/accademia
Author: the WordPress team 
Author URI: http://wordpress.org/
Description: Accademia Carrara Theme 2018
Version: 1.2
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, fluid-layout, responsive-layout, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain: accademia

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.
*/ 
 

/**
 * Table of Contents:
 *
 * 1.0 - Reset
 * 2.0 - Repeatable Patterns
 * 3.0 - Basic Structure
 * 4.0 - Header
 *   4.1 - Site Header
 *   4.2 - Navigation
 * 5.0 - Content
 *   5.1 - Entry Header
 *   5.2 - Entry Meta
 *   5.3 - Entry Content
 *   5.4 - Galleries
 *   5.5 - Post Formats
 *   5.6 - Attachments
 *   5.7 - Post/Paging Navigation
 *   5.8 - Author Bio
 *   5.9 - Archives
 *   5.10 - Search Results/No posts
 *   5.11 - 404
 *   5.12 - Comments
 *   5.13 - Multisite
 * 6.0 - Sidebar
 *   6.1 - Widgets
 * 7.0 - Footer
 * 8.0 - Media Queries
 * 9.0 - Print
 * ----------------------------------------------------------------------------
*/


/**
 * 1.0 Reset
 *
 * Modified from Normalize.css to provide cross-browser consistency and a smart
 * default styling of HTML elements.
 *
 * @see http://git.io/normalize
 * ----------------------------------------------------------------------------
*/

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
}

body {
	
	font-size: 1em;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
nav,
section,
summary {
    display: block;
}

audio,
canvas,
video {
    display: inline-block;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden] {
    display: none;
}

html {
    font-size: 100%;
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}
body,
html,
button,
input,
select,
textarea {
    font-family: 'AtlasGroteskRegular', Helvetica, sans-serif;
}

body {
    color: #141412;
    line-height: 1.5;
    margin: 0;
}

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

a:visited {
    color: #ff563f;
}

a:focus {
	text-decoration: none !important;
}

a:active,
a:hover {
    color: #ff563f;
}

a:hover {
    text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    /* font-family: 'AtlasGroteskMedium'; */
    line-height: 1.3;
}

.entry-content .row h1, h1 {
    font-size: 22px;
    font-family: 'AtlasGroteskRegular' !important;
    font-size: 19px;
    line-height: 22px;
    color: #000!important;
    margin:  0 0 0px 0;
}


h2 {
    font-size: 22px;
    font-family: 'AtlasGroteskMedium';
    font-size: 19px;
    line-height: 21px;
    color: #000!important;
    margin:  0 0 22px 0;
}

h3 {
	font-family: 'AtlasGroteskMedium';
    font-size: 19px;
    line-height: 21px;
    color: #000!important;
    margin:  0 0 22px 0;
    
}

h4 {
font-family: 'AtlasGroteskMedium';
    font-size: 16px;
    line-height: 18px;
    color: #000!important;    margin:  0 0 22px 0;
}

h5 {
    font-size: 18px;
    margin:  0 0 22px 0;
}

h6 {
    font-size: 16px;
    margin:  0 0 22px 0;
}

address {
    font-style: italic;
    margin: 0 0 24px;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b,
strong {
    font-weight: normal !important;
        font-family: 'AtlasGroteskBold',sans-serif !important;

}

dfn {
    font-style: italic;
}

mark {
    background: #ff0;
    color: #000;
}

p {
    margin: 0 0 0px;
}

code,
kbd,
pre,
samp {
    font-family: monospace, serif;
    font-size: 14px;
    -webkit-hyphens: none;
    -moz-hyphens:    none;
    -ms-hyphens:     none;
    hyphens:         none;
}

pre {
    background: #f5f5f5;
    color: #666;
    font-family: monospace;
    font-size: 14px;
    margin: 20px 0;
    overflow: auto;
    padding: 20px;
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}

blockquote,
q {
    -webkit-hyphens: none;
    -moz-hyphens:    none;
    -ms-hyphens:     none;
    hyphens:         none;
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}

blockquote {
    font-size: 18px;
    font-style: italic;
    font-weight: 300;
    margin: 24px 40px;
}

blockquote blockquote {
    margin-right: 0;
}

blockquote cite,
blockquote small {
    font-size: 14px;
    font-weight: normal;
    text-transform: uppercase;
}

blockquote em,
blockquote i {
    font-style: normal;
    font-weight: 300;
}

blockquote strong,
blockquote b {
    font-weight: 400;
}

small {
    font-size: smaller;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

dl {
    margin: 0 20px;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0 0 20px;
}

menu,
ol{
    /* margin: 16px 0; */
    padding: 0 0 0 0px;
   
}

ol{
    /* margin: 16px 0; */
    padding: 0 0 0 25px;
   
}


.entry-content ul {
	padding-left: 1.2em;
}

nav ul,
nav ol {
    list-style: none;
    list-style-image: none;
}

li > ul,
li > ol {
    margin: 0;
}

img {
    -ms-interpolation-mode: bicubic;
    border: 0;
    vertical-align: middle;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 0;
}

form {
    margin: 0;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    border: 0;
    padding: 0;
    white-space: normal;
}

button,
input,
select,
textarea {
    font-size: 100%;
    margin: 0;
    max-width: 100%;
    vertical-align: baseline;
}

button,
input {
    line-height: normal;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
input[disabled] {
    cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
    padding: 0;
}

input[type="search"] {
    -webkit-appearance: textfield;
    padding-right: 2px; /* Don't cut off the webkit search cancel button */
    width: 270px;
}

input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
    vertical-align: top;
}

table {
    border-bottom: 1px solid #ededed;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 14px;
    line-height: 2;
    margin: 0 0 20px;
    width: 100%;
}

caption,
th,
td {
    font-weight: normal;
    text-align: left;
}

caption {
    font-size: 16px;
    margin: 20px 0;
}

th {
    font-weight: bold;
    text-transform: uppercase;
}

td {
    border-top: 1px solid #ededed;
    padding: 6px 10px 6px 0;
}

del {
    color: #333;
}

ins {
    background: #fff9c0;
    text-decoration: none;
}

hr {
    border: 1;
    height: 1px;
color: #bababa;
}


/**
 * 2.0 Repeatable Patterns
 * ----------------------------------------------------------------------------
*/

.genericon:before,
.menu-toggle:after,
.featured-post:before,
.date a:before,
.entry-meta .author a:before,
.format-audio .entry-content:before,
.comments-link a:before,
.tags-links a:first-child:before,
.categories-links a:first-child:before,
.edit-link a:before,
.attachment .entry-title:before,
.attachment-meta:before,
.attachment-meta a:before,
.comment-awaiting-moderation:before,
.comment-reply-link:before,
.comment-reply-login:before,
.comment-reply-title small a:before,
.bypostauthor > .comment-body .fn:before,
.error404 .page-title:before {
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font: normal 16px/1 Genericons;
    vertical-align: text-bottom;
}

/* Clearing floats */
.clear:after,
.attachment .entry-header:after,
.site-footer .widget-area:after,
.entry-content:after,
.page-content:after,
.navigation:after,
.nav-links:after,
.gallery:after,
.comment-form-author:after,
.comment-form-email:after,
.comment-form-url:after,
.comment-body:after {
    clear: both;
}

.clear:before,
.clear:after,
.attachment .entry-header:before,
.attachment .entry-header:after,
.site-footer .widget-area:before,
.site-footer .widget-area:after,
.entry-content:before,
.entry-content:after,
.page-content:before,
.page-content:after,
.navigation:before,
.navigation:after,
.nav-links:before,
.nav-links:after,
.gallery:before,
.gallery:after,
.comment-form-author:before,
.comment-form-author:after,
.comment-form-email:before,
.comment-form-email:after,
.comment-form-url:before,
.comment-form-url:after,
.comment-body:before,
.comment-body:after {
    content: "";
    display: table;
}

/* Assistive text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    line-height: normal;
    padding: 15px 23px 14px;
    position: absolute;
    left: 5px;
    top: 5px;
    text-decoration: none;
    width: auto;
    z-index: 100000; /* Above WP toolbar */
}

/* Form fields, general styles first. */
button,
input,
textarea {
    border: 1px solid #ff543f;
    font-family: inherit;
    padding: 9px;
}

input,
textarea {
    color: #fd523f;
}

input:focus,
textarea:focus {
    border: 2px solid #fd523f;
    outline: 0;
}

/* Buttons */
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
    background: #f95647; /* Old browsers */
   
    border: none;
    border-bottom: 3px solid #bottom: 93207px;
    border-radius: 2px;
    color: #fff;
    display: inline-block;
    padding: 11px 24px 10px;
    text-decoration: none;
}

button:hover,
button:focus,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:focus,
input[type="button"]:focus,
input[type="reset"]:focus {
    background: #f95647; /* Old browsers */

    outline: none;
}

button:active,
input[type="submit"]:active,
input[type="button"]:active,
input[type="reset"]:active {
    background: #f95647; /* Old browsers */

    border: none;
    border-top: 3px solid #f95647;
    padding: 10px 24px 11px;
}

.post-password-required input[type="submit"] {
    padding: 7px 24px 4px;
    vertical-align: bottom;
}

.post-password-required input[type="submit"]:active {
    padding: 5px 24px 6px;
}

/* Placeholder text color -- selectors need to be separate to work. */
::-webkit-input-placeholder {
    color: #7d7b6d;
}

:-moz-placeholder {
    color: #7d7b6d;
}

::-moz-placeholder {
    color: #7d7b6d;
}

:-ms-input-placeholder {
    color: #7d7b6d;
}

/*
 * Responsive images
 *
 * Fluid images for posts, comments, and widgets
*/
.entry-content img,
.entry-summary img,
.comment-content img,
.widget img,
.wp-caption {
    max-width: 100%;
}

/* Make sure images with WordPress-added height and width attributes are scaled correctly. */
.entry-content img,
.entry-summary img,
.comment-content img[height],
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
    height: auto;
    /* opacity: 0.8; */
}

/*img.size-full,
img.size-large,
img.wp-post-image {
    height: auto;
    max-width: 100%;
}*/

/* Make sure videos and embeds fit their containers. */
embed,
iframe,
object,
video {
    max-width: 100%;
}

/* Override the Twitter embed fixed width. */
.entry-content .twitter-tweet-rendered {
    max-width: 100% !important;
}

/* Images */
.alignleft {
    float: left;
}

.alignright {
    float: right;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

figure.wp-caption.alignleft,
img.alignleft {
    margin: 5px 20px 5px 0;
}

.wp-caption.alignleft {
    margin: 5px 10px 5px 0;
}

figure.wp-caption.alignright,
img.alignright {
    margin: 5px 0 5px 20px;
}

.wp-caption.alignright {
    margin: 5px 0 5px 10px;
}

img.aligncenter {
    margin: 5px auto;
}

img.alignnone {
    margin: 5px 0;
}

.wp-caption .wp-caption-text,
.entry-caption,
.gallery-caption {
    color: #220e10;
    font-size: 18px;
    font-style: italic;
    font-weight: 300;
    margin: 0 0 24px;
}

div.wp-caption.alignright img[class*="wp-image-"] {
    float: right;
}

div.wp-caption.alignright .wp-caption-text {
    padding-left: 10px;
}

img.wp-smiley,
.rsswidget img {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

.wp-caption.alignleft + ul,
.wp-caption.alignleft + ol {
    list-style-position: inside;
}


/**
 * 3.0 Basic Structure
 * ----------------------------------------------------------------------------
*/

.site {
    background-color: #fff;
    /*
    border-left: 1px solid #f2f2f2;
    border-right: 1px solid #f2f2f2;*/
    float:left;
    max-width: 1170px;
    width: 100%;
    position:relative;
}
body.home  .site{
    max-width: 100%;
    width: 100%;	
	
}

.site-main {
    position: relative;
    /*    z-index: 999;*/
    float:left;
    width:100%;
    overflow: visible;
}

.site-main .sidebar-container {
    float: left;
    margin-left: 8%; /*pvh was 2*/
    padding-left: 0;
    width: 16%;
}

.site-main .sidebar-inner {
    float:left;width:100%;
}


.sala-opera.row {
    margin-top: 35px;
}

.default-text-col {
    padding-left: 18px;
}
.size-Articolo-standard {
    padding-bottom: 15px;
    padding-top: 10px;
}

body.home .search-button img.searchimg {
       height: 24px;
    position: absolute;
    right: 52px;
      z-index: 30;
    top: 28px;
   
   }
   
 .search-button img.searchimg {
       height: 24px;
    position: absolute;
    right: 56px;
    z-index: 30;
    top: 28px;
   
   }
   
   
   
 .socialbuttons-top a  {
    width:50px
}

 .socialbuttons-top a.fbpopup img {
    height: 20px;
    
}

 .socialbuttons-top a.twitter img {
    height: 23px;

}

 .socialbuttons-top a.twpopup img {
        height: 20px;

}

 .socialbuttons-top a.yt img {
        height: 17px;
padding-right:5px;
}
 .socialbuttons-top a.yt {
width:50px;
}

 .socialbuttons-top a.pinn img {
        height: 20px;

}

 .socialbuttons-top a.newsl img {
        height: 13px;

}

.socialbuttons-top {
    position: absolute;
    right: 100px;
    top: 28px;
    z-index: 30;
}

.socialbuttons-top,.socialbuttons-top a{
color:white;
}
   
   
text.st3 {
    font-size: 9px !important;
}

/**
 * 4.0 Header
 * ----------------------------------------------------------------------------
*/

/**
 * 4.1 Site Header
 * ----------------------------------------------------------------------------
*/

.site-header {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    left: 0;
    position: absolute;
    top: 0;
    z-index: 99;
    width: 100%;
      max-width: 1500px;
}


body.home .site-header {

    width: 100%;
      max-width: 100%;
}

.home .site-header .home-link {
    width:auto;
    z-index:99999;
    float:left;
    /* margin:15px 0 0 3%; */
    margin-top: 22px;
    margin-left: 18px;
}

.site-header .site-title:hover {
    text-decoration: underline;
}

.site-title {
    font-size: 60px;
    font-weight: bold;
    line-height: 1;
    margin: 0;
    padding: 58px 0 10px;
}

.site-description {
    font: 300 italic 24px "Source Sans Pro", Helvetica, sans-serif;
    margin: 0;
}


/**
 * 4.2 Navigation
 * ----------------------------------------------------------------------------
*/

.main-navigation {margin-top: 39px;}

ul.nav-menu,
div.nav-menu > ul {
    margin: 0;
    padding: 0px;
    /* margin-left: 26px; */
}

.nav-menu li {position: relative;}

.nav-menu li a {
    color: #141412;
    display: block;
    font-size: 15px;
    line-height: 15px;
    padding:0px;
    text-decoration: none;
}

.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {

    color: #fff;
}

/*.nav-menu .sub-menu,
.nav-menu .children {
        background-color: #220e10;
        border: 2px solid #f7f5e7;
        border-top: 0;
        padding: 0;
        position: absolute;
        left: -2px;
        z-index: 99999;
        height: 1px;
        width: 1px;
        overflow: hidden;
        clip: rect(1px, 1px, 1px, 1px);
}*/

.nav-menu .sub-menu ul,
.nav-menu .children ul {
    border-left: 0;
    /* left: 100%; */
    top: 0;
}

ul.nav-menu ul a,
.nav-menu ul ul a {
    color: #fff;
    margin: 0;

}

ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
    /*	background-color: #db572f;*/
}

ul.nav-menu li:hover > ul,
.nav-menu ul li:hover > ul,
ul.nav-menu .focus > ul,
.nav-menu .focus > ul {
    /*	clip: inherit;
            overflow: inherit;
            height: inherit;
            width: inherit;*/
}

.nav-menu .current_page_item > a,
.nav-menu .current_page_ancestor > a,
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a {
    color: #bc360a;
    font-style: italic;
}

li.current_page_item, li.current_page_item a{
   font-family: 'AtlasGroteskBold' !important;

}

.menu-toggle {
    display: none;
}

/* Navbar */
.navbar {
    float:left;
    width: 100%;
    border:0px;
     display:none; 
    /* margin-left:-28px; */
}



header .footer-menu-cont {
 /*   margin-top: 55px !important;*/
}

body.home .navbar{display:block;}

.site-header .search-form {
    position: absolute;
    right: 20px;
    top: 1px;
}

.site-header .search-field {
    background-color: transparent;
    background-image: url(images/search-icon.png);
    background-position: 5px center;
    background-repeat: no-repeat;
    background-size: 24px 24px;
    border: none;
    cursor: pointer;
    height: 37px;
    margin: 3px 0;
    padding: 0 0 0 34px;
    position: relative;
    -webkit-transition: width 400ms ease, background 400ms ease;
    transition:         width 400ms ease, background 400ms ease;
    width: 0;
}

.site-header .search-field:focus {
    background-color: #fff;
    border: 2px solid #c3c0ab;
    cursor: text;
    outline: 0;
    width: 230px;
}


/**
 * 5.0 Content
 * ----------------------------------------------------------------------------
*/

.hentry {
    padding: 40px 0;
}

.entry-header,
.entry-content,
.entry-summary,
.entry-meta {
    margin: 0 auto;

    width: 100%;
}

.sidebar .entry-header,
.sidebar .entry-content,
.sidebar .entry-summary,
.sidebar .entry-meta {
    max-width: 1040px;
    padding: 0 376px 0 60px;
}


/**
 * 5.1 Entry Header
 * ----------------------------------------------------------------------------
*/

.sidebar .entry-header .entry-meta {
    padding: 0;
}

.entry-thumbnail img {
    display: block;
    margin: 0 auto 10px;
}

.entry-header {
    margin-bottom: 30px;
}

.entry-title {
    font-weight: normal;
    margin: 51px 0 5px;
}

.entry-title a {
    color: #141412;
}

.entry-title a:hover {
    color: #f95647;
}


/**
 * 5.2 Entry Meta
 * ----------------------------------------------------------------------------
*/

.entry-meta {
    clear: both;
    font-size: 14px;
}

.entry-meta a {
    color: #bc360a;
}

.entry-meta a:hover {
    color: #bc360a;
}

.entry-meta > span {
    margin-right: 20px;
}

.entry-meta > span:last-child {
    margin-right: 0;
}

.featured-post:before {
    content: "\f308";
    margin-right: 2px;
}

.entry-meta .date a:before {
    content: "\f303";
}

.comments-link a:before {
    content: "\f300";
    margin-right: 2px;
    position: relative;
    top: -1px;
}

.entry-meta .author a:before {
    content: "\f304";
    position: relative;
    top: -1px;
}

.categories-links a:first-child:before {
    content: "\f301";
}

.tags-links a:first-child:before {
    content: "\f302";
    position: relative;
    top: -1px;
}

.edit-link a:before {
    content: "\f411";
    position: relative;
    top: -1px;
}

.single-author .entry-meta .author,
.sticky.format-standard .entry-meta .date,
.sticky.format-audio .entry-meta .date,
.sticky.format-chat .entry-meta .date,
.sticky.format-image .entry-meta .date,
.sticky.format-gallery .entry-meta .date {
    display: none;
}


/**
 * 5.3 Entry Content
 * ----------------------------------------------------------------------------
*/

.sottopagine-text
{
	margin: 38px 0 0 30px;
	margin-bottom: 25px !important;
}
.entry-content {
    -webkit-hyphens: none;
    -moz-hyphens:    none;
    -ms-hyphens:     none;
    hyphens:         none;
    word-wrap: normals;
}

.entry-content a,
.comment-content a {
    color: #ff543f;
}

.entry-content a:hover,
.comment-content a:hover {
    color: #F95647;
}

.entry-content blockquote {
    font-size: 24px;
}

.entry-content blockquote cite,
.entry-content blockquote small {
    font-size: 16px;
}

/*.entry-content img.alignleft,
.entry-content .wp-caption.alignleft {
    margin-left: -60px;
}
*/
.entry-content img.alignright,
.entry-content .wp-caption.alignright {
    margin-right: -60px;
}

footer.entry-meta {
    margin-top: 24px;
}

.format-standard footer.entry-meta {
    margin-top: 0;
}

/* Page links */
.page-links {
    clear: both;
    font-size: 16px;
    font-style: italic;
    font-weight: normal;
    line-height: 2.2;
    margin: 20px 0;
    text-transform: uppercase;
}

.page-links a,
.page-links > span {
    background: #fff;
    border: 1px solid #fff;
    padding: 5px 10px;
    text-decoration: none;
}

.format-status .entry-content .page-links a,
.format-gallery .entry-content .page-links a,
.format-chat .entry-content .page-links a,
.format-quote .entry-content .page-links a,
.page-links a {
    background: #e63f2a;
    border: 1px solid #e63f2a;
    color: #fff;
}

.format-gallery .entry-content .page-links a:hover,
.format-audio .entry-content .page-links a:hover,
.format-status .entry-content .page-links a:hover,
.format-video .entry-content .page-links a:hover,
.format-chat .entry-content .page-links a:hover,
.format-quote .entry-content .page-links a:hover,
.page-links a:hover {
    background: #fff;
    color: #e63f2a;
}

.format-status .entry-content .page-links > span,
.format-quote .entry-content .page-links > span {
    background: none;
}

.page-links .page-links-title {
    background: transparent;
    border: none;
    margin-right: 20px;
    padding: 0;
}

/* Mediaelements */
.hentry .mejs-mediaelement,
.hentry .mejs-container .mejs-controls {
    background: #220e10;
}

.hentry .mejs-controls .mejs-time-rail .mejs-time-loaded,
.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
    background: #fff;
}

.hentry .mejs-controls .mejs-time-rail .mejs-time-current {
    background: #f95647;
}

.hentry .mejs-controls .mejs-time-rail .mejs-time-total,
.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
    background: #595959;
}

.hentry .mejs-controls .mejs-time-rail span,
.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,
.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
    border-radius: 0;
}


/**
 * 5.4 Galleries
 * ----------------------------------------------------------------------------
*/

.gallery {
    margin-bottom: 20px;
    margin-left: -4px;
}

.gallery-item {
    float: left;
    margin: 0 4px 4px 0;
    overflow: hidden;
    position: relative;
}

.gallery-columns-1.gallery-size-medium,
.gallery-columns-1.gallery-size-thumbnail,
.gallery-columns-2.gallery-size-thumbnail,
.gallery-columns-3.gallery-size-thumbnail {
    display: table;
    margin: 0 auto 20px;
}

.gallery-columns-1 .gallery-item,
.gallery-columns-2 .gallery-item,
.gallery-columns-3 .gallery-item {
    text-align: center;
}

.gallery-columns-4 .gallery-item {
    max-width: 23%;
    max-width: -webkit-calc(25% - 4px);
    max-width:         calc(25% - 4px);
}

.gallery-columns-5 .gallery-item {
    max-width: 19%;
    max-width: -webkit-calc(20% - 4px);
    max-width:         calc(20% - 4px);
}

.gallery-columns-6 .gallery-item {
    max-width: 15%;
    max-width: -webkit-calc(16.7% - 4px);
    max-width:         calc(16.7% - 4px);
}

.gallery-columns-7 .gallery-item {
    max-width: 13%;
    max-width: -webkit-calc(14.28% - 4px);
    max-width:         calc(14.28% - 4px);
}

.gallery-columns-8 .gallery-item {
    max-width: 11%;
    max-width: -webkit-calc(12.5% - 4px);
    max-width:         calc(12.5% - 4px);
}

.gallery-columns-9 .gallery-item {
    max-width: 9%;
    max-width: -webkit-calc(11.1% - 4px);
    max-width:         calc(11.1% - 4px);
}

.gallery-columns-1 .gallery-item:nth-of-type(1n),
.gallery-columns-2 .gallery-item:nth-of-type(2n),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery-columns-9 .gallery-item:nth-of-type(9n) {
    margin-right: 0;
}

.gallery-columns-1.gallery-size-medium figure.gallery-item:nth-of-type(1n+1),
.gallery-columns-1.gallery-size-thumbnail figure.gallery-item:nth-of-type(1n+1),
.gallery-columns-2.gallery-size-thumbnail figure.gallery-item:nth-of-type(2n+1),
.gallery-columns-3.gallery-size-thumbnail figure.gallery-item:nth-of-type(3n+1) {
    clear: left;
}

.gallery-caption {
    background-color: rgba(0, 0, 0, 0.7);
    box-sizing: border-box;
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
    margin: 0;
    max-height: 50%;
    opacity: 0;
    padding: 2px 8px;
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: left;
    -webkit-transition: opacity 400ms ease;
    transition:         opacity 400ms ease;
    width: 100%;
}

.gallery-caption:before {
    box-shadow: 0 -10px 15px #000 inset;
    content: "";
    height: 100%;
    min-height: 49px;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
    display: none;
}


/**
 * 5.5 Post Formats
 * ----------------------------------------------------------------------------
*/

/* Aside */
.format-aside {
    background-color: #f7f5e7;
}

.blog .format-aside:first-of-type,
.single .format-aside:first-of-type,
.format-aside + .format-aside,
.format-aside + .format-link,
.format-link + .format-aside {
    box-shadow: inset 0 2px 2px rgba(173, 165, 105, 0.2);
}

.format-aside .entry-meta {
    margin-top: 0;
}

.format-aside blockquote {
    font-size: 100%;
    font-weight: normal;
}

.format-aside cite {
    font-size: 100%;
    text-transform: none;
}

.format-aside cite:before {
    content: "\2014";
    margin-right: 5px;
}

/* Audio */
.format-audio {
    background-color: #db572f;
}

.format-audio .entry-title {
    font-size: 28px;
    font-weight: bold;
}

.format-audio .entry-content:before {
    content: "\f109";
    float: left;
    font-size: 64px;
    position: relative;
    top: 4px;
}

.format-audio .entry-content a,
.format-audio .entry-meta a,
.format-audio .entry-content a:hover,
.format-audio .entry-meta a:hover {
    color: #fbfaf3;
}

.format-audio .audio-content {
    background: url(images/dotted-line.png) repeat-y left top;
    background-size: 4px 4px;
    float: right;
    padding-left: 35px;
    width: 80%;
    width: -webkit-calc(100% - 85px);
    width:         calc(100% - 85px);
}

.format-audio .wp-audio-shortcode {
    height: 30px !important; /* Override mediaelement.js style */
    margin: 20px 0;
    max-width: 400px !important; /* Override mediaelement.js style */
}

.format-audio audio {
    max-width: 100% !important; /* Avoid player width overflow. */
}

/* Chat */
.format-chat {
    background-color: #eadaa6;
}

.format-chat .entry-title {
    font-size: 28px;
    font-weight: bold;
}

.format-chat .entry-meta a,
.format-chat .entry-content a {
    color: #722d19;
}

.format-chat .entry-meta .date a:before {
    content: "\f108";
    margin-right: 2px;
}

.format-chat .entry-meta .author {
    display: none;
}

.format-chat .chat {
    margin: 0;
}

.format-chat .chat .chat-timestamp {
    color: #722d19;
    float: right;
    font-size: 12px;
    font-weight: normal;
    margin: 5px 10px 0;
}

.format-chat .chat .fn {
    font-style: normal;
}

/* Gallery */
.format-gallery {
    background-color: #fbca3c;
}

.format-gallery .entry-header {
    margin-bottom: 15px;
}

.format-gallery .entry-title {
    font-size: 50px;
    font-weight: 400;
    margin: 0;
}

.format-gallery .entry-meta a,
.format-gallery .entry-content a {
    color: #722d19;
}

/* Image */
.format-image .entry-title {
    font-size: 28px;
    font-weight: bold;
}

.format-image .categories-links,
.format-image .tags-links {
    display: none;
}

/* Link */
.format-link {
    background-color: #f7f5e7;
}

.blog .format-link:first-of-type,
.single .format-link:first-of-type {
    box-shadow: inset 0 2px 2px rgba(173, 165, 105, 0.2);
}

.format-link .entry-header,
.format-link .entry-content p:last-child {
    margin-bottom: 0;
}

.format-link .entry-title {
    color: #ca3c08;
    display: inline;
    font: 300 italic 20px "Source Sans Pro", Helvetica, sans-serif;
    margin-right: 20px;
}

.format-link .entry-title a {
    color: #bc360a;
}

.format-link div.entry-meta {
    display: inline;
}

/* Quote */
.format-quote {
    background-color: #210d10;
}

.format-quote .entry-content,
.format-quote .entry-meta {
    color: #f7f5e7;
}

.format-quote .entry-content blockquote {
    font-size: 28px;
    margin: 0;
}

.format-quote .entry-content a,
.format-quote .entry-meta a,
.format-quote .linked {
    color: #e63f2a;
}

.format-quote .entry-content cite a {
    border-bottom: 1px dotted #fff;
    color: #fff;
}

.format-quote .entry-content cite a:hover {
    text-decoration: none;
}

.format-quote blockquote small,
.format-quote blockquote cite {
    display: block;
    font-size: 16px;
}

.format-quote blockquote {
    font-style: italic;
    font-weight: 300;
    padding-left: 75px;
    position: relative;
}

.format-quote blockquote:before {
    content: '\201C';
    font-size: 140px;
    font-weight: 400;
    line-height: .8;
    padding-right: 25px;
    position: absolute;
    left: -15px;
    top: -3px;
}

.format-quote .entry-meta .author {
    display: none;
}

/* Status */
.format-status {
    background-color: #722d19;
    padding: 0;
}

.format-status .entry-content,
.format-status .entry-meta {
    padding-left: 35px;
    position: relative;
}

.format-status .entry-content a {
    color: #eadaa6;
}

.format-status .entry-meta a {
    color: #f7f5e7;
}

.sidebar .format-status .entry-content,
.sidebar .format-status .entry-meta {
    padding-left: 95px;
}

.format-status .entry-content:before,
.format-status .entry-meta:before {
    background: url(images/dotted-line.png) repeat-y left bottom;
    background-size: 4px 4px;
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    left: 10px;
    top: 0;
    width: 1px;
}

.sidebar .format-status .entry-content:before,
.sidebar .format-status .entry-meta:before {
    left: 70px;
}

.format-status .categories-links,
.format-status .tags-links {
    display: none;
}

/* Ensures the dots in the dot background are in lockstep. */
.format-status .entry-meta:before {
    background-position: left top;
}

.format-status .entry-content {
    color: #f7f5e7;
    font-size: 24px;
    font-style: italic;
    font-weight: 300;
    padding-bottom: 30px;
    padding-top: 40px;
    position: relative;
}

.format-status .entry-content p:first-child:before {
    background-color: rgba(0, 0, 0, 0.65);
    content: "";
    height: 3px;
    margin-top: 13px;
    position: absolute;
    left: 4px;
    width: 13px;
}

.sidebar .format-status .entry-content > p:first-child:before {
    left: 64px;
}

.format-status .entry-content p:last-child {
    margin-bottom: 0;
}

.format-status .entry-meta {
    margin-top: 0;
    padding-bottom: 40px;
}

.format-status .entry-meta .date a:before {
    content: "\f105";
}

/* Video */
.format-video {
    background-color: #db572f;
}

.format-video .entry-content a,
.format-video .entry-meta a,
.format-video .entry-content a:hover,
.format-video .entry-meta a:hover {
    color: #fbfaf3;
}

.format-video .entry-title {
    font-size: 50px;
    font-weight: 400;
}

.format-video .entry-meta {
    color: #220e10;
}


/**
 * 5.6 Attachments
 * ----------------------------------------------------------------------------
*/

.attachment .hentry {
    background-color: white;
    margin: 0;
    padding: 0;
}

.attachment .entry-header {
    margin-bottom: 0;
    max-width: 1040px;
    padding: 30px 0;
}

.attachment .entry-title {
    display: inline-block;
    float: left;
    font: 300 italic 30px "Source Sans Pro", Helvetica, sans-serif;
    margin: 0;
}

.attachment .entry-title:before {
    content: "\f416";
    font-size: 32px;
    margin-right: 10px;
}

.attachment .entry-meta {
    clear: none;
    color: inherit;
    float: right;
    max-width: 604px;
    padding: 9px 0 0;
    text-align: right;
}

.hentry.attachment:not(.image-attachment) .entry-meta {
    max-width: 104px;
}

.attachment footer.entry-meta {
    display: none;
}

.attachment-meta:before {
    content: "\f307";
}

.full-size-link a:before {
    content: "\f402";
}

.full-size-link:before {
    content: none;
}

.attachment .entry-meta a,
.attachment .entry-meta .edit-link:before,
.attachment .full-size-link:before {
    color: #ca3c08;
}

.attachment .entry-content {
    background-color: #fff;
    max-width: 100%;
    padding: 40px 0;
}

.image-navigation {
    margin: 0 auto;
    max-width: 1040px;
    position: relative;
}

.image-navigation a:hover {
    text-decoration: none;
}

.image-navigation .nav-previous,
.image-navigation .nav-next {
    position: absolute;
    top: 50px;
}

.image-navigation .nav-previous {
    left: 0;
}

.image-navigation .nav-next {
    right: 0;
}

.image-navigation .meta-nav {
    font-size: 32px;
    font-weight: 300;
    vertical-align: -4px;
}

.attachment .entry-attachment,
.attachment .type-attachment p {
    margin: 0 auto;
    max-width: 724px;
    text-align: center;
}

.attachment .entry-attachment .attachment {
    display: inline-block;
}

.attachment .entry-caption {
    text-align: left;
}

.attachment .entry-description {
    margin: 20px auto 0;
    max-width: 604px;
}

.attachment .entry-caption p:last-child,
.attachment .entry-description p:last-child {
    margin: 0;
}

.attachment .site-main .sidebar-container {
    display: none;
}

.attachment .entry-content .mejs-audio {
    max-width: 400px;
    margin: 0 auto;
}

.attachment .entry-content .wp-video {
    margin: 0 auto;
}

.attachment .entry-content .mejs-container {
    margin-bottom: 24px;
}

/**
 * 5.7 Post/Paging Navigation
 * ----------------------------------------------------------------------------
*/

.navigation .nav-previous {
    float: left;
}

.navigation .nav-next {
    float: right;
}

.navigation a {
    color: #bc360a;
}

.navigation a:hover {
    color: #f95647;
    text-decoration: none;
}

.paging-navigation {
    background-color: white;
    padding: 40px 0;
}

.paging-navigation .nav-links {
    margin: 0 auto;
    max-width: 604px;
    width: 100%;
}

.sidebar .paging-navigation .nav-links {
    max-width: 1040px;
    padding: 0 376px 0 60px;
}

.paging-navigation .nav-next {
    padding: 13px 0;
}

.paging-navigation a {
    font-size: 22px;
    font-style: italic;
    font-weight: 300;
}

.paging-navigation .meta-nav {
    background-color: #e63f2a;
    color: #fff;
    display: inline-block;
    font-size: 26px;
    padding: 3px 0 8px;
    text-align: center;
    width: 50px;
}

.paging-navigation .nav-previous .meta-nav {
    margin-right: 10px;
    padding: 17px 0 23px;
    width: 80px;
}

.paging-navigation .nav-next .meta-nav {
    margin-left: 10px;
}

.paging-navigation a:hover .meta-nav {
    background-color: #f95647;
    text-decoration: none;
}

.post-navigation {
    background-color: #fff;
    color: #ca3c08;
    font-size: 20px;
    font-style: italic;
    font-weight: 300;
    padding: 20px 0;
}

.post-navigation .nav-links {
    margin: 0 auto;
    max-width: 1040px;
}

.sidebar .post-navigation .nav-links {
    padding: 0 376px 0 60px;
}

.post-navigation a[rel="next"] {
    float: right;
    text-align: right;
}


/**
 * 5.8 Author Bio
 * ----------------------------------------------------------------------------
*/

.author-info {
    margin: 0 auto;
    max-width: 604px;
    padding: 30px 0 10px;
    text-align: left; /* gallery & video post formats */
    width: 100%;
}

.author.sidebar .author-info {
    max-width: 1040px;
    padding: 30px 376px 10px 60px;
}

.single .author-info {
    padding: 50px 0 0;
}

.author-avatar .avatar {
    float: left;
    margin: 0 30px 30px 0;
}

.single-format-status .author-description {
    color: #f7f5e7;
}

.author-description .author-title {
    clear: none;
    font: 300 italic 20px "Source Sans Pro", Helvetica, sans-serif;
    margin: 0 0 8px;
}

.author-link {
    color: #ca3c08;
    margin-left: 2px;
}

.author.archive .author-link {
    display: none;
}


/**
 * 5.9 Archives
 * ----------------------------------------------------------------------------
*/

.archive-header {
    background-color: white;
}

.archive-title,
.archive-meta {
    font: 300 italic 30px "Source Sans Pro", Helvetica, sans-serif;
    margin: 0 auto;
    max-width: 1040px;
    padding: 30px 0;
    width: 100%;
}

.archive-meta {
    font-size: 16px;
    font-style: normal;
    font-weight: normal;
    margin-top: -15px;
    padding: 0 0 11px;
}

.sidebar .archive-meta {
    padding-right: 316px;
}


/**
 * 5.10 Search Results/No posts
 * ----------------------------------------------------------------------------
*/

.page-header {
    background-color: white;
}

.page-title {
    font: 300 italic 30px "Source Sans Pro", Helvetica, sans-serif;
    margin: 0 auto;
    max-width: 1040px;
    padding: 30px 0;
    width: 100%;
}

.page-content {
    margin: 0 auto;
    max-width: 604px;
    padding: 40px 0;
    width: 100%;
}

.sidebar .page-content {
    margin: 0 auto;
    max-width: 1040px;
    padding: 40px 376px 40px 60px;
}


/**
 * 5.11 404
 * ----------------------------------------------------------------------------
*/

.error404 .page-header {
    background-color: #fff;
}

.error404 .page-title {
    line-height: 0.6;
    margin: 0;
    padding: 300px;
    position: relative;
    text-align: center;
    width: auto;
}

.error404 .page-title:before {
    color: #d31515;
    content: "\f423";
    font-size: 964px;
    line-height: 0.6;
    overflow: hidden;
    position: absolute;
    left: 7px;
    top: 28px;
}

.error404 .page-wrapper {
    background-color: white;
}

.error404 .page-header,
.error404 .page-content {
    margin: 0 auto;
    max-width: 1040px;
    padding-bottom: 40px;
    width: 100%;
}


/**
 * 5.12 Comments
 * ----------------------------------------------------------------------------
*/

.comments-title,
.comment-list,
.comment-reply-title,
.must-log-in,
.comment-respond .comment-form,
.comment-respond iframe {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 604px;
    width: 100%;
}

.sidebar .comments-title,
.sidebar .comment-list,
.sidebar .must-log-in,
.sidebar .comment-reply-title,
.sidebar .comment-navigation,
.sidebar .comment-respond .comment-form {
    max-width: 1040px;
    padding-left: 60px;
    padding-right: 376px;
}

.comments-title {
    font: 300 italic 28px "Source Sans Pro", Helvetica, sans-serif;
}

.comment-list,
.comment-list .children {
    list-style-type: none;
    padding: 0;
}

.comment-list .children {
    margin-left: 20px;
}

.comment-list > li:after,
.comment-list .children > li:before {
    background: url(images/dotted-line.png) repeat left top;
    background-size: 4px 4px;
    content: "";
    display: block;
    height: 1px;
    width: 100%;
}

.comment-list > li:last-child:after {
    display: none;
}

.comment-body {
    padding: 24px 0;
    position: relative;
}

.comment-author {
    float: left;
    max-width: 74px;
}

.comment-author .avatar {
    display: block;
    margin-bottom: 10px;
}

.comment-author .fn {
    word-wrap: break-word;
}

.comment-author .fn,
.comment-author .url,
.comment-reply-link,
.comment-reply-login {
    color: #bc360a;
    font-size: 14px;
    font-style: normal;
    font-weight: normal;
}

.says {
    display: none;
}

.no-avatars .comment-author {
    margin: 0 0 5px;
    max-width: 100%;
    position: relative;
}

.no-avatars .comment-metadata,
.no-avatars .comment-content,
.no-avatars .comment-list .reply {
    width: 100%;
}

.bypostauthor > .comment-body .fn:before {
    content: "\f408";
    vertical-align: text-top;
}

.comment-list .edit-link {
    margin-left: 20px;
}

.comment-metadata,
.comment-awaiting-moderation,
.comment-content,
.comment-list .reply {
    float: right;
    width: 79%;
    width: -webkit-calc(100% - 124px);
    width:         calc(100% - 124px);
    word-wrap: break-word;
}

.comment-meta,
.comment-meta a {
    color: #a2a2a2;
    font-size: 13px;
}

.comment-meta a:hover {
    color: #f95647;
}

.comment-metadata {
    margin-bottom: 20px;
}

.ping-meta {
    color: #a2a2a2;
    font-size: 13px;
    line-height: 2;
}

.comment-awaiting-moderation {
    color: #a2a2a2;
}

.comment-awaiting-moderation:before {
    content: "\f414";
    margin-right: 5px;
    position: relative;
    top: -2px;
}

.comment-reply-link:before,
.comment-reply-login:before {
    content: "\f412";
    margin-right: 3px;
}

/* Comment form */
.comment-respond {
    background-color: #f7f5e7;
    padding: 30px 0;
    float:left;
}

.comment .comment-respond {
    margin-bottom: 20px;
    padding: 20px;
}

.comment-reply-title {
    font: 300 italic 28px "Source Sans Pro", Helvetica, sans-serif;
}

.comment-reply-title small a {
    color: #131310;
    display: inline-block;
    float: right;
    height: 16px;
    overflow: hidden;
    width: 16px;
}

.comment-reply-title small a:hover {
    color: #ed331c;
    text-decoration: none;
}

.comment-reply-title small a:before {
    content: "\f406";
    vertical-align: top;
}

.sidebar .comment-list .comment-reply-title,
.sidebar .comment-list .comment-respond .comment-form {
    padding: 0;
}

.comment-form .comment-notes {
    margin-bottom: 15px;
}

.comment-form .comment-form-author,
.comment-form .comment-form-email,
.comment-form .comment-form-url {
    margin-bottom: 8px;
}

.comment-form [for="author"],
.comment-form [for="email"],
.comment-form [for="url"],
.comment-form [for="comment"] {
    float: left;
    padding: 5px 0;
    width: 120px;
}

.comment-form .required {
    color: #ed331c;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    max-width: 270px;
    width: 60%;
}

.comment-form textarea {
    width: 100%;
}

.form-allowed-tags,
.form-allowed-tags code {
    color: #686758;
    font-size: 12px;
}

.form-allowed-tags code {
    font-size: 10px;
    margin-left: 3px;
}

.comment-list .pingback,
.comment-list .trackback {
    padding-top: 24px;
}

.comment-navigation {
    font-size: 20px;
    font-style: italic;
    font-weight: 300;
    margin: 0 auto;
    max-width: 604px;
    padding: 20px 0 30px;
    width: 100%;
}

.no-comments {
    background-color: #f7f5e7;
    font-size: 20px;
    font-style: italic;
    font-weight: 300;
    margin: 0;
    padding: 40px 0;
    text-align: center;
}

.sidebar .no-comments {
    padding-left: 60px;
    padding-right: 376px;
}


/**
 * 5.13 Multisite
 * ----------------------------------------------------------------------------
*/

.site-main .mu_register {
    margin: 0 auto;
    max-width: 604px;
    width: 100%;
}

.mu_alert {
    margin-top: 25px;
}

.site-main .mu_register input[type="submit"],
.site-main .mu_register #blog_title,
.site-main .mu_register #user_email,
.site-main .mu_register #blogname,
.site-main .mu_register #user_name {
    font-size: inherit;
    width: 270px;
}

.site-main .mu_register input[type="submit"] {
    width: auto;
}


/**
 * 6.0 Sidebar
 * ----------------------------------------------------------------------------
*/

.site-main .widget-area {
    float: right;
    width:100%;
}


/**
 * 6.1 Widgets
 * ----------------------------------------------------------------------------
*/

.widget {
    background-color: rgba(247, 245, 231, 0.7);
    font-size: 14px;
    -webkit-hyphens: auto;
    -moz-hyphens:    auto;
    -ms-hyphens:     auto;
    hyphens:         auto;
    margin: 0 0 24px;
    padding: 20px;
    word-wrap: break-word;
}

.widget .widget-title {
    font: 300 italic 20px "Source Sans Pro", Helvetica, sans-serif;
    margin: 0 0 10px;
}

.widget ul,
.widget ol {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.widget li {
    padding: 5px 0;
}

.widget .children li:last-child {
    padding-bottom: 0;
}

.widget li > ul,
.widget li > ol {
    margin-left: 20px;
}

.widget a {
    color: #bc360a;
}

.widget a:hover {
    color: #f95647;
}

/* Search widget */
.search-form .search-submit {
    display: none;
}

/* RSS Widget */
.widget_rss .rss-date {
    display: block;
}

.widget_rss .rss-date,
.widget_rss li > cite {
    color: #a2a2a2;
}

/* Calendar Widget */
.widget_calendar table,
.widget_calendar td {
    border: 0;
    border-collapse: separate;
    border-spacing: 1px;
}

.widget_calendar caption {
    font-size: 14px;
    margin: 0;
}

.widget_calendar th,
.widget_calendar td {
    padding: 0;
    text-align: center;
}

.widget_calendar a {
    display: block;
}

.widget_calendar a:hover {
    background-color: rgba(0, 0, 0, 0.15);
}

.widget_calendar tbody td {
    background-color: rgba(255, 255, 255, 0.5);
}

.site-footer .widget_calendar tbody td {
    background-color: rgba(255, 255, 255, 0.05);
}

.widget_calendar tbody .pad, .site-footer .widget_calendar tbody .pad {
    background-color: transparent;
}


/**
 * 7.0 Footer
 * ----------------------------------------------------------------------------
*/
span.sponsor-testo a {
    color: white !important;
    text-decoration: none;
}

span.sponsor-testo a:hover {
    color: white;
    text-decoration: underline;
}
.socialbuttons a {
    float: left;
    max-height: 30px;
    width: 30px;
    
    margin-right: 18px;
}

.site-footer {
    background-color: #fd523f;
    color: #686758;
    font-size: 14px;
    text-align: center;
    float:left;
    width:100%;
    margin:95px 0 0;
    padding:35px 3%;
}

.site-footer .widget-area,
.sidebar .site-footer {
    text-align: left;
}

.site-footer a {
    color: #fff;
}

.site-footer .sidebar-container {
    background-color: #220e10;
    padding: 20px 0;
}

.site-footer .widget-area {
    margin: 0 auto;
    max-width: 1040px;
    width: 100%;
}

.sidebar .site-footer .widget-area {
    max-width: 724px;
    position: relative;
    left: -158px;
}

.site-footer .widget {
    background: transparent;
    color: #fff;
    float: left;
    margin-right: 20px;
    width: 245px;
}

.sidebar .site-footer .widget {
    width: 228px;
}

.sidebar .site-footer .widget:nth-of-type(4),
.sidebar .site-footer .widget:nth-of-type(3) {
    margin-right: 0;
}

.site-footer .widget a {
    color: #e6402a;
}

.site-footer .widget-title,
.site-footer .widget-title a,
.site-footer .wp-caption-text {
    color: #fff;
}

.site-info {
    margin: 0 auto;
    max-width: 1040px;
    padding: 30px 0;
    width: 100%;
}

#wpstats {
    display: block;
    margin: -10px auto 0;
}


/*gravity forms*/

div.gform_page li {
    list-style-type: none;
    padding-top: 10px;
}

div.gform_page select {
    /* height: 30px; */
    /* padding: 40px; */
    border: 0 !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #fd523f url(images/select-arrow.png) no-repeat 90% center;
    width: 200px;
    text-indent: 0.01px;
    text-overflow: "";
    color: #FFF;
    border-radius: 4px;
    padding: 5px;
    box-shadow: inset 0 0 5px rgba(000,000,000, 0.5);
}

.page-template-home-page-php div#content div.gform_page td.gfield_list_icons img {
    max-width: none !important;
    height: auto !important;
     width: 1em !important;
}

body .gform_wrapper textarea.small-area {

    height: 250px!important;

}
.gform_wrapper textarea.medium {
    height: 4.375em !important;
    }
    
    .page-template-home-page-php div#content div.gform_page img {
	    width: auto;
	    height: auto;
    }

/**
 * 8.0 Media Queries
 * ----------------------------------------------------------------------------
*/

/* Does the same thing as <meta name="viewport" content="width=device-width">,
 * but in the future W3C standard way. -ms- prefix is required for IE10+ to
 * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor
 * the meta tag. See http://core.trac.wordpress.org/ticket/25888.
*/
@-ms-viewport {
    width: device-width;
}
@viewport {
    width: device-width;
}

@media (max-width: 1599px) {
    .site {
        border: 0;
    }
}

@media (max-width: 1069px) {
    .sidebar img.alignleft,
    .sidebar .wp-caption.alignleft {
        margin-left: 0;
    }

    .sidebar img.alignright,
    .sidebar .wp-caption.alignright {
        margin-right: 0;
    }

    .error404 .page-header {
        margin-left: auto;
        max-width: 604px;
        width: 100%;
    }

    .archive-header,
    .search .page-header,
    .archive .page-header,
    .blog .page-header,
    .error404 .page-content,
    .search .page-content,
    .archive .page-content,
    .attachment .entry-header,
    .attachment .entry-content,
    .post-navigation .nav-links,
    .sidebar .site-info,
    .site-footer .widget-area {
        padding-left: 20px;
        padding-right: 20px;
    }

    .error404 .page-title {
        font-size: 24px;
        padding: 180px;
    }

    .error404 .page-title:before {
        font-size: 554px;
    }

    .attachment .image-navigation {
        max-width: 724px;
    }

    .image-navigation .nav-previous,
    .image-navigation .nav-next {
        position: static;
    }

    .site-main .widget-area {
        margin-right: 0px;
    }
    
    
    .bx-next {
        height: 50% !important;
    }
    
    #boxes_auto_popup_expiry img {
    width: 500px !important;
    margin: 0 auto !important;
}
    

.sponsor-footer3 {
        margin-top: 40px;
    margin-bottom: 100px;
}


span.ac-logo.bonaldi img {
    width: 98px;
    margin-left: 0px;
    margin-right: 50px !important;

}
span.ac-logo.allianz img {
    width: 148px;
    margin-top: 10px;
    margin-left: 0px;
    margin-right: 50px !important;

}

span.ac-logo.framar img {
    width: 108px;
        margin-right: 50px !important;

}
span.ac-logo.aon img {
    width: 61px;
        margin-top: 10px;
    margin-right: 50px !important;
}
span.ac-logo.barachetti img {
    width: 137px;
   
}
span.ac-logo.projectit img {
    width: 130px;
    margin-left: 25px;
    margin-right: 50px !important;
    margin-top: 8px;
}
span.ac-logo.platetel img {
    width: 112px;
        margin-right: 60px !important;

}
span.ac-logo.vitali img {
    width: 86px;
            margin-right: 60px !important;

}
span.ac-logo.fidelitas img {
    width: 34px !important;

}

.nav-menu li.firstli div.liwrap a {
     width: 100% !important; 
}

/*
.nav-menu li {
    
    width: 96% !important;
    }
	  */  
}


@media (max-width: 894px) {

    
	
	span.ac-logo.bonaldi img {
    width: 78px;
    margin-left: 0px;
    margin-right: 20px !important;

}
span.ac-logo.allianz img {
    width: 118px;
    margin-top: 10px;
    margin-left: 0px;
    margin-right: 20px !important;

}

span.ac-logo.framar img {
    width: 95px;
        margin-right: 20px !important;

}
span.ac-logo.aon img {
    width: 41px;
        margin-top: 10px;
    margin-right: 20px !important;
}
span.ac-logo.barachetti img {
    width: 100px;
   
}
span.ac-logo.projectit img {
    width: 95px;
    margin-left: 15px;
    margin-right: 20px !important;
    margin-top: 5px;
}
span.ac-logo.platetel img {
    width: 84px;
        margin-right: 20px !important;

}
span.ac-logo.vitali img {
    width: 66px;
            margin-right: 20px !important;

}
span.ac-logo.fidelitas img {
    width: 24px !important;

}


	
	
	
	
	
}


@media (max-width: 999px) {
    .sidebar .entry-header,
    .sidebar .entry-content,
    .sidebar .entry-summary,
    .sidebar .entry-meta,
    .sidebar .comment-list,
    .sidebar .comment-reply-title,
    .sidebar .comment-navigation,
    .sidebar .comment-respond .comment-form,
    .sidebar .featured-gallery,
    .sidebar .post-navigation .nav-links,
    .author.sidebar .author-info {
        max-width: 604px;
        padding-left: 0;
        padding-right: 0;
    }

    .sidebar .site-info,
    .search.sidebar .page-content,
    .blog.sidebar .page-content,
    .attachment .entry-header,
    .sidebar .comments-title {
        max-width: 604px;
    }

    .sidebar .archive-meta,
    .attachment .entry-header,
    .search.sidebar .page-content,
    .blog.sidebar .page-content,
    .sidebar .site-info,
    .sidebar .comments-title,
    .sidebar .no-comments {
        padding-left: 0;
        padding-right: 0;
    }

    .attachment .entry-meta {
        float: left;
        text-align: left;
        width: 100%;
    }

    .attachment .entry-content {
        max-width: 100%;
        padding: 40px 0;
    }

    .format-status .entry-content {
        padding-top: 40px;
    }

    .format-status .entry-meta {
        padding-bottom: 40px;
    }

    .sidebar .format-status .entry-content,
    .sidebar .format-status .entry-meta {
        padding-left: 35px;
    }

    .sidebar .format-status .entry-content:before,
    .sidebar .format-status .entry-meta:before {
        left: 10px;
    }

    .sidebar .format-status .entry-content p:first-child:before {
        left: 4px;
    }

    .sidebar .paging-navigation .nav-links {
        padding: 0 60px;
    }

    .site-main .sidebar-container {
        height: auto;
        /* margin: 0 auto; */

        position: relative;
        /* top: 20px; */
    }

    .site-main .widget-area {
        float: none;
        margin: 0;
        width: 100%;
    }

    .sidebar .site-footer .widget-area {
        max-width: 100%;
        left: 0;
    }
}

/* Collapse oversized image and pulled images after iPad breakpoint. */
@media (max-width: 767px) {
	
    #boxes_auto_popup_expiry img {
    width: 400px !important;
    margin: 0 auto !important;
    max-width: 100% !important;
}
#boxes_auto_popup_expiry #dialog_auto_popup_expiry {
    max-width: 90% !important;
}

	
	.sponsor-footer {
    padding-left: 15px  !important;
}
	.sponsor-footer div {
    padding-bottom: 15px  !important;
}
.sponsor-footer3 {
     margin-top: 0px !important; 
     margin-bottom: 0px !important;
}
.ac-logo {
    display: block;
     float: none; 
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    height: 80px !important;
    
}
.ac-logo img{
	padding-left: auto;
	padding-right: auto;
	}

	.default-text-col {
    padding-left: 15px;
}
    .entry-content img.alignleft,
    .entry-content .wp-caption.alignleft {
        margin-left: 0;
    }

    .entry-content img.alignright,
    .entry-content .wp-caption.alignright {
        margin-right: 0;
    }

    .attachment .image-navigation,
    .attachment .entry-attachment .attachment {
        max-width: 604px;
        padding: 0;
        width: 100%;
    }

    .gallery-caption {
        display: none;
    }
}

@media (max-width: 643px) {
	
	
	body.single-catalogo div.entry-content {
  margin-left: 0px !important;
  margin-top: 30px;
}

body.single-catalogo div.entry-content img {
  width: 100%;
}

	
    .site-title {
        font-size: 30px;
    }

/*    #content .entry-header,
    #content .entry-content,
    #content .entry-summary,
    #content footer.entry-meta,
    #content .featured-gallery,
    .search.sidebar .page-content,
    .blog.sidebar .page-content,
    .sidebar .post-navigation .nav-links,
    .paging-navigation .nav-links,
    #content .author-info,
    .comments-area .comments-title,
    .comments-area .comment-list,
    .comments-area .comment-navigation,
    .comment-respond,
    .sidebar .site-info,
    .sidebar .paging-navigation .nav-links {
        padding-left: 20px;
        padding-right: 20px;
    }*/

    #content .format-status .entry-content,
    #content .format-status .entry-met {
        padding-left: 35px;
    }

    /* Small menu */
    .menu-toggle {
        cursor: pointer;
        display: inline-block;
        font: bold 16px/1.3 "Source Sans Pro", Helvetica, sans-serif;
        margin: 0;
        padding: 12px 0 12px 20px;
    }

    .menu-toggle:after {
        content: "\f502";
        font-size: 12px;
        padding-left: 8px;
        vertical-align: -4px;
    }

    .toggled-on .menu-toggle:after {
        content: "\f500";
        vertical-align: 2px;
    }

    .toggled-on .nav-menu,
    .toggled-on .nav-menu > ul {
        display: block;
        margin-left: 0;
        padding: 0;
        width: 100%;
    }

    .toggled-on li,
    .toggled-on .children {
        display: block;
    }

    .toggled-on .nav-menu li > ul {
        background-color: transparent;
        display: block;
        float: none;
        margin-left: 20px;
        position: relative;
        left: auto;
        top: auto;
    }

    .toggled-on .nav-menu li > ul a {
        color: #141412;
        width: auto;
    }

    .toggled-on .nav-menu li:hover > a,
    .toggled-on .nav-menu .children a {
        background-color: transparent;
        color: #141412;
    }

    .toggled-on .nav-menu li a:hover,
    .toggled-on .nav-menu ul a:hover {
        background-color: #db572f;
        color: #fff;
    }

    ul.nav-menu,
    div.nav-menu > ul {
        display: block;
    
        /* margin-left: 26px; */
}

    #content .featured-gallery {
        padding-left: 24px;
    }

    .gallery-columns-1 .gallery-item {
        margin-right: 0;
        width: 100%;
    }

    .entry-title,
    .format-chat .entry-title,
    .format-image .entry-title,
    .format-gallery .entry-title,
    .format-video .entry-title {
        font-size: 22px;
        font-weight: bold;
    }

    .format-quote blockquote,
    .format-status .entry-content {
        font-size: 18px;
    }

    .format-quote blockquote small,
    .format-quote blockquote cite {
        font-size: 13px;
    }

    .error404 .page-title {
        padding: 40px 0 0;
    }

    .error404 .page-title:before {
        content: normal;
    }

    .comment-author {
        margin-right: 30px;
    }

    .comment-author .avatar {
        height: auto;
        max-width: 100%;
    }

    .comment-metadata,
    .comment-content,
    .comment-list .reply {
        width: 70%;
        width: -webkit-calc(100% - 104px);
        width:         calc(100% - 104px);
    }

    .comment-form input[type="text"],
    .comment-form input[type="email"],
    .comment-form input[type="url"] {
        width: -webkit-calc(100% - 120px);
        width:         calc(100% - 120px);
    }

    .comment-form textarea {
        height: 80px; /* Smaller field for mobile. */
    }

    /* Audio */
    .format-audio .entry-content:before {
        display: none;
    }

    .format-audio .audio-content {
        background-image: none;
        float: none;
        padding-left: 0;
        width: auto;
    }
}

/* Mobile devices */
@media (max-width: 359px) {

    #boxes_auto_popup_expiry img {
    width: 320px !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    }
    #boxes_auto_popup_expiry #dialog_auto_popup_expiry {
        max-width: 90% !important;
    }


    .gallery {
        margin-left: 0;
    }

    .gallery .gallery-item,
    .gallery-columns-2.gallery-size-thumbnail .gallery-item {
        max-width: none;
        width: 49%;
        width: -webkit-calc(50% - 4px);
        width:         calc(50% - 4px);
    }

    .gallery-columns-1.gallery-size-medium,
    .gallery-columns-1.gallery-size-thumbnail,
    .gallery-columns-2.gallery-size-thumbnail,
    .gallery-columns-3.gallery-size-thumbnail {
        display: block;
    }

    .gallery-columns-1 .gallery-item,
    .gallery-columns-1.gallery-size-medium .gallery-item,
    .gallery-columns-1.gallery-size-thumbnail .gallery-item {
        text-align: center;
        width: 98%;
        width: -webkit-calc(100% - 4px);
        width:         calc(100% - 4px);
    }

    .gallery-columns-3 .gallery-item:nth-of-type(3n),
    .gallery-columns-5 .gallery-item:nth-of-type(5n),
    .gallery-columns-7 .gallery-item:nth-of-type(7n),
    .gallery-columns-9 .gallery-item:nth-of-type(9n) {
        margin-right: 4px;
    }

    .gallery br {
        display: none;
    }

    .gallery .gallery-item:nth-of-type(even) {
        margin-right: 0;
    }

    /* Comments */
    .comment-author {
        margin: 0 0 5px;
        max-width: 100%;
    }

    .comment-author .avatar {
        display: inline;
        margin: 0 5px 0 0;
        max-width: 20px;
    }

    .comment-metadata,
    .comment-content,
    .comment-list .reply {
        width: 100%;
    }
}


/**
 * 9.0 Print
 * ----------------------------------------------------------------------------
*/

/* Retina-specific styles. */
@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {

    .site-header .search-field {
        background-image: url(images/search-icon-2x.png);
    }

    .format-audio .audio-content,
    .format-status .entry-content:before,
    .format-status .entry-meta:before,
    .comment-list > li:after,
    .comment-list .children > li:before {
        background-image: url(images/dotted-line-2x.png);
    }
}

@media print {
    body {
        background: none !important;
        color: #000;
        font-size: 10pt;
    }

    footer a[rel="bookmark"]:link:after,
    footer a[rel="bookmark"]:visited:after {
        content: " [" attr(href) "] "; /* Show URLs */
    }

    .site {
        max-width: 98%;
    }

    .site-header {
        background-image: none !important;
    }

    .site-header .home-link {
        max-width: none;
        min-height: 0;
    }

    .site-title {
        color: #000;
        font-size: 21pt;
    }

    .site-description {
        font-size: 10pt;
    }

    .author-avatar,
    .site-footer,
    .comment-respond,
    .comments-area .comment-edit-link,
    .comments-area .reply,
    .comments-link,
    .entry-meta .edit-link,
    .page-links,
    .site-content nav,
    .widget-area,
    .main-navigation,
    .navbar,
    .more-link {
        display: none;
    }

    .entry-header,
    .entry-content,
    .entry-summary,
    .entry-meta {
        margin: 0;
        width: 100%;
    }

    .page-title,
    .entry-title {
        font-size: 21pt;
    }

    .entry-meta,
    .entry-meta a {
        color: #444;
        font-size: 10pt;
    }

    .entry-content img.alignleft,
    .entry-content .wp-caption.alignleft {
        margin-left: 0;
    }

    .entry-content img.alignright,
    .entry-content .wp-caption.alignright {
        margin-right: 0;
    }

    .format-image .entry-content .size-full {
        margin: 0;
    }

    /* Remove colors from post formats */
    .hentry {
        background-color: #fff;
    }

    /* Comments */
    .comments-area > li.comment {
        background: none;
        position: relative;
        width: auto;
    }

    .comment-metadata {
        float: none;
    }   
    

    .comment-author .fn,
    .comment-reply-link,
    .comment-reply-login {
        color: #333;
    }
    .breadcrumbs, .desktop-langselector{
	    display: none !important;
    }
}

.slider-container{float:left; width:100%; position:relative;}
.slider-container ul{margin:0; padding:0;list-style:none; }
.caption{
    width: 100%;
    padding: 22px 0 17px 20px;
    font-family: 'AtlasGroteskBold';
    font-size: 19px;
    line-height: 21px;
    color: #fff;
    float: left;
    /* margin-left: -3%; */
    letter-spacing: 0.05em;
    /* background: url(images/red-trans.png) repeat scroll 0 0 transparent; */
    background-color: rgba(206, 34, 6, 0.59);
}
 
.caption-inner{

}
.right-flag{position:absolute; z-index:99999; right:0; bottom:-3px; background:url(images/right-flag.png) repeat 0 0;  height:100%; width:19.1%;display:none;


}
.child-pages, .event-list-cont{float:left; width: 101%; margin:50px 0 0 4px; padding:0; list-style:none;}


.child-pages li{float:left; width:28%; margin:0 2% 0 1.5%;}
.child-page-title{font-family: 'AtlasGroteskMedium'; font-size:16px;line-height:18px; color:#000!important; margin:13px 0 16px;float:left;}
.child-page-date{font-family: 'AtlasGroteskMedium'; font-size:16px;line-height:18px; color:#000!important; margin:13px 0 16px;float:left;}

.child-page-content{font-size:12px; color:#000; line-height:14px; font-family: 'AtlasGroteskRegular';float:left;width:100%;}
#primary{float:left;width:75%;margin-bottom: 0px;}
.child-page-content p{font:14px/16px 'AtlasGroteskRegular',Arial;margin-bottom:30px;}
.child-pages-listing{float:left;width:100%;margin: 36px 0 0 0;}
.child-pages-listing h2{float:left;width:100%;color:#ff543f;text-transform:none;text-decoration:none;font-size:18px;line-height:18px;font-family: 'AtlasGroteskBold';/* border-bottom:1px solid #ff543f; */padding:0 0 7px;margin:0;padding-bottom: 19px;}
 .child-pages-listing h2 a:link, .child-pages-listing h2 a:visited{color:#ff543f;text-transform:none;text-decoration:none;font-size: 19px;line-height: 21px;font-family: 'AtlasGroteskBold';letter-spacing: 0.005em;}
 .child-pages-listing h2 a:hover{color:#ff543f;/* text-transform:uppercase; */text-decoration:underline;}
 
.child-pages-listing ul{float:left;width:100%;list-style:none;padding:0;margin:0;border-top: 1px solid #ff543f;}
.child-pages-listing ul li{float:left; width:100%; padding:10px 0px; color:#ff543f!important;font-family: 'AtlasGroteskBold';  border-bottom:1px solid #ff543f;padding-left: 0px;}
.child-pages-listing ul li a{color:#ff543f!important;font-size: 15px;line-height: 13px;font-family: 'AtlasGroteskRegular';}
.child-pages-listing ul li.current_page_item a{font-family: 'AtlasGroteskBold';}


li.current_page_item a:before {
    /* position: absolute; */
    /* top: 8px; */
    /* margin: 8px 0 0 -12px; */
    vertical-align: middle;
    display: inline-block;
    /* width: 4px; */
    /* height: 4px; */
    content: ">";
    font-size: 17px;
    padding-right: 5px;
    font-family: 'AtlasGroteskBold';
}

li.current_page_item ul li a:before {
    /* position: absolute; */
    /* top: 8px; */
    /* margin: 8px 0 0 -12px; */

    /* width: 4px; */
    /* height: 4px; */
    content: none;

}

.child-pages-listing ul.children {
    padding-left: 15px;
        margin-bottom: -11px;
}
ul.children li:last-child {
    border-bottom: solid white 0px;
}

.child-pages-shortcode, .no-margin{float:left; width: 101%; margin:50px 0 0 -5px !important; padding:0; list-style:none;}
ul.child-pages-shortcode li{float:left; width:46%; margin:0 2% 0 1.5%;}


.no-margin li {height: 205px;}





.section-title{float:left; width:100%; color:#ff543f!important; font-size:12px; font-family: 'AtlasGroteskBold'; padding:0 0 5px;}
.related-link{float:left; width:100%; margin:25px 0 0;}
.related-link .title{color:#ff543f!important; font-size:9px;line-height:9px; font-family: 'AtlasGroteskBold'; padding:1px 8px; border:1px solid #ff543f;}
.related-link ul{float:left; width:81%; margin:12px 0 0;  padding:0; list-style:none;}
.related-link ul li{float:left; width:100%; margin:0 0 15px 0; position:relative;}
.related-link ul li .name{color:#fff; font-size:12px; font-family: 'AtlasGroteskBold'; position:absolute; left:10px; bottom:10px;}





/*innerpage*/
.fullsliderwrapper{position:absolute;top:0px;left:0px;width:100%;height:100%;}
/*.fullsliderwrapper img{width:100%;height:100%;}*/
/*.page-template-sliderpage-php #page{background:transparent;}*/





.cbp-bislideshow {
    list-style: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    padding: 0;
    margin: 0;
}

.cbp-bislideshow li {
    position: absolute;
    width: 101%;
    height: 101%;
    top: -0.5%;
    left: -0.5%;
    opacity: 0;
    -webkit-transition: opacity 1s;
    -moz-transition: opacity 1s;
    transition: opacity 1s;
}

/* If background-size supported we'll add the images to the background of the li */

.backgroundsize .cbp-bislideshow li {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    background-position: center center;
}

/* ...and hide the images */
.backgroundsize .cbp-bislideshow li img {
    display: none;
}

.cbp-bislideshow li img {
    display: block;
    width: 100%;
}

.cbp-bicontrols {
    position: fixed;
    width: 100%;
    height:27px;
    bottom:40%;
    left: 0%;
}

.cbp-bicontrols span {
    float: left;
    width: 26px;
    height: 27px;
    position: relative;
    cursor: pointer;
    background:#fd523f;
}

.cbp-bicontrols span:before {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-align: center;
    font-family: 'entypo';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 25px;
    font-size: 15px;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    opacity: 1;
}

.cbp-bicontrols span:hover:before {
    opacity: 1;
}

.cbp-bicontrols span:active:before {
    top: 2px;
}

span.cbp-biplay:before {
    content: "\e002";
}

span.cbp-bipause:before {
    content: "\e003";
}

span.cbp-binext:before {
    content: "\e000";
}

span.cbp-biprev:before {
    content: "\e001";
}

.cbp-bicontrols span.cbp-binext {
    float: right;
}

/* Fallback */

.no-js.no-backgroundsize .cbp-bislideshow li:first-child {
    opacity: 1;
}

.no-js.backgroundsize .cbp-bislideshow li:first-child img {
    display: block;
}


.slidedescriptionwrapper {
    position: relative;
    z-index: 990;
    bottom: 6%;
}
.slidedescription{
  float:left;
  /* background: url(images/slidetextbg.png) repeat top center; */
  min-width:130px;
  padding:10px;
  position:absolute;
  left:6%;
  bottom:10%;
  font: 16px/18px 'AtlasGroteskBold',Arial;
  /* max-width: 422px;*/
}
.slidedescription a:link, .slidedescription a:active, .slidedescription a:visited {
  font: 19px/16px 'AtlasGroteskBold',Arial;
  color: #fff ;
  text-decoration: none;
  text-shadow: 2px 2px 8px #000;
  color:white;
  letter-spacing: 0.03em;
}
slidedescription a:hover{
  color: #eae9e9
  text-decoration: underline;
}

.slidedescription h3 {
  font: 19px/35px 'AtlasGroteskRegular',Arial;
  color: #fff !important;
  margin: 0px 0px 3px 0px;
  letter-spacing: 0.008em;
}
.slidedescription h3 a{float:right;}
.slidedescription p{font:10px/12px 'AtlasGroteskRegular',Arial;color:#fff;float:left;width:100%;margin:0px 0px 3px 0px;}
.cbp-biprev{left:1%;}
.cbp-binext{right:1%;}




/*.logo-wrapper{
        border-right: 66px solid transparent;
        border-top: 66px solid #fd523f;   
        margin: -32px 0 0 0;
    width:54%;
    position:relative;
    display:none;

}*/


.logo-wrapper{min-height: 77px;
	
margin: 0px 0px 0px -36px;color:#fff;float:left;
position:relative;padding:0px 0px 0px 3%;z-index:9;
} 

div.desktop-langselector #lang_sel_list a, div.desktop-langselector #lang_sel_list a:visited {display: block;font-size: 18px;text-decoration: none !important;color: #fff !important;/* background: #FFF; */line-height: 8px;padding-left: 5px;font-family: 'AtlasGroteskRegular';text-transform: uppercase;margin-right: 8px;letter-spacing: 0.05em;}
div.desktop-langselector li a.lang_sel_sel{
font-family: 'AtlasGroteskBold' !important;	
	color: #FF543F !important;
	background: #FFF; 

}
div.desktop-langselector {/* background: #FFF !important; */z-index: 999 !important;position: relative !important;top: 100px;}

body.home div.desktop-langselector {/* background: #FFF !important; */z-index: 999 !important;position: relative !important;top: 20px;}

div.bx-controls{
	
	position: relative;
	z-index: 404;
}

body.page-template-sliderpage-php div.logo-wrapper{
 background: #FF4733;
 /* background: repeat scroll 0 0 rgba(244, 42, 42, 0); */
 border: 0 none;
 float: left;
 /* margin: 2.3% 0 0; */
 min-height: auto;
 padding: 0px 0 37px 64px;
 width: 103%;
}



.mobilelogowrapper{display:none!important;}
.logo-wrapperinner{
    width:100%;
    margin:0px auto;

    float:left;
}


/* .menu-f{display: block !important;} */
.sub-menu2{display: none;}
#panel ul.sub-menu2.menu-f {
	    display: block !important;
    }
    
    .sub-menu2 ul.sub-menu {
	        padding-top: 0px !important;
    }
    
    #bar a#toggle {
    color: white;
    text-decoration: none;
}


li.sf-field-post-meta-wpcf-sala {
    display: none !important;
}
.page-template-home-page-php .logo-wrapper,.page-template-sliderpage-php .logo-wrapper{display:block;}





.nav-menu li a{margin-top:0px;font: 19px/18px 'AtlasGroteskMedium',Arial;position:relative;/* z-index:9999; */color:#fff;letter-spacing: 0.03em;}
.nav-menu li .sub-menu, .nav-menu li .sub-menu2{float:left;width:100%;margin-left:0;padding:0px;display:none;position:relative;z-index:9999;margin-top: 0px;
	
	
	  transition: visibility 0.5s, opacity 0.5s linear;

}

/* second level main nav*/
.nav-menu li div ul.sub-menu li div a , .nav-menu li div ul.sub-menu2 li div a {
  font-size: 19px !important;
  line-height: 22px !important;
}

.nav-menu li .sub-menu li, .nav-menu li .sub-menu2 li{
                          float:left;
                          width:auto;
                          border:0px;
                          height:auto;
                          margin-top:0px;
                          background:none;
                          padding:0px;
                       
                          min-height:auto;
                          width: 100%;
}
.nav-menu li .sub-menu li a,.nav-menu li .sub-menu2 li a{margin: 0px 26px 0 0;padding:0px;font-family:'AtlasGroteskRegular',Arial;padding-bottom: 6px;}
/*.nav-menu li:hover .sub-menu{display:block;
                            -webkit-transition: height 0.3s ease-in;
            -moz-transition: height 0.3s ease-in;
            -o-transition: height 0.3s ease-in;
            -ms-transition: height 0.3s ease-in;
            transition: height 0.3s ease-in;
                             
                             
                        



                           



}*/



.animated {
    -webkit-animation-fill-mode:both;
    -moz-animation-fill-mode:both;
    -ms-animation-fill-mode:both;
    -o-animation-fill-mode:both;
    animation-fill-mode:both;
    -webkit-animation-duration:1s;
    -moz-animation-duration:1s;
    -ms-animation-duration:1s;
    -o-animation-duration:1s;
    animation-duration:1s;
    display:inline-block;
}
.animated.hinge {
    -webkit-animation-duration:1s;
    -moz-animation-duration:1s;
    -ms-animation-duration:1s;
    -o-animation-duration:1s;
    animation-duration:1s;
}


ul.slides{padding-left: 0px; }


@-webkit-keyframes bounceInDown {
    0% {
    opacity: 0;
    -webkit-transform: translateY(-2000px);
}
60% {
    opacity: 1;
    -webkit-transform: translateY(30px);
}
80% {
    -webkit-transform: translateY(-10px);
}
100% {
    -webkit-transform: translateY(0);
}
}
@-moz-keyframes bounceInDown {
    0% {
    opacity: 0;
    -moz-transform: translateY(-2000px);
}
60% {
    opacity: 1;
    -moz-transform: translateY(30px);
}
80% {
    -moz-transform: translateY(-10px);
}
100% {
    -moz-transform: translateY(0);
}
}
@-o-keyframes bounceInDown {
    0% {
    opacity: 0;
    -o-transform: translateY(-2000px);
}
60% {
    opacity: 1;
    -o-transform: translateY(30px);
}
80% {
    -o-transform: translateY(-10px);
}
100% {
    -o-transform: translateY(0);
}
}
@keyframes bounceInDown {
    0% {
    opacity: 0;
    transform: translateY(-2000px);
}
60% {
    opacity: 1;
    transform: translateY(30px);
}
80% {
    transform: translateY(-10px);
}
100% {
    transform: translateY(0);
}
}
.bounceInDown {
    -webkit-animation-name: bounceInDown;
    -moz-animation-name: bounceInDown;
    -o-animation-name: bounceInDown;
    animation-name: bounceInDown;
}







.nav-menu li{

    width:100%;
    float:left;


}
#navbar .nav-menu .orario{float:left;width:100%;}
.nav-menu .orario a{font-size:12px;}

.liwrap{

float:left;width: 100%;}

.nav-menu .firstli{
    /*    border-right: 137px solid transparent;
        border-top: 137px solid rgba(253, 82, 63, 0.8);
        margin: -101px 0 0;*/
    width: 100%;
    /* background:url(images/firstlibg.png) repeat 0px 0px; */
    padding: 105px 0 10px 50px;
    margin-top: -128px;
    z-index:8;
    /* height: 197px; */
    /* min-width: 561px; */
    /* min-width: 598px; */
    background-color: rgba(253, 82, 63, 0.5);
}




#navbar .nav-menu .firstli2{

    margin-top:-215px;  
    padding:224px 0 19px 15%;
}

#navbar .nav-menu .firstli3{

    margin-top:-258px;  
    padding:269px 0 19px 16.3%;
}

#navbar .nav-menu .firstli4{

    margin-top:-303px;  
    padding:306px 0 19px 17.5%;
}





#navbar .nav-menu .secondli3{

    margin-top:-232px;  
    padding:248px 0 19px 16%;
}


#navbar .nav-menu .secondli4{

    margin-top:-282px;  
    padding:289px 0 19px 17.4%;
}


#navbar .nav-menu .thirdli4{

    margin-top:-275px;  
    padding:278px 0 19px 17%;
}




.nav-menu .secondli{
        /*    border-right: 230px solid transparent;
        border-top: 230px solid rgba(253, 82, 63, 0.7);
        margin: -201px 0 0;
        background: url("images/secondlibg.png") repeat scroll 0 0 transparent;*/
        margin-top: -237px;
        padding: 254px 0 11px 50px;
        width: 100%;
        z-index: 7;
    /*    min-width: 593px;
        min-width: 665px;
  */
    background-color: rgba(253, 82, 63, 0.3);
        }





.nav-menu li:nth-child(2) a{
    /*    margin-top:-22px;*/

}

.nav-menu .thirdli{
        /*    border-right: 300px solid transparent;
        border-top: 300px solid rgba(253, 82, 63, 0.5);
        margin: -276px 0 0;
        background: url("images/thirdlibg.png") repeat scroll 0 0 transparent;*/
        margin-top: -247px;
        padding: 263px 0 0px 51px;
        width: 100%;
        z-index: 6;
        /*
        min-width: 627px;
        min-width: 722px;
        */
        background-color: rgba(253, 82, 63, 0.3);
        }


/*.whtason{margin-left:-7px;}*/

.nav-menu .thirdli,nav-menu .secondli,nav-menu .firstli{
        background-color: rgba(253, 82, 63, 0.5);
        	  transition: all 0.7s ease-out !important;


}


.nav-menu .fourthli{
        /*    border-right: 351px solid transparent;
        border-top: 351px solid rgba(253, 82, 63, 0.5);
        margin: -318px 0 0;*/
        background: url("images/fourthlibg.png") repeat scroll 0 0 transparent;
        margin-top: -332px;
        padding: 347px 0 19px 50px;
        width: 100%;
        z-index: 5;
        min-width: 673px;
        min-width: 773px;
        }
        
        
.menu-home_visita-container,.menu-home_visita-en-container,.menu-home_attivita-container,.menu-home_attivita-en-container {
    margin-top: 23px;
}
a.front-menu {
    margin-bottom: 0px;
}
.row.footer-menu-cont {
    margin-top: 28px;
}

a.front-menu img {
/*
    margin-top: 21px;
    margin-bottom: -31px;
    padding-top: 19px;
    width: auto;
    height: 43px;

*/
}

a.catalogo-sala {
    float: right;
    padding-top: 20px;
}

body.page-template-page-collezione .simplesocialbuttons{
	    position: relative;
    top: 45px;
    /* was 32 */
}

.share-text {
    color: #ff563f;
    margin-top: 30px;
margin-bottom:-13px;
}

/*chrome*/

/*.chrome .nav-menu .firstli{padding-left:10.2%;}

.chrome .nav-menu .secondli{padding-left:11.9%;}


.chrome .nav-menu .fourthli{padding-left:15.4%;}
*/
/*safari*/

/*.safari .nav-menu .firstli{padding-left:10.1%;}


.safari .nav-menu .fourthli{padding-left:15.5%%;}*/





/*.page-template-home-page-php .logo-wrapper{display:none;}


.main-logo{position:absolute;top:0px;left:0px;}*/





 


.desktop-langselector{display:block;float:right;padding: 12px;margin-right:20px;margin-top: 0px;/* border:1px solid #fd523f; */}


body.home div.desktop-langselector #lang_sel_list a, body.home div.desktop-langselector #lang_sel_list a:visited {
display: block;
font-size: 15px;
text-decoration: none !important;
color: #fff !important;
background: transparent !important;
line-height: 8px;
padding-left: 5px;
font-family: 'AtlasGroteskRegular';
}

body.home .desktop-langselector{
	/* background:rgba(253, 82, 63, 0.8) repeat 0px 0px !important; */
	border:0px;
	margin-top:26px;
	z-index: 999;
}

body.home div.desktop-langselector #lang_sel_list a, body.home div.desktop-langselector #lang_sel_list a:visited {
display: block;
font-size: 16px;
text-decoration: none !important;
color: #fff !important;
background: transparent;
line-height: 8px;
padding-left: 5px;
font-family: 'AtlasGroteskRegular';
}


.mobile-langselector{display:none;}
.header-wrapper{float:left;width:100%;position:relative;}
#lang_sel_list{height:auto;}
#lang_sel_list ul a, #lang_sel_list_list ul a:visited{background:transparent;}
.home #lang_sel_list ul a, #lang_sel_list_list ul a:visited,#lang_sel_list a.lang_sel_sel{color:#fff;}
#lang_sel_list ul a, #lang_sel_list_list ul a:visited,#lang_sel_list a.lang_sel_sel{color:#ff543f;}
.page-template-sliderpage-php #page{max-width:100%;}


/*footer*/
footer ul{list-style:none;font:13px 'AtlasGroteskRegular',Arial;color:#fff;text-align:left;padding:0px;margin:0px;}

footer ul li{padding-bottom:4px;}
footer ul ul{margin-top:21px;}
footer p{font:13px 'AtlasGroteskRegular',Arial;color:#fff;text-align:left;margin:0 0 5px;}
.footersocial-icon{float:left;width:100%;margin-top: 16px;}
.footersocial-icon li{float:left;margin-right:4%;}
.footer-logo{float:left;width:100%;text-align:left;margin-left:1%;padding:0px 0px 28px 0px;}

.boldlink a{font-weight:bold;}
footer .sub-menu a, footer .sub-menu2 a{font-weight:normal;}

.breadcrumbs{
	background:url("images/red-trans.png") repeat scroll 0 0 transparent;
	display:inline-block;
	margin: 0px 0px 0px 0px;
	padding:18px 8px; 
	padding-left: 11px;
	min-width: 150px;
	padding-left: 15px;
	width: 100%;
	}
  
.breadcrumbs span{
	letter-spacing: 0.015em;
padding-right: 3px !important;
 padding-left: 3px;
 text-decoration: none;
}
.breadcrumbs span:hover{
 text-decoration: none;
}


.breadcrumbs span:last-child{text-decoration:none;}


.page-template-default .logo-wrapper, .page-template-home-page-php .logo-wrapper,  .page-template-page-collezione .logo-wrapper, .page-template-page-eventlist .logo-wrapper, body.single .logo-wrapper{
background: none repeat scroll 0 0 transparent;
                                           border: 0 none;
                                           float: left;
                                           margin: 2.3% 0 0;
                                           min-height: auto;
                                           padding: 0 0 0 15px;
}
.site-header .home-link{position:relative;top: 8px;left:0px;}
.header-wrapper{position:absolute;top:0px;left:0px;}
.home .header-wrapper{position:relative;z-index:9999;}


/*innerpage*/ 
.breadcrumb-captioncntr{position:absolute;bottom: 0px;left:0px;width:100%;color:#fff;}
.breadcrumbs span{font: 14px/13px 'AtlasGroteskRegular',Arial;color:#fff;}
.breadcrumbs a{color:#fff;}

.mobilemenucntr{display:none;}




.page-template-home-page-php  div#content img{max-width:100%;height:auto;width: 100%}


ul.mobile-menu {
    position: absolute;
    right: 0px;
}


.footer-menu-cont2 .socialbuttons a  {
    width:50px
}

.footer-menu-cont2 .socialbuttons a.fbpopup img {
    height: 30px;
    
}

.footer-menu-cont2 .socialbuttons a.twitter img {
    height: 33px;

}

.footer-menu-cont2 .socialbuttons a.twpopup img {
        height: 30px;

}

.footer-menu-cont2 .socialbuttons a.yt img {
        height: 27px;
padding-right:5px;
}
.footer-menu-cont2 .socialbuttons a.yt {
width:60px;
}

.footer-menu-cont2 .socialbuttons a.pinn img {
        height: 30px;

}

.footer-menu-cont2 .socialbuttons a.newsl img {
        height: 23px;

}

.search-filter-results img{
	
	max-width: 100% !important;
}

.search-filter-results-71211 .search-filter-results img{
	
	width:266px;
}

/*pvh default */



/*sponsor footer*/



.sponsor-footer{
	
	background-color: #FF4733;
	    padding-top: 49px;
		
		position: relative;
    z-index: 999999;

}

span.sponsor-logo{
	
	display: block;
		float: left;
}

.t_flex{ display: flex; align-items: center; justify-content: center;}


.ac-logo{
    float: left; 
	height:100px;
}

span.ac-logo{
	display:block;
}

.sponsor-testo, .sponsor-testo2{
	
	color: white;
	font-size: 11px;
	display: block;


}
.sponsor-testo2{
	margin-left: 22px;
    margin-bottom: 22px;
}

.sponsor-loghi{margin-top:15px;}

.row.footer2{
	    padding-top: 50px;
}


.sponsor-footer3 {
        margin-top: 40px;
    margin-bottom: 100px;
}

span.ac-logo.bonaldi img {
    width: 78px;
    margin-left: 0px;
    margin-right: 86px;

}
span.ac-logo.allianz img {
    width: 118px;
    margin-top: 10px;
    margin-left: 0px;
    margin-right: 105px;

}

span.ac-logo.framar img {
    width: 95px;
        margin-right: 95px;

}
span.ac-logo.aon img {
    width: 51px;
        margin-top: 10px;
    margin-right: 95px;
}
span.ac-logo.barachetti img {
    width: 107px;
   
}
span.ac-logo.projectit img {
    width: 100px;
    margin-left: 25px;
    margin-right: 65px;
    margin-top: 8px;
}
span.ac-logo.platetel img {
    width: 92px;
        margin-right: 128px;

}
span.ac-logo.vitali img {
    width: 86px;
            margin-right: 106px;

}
span.ac-logo.fidelitas img {
    width: 34px;

}


/*
	REDESIGN LARGE SCREEN
*/




.searchandfilter .sf-range-max, .searchandfilter .sf-range-min {
    min-width: 58px !important;
max-width: 63px !important;
}
li.bawmrp_manual {
    height: auto !important;
    width: 173px !important;
    background-color: #ff543f;
}

li.bawmrp_manual a img {opacity:0.8;}
.related-link ul li {
    background-color: #ff543f !important;
	
	
}

img.attachment-related.size-related.wp-post-image:hover {
    opacity: 1;
}

li.sf-field-post-meta-wpcf-da h4 {
    width: 100% !important;
}




.ui-accordion .ui-accordion-header {

    margin-left: 0px !important;
    border-left: 0px !important;
    border-right: 0px !important;
    border-radius: 0px !important;
}

.fa-chevron-down:before {
    content: "\f077" !important;
}
.fa-chevron-up:before {
    content: "\f078" !important; 
}
.accordions .ui-state-default{
	border: none !important;
	
}
.nota{
	border: solid #ff543f 1px;
	padding: 10px;
	
	 }
.nota .title{font: 32px/46px 'AtlasGroteskBold',Arial;color:#ff543f;padding-left: 5px;}	 
	 

.header-retina-banner{
	
	width: 1170px;
	height: 220px;
}

#upper {
    position: relative;
}

.lowerC {
    width: 100%;
    position: fixed;
    bottom: -24px;
    margin-left: -18px;
  transition: all 1s ease-out !important;

}


#bar {
    padding: 10px;
    background-color:#ff563f;

        width: 111px;
    padding: 13px;
    padding-bottom: 6px;
    box-shadow: 0 1px 1px #fff inset, 0px 0 0 #fff inset;
}

#panel {
    display: block;
    /*    height: 100px;*/
    padding: 10px;
    background-color: #ff543f;
    padding: 10px;
    width: 100%;
    max-width: 1170px;
    min-height: 405px;
/*     	    bottom: -385px;
    	     */    position: absolute;
  transition: all 1s ease-out !important;

}

.panelUP{
	    bottom: 0px !important;

  transition: all 1s ease-out !important;

}

.lowerUP{
	    bottom: 318px !important;

  transition: all 1s ease-out !important;

}

div#panel2 {
    background-color: #ff543f;
    height: 5px;
    max-width: 1170px;
}
.front-menu img, .inside-menu img {
    width: 33px;
    height: 27px;
    margin-left: 0px;
}

.inside-menu img {
margin-right: 8px;
}

a.front-menu {
    position: relative;
    top: -7px;
}

.menu-text-h {
    display: inline;

    position: relative;
    top: 2px;
    left:5px;
}

a.front-menu img {
    padding-right: 5px;
}
/*
.inside-menu img {
	
    width: 30px;
    height: 26px;
    margin-left: 4px;
     margin-top: 3px; 
}


a.front-menu img {
    margin-top: -9px;
    margin-bottom: -34px;
}

*/
/*center page*/

div#page {
    margin: 0 auto;
    background-color: #fff;
    
}
.site {
    float: none;
    }

body{
	    background-color: #eee;

}

.site-main {

    background-color: white;
    min-height: 100vh;
}


div#galleria-main-info {
    margin-bottom: 18px;
}

.children
{ display: none; }

.current_page_item .children,
.current_page_ancestor .children,
.current_page_parent .children

{ display: block; }


.child-pages-listing ul li.current_page_item a, .child-pages-listing ul li.current_page_parent a{
    font-family: 'AtlasGroteskBold';
}
.child-pages-listing ul li.current_page_item ul.children li a {
    font-family: 'AtlasGroteskRegular' !important;
}




.chosen-container-single .chosen-single {
    position: relative;
    display: block;
    overflow: hidden;
    padding: 5px 5px 3px 8px;
    border: 1px solid #ff543f;
    border-radius: 0px;
    background: none !important; 

    background-clip: padding-box;
    box-shadow: 0 0 3px #fff inset,0 1px 1px rgba(0,0,0,.1);
    color: #ff543f;
    text-decoration: none;
    white-space: nowrap;
    line-height: 29px;
}





.entry-content a:hover, .comment-content a:hover {
    color: #FF4733 !important;
}

.chosen-container-single .chosen-single div b {
 
    background-position: 0 8px !important;
}


.chosen-container .chosen-results li {
    color: #ff543f !important;
}
.chosen-container .chosen-results li.highlighted {
background-color: #ff543f !important;
    color: white !important;
}

form.searchandfilter ul li {
    padding-right: 32px;
}

.noUi-base {
    width: 90% !important;
    height: 100%;
    position: relative;
    margin-left: 11px !important;
}

li.sf-field-search input {
    width: 139px;
    height: 38px;
}
li.sf-field-search input {
padding-right: 0px !important;
}
li.sf-field-search  {
padding-right: 0px !important;
}

li.sf-field-search h4 {
    /* display: none; */
}


.page-id-419 .child-pages-listing,.page-id-263 .child-pages-listing {

    margin: 46px 0 0 0;
}

li.sf-field-taxonomy-collezione .chosen-container.chosen-container-single, li.sf-field-post-meta-wpcf-sala .chosen-container.chosen-container-single, li.sf-field-taxonomy-autore .chosen-container.chosen-container-single {
    width: 190px !important;

}

li.sf-field-taxonomy-pubblici .chosen-container.chosen-container-single {
    width: 195px !important; 
}

body #primary #content .chosen-container-single .chosen-single div {

    width: 33px !important;
}
body #primary #content  .chosen-container-single .chosen-single div b {
    background: url(/assets/images/chosen-ac.png) 0 11px no-repeat !important;
}
body #primary #content  .event-search .chosen-container-single .chosen-single div b{
    background: url(/assets/images/chosen-ac.png) 0 11px no-repeat !important;
	
	
}


li.sf-field-taxonomy-tipo-evento .chosen-container{
	width:187px !important;
	
}


.chosen-container .chosen-drop {

    border: 1px solid #ff543f !important;
    }

.front-menu{display: none;}

body.home .front-menu{display: block;}

#panel {

    height: 300px;
}
div#panel li {
    list-style-type: none;
    color: white;
}
div#panel li a{
    color: white;
}
#menu-item-520 ul.sub-menu ul li a,#menu-item-520 ul.sub-menu2 ul li a{
	
font: 17px/18px 'AtlasGroteskMedium',Arial !important;
	
letter-spacing: 0.03em;
}

#menu-item-520 ul.sub-menu ul li ul li a,#menu-item-520 ul.sub-menu2 ul li ul li a{
	
font: 17px/20px 'AtlasGroteskRegular',Arial!important;
}

div#slide-footer #menu-item-520 ul.sub-menu ul li ul li a,div#slide-footer #menu-item-520 ul.sub-menu2 ul li ul li a {
    font: 14px/16px 'AtlasGroteskRegular',Arial!important;
}

div#slide-footer #menu-item-520 ul.sub-menu ul li ul li.current_page_item a, div#slide-footer #menu-item-520 ul.sub-menu2 ul li ul li.current_page_item a {

   font-family: 'AtlasGroteskBold' !important;

}


.fondazione-menu {
    color: white;
    margin-top: 15px;
}

#navbar .fondazione-menu{
	
	margin-top: 0px;
}
.fondazione-menu img {
    width: 164px;
}
div#slide-footer .fondazione-menu{
    margin-top: 0px;
}

.fondazione-menu p{
    color: white;
    margin-top: 20px;
    font: 13px/20px 'AtlasGroteskRegular',Arial!important;

}
div.service-links, div.service-links a{
	
font: 12px/16px 'AtlasGroteskRegular',Arial!important;
	
margin-top: 9px;
padding-top: 4px;
color:white;
}

.pi-col{padding-left: 0px; margin-left: 0px;}
/*

div.service-links a{
	
float: left; 
padding-right: 4px;
}
*/
.footer-col{
	
	padding-left: 0px !important;
		padding-right: 5px !important;

}
.news-search{
	
margin-top: 57px;
}

.row.news-item {
     margin-bottom: 25px;
     border-bottom: solid 1px #ff543f;
     padding-bottom: 15px;
     padding-left: 0px;
}

.row.news-item.espos {
    padding-bottom: 24px;
}

.searchandfilter ul li.sf-field-taxonomy-anno-event, ul li.sf-field-taxonomy-tipo,  .searchandfilter ul li.sf-field-taxonomy-persona, div.event-search li.sf-field-search,
li.sf-field-taxonomy-event-tipo,li.sf-field-taxonomy-tipo-evento,div.event-search li.sf-field-taxonomy-pubblici  {

    float: left !important;
}

.news-col1 {
    padding-left: 0px;
}
.news-col2{
	padding-right: 0px;
	padding-left: 0px;
}

.event-list-tipo a{
	font: 14px/13px 'AtlasGroteskRegular',Arial;
	color:#000;

}

.event-list-tipo {

	padding-bottom: 5px;
}
.event-list-data{
	 font: 14px/13px 'AtlasGroteskBold',Arial;
	 color:#000;
	 padding-bottom: 9px;
}

.event-list-title {
	font: 14px/13px 'AtlasGroteskBold',Arial;color:#000;
		padding-bottom: 15px;

}
.event-list-title a  {
color: #000 !important;
}
.icon {
    float: left;
    width: 51px;
    text-align: left;
    margin-left: 0px;
    padding-right: 12px;
}

.socials-home{
	    /* float: RIGHT; */
    /* MARGIN-RIGHT: -16px; */
}
a.icon-yt.icon {
    width: 42px;
}
a.icon-news.icon {
    /* margin-right: -3px; */
}
.mobile-message-bando{
	display: none;
}



/*mappa del museo*/

.sala-testo.row {
	    margin-top: 43px;
    }

.sala-opera.row img {
	    width: 100%;
	    margin-top: 14px;
    }
img.sala-img {
    /* width: 90%; */
    /* float: left; */
}

.sala-opera {
    /* float: left; */
    /* width: 31%; */
}

.coll-autore2 {
        font-weight: normal !important; 
		font-family: 'AtlasGroteskBold',sans-serif !important; 
}
/*debug related in main column*/

.navi-tabs a{
	
list-style-type: none;
	
padding-right: 20px;
	
font-size: 1.2em;
}
/*
div#primo, div#secondo {
    top: -900px;
    position: relative;
}*/
.ppane {
    position: relative;
    width: 100%;
    /* height: 900px; */
    top: 6px;
    /* min-height: 1000px; */
    margin-top: 36px;
}

ul.navi.navi-tabs {
    border-top: solid #ff543f 1px;
    border-bottom: solid #ff543f 1px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.navi-tabs a{
	
padding-right: 20px;}
.navi-tabs a.highl{
	
    font-family: 'AtlasGroteskBold';
}

.navi-tabs a.highl:before {
    /* position: absolute; */
    /* top: 8px; */
    /* margin: 8px 0 0 -12px; */
    vertical-align: middle;
    display: inline-block;
    /* width: 4px; */
    /* height: 4px; */
    content: ">";
    font-size: 17px;
    padding-right: 5px;
    font-family: 'AtlasGroteskBold';
}


.sottopagine-text div.related-link.textwidget.widget-text {
  display: none;
}




.royalSlider,
.rsOverflow {
  /* height: 1500px !important;*/
}



#search-section h4 {
	
font-size: 16px;
	
 	
font-family: 'AtlasGroteskMedium'; */
}

img.zoom-icon{
	width: 35px;
	height: 35px;
	
}
.entry-content {
    font-size: 0.938em;
    line-height: 21px;
}

/* pvh fontsize */
#content {
  font-size: 1em;
  line-height: 22px;

}

body.page-template-page-collezione td.legend {
    display:block;
    }
    
 
    .royalSlider{
	    
	   /*height: auto !important; */
    }
    .contentSlider img {
  max-width: 100%;
  height: auto;
  display: block;
}

.rsDefault.rsHor .rsArrowLeft, .rsDefault.rsHor .rsArrowRight {
  top: 200px;
}
.rsDefault .rsArrow {
  height: auto;
}


img.rsImg {
  max-width: none;
  width: 100% !important;
  height: auto !important;
}

  
body.page-template-page-collezione table#opera-table {
  margin-top: 30px;
} 

body.page-template-page-collezione table#opera-table td.firsttd {
	
	border-top: none;
}

tr.collezione-buttons, tr.collezione-buttons td{
	
border-bottom:solid #fff;
	height: 100px;
}

img.top-logo{
	
	width: 245px;

	height: 47px;

margin-left: -5px;
	/* margin-top: -30px; */
}

li.firstli div.liwrap a 
{  
   /*  width:100px;*/  /* line break of long menu items for large screen*/
     }
     

     
     li.secondli div.liwrap ul.sub-menu a,li.firstli div.liwrap ul.sub-menu a {
 width: auto;
 /* margin-left: 20px !important; */
 padding-bottom: 10px;
}
li.secondli div.liwrap ul.sub-menu li:nth-child(1) a,li.firstli div.liwrap ul.sub-menu li:nth-child(1) a {
  margin-left: 0px !important;
}
     
  .nav-menu   li.secondli div.liwrap .sub-menu li a,.nav-menu   li.firstli div.liwrap .sub-menu li a {
margin-top: 0px;
margin-right: 10px;
margin-bottom: 0px;
margin-left: 0px;

}
/*
 .nav-menu   li.secondli div.liwrap .sub-menu li#menu-item-525 a{
padding-right: 0px; 
margin-right: 0px;
}

li#menu-item-518, li#menu-item-657 {
padding-right: 38px; 
}
*/


input[type=number] {
-moz-appearance: textfield;
}
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

div.gallery-page-cont{
	
margin-right: 0px;
	
margin-left: 0px;
	
margin-top: 34px;
}
.rsDefault .rsThumbsHor .rsThumbsArrowRight {
    right: 9px;
    top: 0;
}


.rsDefault .rsThumbsHor .rsThumbsArrowRight .rsThumbsArrowIcn {
    background-position: 0px 0px !important;
}

.rsDefault .rsThumbsHor .rsThumbsArrowLeft .rsThumbsArrowIcn {
    background-position: 0px 0px !important;
}


.rsDefault .rsThumbsHor .rsThumbsArrowRight .rsThumbsArrowIcn {

width: 30px;
height: 30px;

top: 50%;
left: 50%;
/*margin-top: -8px;
margin-left: -8px;

*/
position: absolute;
cursor: pointer;
background: url(/assets/images/next.png) no-repeat top left;

}


.rsDefault .rsThumbsHor .rsThumbsArrowLeft .rsThumbsArrowIcn {

width: 30px;
height: 30px;

top: 50%;
left: 50%;
/*margin-top: -8px;
margin-left: -8px;

*/
position: absolute;
cursor: pointer;
background: url(/assets/images/prev.png) no-repeat top left;

}

.rsDefault.rsHor .rsArrowLeft .rsArrowIcn {
 
margin-top: -8px;
margin-left: -8px;

background-color: #000;
background-color: rgba(0, 0, 0, 0.75);
border-radius: 0px;

width: 30px;
height: 30px;

top: 50%;
left: 50%;
position: absolute;
cursor: pointer;
background: url(/assets/images/prev.png) no-repeat top left;

} 
.rsDefault.rsHor .rsArrowRight .rsArrowIcn {
 
margin-top: -8px;
margin-left: -8px;

background-color: #000;
background-color: rgba(0, 0, 0, 0.75);
border-radius: 0px;

width: 30px;
height: 30px;

top: 50%;
left: 50%;
position: absolute;
cursor: pointer;
background: url(/assets/images/next.png) no-repeat top left;

}

.rsDefault .rsThumbsArrow {
height: 100%;
width: 25px;
position: absolute;
display: block;
cursor: pointer;
z-index: 21;
background: none;
}
 .rsDefault .rsThumbsArrow:hover {
background: none;
}


div#gallery-1.rsFullscreen .rsOverflow {
background: #000 !important;
}

div#gallery-1.rsFullscreen {
background-color: #000 !important;
}

div#gallery-1.rsFullscreen.rsDefault, div#gallery-1.rsFullscreen .rsOverflow, div#gallery-1.rsFullscreen .rsSlide, div#gallery-1.rsFullscreen .rsVideoFrameHolder, div#gallery-1.rsFullscreen .rsThumbs {
background: #000;
color: #000;
}

div#GalPager {margin-top: 55px;margin-left: 20px;margin-left: -4px;padding-right: 30px;background: transparent; }
/*test pvh*/
div#gallery-1 {margin-top: 26px;margin-left: 4px;width: 95% !important;}
div#gallery-1.rsFullscreen {
width: 100% !important;
}

div#GalPager,div#gallery-caption-custom  {
margin-top: 56px;
}


.gal-top-text{
	margin-top: 38px;
	margin-bottom: -69px;
	padding-left: 18px;
}

body.page-template-page-collezione-php .rsGCaption {
	width: 100%;
	float: none;
	text-align: left;
	font-size: 0.8em;
}

.main-autore{
	
font-family: 'AtlasGroteskMedium' !important;
}


ul.flex-direction-nav{display: none;}

div.entry-slides div.caption.hidden {
	
	display: block !important;
	visibility: visible !important;
	color: black;
} 
div.entry-slides div.caption.hidden {
	
	display: block !important;
	visibility: visible !important;
	color: black !important;

width: 87.1% !important;
padding: 0px 0 23px 0 !important;
font-family: 'AtlasGroteskRegular' !important;
font-size: 0.9em !important;
line-height: 18px !important;
color: #000 !important; 
float: left !important;
margin-left: 0px !important;
}


li.event-item{
	list-style-type: none; display: inline;
}

div.events{
	
	max-width: 193px;
	float: left;
	margin-left: 16px;
		
	/* margin-bottom: 66px; */
		
	min-height: 310px;
	width: 22%;
	min-width: 180px;
}

li.event-item {
  min-width: 250px;
}
li.event-item img {
  width: 100%;
}

li.event-item {
  list-style-type: none;
  display: inline;
}

div.events{
	}
	
div.event-list-cont div.row{
	
}

.form-allowed-tags{display:none;}



.fullslider{height: 100%;
            left: 0;
            list-style: none outside none;
            margin: 0;
            padding: 0;
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 400;}

.fullslider .wp-post-image{width:auto;}


.home .header-wrapper{position:absolute;;top:0px;left:0px;}


.slider-cntr{float:left;position:relative;width:100%;}


.bx-controls-direction{

bottom: 50% !important;

height: 100%;

left: 0;

position: fixed;

width: 100%;

padding:0px 1%;
}





.bx-prev{
    float:left;
    background:none;
    width: 40px;
    height: 35px;
    text-indent: -9999px;
    width: 50%;
    height: 100%;
}

.bx-prev:hover{
	    background:url(images/prev.png) no-repeat top left;
	    background-position-y: 56%;
	    background-position-x: 2%;
	}



.bx-next{
    float:right;
    background:none;
    width: 50%;
    height: 100%;
    text-indent: -9999px;
    background-position-x: -13px;
}

.bx-next:hover{
    background:url(images/next.png) no-repeat top left;
    background-position-y: 56%;
    background-position-x: 99%;
 }


/*.slidedescriptionwrapper{float:left;width:100%;position:absolute;bottom:10%;left:10%;}*/


/*body{overflow-x:hidden;}
*/

#homefooter{
	background-color: #D9524B;
}
 
html,.home,.home #main,.home .slider-cntr,.home .bx-wrapper,.home .bx-viewport{height: 100%!important;}

.fullslider li{height:100%;}
 



.desktopimage{display:block;}
.ipadimage{display:none;}


 

/* default template*/
body.page-template-default div#content, body.single-news div#content, div.not_found{
	/*
	margin-left: 41px;
	margin-top: 48px;
*/
	margin-top: 31px;
	margin-bottom: 70px;
}
.row {
 margin-right: 0px !important;
 margin-left: 0px !important;
}




/*.nav-menu .thirdli .sub-menu{display:block!important;}*/


body.home div.site {
    background-color: #000;

}


 .image-wrapper {

        background: #1E1E1E url('loader.gif') center center no-repeat;
        width: 100%
    }
 .b-lazy {
            max-width: 100%;
        }
.b-lazy {
        -webkit-transition: opacity 500ms ease-in-out;
           -moz-transition: opacity 500ms ease-in-out;
             -o-transition: opacity 500ms ease-in-out;
                transition: opacity 500ms ease-in-out;
                 max-width: 100%;
                   opacity: 0;
    }
    .b-lazy.b-loaded {
                   opacity: 1;
    }
    
    div.b-lazy{
    
/*    background-position: 50% 50% !important;
background-repeat: no-repeat !important;
*/
background: no-repeat center center fixed;

    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-size: cover !important;



}


/* catalogo*/

.noUi-handle {
    border-radius: 0px;
    background-color: #fff; /* For Safari 5.1 to 6.0 */
    background-size: 100% 100%;
    background-repeat: no-repeat;
    cursor: col-resize;
    box-shadow: none;


  background-image: url('/assets/js/handle.gif')!important;
background-size: 100% 100%!important;
background-repeat: no-repeat!important;
    border: 1px solid #f95140 !important;

}
.event-search {
    /* margin-top: 17px; */
}	
.searchandfilter .noUi-horizontal .noUi-handle {
  width: 24px;
  height: 24px;
  top: -5px;
  border-radius: 0px !important;
  left: -12px;
}
.searchandfilter .noUi-connect {
  background-color: #F28D75;
  border-radius: 0px !important;
    box-shadow: none;

}

.searchandfilter .noUi-horizontal.noUi-extended {
  padding: 0 10px !important;
  margin-top: 18px !important;
  margin-bottom: 23px !important;
}

.searchandfilter ul {
  display: block;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 0px;
  padding-left: 0px;
}
	#counter{
		margin-top: 10px;
		padding-left: 0px;
		font-size: 15px;
		font-family: 'AtlasGroteskRegular',sans-serif !important;
	}
#sponsors {
  /* z-index: 1 !important; */
  /* position: fixed !important; */
  /* width: 482px; */
  /* height: 63px; */
  /* bottom: 10.2%; */
  /* right: 1%; */
}

/*
#sponsors img{
	width: 100%;
	
}*/
#search-section
{
	width: 100%;
	margin-top: -10px;
}

#search-section form.searchandfilter{
	  padding-top: 0px;
	  float: left;
	  width: 200px;
	  /*height: 8200px;*/
	  margin-top: 9px;
}

.searchandfilter .range-max, .searchandfilter .range-min {
  max-width: 84px;
  WIDTH: 55px;
}


#catalogo-results a:link,#catalogo-results a:visited, #catalogo-results a:active{
	  font-size: 12px !important;

	}
	
.catalogo-back {
  margin-top: 24px;
  margin-bottom: -4px !important;
  
  background-image: none;
  background-color: none;

}
	
.catalogo-back a{
color:#FD5222;

}

.pannello{
	
	border-bottom: solid 1px #ccc;
padding-bottom: 20px;
	margin-bottom: 25px;
}
.pannello-title{
	
	font-size: 23px;
	color: #fd523f;
	padding-left: 0px;
}

 
ul#catalogo-results{
	MARGIN-LEFT: 190px;
	margin-top: 0px;
}
ul#catalogo-results li.box{	
width:23%;
float: left;
list-style-type: none;
padding-right: 15px;
min-width: 180px;
}

.pagination {
  display: inline-block;
  padding-left: 0;
  /* margin: 20px 0; */
  border-radius: 4px;
  text-align: center;
  width: 100%;
}

.pagination div.button, .pagination div.nav-next {
	float: left;
  margin-right: 20px;
}
.row.footer-menu-cont2 {
    margin-bottom: 8px;
}

.footer-menu-cont ul {
    padding-left: 0px;
}
.liwrap ul {
    padding-left: 0px;
}
li.sf-field-search input {
  width: 190px;
   height: 38px;
  padding-left: 7px;
  margin-left: 0px;
  }

li.sf-field-submit input{
  border: 0px solid #e80000;
  background: #fd523f;

  padding: 3.5px 15px;
 
  /* text-shadow: #f54747 0 1px 0; */
  color: #ffffff;
  font-size: 15px !important;
  text-decoration: none;
  vertical-align: middle;
  font-family: 'AtlasGroteskMedium',sans-serif !important;
  height: 36px;
}
   
	
	
#navbar .nav-menu li.thirdli ul.sub-menu ul.sub-menu, #navbar .nav-menu li.thirdli ul.sub-menu2 ul.sub-menu2 {
    padding-top: 0px;
}

#navbar .nav-menu li.thirdli ul.sub-menu, #navbar .nav-menu li.thirdli ul.sub-menu2 {
    padding-top: 20px;
}


#sostieni {
    width: 100px;
    height: auto;
    position: absolute;
    right: 30px;
    bottom: 30px;
    z-index: 999;
}


.pagination div.button a, .pagination div.nav-next a, .pagination div.button a:link, .pagination div.nav-next a:link,.pagination div.button a:visited, .pagination div.nav-next a:visited {
border: 0px solid #e80000;
   background: #fd523f;
 
   padding: 10.5px 21px;
  
   color: #ffffff;
   font-size: 15px !important;
   text-decoration: none;
   vertical-align: middle;
           font-family: 'AtlasGroteskBold',sans-serif !important;

   }
.pagination div.button a:hover, .pagination div.nav-next a:hover {
  border: 0px solid #0a3c59;
  
   color: #fff !important;   
           font-family: 'AtlasGroteskBold',sans-serif !important;
}
.pagination div.button a:active, .pagination div.nav-next a:active {
    text-shadow: #c70a0a 0 1px 0;
   border: 0px solid #0a3c59;
   background: #a31515;
      color: #fff !important; 
           font-family: 'AtlasGroteskBold',sans-serif !important;
  }


.search-filter-results .wp-pagenavi{
	display: none;
}
/*klammer zu hier??*/


.clear{
	clear:both;
}
img.search-img{
	 position: absolute;
    left: 0;
    bottom: 0;
}
div.search-img{
	
		height: 150px !important;
vertical-align: bottom;
 position: relative;
}
div.search-text{
	  height: 110px !important;
	  margin-bottom: 30px;
	  color: black;
	
}
.search-autore{
font-size:13px !important;
        font-family: 'AtlasGroteskBold',sans-serif !important;
color: black;
}
.search-titolo{
font-size:13px !important;
        font-family: 'AtlasGroteskRegular',sans-serif !important;
color: black;
}
/*

.search-titolo:hover{
border-bottom-color: #F95647;
}
*/

.footer-menu-cont2{
	display: block;
}

.cat-hover{
	
	color:#f95647 !important;
}
a.result-box-link *:hover{
	
	color:#f95647 !important;
	text-decoration: none;
}

li.box{
    margin-left:28px;
    }
body.single-catalogo div.entry-content {
  margin-left: 40px;
  margin-top: 30px;
}
table#opera-table{
	
	margin-top: 40px;
}
td.legend{
	
font-family: 'AtlasGroteskBold';
    min-width: 150px;

}

a.single-zoom{
	
	float: left;
	margin-right: 47px;

}

body.single-catalogo a.single-zoom{
	
	float: none;
	margin-right: 47px;

}

div.simplesocialbuttons{
	
	clear: none !important;
}

div.simplesocialbutton {
  margin-bottom: 20px;


}

div.simplesocialbuttons a {
  padding-right: 10px;
  /* margin-top: -66px; */
}
.simplesocialbuttons img {
    height: 33px;
}

body.page-template-page-collezione div.simplesocialbutton {
  float: left;
  margin-left: 18px;
}

body.page-template-default div.simplesocialbuttons {
  padding-top: 40px;
  width: 500px !important;
  float: none;
  clear: both !important;
  margin-left: 15px;
}

.related-link{float:left; width:100%; margin:25px 0 0;}
.related-link .title {
  color: #ff543f!important;
  font-size: 11px;
  line-height: 9px;
  font-family: 'AtlasGroteskBold';
  padding: 5px 10px;
  border: 1px solid #ff543f;
  width: 98px;
  margin-bottom: 20px;
}
.related-link ul{float:left; width:81%; margin:12px 0 0;  padding:0; list-style:none;}
.related-link ul li{float:left;width:100%;margin:0 0 7px 0;position:relative;background-color: #ff543f;}
.related-link ul li .name{color:#fff; font-size:12px; font-family: 'AtlasGroteskBold'; position:absolute; left:10px; bottom:10px;}


.related-link a div.positiv {
	
	color:#fd523f;
}

li.bawmrp_manual{
	
	float:none;width:254px;
	height:15px;list-style:none;
	
}

.related-link ul li.bawmrp_manual a div.name {
	letter-spacing: 0.0010em;
  color: #fff;
  font-size: 12px;
  font-family: 'AtlasGroteskMedium';
  position: absolute;
  left: 10px;
  bottom: 16px;
}

.related-link ul li.bawmrp_manual a div.positiv {
	color:#fd523f !important;
  font-family: 'AtlasGroteskBold';
  position: absolute;
  left: 0px; 
  bottom: 0px;
}


div.mobile-back{
	
	display: none;
}

ul.child-pages{
	
	margin-top: 0px;
}

/*
div.child-pages-listing ul li ul li.page_item {
    padding-bottom: 0px;
    border: solid 1px black;
}*/

/* pvh end*/


@media only screen and (max-width:1340px){
    .site-header{width: 100%;/* min-width: 900px; */}

/* .slider-container {height: 280px !important;}*/
}



@media only screen and (max-width:1024px){
    .site-header{width: 100%;min-width: 700px;}
    .right-flag{width:22.8%;}
    .fullslider .wp-post-image{max-width:auto!important;width:auto!important;}
    img{max-width:auto!important;}\
    .caption{width:87.4%;}


    .desktopimage{display:none;}
    .ipadimage{display:block;}
    
    .caption{width:100%;transform:none;}
    .caption-inner{transform:none;}

/*.slider-container {height: 280px !important;}*/

}
/***	
Tablet Layout: 768px.
Inherits styles from: Default Layout.
***/
@media only screen and (min-width: 768px) and (max-width: 991px) {


    .site-header{width:100%;min-width: 700px;}

/*    .skewclass{margin-left:-5%;}*/


    .slider-container{width: 100%;}
    .desktop-langselector{margin-right:0px;padding: 12px;}


/*    .logo-wrapperinner{width:38%;}*/



    .nav-menu li a{min-height:auto;}
    .nav-menu li .sub-menu li a,  .nav-menu li .sub-menu2 li a{margin-bottom:10px;}

     li.secondli div.liwrap ul.sub-menu a,li.firstli div.liwrap ul.sub-menu a {
 width: auto; 
}

#sponsors {

    bottom: 20.2%;
}


}

/***	
Mobile Layout: 320px.
Inherits styles from: Default Layout.
***/
@media only screen and (max-width: 767px) {


.site-main .sidebar-container {
     margin-left: 0;

}

div.desktop-langselector {

    top: 0px;
}
.search-button {
display: none;
}

.related-link {

    position: relative;
    left: -16px !important;
}
    .logo-wrapper{width:100% !important;margin:0px !important;border:0px !important;background-color:#FF4733 !important;padding:10px 2% !important;float:left !important;}  
    .site-header .home-link{position:relative;top:0px;left:0px;}
    .site-header{width:100%;}
    .mobile-langselector{position:relative;z-index: 200; background:transparent; display: block; float: right;padding:15px 0 0 0; }
    .nav-menu li {
        border: 0 none !important;
        float: left;
        margin: 0 !important;
        width: 100% !important;
        padding:14px 5% !important;
        
                /* margin-left: 0px; */

        
    
}

body.home img.top-logo {
    margin-left: -16px;
    margin-top: -7px;
}
#sponsors {
	display: none;
	
}

.mobile-message-bando
{
	display: block;
}
.desktop-message-bando
{
	display: none;
}
#cookie-law-info-bar{
bottom: -10px !important;
    border-top:none !important;
font-family: 'AtlasGroteskRegular', Helvetica, sans-serif !important;
font-weight: normal !important;

}
div#cookie-law-info-bar span{
bottom: -10px !important;
    border-top:none !important;
font-family: 'AtlasGroteskRegular', Helvetica, sans-serif !important;
font-weight: normal !important;

}

.slidedescription{
	
	left:2%;bottom:3%;
	
}

.rsThumbs {

  margin-left: -13px;}
  
  .rsDefault .rsThumbsArrow {

  margin-left: 7px;}

.child-pages, .event-list-cont {
  float: left;
  width: 100%;
  margin: 30px 0 0 0px;
  }
  
  div.events {
float: left;
  margin-left: 0px;
  /* margin-bottom: 66px; */
  min-height: 310px;
  width: 49%;
  min-width: 90px;
  /* margin-right: 23px; */
  padding-right: 15px;
}  
div.bx-controls{
	
	display: none;
}

body.page-template-default div.simplesocialbuttons {

  margin-left: 0px;
}

div#GalPager, div#gallery-caption-custom {
  margin-top: 0px;
}

div#GalPager  {
margin-top: 15px;
padding: 0;
}

.col-xs-12
{
	padding-left: 0px;
	
}
.site-header {
  width: 100%;
   min-width: 100%; 
}
.breadcrumb-mob span {
  letter-spacing: 0.015em;
  padding-right: 3px !important;
  padding-left: 0px; 
  text-decoration: none;
  margin-left: -5px;
}

div#gallery-1 {
  margin-left: 2px; 
  width: 95% !important;
}
div.mobile-back{
	
	display: block;
}
.breadcrumb-mob a{
	
  background: #ed5640c2;
  display: inline-block;
  margin: 10px 0px 0px 4px;
  padding: 5px 8px;
  margin-bottom: 21px;
  min-width: 150px;
  padding-left: 10px;
padding-top: 8px;
padding-bottom: 8px;
}

.breadcrumb-mob span{
	letter-spacing: 0.015em;
padding-right: 3px !important;
 padding-left: 3px;
 text-decoration: none;
}
.breadcrumb-mob span:hover{
 text-decoration: none;
}

.sottopagine-text {
  margin: 15px 0 0 0px;
}

.breadcrumb-mob span{font:13px/13px 'AtlasGroteskRegular',Arial;color:#fff;}
.breadcrumb-mob a{color:#fff; letter-spacing: 0.015em}

.mobilemenucntr{display:none;}


body.page-template-default div#content, body.single-news div#content{
	
	margin-left: 21px;
	margin-top: 48px;

    width: 90%;
}

/* .child-pages-listing{
	display: none;
} */

ul.child-pages{
	
	margin-top: 15px
}

/* div.sidebar-inner .breadcrumb-mob{
	
	  margin-left: -33px;
} */

        div.desktop-langselector{display: none;}

        div.mobile-langselector li a
{ font-family: 'AtlasGroteskRegular';	
	font-size: 1em !important;
	margin-right: 12px;

}
    
    div.mobile-langselector li a.lang_sel_sel{
font-family: 'AtlasGroteskBold' !important;	
	color: #fff !important;
	background: transparent;
	font-size: 1em !important;

}

    div.mobile-langselector li a.lang_sel_other{
font-family: 'AtlasGroteskRegular' !important;	
	color: #fdb6a7 !important;
	background: transparent;
	font-size: 1em !important;

}

.row{
	margin-right: 0px;
  margin-left: 0px;
}

#lang_sel_list a, #lang_sel_list a:visited {padding: 0;}
div.mobile-langselector li a {margin-right: 0;}
div.mobile-langselector li.icl-en a {margin-left: 0	px;}
div.mobile-langselector li.icl-it a {margin-bottom: 10px;}

     li.secondli div.liwrap ul.sub-menu li a,li.firstli div.liwrap ul.sub-menu li a {
 width: auto; 
  margin-left: 0px !important;
  padding-bottom: 0px;
}

/*
        li.secondli div.liwrap ul.sub-menu li a,li.firstli div.liwrap ul.sub-menu li a, li.thirdli div.liwrap ul.sub-menu li a,li.fourthli div.liwrap ul.sub-menu li a   {
 width: auto; 
  margin-left: 14px !important;
}*/
div#lang_sel_list ul {width:26px;}
    
    .nav-menu li a{margin:0 0px 0 0px!important;padding:0px;font: 21px/21px 'AtlasGroteskBold',Arial;}

    .nav-menu li .sub-menu li,     .nav-menu li .sub-menu2 li{padding:0px!important;background:none!important:}
    .nav-menu li .sub-menu li a,.nav-menu li .sub-menu2 li a{font-size:18px;}
    .nav-menu .thirdli .sub-menu li{/* width:33%!important; */}
    .nav-menu .sub-menu li a,  .nav-menu .sub-menu2 li a{font-size:16px;}
    .nav-menu .thirdli .sub-menu li{/* min-height:55px; */}
    /*    .nav-menu .secondli .sub-menu li{min-height:60px;}*/
    .nav-menu li .sub-menu,.nav-menu li .sub-menu2{width:100%;margin:0px;}
    .nav-menu li .sub-menu a,.nav-menu li .sub-menu2 a{margin:0px 27% 0px 0px!important;}
    /*    .header-wrapper{margin-top:-46px;}*/
    .site-header .home-link{float:left;width:59%;}
    nu li{min-height:52px;}



    .logo-wrapperinner,.nav-menu li .sub-menu li,.logo-wrapper,.liwrap{transform:none;
                                                                       -webkit-transform:none; 
                                                                       -moz-transform:none; 
    }





/* catalogo*/
ul#catalogo-results {
  MARGIN-LEFT: -28px;
  margin-top: 10px;
  padding-left: 0px;
}
#search-section {
 padding-top: 0px;
 float: none;}


    /*inner page*/
    .slider-container{display:none;}
    .page-template-home-page-php .logo-wrapper{margin:0px;padding:10px 0 10px 2%}
    #lang_sel_list ul a, #lang_sel_list_list ul a:visited, #lang_sel_list a.lang_sel_sel{color:#fff;}
    #primary{width:100%;padding:0px;}
    #content{margin:0 auto;width:96%;} /* was 39 pvh*/
    #tertiary{width:100%;padding:0px;}
    .child-pages{margin:50px 0 0;}
    .child-pages li{margin:0px 0px 2% 0px;width:100%;}
    .child-page-title{float:none;display:inline-block;}
    .child-pages-listing{width:81%;margin:0px;}
    .related-link ul{width:100%;}
    .mobile-clear{float:left;width:100%;padding:40px 0px;}
    .site-main .sidebar-inner{float:none;width:96%;margin:0 auto;} /* was 39 pvh*/



    .mobilemenucntr{float:left;width:100%;display:block;}
    .mobile-menutopcntr{float:left;width:100%;background:#ed5640c2;font:18px/18px 'AtlasGroteskBold',Arial;color:#fff;padding:21px 21px 11px}
    .mobile-menu{float:right;}
    .mobile-title{float:left;}
    .mobile-menu a{color:#fff;}
    .mobile-menubtmcntr{float:left;width:100%;display:none;}
    .mobile-menubtmcntr a{text-decoration:none;}
    .mobile-menubtmcntr a:hover{text-decoration:none;}
    .mobile-menubtmcntr ul{float:right;width:100%;background:#ED5640;list-style:none;padding:0px;margin:0px;z-index: 1999}
    .mobile-menubtmcntr ul li a span{float:right;background:url("images/down-arrow.png") no-repeat scroll right center transparent;width:11px;height:6px;margin-top:8px;}
    .mobile-menubtmcntr ul li a{width:100%;border-bottom:1px solid #fff;float:left;text-decoration:none;padding:5px 21px;color:white;}
    .mobile-menubtmcntr ul li a:hover{background:#f58d81;}
    .mobile-menubtmcntr ul ul{width:100%;display:none;}
    .mobile-menubtmcntr ul li:hover ul{display:block;}
    .mobile-menubtmcntr ul ul li a{width:100%;padding:5px 10%;}
    .mobile-menubtmcntr ul ul ul li a {width: 100%;padding: 5px 15%;}
    .mobile-menu a img{margin:-4px 0 0 0;}


    .home .site-header .home-link{top:0px;position:relative;width:55%;left:0px;}
 
 

    .cbp-bicontrols{bottom:30%;} 
    .desktop-langselector{display:none;}


    .mobile-menutopcntr{margin-top:80px;}


    .page-template-home-page-php .logo-wrapper{background:none repeat scroll 0 0 #FD523F;}



    .mobile-langselector{  padding: 4px 1% 0 0;}
    
    .page-template-home-page-php .mobile-langselector{padding:0px 1% 0 0;}

    .home .header-wrapper{position:relative;}




    .bx-controls-direction{bottom:30%!important;}



    .fullslider .wp-post-image{max-width:none!important;width:auto!important;}

    img{max-width:none!important;}


    .navbar{/* margin-left: -26px; */
    width: 100% !important; /*  pvh was 104*/
    }




.nav-menu li.firstli div.liwrap a 
{  
	/*
    width:760px !important;
   
   */
    }


.no-margin li{
	height: auto;
	}


img.top-logo{
	
	margin-left: 0px;
	    margin-top: 12px;
}


body.home .main-navigation {
    margin-top: 0px;
}

a.front-menu.front3 {
    position: relative;
    top: 2px;
} 


.nav-menu .firstli {
	background-color: rgba(253, 82, 63, .8);

	
}

.nav-menu .secondli {
	background-color: rgba(253, 82, 63, .6);

	
}
.nav-menu .thirdli {
	background-color: rgba(253, 82, 63, .4);
	
	padding-top: 6px !important; /*$$*/
}

.bgred{
	background-color: rgba(253, 82, 63, 1) !important;
	  transition: all 0.7s ease-out !important;

	
}
.footer-menu-cont2{
	display: none;
}



.slidedescriptionwrapper {
        bottom: 50px;
}

#slide-footer{
	display: none;
}


img.size-Articolo-standard {
    max-width: 100% !important;
}

}

/***	
Wide Mobile Layout: 480px.
Inherits styles from: Default Layout, Mobile Layout.
***/
@media only screen and (min-width: 480px) and (max-width: 767px) {

    /*    #primary{width:100%;padding:0px 22%;}
        #tertiary{width:100%;padding:0px 22%;}*/



   img.top-logo {

  margin-left: 6px;
}

/* body.home img.top-logo {

  margin-left: -46px;
}
 */




}


@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) 
and (orientation : portrait)
{
    #content{width:82%;}
    .site-main .sidebar-inner{width:82%;}
    img.top-logo {

}


@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) 
and (orientation : landscape)
{
    #content{width:34%;}
    .site-main .sidebar-inner{width:54%;}

    .home #masthead{display:none;}

   img.top-logo {

  margin-left: -46px;
}

}







@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 144dpi)
.chosen-rtl .chosen-search input[type="text"], .chosen-container-single .chosen-single abbr, .chosen-container-single .chosen-single div b, .chosen-container-single .chosen-search input[type="text"], .chosen-container-multi .chosen-choices .search-choice .search-choice-close, .chosen-container .chosen-results-scroll-down span, .chosen-container .chosen-results-scroll-up span , body #primary #content .chosen-container-single .chosen-single div b{

    background-size:auto !important;
    background-repeat: no-repeat !important; 
    
    background: url(/assets/images/chosen-ac.png) 0 11px no-repeat !important;
    background-image: url(/assets/images/chosen-ac.png) !important; 

}

