.pl-0,
.px-0 {
    padding-left: 0!important;
}

.pr-0,
.px-0 {
    padding-right: 0!important;
}

.text-capitalize {
    text-transform: capitalize!important;
}

.modal-header .gradient-bg,
.modal-header .modal-body .nws-button button,
.modal-body .nws-button .modal-header button,
.modal-header .teacher-pic-content .teacher-img-content:after,
.teacher-pic-content .modal-header .teacher-img-content:after,
.modal-header .course-details-category li:hover,
.course-details-category .modal-header li:hover {
    position: absolute;
    top: 0;
    border-radius: 4px;
    height: 100%;
    width: 100%;
    opacity: .9;
}

.font-weight-bold {
    font-weight: 700!important;
}

.popup-logo {
    left: 0;
    right: 0;
    top: 30px;
    position: absolute;
    text-align: center;
}

.popup-logo img {
    max-width: 250px;
}

.popup-text {
    width: 100%;
    padding: 70px 0px 50px 0px;
    position: relative;
}

.modal-body .contact_form {
    margin-bottom: 20px;
}

.modal-header {
    padding: 0;
    position: relative;
    background-color: #f1f1f1cc;
}

.popup-text h2 {
    color: #fff;
    font-weight: 300;
    font-size: 45px;
}

.popup-text p,
.popup-text p a {
    color: #fff;
    font-size: 25px;
}

.modal-body {
    padding: 50px 65px;
}

.modal-body .contact_form input,
.modal-body .contact_form .register-form-area select,
.register-form-area .modal-body .contact_form select,
.modal-body .contact_form .register-form-area textarea,
.register-form-area .modal-body .contact_form textarea {
    height: 40px;
    padding: 15px 12px;
    border-radius: 4px;
    width: 100%;
    border: none;
    font-size: 15px;
    border: 1px solid #ccc;
}




.modal-body .nws-button button {
    width: 100%;
    border: none;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    font-size: 18px;
    transition: background 1s ease-out;
}


/* .form-control{
    background-color: #eeeeee;
} */

.login-tabs {
    box-shadow: 0 1px 0 0 rgba(92, 102, 111, 0.2);
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    color: #f05e32;
    border: 0px;
    font-size: 16px;
    font-weight: 500;
    border: 0px;
    border-color: #fff;
    box-shadow: 0 2px 0 0 #5c666f;
    cursor: default;
}

.nav-tabs .nav-link {
    color: #495057;
    border: 2px solid transparent;
}

.modal-dialog {
    /* margin: 1.75em auto; */
    margin: 20vh auto 0px auto
    /*
   min-height: calc(100vh - 60px);
   display: flex;
   flex-direction: column;
   justify-content: center; */
}

#myModal .close {
    position: absolute;
    right: 0.4rem;
    font-size: 42px;
    font-weight: 300;
}

.g-recaptcha div {
    margin: auto;
}

.modal-body .contact_form input[type='radio'] {
    width: auto;
    height: auto;
}

.modal-body .contact_form textarea {
    background-color: #eeeeee;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 10px;
    width: 100%;
    border: none
}

@media (max-width: 768px) {
    .modal-dialog {
        min-height: calc(100vh - 20px);
    }
    #myModal .modal-body {
        padding: 15px;
    }
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    color: #f05e32;
    border: 0px;
    font-size: 16px;
    font-weight: 500;
    border: 0px;
    border-color: #fff;
    box-shadow: 0 2px 0 0 #5c666f;
    cursor: default;
}

.modal-body .contact_form input,
.modal-body .contact_form .register-form-area select,
.register-form-area .modal-body .contact_form select,
.modal-body .contact_form .register-form-area textarea,
.register-form-area .modal-body .contact_form textarea {
    height: 40px;
    padding: 15px 12px;
    border-radius: 4px;
    width: 100%;
    border: none;
    font-size: 15px;
    border: 1px solid #ccc;
    background-color: #fff;
}

.modal-body .contact_form input[type=file] {
    padding: 6px 12px;
}

.modal-body .nws-button button {
    width: 100%;
    border: none;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    font-size: 18px;
    transition: background 1s ease-out;
}

.nav-tabs .nav-link {
    font-size: 14px;
}

.nav-tabs .nav-item {
    margin-bottom: 0px;
}

.text-info {
    color: #7f7f7f!important;
    font-size: 14px;
}


/* Shared */

.loginBtn {
    box-sizing: border-box;
    position: relative;
    /* width: 13em;  - apply for fixed size */
    width: 100%;
    margin: 3px 0px;
    padding: 0 15px 0 45px;
    border: none;
    text-align: left;
    line-height: 34px;
    white-space: nowrap;
    border-radius: 0.2em;
    font-size: 16px;
    color: #FFF;
}

.loginBtn:before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    width: 34px;
    height: 100%;
}

.loginBtn:focus {
    outline: none;
}

.loginBtn:active {
    box-shadow: inset 0 0 0 32px rgba(0, 0, 0, 0.1);
}


/* Facebook */

.loginBtn--facebook {
    background-color: #4C69BA;
    background-image: linear-gradient(#4C69BA, #3B55A0);
    /*font-family: "Helvetica neue", Helvetica Neue, Helvetica, Arial, sans-serif;*/
    text-shadow: 0 -1px 0 #354C8C;
}

.loginBtn--facebook:before {
    border-right: #364e92 1px solid;
    background: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/14082/icon_facebook.png') 6px 6px no-repeat;
}

.loginBtn--facebook:hover,
.loginBtn--facebook:focus {
    background-color: #5B7BD5;
    background-image: linear-gradient(#5B7BD5, #4864B1);
}


/* Google */

.loginBtn--google {
    /*font-family: "Roboto", Roboto, arial, sans-serif;*/
    background: #DD4B39;
}

.loginBtn--google:before {
    border-right: #BB3F30 1px solid;
    background: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/14082/icon_google.png') 6px 6px no-repeat;
}

.loginBtn--google:hover,
.loginBtn--google:focus {
    background: #E74B37;
}

.modal {
    overflow: auto !important;
}

.close {
    position: absolute;
    right: 7px;
}

.scrollbar {
    max-height: 50vh;
    overflow-y: auto;
}

@-webkit-keyframes spinner-border {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner-border {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

.spinner {
    margin: 100px auto 0;
    width: 70px;
    text-align: center;
}

.spinner>div {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color: #ffffff !important;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
    0%,
    80%,
    100% {
        -webkit-transform: scale(0)
    }
    40% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bouncedelay {
    0%,
    80%,
    100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}