/*
 Theme Name:  The Inspired Room 19
 Theme URI:    https://theinspiredroom.net
 Description:  Child Theme for Divi
 Author:       Contemplate Design
 Author URI:   https://contemplatedesign.com
 Template:     Divi
 Version:      1.2.3
*/

/*****Add any custom CSS below this line*****/

/*  TYPOGRAPHY ----------------------------------*/
.signature-collection-title .widgettitle {
	font-family: 'Signature Collection Italics',Helvetica,Arial,Lucida,sans-serif;
	font-weight: 400;
	text-align: center;
	font-size: 52px;
}
.signature-collection-it-title .widgettitle {
	font-family: 'Signature Collection Italics',Helvetica,Arial,Lucida,sans-serif;
	font-weight: 400;
	text-align: center;
	font-size: 52px;
}
.quicklist ul  {
	text-align: center;
	color: #333 !important;
	line-height: 1.4em !important;
}
.scrolllist ul {
	font-family: 'Roboto Condensed',Helvetica,Arial,Lucida,sans-serif;
	text-transform: uppercase;
	text-align: center;
	background-image: url(https://theinspiredroom.net/wp-content/uploads/2019/11/TIR-down-arrow.png);
	background-position: 98% 50%;
	background-repeat: no-repeat;
	background-color: #F7F7F7;
	padding: 15px 10px !important;
	max-height: 200px;
	overflow-y: scroll;
}
.scrolllist ul li {
	margin-bottom: 0; 
}

.wp-block-image figcaption {
	text-align: center;
}

.et-social-twitter a.icon:before {
	content: "\e07b";
	font-family: "Font Awesome 5 Brands"!important;
}

/*  HEADER ----------------------------------*/
body.et_fixed_nav.et_secondary_nav_enabled #top-header {
	position: absolute !important;
	z-index: 1020 !important;
}
body.et_fixed_nav.et_secondary_nav_enabled #main-header {
	z-index: 1020 !important;
}
body.et_fixed_nav.et_secondary_nav_enabled #main-header.et-fixed-header {
	top: 0 !important;
}
#main-header {
	box-shadow: 0 0;
}
#top-header .container {
	text-align: center;
}
#et-secondary-menu {
	float: none;
}

ul.menu li.menu-item.highlight a,
ul.nav li.menu-item.highlight a {
	background: #464646 !important;
	color: #fff !important;
	padding: 5px 15px !important;
	border-radius: 50px !important;
}
ul.menu li.menu-item.highlight-blue a,
ul.nav li.menu-item.highlight-blue a {
	background: #588c9a !important;
	color: #fff !important;
	padding: 5px 15px !important;
	border-radius: 50px !important;
}
ul.menu li.menu-item.highlight a:hover,
ul.nav li.menu-item.highlight a:hover {
	background: #588c9a !important;
}
ul.menu li.menu-item.highlight-blue a:hover,
ul.nav li.menu-item.highlight-blue a:hover {
	background: #464646 !important;
}


/*  BLOG ----------------------------------*/
.et_pb_post_content .size-full img {
	width: 100% !important;
	height: auto !important;
}

.clean-blog .et_pb_post_extra.el_dbe_block_extended {
	border-radius: 0 !important;
	box-shadow: 0 0 !important;
	border: 0 !important;
	padding-bottom: 0px !important;
}
.clean-blog .et_pb_post_extra.el_dbe_block_extended:hover .post-media {
    -webkit-transform: scale(1);
    transform: scale(1);
}
.clean-blog .et_pb_post_extra.el_dbe_block_extended .post-meta {
	background: transparent;
    border: 0;
    bottom: -10px;
}

@media only screen and ( min-width: 981px ) {
	.clean-blog .et_pb_post_extra .entry-title {
		min-height: 90px;
	}
	.blog-tall-feature .et_pb_post_extra.el_dbe_block_extended .post-media, 
	.blog-tall-feature .et_pb_post_extra.el_dbe_block_extended .post-media-container,
	.blog-tall-feature.et_pb_blog_grid_wrapper .et_pb_image_container {
   	 	height: 600px !important;
	}
	.blog-tall-feature .et_pb_has_overlay.et_pb_post .et_pb_image_container a{
		width: 100%;
        height: 100%;
	}
	.blog-tall-feature .et_pb_blog_grid .et_pb_image_container img {
		min-width: 100%;
		max-width: none;
		height: 100%;
		width: 100%;
		-o-object-fit: cover;
		object-fit: cover;
		-o-object-position: center;
		object-position: center;
		display: block;
		-webkit-backface-visibility: hidden;
		backface-visibility: hidden;
	}
	.blog-tall-feature .et_pb_blog_grid .et_pb_post {
		min-height: 900px;
	}

}
.blog-one .et_pb_salvattore_content[data-columns]::before {
	content: '1 .column.size-1of1' !important;
}
.blog-two .et_pb_salvattore_content[data-columns]::before {
	content: '2 .column.size-1of2' !important;
}
.blog-three .et_pb_salvattore_content[data-columns]::before {
	content: '3 .column.size-1of3' !important;
}
.blog-four .et_pb_salvattore_content[data-columns]::before {
	content: '4 .column.size-1of4' !important;
}
.blog-five .et_pb_salvattore_content[data-columns]::before {
	content: '4 .column.size-1of4' !important;
}
@media only screen and ( min-width: 981px ) {
	.blog-one .column.size-1of1 {
	    width: 100%!important;
	    margin-right: 0%;
	}
	.blog-two .column.size-1of2 {
	    width: 49%!important;
	    margin-right: 1%;
	}
	.blog-three .column.size-1of3 {
	    width: 32%!important;
	    margin-right: 1%;
	}
	.blog-four .column.size-1of4 {
	    width: 24%!important;
	    margin-right: 1%;
	}
	.blog-five .column.size-1of5 {
	    width: 19%!important;
	    margin-right: 1%;
	}
}

/*  COMMENTS ----------------------------------*/
.scrolloverflow ol.commentlist {
	overflow: auto;
  	max-height: 500px;
  	margin: 50px auto;
  	background: /* Shadow covers */
  	linear-gradient(#f7f7f7 30%, rgba(255, 255, 255, 0)), linear-gradient(rgba(255, 255, 255, 0), #f7f7f7 70%) 0 100%, /* Shadows */
  	radial-gradient(50% 0, farthest-side, rgba(0, 0, 0, .2), rgba(0, 0, 0, 0)), radial-gradient(50% 100%, farthest-side, rgba(0, 0, 0, .2), rgba(0, 0, 0, 0)) 0 100%;
  	background: /* Shadow covers */
  	linear-gradient(#f7f7f7 30%, rgba(255, 255, 255, 0)), linear-gradient(rgba(255, 255, 255, 0), #f7f7f7 70%) 0 100%, /* Shadows */
  	radial-gradient(farthest-side at 50% 0, rgba(0, 0, 0, .2), rgba(0, 0, 0, 0)), radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, .2), rgba(0, 0, 0, 0)) 0 100%;
  	background-repeat: no-repeat;
  	/*background-color: white;*/
  	background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
  	/* Opera doesn't support this in the shorthand */
  	background-attachment: local, local, scroll, scroll;
}

.scrolloverflow #comment-wrap {
	background-image: url(https://theinspiredroom.net/wp-content/uploads/2019/11/TIR-down-arrow.png);
	background-repeat: no-repeat;
	background-position: left 40%;
}

.comment .children {
    margin-left: 50px;
}

	
/*  PORTFOLIO 3 column ----------------------------------*/
@media only screen and ( min-width: 981px ) {
 
	.collection-three .et_pb_grid_item {
		width: 32.999% !important;
		margin: 0 0.5% 0.5% 0 !important;
	}
 
	.collection-three > .et_pb_grid_item:nth-child(3n) {
		margin-right: 0 !important;
		clear: unset !important;
	}
 
	.collection-three > .et_pb_grid_item:nth-child(3n+1) {
		clear: left;
	}
 
	.collection-three > .et_pb_grid_item:nth-child(4n+1) {
		clear: unset !important;
	}
	
	.collection-four > .et_pb_grid_item {
		width: 24% !important;
		margin: 0 0.5% 0.5% 0 !important;
	}
 
	.collection-four > .et_pb_grid_item:nth-child(3n) {
		clear: unset !important;
	}
 
	.collection-four > .et_pb_grid_item:nth-child(4n+1) {
		clear: left;
	}
 
	.collection-four > .et_pb_grid_item:nth-child(5n+1) {
		clear: unset !important;
	}
 
}

/*  FOOTER ----------------------------------*/
body.et_pb_pagebuilder_layout #main-footer > .container,
body.et-tb-has-template #main-footer > .container {
	display: none !important;
}
#main-footer > .container,
#main-footer > .container .et_pb_widget {
    max-width: 100%;
    width: 100%;
}
#footer-widgets,
.footer-widget {
    padding: 0 !important;
	margin: 0 !important;
}


/*
Cartflows
------------------------------------------------------------ */
body.cartflows-canvas #page-container {
	padding-top: 0 !important;
}

.et_pb_module #wcf-embed-checkout-form .woocommerce .checkout .col-1,
.et_pb_module #wcf-embed-checkout-form .woocommerce .checkout .col-2 {
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}
.wcf-bump-order-desc {
	word-wrap: normal !important;
	word-break: normal !important;
}

/*
WooCommerce
------------------------------------------------------------ */
.custom-account-style .woocommerce-Button.button, .custom-account-style .woocommerce .woocommerce-form-login .woocommerce-form-login__submit {
    color: #ffffff!important;
    background-color: #E8C4E0;
    border-color: #E8C4E0;
	font-size: 18px;
}
.custom-account-style .woocommerce-Button.button:hover {
    background-color: #FAB89B;
}
 
.custom-account-style .woocommerce .woocommerce-error, .custom-account-style .woocommerce .woocommerce-info, .custom-account-style .woocommerce .woocommerce-message {
   background-color: #FAB89B;
}

/*
Intense Plugin
------------------------------------------------------------ */
/*
.intense.menu.sf-menu li {
   display: inline-block;
}
*/
.intense.content-section.repeatbg {
  background-repeat: repeat !important;
}

.intense.subtle-effect,
.intense.subtle-effect figure {
   max-height: 380px;
}
.subtle-effect-caption a,
.subtle-effect-caption a:hover {
  text-decoration: none;
  color: #fff;
}
/*
.subtle-effect-caption a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-indent: -5000px;
}
*/

/*
Instagram Plugin
------------------------------------------------------------ */
/*
body .AlpinePhotoTiles-highlight-div {
    padding: 0;
    margin: 0;
}
*/


/*
UberGrid Plugin
------------------------------------------------------------ */
.uber-grid-edit-wrapper { display: none; }

.popbutton { padding: 0 2%; font-size: 18px; text-transform:uppercase;}
popbutton.left { float: left; }
popbutton.right { float: right; }
body .mfp-uber-grid .mfp-bottom-bar,
body .uberbox-lightbox-item.uberbox-description-mini .uberbox-item-description,
body .reactbox-description-mini .reactbox-lightbox-item-description {
/*  background: none repeat scroll 0% 0% rgba(15, 15, 15, 0.65); */
  height: 80%;
}
body .reactbox-description-mini .reactbox-lightbox-item-description {
   position: absolute;
   top: 0;
}


/* Book Page
------------------------------------------------------------ */
#lthyh-menu .intense.container {
  /* float: left;
   padding: 0;
   margin: 0;*/
}
#lthyh-menu ul#menu {
  /* clear: left;
   position: relative;
   float: left;
   left: 25%;*/
   text-align: center;
  /* margin: 0 auto; */
}
#lthyh-menu .intense.sf-menu li {
    position: relative;
    display: inline-block;
    float: none;
}

#navgrid figcaption h2 {
   font-family: "BebasNeueRegular",Georgia,serif;
   font-size: 180%;
   padding: 0px 2px;
   word-spacing: 0px;
   word-wrap: normal;
}

#navgrid figcaption p {
   color: #fff;
   font-style: italic;
   font-size: 28px;
}

a.popbutton[href^="http"] {
   border: 1px dotted #fff !important;
   padding: 5px; 
   border-radius: 4px;
   margin: 5px 10%;
   display: block !important;
   color: #fff;
   background: none repeat scroll 0% 0% rgba(15, 15, 15, 0.75);
}

a.popbutton + br {
   display: none;
}

/*Endorsements*/
#endorsements .intense.person {
  display: block;
}
#endorsements h3.person-title {
  color: #F8D37B;
  font-family: landlieberegular;
  font-size: 36px;
  margin-top: 4%;
}
#endorsements .person_author_wrapper .entry-content {
  background: none;
  font-style: italic;
  padding: 0;
  color: #4D4D4F;
  font-size: 20px;
}
#endorsements .pull-left h3.person-title,
#endorsements .pull-left .person_author_wrapper .entry-content {
  text-align: right;
}
#endorsements .entry_content {
  color: #fff;
  text-align: justify;
}
#endorsements img.person_img {
  border: 15px solid rgba(255,255,255,0.3);
}

/* Flair */
.flair-yellow,
.flair-white,
.flair-gray {
  margin-bottom: 40px;
}
.flair-yellow:before,
.flair-gray:before,
.flair-white:before { 
  content: "";
  display: inline-block;
  width: 303px;
  height: 75px;
  margin-right: 20px;
  margin-bottom: -40px;
}
.flair-yellow:after,
.flair-gray:after,
.flair-white:after {
  content: "";
  display: inline-block;
  width: 303px;
  height: 75px;
  margin-left: 20px;
  margin-bottom: -40px;
}
.flair-yellow:before {
  background: url(images/title-flair-left-yellow.png) center center no-repeat;
}
.flair-white:before {
  background: url(images/title-flair-left-white.png) center center no-repeat;
}
.flair-gray:before {
  background: url(images/title-flair-left-gray.png) center center no-repeat;
}
.flair-yellow:after {
    background: url(images/title-flair-right-yellow.png) center center no-repeat;
}
.flair-white:after {
    background: url(images/title-flair-right-white.png) center center no-repeat;
}
.flair-gray:after {
    background: url(images/title-flair-right-gray.png) center center no-repeat;
}


/*  MISC ----------------------------------*/
#main-content .container::before {
	display: none !important;
}
.no-img-margin .et_pb_post .entry-featured-image-url  {
	margin: 0;
}
.wp-block-image {
	margin-top: 0;
}

.fd-form-popup {
	z-index: 99999999 !important;
}

.centerfilters .et_pb_portfolio_filters ul {
	justify-content: center;
	display: flex;
	flex-wrap: wrap;
}

/*  RESPONSIVE ----------------------------------*/
@media only screen and ( min-width: 981px ){
	.inline-buttons {
		text-align: center;
	}
	.inline-buttons .et_pb_button_module_wrapper {
   	 display: inline-block;
   	 margin-left: 1%;
   	 margin-right: 1%;
	}
	
	/*--- Default Layout  ---*/
	.et_right_sidebar #left-area {
	    padding-right: 2%;
		width: 73%;
	}
	.et_right_sidebar #sidebar {
		width: 25%;
    	padding-left: 0;
	}
	#left-area .main_title {
		text-align: center;
	}
}
@media only screen and ( max-width: 980px ) {
	.comment .children {
    	margin-left: 0px;
	}
}

/* Enable Search on Mobile for Divi Centered and Centered Inline Logo Headers */

@media (max-width: 980px) {

    /* make search icon visible */
    .et_header_style_centered #et_top_search, 
    .et_vertical_nav.et_header_style_centered #main-header #et_top_search,
    .et_header_style_split #et_top_search, 
    .et_vertical_nav.et_header_style_split #main-header #et_top_search {
        display: block !important;
        float: right;
        z-index: 99999;
    }

    /* align search icon for Centered header */
    .et_header_style_centered #et_search_icon:before {
        top: 7px;
        left: -3px;
    }

    /* align search icon for Centered Inline Logo header*/
    .et_header_style_split #et_search_icon:before {
        margin-top: 0;
        left: -3px;
    }

    /* make search field visible */
    .et_header_style_centered .et_search_outer, 
    .et_header_style_split .et_search_outer {
        display: block;
    }

    /* set max-width for search form container */
    .et_header_style_centered .container.et_search_form_container,
    .et_header_style_split .container.et_search_form_container.et_pb_search_visible,
    .et_header_style_split .container.et_search_form_container.et_pb_search_form_hidden {
        max-width: 100% !important;
    }

    /* apply in-animation for search form container */
    .et_header_style_centered .container.et_search_form_container.et_pb_search_visible,
    .et_header_style_split .container.et_search_form_container.et_pb_search_visible {
        z-index: 999;
        -webkit-animation: fadeInTop 1s 1 cubic-bezier(.77,0,.175,1);
        -moz-animation: fadeInTop 1s 1 cubic-bezier(.77,0,.175,1);
        -o-animation: fadeInTop 1s 1 cubic-bezier(.77,0,.175,1);
        animation: fadeInTop 1s 1 cubic-bezier(.77,0,.175,1);
    }

    /* apply out-animation for menu bar elements */
    .et_header_style_centered .et_pb_menu_hidden #et_search_icon:before, 
    .et_header_style_centered .et_pb_menu_hidden .mobile_menu_bar,
    .et_header_style_centered .et_pb_menu_hidden .select_page,
    .et_header_style_split .et_pb_menu_hidden #et_search_icon:before, 
    .et_header_style_split .et_pb_menu_hidden .mobile_menu_bar,
    .et_header_style_split .et_pb_menu_hidden .select_page {
        opacity: 0;
        -webkit-animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
        -moz-animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
        -o-animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
        animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
    }

    /* apply in-animation for "Select Page" container */
    .et_header_style_centered .et_pb_menu_visible .select_page,
    .et_header_style_split .et_pb_menu_visible .select_page {
        opacity: 1;
        -webkit-animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
        -moz-animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
        -o-animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
        animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
    }

    /* adjust close search icon horizontal positioning */
    .et_header_style_centered span.et_close_search_field,
    .et_header_style_split span.et_close_search_field {
        right: 5px;
    }

    /* adjust search form input horizontal positioning */
    .et_header_style_centered .et-search-form input,
    .et_header_style_split .et-search-form input {
       left: 10px;
       right: auto;
    }

    /* adjust search form input and close icon vertical positioning */
    .et_header_style_centered .et-search-form input, 
    .et_header_style_centered span.et_close_search_field,
    .et_vertical_nav.et_header_style_centered .et-search-form input, 
    .et_vertical_nav.et_header_style_centered span.et_close_search_field,
    .et_header_style_split .et-search-form input, 
    .et_header_style_split span.et_close_search_field  {
        top: unset !important;
        line-height: 2em;
    }

    .et_header_style_centered span.et_close_search_field,
    .et_header_style_split span.et_close_search_field  {
        bottom: 20px;
    }

    /* set width values for search form */
    .et_header_style_centered .et-search-form,
    .et_header_style_split .et-search-form {
        width: 100% !important;
        max-width: 100% !important;
        bottom: 20px;
    }

    /* adjust close search icon top margin */
    .et_header_style_centered .et_close_search_field:after,
    .et_header_style_split .et_close_search_field:after {
        margin-top: -2px;
    }

}
