/*
Theme Name: Avenue
Theme URI: http://www.khmeravenue.com
Author: Ashdee
Author URI: http://www.khmeravenue.com
Description: Avenue Theme
Version: 1.0
Text Domain: Avenue
*/

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

/* Anything Small Will Use 100% Container Width */
@media (max-width: 768px) {
    .container{
        max-width: 100%;
    }
}

/* ==========================================================================
   Reponsive Ads Container
   ========================================================================== */
.above-content {
	width:100%;
	height:auto;
	margin-top:6px;
	margin-bottom:5px;
	text-align:center;
}
.under-content {
	width:100%;
	height:auto;
	margin-bottom:4px;
	text-align:center;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header-logo {
	width:210px; /* 70% of original size */
	height:63px;
}

@media (max-width: 640px) {
	.nav-login {
		margin-left:0;
	}
	
	.header-logo {
	width:147px; /* 70% of original size */
	height:44px;
	}
}

@media (max-width: 1007px) and (min-width: 641px) {
	.nav-login {
		margin-left:0;
	}
	
	.header-logo {
	width:178px; /* 70% of original size */
	height:54px;
	}
}	

/* ==========================================================================
   Bootstrap
   ========================================================================== */
.table th {
  font-weight: normal;
}

.nav-link {
	font-size: 1.1em;
	color: #3a8bc2;
}

.btn-primary{
	background-color: #3a8bc2;
	border-color: #3a8bc2;
}

/* ==========================================================================
   Main
   ========================================================================== */
.main-section{
	background-color: #f5f5f5;
}



/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar-content {
	width:100%;
}

.navbar-content .logo {
	width:18%;
}

.navbar-content .links {
	width:60%;
}

.navbar-content .search {
	width:32%;
}

.nav-login {
	margin-left:6px;
}

.menu-search-form {
	width:70%!important;
}

/* Anything Small Will Use 100% Container Width */
@media (max-width: 640px) {
    .navbar-content .logo {
	width:70%;
	}

	.navbar-content .links {
		width:15%;
	}

	.navbar-content .search {
		width:15%;
	}
	
	.nav-login {
	margin-left:5px;
	}

	.menu-search-form {
		width:85%!important;
	}

}

/* Anything Small Will Use 100% Container Width */
@media (max-width: 1007px) and (min-width: 641px) {
    .navbar-content .logo {
	width:70%;
	}

	.navbar-content .links {
		width:15%;
	}

	.navbar-content .search {
		width:15%;
	}
	
	.nav-login {
	margin-left:5px;
	}

	.menu-search-form {
		width:90%!important;
	}
}

/* ==========================================================================
   Typography 
   ========================================================================== */

p {
	color: #888;
}

a {
	color: #505050;
	text-decoration: none;
}

a:hover {
	color: #3a8bc2; /* Deep Carolina Blue */
	text-decoration: none;
}

ol {  
list-style-type: none;  
  margin: 0;
  padding: 0;
}  

ul {  
list-style-type: none;  
	margin: 0;
	padding: 0;
}  

li {  
list-style-type: none;  
	margin: 0;
	padding: 0;
}  

/* ==========================================================================
   Main Grahic Style
   ========================================================================== */

.img-opacity-hover {
  position: relative;
  display: block;
}

.img-opacity-hover:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(225, 225, 225, 0.2);
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -ms-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.img-opacity-hover:hover:after {
  opacity: 1;
  visibility: visible;
}

.card-content {
	background-color: #fff;
	padding: 0 3px 0 3px;
	margin-bottom:42px;
}

.card-content-image {
	position:relative;
	width: 100%;
	height: 142px;
	border-radius: 8px;
	background-image: url(http://placehold.it/200x115); 
	background-repeat: no-repeat;
	background-position: center;	
	background-size: cover;
}

.card-content-episode-number {
	position: absolute;
	bottom: 8px;
	right: 8px;
	background-color: rgba(30, 30, 30, 0.8);
	color: #fff;
	font-size: 0.75rem;
	padding: 5px 6px;
	border-radius: 4px;
	line-height: 1;
}

.card-content-body {
  padding-top: 4px;
  text-align: center;
}

.card-content-title {
	margin-top:4px;
	color: #777;
	font-size:1em;
	font-weight:400;
}

.card-content-body h3 {
	margin-top:4px;
	font-size:1.1em;
	font-weight:400;
}

.card-content-body h4 {
	margin-top:4px;
	font-size:1em;
	font-weight:400;
}

.card-content-title a {
	color: #999;
	text-decoration: none;
}

.card-content-title a:hover {
	color: #ff1493;
	text-decoration: none;
}

.featured-post-content {
	position: relative;
	width:100%;
	height:auto;
	overflow:hidden;
}

.featured-post-content-image {
	position:relative;
	width: 100%;
	height: 186px;
	background-image: url(http://placehold.it/200x115); 
	background-repeat: no-repeat;
	background-position: center;	
	background-size: cover;
}

.category-title {
	font-size: 1.4rem;
	font-weight: 400;
	color: #888;
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px; /* Space between icon and text */
}

.category-title .category-icon {
	color: #56a0d3; /* Carolina Blue */
	font-size: 1.2rem;
	margin-top: 3px;
}

.hide {
	 display: none;
}

.cursor {
	cursor: pointer;
}

@media (max-width: 768px) {
	.card-content {
		padding: 0 2px 0 2px;
		margin-bottom:16px;
}
	.card-content-image {
		height: 116px;
	}
	.card-content-body h3 {
		font-size:0.9em;
	}
}

/* ==========================================================================
   Video Player Section
   ========================================================================== */

.video-player-section {
	background-color: #f1f3f5;
}

.video-player-section-sidebar {
	background-color: #f1f3f5;
	padding-bottom: 6px;
}

/* ==========================================================================
   Home Page
   ========================================================================== */

.homepage .sidebar {
  background-color: #f5f5f5;
}

/* ==========================================================================
   Album Post Type
   ========================================================================== */

.album-section {
		background-color: #fff;
	}

.album-content-title {
  border-left: 4px solid #56a0d3; 
}

.album-content-description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.album-content-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
}

/* ==========================================================================
   Video Post Type
   ========================================================================== */

.video-section{
		background-color: #fff;
	}

.video-content-title {
  border-left: 4px solid #ff6f00; 
}

.video-content-description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.video-content-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
}

/* ==========================================================================
   Post Content
   ========================================================================== */
.page-title-container{
	width:100%;
}

.page-title-container h2{
	font-size:1.2em;font-weight:400; color:dimgray;
}
.video-container {
	position: relative;
	display:inline-block;
	width: 100%;
	height: 100%;
	background-color: #efefef;
	padding:1px;
	margin-bottom:2px;
	overflow:hidden;
}

.video-container #video_player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-container .sd_videos{
	display:none;
}

.video-container .sd_server{
	width:100%;
	height:100%;
}

.btn-download {
	color:#fff !important;
	background-color:#dc143c;
	text-decoration:none;
	border-color:#ccc;
	font-size:14px;
	font-weight:400;
	padding:4px 6px;
}

.btn-episode {
	color:#242424 !important;
	background-color:#fff;
	text-decoration:none;
	border-color:#ccc;
	font-size:13px;
	padding:10px;
	margin: 5px 6px;
}
/* ==========================================================================
   Tables
   ========================================================================== */
.video-list-scroll {
	position: relative;
	height: 428px;
	overflow: auto;
	}

.video-list-wrapper-scroll-y {
	display: block;
}

.highlight-row {
    background-color: #fff3cd !important; /* Light yellow (Bootstrap warning background) */
    transition: background-color 1s ease;
}

.video-list-icon {
	color: #56a0d3; 
	font-size: 1em;
	padding-right: 6px;
}

/* ==========================================================================
   Comment Box
   ========================================================================== */

.comment-container {
	background-color: #fff;
}

.comment-container h2 {
	color: #555;
}

.comment-container h2 {
	font-size: 1.1em;
}

.comment-content {
	width:100%;
	padding:10px 8px;
	margin-top:4px;
	border-top: 1px solid #dcdcdc;
}


.comment-content a:link, .comment-content a:visited {
	text-decoration: none;
	font-weight: 400;
	font-size: 1.1em;
	color: #555;
}

.comment-content a:hover {
	text-decoration:none;
	color:#ccc;
}
.comment-content a:active {
	text-decoration: none;
	color: #555;
}

/* Comment Reply Box */
.comment-respond {
	margin-top: 5%;
}

.logged-in-as {
	font-size: 13px;
	margin-bottom: 2em;
}
h3.comment-reply-title {
	font-size: 1.3em;
	color: #555;
	margin-bottom: 0;
}

.media-body {
	padding-left: 10px;
}
/* ==========================================================================
   Sidebar
   ========================================================================== */
.widget-container{
	width:100%;
}

.widget-container h3{font-size:1.4em;}


/* ==========================================================================
   Video Listing Item (Similar to KS)
   ========================================================================== */
.listing-video-item {
	position: relative;
	height:auto;
	overflow:hidden;
}

.listing-video-item:hover .hide {
  display: block;
}

.listing-video-item .thumbnail {
	position:relative;
	width: 100%;
	height: 120px;
	background-image: url(http://placehold.it/200x115); 
	background-repeat: no-repeat;
	background-position: center;	
	background-size: cover;
}

.listing-video-item .title h2 {
	margin-top:4px;
	font-size:1.14em;
	font-weight:400;
}

.listing-video-item .title a {
	color: #505050
	text-decoration: none;
}

.listing-video-item .title a:hover {
	color: #FF1493;
	text-decoration: none;
}

@media (max-width: 768px) {
	
	.listing-video-item .title h2 {
	font-size:1.1em;
	}
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-content{
	background-color:#000;
	padding:10px 0;
	color:#fff;
}

.footer-bar {
  position: relative;
  margin-bottom: 55px;
}

.footer-bar:before {
  content: "";
  background-color: #007bff;
  height: 2px;
  width: 45px;
  position: absolute;
  bottom: -25px;
  z-index: 5;
}

.footer-text i{
	text-decoration:none;
	font-size:1.4em;
	margin-right:3px;
	color:#fff
}

.footer-text a:link, .footer-container a:visited {
	text-decoration:none;
	color:lightgray;
}

.footer-text a:hover{
	text-decoration:none;
	color:#fff;
}

.footer-text a:active{
	text-decoration:none;
	color:lightgray;
}

/* Small Screen */
@media (max-width: 576px) {
  .footer-content{
	text-align:center;
  }
	.footer-bar:before {
	bottom:-10px;
	}
}

/* ==========================================================================
   Plugins
   ========================================================================== */


/* Page Navi */
@media (max-width: 576px) {
	.wp-pagenavi .pages, .wp-pagenavi .extend, .wp-pagenavi .previouspostslink {
		display:none;
	}
}

/* Rating Star Container*/
.rating-stars ul {
  list-style-type:none;
  padding:0;
  
  -moz-user-select:none;
  -webkit-user-select:none;
}
.rating-stars ul > li.star {
  display:inline-block;
  
}

/* Idle State of the stars */
.rating-stars ul > li.star > i.fa {
  font-size:0.9em; /* Change the size of the stars */
  color:#ccc; /* Color on idle state */
}

/* Hover state of the stars */
.rating-stars ul > li.star.hover > i.fa {
  color:orange;
}

/* Selected state of the stars */
.rating-stars ul > li.star.selected > i.fa {
  color:orange;
}
