/*!
 * Bootstrap v3.4.1 (https://getbootstrap.com/)
 * Copyright 2011-2019 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

.mds-modal .close {
    float: right;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: 0.2;
}

.mds-modal .close:hover,
.mds-modal .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    filter: alpha(opacity=50);
    opacity: 0.5;
}

.mds-modal button.close {
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.modal-open {
    overflow: hidden;
}

.mds-modal.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
}

.mds-modal.modal.fade .modal-dialog {
    top: calc(50% - 80px);
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    -o-transform: translate(0, -50%);
    transform: translate(0, -50%);
    -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: -webkit-transform 0.3s ease-out;
    -o-transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
}

.mds-modal.modal.in .modal-dialog {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
}

.modal-open .modal.mds-modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.mds-modal .modal-dialog {
    position: relative;
    width: auto;
    margin: 10px;
}

.mds-modal .modal-content {
    position: relative;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #999;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    outline: 0;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
}

.modal-backdrop.fade {
    filter: alpha(opacity=0);
    opacity: 0;
}

.modal-backdrop.in {
    filter: alpha(opacity=50);
    opacity: 0.5;
}

.mds-modal .modal-header {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
}

.mds-modal .modal-header .close {
	margin-top: -2px;
	margin-right: 0;
	margin-bottom: 0;
    margin-left: auto;
	line-height: 1;
	min-height: inherit;
    order: 2;
}

.mds-modal .modal-title {
    margin: 0;
    line-height: 1.42857143;
    order: 1;
}

.mds-modal .modal-body {
    position: relative;
    padding: 15px;
}

.modal.mds-modal .modal-body .login-submit{
    text-align: center;
    margin-bottom: 0;
}

.modal.mds-modal .modal-body .login-submit input{
    margin: 0 auto;
}

.mds-modal .modal-footer {
    padding: 15px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}

.mds-modal .modal-footer .btn+.btn {
    margin-bottom: 0;
    margin-left: 5px;
}

.mds-modal .modal-footer .btn-group .btn+.btn {
    margin-left: -1px;
}

.mds-modal .modal-footer .btn-block+.btn-block {
    margin-left: 0;
}

.mds-modal .login {
	font-weight: 400;
    font-size: 13px;
}

.mds-modal .login label {
	font-size: 14px;
	line-height: 1.5;
	display: inline-block;
	margin-bottom: 3px;
    font-weight: 400;
}

.mds-modal .login form .input, 
.mds-modal .login form input[type="checkbox"], 
.mds-modal .login input[type="text"] {
	background: #fbfbfb;
}

.mds-modal .login form .input, 
.mds-modal .login input[type="password"], 
.mds-modal .login input[type="text"] {
	/* font-size: 24px; */
	line-height: 1.33333333;
	width: 100%;
	border-width: .0625rem;
	padding: .1875rem .3125rem;
	margin: 0 6px 16px 0;
	/* min-height: 40px;
	max-height: none; */
    height: 40px;
    box-shadow: 0 0 0 transparent;
    border-radius: 4px;
    border: 1px solid #7e8993;
}

.mds-modal .login input[type="checkbox"]:focus, 
.mds-modal .login input[type="password"]:focus, 
.mds-modal .login input[type="text"]:focus {
	border-color: #007cba;
	box-shadow: 0 0 0 1px #007cba;
	outline: 2px solid transparent;
}

.mds-modal .login-input-error{
    border: 1px solid #EF5350 !important;
    background-color: #FFEBEE !important;
}

.mds-modal .login #login_error {
	border-left: 4px solid #dc3232;
	padding: 12px;
	margin-left: 0;
	margin-bottom: 20px;
	background-color: #fff;
	box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
}


#mds-login-modal .account-links{
    display: flex;
    margin-top: 10px;
    padding-top: 0.5rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

#mds-login-modal .login .account-links a{
    text-decoration: none;
    color: #555d66;
    font-size: 14px;
}

#mds-login-modal .login .account-links a:hover{
    color: #69A4D7;
}

#mds-login-modal .account-links .create-account,
#mds-login-modal .account-links .lost-password{
    flex: 0 0 50%;
}

#mds-login-modal .account-links .create-account{
    text-align: left;
}

#mds-login-modal .account-links .create-account .fa{
    font-size: 10px !important;
    opacity: 0.7;
    margin-left: 5px;
}

#mds-login-modal .account-links .lost-password{
    text-align: right;
}

.modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll;
}

.mds-modal .modal-md {
    max-width: 360px;
}

@media (min-width: 768px) {
    .mds-modal .modal-dialog {
        width: 600px;
        margin: 30px auto;
    }
    .mds-modal .modal-content {
        -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }
    .mds-modal .modal-sm {
        width: 300px;
    }

    .mds-modal .modal-md {
        width: 360px;
    }
}

@media (min-width: 992px) {
    .mds-modal .modal-lg {
        width: 900px;
    }
}