
/* -- POPUPS WIDGET STYLES -- */

.popup_image,
.popup_photo,
.popup_frame,
.popup_iframe,
.popup_element {
    cursor: pointer;
}

.popup_overlay {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
}
.popup_overlay > .wrapper {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    box-sizing: border-box;
}

.popup_overlay .popup_container {
    display: inline-block;
    max-width: 90vw;
    position: absolute;
    left: 50%;
    top: 50%;
    top: 20vh;
    transform: translate(-50%, 0);
    background-color: #161616;
    padding: 10px;
    border: 1px solid #060606;
    border-radius: 6px;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.6);
    z-index: 100;
}
.popup_overlay .popup_container > .wrapper {
    position: relative;
    border: 0 none transparent;
    background-color: #FEFEFE;
    border-radius: 3px;
    overflow: visible;
    box-shadow: inset 0 0 9px rgba(0, 0, 0, 0.3);
    min-height: 0;
    margin: 0 auto;
    padding: 0;
    font-family: inherit;
    color: inherit;
}


.popup_overlay .oclose {
    display: block;
    position: absolute;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: transparent;
    box-sizing: border-box;
    cursor: default;
    z-index: 10;
}

.popup_overlay .popup_container .pclose {
    display: inline-block;
    position: absolute;
    top: -2px;
    right: -2px;
    font-size: 12px;
    line-height: 12px;
    width: 20px;
    height: 20px;
    background-color: #161616;
    border: 0 none transparent;
    border-top: 0 none transparent;
    border-right: 0 none transparent;
    border-radius: 0 0 0 3px;
    box-shadow: -2px 2px 3px rgba(0, 0, 0, 0.1);
    color: #ADADAD;
    text-align: center;
    text-decoration: none;
    z-index: 10;
}
.popup_overlay .popup_container .pclose .fa {
    position: relative;
    top: 2px;
}
.popup_overlay .popup_container .pclose:hover {
    color: #FFFFFF;
}

.popup_overlay .popup_container .ptitle {
    display: block;
    font-size: 16px;
    line-height: 24px;
    font-weight: normal;
    margin: 0 auto;
    display: none;
}

.popup_overlay .popup_container .pcontent {
    display: block;
    font-size: 16px;
    line-height: 19px;
    font-weight: normal;
    max-width: 100%;
    min-width: 75px;
    min-height: 75px;
    overflow: hidden;
    border-radius: 3px;
}

.popup_overlay .popup_container .hastext .pcontent {
    padding: 10px;
    min-width: 320px;
}

.popup_overlay .popup_container .pcontent img {
    max-width: 80vw;
    border-radius: 3px;
    height: auto;
}
.popup_overlay .popup_container .pcontent img:first-child:last-child {
    display: block;
    margin-top: 0;
}

.popup_overlay .popup_container .pcontent p {
    margin: 10px auto;
    text-align: center;
}


.popup_overlay .popup_container.slideshow_image {
    text-align: center;
    background-color: #161616;
}
.popup_overlay .popup_container.slideshow_image > .wrapper {
    background-color: transparent;
}
.popup_overlay .popup_container.slideshow_image .popup {
    background-color: transparent;
}
.popup_overlay .popup_container.slideshow_image .popup .pcontent {
    border-radius: 3px 3px 0 0;
}
.popup_overlay .popup_container.slideshow_image .popup .pcontent img {
    border-radius: 3px 3px 0 0;
    margin: 0 auto;
}
.popup_overlay .popup_container.slideshow_image .popup .pcaption,
.popup_overlay .popup_container.slideshow_image .popup .pcount {
    display: block;
    padding: 3px 6px 6px;
    font-size: 14px;
    line-height: 18px;
    font-weight: normal;
    margin: 0 auto;
    border-top: 2px solid #161616;
    background-color: #1c1c1c;
    color: #FFFFFF;
}
.popup_overlay .popup_container.slideshow_image .popup .pcount {
    font-size: 11px;
    line-height: 14px;
    padding: 0px 0 6px;
    border-top: 0 none transparent;
    margin-top: -3px;
    color: #ADADAD;
}
.popup_overlay .popup_container.slideshow_image .popup .pcount .slash {
    padding: 0 3px;
}
.popup_overlay .popup_container.slideshow_image .popup .pnav {
    position: absolute;
    display: block;
    box-sizing: border-box;
    cursor: pointer;
    top: 50%;
    top: calc(50% - 25px);
    height: 50px;
    font-size: 20px;
    line-height: 42px;
    padding: 3px 6px;
    background-color: #161616;
    border: 1px solid #060606;
    color: #ADADAD;
}
.popup_overlay .popup_container.slideshow_image .popup .pnav:hover {
    color: #FFFFFF;
}
.popup_overlay .popup_container.slideshow_image .popup .pnav.prev {
    left: -40px;
    border-right: 0 none transparent;
    border-radius: 6px 0 0 6px;
    padding-right: 9px;
}
.popup_overlay .popup_container.slideshow_image .popup .pnav.next {
    right: -40px;
    border-left: 0 none transparent;
    border-radius: 0 6px 6px 0;
    padding-left: 9px;
}
.popup_overlay .popup_container.slideshow_image .popup .pnav .fa {

}
.popup_overlay .popup_container.slideshow_image .popup .pnav .txt {
    display: none;
}


.popup_overlay .popup_container.inline_frame {
    text-align: center;
}
.popup_overlay .popup_container.inline_frame > .wrapper {
    background-color: transparent;
}
.popup_overlay .popup_container.inline_frame .popup {
    background-color: transparent;
}
.popup_overlay .popup_container.inline_frame .popup .pcontent iframe {
    background-color: transparent;
    border: 0 none transparent;
    margin: 0 auto;
    padding: 0;
    max-width: calc(100vw - 110px);
}


.popup_overlay .popup_container.inline_element {

}
.popup_overlay .popup_container.inline_element .ewrapper {
    max-width: calc(100vw - 110px);
}


/* -- Mobile Guide Styles ( Default 640px ) -- */
@media (max-width: 640px){

    .popup_overlay .popup_container.slideshow_image .popup .pcaption {
        font-size: 12px;
    }
    .popup_overlay .popup_container.slideshow_image .popup .pnav {
        font-size: 16px;
        padding: 3px;
        color: #FFFFFF;
    }
    .popup_overlay .popup_container.slideshow_image .popup .pnav.prev {
        left: -30px;
        padding-right: 3px;
    }
    .popup_overlay .popup_container.slideshow_image .popup .pnav.next {
        right: -30px;
        padding-left: 3px;
    }

}