/*
 Theme Name:   US Funerals
 Theme URI:    https://generatepress.com
 Description:  A GeneratePress child theme
 Author:       Chris McMahon
 Author URI:   https://verysimplesites.co.uk
 Template:     generatepress
 Version:      0.1
*/

.site-header .header-image {
	padding-top:15px;
}

.button {
    border-radius: 0.3em;
}

/*---------------------------------------------------------------------------*/
/*NOT USED ANY MORE - set to display none in taxonomy_states.php*/
/*.dfs-banner {*/
/*    position: -webkit-sticky;*/
/*  position: sticky;*/
/*  top: 60px;*/
/*    width:100%;*/
/*    height:auto;*/
/*    background-image:url("/wp-content/uploads/2019/09/DFS-Banner-Blank.jpg");*/
/*    background-position: center center;*/
/*    background-repeat: no-repeat;*/
/*    background-size:100%;*/
/*    background-color:#14226A;*/
/*}*/

/*.dfs-banner img {*/
/*    width:100%;*/
/*}*/

/*.dfs-banner p {*/
/*    position:absolute;*/
/*    bottom:7%;*/
/*    right:20px;*/
/*    text-align:right;*/
/*    margin-bottom:0;*/
/*    font-size: 17px;*/
/*    font-weight:600;*/
/*    color:#ffffff;*/
/*}*/

/*  .dfs-banner a:link, .dfs-banner a:visited {*/
/*    color:#ffffff;*/
/*}*/

/*@media screen and (max-width: 460px) {*/
/*   .dfs-banner p {*/
/*    font-size: 0.7em;*/
/*    }*/
    
/*}*/

/*---------------------------------------------------------------------------*/


/*unused stuf??*/

/*.local-provider {*/
/*    font-size:16px!important;*/
/*}*/


/*.city-text-provider {*/
/*    display: flex;*/
/*    flex-direction: row;*/
/*    padding:20px;*/
/*    border:2px solid;*/
/*    background-color:#EFEFEF ;*/
/*    color:#03226D;*/
/*}*/

/*.city-provider-ad img {*/
/*    margin-right:20px;*/
/*    max-width:150px;*/
/*}*/

/*.city-text-provider p {*/
/*    margin-bottom:0.4rem;*/
/*}*/

/*.city-provider-img  {*/
/*    float:left;*/
/*}*/
/*.city-ad-text {*/
/*     float:right;*/
/*    padding-left:20px;*/
/*}*/

/*.fh-list {*/
/*    background-color:#fff;*/
/*    padding:20px;*/
/*    margin-bottom:20px;*/
    
/*}*/

/*----------*/

/*------------home page stuff-------------------*/

/*red box on home page in Beaver Builder*/
#home-search-box {
    padding:10px;
	margin-right:20px;
    background-color:#BD0000;
    color:#ffffff;
}


/*------------end home page stuff-------------------*/


/*-----------on page https://chrismcmahon.co.uk/funeral-homes/  output from state.php plugin file--------*/
#statelist {
    margin-bottom:15px;
    padding:0 20px;
}


.state-list, .town-list {
    margin:0;
    padding:0;
    clear:both;
    column-count: 3;
	list-style-type: none;
}

.state-list, .town-list a:link, a:visited {
    color:#dd0000;
}


@media only screen and (max-width: 768px) {
   
   .state-dropdown {
       margin:0 1em;
   }
 
    
}








/*-----------fh, providers & state tax-------------------------------*/


    .important-towns,.town-dropdown  {
        margin:10px 0;
    }
    
    .important-towns li {
        display:inline;
        list-style-type: none;
        font-weight: 600;
        padding-right:20px;
        }

    .city-filter-box {
        /*display: none;*/
        padding:20px;
        margin-bottom:30px;
        background-color: #d5e0ff;
        }

    .city-filter-box h3 {
        margin-bottom:0;
        }

    /*for google maps on funeral homes*/
    .acf-map {
    	width: 100%;
    	height: 400px;
    	border: #ccc solid 1px;
    	margin: 20px 0;
        }

/* fixes potential theme css conflict */
.acf-map img {
   max-width: inherit !important;
}


    .dfs-button:visited {
        color:#f9f9f9;
    }



@media only screen and (min-width: 768px) {
    
        .homes-list {
            columns: 2;
            }
            
        .provider-mobile {
            display:none;
            }
            
        .provider-fh-mobile {
            display:none;
            }
            
        .mobile-state-tax-footer {
            display:none;
            }
        
        #taxonomy-states, #fh-template-main, #provider-template-main {
            width:100%;
            min-height:Calc(100vh - 190px);
        }
            
        .provider {
            position: -webkit-sticky;
            position: sticky;
            z-index:100;
            border:1px solid #14246d;
            top: 60px;
            margin: 0 0 20px 0;
            padding:40px 20px 40px 15%;
            text-align:right;
            background: #eee8d8 url("/wp-content/uploads/2019/09/DFS-bg.jpg") left  no-repeat;
        }
        
        .provider h2 {
            font-weight: 900;
            margin:0;
            }
        
        .provider p {
            margin:0;
            color:#001f6f;
            font-weight:600; 
            }
          
        /*for funeral homes*/
        
        .provider-fh {
            position: -webkit-sticky; /* Safari */
            position: sticky;
            z-index:100;
            border:1px solid #14246d;
            top: 60px;
            margin: 0 0 20px 0;
            padding:40px 20px 40px 15%;
            text-align:right;
            background: #eee8d8 url("/wp-content/uploads/2019/09/DFS-bg.jpg") left  no-repeat;
        }
        
        .provider-fh h2 {
            font-weight: 900;
            margin:0;
        }
        
        .provider-fh p {
            margin:0;
            color:#001f6f;
            font-weight:600; 
            }
  
}

/*end (min-width: 768px)*/

@media only screen and (max-width: 768px) {
    
        h1 {
            font-size:30px;
            }
        
        .provider {
            display:none;
            }
              
        .provider-fh {
            display:none;
            }
      
        #taxonomy-states {
            /*height:calc(100vh - 140px);*/
            }
      
        /*.provider-mobile {*/
        /*  position: -webkit-sticky; */
        /*  position: sticky;*/
        /*  z-index:100;*/
        /*  border:1px solid #14246d;*/
        /*  top: 60px;*/
        /*  margin: 0 0 10px 0;*/
        /*  padding:10px 10px 10px 10px;*/
        /*  text-align:right;*/
        /*  background: #eee8d8 url("/wp-content/uploads/2019/09/DFS-bg.jpg") left  no-repeat;*/
        /*  background-color:#EEE8D8;*/
      
        /*    }  */
    
        .mobile-state-tax-footer {
            box-shadow: 0px -1px 0px 0px rgba(0,0,0,0.3);
            position:relative;
            height:100px;
            width:100%;
            padding:1em 1em;
            z-index:99;
            display:flex;
            column-gap:30px;
            align-items:center;
            justify-content:space-evenly;
            color:#f9f9f9;
            background-color:#001F6F;
            position:fixed;
            bottom:0;
            }
            
            
        .svg-phone-box {
            display:flex;
            align-items:center;
          
        } 
        
        .svg-phone {
            
        }
    
        .mobile-state-tax-footer p {
            margin-bottom:0;
            font-size: clamp(1rem, 1.786vw + 0.429rem, 1.8rem);
            font-weight:600;
        }
    
        /*.mobile-state-tax-footer.svg-phone {*/
             /*font-size:clamp(2rem, 1.786vw + 1.643rem, 2.5rem);*/
        /*     font-size: clamp(1.8rem, 1.116vw + 1.443rem, 2.3rem);*/
        /*     color:#f9f9f9;*/
        /*}*/
        

            
        .mobile-state-tax-footer a {
            color:#f9f9f9;
            
        }    
    
        .mobile-state-tax-footer a::before {
            content:'';
            position: absolute;
            inset: 0;
            z-index:1;
        }
    
    /*for funeral homes on mobile*/
    
        /*.provider-fh-mobile {*/
        /*    box-shadow: 0px -1px 0px 0px rgba(0,0,0,0.3);*/
        /*    position:relative;*/
        /*    width:100%;*/
        /*    padding:1em 0;*/
        /*    z-index:99;*/
        /*    display:flex;*/
        /*    justify-content: space-evenly;*/
        /*    align-items:center;*/
        /*    color:#f9f9f9;*/
        /*    background-color:#001F6F;*/
        /*    position:fixed;*/
        /*    bottom:0;*/
        /*    }*/
    
        /*.provider-fh-mobile p {*/
        /*    margin-bottom:0;*/
        /*    font-size:clamp(0.8rem, 2.143vw + 0.371rem, 1.4rem);*/
        /*    font-weight:600;*/
        /*    }*/
    
        /*.provider-fh-mobile .icon {*/
        /*    height:60px;*/
        /*    width:auto;*/
        /*    color:#f9f9f9;*/
        /*    }*/
            
        /*.provider-fh-mobile a {*/
        /*    color:#f9f9f9;*/
            
        /*}      */
    
        /*.provider-fh-mobile a::before {*/
        /*    content:'';*/
        /*    position: absolute;*/
        /*    inset: 0;*/
        /*    z-index:1;*/
        /*    }*/
    
    
        .provider-mobile h2 {
            font-weight: 900;
            font-size:20px;
            margin:0;
            }
        
        .provider-mobile p {
            margin:0;
            color:#001f6f;
            font-weight:600; 
            }

}

/*end max width 768 for homes, providers & state tax */

/*-----------end fh, providers & state tax-------------------------------*/


.additional-providers {
	 position: -webkit-sticky; 
  position: sticky;
  top: 60px;
	padding:10px;
	margin-bottom:10px;
	background-color:#EEE8D8;
	border:solid 1px
}

.additional-providers h4 {
	font-size:22px;
	font-weight:bold;
}

.additional-providers p {
	margin-bottom:5px;
	border-bottom:1px solid;
}


.add-prov {
	font-weight:bold;
	color:#001E6F;
}

@media only screen and (min-width: 769px) {
.additional-providers-mob {
    display:none;
  }
}

@media only screen and (max-width: 768px) {
 .additional-providers {
    display:none;
  }
  
  .additional-providers-mob {
       position: -webkit-sticky; 
  position: sticky;
  top: 60px;
	padding:10px;
	margin-bottom:5px;
	background-color:#EEE8D8;
	border:solid 1px
  }
  
 .additional-providers-mob p {
    margin-bottom:0;
    font-size:13px;
 }
}


.home-list {
    padding:10px 0;
}

.home-list h2 {
    font-size:20px;
    font-weight:normal;
}

.stick {
    position: sticky!important; 
    top: 60px;
    z-index: 100;
}


@media screen and (max-width: 640px) {
   
    .post-1774 .state-list  {
         display:none;
    }
    .town-list {
        column-count:2;
    }
    
  
}

@media screen and (min-width: 641px) {
    .post-1774 .state-dropdown  {
         display:none;
    }
    
    .dfs-banner-mobile, .dfs-banner-mobile p {
        display:none;
    }
    
}


.acf-map-gbd {
	width: 100%;
	height: 400px;
	border: #ccc solid 1px;
	margin: 20px 0;
}
.acf-map-gbd img {
	max-width: inherit !important;
}
.acf-map-gbd .marker {
	opacity: 0;
}




/*STUFF PASTED FROM CUSTOMIZER*/


.wp-show-posts-inner {
	margin:0 2em!important;
}

#wpsp-41637 {
	margin-bottom:2em;
}




.fg-form {
	font-family:inherit;
	background-color:#D3D5E2!important;
	padding:10px!important;
	border: 1px solid #ccc9c9;
}

.fg-form .frm_style_formidable-style.with_frm_style .frm_primary_label  {
	font-weight:500;
}


.fg-form .frm_style_formidable-style.with_frm_style .form-field {
    margin-bottom: 5px;
}

.fg-form p {
	margin-bottom:5px;
}

#author-bio {
	background-color:#EFEFEF;
	margin-top:20px;
	padding:20px;
}



 @media (max-width: 768px) {
   .site-logo {
    display: inline-block;
    max-width: 250px;
}
} 

.footer-links li {
	margin-bottom:5px;
  width: 50%;
  float: left;
	font-weight:500;
}



.sidebar-CC-form {
	background-color:#D3D5E2;
}

.sidebar-CC-form h2 {
	font-size:22px;
	color:#14226A;
	font-weight:600;
	margin-bottom:5px;
}

.sidebar-CC-form p {
	margin-bottom:5px;
	font-size:14px;
}

.bloomlink figcaption {
	margin-top:-10px;
	font-weight:bold;
	text-align:center;
	font-size:16px!important;
}

.term-5460 .dfs-banner {
	display:none;
}
