/*
Theme Name: Vigilanza Group Theme
Theme URI: https://www.websolute.com/
Author: Websolute s.p.a.
Author URI: https://www.websolute.com/
Description: Vigilanza Group 
Tags: blog, two-columns, left-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: wstheme
*/

fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

.frm_dropzone.frm_single_upload {
    max-width: none;
    width: 100%;
}

.frm_error {
    font-size: 11px;
    color: red;
}

.all-news .news-list {
    flex-flow: row wrap;
    padding-right: 20px;
    padding-left: 20px;
}

.all-news .news-list .item {
    flex: 0 0 20%;
    max-width: 20%;
    margin-bottom: 20px;
}

@media(min-width:768px) {
    .all-news .news-list .item:first-child {
        padding-left: 10px;
    }

    .all-news .news-list .item:last-child {
        padding-right: 10px;
    }
}


@media(max-width:767px) {
    .all-news .news-list, .all-news .news-list .item {
        padding: 0!important;
    }

    .all-news .news-list .item {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.rwd-video {
    padding-top: 100px;
}

#gallery-container {
    display: flex;
    flex-flow: row wrap;
    padding: 100px 0;
}

#gallery-container .title {
    width: 100%;
    height: 80px;
    line-height: 80px;
    text-align: center;
    font-size: 24px;
}

#panorama-container {
    position: fixed;
    display: flex;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.9);
    transform: scale(0,0);
    opacity: 0;
    -webkit-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    z-index: 100;
}

#panorama-container.open {
    opacity: 1;
    transform: scale(1,1);
}

#gallery-container .photo {
    flex: 1 0 19%;
    width: 360px;
    height: 240px;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 4px;
    border: 1px solid #ccc;
    cursor: pointer;
}

#gallery-container .photo:hover {
    border-color: #000;
}

#progress-bar {
    position: fixed;
    top: 0;
    width: 0;
    height: 5px;
    background-color: #fff;
    transition: opacity 0.5s ease;
}

#panorama-container .close {
    width: 44px;
    height: 44px;
    position: absolute;
    right: 0;
    margin: 20px;
    cursor: pointer;
}

#panorama-container .close > i {
    color: #fff;
    font-size: 44px;
    font-style: normal;
}

#main-container {
    width: 100%;
    height: 80%;
    align-self: center;
    background-color: #000;
}

#title {
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 20px;
    color: white;
    margin: 0 0 20px 20px;
}