.ShowBg {
    background-color: rgba(0, 0, 0, 0.35);
    bottom: 0;
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 10000;
}

.form-horizontal{ padding-bottom:20px;}


#popupBox {
    left: 50%;
    margin-bottom: 0;
    margin-left: -333px;
    margin-top: 0;
    padding: 20px;
    position: absolute;
    right: auto;
    top: 20%;
    width: 585px;
    z-index: 1000;
}
#popupBox .closeButton {
    cursor: pointer;
    position: absolute;
    right: -15px;
    top: -10px;
}

#popupBox img{ width:100%;}



.content {
    background-color: #ffffff;
    border: 0px solid rgb(214, 219, 219);
    box-shadow: 5px 5px 13px 0 rgba(151, 151, 151, 1);
	border-radius:1%;
}

.content .popup_logo .logo_top {
    margin-left: 53px;
    margin-top: 50px;
}

#popupBox input{ border:0; border-bottom:1px solid #000; border-radius:0; box-shadow:none;}

#popupBox hr{ width:20%; margin:0 auto;}

#popupBox .btn{ background:#e01d25; color:#fff; padding:10px 35px; border-radius:0; margin:0 10px 0 0px; font-weight:bold;}

#popupBox span a{ color:#010101;} 

@media (max-width: 768px) {
#popupBox {
    padding-left: 0;
}


}

@media (max-width: 640px) {
	
#popupBox {
    left: 55%;
    margin-bottom: 0;
    margin-left: -312px;
    margin-top: 0;
    padding: 20px;
    position: absolute;
    right: auto;
    top: 23%;
    width: 485px;
    z-index: 1000;
}

.popup {
    margin-left: 85px;
}
	
}

@media (max-width: 480px) {

#popupBox {
    left: 17px;
    margin-bottom: 0;
    margin-left: 0;
    margin-top: 0;
    padding: 20px 20px 20px 0;
    position: absolute;
    width: 365px;
    z-index: 1000;
}

#popupBox .closeButton {
    right: 0;
    top: -10px;
}

.popup {
    margin-left: 40px;
}
	
}

@media (max-width: 360px) {
#popupBox {
    left: 30px;
    margin-bottom: 0;
    margin-left: 0;
    margin-top: 0;
    padding: 0;
    position: absolute;
    width: 276px;
    z-index: 1000;
}

.popup {
    margin-left: 0;
}

#popupBox .closeButton {
    cursor: pointer;
    position: absolute;
    right: -40px;
    top: -22px;
}

}

@media (max-width: 320px) {
#popupBox {
    left: 12px;
    top: 17%;
}

#popupBox .closeButton {
    cursor: pointer;
    position: absolute;
    right: -27px;
    top: -35px;
}
.content .errors {
    margin-left: 50px;
}

}