::selection {
    color: #fff;
}

body,
html {
    /* font-display: optional; */
}

body {
    background-position: center top;
    background-size: auto;
    background-repeat: repeat;
    background-attachment: fixed;
}

body.home header#site-header {
    margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
header#site-header .site-title {
    font-weight: normal;
    /* font-display: optional; */
}

h1 {
    font-size: 40px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 20px;
}

figure a {
    line-height: 0;
    display: block;
}

#toTop {
    display: block;
    position: fixed;
    bottom: -50px;
    right: 40px;
    cursor: pointer;
    padding: 5px;
    font-size: 20px;
    opacity: 0;
    z-index: 251;
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 0 1px rgba(0, 0, 0, .28);
    transition: all .3s ease-in-out;
    background-color: rgba(0, 0, 0, 0.15);
    line-height: 42px;
    text-align: center;
    font-size: 40px;
    width: 60px;
    height: 60px;
}

#toTop:focus {
    outline: 0;
}

#page {
    max-width: 1260px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-flow: row wrap;
}

header#site-header {
    flex: 0 0 100%;
    margin-bottom: 10px;
}

header#site-header .site-branding {
    min-height: 150px;
}

header#site-header .site-title {
    display: inline-block;
    margin-top: 14px;
    margin-bottom: 10px;
    line-height: 1.2em;
}

header#site-header .site-description {
    margin-top: 4px;
    margin-bottom: 0;
    line-height: 20px;
    padding: 0 2px 20px;
}

header#site-header #site-navigation {
    font-size: 16px;
    min-height: 68px;
}

header#site-header #site-navigation a {
    padding: 18px;
}

header#site-header #site-navigation button.menu-toggle {
    background: none;
    border: none;
    border-radius: 0;
    font-size: 28px;
    outline: none;
    font-weight: bold;
}

header#site-header #site-navigation button.menu-toggle>i {
    margin: -2px 0 2px;
    display: block;
    cursor: pointer;
}

header#site-header #site-navigation ul ul {
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.2);
}

header#site-header #site-navigation ul ul a {
    width: 300px;
}

header#site-header #site-navigation .sub-menu {
    flex-direction: column;
}

header#site-header #site-navigation #primary-menu>.menu-item-has-children>a::after {
    content: "\025BE";
    display: inline-block;
    font-size: inherit;
    text-rendering: auto;
    padding-left: 6px;
    font-size: 16px;
}

header#site-header #breadcrumb > a:first-child {
    text-decoration: none;
}

main#site-main {
    width: calc(100% - 360px);
    margin-right: 10px;
}

main#site-main.fullwidth {
    width: 100%;
    margin-right: initial;
}

main#site-main.homepage {
    width: 100%;
    margin-right: 0;
}

aside#site-sidebar {
    width: 350px;
}

.searchform {
    display: block;
    height: auto;
    position: relative;
    overflow: hidden;
}

.searchform input[type="search"] {
    display: block;
    float: left;
    font-size: 18px;
    padding: 0 50px 0 10px;
    height: 52px;
    width: 100%;
    line-height: 1;
    border-radius: 0;
    outline: none;
}

.searchsubmit[type="submit"] {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    height: 52px;
    width: 52px;
    padding: 0;
    font-size: 18px;
    background: transparent;
    z-index: 4;
    border: none;
    box-shadow: none;
    cursor: pointer;
    border-radius: 0;
    color: white;
}

footer#site-footer {
    margin-top: 10px;
    flex: 0 0 100%;
}

footer#site-footer #footer-menu {
    list-style: none;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

header#site-header .site-branding .site-title {
    font-size: min(max(16px, 8vw), 54px) !important;
}

header#site-header .site-branding .site-description {
    font-size: min(max(10px, 4vw), 16px) !important;
}
 
/* .azole-slider-container {
    width: 100%;
    margin: 0 auto;

}

.azole-slider {
    position: relative;
    overflow: hidden;
    /* border-radius: 4px; 

.azole-slider hr {
    display: none;
}
  
.azole-slider ul {
    position: relative;
    margin: 0;
    padding: 0;
    height: 700px;
    list-style: none;
    overflow: hidden;
    display: flex;
}
  
.azole-slider ul li {
    position: relative;
    display: flex;
    float: left;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 700px;
    background: #f7f7f7;
    text-align: center;
    /* line-height: 700px;
    background-position: center center;
    background-size: contain;
    align-items: center;
    justify-content: center;
    background-repeat: no-repeat;
}

.azole-slider .slide-image,
.azole-slider .slide-content{
    position: absolute;
}

.azole-slider .slide-image {
    display: block;
    width: 100%;
    height: auto;
}

.azole-slider .slide-title {
    font-size: min(max(16px, 3vw), 62px) !important;
    line-height: normal;
}

.azole-slider .slide-description {
    font-size: min(max(14px, 2vw), 22px) !important;
    line-height: normal;
}

.azole-slider .slide-title,
.azole-slider .slide-description {
    display: block;
    clear: both;


}
.azole-slider .call-to-action {
    display: inline-block;
    clear: both;
}
  
a.control-prev, a.control-next {
    position: absolute;
    top: 300px;
    z-index: 999;
    display: block;
    /* padding: 30px 30px;
    width: 60px;
    height: 100px;
    line-height: 94px;
    background: #2a2a2a;
    color: #fff !important;
    text-decoration: none;
    font-size: 32px;
    opacity: 0.8;
    cursor: pointer;
    text-align: center;
}

a.control-prev:focus,
a.control-next:focus {
   outline: 0;
}

  
a.control-prev:hover, a.control-next:hover {
    opacity: 1;
    transition: all 0.2s ease;
    color: #fff;
}
  
a.control-prev {
    border-radius: 0 2px 2px 0;
}
  
a.control-next {
    right: 0;
    border-radius: 2px 0 0 2px;
}
  
.slider_option {
    position: relative;
    margin: 10px auto;
    width: 160px;
    font-size: 18px;
} */

.display-window-inner {
    display: flex;
    justify-content: space-evenly;
}

.call-to-action {
    border-radius: 3px;
    line-height: 1;
    padding: 0.6em 1em 0.4em;
}

.display-window-review {
    flex: 0 0 calc(24% - 0.5em);
}

.display-window-container img {
	overflow-y: hidden;
	object-fit: cover;
}



/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 * Inizio - Slider
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

 a.control-prev, a.control-next {
    position: absolute;
    top: calc(50% - 50px);
    z-index: 999;
    display: block;
    /* padding: 30px 30px; */
    width: 60px;
    height: 100px;
    line-height: 94px;
    background: #2a2a2a;
    color: #fff !important;
    text-decoration: none;
    font-size: 32px;
    opacity: 0.8;
    cursor: pointer;
    text-align: center;
}

a.control-prev:focus,
a.control-next:focus {
   outline: 0;
}

  
a.control-prev:hover, a.control-next:hover {
    opacity: 1;
    transition: all 0.2s ease;
    color: #fff;
}
  
a.control-prev {
    border-radius: 0 2px 2px 0;
}
  
a.control-next {
    right: 0;
    border-radius: 2px 0 0 2px;
}

.azole-slider hr {
    display: none;
    width: 90%;
}

.azole-slider-container {
    position: relative;
    width: 1260px;
    max-height: 700px;
    overflow: hidden;
}

.azole-slider ul li {
    display: block;
    width: 1260px;
    max-height: 700px;
    text-align: center;
}

.azole-slider ul {
    margin-left: -1260px;
    display: flex;
    list-style: none;
    padding: 0;
    position: relative;
}


.azole-slider .slide-content {
    position: absolute;
    width: 1260px;
    height: 700px;
    top: 0;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

.azole-slider .slide-image {
    display: block;
    width: 100%;
    height: auto;
}

.azole-slider .slide-title {
    font-size: min(max(16px, 3vw), 62px) !important;
    line-height: normal;
}

.azole-slider .slide-description {
    font-size: min(max(14px, 2vw), 22px) !important;
    line-height: normal;
}

.azole-slider .slide-title,
.azole-slider .slide-description {
    display: block;
    clear: both;
}

.azole-slider .call-to-action {
    display: inline-block;
    clear: both;
}

.page-template-template-homepage .azole-display-posts-container {
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
}

.page-template-template-homepage .azole-display-posts-container .col-half {
    flex: 0 0 49%;
}


@media only screen and (max-width: 1260px) {
    .azole-slider-container,
    .azole-slider,
    .azole-slider ul li,
    .azole-slider .slide-content  {
        width: 100vw;
        height: calc(55.56vw);
    }

    .azole-slider ul {
        margin-left: -100vw;
    }

    .azole-slider .slide-image {
        width: 100%;
        height: calc(55.56vw);
    }
}

@media only screen and (max-width: 799px) {
    .azole-slider .slide-title {
        margin: 20px 110px;
    }

    .azole-slider .slide-description {
        margin: 10px 110px;
    }

    .azole-slider .call-to-action {
            margin: 4px;
    }

    .page-template-template-homepage .azole-display-posts-container {
        display: block;
    }
}

@media only screen and (max-width: 599px) {
    a.control-prev,
    a.control-next {
        width:40px;
        height: 60px;
        line-height: 54px;
        top: calc(28vw - 30px);
    }

    .azole-slider-container,
    .azole-slider,
    
    .azole-slider ul li,
    .azole-slider .slide-content {
        height: auto;
       
    }

    .azole-slider ul li {
        display: block;
    }

    .azole-slider .slide-image,
    .azole-slider .slide-content{
        position: initial;

    }
    
    .azole-slider ul li {
        height: auto;
    }

    .azole-slider .slide-title {
        margin: 30px 10px 30px 10px;
        text-shadow: initial;
        font-size: min(max(20px, 5vw), 40px) !important;
        line-height: normal;
    }

    .azole-slider hr {
        display: block;
        margin: 0 5%;
    }
    
    .azole-slider .slide-description {
        margin: 20px 10px;
        font-size: min(max(16px, 2vw), 22px) !important;
        line-height: normal;
        background: none;
    }

    .azole-slider a.call-to-action {
        font-size: 20px;
    }

    .azole-slider-container {
        background: #f7f7f7;;
    }
}

/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 * Fine - Slider
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/


@media only screen and (max-width: 1260px) {
    /* .azole-slider ul,
    .azole-slider ul li {
        /* height: calc(55.56vw); 
    } */
}

@media only screen and (max-width: 799px) {
    main#site-main {
        margin-right: 0;
        flex: 0 0 100%;
        width: 100%;
    }

    aside#site-sidebar {
        width: 100%;
    }

    #toTop {
        right: 4px;
        margin-bottom: -16px;
        padding: 7px;
        z-index: 9999;
    }

    /* .azole-slider .slide-title {
        margin: 20px 110px;
    }

    .azole-slider .slide-description {
        margin: 10px 110px;
    }

    .azole-slider .call-to-action {
            margin: 4px;
    }*/

    .display-window-review {
        margin-bottom: 50px;
    }

    .display-window-review:last-child {
        margin-bottom: 20px;
    }

    /* header#site-header .site-title {
        margin-top: 14px;
     } */
}

@media only screen and (min-width: 600px) {

    header#site-header #site-navigation #primary-menu {
        display: flex;
        flex-wrap: wrap;
    }

    .main-navigation ul li:hover>ul,
    .main-navigation ul li.focus>ul {
        left: auto;
    }
}

@media only screen and (max-width: 599px) {

    /* a.control-prev,
    a.control-next {
        width:40px;
        height: 60px;
        line-height: 54px;
    }

    .azole-slider ul  {
        height: auto;
    }

    .azole-slider ul li {
        display: block;
    }

    .azole-slider .slide-image,
    .azole-slider .slide-content{
        position: relative;
    }
    
    .azole-slider ul li{
        height: auto;
    }

    .azole-slider .slide-title {
        margin: 30px 10px 30px 10px;
        text-shadow: initial;
    }

    .azole-slider .slide-title {
        font-size: min(max(20px, 5vw), 40px) !important;
        line-height: normal;
    }

    .azole-slider hr {
        display: block;
        margin: 0 5%;
    }
    
    .azole-slider .slide-description {
        margin: 20px 10px;
        font-size: min(max(16px, 2vw), 22px) !important;
        line-height: normal;
        background: none;
    }

    .azole-slider .call-to-action a {
        font-size: 20px;
    }

    .azole-slider-container {
        background: #f7f7f7;;
    } */

    header#site-header #site-navigation ul li:hover>ul,
    .main-navigation ul li.focus>ul {
        /*left: 0; */
        display: block !important;
    }

    .main-navigation ul ul {
        /* position: initial;*/
        /* display: none !important; */
        float: none;
    }

    .main-navigation ul li:hover>ul,
    .main-navigation ul li.focus>ul {
        transform: translate(999em, 0);
        position: relative;
        ;
    }

    .main-navigation ul ul {
        transition: transform 0.2s ease;
    }

    header#site-header #site-navigation {
        min-height: auto;
    }

    header#site-header #site-navigation .sub-menu a {
        width: 100%;
    }

    header#site-header #site-navigation ul#primary-menu>li>a,
    header#site-header #site-navigation .sub-menu {
        margin: 0 4px;
    }
}