/*
 Theme Name:   SBD Theme Child
 Theme URI:    https://www.quantumcloud.com/products/
 Description:  *****Dedicated theme for Simple Business Directory plugin ***
 Author:       QuantumCloud
 Author URI:   https://www.quantumcloud.com/
 Template:     sbd-theme
 Version:      3.1.0
 License: GNU General Public License v2 or later
 License URI: LICENSE
 Tags:         custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
 Text Domain:  sld-theme-child
*/
/***********************
START CSS FROM HERE
*************************/

/* very top header margin  */
body.modified-style .main-header,
body.modified-style.logged-in .main-header {
    transform: translateY(0);
}

/* main horizontal menu height  */
body.modified-style .sbd-theme-main-menu ul > li > a {
    padding: 8px 10px 5px 10px;
    font-size: 14px;
}

body.modified-style #main {
    margin-top: -15px;
}
body.modified-style #main {
    padding-top: 0;
}

/* Search second line inputs border */
body.new-header-look .city-search-select select, 
body.modified-style .sbd_radius_search input,
body.modified-style .sbd_radius_search select {
    -webkit-border-radius: 3px !important;
    -moz-border-radius: 3px !important;
    border-radius: 3px !important;
    border: 1px solid #c0c0c0 !important;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 17px;
    height: 33px;
}
body.modified-style .sbd_radius_search button {
    height: 33px;
}
body.modified-style .sbd-theme-main-menu ul > li ul {
    border: 1px solid #c0c0c0 !important;
    z-index: 9999999;
    background-color: #fff;
}

body.modified-style #live-search {
    text-align: right;
    margin:15px 45px 0 15px;
}
body.modified-style #live-search input{
    max-width:400px;
    height: 38px;
}

body.modified-style .sbd-theme-main-menu ul > li ul.sub-menu ul {
    top: 70%;
    right: auto;
    left: 90%;
    z-index: 1;
}


/* collapsible block */
.collapsible-control {
    position: relative;
    cursor: pointer;
    padding-right: 35px;
}

.collapsible-control:before {
    content: ' ';
    display: block;
    position: absolute;    
    right: 5px;
    top: 14px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid currentColor;
    border-left: 10px solid transparent;
    transform: rotate(45deg) translateX(-10px);
    opacity: 0;
}

.collapsible-control.active:before,
.collapsible-control:hover:before {
    opacity: 1;
}

.collapsible-control.active:before {
    right: 21px;
    transform: rotate(-135deg) translate(-6px, -2px);
}

.collapsible-content {
  height: 0;  
  overflow: hidden;
  -webkit-transition: height 0.35s, opacity 0.35s, top 0.15s, padding 0.15s;
  transition: height 0.35s, opacity 0.35s, top 0.15s, padding 0.15s;
}

/* not needed for colafsing. just jormatting */

.sbd-tag-filter-header a,
.sbd-tag-filter-header b,
.sbd-filtering-block-header a,
.sbd-filtering-block-header b {
    background-color: transparent;
    border-color: #eaeaea;
    color: #999;
    -moz-user-select: none;
    background-image: none;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857;
    margin-bottom: 4px;
    margin-left: 1px;
    padding: 6px 8px;
    box-sizing: border-box;
    text-align: center;
    white-space: nowrap;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=0, Direction=90, Color=#ffffff)";
    -moz-box-shadow: 0px 0px 0px #ffffff;
    -webkit-box-shadow: 0px 0px 0px #ffffff;
    box-shadow: 0px 0px 0px #ffffff;
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=0, Direction=90, Color=#ffffff);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;

    position: relative;
    border: 1px solid #ccc;
    padding-right: 28px;
    height: 34px;
    font-weight: normal;
}
.sbd-tag-filter-header b i,
.sbd-filtering-block-header b i {
    position: absolute;
    right: 4px;
    top: 8px;
    background: #ddd;
    color: #000;    
    width: 17px;
    height: 17px;
    line-height: 17px;
    font-style: normal;
    font-size: 11px;
    font-weight: bold;
    border-radius: 25px;
}
.sbd-tag-filter-area.collapsible-content a i {
    display: none;
}
.sbd-tag-filter-area.sbd-filtering-block-header,
.sbd-filter-area.sbd-tag-filter-header {
    padding: 6px 0px 6px 0px !important;
    margin-bottom: 0;
    z-index: 100 !important;
}
.sbd-tag-filter-header.collapsible-control:before,
.sbd-filtering-block-header.collapsible-control:before {
    opacity: 1;
}
.sbd-tag-filter-area.collapsible-content {
    /* padding: 0px 0px !important; */
    border-bottom: none;
    top: -15px;
    padding: 0 !important;
    opacity: 0;
}
.sbd-tag-filter-area.collapsible-content.active {
    border-bottom: 1px solid #e6e6e6;
    top: 0;
    padding: 10px 0 !important;
    opacity: 1;
}



/* NEW VERSION WITH SEARCH */
body.modified-style .sbd_current_location {
    z-index: 200;
}
.sbd-tag-filter-header .sbd_tags_search,
.sbd-filtering-block-header .sbd_filtering_search{
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #c0c0c0;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 17px;
    font-weight: normal;
    height: 33px;
    margin-left: 5px;
    margin-right: 10px;
    width: 160px;
}

#sbd-tag-block {
    position: relative;
}
#sbd-tag-block .sbd-tag-filter-header:before,
#sbd-filtering-block .sbd-filtering-block-header:before{
    display: none; 
}
#sbd-tag-collapsible-content {
    position: absolute;
    background: #fff;
    border: 1px solid #9a9a9a;
    left: 0;
    top: 40px;
    z-index: 101 !important;
    width: auto;
    min-width: 248px;
    min-height: 40px;
    display: none;
}
#sbd-tag-collapsible-content.searching-tags {
    display: block;
}
#sbd-tag-collapsible-content a {
    display:none;
    max-width: 300px;
    -webkit-transition: max-width 0.5s ease;
    -moz-transition: max-width 0.5s ease;
    -o-transition: max-width 0.5s ease;
    transition: max-width 0.5s ease;
}
#sbd-tag-collapsible-content a.found-tag.pd_tag_filter-active {
    /* max-width: 10px; */
    opacity: 0.4;
}
#sbd-tag-collapsible-content a i{
    display:none;
}
#sbd-tag-collapsible-content a.found-tag {
    display: inline-block;
    border: 1px solid #ccc;
    height: 34px;
    font-weight: normal;
    margin-left: 4px;
    background-color: #f0f0f0;
}
/* NEW VERSION WITH SEARCH */

/* NEW filtering-block */
#sbd-filtering-block {
    position: relative;
}

#sbd-filtering-block #sbd-filtering-block-header {
    z-index: 99 !important;
    color: #333;
    font-weight: bold;
}
#sbd-filtering-block-content {
    position: absolute;
    background: #fff;
    border: 1px solid #9a9a9a;
    left: 0;
    top: 40px;
    z-index: 101 !important;
    width: auto;
    min-width: 248px;
    min-height: 40px;
    display: none;
}
#sbd-filtering-block-content.searching-tags {
    display: block;
}
#sbd-filtering-block-content a {
    display:none;
    max-width: 300px;
    -webkit-transition: max-width 0.5s ease;
    -moz-transition: max-width 0.5s ease;
    -o-transition: max-width 0.5s ease;
    transition: max-width 0.5s ease;
}
#sbd-filtering-block-content a.found-tag.pd_tag_filter-active {
    /* max-width: 10px; */
    opacity: 0.4;
}
#sbd-filtering-block-content a i{
    display:none;
}
#sbd-filtering-block-content a.found-tag {
    display: inline-block;
    border: 1px solid #ccc;
    height: 34px;
    font-weight: normal;
    margin-left: 4px;
    background-color: #f0f0f0;
}
/* NEW filtering-block */




/* HOME LIST */
body.modified-style .qc-sbd-single-item-11 ul li > a {    
    display: block;
    
}
body.modified-style .qc-sbd-newlist-left {
    float: left;
    width: 25%;
    position: relative;
    height: 122px;
}
.qc-sbd-single-item-11 .qc-feature-media {
    position: absolute;
    padding-bottom: 30px;
}


body.modified-style .qc-sbd-newlist-right {
    width: 74%;  
    margin-left: 26%;    
}
body.modified-style .qc-sbd-single-item-11 .bottom-area-icon {
    /* text-align: right; */
    padding-left: 30%;
}
/* move outside from hidden*/
body.modified-style .qc-sbd-single-item-11 .qc-feature-media::before {
    display: none;
}

/* icons color */
body.modified-style .qc-sbd-single-item-11 .upvote-section i {
    font-size: 22px;
    color: #747474;
}
body.modified-style .qc-sbd-single-item-11 .bottom-area-icon p a {
    color: #747474;
}

body.modified-style .qc-sbd-single-item-11 .qc-sbd-main:hover .qc-feature-media img, 
body.modified-style .qc-sbd-single-item-11 .qc-sbd-main .qc-feature-media img {
    max-width: 80px;
}

body.modified-style .gm-style-iw {
    max-height: 220px !important;
    max-width: 300px !important;
    width: 300px !important;
    padding: 8px 8px 8px 8px;
}
body.modified-style .sbd_pop_img {
    display: block;
    float: left;
    width: 20%;
}
body.modified-style .sbd_pop_text {
    width: 76%;  
    margin-left: 23%;   
}

body.modified-style .sbd_pop_img img {
    /* max-width: 80px !important; */
    max-width: 100% !important;
    border-radius: 5px;
}
body.modified-style .sbd_pop_text h3 {
    font-size: 14px;
    line-height: 19px;
    margin-bottom: 10px;
}
body.modified-style .sbd_pop_text p {
    font-size: 11px;
    display: inline-block;
    margin-right: 10px;
}
body.modified-style .sbd_bottom_area_marker p {
    padding: 0px 10px;
    margin: 2px 0px 7px 0px;
}

body.modified-style .pd_single_content .feature-image {
    margin-left: 25px;
    width: 160px;
}
body.modified-style .pd_business_hour p {
    margin: 0 0 3px 0;
}
body.modified-style .pd_content_text {
    padding: 15px 15px 4px 15px;
    margin-top: -15px;
}
body.modified-style .pd_content_text p {
    margin: 4px 0 10px 0;    
}
/* HOME LIST */


/* DIRECTORY LIST */
body.modified-style .qc-grid-modified .qc-feature-container {
    display :block;  
    padding: 15px 15px;    
    min-height: 250px;   
    max-height: 330px;  
    overflow: hidden;  
    line-height: 18px;
    border: solid 1px #c4c4c4;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;   
    /* background-color: #dddddd; */
    background-color: #ffffff;
    box-shadow: 0px 2px 1px #ddd, 0 5px 8px #ccc;
    /* background-image: linear-gradient(to top, #d5d4d0 0%, #d5d4d0 1%, #eeeeec 31%, #efeeec 75%, #e9e9e7 100%); */
    background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}
body.modified-style .qc-grid-modified .qc-feature-container.gr-1 {
    background-image: linear-gradient(to top, lightgrey 0%, lightgrey 1%, #e0e0e0 26%, #efefef 48%, #d9d9d9 75%, #bcbcbc 100%);   
}
body.modified-style .qc-grid-modified .qc-feature-container.gr-2 {
    background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}
body.modified-style .qc-grid-modified .qc-feature-container.gr-3 {
    background-image: linear-gradient(to top, #a8edea 0%, #fed6e3 100%);
}
body.modified-style .qc-grid-modified .qc-feature-container.gr-4 {
    background-image: linear-gradient(to top, #fff 0%, #fff 100%);
}

body.modified-style .qc-grid-modified .qc-feature-container-4 {
    display: block;
    vertical-align: top;
    margin-top: 18px !important;
    margin-bottom: 18px !important;
}
body.modified-style .qc-grid-modified h3.directory-item-title {
    position: relative;
    margin: 0px 0px 8px 0px;
    font-size: 17px;
    border-bottom: 1px solid #aaa;
    color: #6d7a8c;
    text-shadow: 0px 0px #555;
}
body.modified-style .qc-grid-modified .az-title {
    position: absolute;
    display: inline-block;
    bottom: -2px;
    left: 50px;
    right: 4px;
}
body.modified-style .qc-grid-modified .az-title-image {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin: 0 4px 4px 0;
}
body.modified-style .qc-grid-modified .az-title-image img {
    max-width: 100%;
    box-shadow: 0 0 3px #6d7a8c;
}
body.modified-style .qc-grid-modified .jp-list-modified {
    display: block;
    width: 100%;
    padding-left: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.modified-style .qc-grid-modified .directory-subitem {
    display:inline;
    width:auto;
    margin:0;
    padding:0;
}
body.modified-style .qc-grid-modified .qc-sbd-single-item-11 ul li > a.directory-link {    
    display: inline !important;
    font-size:13px;
    color: #009;    
    line-height: 15px;    
    padding: 0;
    margin:0;
    letter-spacing: -1px;
    text-shadow: 1px 1px #ddd;
    background-color: transparent;
    border: none;
}
body.modified-style .qc-grid-modified a.directory-link span.dir-subtitle {
    position: relative;
    text-decoration: underline;
}
body.modified-style .qc-grid-modified a.directory-link > i {
    display: inline-block;
    width: 10px;
    height: 5px;
    text-align: center;
    color: #6d7a8c;
    padding: 4px 3px 0 0;
    font-size: 18px;
    line-height: 15px;
    vertical-align: top;
}

@media only screen and (min-width : 1201px) and (max-width : 1920px){
	body.modified-style .qc-grid-modified .qc-feature-container-4{
		width: 31%;
		margin-right: 1.5%;
	}
}
@media only screen and (max-width : 1200px) {
	body.modified-style .qc-grid-modified .qc-feature-container-4{
		width: 31%;
		margin-right: 1.5%;
	}
}
@media only screen and (max-width : 1170px) {
	body.modified-style .qc-grid-modified .qc-feature-container-4{
		width: 46%;
		margin-right: 3.0%;
	}
}
@media only screen and (max-width : 981px) {
   
}
@media only screen and (max-width : 801px) {
	body.modified-style .qc-grid-modified .qc-feature-container-4{
		width: 99%;
		margin-right: 0%;
	}
}
@media only screen and (max-width : 640px) {
	body.modified-style .qc-grid-modified .qc-feature-container-4{
		width: 99%;
		margin-right: 0%;
	}
}


/* START: NEW-HEADER-LOOK */
body.new-header-look .sbd_radius_search {
    font-weight: normal;
    text-align: center;
    padding: 22px 15px 4px 0;
}
body.new-header-look .sbd-logo {
    max-width: 110px;
    padding: 4px 10px 10px 10px;
}
body.new-header-look .mobile-menu-trigger {
    margin: 4px 10px 10px 10px;
}
body.new-header-look .city-search-select select, 
body.new-header-look .header-sbd_radius_search .sbd_radius_search input, 
body.new-header-look .header-sbd_radius_search .sbd_radius_search select {
    font-size: 13px;
    height: 24px;
    line-height: 19px;
    font-weight: normal;
    color: #808080;
}
body.new-header-look .header-sbd_radius_search button {
    font-size: 14px;
    height: 25px;
    line-height: 19px;
}
@media (max-width: 767px) {
    body.new-header-look .sbd_radius_search {
        padding-top: 0px;
        margin-top: -15px;
    }
    body.new-header-look .header-sbd_radius_search .sbd_radius_search input, 
    body.new-header-look .header-sbd_radius_search .sbd_radius_search select {
        width: 100% !important;
    } 
}
body.new-header-look #main > section.page-section:nth-child(2n+1) {
    padding-top: 0;
}


body.new-header-look .sbd-tag-filter-header .sbd_tags_search, 
body.new-header-look .sbd-filtering-block-header .sbd_filtering_search {
    font-size: 14px;
    height: 24px;
}
body.new-header-look .city-search-select,
body.new-header-look .sbd-tag-filter-area,
body.new-header-look #sbd-filtering-block #sbd-filtering-block-header  {
    font-family: Raleway;
    font-size: 14px;
    color: #6d7a8c;
    font-weight: 700;
    line-height: 25px;
    text-transform: uppercase; 
    padding: 6px 0 4px 0 !important;
    border-bottom: 1px solid #e6e6e6;
    min-height: 35px;
}
body.new-header-look .sbd-tag-filter-header a, 
body.new-header-look .sbd-tag-filter-header b, 
body.new-header-look .sbd-filtering-block-header a, 
body.new-header-look .sbd-filtering-block-header b {
    font-size: 13px;
    height: 24px;
    line-height: 1.1;
    padding: 2px 28px 2px 8px;
}
body.new-header-look .sbd-tag-filter-header b i, 
body.new-header-look .sbd-filtering-block-header b i {
    top: 2px;
}

body.new-header-look .inner-page-title, 
body.new-header-look .inner-page-author {
    padding: 0;
}

body.new-header-look.modified-style #live-search {
    text-align: right;
    margin: 0;
}
body.new-header-look.modified-style #live-search input {
    line-height: 19px;
    max-width: 290px;
    border: 1px solid #c0c0c0;
    padding-left: 5px;
    padding-right: 5px;
    font-weight: normal;
    font-size: 14px;
    height: 24px;
}
body.new-header-look.modified-style #live-search .text-input-title,
body.new-header-look.modified-style .sbd-filtering-block-header .text-input-title {
	display: block;
	width: 67px;
	float: left;
}
body.new-header-look.modified-style #live-search .text-input-holder,
body.new-header-look.modified-style .sbd-filtering-block-header .text-input-holder {
	display: block;
	margin-left: 70px;
	float: none;
}
body.new-header-look.modified-style #live-search .text-input-holder input,
body.new-header-look.modified-style .sbd-filtering-block-header .text-input-holder input {
	width: 100%;
}
body.new-header-look.modified-style .sbd-filtering-block-header .text-input-title {
	width: 37px;
}
body.new-header-look.modified-style .sbd-filtering-block-header .text-input-holder {
	margin-left: 40px;
}
body.new-header-look .city-search-select {
    padding: 4px 0 2px 0;
}
body.new-header-look .city-search-select select {
    max-width: 120px;
}

@media (max-width: 767px) {
    body.new-header-look.modified-style #live-search {
            text-align: left;
    }
    body.new-header-look.modified-style #live-search input {
        width: 82.5%;
        float: right;
        max-width: none;
    }
    
     body.new-header-look.modified-style .sbd-filtering-block-header .sbd_filtering_search {
        width: 82.5%;
        float: right;
        max-width: none;
        margin-right: 0;
    }
    
    body.new-header-look .city-search-select select {
        width: 82.5%;
        float: right;
        max-width: none;
    }
	
	body.new-header-look.modified-style #live-search .text-input-title,
	body.new-header-look.modified-style .sbd-filtering-block-header .text-input-title {
		display: inline-block;
		width: auto;
		float: none;
	}
	
	body.new-header-look.modified-style #live-search .text-input-holder,
	body.new-header-look.modified-style .sbd-filtering-block-header .text-input-holder {
		display: block;
		margin-left: 0;
		float: right;		
		width: 82.5%;
		max-width: none;
	}
	body.new-header-look.modified-style #live-search .text-input-holder input,
	body.new-header-look.modified-style .sbd-filtering-block-header .text-input-holder input {
		width: 100%;
	}
}

body.modified-style .sbd-theme-main-menu {
    position: relative;
    z-index: 9999;
}
/* END: NEW-HEADER-LOOK */



@media (max-width: 767px) {
    body.modified-style .sbd-logo {
        max-width: 75px;
    }
    
    body.modified-style #main,
    body.modified-style.home #main {
        margin-top: 0px;
    }
}


.term_description {
    margin-bottom: 30px;
    text-align: center;
    padding: 10px 15px;
}

.debug-popup-window {
    position: fixed;
    height: 500px;
    min-width: 850px;
    width: 90%;
    left: 4px;    
    bottom: 4px;    
    padding: 10px;
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    box-shadow: 0 0 6px #777;
    overflow-y: auto;
    z-index: 99999999;
}
.debug-popup-window .debug-popup-note {
    color: #777;
    margin-left: 35px;
}

.style-temporary_switcher {
    position:fixed;
    top: 2px;
    right: 10px;
    border:0px solid #000;
    padding: 0px 4px 0px 4px;
    box-shadow: -0 -0 1px #000;
    width: 110px;
    font-size: 10px;
    background-color: #fff;
    z-index:999999999;
    line-height: 18px;
    text-align: center;
    color: #777;
    border-radius: 10px;
    cursor: pointer;
}
.style-temporary_switcher:hover {
    color: #333;
}
#feature{
	margin-top:-18px;
	padding:10px 5px;
	
}