.gallery-thumbs .thumb-image.vertical-ratio img {
  left: 50%;
  width: auto;
  height: 100%;
  transform: translateX(-50%);
}

.gallery-thumbs .thumb a:hover .thumb-image img {
	 transform: scale(1) translateX(-50%);
}

.gallery-link {
    padding: 20px 10px 0 10px;
}




.content-tab {
    width: 100% !important;
}


.thumb span {
    float: right;
}


.content-tab .thumb .meta i {

    margin-left: 6px;
}

i.far.fa-thumbs-up, i.far.fa-thumbs-down, i.fa.fa-eye {
    float: left !important;
}

.content-tab .thumb .meta span {
    margin: 0 0 0 10px;
}

.full-rating {
    float: right;
    margin-right: 0px;
	  margin-left: 20px;
}

.full-info a, .full-info span {
    float: right !important;
    margin: 5px 25px 0 25px;
}

.full-meta {
    float: right;
}

.full-links-items {
    float: right;
    margin: 5px 25px 0 0;
}

.full-links span {
    float: right;
}

.thumb .links a {
    float: right;
}

.meta-title h1:hover{
	/* color: #dc5a82; */
}

.list-2 i {
    float: right !important;
    margin-right: 0px;
    margin-left: 3px;
}
@media (min-width: 1200px){
.content-tab .thumb {
    width: 25% !important;
}
}


.slider-container {
    position: relative;
    overflow: hidden;
}

.links-list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-right: 10px;
}

.links-list a {
    flex: 0 0 auto;
    margin-right: 10px;
    white-space: nowrap;
}

.arrow-left,
.arrow-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1;
}

.arrow-left {
    left: -10px;
}

.arrow-right {
    right: -10px;
}

.arrow-left {
		padding: 15px 15px 15px 15px;
		width: 15px;
		font-size: 20px;
        /*  
		background: linear-gradient(to right, #e6e6e6, #e6e6e6fa);
        */  
}

.arrow-right {
		padding: 15px 15px 15px 15px;
		width: 15px;
		font-size: 20px;
        /*
		background: linear-gradient(to right, #e6e6e6, #e6e6e6fa);
        */
}

i.fa.fa-chevron-left{
	float: left !important;
}

i.fa.fa-fire, i.fa.fa-home{
	margin-left: 6px;
}

a.logo {
    float: right;
}
.menu {
    float: right;
}

.menu-button, .search-button {
    float: left;
}

.menu li {
    float: right;
}

.full-links i {
    float: right;
    margin-right: 3px;
    margin-left: 5px;
}

.arrow-left, .arrow-right{
	/* color: #ec567c; */
}
    
/*
.thumb-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
	  background: #e6e6e6;
}
*/
.thumb-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s ease;
}


.thumb-image img{
    height: 100% !important;
    transition: opacity 0.3s ease;
}

.thumb a:hover .thumb-image img {
    transform: unset;
}

.loading-bar {
    position: absolute;
    top: 0px;
    left: 5px;
    width: 0;
    height: 5px;
		border-radius:5px;
    background-color: #ff0000;
    transition: width 0.3s ease;
}


.fa-clock-o:before {
    content: "\f017";
}

.meta {
    font-family: Arial, sans-serif; 
}

span.duration, span.aspect-ratio{
		margin-right: 0px;
    border-radius: 2px;
    padding: 4px 5px;
    /* color: #fff; */
    /* background-color: #000c; */
    line-height: 15px;
	
}

.video-meta {
    position: absolute;
    bottom: 5px;
    display: flex;
		gap: 3px;
    font-size: .9em;
    font-weight: 400;
    bottom: 5px;
    left: 5px;
    z-index: 1;
}

/*
 * Related Heading
 */
body > div.wrapper > div > div.content-tab > span{
		font-size: 28px;
    line-height: 34px;
		margin: 60px 5px 0 5px;
    overflow: hidden;
		display: block;
    font-weight: bold;
		/* color: rgb(40, 40, 40); */
}

/*
 * Main Title Post Page
 */
body > div.wrapper > div > div.content-tab > div.full-wrapper > div > div > h1{
		font-family: "Tajawal";
}

/*
 * Sub Title Post Page
 */
body > div.wrapper > div > div.content-tab > div.full-wrapper > div > div > div.full-text > h2{
		font-size: 16px;
    line-height: 24px;
		margin: 0px 0px 0 0px;
		padding-top: 10px;
		font-family: "Tajawal";
}

/*
 * Loop Main title 
 */
h3.main-loop{
	font-size: 16px !important;
    margin: 5px 10px 0 0 !important;
    font-weight: 500 !important;
    line-height: 20px !important;
    height: 20px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    font-family: "Tajawal";
}

/*
 * Loop Sub title 
 */
.meta-title h3{
    font-size: 10px;
    margin: 5px 7px 0 0;
    font-size: 12px;
	  line-height: 20px;
    height: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
	  font-weight: 400;
}

.thumb-image::after {
    content: unset;
}

a[href="https://optimole.com/wordpress/?from=badgeOn"] {
    display: none !important;
}

@media (max-width: 585px){
.thumb{
    width: 100% !important;
}
}

@media (min-width: 585px) and (max-width: 875px){
.thumb{
    width: 50% !important;
}
}

@media (min-width: 875px) and (max-width: 1110px){
.thumb{
    width: 33.3333% !important;
}
}

@media (min-width: 1110px){
.content-tab .thumb {
    width: 25% !important;
}
}

.readmore-content {
   overflow: hidden;
   max-height: 80px;
   transition: max-height 0.5s ease;
}

.readmore-content.readmore-js-expanded {
   max-height: 1000px;
}

.view-more-btn {
   display: block !important;
   margin: 10px auto !important;
   text-align: center !important;
   cursor: pointer;
	 float: unset !important;
}

.full-links a, .full-links span {
    float: right;
}

/* Masonry Layout Styles */
.thumbs-wrap {
    width: 100%;
    margin: 0 auto;
}



.thumb-container {
    position: relative;
    width: 100%;
    background: #e6e6e6;
}

.thumb-image.rectangle-ratio {
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
}

.thumb-image.vertical-ratio {
    padding-bottom: 150%; /* 2:3 Aspect Ratio */
}

.thumb-image {
    position: relative;
    width: 100%;
    height: 0;
    overflow: hidden;
}

.thumb-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.meta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
}

.count {
    font-size: 14px;
    /* color: #787878; */
}

.title {
    flex-grow: 1;
    text-align: right;
}

.title p {
    margin: 0 !important;
    font-size: 16px;
    line-height: 20px;
    height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640px) {
    .meta-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .title {
        text-align: left;
        width: 100%;
    }
}

.meta-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    width: 100%;
    box-sizing: border-box;
}

.title-left {
    float: left !important;
    font-size: 16px;
    /* color: #282828; */
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    flex: 1;
}

.count-right {
    float: right !important;
    font-size: 18px;
    /* color: #282828; */
    margin-left: 10px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    line-height: 1;
}

.count-right i {
    font-size: 20px;
    /* color: #282828; */
    margin-right: 5px;
    display: flex;
    align-items: center;
    line-height: 1;
}

@media (max-width: 640px) {
    .meta-info {
        flex-direction: row;
    }
}

.related-grid {
  padding-top: 10px;
  overflow: hidden;
}
