/**
 * default CSS for gravity base elements
 * last modified: 2019-08-21
 * based on bootstrap v4.1.2
 */

/**
 * target IE9 to respect aspect ratios and sizes for svg image sources
 **/
.ie9 img[src$=".svg"] {
    width: 100%;
}

/**
 * target IE10+ to respect aspect ratios and sizes for svg image sources
 **/
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    img[src$=".svg"] {
        width: 100%;
    }
}

/**
 *  gallery (flex box)
 **/
.gs-gallery .gs-image-wrapper {
    max-width: 200px;
}

/**
 *  hover effects (snap in background and icon)
 **/
.gs-image-wrapper a {
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    text-align: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.gs-image-wrapper .gs-overlay {
    color: #fff;
    top: -40px;
    left: 50%;
    opacity: 0;
    position: absolute;
    transform:translate(-50%, 0);
    -ms-transform:translate(-50%, 0);
    -moz-transform:translate(-50%, 0);
    -webkit-transform:translate(-50%, 0);
    -o-transform:translate(-50%, 0);
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    z-index: 1000;
}
.gs-image-wrapper a:hover .gs-overlay {
    top: calc(50% - 24px);
    opacity: 1;
}
.gs-image-wrapper .gs-overlay small {
    font-size: 0.75rem;
    text-align: center;
}


.gs-image-wrapper .gs-hover-cover {
    width: 100%;
    height: 100%;
    background-color: #000;
    background: rgba(0,0,0,0);
    position: absolute;
    top: 100%;
    left: 0;
    -webkit-transition: 0.25s ease-in-out all;
    -moz-transition: 0.25s ease-in-out all;
    -o-transition: 0.25s ease-in-out all;
    -ms-transition: 0.25s ease-in-out all;
    transition: 0.25s ease-in-out all;
}
.gs-image-wrapper a:hover .gs-hover-cover {
    background-color: #000;
    background: rgba(0,0,0,0.666);
    top:0;
}

/**
 * gray scale hover effect
 */
.gs-gray-scale-effect img {
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%); /* Chrome 19+ & Safari 6+ */
}
.gs-gray-scale-effect:hover img {
     filter: none;
    -webkit-filter: grayscale(0%);
}

/**
 * download link (widget, list element)
 **/
.gs-download-wrapper {
    text-decoration: none;
    line-height: 40px;
}
.gs-download-wrapper i {
    font-size: 110%;
}
.gs-download-wrapper > span {
    font-size: 1rem;
}
.gs-download-wrapper small {
    color: #c5c5c5;
}
.gs-download-wrapper:hover,
.gs-download-wrapper:focus {
    text-decoration: none;
    color: #009FE3;
}
.gs-download-wrapper:hover small,
.gs-download-wrapper:focus small {
    color: #c5c5c5;
}

/**
 * download group widget / download attachment list
 **/
.gs-list-downloads {
    background-color: transparent;
}
.gs-list-downloads .gs-download-wrapper {
    display: block;
    width: 100%;
    padding-bottom: 0.85rem;
    margin-bottom: 1rem;
    border-bottom: solid 1px #efefef;
}
.gs-list-downloads .gs-download-wrapper:last-child {
    margin-bottom: 0;
    padding: 0;
    border-bottom: none;
}
.gs-list-downloads .btn {
    width: 100%;
    margin-bottom: 1rem;
}
.gs-list-downloads > li:last-child {
    margin-bottom: 0 !important;
}

/**
 *  list styles
 **/

/**
 *  privacy / cookie widget
 **/

/**
 *  accordion
 **/

/**
 * blueimp gallery
 **/
.blueimp-gallery > .close,
.blueimp-gallery > .title,
.blueimp-gallery > .prev,
.blueimp-gallery > .next {
    color: #fff !important;
}
.blueimp-gallery > h3.title {
    border-bottom: none;
    font-size: 1.1rem;
}

/**
 * google static map
 */
.map-preview-img {
    background-size: contain !important;
    -webkit-filter: blur(4px);
    -moz-filter: blur(4px);
    -o-filter: blur(4px);
    -ms-filter: blur(4px);
    filter: blur(4px);
}

/**
 * customized responsive stylesheet gravity base elements
 * last modified: 2019-08-20
 * based on bootstrap v4.1.2
 */

@media (max-width: 1200px) {
}

@media (max-width: 991px) {
    /* privacy hint */
    #privacy_hints_text p,
    #privacy_hints .btn {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
}

@media (max-width: 680px) {
    /* privacy hint */
    #privacy_hints_text {
        width: 100% !important;
        float: none !important;
    }
    #privacy_hints .btn {
        float: none !important;
        margin: 10px auto 0 !important;
    }
}

@media (max-width: 575px) {
    /* privacy hint */
    #privacy_hints_text p {
        font-size: 12px;
    }
    #privacy_hints .btn {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    /* gallery (flex box) */
    .gs-gallery .gs-image-wrapper {
        max-width: 100%;
        margin: 0 auto;
    }

    /* blueimg gallery */
    .blueimp-gallery > h3.title {
        font-size: 1rem !important;
    }
}