/*
Theme Name: OceanWP Child
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme example child theme.
Author: Nick
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

/***********  KC CSS Started  ************/

/***  Misc  ***/

h1, h2, h3, h4 {
    text-transform: capitalize;
}

#site-header #icon-searchform-dropdown {
    border-top: 3px solid #9543d5;
}
#site-header #sidr .sidr-class-social-menu-inner .fa.fa-envelope {
    font-family: "Font Awesome 5";
    font-weight: 900;
}

.kc_button {
    display: inline-block;
    line-height: 1;
    background-color: #2a2a2a;
    font-size: 15px;
    padding: 12px 24px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    color: #fff;
    fill: #fff;
    text-align: center;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}
.kc_button:hover {
    background: #9543d5;
    color: #fff;
}

.comment-body img.avatar {
    width: 80px !important;
    height: 80px !important;
}    
    
/***  Prodcut-Author Title In Single Products  ***/
.prod_title {
    font-size: 26px;
    font-weight: 700;
}
.prod_auth {
    font-size: 20px;
    font-style: italic;
    font-weight: 600;
}
.prod_title span, .prod_auth span {
    font-weight: 500;
}


/***  Themes Styles Misc  ***/
.header-searchform {
    padding: 20px;
}
#searchform-header-replace input {
    border-bottom: 1px solid #ddd !important;
}

.oceanwp-post-list .posts-slider {
    margin: 15px 0 20px;
}
.oceanwp-post-list.two article {
    position: relative;
    border: 1px solid #dbd8d8;
    padding: 4px;
    margin: 4px;
    background: #eee;
}
.oceanwp-post-list.two img {
    width: auto !important;
    height: auto;
    max-height: 200px;
    display: block !important;
    text-align: center !important;
    float: none;
    margin: 0 auto !important;
    padding: 5px;
}

.single article .thumbnail-caption {
    float: left;
    display: block;
    clear: both;
    padding: 8px;
    margin: 0;
    width: 100%;
    max-width: 360px;
    background: #d7d6d6;
    margin: 0px 20px 20px 0;
}

.single article .thumbnail img {
    float: left;
}

.single article img {
    display: inline-block;
    float: none;
    width: auto;
    max-width: 360px !important;
    height: auto !important;
    vertical-align: middle !important;
    margin-right: 20px;
}

.blog-entry.post .thumbnail img, .related-thumb img {
    width: 100% !important;
    height: auto;
}

.widget-title {
    font-size: 15px !important;
    background-color: #f9f9f9;
    padding: 16px 12px;
}

.page-numbers a, .page-numbers span:not(.elementor-screen-only), .page-links span {
    margin-bottom: 10px !important;
}


/***  KC Gallery  ***/
html {
    scroll-behavior: smooth;
}

.kc_button.secondary {
    background: #7123ae;
    margin: 15px auto;
    text-decoration: none !important;
}
.kc_button.secondary:hover {
    background: #333;
}
.kc_button.secondary i {
    margin: 0 8px;
}

#kc_masonry {
    display: inline-block;
    columns: auto 5;
    column-gap: 16px;
    margin: 20px auto;
    clear: both;
}
 @media (max-width: 1200px) {
	#kc_masonry {
		 columns: auto 4;
	}
}
 @media (max-width: 992px) {
	#kc_masonry {
		 columns: auto 3;
	}
}
 @media (max-width: 480px) {
	 #kc_masonry {
		 columns: auto 2;
	}
}
#kc_masonry .kc_grid {
	 display: inline-block;
	 margin-bottom: 16px;
	 position: relative;
}
#kc_masonry .gallery_kc:before {
      border-radius: 5px;
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      background-color: rgba(0, 0, 0, 0.2);
}
#kc_masonry .gallery_kc:hover:before {
      background-color: rgba(113, 35, 174, 0.3);
}
#kc_masonry .kc_grid img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 5px;
}
#kc_masonry .kc_grid_body {
	 margin: 0;
	 padding: 12px;
}
#kc_masonry .kc_grid_dscp {
    color: #2a2a2a;
    font-size: 13px;
    line-height: 18px;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
.kc_grid_dscp span {
    text-decoration: underline;
    color: #9543d5;
}

/***  Related Products by Category  ***/
.kc_seprator {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #f1f1f1;
}
.kc_latest_products {
    display: grid;
    position: relative;
    width: 100%;
    height: auto;
    background: #f1f1f1;
    padding: 20px 24px;
    margin: 0 auto;
    text-align: center;
}
.kc_products_head {
    position: relative;
    display: inline-block;
    text-align: left;
    border-bottom: 3px solid #9543d5;
    margin: 0 0 8px 0;
    padding: 0;
    width: 98%;
}
.kc_products_link {
    position: relative;
    float: right;
    text-decoration: none !important;
    margin: 0 8px 8px 0;
    border: 1px solid #e8e8e8;
    padding: 8px 10px;
    border-radius: 3px;
    background: #f4f4f4;
}
.kc_products_link:hover {
    background: #9543d5;
    border: 1px solid #9543d5;
    color: #f9f9f9;
}
.kc_latest_products h3 {
    margin: 12px 0 8px 8px;
}
.kc_latest_products .p-item {
    display: inline-flex;
    position: relative;
    width: 100%;
    max-width: 240px;
    height: auto;
    border: 1px solid #d7d7d7;
    padding: 10px;
    margin: 10px 6px 0 6px;
}
.kc_latest_products .p-item a {
    text-decoration: none !important;
    text-align: center;
    margin: 0 auto;
}
.kc_latest_products .p_thumb, .kc_latest_products .p_title {
    position: relative;
    display: inline-block;
    margin: 0 auto;
}
.kc_latest_products .p_thumb img {
    display: inline-block !important;
    width: 100%;
    max-width: 160px !important;
    text-align: center;
    margin: 0 auto;
}
.kc_latest_products .p_thumb:hover::before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: '';
    background: rgba(51, 51, 51, 0.35);
    transition: all .3s ease-in;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
}
.kc_latest_products .p_title {
    margin-top: 8px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

/***  Footer  ***/
#footer-widgets {
    background-color: #222;
    padding: 18px 0;
    margin: 0;
}
.kc-footer, .kc-footer a {
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    text-transform: none;
}
.kc-footer a:hover {
    text-decoration: underline;
}
#my-credits, .footer-Copyright {
    position: relative;
    display: block;
    text-align: center;
}
.footer-left, .footer-right {
    display: block;
    float: left;
    vertical-align: middle;
    padding: 20px 5px 5px;
}
.footer-right {
    float: right;
}


/***********  Responsive  ************/

@media screen and (max-width: 1100px) and (min-width: 960px) {
   #site-logo, .after-header-content {
    float: none !important;
    text-align: center;
    margin: 0 auto;
   }
}

@media only screen and (max-width: 767px) {
   .footer-left, .footer-right {
    float: none;
    padding: 6px;
    line-height: 24px;
   }
}

@media only screen and (max-width: 480px) {
    #site-logo a.site-logo-text {
    font-size: 24px !important;
   }
   .kc_latest_products {
    padding: 20px 8px;
   }
   .kc_products_head {
    width: 100%;
   }
   .kc_products_head, .kc_products_link {
    margin: 0 0 8px 0;
   }
   .kc_latest_products h3 {
    font-size: 15px;
    margin: 12px 0 8px 0;
   }
   .wp-block-gallery .blocks-gallery-item figcaption {
    max-height: 50%;
    padding: .7em .77em .7em;
   }
}


