/*
Front-End styles
*/
.block__custom-member-promos {
    display:flex;
    flex-direction: column;
    align-content: center;
    padding:50px 0;
    margin:50px 0 0;

    background-color:#000000;
    color:#999999;
}
.block__custom-member-promos .wrapper {
    display:flex;
    flex-direction:row;
    justify-content: space-around;
    flex-wrap:wrap;
    row-gap:50px;
}
.block__custom-member-promos .wrapper .item {
    display:flex;
    flex-direction:column;
    align-content: center;
    width:100%;
    max-width:800px;
    text-align:center;
    transition: all 0.5s ease;
}
.block__custom-member-promos .wrapper .item .thumb {
    border:1px solid transparent;
    margin-bottom:15px;
    transition: all 0.5s ease;
}
.block__custom-member-promos .wrapper .item:hover .thumb {
    border: 1px solid rgba(255,255,255,.2);
    box-shadow: 0 0 10px;
}
.block__custom-member-promos .wrapper .item img {
    display:flex;
    width:100%;
    margin:0 auto;
}
.block__custom-member-promos .wrapper .item h2 {
    text-transform:none !important;
}
.block__custom-member-promos .wrapper .item h2 a {
    text-decoration:none;
    color:orange;
}
.block__custom-member-promos .wrapper .item h2 a:hover {
    color:#FFFFFF;
}
.block__custom-member-promos .wrapper .item .btn {
    background: #f7941d;
    width: max-content;
    margin: 0 auto;
}
.block__custom-member-promos .wrapper .item .btn:hover {
    background: #CCCCCC;
}
.block__custom-member-promos .wrapper .btn.medium {
    font-size: 13px;
    padding: 7px 20px;
}

@media (min-width: 992px) {

    .block__custom-member-promos .wrapper .item {
        width:40%;
    }
    .block__custom-member-promos .wrapper .item .btn.medium {
        font-size: 15px;
        padding: 10px 30px;
    }
}


/* 
Editor styles
*/
.block__custom-member-promos.preview {
    width:100% !important; /* Required for previewing on editor */
    position:relative;
    border:1px dotted grey;
}
.block__custom-member-promos.preview::before {
    content:"MEMBER PROMOTIONS";
    display:block;
    position:absolute;
    left:0;
    top:0;
    padding:2px;
    background:blue;
    color:#FFFFFF;
    font-size:10px;
    line-height:1em;
}
.block__custom-member-promos.preview .wrapper {
    padding:10px;
}

.block__custom-member-promos.preview h1 {
    font-size:30px !important;
    font-weight:500 !important;
}
.block__custom-member-promos.preview h2 {
    font-size:24px !important;
    font-weight:500 !important;
    margin-bottom:0 !important;
}
.block__custom-member-promos.preview p {
    font-size:16px !important;
    font-weight:500 !important;
}
.block__custom-member-promos.preview a.btn {
    font-size:15px !important;
    font-weight:700 !important;
    text-transform: uppercase !important;
    text-decoration:none !important;
    letter-spacing: 1px !important;
}


