@charset "UTF-8";
@font-face {
	font-family: "Amaranth-Regular";
    src: url(fonts/Amaranth-Regular.ttf) format("truetype");
}

/* general */
div#modal-window h1,
div#modal-window h2,
div#modal-window h4,
div#modal-window h5,
div#modal-window h6 { text-align: center; margin-bottom: 5px; }

/* overlay */
div#overlay {
    position: absolute;
    background: #000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: alpha(opacity=85);
    opacity: .85;
    z-index: 500;
    cursor: pointer;
}

div#overlay.hide { display: none; }

/* modal window */
div#modal-window {
    font-family:  'Amaranth-Regular', sans-serif; 
    position: absolute;
    top: 25%;
    left: 50%;
    z-index: 1000;
    background: #fefefe;
    padding: 10px 20px;
    box-shadow: 0 0 12px #333;
    -webkit-transition: top .4s ease-in-out;
    -moz-transition: top .4s linear;
    -o-transition: top .4s linear;
    -ms-transition: top .4s linear;
    transition: top .4s linear;
    width: 400px;
    border: 10px solid #F37022; 
    color: #333; text-align:center;
}

div#modal-window.hide { top: -1000px; display: block; }

/* close button */
div#modal-window .button {
	margin:10px auto;
	font-family:  'Amaranth-Regular', sans-serif; 
    cursor: pointer; font-style:normal; font-weight:lighter;
    text-decoration: none;
    font-size: 13px;
    padding: 4px 10px 4px;
    background: #F37022; 
	color: #fff; text-shadow:none;
   
    border: 1px solid #cccccc;  
}

@media screen and (max-width: 960px) {
    div#modal-window { width: 90%; }
    div#modal-window .button { position: absolute; top: 10px; right: 10px; }
}
