/**
 * potato.
 *
 * Сайт : Формы.
 *
 *
 *
 *
 */



/**
 * Плейсхолдеры : Стилизация.
 * -----------------------------------------------------------------------------
 */

input::-webkit-input-placeholder { color: #a0a0a0; font-weight: 400; }
input::-moz-placeholder          { color: #a0a0a0; font-weight: 400; opacity: 1; } 
input:-moz-placeholder           { color: #a0a0a0; font-weight: 400; } 
input:-ms-input-placeholder      { color: #a0a0a0; font-weight: 400; }

textarea::-webkit-input-placeholder { color: #a0a0a0; font-weight: 400; }
textarea::-moz-placeholder          { color: #a0a0a0; font-weight: 400; opacity: 1; } 
textarea:-moz-placeholder           { color: #a0a0a0; font-weight: 400; } 
textarea:-ms-input-placeholder      { color: #a0a0a0; font-weight: 400; }

/**
 * Плейсхолдеры : Переполнение (...).
 * -----------------------------------------------------------------------------
 */

input[placeholder]          { text-overflow: ellipsis; }
input::-moz-placeholder     { text-overflow: ellipsis; } /* Firefox 19+ */
input:-moz-placeholder      { text-overflow: ellipsis; } /* Firefox 18- */
input:-ms-input-placeholder { text-overflow: ellipsis; }   

textarea[placeholder]          { text-overflow: ellipsis; }
textarea::-moz-placeholder     { text-overflow: ellipsis; } /* Firefox 19+ */
textarea:-moz-placeholder      { text-overflow: ellipsis; } /* Firefox 18- */
textarea:-ms-input-placeholder { text-overflow: ellipsis; } 

/**
 * Плейсхолдеры : Скрытие при фокусе.
 * -----------------------------------------------------------------------------
 */

input:focus::-webkit-input-placeholder { color: transparent; }
input:focus::-moz-placeholder          { color: transparent; }
input:focus:-moz-placeholder           { color: transparent; }
input:focus:-ms-input-placeholder      { color: transparent; }

textarea:focus::-webkit-input-placeholder { color: transparent; }
textarea:focus::-moz-placeholder          { color: transparent; }
textarea:focus:-moz-placeholder           { color: transparent; }
textarea:focus:-ms-input-placeholder      { color: transparent; }

/**
 * Элементы форм : Общая стилизация.
 * -----------------------------------------------------------------------------
 */

button,
input,

select,
textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

textarea {
    resize: vertical;
}


button,
button:hover,
button:focus,
button:active {
    outline: none;
}



/**
 * -----------------------------------------------------------------------------
 *
 * Формы.
 *
 * -----------------------------------------------------------------------------
 */


.form-group {
    margin: 0 0 15px;
    padding: 0;
}
.form-control {
    width: 100%;

    margin: 0;
    padding: 0 15px;
    
    font-size: 16px;
    text-transform: none;
    text-align: left;
    
    background: #fff;
    
    border-width: 1px;
    border-style: solid;
    border-color: #d0d0d0;
    
    border-radius: 5px;
}
.form-control:active {
    box-shadow: none;
}

.form-control:focus {
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 2px rgba(0,123,255,.9);
}



input.form-control,
select.form-control:not([multiple]) {
    height: 36px;
    line-height: 36px;
}
textarea.form-control {
    min-height: 120px;
    padding: 7px 15px;
    line-height: 1.3;
}






/*
input.form-control, 
select.form-control:not([multiple]) {
    height: 42px;
}
textarea {
    min-height: 120px;
}
*/

/* --- Ошибки --- */


.has-error .form-control,
.form-control.error {
    color: #900 !important;
    border-color: #933;
    background: #fff5f5;
    
    box-shadow: 0 0 0 2px rgba(255,0,0,.5);
}


