/** default styles **/
html.no-scroll,
body.no-scroll {
    position: fixed;
    overflow: hidden;
    width: 100%;
    cursor: pointer;
}

.close-modal {
    display: none;
    border: 0;
    margin-top: 10px;
}

.close-modal:focus {
    outline: 0px;
    border-radius: 5px;

}

.modal-wrapper2 {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
}

.modal2 {
    display: none;
}

/** activate modal **/
.modal-wrapper2.show,
.modal2.show {
    display: block !important;
	box-shadow: beige;
    -webkit-box-shadow: 4px 4px 15px -2px rgba(0,0,0,0.48);
    -moz-box-shadow: 4px 4px 15px -2px rgba(0,0,0,0.48);
    box-shadow: 4px 4px 15px -2px rgba(0,0,0,0.48);
}

.modal-wrapper2.styled .modal2 .close-modal {
	display:block!important;
}

/** styled modal **/
.modal-wrapper2.styled {
    background-color: rgb(255, 255, 255); /* Fallback color */
    background-color: rgba(255, 255, 255, 0.9); /* Black w/ opacity */
}

.modal-wrapper2.styled .modal2 {
    position: relative;
    background-color: #fff;
    margin: 10vh auto; /* 10vh from the top and centered */
    padding: 0px;
    border: 0;
    width: 80%; /* Could be more or less, depending on screen size */
}



.modal-wrapper2.styled .modal2 .close-modal {
    background: transparent;
    position: absolute;
    top: -54px;
    right: -2px;
    font-size: 2.5em;
    color: #000;
    cursor: pointer;
    z-index: 1;
}

.modal-wrapper2.styled .modal .loading {
    display: block;
    width: 100px;
    margin: auto;
    padding: 25vh 0;
}

.modal-wrapper2.styled .modal2 .entry-content p {
    font-size: 16px;
    text-rendering: optimizeLegibility;
    line-height: 1.5em;
    margin-bottom: 0.8em;
}

.modal-wrapper2.styled .modal-content {
    padding: 0 0.7em 0 0.5em;
}

.modal-wrapper2.styled .modal2 h1 {
    font-size: 2.5em;
    margin: 0.3em 0;
}

.modal-wrapper2.styled .modal2 h2 {
    font-size: 2.0em;
    margin: 0.3em 0;
}

.modal-wrapper2.styled .modal2 h3 {
    font-size: 1.75em;
    margin: 0.3em 0;
}

.modal-wrapper2.styled .modal2 h4 {
    font-size: 1.50em;
    margin: 0.3em 0;
}

.modal-wrapper2.styled .modal2 h5 {
    font-size: 1.25em;
    margin: 0.3em 0;
}

.modal-wrapper2.styled .modal2 h6 {
    font-size: 1.0em;
    margin: 0.3em 0;
    line-height: 1.5em;
}

.modal-wrapper2.styled .modal2 ul li, .modal-wrapper2.styled .modal2 ol li {
    line-height: 1em;
    padding-bottom: 0.5em;
    text-align: justify;
}

.modal-wrapper2.styled .modal2 ul li {
    list-style: disc;
    margin-left: 30px;
}

.modal-wrapper2.styled .modal2 ol li {
    list-style: decimal;
    margin-left: 30px;
}

.modal-wrapper2.styled .modal2 ol ol {
    padding: 0.6em;
}

.modal-wrapper2.styled .modal2 dt {
    font-weight: bold;
    text-decoration: underline;
}

.modal-wrapper2.styled .modal2 dd {
    margin: 0;
    padding: 0.5em 0 0.5em 0;
}

.modal-wrapper2.styled .modal2 blockquote {
    display: block;
    background: #fff;
    padding: 15px 20px 15px 45px;
    margin: 0 0 20px;
    position: relative;

    /*Font*/
    font-family: Georgia, serif;
    font-size: 16px;
    line-height: 1.2;
    color: #666;
    text-align: justify;

    /*Borders - (Optional)*/
    border-left: 7px solid #009c7b;
    border-right: 1px solid #009c7b;

    /*Box Shadow - (Optional)*/
    -moz-box-shadow: 2px 2px 15px #ccc;
    -webkit-box-shadow: 2px 2px 15px #ccc;
    box-shadow: 2px 2px 15px #ccc;
}

.modal-wrapper2.styled .modal2 blockquote::before {
    content: "\201C"; /*Unicode for Left Double Quote*/

    /*Font*/
    font-family: Georgia, serif;
    font-size: 60px;
    font-weight: bold;
    color: #999;

    /*Positioning*/
    position: absolute;
    left: 10px;
    top: 5px;
}

.modal-wrapper2.styled .modal2 blockquote::after {
    /*Reset to make sure*/
    content: "";
}

.modal-wrapper2.styled .modal2 blockquote a {
    text-decoration: none;
    background: #eee;
    cursor: pointer;
    padding: 0 3px;
    color: #c76c0c;
}

.modal-wrapper2.styled .modal2 blockquote a:hover {
    color: #666;
}

.modal-wrapper2.styled .modal2 blockquote em {
    font-style: italic;
}

.modal-wrapper2.styled .modal2 blockquote cite {
    color: #999999;
    font-size: 14px;
    display: block;
    margin-top: 5px;
}

.modal-wrapper2.styled .modal2 blockquote cite:before {
    content: "\2014 \2009";
}

.modal-wrapper2.styled .modal2 table {

    color: #757575;
    font-size: 1em;
    line-height: 2;
    margin: 0 0 24px;
    width: 100%;
}

.modal-wrapper2.styled .modal2 input[type=password] {
    margin: 5px 0 10px;
    width: 25%;
    padding: 7px 0 7px 4px;
    border: 1px solid #E3E3E3;
}

@media (max-width: 992px) {
	
	.modal-wrapper2.styled .modal2 {

    width: 90%!important;

}
}
