.cd-user-modal {position: fixed; top: 0; left: 0; width: 100%; height: 100%; color: #505260; background: rgba(52, 54, 66, 0.9);
    z-index: 3; overflow-y: auto; cursor: pointer; visibility: hidden; opacity: 0;
    transition: opacity 0.3s, visibility 0.3s; -webkit-transition: opacity 0.3s, visibility 0.3s; -moz-transition: opacity 0.3s, visibility 0.3s;
}

/*Цвет текста в инпутах при автозаполнении*/
.cd-user-modal::-webkit-input-placeholder {color:#4E6B88}
.cd-user-modal::-moz-placeholder {color:#4E6B88}/* Firefox 19+ */
.cd-user-modal:-moz-placeholder {color:#4E6B88}/* Firefox 18- */
.cd-user-modal:-ms-input-placeholder {color:#4E6B88}
/*Фон инпутов при автозаполнении*/ .cd-user-modal input:-webkit-autofill {color: #4E6B88 !important; -webkit-box-shadow: inset 0 0 0 50px #4E6B88 !important; -webkit-text-fill-color: #C7CBD6 !important}
/* ----/---- */
.cd-user-modal.is-visible {visibility: visible; opacity: 1}
.cd-user-modal.is-visible .cd-user-modal-container {transform: translateY(0); -webkit-transform: translateY(0); -moz-transform: translateY(0); -ms-transform: translateY(0); -o-transform: translateY(0);}
.cd-user-modal-container {
    position: relative; width: 90%; max-width: 600px; margin: 3em auto 4em; cursor: auto; 
    box-shadow: 0 0 0 10px rgba(0,0,0,.4); border: 2px solid #2C3820; background: #4B7095; 
	border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; -ms-border-radius: 10px; -o-border-radius: 10px;
    transform: translateY(-30px); -webkit-transform: translateY(-30px); -moz-transform: translateY(-30px); -ms-transform: translateY(-30px); -o-transform: translateY(-30px);
    transition-property: transform; -webkit-transition-property: -webkit-transform; -moz-transition-property: -moz-transform;
    transition-duration: 0.3s; -webkit-transition-duration: 0.3s; -moz-transition-duration: 0.3s
}
.cd-user-modal-container .cd-switcher:after {content: ""; display: table; clear: both}
.cd-user-modal-container .cd-switcher li {list-style: none; font-size: 16px; width: 50%; float: left; text-align: center}
.cd-user-modal-container .cd-switcher li:first-child a {border-radius: .25em 0 0 0}
.cd-user-modal-container .cd-switcher li:last-child a {border-radius: 0 .25em 0 0}
.cd-user-modal-container .cd-switcher a {display: block; width: 100%; height: 50px; line-height: 50px; background: #567899; color: #5A5D6C; text-shadow: none}
.cd-user-modal-container .cd-switcher a.selected {background: #72879D; color: #EAEEF1}
.cd-form h3 {color: #C5C8E2}

.cd-form {padding: 1.4em}
.cd-form .fieldset {position: relative; margin: 1.4em 0}
.cd-form .fieldset:first-child {margin-top: 0}
.cd-form .fieldset:last-child {margin-bottom: 0}
.cd-form label {font-size: 14px; color: #C5C8E2; font-size: 0.875rem}
.cd-form label.image-replace {
  display: inline-block; position: absolute; left: 15px; top: 50%; bottom: auto;
    transform: translateY(-50%); -webkit-transform: translateY(-50%); -moz-transform: translateY(-50%); -ms-transform: translateY(-50%); -o-transform: translateY(-50%);
    height: 20px; width: 20px; overflow: hidden; text-indent: 100%; white-space: nowrap; color: transparent; text-shadow: none; background-repeat: no-repeat; background-position: 50% 0;
}
.cd-form label.cd-username {background-image: url("/images/svg/cd-icon-username.svg")}
.cd-form label.cd-email {background-image: url("/images/svg/cd-icon-email.svg")}
.cd-form label.cd-password {background-image: url("/images/svg/cd-icon-password.svg")}

.cd-form input.full-width {width: 100%}
.cd-form input[type='submit'] {
    height: 50px; border-top: 1px solid #fff; border-left: 1px solid #A0A2B0;
    border-right: 1px solid #64667D; border-bottom: 1px solid #64667D; border-radius: 6px; color: #BBBDC9; 
    line-height: 0.1; font-size: 25px; font-weight: bold; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.5);
	background: #7C7F9C; background: -moz-linear-gradient(#C4C5CF, #7C7F9C); background-image: -webkit-gradient(linear, left top, left bottom, from(#DDDEE4), to(#7C7F9C));background:-webkit-linear-gradient(#DDDEE4, #7C7F9C); background:-o-linear-gradient(#DDDEE4, #7C7F9C); background:-ms-linear-gradient(#DDDEE4, #7C7F9C); background: linear-gradient(#DDDEE4, #7C7F9C)
}

.cd-form input[type='text'], .cd-form input[type='password'], .cd-form input[type='email'] {
 background: -moz-linear-gradient(#51779C, #426587);
 background-image: -webkit-gradient(linear, left top, left bottom, from(#51779C), to(#426587));
 background: -webkit-linear-gradient(#51779C, #426587); 
 background: -o-linear-gradient(#51779C, #426587); 
 background: -ms-linear-gradient(#51779C, #426587); 
 background: linear-gradient(#51779C, #426587); 
 border: 1px ridge #648FAD; font: normal 13px Trebuchet MS,Arial,Tahoma,Verdana; height: 50px; color: #EAEEF1;
 margin-top: 6px; padding: 0 3.5em
 } 

.cd-form .hide-password {
  display: inline-block; position: absolute; right: 0; top: 0; padding: 6px 15px; border-left: 1px solid #d2d8d8; top: 50%; bottom: auto;
  transform: translateY(-50%); -webkit-transform: translateY(-50%); -moz-transform: translateY(-50%); -ms-transform: translateY(-50%); -o-transform: translateY(-50%);
  font-size: 14px; font-size: 0.875rem; color: #343642;
}
/* Цвет фона инпутов */
.cd-form input:-webkit-autofill {-webkit-box-shadow: none; -webkit-text-fill-color: #000}
/* --/-- */
.cd-form .cd-error-message {
  display: inline-block; position: absolute; left: -5px; bottom: -35px; background: rgba(215, 102, 102, 0.9); padding: .8em;
  z-index: 2; color: #FFF; font-size: 13px; font-size: 0.8125rem; border-radius: 0.25em; pointer-events: none; visibility: hidden; opacity: 0;
  transition: opacity 0.2s 0, visibility 0 0.2s; -webkit-transition: opacity 0.2s 0, visibility 0 0.2s; -moz-transition: opacity 0.2s 0, visibility 0 0.2s;
}
.cd-form-message {padding: 1.4em 1.4em 0; font-size: 14px; font-size: 0.875rem; line-height: 1.4; text-align: center}
.cd-form-bottom-message {position: absolute; left: 0; margin-top: 1em; width: 100%; text-align: center; font-size: 14px; font-size: 0.875rem}
.cd-form-bottom-message a {color: #FFF; text-decoration: underline}
.cd-close-form {display: block; position: absolute; text-shadow: none!important; width: 40px; height: 40px; right: 0; top: -40px; background: url("/images/svg/cd-icon-close.svg") no-repeat center center; text-indent: 100%; white-space: nowrap; overflow: hidden;}
#cd-login, #cd-reg, #cd-reset-password {display: none}
#cd-login.is-selected, #cd-reg.is-selected, #cd-reset-password.is-selected {display: block}

#check {margin:12px 0;line-height:1em;font-size:10px;display:flex;align-items:center;color:#fff!important;width:100%}
#check input[type="checkbox"] {margin:0 5px; color:#fff!important;}
#remember-me {color: #C5C8E2!important}
#polit_recap {font-size: 8pt; color: #424243; text-align: center; line-height: 1.4em; position: relative; left: 20%; right: 20%; width: 60%;  margin:0; }


/*  Показать/Скрыть пароль  */
.password {position: relative}
.showOrHide {position: absolute; top: 20px; right: 1em; outline: none; border: none; width: 20px; height: 20px}
.foot403 .showOrHide {top: auto; right: auto; margin: 2px -2em; width: 15px; height: 15px}
.hide {background: url(/images/svg/closed_eye_icon.svg) 0 0 no-repeat}
.show {background: url(/images/svg/visible_eye_icon.svg) 0 0 no-repeat}
/* ----/---- */
        
        @media only screen and (max-width: 400px) {
            .cd-form input[type='submit'] {font-size: 17px}
        }
        @media only screen and (min-width: 1170px) {
            .cd-close-form {display: none}
        }