
select, input, textarea, label, button, .button {
    -moz-appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    text-overflow: "";
    border: 1px solid #ddd;
    border-radius: 10px;
    height: 40px;
    line-height: 38px;
    display: block;
    /*float: left;*/
    margin: 0 0 10px 0;
    padding: 0 10px;
    width: 100%;
    transition: .3s;
    font-weight: normal;
    font-style: normal;
    font-size: 12pt;
    outline: 0;
}

::placeholder {
    color: #bbb;
}

:required {
    border-left-color: var(--red);
}

:disabled {
    border-color: #ddd !important;
    color: #ddd !important;
}

input[type=text]:focus, input[type=password]:focus, input[type=search]:focus, textarea:focus,input[type=email]:focus {
    border-bottom-color: var(--blue);
}

input[type=checkbox], input[type=radio] {
    width: 30px;
    height: 30px;
    margin: 0 10px 0 0;
    cursor: pointer;
    padding: 0;
    float: left;
    position: relative;
}

input[type=radio] {
    border-radius: 100%;

}

input[type=checkbox]:hover, input[type=radio]:hover {
    border-color: var(--blue);

}

input[type=checkbox]:checked, input[type=radio]:checked {
    border-color: var(--blue);

}

input[type=checkbox]:after {
    content: "";
    display: block;
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 22px 0 0 10px;
    border-right: 2px solid var(--blue);
    border-bottom: 2px solid var(--blue);
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transition: .1s;
    opacity: 0;
}

input[type=checkbox]:checked:after {
    width: 10px;
    height: 20px;
    margin: 2px 0 0 9px;
    opacity: 1;
}

label {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    height: 30px;
    line-height: 30px;
    color: #333;

}

input[type=radio]:after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    background-color: var(--blue);
    position: absolute;
    margin: 14px 0 0 14px;
    border-radius: 100%;
    transition: .1s;
}

input[type=radio]:checked:after {
    width: 16px;
    height: 16px;
    margin: 6px 0 0 6px;
}

input[type=submit], button, .button {
    /*text-transform: uppercase;*/
    padding: 0 20px;
    border: 0;
    line-height: 40px;
    /*border-color: var(--blue);*/
    background-color: var(--blue) !important;
    color: #fff !important;
    width: auto;
    cursor: pointer;
    display: inline-block;
    transition: background-color .3s;
    margin:0 10px 0 0;
    border-radius: 40px;
}



input[type=submit]:hover, button:hover, .button:hover {
    background-color: var(--blue-hover) !important;
    color: #fff !important;
}

.button-clear {
    background-color: #fff !important;
    color: var(--blue) !important;
    border: 1px solid var(--blue);
    line-height: 38px;
}

.button-clear:hover {
    background-color: #eee !important;
    color: var(--blue-hover) !important;
    border: 1px solid var(--blue-hover);
}


.button-disabled,
.button-disabled:hover {
    background-color: #ddd !important;
    cursor: default;
}

.button-white {
    background-color: #fff !important;
    color: var(--blue) !important;
    border: 1px solid #ddd;
    line-height: 38px;
}

.button-white:hover {
    color: var(--blue) !important;
    background-color: #f5f5f5 !important;
    border-color: var(--blue);
}


select {
    padding-right: 40px;
    background: #fff url(/tpl/img/expand.png) no-repeat right 10px top 50%;
    background-size: 18px;
}


textarea {
    padding: 10px;
    height: 110px;
    line-height: normal;
}

form {
    min-height: 40px;
}

form h4 {
    margin: 0 0 20px 0;
}

form.error b {
    color: var(--blue);
    display: block;
    margin-bottom: 10px;
    padding-right: 20px;
}

form.error i {
    display: block;
    margin-bottom: 10px;
    font-style: normal;
    padding-right: 20px;
}

form.sending input, form.sending textarea {
    opacity: .5;
}

form.sending {
    background-image: url("/tpl/img/loader.svg");
    background-repeat: no-repeat;
    background-position: center;
}


i.placeholder {
    position: absolute;
    font-style: normal;
    font-size: 9pt;
    color: #bbb;
    background: #fff;
    padding: 0 5px;
    height: 16px;
    line-height: 16px;
}


form a{
    display: inline-block;
    margin-right: 20px;
}

.append {
    padding-top: 40px;
}

.large{
    margin: 0 !important;
    width: 100% !important;
}