
.form-label fieldset {margin: 0;padding: 0;border: 0;position: relative;text-align:right;margin-bottom: 6px;} 
.form-label fieldset.lastFieldset {margin-bottom:0}
.form-label {margin-bottom:20px}
.form-label label,.form-label textarea {outline: none; font-family:almoniDL400;}

.form-label input[type="text"],
.form-label input[type="password"], 
.form-label input[type="tel"], 
.form-label input[type="email"],
.form-label select {
    display: block;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 100%;
    height: 46px;
    margin:0;
    padding: 0;
    border-radius: 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
     
    background-color:transparent;
    text-indent:14px;
    outline: 0;
    -webkit-appearance: none;
        -moz-appearance: none;
            appearance: none;
    transition: all 0.2s ease-in-out;
    -webkit-box-shadow: inset 0 0 0 50px var(--primaryBgColor);
    font-family: almoniDL400;
        direction: rtl;
        text-align: right;
    border:1px #666 solid;
    color: #1a1a1a;
}

.form-label select {-webkit-box-shadow:none}
#update_btn {
    background: #c00;
    color: #fff;
    padding: 10px;
    font-size: 14px;
    cursor:pointer;
}

.form-label input[type="password"], .form-label input[type="email"]  {  
  direction: ltr;
  text-align: left;
}
.form-label input[type="password"] { text-indent:40px}

.form-label label, select label {
    position: absolute;
    right: 8px;
    font-size: 18px;
    line-height:23px;
    top: 12px;
    color: #666;
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
    transition: all 0.2s ease-in-out;
        zoom: 100%;
            /*-webkit-filter: blur(0px);
    webkit-filter: blur(0px);*/
}

 /* pressed input */
.form-label input:valid ~ label,
.form-label input:focus ~ label,
.form-label textarea:valid ~ label,
.form-label textarea:focus ~ label,
.form-label input:read-only ~ label,
.form-label input:disabled ~ label {
    background:#fff9f4;
    background:var(--primaryBgColor);
    padding:0 5px;
    -webkit-transform: translate3d(0, -21px, 0);
            transform: translate3d(0, -21px, 0);
    line-height: 20px;
    font-size: 15px;
}

/* select */
select:valid ~ label, select:focus ~ label, select:disabled ~ label {top: -10px !important; font-size: 15px; background:#fff9f4; background:var(--primaryBgColor); padding:0 5px; }

/* Hover */
.form-label input[type="text"]:hover, .form-label select:hover {border:1px #1a1a1a solid;}
.form-label input[type="text"]:hover ~label, .form-label select:hover ~ label {color: #1a1a1a;}
 
/* activated */
.form-label input[type="text"]:valid, .form-label select:valid {border:1px #666 solid;}
.form-label input[type="text"]:valid ~ label, .form-label select:valid ~ label {color:#666;}

/* focused */
.form-label input[type="text"]:focus, .form-label select:focus, .form-label textarea:focus, .form-label input[type="email"]:focus, .form-label input[type="password"]:focus {border:2px #1a1a1a solid;}
.form-label input[type="text"]:focus ~ label, .form-label select:focus ~ label {color: #1a1a1a;}


/* error */
#right_form .errMess, #left_form .errMess {display:none;line-height: 36px;color:#e7165b; line-height:1}
.form-label .invalid_input {border:2px solid #e7165b !important; color:#e7165b;}
.form-label .invalid_input ~ label {color:#e7165b !important}

.form-label .errMsg,.error_message,.red_bottom, .loginWr .errMsg  {color:#e7165b !important}
.form-label .errMsg a {color:#e7165b !important; border-bottom:1px #e7165b solid}


.form-label input.visible_password { direction:ltr; text-align:left;text-indent: 40px;}
.form-label input[type="tel"] {    direction: ltr;  text-align: left;}

.form-label.width70 {display: grid;    grid-template-columns: 3fr 1fr;    grid-gap: 20px;}
.form-label.width50 {display: grid;    grid-template-columns: 1fr 1fr;    grid-gap: 20px;}

.loginWr input[type="checkbox"] {font-family: FontAwesome;float: right;margin-left: 15px;margin-top: 5px;-moz-appearance: checkbox !important; -webkit-appearance: button;background: var( --primaryBgColor);}
.loginWr input[type="checkbox"]:after { display: block;content: ""; width: 15px; height: 15px;  background-color:#fff9f4; background-color: var( --primaryBgColor); color: #000; border: 1px solid #000; text-align: center;}
.loginWr input[type="checkbox"]:checked::after { content: "\f00c";   line-height: 15px;}

.form-label textarea {  font-family: almoniDL400;font-size:18px}

.mistake input {border-color:#e7165b !important}
.mistake label {color:#e7165b !important}

#tourOptions {margin-bottom: 30px;}
#tourOptions div {   
    display: grid;
        font-size: 18px;
        grid-template-columns: 30px auto;
        text-align: right;
        color: #1a1a1a;
        margin-bottom: 6px;
        gap: 9px;
        padding: 2px 0;
    }
    #tourOptions div:first-child    {display: block;}
    #tourOptions div  input[type='radio'] {
        width: 20px;
        height: 20px;
        margin: 0;
    }
    #tourOptions div input[type='radio']:after {
        width: 11px;
        height: 11px;
        border-radius: 15px;
        top: 1px;
        left: -2px;
        position: relative;
        background-color: #fff;
        content: '';
        display: inline-block;
        visibility: visible;
        border: 3px solid #fff;
    }

    #tourOptions div input[type='radio']:checked:after {
        background-color: var(--btnBgColor);
    }
 @media only screen and (max-width: 480px) {
    .form-label input[type="text"],
    .form-label input[type="password"],
    .form-label input[type="tel"],
    .form-label input[type="email"] {
        -webkit-box-shadow: inset 0 0 0 50px #fff9f4 !important;
    }

.form-label select:valid ~ label, 
.form-label select:focus ~ label,
.form-label input:valid ~ label,  
.form-label input:focus ~ label {background: var(--primaryMobileNegativeTxtColor) ;}

 select { background:#fff9f4; background:var(--primaryBgColor);}

} 