/*	--------------------------------------------------
	Reveal Modals
	-------------------------------------------------- */

.reveal-modal-bg {
    position: fixed;
    height: 100%;
    width: 100%;
    background: #fff;
    background: rgba(248, 248, 248, .8);
    z-index: 10000;
    display: none;
    top: 0;
    left: 0;
}

.reveal-modal {
    visibility: hidden;
    top: 50px !important;
    left: 50%;
    margin-left: -180px;
    width: 300px;
    position: fixed;
    z-index: 19010;

    border-radius: 3px;
    box-shadow: 0px 0px 30px -2px rgba(0, 0, 0, 0.1);
    background: #fff;
    display: table-cell;

    padding: 30px;
}

.reveal-modal.small {
    width: 200px;
    margin-left: -140px;
}

.reveal-modal.medium {
    width: 400px;
    margin-left: -240px;
}

.reveal-modal.large {
    width: 600px;
    margin-left: -340px;
}

.reveal-modal.xlarge {
    width: 800px;
    margin-left: -440px;
}


.reveal-modal.pop_up {
    width: 100%;
    max-width: 800px;
    margin-left: -50vw;
    padding: 0;
}

.pop_up a, .pop_up > a {
    display: block;
    width: 100%;
    max-width: 800px;
}

.pop_up a, .pop_up > a > img {
    display: block;
    width: 100%;
    max-width: 800px;
}


.reveal-modal.region_pop_up {
    width: 100%;
    max-width: 300px;
    margin-left: -50vw;

    color: #FFFFFF;

    background: #ca4927 url("../../../assets/img/globe_w.png") 15px 30px no-repeat;
    background-size: 20px;

    padding: 20px 20px 20px 60px;
}

.reveal-modal.region_pop_up a {
    color: #FFFFFF;
}


.reveal-modal .close-reveal-modal {
    font-size: 22px;
    line-height: .5;
    position: absolute;
    top: 8px;
    right: 6px;
    color: #000;
    text-shadow: 0 -1px 1px rbga(0, 0, 0, .6);
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}


@media screen and (min-width: 768px) {

    .reveal-modal.pop_up {
        width: 100%;
        max-width: 800px;
        margin-left: -400px;
        padding: 0;
    }

    .pop_up a, .pop_up > a {
        display: block;
        width: 100%;
        max-width: 800px;
    }

    .pop_up a, .pop_up > a > img {
        display: block;
        width: 100%;
        max-width: 800px;
    }


    .reveal-modal.region_pop_up {

        width: 100%;


        max-width: 300px;
        margin-left: -150px;

        color: #FFFFFF;

        background: #ca4927 url("../../../assets/img/globe_w.png") 20px 25px no-repeat;
        background-size: 20px;

        padding: 20px 20px 20px 60px;
    }

}


/*

NOTES

Close button entity is &#215;

Example markup

<div id="myModal" class="reveal-modal">
    <h2>Awesome. I have it.</h2>
    <p class="lead">Your couch.  I it's mine.</p>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ultrices aliquet placerat. Duis pulvinar orci et nisi euismod vitae tempus lorem consectetur. Duis at magna quis turpis mattis venenatis eget id diam. </p>
    <a class="close-reveal-modal">&#215;</a>
</div>

*/