/*
Theme Name: chd
Description: california home designs
Version: 1.0
Author: iykyvic
Author URI: https://github.com/iykyvic
*/

/* @font-face {
    font-family: 'Adobe Caslon Pro';
    src: url('./assets/fonts/ACaslonPro-Regular.woff2') format('woff2'), url('/assets/ACaslonPro-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
} */
@font-face {
    font-family: 'Montreal Serial';
    src: url('../woff2/montrealserial-medium.woff2') format('woff2'), url('../montrealserial-medium.html') format('woff');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Montreal Serial';
    src: url('../woff2/montrealserial.woff2') format('woff2'), url('../montrealserial.html') format('woff');
    font-weight: normal;
    font-style: normal;
}

embed, iframe, img, object, video {
    display: flex;
    margin: 0 auto;
    max-width: 100%;
}

.size-auto,
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
	max-width: 100%;
	height: auto;
}

.entry-title, .archive-title {
    color: #1F2123;
    font-size: 28px;
    text-transform: uppercase;
}

body {
    font-family: 'Montreal Serial';
}

#masthead {
	position: fixed;
    top: 0;
	left: 0;
    width: 100%;
    z-index: 999;
    background-color: #ffffff;
	transition: all 500ms cubic-bezier(0.55, 0, 0.1, 1);
}

#masthead + #content {
    padding-top: 240px;
    transition: all 500ms cubic-bezier(0.55, 0, 0.1, 1);
}

.sticky .logo {
    width:50px !important;
    transition: all 500ms cubic-bezier(0.55, 0, 0.1, 1);
}

input[type="button"]:focus {
    outline:none;
}

 input[type="button"]::-moz-focus-inner {
    border: 0;
 }

body {
    font-family: 'Montreal Serial';
}

#page {
    max-width: 1920px;
    padding: 0;
}

.container {
/*     max-width: 1440px; */
}

#bs4navbar {
    font-weight: 500;
    font-size: 18px;
}

#menu-main-menu li a, #menu-footer-menu li a {
    text-transform: uppercase;
    padding: 25px
}

.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link {
    color: rgba(0,0,0,0.3);
}

.navbar-toggler {
    color: #000000 !important;
    border: none !important;
    padding: 0 !important;
    margin-right: 25px !important;
    font-size: 1.85rem !important;
    max-width: 1.85rem;
}

.subscribe-toggle, .search-toggle {
    border-radius: 0;
    background-color: transparent !important;
    font-weight: 500;
}

.social-links a {
    padding: 15px;
    color: #000000;
    text-decoration: none;
}

.search-input {
    /* min-width: 300px; */
    z-index: 9999;
}

footer .social-links {
   display: flex;
}

footer .social-links a, .author-social a {
    background-color: #000000;
    margin: 0 7px 0 7px;
    padding: 7px;
    width: 30px;
    color: #ffffff;
}

.subscribe button span {
    margin-top: 5px;
}

.post-slide {
    min-height: 496px;
}

.contain {
	min-height: 100% !important;
	object-fit: contain !important;
}

.single-jumbotron {
    padding: 0;
}

.lazyloaded {
    max-width: 100%;
    height: auto;
}

.gallery {
    background: #eeeeee;
}

.gallery-thumbnail  {
    min-height: 570px;
    object-fit: contain;
    background: #ffffff;
}

.post-thumbnail-image {
    min-height: 640px;
    object-fit: fill;
}

.carousel-item {
	max-height: 640px;
}
.carousel-inner {
/* 	background-color: #e9ecef; */
}

.post-slide .carousel-item .carousel-caption {
    z-index: 9999;
}

.post-slide .carousel-item::after {
    /* content: " ";
  z-index: 10;
  display: block;
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5); */
}

.single-jumbotron {
    position: relative;
}

.overlay {
    /* z-index: 2;
    position: absolute;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=50);
    opacity: 0.5;
    background: rgba(0, 0, 0, 0.5); */
}

.post-slide .carousel-item img, .single-jumbotron img {
	min-height: 640px;
    object-fit: cover;
	object-position: center;
}

.product-slider img {
	max-height: 640px;
}

.height-auto {
	height: auto !important;
	max-height: 640px !important;
}

.post-card-img {
    min-height: 180px;
    object-fit: contain;
}

.product-of-the-day-block .product-of-the-day-card-img {
    max-height: 280px;
    /*object-fit: contain;*/
}

.slider-card {
    min-width: 300px;
    height: auto;
    width: 589px;
    opacity: 0.95;
    background-color: #FFFFFF;
    color: #000000;
    border-radius: 0;
    padding: 1.5em;
    box-shadow: 0 9px 38px 0px rgba(60,60,60,0.18);
}

.card-header p {
    height: auto;
}

.caption {
    line-height: 34px;
}

.read-more {
    font-size: 14px;
    padding: 10px  25px 10px 25px;
    border-radius: 0;
}

.slider-count {
    font-size: 24px;
    color: #000000;
}

.slider-control {
    margin-left: -20px;
    z-index: 999;
}

.slider-control a {
    color: #000000;
    background-color: #ffffff;
    padding: 7px 14px 7px 14px;
    font-size: 18px;
    box-shadow: 0 9px 38px 0px rgba(60,60,60,0.18);
}

.slider-control a:last-of-type {
    background-color: #000000;
    color: #ffffff;
}

.advert-banner {
    margin: 53px 0 33px 0;
}

.advert-banner-image {
	max-height: 90px;
	max-width: 970px;
	background-color: #000000;
}

.post-card-div a {
    text-decoration: none;
    color: #000000;
}

.card-category {
    padding: 7px 30px;
    margin-top: -50px;
    background-color: rgba(31, 33, 35, 0.6);
    width: auto;
    max-height: 50px;
    bottom: 0px;
    overflow: hidden;
    left: 0px;
    font-size: 14px;
    line-height: 36px;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 500;
}

.post-card {
    box-shadow: 0 9px 38px 0px rgba(60,60,60,0.18);
    padding-bottom: 20px;
}

.post-card-div h3 {
     margin-bottom: 32px;
}

.h-95 {
    height: 95%;
}

.post-card-text {
    /* font-family: "Adobe Caslon Pro"; */
}

.list-group-item {
    padding: 0.25rem 1.25rem;
}

.list-group-item i {
    margin-right: 10px
}

.featured-articles .article {
    min-height: 552px;
}

.featured-articles .article {
    height: 552px;
}

.featured-articles .featured-card {
    margin-top: -552px;
}

.featured-articles .article div img {
    object-fit: contain;
}

.slider-card-parent, .slider-card-image,  .first-featured .slider-card-parent .card {
    height: 552px;
}

.btn.focus, .btn:focus {
    outline: 0;
    box-shadow: none!important;
}

.meta-num-only .caption {
    display: none;
}
.dropdown-menu,  .dropdown-item {
    background-color: #000000;
    color:  #ffffff;
}

.dropdown-menu.show {
    height: auto;
    max-height: 500px;
    overflow-x: hidden;
}

.subscribe-inner-btn {
    width: 308px !important;
	text-align: center;
}

.nf-field-element {
	display: flex;
    align-items: center;
    justify-content: center;
}

.subscribe-input {
    height: 50px !important;
}


#baguetteBox-overlay {
    width: 100% !important;
    height: 82% !important;
    top: 200px  !important;
}

#baguetteBox-overlay .full-image img {
    max-height: 656px !important;
    max-width: 646px !important;
}

.card-img-top {
    height: auto;
    max-height: 180px;
    object-fit: cover;
    object-position: center;
}

.caption-center {
    display: flex;
    justify-content: center;
}

#search-form input {
    width: 47%;
}

.search-post-title {
    font-size: 28px;
}

.article-list .article:last-of-type {
    border-bottom: 0 !important;
}

#search-form select,  #search-form button {
    width: 25%;
}

a.search-item-title{
	color: #000000;
	font-size: 24px;
}

a.search-item-title {
    color: #000000;
    font-size: 24px;
}

.navbar-light .navbar-nav .nav-link {
    color: rgba(0,0,0, .9);
}

.h-0  {
    height:0px !important;
}

.shadow {
    box-shadow: 0 9px 38px 0px rgba(60,60,60,0.18);
}

#galleryModal .modal-dialog {
    max-width: 1140px;
}

.search-post-title a {
    color: #000000;
}

.jumbotron {
	background-color: #ffffff;
}

.us_floating .us_button.us_no_count .us_box {
    background-color: #000000;
}

.us_wrapper.us_skin_default .us_button {
    height: 60px !important;
	/* width: 60px !important; */
}

.us_more a {
    color: #000000 !important;
    text-transform: uppercase;
    font-weight: 900
}

.us_wrapper .us_heading {
    display: none !important;
}

.us_wrapper label {
    margin-bottom: 15px !important;
}

.us_wrapper .form-control {
    margin-bottom: 15px;
}

#product_content {
    overflow-y: scroll;
}

.product-slider  {
	box-shadow: 0 9px 38px 0px rgba(60,60,60,0.18);
}

.product-of-the-day-block .banner-300 {
    width: 300px;
    height: 250px;
    margin: 0 auto 1.5rem;
}

.product-of-the-day-block .banner-300 img {
    width: 100%;
    height: 100%;
}

.product-of-the-day-block .ad-banner:last-child,
.product-of-the-day-block .banner-300:last-child {
    display: none;
}

.product-of-the-day-block>div>.post-card-div ~ a:last-of-type {
    display: none !important;
}

.product-of-the-day-block .ad-banner img {
    width: 100%;
}

@media(max-width: 575.98px) {
    #product_modal {
        padding: 0 !important;
    }

    .d-xs-block {
         display: block !important;
    }

    #menu-footer-menu li a {
        text-transform: uppercase;
        padding: 25px 7px;
    }
	
	.card-title {
		font-size: 1.5rem;
	}
	
	.post-slide .carousel-item img {
		min-height: 450px;
		max-height: 450px;
        object-fit: cover;
    }
 }

@media(max-width:768px){
    #slider  {
        padding: 0;
    }

    .slider-card {
        padding: 0;
    }

    .carousel-caption {
        top: 7%;
        right: 0;
        left: 0;
    }

    #search-form, #search-form input, #search-form select,  #search-form button {
        width: 100% !important;
    }

    #footer {
        margin: 0 auto;
    }

    footer .social-links {
        width: 100%;
        margin: 0 auto;
        justify-content: center;
    }
}

@media (max-width: 991px) {
	.container {
		max-width: 100vw;
	}
	
	.post-slide {
		min-height: 100%;
	}
	
	.carousel-item {
		overflow: auto !important;
		max-height: 100%;
		height: 100%;
	}
	
	.carousel-inner {
		overflow: auto !important;
		min-height: 100%;
	}
	
    .post-slide .carousel-item img, .single-jumbotron img {
		min-height: 100%;
        max-height: 100%;
		height: 100%;
        object-fit: contain;
    }
	
	.post-slide .carousel-item img {
		min-height: 450px;
		max-height: 450px;
		object-fit: cover;
	}

    .slider-card-text {
        max-height: 100px;
        overflow: hidden;
    }

	#masthead + #content {
        padding-top: 98px;
        transition: all 500ms cubic-bezier(0.55, 0, 0.1, 1);
    }

	.product-slider  {
		box-shadow: none
	}
}

@media (min-width: 992px) {
    .sticky #menu-main-menu li a {
        padding: 10px 25px;
        transition: all 500ms cubic-bezier(0.55, 0, 0.1, 1);
    }

    .carousel-caption {
        left: 2%;
    }

    .w-lg-100 {
        width: 100% !important;
    }

    .w-lg-75 {
        width: 95% !important
    }

    .subscribe-toggle {
        border-right: 1px solid #000000 !important;
    }

    #news-products-featured .h-47 {
		min-height: 46.5%;
	}

	.read_more_product {
		position: absolute;
        bottom: 40px;
	}
}
