/* 
Theme Name:		 OceanWP Child
Theme URI:		 http://childtheme-generator.com/
Description:	 OceanWP Child is a child theme of OceanWP, created by ChildTheme-Generator.com
Author:			 Codimasters
Author URI:		 http://childtheme-generator.com/
Template:		 oceanwp
Version:		 1.0.0
Text Domain:	 oceanwp-child
*/


.codi-top-content{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
}
.codi-images-gallery, .codi-title-area{
    width:50%;
}
 .codi-images-gallery .thumbnail_slider {
    max-width: 700px;
    margin: 0px auto;
}

.codi-images-gallery .splide__slide {
    display: flex;
    justify-content: center;
   
    height: 400px;
    width: 580px;
    overflow: hidden;
    transition: .2s;
    border-width: 2px !important;
    margin: 10px 4px;
}
.splide--fade>.splide__track>.splide__list{
    width:100%!important;
}
.codi-images-gallery .splide__slide {
    background:none!important;
    width:100%!important;
    height:350px!important;
    overflow:hidden;
}

.codi-images-gallery .splide--nav > .splide__track > .splide__list > .splide__slide.is-active {
    box-shadow: 2px 3px 8px #000000a3;
}

.codi-images-gallery .splide__slide img {
   height: 100%;
    object-fit: contain;
    display:block!important;
}
/*.codi-images-gallery #thumbnail_slider-list{*/
/*    width:auto!important;*/
   
/*    justify-content:center;*/
/*}*/
.codi-images-gallery #thumbnail_slider-list .splide__slide{
    height:68px!important;
    width:auto!important;
}
.codi-images-gallery #thumbnail_slider-list .splide__slide img{
   
        width: 68px !important;
    height: 68px ! Important;
    object-fit: contain;

}
/* Slider CSS End  */

.codi-featured-image{
    text-align:center;
}
/* title area*/

/*.codi-title-area{*/
/*    padding-top:55px;*/
/*}*/
.codi-mobile-price{
    color:#069494;
}
/* Rating Container */
.codi-mobile-rating {
    display: flex;
}

/* Full and Half Star Styling */
.codi-mobile-rating .codi-m-star {
    color: #F6AB00; /* Color for the full and half stars */
    font-size: 20px; /* Adjust the size of the stars */
    margin-right: 2px; /* Spacing between stars */
    display: inline-block; /* Inline-block for positioning */
}

/* Empty Star Styling */
.codi-mobile-rating .codi-m-star.codi-m-empty {
    color: lightgray; /* Color for the empty stars */
}

/* Half Star Styling */
.codi-m-star.codi-m-half {
    position: relative;
    display: inline-block;
    color: lightgray; /* Gold color for the star */
}

/* Half Star - Creating the effect of a half-filled star */
.codi-m-star.codi-m-half::before {
    content: '\2605'; /* Unicode for filled star */
    color: #F6AB00; /* Gold color */
    position: absolute;
    left: 0;
    width: 50%; /* Fill half of the star */
    overflow: hidden;
}

/* Optional: To prevent odd spacing between half stars */
.codi-mobile-rating .codi-m-star.codi-m-half,
.codi-mobile-rating .codi-m-star.codi-m-empty {
    font-size: 20px; /* Ensure half and empty stars are the same size */
}


/*short specification with images */

.codi-short-specification-items{
    display:flex;
    flex-wrap:wrap;
     justify-content: space-between;
}
.codi-short-specification-item-list{
    width:48%;
   
    background: #eee;
    margin-top: 16px;
        border-radius: 6px;
    padding: 12px;
    display:flex;
    align-items:center;
}
.codi-short-specification-item-list h4, .codi-short-specification-item-list p{
    margin:0;
}
.codi-short-specification-item-list img{
    width:50px;
    height:auto;
}
.codi-short-specification-item-list .codi-spec-content{
   margin-left:10px;
}
/* bottom content description*/
.codi-bottom-description{
        background:#FAFAFA;
    padding: 20px;
    margin-top: 10px;
        display: flex
;
    flex-direction: column;

    
}


/* specification area*/
.codi-mobile-specification-detail{
    margin-top:10px;
}
.codi-mobile-specification-detail .specifications-table {
    width: 100%; /* Ensure the table takes the full width of the parent */
    border-collapse: collapse; /* Remove spaces between table cells */
   
}

 .codi-mobile-specification-detail .specifications-table > tbody > tr > th{
     background-color:#069494;
     color:#fff;
     border-radius:5px;
 }
 
.codi-mobile-specification-detail .specifications-table > tbody > tr > td {
    padding: 0;
}
.codi-mobile-specification-detail .specifications-table > tbody > tr:nth-last-child(-n+3) td{
    padding:10px;
}
.codi-mobile-specification-detail .specifications-table table tr:last-of-type th,
.codi-mobile-specification-detail .specifications-table table tr:last-of-type td {
    border-bottom: 0;
}


 .codi-mobile-specification-detail .specifications-table table{
     margin-bottom:0;
 }
 .codi-mobile-specification-detail .specifications-table table tr th{
    border-right:1px solid #e9e9e9;
    width:150px;
 }


/*video section*/

.codi-phone-video iframe{
    height:550px;
}
/* Media Query for Mobile Screens */
@media (max-width: 1168px) {
    .codi-images-gallery, .codi-title-area{
        width:100%;
    }
      .codi-phone-video iframe{
    height:350px;
}
}
@media (max-width: 468px) {
    
    .codi-short-specification-item-list{
    width:100%;
  }
  

}
@media (max-width: 768px) {
    .codi-mobile-specification-detail .specifications-table > tbody > tr
   {
        display: flex;
        width: 100%; 
        flex-direction:column;
    }

   .codi-mobile-specification-detail  .specifications-table th {
        background-color: #e0e0e0; /* Slightly different color for headers on mobile */
    }
    .codi-images-gallery .splide__slide {
        
        
        height:240px!important;
       
    }
    .codi-featured-image{
        text-align:left;
        width:40%;
    }
}


.codi-archive-title-line{
    background:#176161;
        height: 3px;
    width: 100px;
    display: block;
    margin-bottom:25px;
}
.archive-title {
        margin-bottom: 10px;
}

ul.codiM-taxonomy-list li a.selected{
    color:#176161!important;
    font-weight:bold!important;
}
.codiM-taxonomy-dropdown{
    border-radius:30px!important;
    height:45px!important;
        border: 2px solid #176161;
}


/* brands page */

.codiM-brand-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content:space-between;

}

.codiM-brand-card {
 width:24%;
    border: 1px solid #ccc;
    border-radius: 10px;
    text-align: center;
    background-color: #f8f9fa;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position:relative;
        margin-top: 20px;
}

.codiM-brand-card:hover {
    transform: scale(1.05);
}
.codiM-brand-image {
    height:120px;
    overflow:hidden;
}
.codiM-brand-image img {
width: auto;
    height: 120px;
    object-fit: contain;
}

.codiM-brand-name {
    font-weight: bold;
    font-size: 15px;
   
    color: #fff;
        background: #069494db;
    padding: 3px 12px;
    border-radius: 5px;
      position:absolute;
    top:10px;
    left:10px;

}

.codiM-brand-count {
    font-size: 14px;
    color: #fff;
    margin-bottom: 10px;
    position:absolute;
    top:10px;
    right:10px;
        background: #069494db;
    padding: 3px 12px;
    border-radius: 5px;

}

.codiM-brand-link {
    margin-top:15px;
    display: block;
    padding: 10px 15px;
    background-color: #176161;
  
    text-decoration: none;
    border-radius: 0 0 5px;
    font-weight: 700;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.14, 0.57, 0.36, 1);
}

.codiM-brand-link:hover {
    background-color: #069494;
    color:#fff;
}

/* Responsive: Adjust for smaller screens */
@media screen and (max-width: 1224px) {
    .codiM-brand-card {
 width:33%;
}
}
@media screen and (max-width: 1024px) {
    .codiM-brand-card {
 width:24%;
}
}
@media screen and (max-width: 768px) {
    .codiM-brand-card {
 width:33%;
}
}
@media screen and (max-width: 468px) {
    .codiM-brand-card {
 width:49%;
}
}

/* custom taxonomy page*/

body.archive.tax-brand .container.clr,
body.archive.tax-ram .container.clr,
body.archive.tax-price-range  .container.clr{
    max-width:98%;
}

body.archive.tax-brand article.blog-entry,
body.archive.tax-ram article.blog-entry,
body.archive.tax-price-range article.blog-entry {
    width: 16%;
}
body.archive.tax-brand article .blog-entry-inner,
body.archive.tax-ram article .blog-entry-inner,
body.archive.tax-price-range article .blog-entry-inner {
   border-radius:10px;
}

body.archive.tax-brand article.blog-entry div.thumbnail,
body.archive.tax-ram article.blog-entry div.thumbnail,
body.archive.tax-price-range article.blog-entry div.thumbnail{
    	height:150px;
overflow:hidden;

margin:0;
}

body.archive.tax-brand article.blog-entry div.thumbnail img,
body.archive.tax-ram article.blog-entry div.thumbnail img,
body.archive.tax-price-range article.blog-entry div.thumbnail img{
    	object-fit:contain;
	height:150px;
	padding-top:15px;
}
body.archive.tax-brand article.blog-entry .blog-entry-header .entry-title,
body.archive.tax-ram article.blog-entry .blog-entry-header .entry-title,
body.archive.tax-price-range article.blog-entry .blog-entry-header .entry-title{
    font-size:13px;
    margin:0;
    text-align:center;
}
body.archive.tax-brand article.blog-entry ul.meta ,
body.archive.tax-ram article.blog-entry ul.meta ,
body.archive.tax-price-range article.blog-entry ul.meta {
    margin:0;
    justify-content:center!important;
}
body.archive.tax-brand article.blog-entry ul li.meta-date,
body.archive.tax-ram article.blog-entry ul li.meta-date,
body.archive.tax-price-range article.blog-entry ul li.meta-date{
    font-size:12px!important;
    color:#176161;
    
}
body.archive.tax-brand article.blog-entry ul li.meta-date i,
body.archive.tax-ram article.blog-entry ul li.meta-date i,
body.archive.tax-price-range article.blog-entry ul li.meta-date i{
    display:none;
}
@media screen and (max-width: 1324px) {
    body.archive.tax-brand article.blog-entry,
body.archive.tax-ram article.blog-entry,
body.archive.tax-price-range article.blog-entry  {
 width:20%!important;
}
}
@media screen and (max-width: 1024px) {
    body.archive.tax-brand article.blog-entry,
body.archive.tax-ram article.blog-entry,
body.archive.tax-price-range article.blog-entry {
 width:24%!important;
}

body.archive.tax-brand .container #blog-entries,
body.archive.tax-ram .container #blog-entries,
body.archive.tax-price-range .container #blog-entries{
    justify-content:space-between;
    
}

body.archive.tax-brand .container.clr,
body.archive.tax-ram .container.clr,
body.archive.tax-price-range  .container.clr{
    max-width:97%!important;
}
}
@media screen and (max-width: 959px) {
    body.archive.tax-brand article.blog-entry,
body.archive.tax-ram article.blog-entry,
body.archive.tax-price-range article.blog-entry {
 width:24%!important;
}
}
@media screen and (max-width: 768px) {
   body.archive.tax-brand article.blog-entry,
body.archive.tax-ram article.blog-entry,
body.archive.tax-price-range article.blog-entry  {
 width:33%!important;
}
}
@media screen and (max-width: 468px) {
    body.archive.tax-brand article.blog-entry,
body.archive.tax-ram article.blog-entry,
body.archive.tax-price-range article.blog-entry  {
 width:49%!important;
}
}

/* mobile post type read more btn*/

.codiMmobile-read-more-btn{
    display: none;
         font-size: 17px;
    display: none;
    background: #176161;
    color: #fff;
    padding: 8px 31px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
   
    border-radius: 5px;
}

@media screen and (max-width: 768px) {
    .codi-bottom-description-content { 
        max-height: 200px; /* Limit height */
        overflow: hidden;
        position: relative;
    }

    .codiMmobile-read-more-btn {
        display: block;
     
    }
}


/* switch to desktop */

/* Default: Hide the button on larger screens */
#switchToDesktopBtn {
    /*position: fixed;*/
    /*top: 35%;*/
    /*right: -55px;*/
    /*background-color: #176161d9;*/
    /*color: white;*/
    /*padding: 10px 20px;*/
    /*border-radius: 5px 5px 0px 0px;*/
    /*z-index: 1000;*/
    /*cursor: pointer;*/
    /*border: none;*/
    /*transform: rotate(-90deg);*/
 /* Always hidden on desktop */
        /*box-shadow: 0px 0px 3px 0px #00000052;*/
            display: none;
            background-color:#fff;
            color:#176161;
            border: 2px solid #fff;
            border-radius: 5px;
            margin-top: 5px;
            margin-bottom: 5px;
            padding: 2px 7px;
}
#switchToDesktopBtn:hover{
    background-color: transparent;
    color: #fff;
}

@media screen and (min-width: 769px) {
    #switchToDesktopBtn {
        display: none;
    }
}
/* Show button only when screen width is 768px or less */
@media screen and (max-width: 768px) {
    #switchToDesktopBtn {
        display: block;
    }
}

/* Ensure the button remains visible when desktop mode is enabled */
/*.desktop-mode #switchToDesktopBtn {*/
/*    display: block !important; */
/*}*/

/* Force button to hide when desktop mode is disabled */




/*body.archive article div.thumbnail img{*/
/*	padding-top:10px!important;*/
/*height:200px;*/
/*	object-fit:contain;*/
/*}*/
/*body.archive article{*/
/*	text-align:center;*/

/*}*/
/*body.archive article .blog-entry-inner{*/
/*		border-radius:10px;*/
/*}*/
/*body.archive article .blog-entry-header h2, body.archive article .blog-entry-header{*/
	
/*	margin-bottom:5px!important;*/
/*}*/
/*body.archive article ul.meta{*/
/*	justify-content: center;*/
/*    margin: 0;*/
/*    padding: 0;*/
/*	color:#176161;*/

/*}*/