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

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

.reveal-modal {
    visibility: hidden;
    top: 100px; 
    margin-left: 5%;
    margin-right: 5%;
    width: 90%;
    background: #eee;
    position: absolute;
    z-index: 1045;
       -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
            border-radius: 5px;
       -moz-box-shadow: 0 0 10px rgba(0,0,0,.4);
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,.4);
       -box-shadow: 0 0 10px rgba(0,0,0,.4);
}
.reveal-modal.a1 {
    top: 50px;
    width: 978px;
    left: 50%;
    margin-left: -489px;
    position: absolute;
}

.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 .close-reveal-modal {
    position: absolute;
    top: 20px;
    right: 11px;
    cursor: pointer;
    width: 33px;
    height: 33px;
    background: url(../images/close_btn.png)no-repeat;
    background-size: 33px 33px;
}
.close-reveal-modal.a1 {
    top: 13px;
}
.pop_title {
    padding: 25px 0 35px 20px;
    height: 72px;
    color: #555555;
    font-size: 18px;
    border-bottom: 1px solid #e2e2e2;
}

.pop_text {
    font-size: 13px;
    padding: 23px 20px 30px 20px;
    color: #999999;
}
.pop_text span {
    color: #868a8b;
    font-size: 14px;
}

@media screen and (max-width: 978px) {
    .reveal-modal.a1 {
        top: 50px; 
        left: 50%;
        width: 768px;
        margin-left: -384px;
    }
}
@media screen and (max-width: 767px) {
    .reveal-modal.a1 {
        top: 50px; 
        left: 5%;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}
/*

   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>

 */
