﻿@font-face {
    font-family: RalewayRegular;
    src: url('../Fonts/Raleway-Regular.ttf') format('truetype');
}

@font-face {
    font-family: RalewayBold;
    src: url('../Fonts/Raleway-Bold.ttf') format('truetype');
}

.modalDialog {
    position: fixed;
    font-family: RalewayRegular;
    font-size: 12px;
    color: #878787;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    opacity: 0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
    padding: 20px;
}

    .modalDialog:target {
        opacity: 1;
        pointer-events: auto;
    }

    .modalDialog > div {
        max-width: 500px;
        position: relative;
        margin: 3% auto;
        padding: 0 20px 20px 20px;
        border-radius: 3px;
        border: 1px solid #878787;
        box-shadow: 2px 2px 2px #000;
        background: #fff;
    }

        .modalDialog > div h2 {
            font-family: RalewayBold;
            text-align: center;
            color: #878787;
        }

.close {
    background: #1bbc9b;
    color: #fff;
    line-height: 25px;
    position: absolute;
    right: 0;
    text-align: center;
    top: -34px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;
    transition: all ease-in-out .33s;
}

    .close:hover {
        background: #878787;
    }

@media screen and (max-width:1320px) {
    .modalDialog > div {
        margin: 13% auto;
    }
}
