/*==============================================================
 * Rio Video Gallery Styles
 *============================================================*/
#rio-video-gallery-container-archive,
#rio-video-gallery-container-single {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 100%;
    float: left;
}
#rio-video-gallery-container-archive article section header p span.video_provider,
#rio-video-gallery-container-single figure figcaption span.video_provider {
    text-transform: capitalize;
}
#rio-video-gallery-container-single .related-posts-container article figure img,
#rio-video-gallery-container-single iframe {
    max-width: 100%;
}
#rio-video-gallery-container-archive article section,
#rio-video-gallery-container-single .related-posts-container article header {
    overflow: hidden;
}
.clearFixer {
    height: 0 !important;
    line-height: 0 !important;
    clear: both !important;
    padding: 0 !important;
    margin: 0 !important;
}
.arial {
    font-family: Arial, Helvetica, sans-serif !important;
}
td.desc {
    color: #898989;
    font-size: 11px;
    margin: 0;
}
#rio-video-gallery-container-archive article section header p span,
#rio-video-gallery-container-single figure figcaption span {
    display: inline-block;
    margin: 0 15px 0 0;
}
td {
    padding: 5px;
}
#icon-video-gallery {
    background: url(../img/video_page_icon.png) 2px 1px no-repeat;
}
body,
html {
    height: 100%;
    width: 100%;
    min-height: 100%;
    padding: 0;
    margin: 0;
}
#rio-video-gallery-container-archive {
    box-sizing: border-box;
    clear: both;
}
#rio-video-gallery-container-archive article {
    width: 100%;
    float: left;
    margin: 0 20px 0 0;
}
#rio-video-gallery-container-archive article figure {
    margin: 0 20px 20px 0;
    float: left;
}
#rio-video-gallery-container-archive article section header p {
    margin: 0 0 10px;
    font-size: 14px;
}
#rio-video-gallery-container-single {
    box-sizing: border-box;
}
#rio-video-gallery-container-single figure {
    width: 100%;
    float: left;
    margin: 0 0 15px;
}
#rio-video-gallery-container-single figure iframe {
    margin: 0 0 15px;
}
#rio-video-gallery-container-single figure figcaption {
    font-size: 14px;
}
#rio-video-gallery-container-single article {
    width: 100%;
    float: left;
}
#rio-video-gallery-container-single article h3 {
    margin: 0 0 20px;
}
#rio-video-gallery-container-single .related-posts-container {
    width: 100%;
    float: left;
    clear: both;
}
#rio-video-gallery-container-single .related-posts-container article {
    width: 100%;
    height: auto;
    margin: 0 0 20px;
    clear: both;
}
#rio-video-gallery-container-single .related-posts-container article figure {
    width: 20%;
    float: left;
    margin: 0 15px 0 0;
}
#rio-video-gallery-container-single .related-posts-container article header h5 {
    margin: 0 0 5px;
}
#rio-video-gallery-container-single .related-posts-container article header h5 a {
    text-decoration: none;
    display: block;
}
#rio-video-gallery-container-single .related-posts-container article header p {
    font-size: 14px;
    margin: 0 !important;
}
#rio-video-gallery-container-single .related-posts-container article header p span {
    display: inline-block;
    margin: 0 10px 0 0;
}
.rio-video-gallery-container-shortcode {
    width: 100%;
    float: left;
    height: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
    padding: 20px;
}
.rio-video-gallery-container-shortcode article {
    height: auto;
    display: inline-block;
    margin: 0 0 20px;
    vertical-align: top;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0.5%;
}
@media only screen and (max-width: 980px) {
    .rio-video-gallery-container-shortcode article {
        width: 33.33% !important;
    }
}
@media only screen and (max-width: 640px) {
    .rio-video-gallery-container-shortcode article {
        width: 50% !important;
    }
}
@media only screen and (max-width: 320px) {
    .rio-video-gallery-container-shortcode {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
    .rio-video-gallery-container-shortcode article {
        width: 100% !important;
    }
}
.rio-video-gallery-container-shortcode article figure {
    margin: 0 0 10px;
    width: 100%;
    display: block;
    float: left;
    clear: both;
    position: relative;
}
.rio-video-gallery-container-shortcode article figure img {
    display: block;
    width: 100%;
}
.rio-video-gallery-container-shortcode article figure a {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background: url(../img/video-play-icon.png) center center no-repeat rgba(0, 0, 0, 0.3);
}
.rio-video-gallery-container-shortcode article figure span {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 20px;
    height: 20px;
    z-index: 100;
    text-align: center;
    color: #fff;
    line-height: 20px;
    font-size: 12px;
}
.rio-video-gallery-container-shortcode article figure span.dailymotion {
    background-color: #0064dc;
}
.rio-video-gallery-container-shortcode article figure span.youtube {
    background-color: #d72523;
}
.rio-video-gallery-container-shortcode article figure span.vimeo {
    background-color: #1ab7ea;
}
.rio-video-gallery-container-shortcode article header {
    float: left;
    width: 100%;
    padding: 0 8px;
}
.rio-video-gallery-container-shortcode article header h3 {
    font-size: 18px !important;
    margin: 0 0 5px !important;
}
.rio-video-gallery-container-shortcode article header h3 a {
    display: block;
}
.rio-video-gallery-container-shortcode article header span.category_name {
    font-style: italic;
    font-size: 13px;
}
.rio-video-gallery-container-shortcode article header a {
    text-decoration: none;
    display: block;
}
.rio-video-gallery-container-shortcode article header p {
    font-size: 14px;
    margin: 0 !important;
}
.rio-video-gallery-container-shortcode article header p span {
    display: inline-block;
    margin: 0 10px 0 0;
}
.poup_window {
    width: 100%;
    height: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 5000;
    display: none;
}
.poup_window figure {
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 15px;
}
.poup_window .popup-box {
    height: auto;
    float: left;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow: auto;
    display: table;
}
.poup_window a.close_this {
    width: 25px;
    height: 25px;
    background-color: #000;
    position: absolute;
    top: -12px;
    right: -12px;
    cursor: pointer;
    color: #fff;
    text-align: center;
    line-height: 20px;
    text-decoration: none;
    font-family: sans-serif;
    font-size: 14px;
    border: 1px solid #fff;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}
.poup_window figure figcaption h4 {
    font-size: 28px;
    line-height: 28px;
    margin: 0 0 8px 0;
}
.poup_window figure figcaption span {
    font-size: 12px;
    line-height: 18px;
    margin: 0 15px 0 0;
}
.poup_window .popup-box a.close_this {
    width: 25px;
    height: 25px;
    background-color: #000;
    position: absolute;
    top: -12px;
    right: -12px;
    cursor: pointer;
    color: #fff;
    text-align: center;
    line-height: 23px;
    text-decoration: none;
    font-family: sans-serif;
    font-size: 14px;
    border: 1px solid #fff;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}
.poup_window .popup-box iframe {
    border: none;
    margin: 0 0 8px;
}
.poup_window .popup-box h4 {
    margin: 0 0 8px 0 !important;
    text-align: left;
}
.poup_window .popup-box p {
    font-size: 12px;
    margin: 0 0 15px;
    text-align: left;
    line-height: 12px;
}
.poup_window .popup-box p span {
    display: inline-block;
    margin: 0 15px 0 0;
}

/***29-10-2021 sharon***/

@media only screen and (max-width: 480px) {
    .rio-video-gallery-container-shortcode h1 {
        font-size: 22px;
    }
}

.rio-video-gallery-container-shortcode article.video-item {
    width: calc(20% - 0.3%);
}

@media only screen and (max-width: 1080px) {
    .rio-video-gallery-container-shortcode article.video-item {
        width: calc(25% - 0.4%) !important;
    }
}

@media only screen and (max-width: 880px) {
    .rio-video-gallery-container-shortcode article.video-item {
        width: calc(33.33% - 0.4%) !important;
    }
}

@media only screen and (max-width: 690px) {
    .rio-video-gallery-container-shortcode article.video-item {
        width: calc(50% - 0.4%) !important;
    }
}
@media only screen and (max-width: 524px) {
    .rio-video-gallery-container-shortcode article.video-item {
        width: calc(50% - 0.5%) !important;
    }
}
@media only screen and (max-width: 427px) {
    .rio-video-gallery-container-shortcode article.video-item {
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

.rio-video-gallery-container-shortcode article figure {
    width: 100%;
    height: 180px;
    transition: all 0.2s;
}

.rio-video-gallery-container-shortcode article figure:hover {
    transform: translateY(-2px);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.rio-video-gallery-container-shortcode article figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rio-video-gallery-container-shortcode article header h1 {
    margin: 0 0 5px 0;
}
.rio-video-gallery-container-shortcode article header h1 a:hover {
    color: #007bff;
}
.rio-video-gallery-container-shortcode article header a {
    text-decoration: none;
    display: block;
    font-size: 17px;
    color: #000;
}
.rio-video-gallery-container-shortcode article header p span {
    font-size: 12px !important;
    margin-bottom: 5px;
}
.rio-video-gallery-container-shortcode article section p {
    font-size: 14px !important;
    line-height: 22px;
    padding: 0 8px;
}
.rio-video-gallery-container-shortcode article section header p {
    padding: 0;
}
