/* Inputs */
input[type="text"],
input[type="password"],
select,
textarea
{
    height: 22px;
    border-radius: 11px;
    width: 190px;
    background-color: #fff;
    border: 1px solid #CC6B32;
    padding: 0 8px;
}
input[type="text"][readonly],
input[type="password"][readonly],
select[readonly],
textarea[readonly],
input[type="text"][disabled],
input[type="password"][disabled],
select[disabled],
textarea[disabled]{
    background-color: #eeeeee;
    border-color: #cccccc;
    color: #777777;
}
textarea {
    height: 70px;
    padding-top: 3px;
    padding-bottom: 3px;
}
input[type="text"].additionValidation{
    float: left!important;
    width: 0!important;
    height: 0!important;
    padding: 0!important;
    margin: 0!important;
    border: none!important;
    position: relative!important;
    left: 90%!important;
}
/* End Inputs */

/* Select */
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("../system_images/select-bg.png");
    background-position: right center;
    background-size: auto 22px;
    background-repeat: no-repeat;
    font-size: 12px;
    padding-right: 30px;
}

select:focus {
    background-image: url("../system_images/select-bg-focus.png");
    outline: 0;
}

select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #000;
}
select::-ms-expand {
    display: none;
}
select:focus::-ms-value {
    background-color: white;
    color: inherit;
}
/* End Select */

/* Buttons */
.btn-cnt {
    display: flex;
    justify-content: flex-end;
}
.btn {
    line-height: 14px;
    padding: 3px 12px 5px 12px;
    text-align: center;
    background-color: #CC6B32;
    color: white;
    outline: none;
    border: 0;
    border-radius: 11px;
    font-family: 'Tahoma',serif;
    font-size: 13px;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.3s ease-in-out;
    cursor: pointer;
}
.btn + .btn {
    margin-left: 10px;
}
.btn:hover {
    opacity: 0.8;
    text-decoration: none;
}
.btn-uppercase {
    font-size: 10px;
    text-transform: uppercase;
}
.btn-fullwidth {
    width: 100%;
}
.hyp {
    font-size: 12px;
    text-decoration: underline;
    color: #d26a37;
}
.hyp:after {
    content: '»';
    padding-left: 4px;
    font-size: 15px;
    font-family: "Times New Roman";
}
.btn-group {
    margin-left: 5px;
}
/* End Buttons */


/* Form */
.form-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.form-block .form {
    width: 46%;
}
.form {
    width: 80%;
    padding: 10px 0;
}
.form.form-short {
    max-width: 300px;
}
.form input[type="text"],
.form input[type="password"],
.form select,
.form textarea {
    width: 100%;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
}
.form-row {
    margin-bottom: 12px;
}
.form-row .label {
    color: #959595;
    margin-bottom: 5px;
}
.form-row .label span {
    color: #CC6B32;
    margin-left: 5px;
}
.form-row .field {
    position: relative;
}
.form-row .error + .field input,
.form-row .error + .field textarea {
    background: rgba(255,0,0,0.05);
}
.form .imgCaptcha + input {
    width: calc(100% - 80px);
    vertical-align: top;
}
.has-right-block textarea {
    width: calc(100% - 116px);
    height: 354px;
}
.has-right-block + .btn-cnt {
    width: calc(100% - 116px);
}
.errorMsgContainer{
    padding: 20px 0;
    color: #FF0000;
    font-weight: bold;
}
.errorMsgContainer:empty {
    display: none;
}

.form.form-inline .form-row {
    display: flex;
}
.form.form-inline .form-row .label {
    color: #cb6c34;
    padding-top: 3px;
    padding-right: 5px;
    margin-bottom: 0;
    width: 33%;
}
.form.form-inline .form-row .field {
    width: 67%;
}
.form .form-row .field .formError, .captchaFields .formError {
    left: 0 !important;
}
.form.form-inline .form-row .field .hyp {
    position: relative;
    font-size: 13px;
    text-decoration: underline;
}
.form.form-inline .form-row .field .hyp:after {
    content: none;
}
.form .form-row-password input[type="text"],
.form .form-row-password input[type="password"]{
    width: calc(100% - 24px);
}
.locked,
.opened{
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 20px;
    height: 20px;
    background: url("../system_images/locked.gif") no-repeat;
}
.opened{
    background: url("../system_images/opened.gif") no-repeat;
}
.text-user-info {
    line-height: 22px;
}
/* End Form */

/* Custom checkboxes */
.chkb {
    display: inline-block;
    position: relative;
    width: 22px;
    height: 22px;
    cursor: pointer;
    font-size: 16px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.chkb input {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
}
.chkb span {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #ffffff;
    border: 1px solid #cb6c34;
    transition: background-color .2s ease-in-out;
}
.chkb:hover input ~ span {
    background-color: #efefef;
}
.chkb span:after {
    content: '';
    position: absolute;
    display: none;
}
.chkb input:checked ~ span:after {
    display: block;
}
.chkb span:after {
    left: 7px;
    top: 2px;
    width: 7px;
    height: 13px;
    border: solid #cb6c34;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
/* End Custom checkboxes */

/* Captcha */
.imgCaptcha
{
    display: inline-block;
    margin-right: 7px;
}
.imgCaptcha img{
    max-width: 69px;
    max-height: 24px;
}
.captchaFields{
    position: relative;
    top:-3px;
    left: 0;
    float: left;
}
/* End Captcha */

/* File uploader */
.file
{
    color: #959595;
    width: 114px;
    height: 22px;
    border-radius: 11px;
    float: left;
    background-color: #e1e1e1;
    text-align: center;
    position: relative;
    bottom: 2px;
    left: 0;
    cursor: pointer;
    line-height: 21px;
}
#useravatar
{
    border: none !important;
    width:220px;
    height: 22px;
    line-height: 21px;
    float: left;
    position: relative;
    top:-17px;
    right:4px;
    color:#959595;
    opacity:0;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
}
.none_file
{
    width: 100%;
    float: left;
    height: 100%;
    color: #959595;
    margin: -2px 0 0 10px;
    line-height: 21px;
}
/* End File uploader */

@media screen and (max-width: 767px) {
    .form input[type="text"],
    .form input[type="password"],
    .form select,
    .form textarea,
    .hyp {
        font-size: 13px;
    }
    .btn {
        font-size: 14px;
    }
    .form-block {
        flex-direction: column;
    }

    .form,
    .form-block .form {
        width: 100%;
    }

    input[type="text"],
    input[type="password"],
    select {
        height: 30px;
        border-radius: 15px;
    }

    select {
        background-size: auto 30px;
        padding-right: 35px;
    }

    .btn {
        padding: 7px 15px 9px 15px;
        border-radius: 15px;
        min-width: 120px;
        margin-left: 0;
        margin-right: 0;
        align-self: center;
    }

    .btn-group {
        margin-left: 0;
        margin-right: 0;
        align-self: center;
    }

    .form.form-short {
        max-width: none;
    }

    .btn-cnt {
        flex-direction: column;
        justify-content: center;
    }

    .btn-group {
        margin-left: 0;
    }

    .btn-cnt .btn + .btn,
    .btn-cnt .btn-group + .btn-group {
        margin-top: 10px;
    }

    .news-header .btn + .btn {
        margin-left: 0;
    }

    .chkb,
    .chkb span {
        height: 30px;
        width: 30px;
    }

    .chkb span:after {
        left: 9px;
        top: 3px;
        width: 11px;
        height: 17px;
    }

    .form.form-inline .form-row .label {
        padding-top: 8px;
    }

    .text-user-info {
        line-height: 30px;
    }

    .file {
        height: 30px;
        line-height: 29px;
    }

    .none_file {
        line-height: 29px;
    }
}

@media screen and (max-width: 532px) {
    .form.form-inline .form-row {
        flex-wrap: wrap;
    }

    .form.form-inline .form-row .label {
        width: 100%;
        margin-bottom: 5px;
        padding-top: 0;
    }

    .form.form-inline .form-row .field {
        width: 100%;
    }
}

@media screen and (max-width: 374px) {
    .captchaFields {
        transform: scale(0.9);
        margin-left: -20px;
    }
}