/* -- Forms and buttons -- */

.btn {
    display: inline-block;
    min-width: 140px;
    padding: 9px 22px;
    font-family: 'Source Code Pro', monospace;
    font-weight: 200;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
    color: #6DAAFF;
    transition: all .1s ease-in-out;
    border: 1px solid;
    background-color: transparent;
}

.btn--primary {
    border-color: #6DAAFF;
}

.btn--primary:hover {
    color: white;
    background-color: #6DAAFF;
}

.btn-wrap {
    margin: 0 -10px;
}

.btn-wrap.btn-wrap--pt {
    padding-top: 20px;
}

.btn-wrap .btn {
    min-width: 180px;
    margin: 0 10px 20px;
}

input,
textarea,
select,
button {
    font-size: 16px;
    -webkit-appearance: none;
}

input[type='search']::-webkit-search-decoration,
input[type='search']::-webkit-search-cancel-button,
input[type='search']::-webkit-search-results-button,
input[type='search']::-webkit-search-results-decoration {
    -webkit-appearance: none;
}

input[type='text'],
input[type='search'],
input[type='email'],
input[type='password'] {
    height: 50px;
    padding: 5px 20px;
    font-family: 'Source Code Pro', monospace;
    font-size: 14px;
    font-weight: 400;
    border: none;
}

input[type='text']::placeholder,
input[type='search']::placeholder,
input[type='email']::placeholder,
input[type='password']::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

textarea {
    min-height: 120px;
    padding: 15px 20px;
    font-family: 'Source Code Pro', monospace;
    font-size: 14px;
    font-weight: 400;
    border: none;
}

textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

select {
    position: relative;
    width: 100%;
    height: 50px;
    padding: 5px 35px 5px 20px;
    font-family: 'Source Code Pro', monospace;
    font-size: 14px;
    font-weight: 400;
    border-radius: 0;
    border: 1px solid #f2f2f2;
    background: #f2f2f2 url(/user/themes/octonus/img/arrow-down-sm.png) 98% 50% no-repeat;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: all .1s ease-in-out;
}

select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #000;
}

select:focus {
    outline: none;
    border-color: #6DAAFF;
}

select::-ms-expand {
    display: none;
}

.radio-wrap {
    padding: 15px 0 5px;
}

.radio {
    margin-bottom: 20px;
}

.radio label {
    position: relative;
}

.radio__text {
    position: relative;
    display: block;
    padding-left: 30px;
    line-height: 1.2em;
}

.radio__text:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    border: 3px solid white;
    outline: 2px solid #6DAAFF;
}

.radio input[type=radio] {
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
    margin: 0;
    opacity: 0;
}

.radio input[type=radio]:checked + .radio__text:before {
    background-color: #6DAAFF;
}