/*Sympathy Notifications*/
body.has-sticky{
    padding-top:3rem;
}
body.has-sticky.woocommerce-order-received{
    padding-top:0;
}
#sympathy-notification{
    width:100%;
    background-color:#fff;
    border-bottom:1px solid #ccc;
    text-align: center; 
    padding:0.5rem;  
    max-height:3rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}
#sympathy-notification.sticky{
    top:0;
    position:fixed;
    z-index: 999;
}
#sympathy-notification a{
    float:right;
}
#sympathy-notification a span{
    padding-right:0.5rem;
}
#sympathy-notification a:hover, #sympathy-notification a:focus{
    text-decoration: none;
    font-weight: bold;
}
/*Sympathy Reminder Popup*/
.sympathy-reminder-popup{
    position: fixed;
    bottom:0;
    left:0;
    right:0;
    background-color:black;
    color: white;
    padding: 0 5rem 1.5rem 2rem;
    z-index: 999;
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.1);
    transform:translateY(5rem);
    opacity: 0;
    border-top:1rem solid black;
    visibility: hidden;
    transition:1s all ease-in;
    -moz-transition:1s all ease-in;
    -webkit-transition:1s all ease-in;
    -ms-transition:1s all ease-in;
    width:100%;
    max-width:768px;
}
.sympathy-reminder-popup h5{
    margin-top:0;
    padding-top:0;
    text-align: center;
    letter-spacing: 0.075em;
    font-weight: 600;
}
.sympathy-reminder-popup .btn{
    margin-bottom:0;
    margin-top: 12px;
    padding: 5px;
    width: 100%;
    background-color: white;
    background-position: right;
}
.sympathy-reminder-popup .btn:hover, .sympathy-reminder-popup .btn:focus {
    background-color: #366768;
    color: white;
    background-image: url(https://www.iandf.com/wp-content/themes/iandfdesign/css/../assets/flwr_icon_wht.svg);
    background-repeat: no-repeat;
    opacity: 1;
}
.sympathy-reminder-popup.show{
    opacity: 1;
    transform:translateY(0);
    visibility: visible;
}
.sympathy-reminder-popup .close-pop-up{
    position: absolute;
    display: flex;
    top: 0;
    left:0.5rem;
    border-radius: 100%;
    font-size: 1.25rem;
    -webkit-text-stroke: 0.5px black;
    color: white;
    background-color: black;
    border:none;
    cursor: pointer;
}
.sympathy-reminder-popup .close-pop-up:hover,.sympathy-reminder-popup .close-pop-up:focus{
    background-color:#000;
    color:white;
}

/*Sympathy Shortcode*/
.funerals-wrapper{
    display:flex;
    flex-direction: column;
    flex-wrap: wrap;
}
.funerals-wrapper .funeral{
    border:1px solid #ccc;
    padding:2rem 2rem 4rem 2rem;
    position: relative;
    -moz-transition:0.2s all ease-in;
    -webkit-transition:0.2s all ease-in;
    transition:0.2s all ease-in;
    margin:1rem;
    height: 90%;
}
.funerals-wrapper .funeral:hover,.funeral:focus-within{
    background-color:#f5f5f5;
}
.funerals-wrapper .funeral h2{
    font-size:2rem;
    font-weight: bold;
    margin-top:0;
    margin-bottom:1rem;
    padding:0;
    line-height: 100%;
    border-bottom:1px solid #ccc;
}
.funerals-wrapper .funeral h2 em{
    display:block;
    font-weight: normal;
    font-size:1rem;
}
.funerals-wrapper .funeral .addr{
    margin:0;
    padding:0.5rem 0;
    font-size:0.8rem;
    border-bottom:1px solid #f1f1f1;
}
.funerals-wrapper .funeral .addr:last-of-type{
    border-bottom:none;
}
.funerals-wrapper .funeral .button{
    position: absolute;
    bottom:0;
    left:0;
    width:100%;
    background-color:#1d1d1d;
    font-weight: bold;
    text-decoration: none;
}
.funerals-wrapper .funeral:hover .button,.funerals-wrapper .funeral:focus{
    background-color:#000;
}
.funeral .overlay-btn{
	position: absolute;
	top:0;
	left:0;
	bottom:0;
	right:0;
	display: block;
    width:100%;
    background: transparent;
    cursor:pointer;
}
.funeral .overlay-btn:hover,.funeral .overlay-btn:focus{
    background: transparent;
}
/*Sympathy Search Form*/
.funeral-search-form{
    margin:3rem auto;
    display: flex;
    flex-direction: row;
    max-width:1000px;
}
.funeral-search-form label{
    margin:0;
}
.funeral-search-form input{
    height: 100%;
}
.funeral-search-form .button{
    max-width:100px;
}
/*Sympathy No Cart Notification*/
.woocommerce-simple-add-to-cart.sympathy-no-add-to-cart-msg{
    background-color:#1d1d1d;
    color:#fff;
    padding:2rem !important;
    text-align: left !important;
}
.sympathy-no-add-to-cart-msg a.button{
    margin-top:1rem !important;
}
/*No Sympathy Post Found*/
.not-found{
    text-align: center;
    font-size:1.25rem;
    font-style: italic;
    padding:1rem;
    border:2px solid #f1f1f1;
}

/*Multiple Ship Disable Styles for Funeral sessions*/
.funeral-session #ms_shipping_addresses_field,.funeral-session #wcms_message,.funeral-session #ship-to-different-address,.funeral-session .shipping-selection-tabs{
    display:none !important;
}
.funeral-session #shipping_company_field{
    display: block !important;
}
/*Disable Fields in Checkout that are pre-populated*/
.funeral-session .woocommerce-shipping-fields .shipping_address input,.funeral-session .woocommerce-shipping-fields .shipping_address select, .funeral-session #checkout-wrapper .input-group,.funeral-session #checkout-wrapper .shipping_method{
    pointer-events: none;
    opacity: 0.75;
    background-color:#f5f5f5;
}
.funeral-session .woocommerce-shipping-fields .checkbox input{
    opacity :0;
}
/*Enable Certain Optional Fields*/
.funeral-session .woocommerce-shipping-fields #shipping_phone2,.funeral-session .woocommerce-shipping-fields #shipping_email{
    pointer-events: auto;
    opacity: 1;
    background-color:transparent;
}
/*Sympathy Sidebar*/
.product-link{
    position: absolute;
    top:0;
    left:0;
    right:0;
    bottom: 0;
    z-index: 99;
    cursor: pointer;
}
.sympathy-products{
    margin-bottom: 2rem;
}
.sympathy-products p{
    background-color: black;
    color:white;
    font-weight: bold;
    padding:1.5rem;
}
.sympathy-products .expand{
    display: block;
    background-color:#ccc;
    padding:0.2rem;
    text-align: center;
    margin-bottom:0.2rem;
    font-size:0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    width:100%;
    text-decoration: none;
    color:black;
    font-weight: bold;
}
.sympathy-products .expand:focus,.sympathy-products .expand:hover{
    background-color:black;
    color:white;
}
.sympathy-products .expanded{
    overflow: hidden;
    max-height: 100rem;
    -ms-transition: 0.5s all; -webkit-transition: 0.5s all; -o-transition: 0.5s all; transition: 0.5s all;
    visibility: visible;
}
.sympathy-products .expanded.hidden{
    max-height: 0;
    visibility: visible;
}
.sympathy-products .product{
    align-items: center;
    padding:1rem;
    margin:0 !important;
    background-color:#eff2f6;
    border-bottom:2px solid white;
    position: relative;
    -ms-transition:0.2s all ease-out; -webkit-transition:0.2s all ease-out; -o-transition:0.2s all ease-out; transition:0.2s all ease-out;
}
.sympathy-products .product:after{
    content:'';
    display: block;
    clear: both;
}
.sympathy-products .product:hover,.sympathy-products .product:focus-within{
    background-color:#ccc;
    color:white;
}
.sympathy-products .product .product-img{
    max-width:5rem;
    float:left;
    margin-right:1rem;
    width:100%;
}
.sympathy-products .product-img:after{
    content:'\f00c';
    position: absolute;
    z-index: 999;
    color:white;
    background-color: rgba(255,255,255,0.35);
    border-radius: 100%;
    padding:0.25rem;
    text-align: center;
    width:2rem;
    height:2rem;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    font-size:1rem !important;
    font-weight: bold;
    font-family: "Font Awesome 5 Free";
}
.sympathy-products .product h4{
    font-size:1.2rem;
    font-weight: 300;
    line-height: 1.3rem;
    margin:0;
    padding:0;
}

.sympathy-field{
    /*.opacity:0.65;
    pointer-events: none;*/
}
.sympathy-field input,.sympathy-field select{
    background-color:#eff2f6;
}

/*Responsive Styles*/
@media only screen and (min-width:768px) {
    .sympathy-reminder-popup {
        right: 0;
        left: auto;
        bottom: 2rem;
        padding-top: 1.25rem;
        padding-right: 2rem;
        border-radius: 0.5rem 0 0 0.5rem;
        border-top:none;
        width:auto;
    }

    .sympathy-reminder-popup .close-pop-up {
        top: 0.5rem;
    }
}
@media only screen and (min-width:1200px){
    .funerals-wrapper{
        flex-direction: row;
    }
    .funerals-wrapper .column{
        width:33.33%;
    }    
}