/* THEME MY LOGIN FORM STYLINGS */
input.tml-button:hover,.custom-btn:hover {
    background-color: rgb(87, 166, 0);
}
.tml .tml-field {
    border: 1px solid #2a2a2a;
    border-radius: 5px;
    padding: 15px 15px;
    margin: 10px 5px;
    box-sizing: border-box;
}
input.tml-button,.custom-btn{

    font-family: Montserrat, Arial, Helvetica, Geneva, sans-serif;
    background-color: rgb(42, 42, 42);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    color: rgb(255, 255, 255) !important;
    padding: 5px 15px;
    text-decoration: none !important;
}
.tml ul.tml-links {
    margin: 0px;
}
.tml ul.tml-links li {
    margin: 0px;
    padding: 0px;
    list-style-type: none !important;
}

/* custom buttons styling */
.single-post .wprm-recipe-snippet {
    display: inline-block !important;
}

a.pl-custom-btn:hover, a.wprm-recipe-link.pl-custom-btn.added {
    color: #fbc41b !important;
}

a.wprm-recipe-link.pl-custom-btn.added {
    /*cursor: not-allowed; !*pointer-events: none;*!*/
}

/*popup custom styling *//* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: hidden; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 30px;
    width: 100%;
    max-width: 600px;
    border: 2px solid black;
    max-height: 95%;
    overflow-y: auto;
}
.modal .modal-content h3:first-child{
    margin: 0px;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 30px;
    font-weight: bold;
}

.close:hover, .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/*sticky sidebar styling*/
.sticky-sidebars {
    color: white;
    cursor: pointer;
}

.side-menu {
    width: 300px;
    height: 100%;
    padding: 0px 0;
    box-sizing: border-box;
    background: #fff;
    display: flex;
    flex-flow: column nowrap;
    box-shadow: 5px 0px 10px rgba(17, 26, 41, 0.6);
    position: fixed;
    transition: 0.5s; /* transform: translateX(0); */
    right: -300px;
    top: 0;
    border: 2px solid #000;
    z-index: 99999;
}

.side-menu form {
    display: flex;
    margin: 0 10px 50px;
    border-radius: 100px;
    border: 1px solid #fff;
}

.side-menu form input, .side-menu form button {
    background-color: transparent;
    color: #fff;
    border: none;
    padding: 5px 10px;
}

.side-menu form input {
    width: 230px;
}

.side-menu label {
    position: absolute;
    height: 36px;
    background-color: #000;
    color: #fff;
    left: -70px;
    top: 0;
    bottom: 0;
    margin: auto;
    line-height: 30px;
    text-align: center;
    border-radius: 0;
    transform: rotate(-90deg);
    padding: 2px 8px 2px 8px;
}

#side-menu-switch {
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0px;
}

#side-menu-switch:checked + .side-menu {
    transform: translateX(-100%);
}

#side-menu-switch:checked + .side-menu label .fas {
    transform: scaleX(-1);
}

.sidebar-scroll {
    height: 80vh;
    overflow: auto;
}

#sticky-popup .modal-content {
    width: 100%;
    max-height: none;
    border: 0px;
    background: none;
    padding: 30px 0 0 20px;
}

.grocery-icons a {
    color: #000 !important;
}

p.grocery-email-input, .grocery-list-input {
    padding: 0;
    margin: 5px 5px 5px 0px !important;
}

p.grocery-email-input input, .grocery-list-input input {
    margin: 0;
    min-width: auto;
    display: inline-block;
    width: 95%;
    padding-right: 40px;
}

.sticky-popup-content h4 {
    font-size: 14px;
    letter-spacing: 1px;
    margin: 7px 0;
}

.sticky-popup-content ul li {
    font-size: 14px;
    position: relative;
    padding: 0 20px 0 0px;
    list-style: none;
}

.sticky-popup-content .recipe-title {
    position: relative;
    padding: 0 20px 0 0px;
}

.sticky-popup-content .close-a {
    position: absolute;
    right: 5px;
    top: 0;
}

.sticky-popup-content ul {
    list-style: none;
}

.grocery-email-input a.btn {
    color: #fff !important;
    text-decoration: none;
}

.sticky-popup-content .middle-content {
    position: absolute;
    top: 50%;
    left: 15%;
}

.sticky-popup-content .input-icon-inline,.input-icon-inline {
    vertical-align: middle;
    margin-left: -38px;
}

/*manage my collection popup*/
#collection-modal .custom-field {
    margin: 5px 0;
    min-width: 85%;
    float: left;
    position: relative;
    padding: 5px 40px 5px 10px;
}
#collection-modal .collection-item {
    overflow: hidden;
}
#collection-modal .collection-item:first-child {
    margin-top: 5px;
}
#collection-modal .collection-item span.fa {
    color: #2e2e2e;
}
/*other styling*/
.hide {
    display: none !important;
}
.text-center{
    text-align: center;
}
.red{
    color: #AB1700 !important;
}
.b-red{
    background-color: #AB1700 !important;
}
.float-right{
    float: right;
    text-align: right;
    margin-right: 10px;
}
.ellipsis-nowrap{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.custom-field {
    border: 1px solid #2a2a2a;
    border-radius: 5px;
    padding: 8px 10px;
    margin: 15px 0px;
    box-sizing: border-box;
    min-width: 360px;
}

#sticky-popup a {
    cursor: pointer;
}

.grocery-icons .fa, .grocery-title-section .fa, .f-21 {
    font-size: 21px;
    padding: 5px;
}

.wprm-recipe .pl-recipe-btn {
    text-transform: uppercase;
    font-family: "Montserrat", Arial, Helvetica, Geneva, sans-serif;
    letter-spacing: .08em;
    text-decoration: none !important;
    font-size: 11px;
    padding: 8px 10px;
    margin: 0;
    font-weight: bold;
}

/*favorite page styling*/
.subcats ul li a.selected {
    background-color: #fbc41b;
}

/*gorcery buttons popup styling*/
#grocery-btns-popup .modal-content {
    padding: 0;
    width: 100%;
    max-width: 1100px;
}

#grocery-btns-popup .custom-row {
    display: flex;
    flex-wrap: wrap;
     display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

#grocery-btns-popup .custom-row div {
    flex: 0 0 50%;
}
#grocery-btns-popup .close{
    margin-right: 5px;
    z-index: 99999;
    cursor: pointer;
    text-decoration: none;
}
#grocery-btns-popup .img-div img {
    max-width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
}
#grocery-btns-popup .login-div {
    padding: 20px;
}
#grocery-btns-popup .tml-label:not([for=rememberme]){
    display: none;
}
.wprm-recipe-snippet a.wprm-recipe-link {
    display: inline-block;
    margin-bottom: 10px;
}

#favourite-modal .modal-content {
    max-width: 480px;
    position: relative;
}
#collection-modal .modal-content {
    max-width: 500px;
    max-height: 264px;
    position: relative;
}
#favourite-modal .modal-content .close,
#collection-modal .modal-content .close {
    position: absolute;
    top: 0;
    right: 13px;
    z-index: 9;
}
#collection-modal .custom-field input {
    height: 100%;
    background: none;
    width: 100%;
    border: none;
    padding: 0;
}
#collection-modal .custom-field > span {
    position: absolute;
    padding: 0;
    right: 7px;
    top: 8px;
    margin: 0;
}
#collection-modal .collection-item span.fa.remove-collection { margin: 10px 0 0 10px; }

#grocery-btns-popup .popup-actual-content{
    /*position: relative;*/
    z-index: 999;
}
@media only screen and (max-width: 600px) {
    #grocery-btns-popup .custom-row div {
        flex: 0 0 100%;
    }
    #grocery-btns-popup .img-div {
        padding: 22px 5px 10px 15px;
    }
    .single-post .wprm-recipe-snippet a {
        margin: 0 auto 10px !important;
        display: block;
        width: 210px;
    }    
    #grocery-btns-popup {
        padding: 0;
        height: 100vh;
        text-align: left;
    }
    #grocery-btns-popup .modal-content {
        max-height: 100%;
        height: 100%;
    }
    #grocery-btns-popup .custom-row h3 {  margin: 0 0 20px; }
    #grocery-btns-popup .custom-row .tml .tml-field {  margin: 0;  }
    #grocery-btns-popup .custom-row { display: block; }
    #grocery-btns-popup .custom-row .login-div { padding: 20px 30px; }
    #grocery-btns-popup .close {
        margin: 0;
        line-height: 1;
        position: absolute;
        top: 15px;
        right: 15px;
        z-index: 999;
    }
    .grocery-list { margin-right: 20px; }
    .grocery-list .recipe-ul { text-align: left;  }
    #sticky-popup .modal-content { padding-top: 50px; }
    #sticky-popup .sidebar-scroll { padding-right: 20px; }
    #sticky-popup .sticky-popup-content { text-align: left; }
    .single-post .wprm-recipe-snippet { display: block !important;  }
    #favourite-modal .custom-field { min-width: 100%; }
    #grocery-btns-popup .img-div img {
        max-height: 140px;
        margin: 0 auto;
        position: relative;
        z-index: 1;
    }
}

/*favorite template page*/
.favorite-archive{
    position: relative;
}
.favorite-archive span.remove-favrt {
    top: 5px;
    position: absolute;
    right: 5px;
    cursor: pointer;
}

.favorite-archive span.remove-favrt:hover {
    color: #fbc41b;
}
/*amazon products shortcode styling*/
.product-shortcode p{
    margin: 0px;
}
.product-shortcode a, a.custom-btn{
    cursor: pointer;
}
div.product-shortcode {
    display: inline-block !important;
    overflow: hidden !important;
}
ul.shortcode_post {
    display: inline-block !important;
    position: relative !important;
    margin: 0 -10px 0 0 !important;
    padding: 0 !important;
}
ul.shortcode_post li {
    width: 180px !important;
    position: relative !important;
    display: inline-block !important;
    vertical-align: top !important;
    zoom: 1 !important;
    margin: 10px 10px 10px 0px !important;
    padding: 0 !important;
    background: none !important;
}
ul.shortcode_post li a {
    position: relative !important;
    display: block !important;
    font-size: 13px !important;
    line-height: 1.6em !important;
    text-decoration: none !important;
    margin-bottom: 5px !important;
    text-indent: 0 !important;
}
ul.shortcode_post li img {
    width: auto !important;
    height: auto !important;
    display: block !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    float: none !important;
    border-radius: 3px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) !important;
}
/* Chrome, Safari, Edge, Opera */
ul.shortcode_post li .qt-field::-webkit-outer-spin-button,
ul.shortcode_post li .qt-field::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* Firefox */
ul.shortcode_post li  .qt-field[type=number] {
    -moz-appearance: textfield;
}
ul.shortcode_post li .qt-field, .qt-field{
    max-width: 80px;
    height: 28px;
    border: 2px solid #2a2a2a;
    /*border-radius: 15px;*/
    -webkit-appearance: none;
    text-align: center !important;
}
/*cart icon count styling*/
span.cart-count {
    top: -16px;
    position: absolute;
    right: -6px;
    color: white;
    padding: 2px 5px 2px 5px;
    border-radius: 50%;
    background: black;
    font-size: xx-small;
}
a.cart-icon{
    position: relative;
}

/* HEADER SOCIAL ICONS DROPDOWN ON HOVER MENU */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    text-align: left !important;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 185px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 12px 16px;
    z-index: 1000;
    border: 2px solid black;
}
.dropdown-content a{
    text-decoration: none !important;
    display: block;
    font-size: 11px !important;
    line-height: 1.3;
    font-family: "Montserrat", Arial, sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: .1em;
}
.dropdown:hover .dropdown-content {
    display: block;
}
/*manage col div settings*/
.white-btn,.manage-collections.custom-btn{
    color: black !important;
    background-color: white !important;
}
a.manage-collections:hover{
    background-color: #fbc41b !important;
    color: white !important;
}
.manage-collections{
    margin-top: 7px !important;
    margin-bottom: 0px !important;
}
.subcats.favrt-subcats {
    margin-bottom: 10px;
}
#add-col-grocery a.add-recipes-gl {
    display: block;
    font-weight: bold;
    text-decoration: none;
    color: black;
}
.single-post .wprm-recipe-jump {
    font-size: 14px!important;
}
@media only screen and (max-width: 600px) {
    span.remove-collection.fa.fa-trash.f-21 {
        font-size: 30px;
        margin: 2px 0px 0px 5px !important;
    }
}