/*
Theme Name: MonaTube
Theme URI: https://xwpthemes.com/
Author: XwpThemes
Author URI: https://xwpthemes.com/
Description: MonaTube is a WordPress video theme designed for tube sites. The theme is ideal for video niche.
Version: 2.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: threeus
Tags: one-column, two-columns, right-sidebar, fixed-layout, custom-header, custom-background, custom-menu, featured-images
*/

/*  ################################################################
    CSS OVERVIEW

    1. IMPORT FILES
    2. GENERAL
    3. ELEMENTS
    4. HEADER
    5. FOOTER
    ...

################################################################# */

/*==========================================================
    1. IMPORT FILES
==========================================================*/
/* Fonts */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i');
/* Css */
@import url(libs/font-awesome/css/font-awesome.css);

/*==========================================================
    2. GENERAL
==========================================================*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    font-size: 100%;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}
body{
    font-size: 13px;
    line-height: 1.5;
    color: #555;
    font-family: 'Open Sans', sans-serif;
    background-color: #f4f4f6;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    color: #373737;
}
h1 {
    font-size: 24px;
}
h2 {
    font-size: 20px;
}
h3 {
    font-size: 18px;
}
h4 {
    font-size: 16px;
}
h5 {
    font-size: 14px;
}
h6 {
    font-size: 12px;
}
img{
    border:none;
    max-width:100%;
    height: auto;
}
a{
    color: #32373C;
    text-decoration: none;
}
a:hover{
    color: #E53935;
    text-decoration:none;
}
a:focus{
    text-decoration: none;
    color: inherit;
    outline: none;
}
a,
button,
input {
    transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -ms-transition: all 0.3s ease-in-out 0s;
}
input[type=text],
input[type=email],
input[type=password],
input[type=number],
input[type=search],
textarea {
    border: 1px solid #d5d5d5;
    padding: 8px 15px;
    font-size: 12px;
    color: #757575;
    font-style: normal;
    border-radius: 0;
}
button,
input[type=text]:focus,
input[type=email]:focus,
input[type=password]:focus,
input[type=number]:focus,
input[type=search]:focus,
textarea:focus {
    border-color: #c9a96e;
    outline: none;
}
.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
    border-color: #FCD998;
}
*, :before, :after{
    box-sizing: border-box;
}

/*==========================================================
    3. ELEMENTS
==========================================================*/
.container{
    margin: 0 auto;
    max-width: 1170px;
}
#wrapper.container{
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
}
.ax.row,
.bx.row,
.cx.row{
    display: flex;
    flex-wrap: wrap;
}
ul{
    margin: 0;
    padding: 0;
    list-style: none;
}
.text-center{
text-align: center;
}
/*==========================================================
    4. HEADER
==========================================================*/
.site-header{
    margin-bottom: 15px;
    position: relative;
    border-radius: 5px;
    z-index: 3;
    flex: none;
}
.site-brand {
    min-height: 50px;
}
.site-header .site-title{
    position: absolute;
    right: 15px;
    top: 15px;
    text-align: right;
    margin-bottom: 0;
    width: 50%;
    height: 15px;
    line-height: 15px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    display: block;
    text-transform: uppercase;
}
.btn-menu{
    padding: 0;
    text-align: center;
    width: 30px;
    height: 30px;
    line-height: 30px;
    color: #fff;
    cursor: pointer;
    margin: auto;
    background-color: #32373C;
    display: none;
}
.header-nav{
    position: relative;
    text-align: center;

}
.header-nav .main-menu{
    position: relative;
    margin-right: 15px;
    display: none;
    vertical-align: middle;
}
.header-nav .menu-main{
    position: absolute;
    top: 100%;
    left: 0;
    width: 270px;
    background: #E53935;
    margin-top: 20px;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    -ms-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}
.open-menu .menu-main{
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}
.main-menu > ul{
    z-index: 2;
}
.main-menu ul li{
    position: relative;
    text-align: left;
}
.main-menu ul li a{
    display: block;
    padding: 0 14px;
    text-transform: uppercase;
    line-height: 40px;
    color: #fff;
}
.main-menu ul li a:hover{
    color: #fff;
    background-color: rgba(0, 0, 0, 0.2);
    opacity: 1;
}
.main-menu .arrow {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    background: #000;
    display: none;
}
.pri-menu .arrow{
    display: none;
}
.ax.row > *,
.bx.row > *,
.cx.row > *{
    flex: 0 0 auto;
}
.hd-search{
    width: 270px;
    position: relative;
    align-self: flex-end;
    margin: 0 0 0 auto;
}
.hd-search input{
    border: 0;
    padding: 5px 45px 5px 10px;
    color: #fff;
    line-height: 20px;
    height: 30px;
    width: 100%;
    background-color: #32373C;
    opacity: 0.3;
}
.hd-search input:focus{
    opacity: 1;
}
.btn-search{
    width: 30px;
    height: 30px;
    line-height: 30px;
    position: absolute;
    right: 0;
    top: 0;
    padding: 0;
    margin: 0;
    background: #E53935;
    border: none;
    color: #fff;
}
.btn-search i.fa{
    line-height: 28px;
}
.pri-menu {
    margin-bottom: 15px;
    position: relative;
    z-index: 99;
}
.pri-menu .menu-main {
    background-color: #32373C;
}
.pri-menu .menu-main li {
    position: relative;
}
.pri-menu .menu-main > li {
    display: inline-block;
    padding: 15px;
}

.pri-menu .menu-main a {
    color: #FFF;
    text-transform: uppercase;
    display: block;
    font-size: 15px;
}
.pri-menu .menu-main a:hover,
.pri-menu .menu-main li.current-menu-item > a {
    color: #E53935;
}
.pri-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 230px;
    background-color: #E53935;
    opacity: 0;
    visibility: hidden;
}
.pri-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
}
.pri-menu .sub-menu li a {
    display: block;
    padding: 7px 15px;
}
.pri-menu .sub-menu li a:hover {
    color: #FFF;
    background: rgba(0, 0, 0, 0.2);
}
.adv_header {
    margin-bottom: 10px;
}
/*==========================================================
    5. CONTENT
==========================================================*/
.site-main {
    min-height: 300px;
    margin-left: -7px;
    margin-right: -7px;
}
.site-main:after {
    display: block;
    content: "";
    clear: both;
}
.main-content {
    padding-left: 7px;
    padding-right: 7px;
}
.single .main-content,
.has-sidebar .main-content {
    float: left;
    width: 73.4%;
}
.sidebar {
    float: left;
    width: 26%;
    text-align: center;
}
.sidebar .widget {
    margin-bottom: 10px;
}
.sidebar .widget-title {
    margin-bottom: 10px;
}
.sidebar .widget ul li {
    padding: 7px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}
.sidebar .widget ul li:first-child {
    padding-top: 0;
}
.widget_search .search-form {
    position: relative;
    border: 1px solid #e5e5e5;
    background-color: #FFF;
}
.widget_search .screen-reader-text {
    display: none;
}
.widget_search .search-field {
    border: none;
    background-color: none;
    width: 100%;
    height: 40px;
    padding: 3px 45px 3px 5px;
}
.widget_search .search-submit {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40px;
    background: #E53935;
    color: #FFF;
    font-size: 15px;
    border: none;
    cursor: pointer;
}
.widget .list-post .post-item {
    width: 50%;
}
.main-title, .widget-title{
    font-size: 17px;
    color: #555;
    font-weight: 700;
    text-transform: uppercase;
}
.main-title:before, .widget-title:before{
    content: "\f008";
    font-family: FontAwesome;
    color: #E53935;
    margin-right: 10px;
}
.section-title {
    font-size: 17px;
    color: #555;
    font-weight: 700;
    text-transform: uppercase;
}
.top-newest span a.active {
    color: #ec7a7a;
    border-bottom: 1px solid;
}
.list-post{
    margin: 0 -7px 14px;
}
.list-post .post-item{
    width: 20%;
    padding: 14px 7px 0;
}
.post-item.col-2 {
    width: 50%;
}
.post-item.col-3 {
    width: 33.3333%;
}
.post-item.col-4 {
    width: 25%;
}
.post-item.col-6 {
    width: 16.6667%;
}
.img-responsive-16by9 {
    display: block;
    height: 0;
    padding-bottom: 75%;
    overflow: hidden;
}
.video-preview {
    position: relative;
}
.img-responsive-16by9 {
    display: block;
    height: 0;
    padding-bottom: 75%;
    overflow: hidden;
}
.thumb-video {
    display: block;
    position: relative;
}

.thumb-video img {
    position: absolute;
    display: block;
    /* min-width: 100%; */
    min-height: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    -webkit-transition: opacity .3s;
    -moz-transition: opacity .3s;
    -o-transition: opacity .3s;
    transition: opacity .3s;
}
/*
.video-preview img{
    display: block;
    width: 100%;
    min-height: 100%;
    position: relative;
}
*/
.post{
    position: relative;
}
.title{
    font-size: 16px;
}
.post .entry-title{
    font-weight: 700;
    margin-bottom: 0;
    font-size: 11px;
    background-color: #fff;
}
.post .entry-title a{
    display: block;
    white-space: nowrap;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 5px;
    line-height: 20px;
}
.post .info{
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    padding: 15px 10px 10px;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 100%);
    color: #fff;
    padding-right: 60px;
    font-size: 11px;
}
.post .info a{
    font-weight: 700;
    color: #fff;
}
.info .video-time{
    position: absolute;
    right: 10px;
    bottom: 5px;
}
.video-time i.fa{
    color: #E53935;
}
.page-navigation{
    font-size: 0;   text-align: center;
}
.page-navigation span,
.page-navigation a {
    display: inline-block;
    vertical-align: top;
    text-align: center;
    line-height: 30px;
    padding: 0 12px;
    font-weight: 700;
    font-size: 11px;
    margin-right: 5px;
    margin-bottom: 5px;
    color: #fff;
    background-color: #32373C;
}
.page-navigation span.current,
.page-navigation a:hover{
    background-color: #E53935;
    color: #FFF;
}
/*--------------   SINGLE POST   ----------------*/
.post{
    background: #fff;
    box-shadow: 0 0 10px 3px rgba(0,0,0,.03);
    position: relative;
}
.video{
    position: relative;
}
.video *{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.video:before {
    content: '';
    padding-top: 75%;
    display: block;
    width: 1px;
    margin-left: -1px;
}
.advert-widget a{
    display: block;
    margin-bottom: 14px;
}


.post.single .info{
    position: relative;
    padding: 5px 15px;
    background: #f7f7f7;
    line-height: 20px;
    bottom: auto;
    color: #999;
}
.post.single .info a{
    color: #E53935;
}
.post-content{
    padding: 15px;
    line-height: 2;
}
.post-content h2{
    text-transform: uppercase;
    font-weight: 800;
    font-size: 17px;
    margin-bottom: 10px;
}
.post-content p{
    margin-bottom: 0;
}
.tagcloud{
    padding: 0 15px;
    margin-bottom: 10px;
}
.tagcloud .txt-tag{
    padding-right: 5px;
    font-family: FontAwesome;
    font-size: 14px;
}
.tagcloud span,
.tagcloud a{
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 5px;

}
.tagcloud .txt-tag:before{
    content: "\f02b";
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}
.tagcloud a{
    padding: 0 5px;
    position: relative;
    border: 1px solid #E53935;
    border-radius: 5px;
}

.nav-post{
    padding: 15px;
    background-color: #f7f7f7;
}
.nav-post.ax.row > *{
    flex: 1 1 0;
}
.nav-post .next{
    text-align: right;
}
.nav-post a{
    display: block;
    font-size: 12px;
    line-height: 15px;
    font-weight: 700;
    word-spacing: 100vw;
    position: relative;
    height: 30px;
    text-transform: uppercase;
}
.prev a{
    padding-left: 40px;
}
.next a{
    padding-right: 40px;
}
.nav-post a:before {
    width: 30px;
    text-align: center;
    font-size: 15px;
    position: absolute;
    border-radius: 15px;
    color: #fff;
    transition: all .2s;
    height: 30px;
    line-height: 30px;
    font-family: FontAwesome;
    background-color: #32373C;
}
.nav-post .prev a:before {
    left: 0;
    padding-right: 2px;
    content: "\f053";
}
.nav-post .next a:before {
    right: 0;
    padding-left: 2px;
    content: "\f054";
}
.related-posts {
    clear: both;
    padding: 30px 7px 0;
}
.post-content iframe {
    max-width: 100%;
}
/*==========================================================
    6. FOOTER
==========================================================*/
.site-footer{
    padding: 30px 0;
    font-size: 11px;
    text-align: center;
    flex: none;
}
.site-footer .logo-footer{
    margin-bottom: 30px;
}
.site-footer .copy-right p{
    margin-bottom: 0;
    opacity: 0.5;
}
.btn-view-more {
    display: block;
    clear: both;
    text-align: center;
    margin: 20px 5px 10px;
    width: 100%;
}
.btn-view-more a {background: #d4130f;color: #fff;padding: 7px 15px;border-radius: 5px;}
.btn-view-more a:hover {
    background-color: #333
}

.popular-videos .section-title {
    /* margin: 0; */
    /* border-bottom: 1px solid #222d38; */
    /* padding: 5px 0; */
}
.popular-videos .section-title {
    /* border: 1px solid #222d38; */
    /* text-align: center; */
    /* padding: 3px 5px 7px; */
}
.popular-videos .section-title span {
    color: #7f95ab;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: bold;
}
.popular-post li {
    border-bottom: 1px solid #222d38;
    padding: 10px!important;
    display: block;
    overflow: hidden;
    position: relative;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1)!important;
}
.popular-post li:last-child {border: none}
.popular-post li .duration {
    left: 3px;
    right: unset;
    bottom: 3px;
    top: unset;
    font-size: 9.5px;
}
.popular-post li .quality {
    font-size: 9.5px;
    padding: 1px 5px;
}
.popular-post li img {
    float: left;
    margin-right: 10px;
    width: 115px;
    height: 70px !important;
    position: unset;
}
.popular-post li h3 {
    font-size: 15px;
    margin: 0;
}
.popular-post li a h3 {
    color: #7d8994;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-flex: 1;
    -webkit-box-orient: vertical;
}
.popular-post li .thumb-video {
    position: relative;
}

.popular-post li .thumb-video .play-mask {
  top: 30px;
  position: relative;
  left: 0;
  margin: 0;
}
.popular-post li .thumb-video .play-mask .icon {
    left: 30px;
    margin: 0;
    top: -13px;
}

.popular-post li .thumb-video .ratings {bottom: -2px;right: 13px;}

.top-view-box {
    padding: 0;
    border-bottom: 1px solid #e73737;
    color: #ffffff;
    display: flex;
    /* border-left: 1px solid #2b2b2b; */
}
.top-view-box span {
    width: 33.4444%;
    text-align: center;
    cursor: pointer;
    padding: 6px 3px;
    border-right: 1px solid #f4f4f6;
    color: #313131;
}
.top-view-box span.active {background: #e53935;color: #fff;}
.top-view-box span:hover {background: #ff9d9d;color: #f52621;}
.popular-loading {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgb(17 17 17 / 64%) url(images/ajax-loader.gif) no-repeat;
    background-position: 92% 3%;
    z-index: 9;
    display: none;
}