body {
   
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    /*max-width: 280px;*/
}



/*form model CSS*/


.wrap {
    padding: 40px;
    text-align: center;
}

hr {
    clear: both;
    margin-top: 40px;
    margin-bottom: 40px;
    border: 0;
    border-top: 1px solid #aaaaaa;
}

h1 {
    font-size: 30px;
    margin-bottom: 40px;
}

p {
    margin-bottom: 20px;
}

.btns {
    background: #428bca;
    border: #357ebd solid 1px;
    border-radius: 3px;
    color: #fff;
    display: inline-block;
    font-size: 14px;
    padding: 8px 15px;
    text-decoration: none;
    text-align: center;
    min-width: 60px;
    position: relative;
    transition: color .1s ease;
}

    .btns:hover {
        background: #357ebd;
    }

    .btns.btns-big {
        font-size: 18px;
        padding: 15px 20px;
        min-width: 100px;
    }

a:hover, a:focus {
    color: black;
}

.btns-close {
    color: #aaaaaa;
    font-size: 30px;
    text-decoration: none;
    position: absolute;
    right: 18px;
    top: 0;
}

    .btn-close:hover {
        color: #919191;
    }

.modal:target:before {
    display: none;
}

.modal:before {
    content: "";
    display: block;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}

.modal .modal-dialog {
    background: #fefefe;
    border: #333333 solid 1px;
    border-radius: 5px;
    margin-left: -200px;
    position: fixed;
    left: 45%;
    z-index: 11;
    width: 560px;
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
    -webkit-transition: -webkit-transform 0.3s ease-out;
    -moz-transition: -moz-transform 0.3s ease-out;
    -o-transition: -o-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    top: 7%;
}

.modal:target .modal-dialog {
    top: -100%;
    -webkit-transform: translate(0, -500%);
    -ms-transform: translate(0, -500%);
    transform: translate(0, -500%);
}

.modal-body {
    padding: 20px;
}

.modal-header, .modal-footer {
    padding: 10px 20px;
}

.modal-header {
    border-bottom: #eeeeee solid 1px;
}

    .modal-header h2 {
        font-size: 20px;
    }

.modal-footer {
    border-top: #eeeeee solid 1px;
    text-align: right;
}


/*@media screen and (width: 320px) {
    .modal .modal-dialog {
        left: 74%;
        width: 250px;
    }
}*/


@media screen and (max-width: 375px) {
    .modal .modal-dialog {
        left: 56%;
        width: 354px;
    }
}

.modal {
    display: block !important;
}

.modal-dialog {
    overflow-y: initial !important
}
@media screen and (max-width: 425px) {
    .modal-body {
        height: 450px;
        overflow-y: auto;
    }
}

    /*@media screen and (min-width: 786px) {
    .modal .modal-dialog {
        left: 45%;
        width: 560px;
    }
}*/


    @media screen and (min-width: 425px) {
        .modal .modal-dialog {
            left: 50%;
            width: 400px;
        }
    }