/* fix sidemenu width */
body > div#sidebar.col-xs-3 {
    width: 250px;
}
body > div#sidebar.col-xs-3 .container-fluid {
    position: fixed;
    width: 250px;
    height: 100vh;
    overflow: auto;
}
body > div#main.col-xs-9 {
    width: calc(100% - 250px);
}

.alert.alert-danger p.pre-line {
    white-space: pre-line;
}

@media (min-width: 768px) {
    html, body {
        min-width: 980px;
    }
}

.nicEditorPane textarea, .nicEditorPane input {
    color: #333;
}
.nicEditorPane textarea#code {
    color: #fff !important;
}

form label {
    color: #555;
}
input[type='text'], input[type='password'] {
    padding: 0 10px !important;
    border: 1px solid #ccc !important;
    border-radius: 2px !important;
    background: white !important;
}

textarea {
    padding: 10px !important;
    border: 1px solid #ccc !important;
    border-radius: 2px !important;
    background: white !important;
}

input[type='text'], input[type='password'], textarea {
    transition: border-color 0.3s ease 0 !important;
}
input[type='text']:focus, input[type='password']:focus, textarea:focus {
    border-color: #9999ff !important;
}
input[type='text'][disabled], input[type='password'][disabled], textarea[disabled],
input[type='text'][readonly], input[type='password'][readonly], textarea[readonly] {
    color: #030303 !important;
    background-color: #eee !important;
}

select {
    padding: 0 10px !important;
    border: 1px solid #ccc !important;
    border-radius: 2px !important;
    background: white !important;
    -webkit-appearance: menulist !important;
    -moz-appearance: menulist !important;
    appearance: menulist !important;
    max-width: 100%;
}
select.elastic {
    width: auto !important;
}
select[disabled] {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-color: #fafafa !important;
}

select[disabled].gray {
    color: #aaa !important;
}


.form-group.row {
    padding: 0;
}
.form-group.row > div:first-child {
    position: relative;
    left: -15px;
}
.form-group.row .radio-fields {
    min-height: 52px;
    line-height: 45px;
}

#customer-add .form-group > div.row > div > div.row {
    margin-left: 0;
    margin-right: 0;
}

.form-group.plan-contents-box {
    padding-left: 0 !important;
}
.form-group .col-sm-3 {
    white-space: nowrap;
}

.plan-index-periods {
    padding-top: 0px !important;
    padding-bottom: 5px !important;
}

.imageselector, .imageselector-delete {
    padding: 6px 10px;
    margin: 0 0 5px;
}
.imageselector-group .thumbnail {
    min-width: 0 !important;
    width: auto !important;
    max-width: 200px !important;
}

.submit-btns .btn {
    min-width: 150px;
}

.edit-btns .btn {
    min-width: 60px;
}

.fair_dates {
    white-space: nowrap;
    font-size: 13px;
}
.fair_dates .days {
    color: #ddd;
}
.fair_dates .days.on {
    color: #030303;
    font-weight: bold;
}
.fair_dates .days.on.saturday {
    color: #6666F6;
}
.fair_dates .days.on.sunday, .fair_dates .days.on.holiday {
    color: #FC6666;
}
.datepicker-days thead tr:last-child th:last-child, .datepicker-days tbody tr td:last-child {
    color: #6666F6;
}
.datepicker-days thead tr:last-child th:first-child, .datepicker-days tbody tr td:first-child, .datepicker-days tbody tr td.holiday {
    color: #FC6666;
}
.datepicker-days tbody tr td.active {
    color: #fff !important;
}
