/**
 * CSS styles for forms generated by yiic.
 *
 * The styles can be applied to the following form structure:
 *
 * <div class="form">
 *     <div class="row">
 *         <label for="inputid">xyz</label>
 *         <input name="inputid" id="inputid" type="text" />
 *         <p class="hint">hint text</p>
 *     </div>
 *     <div class="row">
 *         <label for="inputid">xyz</label>
 *         <input name="inputid" id="inputid" type="text" />
 *         <p class="hint">hint text</p>
 *     </div>
 *     <div class="row buttons">
 *         <label for="inputid">xyz</label>
 *         <input name="inputid" id="inputid" type="text" />
 *         <p class="hint">hint text</p>
 *     </div>
 * </div>
 *
 * The above code will render the labels and input fields in separate lines.
 * In order to render them in the same line, please use the "wide" form as follows,
 *
 * <div class="wide form">
 *     ......
 * </div>
 *
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @link http://www.yiiframework.com/
 * @copyright Copyright &copy; 2008-2010 Yii Software LLC
 * @license http://www.yiiframework.com/license/
 */

div.form {
}

div.form input,
div.form textarea,
div.form select {
    margin: 0.2em 0 0.5em 0;
}

div.form fieldset {
    border: 1px solid #DDD;
    padding: 10px;
    margin: 0 0 10px 0;
    -moz-border-radius: 7px;
}

div.form label {
    font-weight: bold;
    font-size: 0.9em;
    display: block;
}

div.form .row {
    margin: 5px 0;
    padding: 5px 0;
}

div.form .hint {
    margin: 0;
    padding: 0;
    color: #999;
}

div.form .note {
    font-style: italic;
}

div.form span.required {
    color: red;
}

div.form div.error label,
div.form label.error,
div.form span.error {
    color: #C00;
}

div.form div.error input,
div.form div.error textarea,
div.form div.error select,
div.form input.error,
div.form textarea.error,
div.form select.error {
    background: #FEE;
    border-color: #C00;
}

div.form div.success input,
div.form div.success textarea,
div.form div.success select,
div.form input.success,
div.form textarea.success,
div.form select.success {
    background: #E6EFC2;
    border-color: #C6D880;
}


div.form .errorSummary {
    border: 2px solid #C00;
    padding: 7px 7px 12px 7px;
    margin: 0 0 20px 0;
    background: #FEE;
    font-size: 0.9em;
}

div.form .errorMessage {
    color: #e62b2b;
    font-size: 0.9em;
}

div.form .errorSummary p {
    margin: 0;
    padding: 5px;
}

div.form .errorSummary ul {
    margin: 0;
    padding: 0 0 0 20px;
}

div.wide.form label {
    float: left;
    margin-right: 10px;
    position: relative;
    text-align: right;
    width: 100px;
}

div.wide.form .row {
    clear: left;
}

div.wide.form .buttons,
div.wide.form .hint,
div.wide.form .errorMessage {
    clear: left;
    padding-left: 110px;
}

div.form .errorSummary ul {
    margin: 0;
    padding: 0 0 0 20px;
}

/*
div.form span.error .select2-container--disabled.error{
	background: #FEE;
	border-color: #C00;
}
*/
div.form div.success label,
div.form label.success,
div.form span.success {
    color: inherit;
    /*color: #C6D880;*/
}


div.form div.error .select2-selection--single,
div.form span.error .select2-selection--single {
    background: #FEE;
    border-color: #C00;
}

div.form div.success .select2-selection--single {
    /*background: #E6EFC2;
    border-color: #C6D880;*/
    background: inherit;
    border-color: #aaa;
}

div.form div.success input,
div.form div.success textarea,
div.form div.success select,
div.form input.success,
div.form textarea.success,
div.form select.success {
    background: inherit;
    border-color: inherit;
}

.deal_details {
    width: 200px;
    display: inline-block;
}

.request_details {
    width: 200px;
    display: inline-block;
}

.button, INPUT[type=submit], BUTTON, .grid-view .summary A, .filters-block A {
    border: 0;
    margin: 0 5px 0.5em 0 !important;
    display: inline-block;
    box-sizing: border-box;
    padding: 7px 20px !important;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px rgba(0, 0, 0, .3);
    font-weight: 400;
    font-size: 1em;
    cursor: pointer;
    -khtml-border-radius: 3px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12);
    background: #3bafda;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12);
    line-height: initial !important;
    vertical-align: initial !important;
    text-decoration: none;
}

.button:hover,
.button:visited,
.button:active,
INPUT[type=submit]:hover, INPUT[type=submit]:visited, INPUT[type=submit]:active,
.filters-block A:hover, .filters-block A:visited, .filters-block A:active,
BUTTON:hover, BUTTON:visited, BUTTON:active {
    outline: medium none;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 5px 11px 0 rgba(0, 0, 0, .18), 0 4px 15px 0 rgba(0, 0, 0, .15)
}

.button span {
    display: inline-block;
    margin-right: .4em;
    vertical-align: middle;
    font: normal 16px/1 'dashicons';
    -webkit-font-smoothing: antialiased
}

.button i {
    display: inline-block;
    margin-right: .4em;
    vertical-align: middle;
    font: 16px/1 'dashicons'
}

.btn-view,
.btn-view:link,
.btn-view:visited {
    background-color: #26a69a;
    grid-column: 1;
    grid-row: 2;
}

.btn-view:hover {
    background-color: #1abc9c;
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -o-transition: .5s;
    transition: .5s
}

.btn-view:active {
    background-color: #1abc9c
}

.btn-load,
.btn-load:link,
.btn-load:visited {
    background-color: #3bafda
}

.btn-load:hover {
    background-color: #53cfe9;
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -o-transition: .5s;
    transition: .5s
}

.btn-load:active {
    background-color: #38a6cf
}

.btn-save,
.btn-save:link,
.btn-save:visited,
INPUT[type=submit].btn-save,
BUTTON.btn-save {
    background-color: #d49415;
    color: white;
}

.btn-save:hover {
    background-color: #bba240;
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -o-transition: .5s;
    transition: .5s
}

.btn-save:active {
    background-color: #e9b13f
}


.btn-inside,
.btn-inside:link,
.btn-inside:visited {
    background-color: #b8b9b9;
    padding: 4px 8px;
    margin: 5px !important;
    display: inline-block;
}

.btn-inside:hover {
    background-color: #b8b9b9;
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -o-transition: .5s;
    transition: .5s
}

.btn-inside:active {
    background-color: #b8b9b9
}

.btn-low-height {
    margin: 0px !important;
}

.button:disabled {
    background-color: #888;
    cursor: wait;
    box-shadow: none;
}

.grid-view .filters input,
.grid-view .filters select,
.filters-block SELECT, .filters-block INPUT[type=SELECT], .filters-block INPUT[type=TEXT],
.input-text, .input-date, .input-select {
    margin: 0.2em 10px 0.5em 0 !important;
    box-sizing: border-box;
    display: inline-block;
    height: 28px;
    padding-left: 8px;
    padding-right: 10px;
    white-space: nowrap;
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 4px;
}

.input-date {
    width: 96px;
}

.input-select OPTION {
    color: #000;
}

.input-checkbox {
    margin: 0.2em 10px 0.5em 0 !important;
    box-sizing: border-box;
    display: inline-block;
    height: 28px;
    padding-left: 8px;
    padding-right: 20px;
    white-space: nowrap;
    float: left;
}

.input-label {
    line-height: 30px;
    margin-right: 4px;
}

.select2-container {
    margin: 0.2em 0 0.5em 0 !important;
}

.deal_details {
    width: 200px;
    display: inline-block;
    margin: 0 !important;
}

DIV.form FORM .row {
    /*float: none;
    clear: both;*/
}

DIV.form FORM .success SELECT,
DIV.form FORM .success .select2-selection,
DIV.form FORM .success INPUT {
    border-color: lightgreen;
    background-color: #fafffa;
}

DIV.form FORM .row LABEL {
    float: left;
    height: 30px;
    display: inline-block;
    line-height: 32px;
    padding-right: 6px;
}

DIV.form FORM .buttons {
    float: none;
    clear: both;
}

.ui-widget-content {
    background: #dfeff8 !important;
}

.ui-dialog .ui-dialog-titlebar-close {
    margin: -10px 0 0 0 !important;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.align-right {
    display: block;
    text-align: right;
    clear: both;
    float: none;
}

.time-lock-informer {
    display: inline-block;
    position: fixed;
    right: 30px;
    z-index: 1001;
    padding: 4px;
    border: 2px solid red;
    border-radius: 7px;
    margin: 10px;
    background: white;
}

.time-lock-informer .time-lock-unlock-button {
    padding: 4px 8px;
    margin: 0 0 0 10px !important;
}

.ui-dialog .ui-dialog-titlebar-close {
    margin: -10px 0 0 0 !important;
}

.dates-separator {
    margin-left: -10px;
}

.grid-view .summary {
    float: left;
}

.grid-view .export {
    float: right;
}

.grid-view table.items {
    clear: both;
}

DIV.form FORM .row.compact LABEL {
    clear: none;
    text-align: right;
}

DIV.form FORM .row.compact {
    clear: left;
}

DIV.form FORM .row.compact INPUT, DIV.form FORM .row.compact SELECT {
    float: left;
}

DIV.form FORM .row.compact .field {
    width: 220px;
    display: inline-block;
    float: left;
    min-height: 30px;
    line-height: 32px;
}

.grid-view-loading .summary {
    display: none;
}

.grid-view-loading * {
    opacity: 60%;
}

.grid-view-loading:before {
    content: "Wait..";
    font-size: x-large;
    display: inline-block;
}

 DIV.reclamation-form FORM .row LABEL {
    height: auto;
    line-height: normal;
}

 .transparent {
     background: transparent !important;
 }

.filters-block {
    background: #e8f3f8;
    border: 1px solid #378bb2;
    border-radius: 4px;
    padding: 5px 8px;
    min-width: 0;
    display: inline-block;
    margin: 10px 10px 10px 0;
}

.filters-block INPUT[type=TEXT],
.filters-block INPUT[type=SELECT],
.filters-block SELECT,
.filters-block .select2-container {
    margin-right: 15px !important;
}
