* {box-sizing: border-box;}
body {/*background-color: #00d0ff; color: #ccf6ff; font-family: arial;*/}   /*in base al tema impostato*/

.systembar {text-align: center; height: auto;}


.overlay{
    position: fixed;
    width: 100%;
    height: 100%;
    /*background-color: rgba(125,5,5,0.4);*/
    top: 0;
    left: 0;
}

/*header definitions*/
.container{
    position: relative;
    /*border: 1px solid black*/;
    height: 20vw;
    width: 100%;
    margin-bottom: 0.7vw;
}


.left_div{
    /*border: 1px solid black;*/
    height: 20vw;
    display: inline-block;
    width: 36%;
    float: left;
}

.right_div{
    /*border: 1px solid black;*/
    height: 20vw;
    width: 15%;
    float: left;
    position: absolute;
    right: 0px;
    display: inline-block;
    
}

.middle_div{
    width: 49%;
    height: 20vw;
    /*border: 1px solid red*/;
    display: inline-block;
    text-align: center;
    overflow: hidden;
}

.footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    text-align: center;
    height: auto;
    /*min-height: 10vw;*/
    /*background-color: #003e4d;*/
    /*padding-bottom: 3vw;*/
    padding: 2vw;
}

#info_on_footer{
    padding: 1vw;
    /*margin-bottom: 2vw;*/
    margin-bottom: 3vw;
    
}

#social-icon-container{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

/*stili per menu*/
div.menuicon{
    width: 9vw;
    height: 2vw;
    margin: 6px 0;
}


.wrapper{
    /*border: 1px solid black;*/
    display: inline-block;
}

.wrapper:hover{
    cursor: pointer;
}

.dropdown {
    position: relative;
    left: 20%;
    top: 30%;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0px;
    background-color: #f1f1f1;
    min-width: 260px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}



.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {background-color: #ddd;}

.dropdown:hover .dropbtn {background-color: #3e8e41;}

#page_title_span{display: none;}
#page_title_div{display: block;}
#page_title_div{text-align: center; height: auto;}

.socialIcons{
    height: 5vw;
    /*margin: 8vw 5vw 8vw 20vw;*/
    /*margin-top: 8vw;*/
    margin-left: 5vw;
    margin-right: 5vw;
    cursor: pointer;
    /*border: 1px solid white;*/
}

@media only screen and (min-width: 780px){
    /*body{font-size: 2vw;}*/
    .container{height: 8vw;}
    /*.left_div{height: 8vw; width: 15vw;}*/
    .left_div{height: 8vw; width: 15%;}
    .right_div{height: 8vw; width: 7%;}
    .middle_div{height: 8vw; width: 78%;}
    div.menuicon{width: 4vw;height: 1vw;}
    .dropdown {left: 20%;top: 25%;}
    #page_title_span{display: table-cell;}
    #page_title_div{display: none;}
    /*.testo{line-height: 3vw;}*/
    .footer{/*height: 10vw;*/}
    .socialIcons{height: 2vw; /*margin-top: 4vw; margin-left: 8vw; margin-right: 4vw;*/}
    
}


/*Stili per sliding divs*/


.wrapperz {display: flex; align-items: center; justify-content: center; /*border: 1px solid gray*/; padding-top: 15vw; padding-bottom: 11vw;}

.slider {/*border: 1px solid yellow*/; width: 64%; text-align: center; overflow: hidden;}

.slides {/*border: 1px solid green*/; display: flex; overflow-x: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch;}

.slides > div {/*border: 1px solid green*/; flex-shrink: 0; width: 100%; font-size: 5vw; transform-origin: center center; transform: scale(1); transition: transform 0.5s; position: relative; display: flex; justify-content: center; align-items: center; flex-direction: column;}

.slider > a {display: inline-flex; width: 2vw; height: 2vw; background: #9e978e; border-radius: 50%; margin: 7vw 2vw 2vw 2vw;}

.slides img {width: 100%; /*height: 100%;*/}

.slideLabel {padding-top: 8vw; font-size: 9vw; /*border: 1px solid pink*/;}




/*Stili per le freccette laterali*/
.right:hover, .left:hover{
    opacity: .9;
    cursor: pointer;
}

.right, .left{
    z-index: 2;
    position: absolute;
    top: 62vw;
    height: 28vw;
    width: 14vw;
    
    background: #9e978e;
    color: rgba(0,0,0,0.7);
    opacity: 0.5;
    display: inline-block;
    /*margin: 0 1em 1em 0;*/
    font-size: 17vw;
    padding-top: 2vw;
}

.left{
    left: 0;
    border-bottom-right-radius: 14vw;
    border-top-right-radius: 14vw;
    padding-left: 4vw;
}

.right{
    right: 0;
    border-bottom-left-radius: 14vw;
    border-top-left-radius: 14vw;
    padding-left: 4vw;
}


/*Regole di visualizzazione per desktop*/
@media only screen and (min-width: 780px){
    .wrapperz {padding-top: 7vw;}
    .left, .right, .bookMarks {display: none !important;}
    .slider {width: 100%;}
    .slides {width: 100%; /*border: 1px solid red*/; justify-content: center;}
    .slides > div {width: 20%; /*border: 1px solid green*/;  margin-left: 4vw; margin-right: 4vw;}
    .slideLabel {font-size: 3vw; padding-top: 2.6vw;}
    .footer{padding: 1vw;}
    #info_on_footer{margin-bottom: 2vw; padding: .5vw;}
}

