/** {
    border-style: solid;
    border-color: red;
    border-width: 1px;
}*/

* {
    padding: 7px;
    margin: 0px;
}

hrml, body {
    height: 100%;
}

.container-fluid {
    background-color: #FFFFCC;
    background-image: url(../images/varie/back_image.png);
    padding: 0;
}

@font-face {
    font-family: title_name_font;
    src: url(fonts/campanileflf.ttf);
}

.vcenter {
    display: flex;
    align-items: center;
}

b {
    padding:0;
}

#info_div_sm, #info_div_xs {
    display:none;
}

/*
=================================
        HEADER
=================================
*/

#header {
    text-align: center;
    color: black;
    font-family: title_name_font;
}

#header * {
    padding: 3px;
}

#title {
    font-size: 150px;
}

#title s {
    font-size: 100px;
    text-decoration: none;
    color: black;
}

#anno {
    font-size: 75px;
}

#info {
    font-size: 50px;
    margin: 10px;
}

.bordered {
    padding: 10px;
    border: solid 5px white;
    outline: solid 5px black;
    background-color: #fff998;
}

#header a {
    color:black;
    text-decoration: none;
}

/*
=================================
        MENU
=================================
*/

.menu {
    background-color: white;
    border: solid;
    padding: 0px;
    border-radius: 25px;
}

.menu li {
    list-style-type: none;
    cursor: pointer;
    background-color: #980034;
    border-radius: 20px;
    margin: 10px;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 125%;
    position: relative;
}

.menu .group {
    display: relative;
}

.menu .subgroup {
    display: none;
    width: 85%;
    margin:auto;
    padding: 0px;
}

.menu .subgroup li {
    font-size: 100%;
    background-color: #e70034;
}

.menu li:hover{
    background-color: #009999;
}

.menu li a {
    color: white;
    text-decoration: none;
    width: 100%;
}

.menu .triangle {
    right: 10px;
    position: absolute;
    padding: 0px;
}

#menu_sm_list {
    display:none;
    position: absolute;
    width:100%;
}

#menu_sm {
    z-index: 2;
    border:none;
    padding:0px;
    left:0px !important;
}

#menu_sm_list li {
    margin: 3px;
}

#toggle {
    margin:0px;
    width: 100%;
}


/*
=================================
        CONTENT
=================================
*/

#content {
    background-color: white;
    border: solid black;
    border-radius: 25px;
    text-align: justify;
}

#content #map_container {
    height: 500px;
}

.error {
    color: red;
}

.img-center {
    margin: auto;
}

#content ul {
    padding-left: 40px;
}

figcaption {
    font-style: italic;
}

#content h4 {
    color: #980034;
}

/*
=================================
        SLIDESHOW
=================================
*/

.slideshow {
    padding-left: 50px;
    padding-right: 50px;
}

.slideshow img {
    height: 400px;
    width: auto;
    cursor: pointer;
}

.slideshow video {
    width:100%;
    height: 400px;
}

.slideshow div {
    padding-left: 20px;
    padding-right: 20px;
}

.slick-dots {
    display: none !important;
}

.slick-prev, .slick-next {
    position: absolute;
    top: 180px;
    background-color: transparent;
    border: none;
    z-index: 1;
    color: black;
    font-size: 40px;
}

.slick-next {
    right: 10px;
}

.slick-prev {
    left: 10px;
}

.slideshow_info {
    display:none;
}

/*
=================================
        VIDEO
=================================
*/

video {
    width: 80%;
}

.video {
    text-align: center;
}



/*
=================================
        @media
=================================
*/

@media screen and (min-width: 977px) {    
    #menu_sm {
        display: none;
    }
}

/*
===============================================
        1130px width
        - menu disappear -> hamburger
===============================================
*/

@media screen and (max-width: 1130px) {
    #menu_md {
        display: none;
    }
    
    #menu_sm {
        display:block;
    }
    
    #content_div {
        width: 100%;
    }
}

/*
===============================================
        987px width
        - header change
===============================================
*/

@media screen and (max-width: 987px) {
    #title {
        font-size: 112px;
    }

    #title s {
        font-size: 75px;
    }

    #anno {
        font-size: 56px;
    }

    #info {
        font-size: 37px;
    }
    
    .menu {
        display: none;
    }
    
    #content_div {
        width: 100%;
    }
}


/*
===============================================
        786px width
        - header change
===============================================
*/

@media screen and (max-width: 786px) {
    #title {
        font-size: 75px;
    }

    #title s {
        font-size: 50px;
    }

    #anno {
        font-size: 37px;
    }

    #info {
        font-size: 25px;
    }
    
    .slideshow img {
        height: 200px;
    }

    .slideshow video {
        height: 200px;
    }
    
    .slick-prev, .slick-next {
        display: none !important;
    }
    
    .slideshow {
        padding: 0px;
    }
    
    .slideshow_info {
        display:block;
    }
}

/*
===============================================
        600px width
        - header change
===============================================
*/

@media screen and (min-width: 600px) {
    #info_div_sm {
        display:none;
    }
    
    #info_div {
        display:flex;
    }
}

@media screen and (max-width: 600px) {
    #title {
        font-size: 50px;
    }

    #title s {
        font-size: 37px;
    }

    #anno {
        font-size: 25px;
    }

    #info {
        font-size: 25px;
    }
    
    #info_div_sm {
        display:block;
    }
    
    #info_div {
        display:none;
    }
    
    #info_div_xs {
        display:none;
    }
    
    #content_div {
        padding: 0px;
    }
}


/*
===============================================
        435px width
        - header change
===============================================
*/

@media screen and (max-width: 435px) {
    #info_div_xs {
       display:block;
    }
    
    #info_div_md, #info_div_sm {
       display:none;
    }
    
    #info {
        font-size: 20px;
    }
    
    .slideshow img {
        height: 150px;
    }

    .slideshow video {
        height: 150px;
    }
}