﻿.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    /* z-index: 1000; */
    /* top: 55px; */
    z-index: 1051;
    top:0;
    right: 0;
    background-color: rgb(0,0,0);
    background-color: rgba(250,250,250, 0.2);
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    width: 0;
    height: 100%;
    float: left;
}

.overlay-content2 {
    position: relative;
    width: 100%;
    float: right;
    background-color: #f2fafc;
    min-height: 300px;
    height: 100%;
}




.overlay .closebtn {
    color: #000;
    position: absolute;
    right: 0;
    font-size: 21px;
    z-index: 9;
    top: 0;
    padding: 16px;
    text-decoration: none;
    display: block;
    transition: 0.3s;
}

    .overlay .closebtn:hover, .overlay .closebtn:focus {
        color: #cf0303;
    }

.overlay-title {
    min-height: 5%;
    width: 100%;
    color: #000;
    background-color: #fff;
}

    .overlay-title p {
        font-size: 18px;
        margin: 0;
        padding: 2%;
        font-weight: 600;
    }

.overlay-container {
    width: 100%;
    min-height: 500px;
    /*height: 78%;*/
    /*overflow-y: auto;*/
}

.overlay-footer {
    background: #ffffff none repeat scroll 0 0 padding-box;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.08);
    height: 10%;
    padding: 4%;
    width: 100%;
}
/*@media screen and (max-height: 900px) {
.overlay-footer{
    height:12%;
}
}
@media screen and (max-width: 1440px) {
.overlay-footer{
    height:13%;
    padding:5%;
}
}*/
@media screen and (max-width: 1366px) {
    .overlay-container {
        min-height:460px;
    }
    .overlay-footer{
        padding:3%;
    }
}
@media screen and (max-width: 1280px) {

    .overlay-footer{
        padding:4%;
    }
}
@media screen and (max-height: 450px) {
    .overlay a {
        font-size: 20px;
    }

    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        /*right: 35px;*/
    }
}
