body.login {
    background-color: #dadada;
}
body.login > .grid {
    height: 100%;
}

body.login .column {
    max-width: 450px;
}

.ui.tertiary.segment {
    background: #FFFFFF;
    color: rgba(0, 0, 0, 0.87);
}

body > .ui.top.menu,
body > .ui.top.menu > .item:first-child {
    border-radius: 0;
}

body > .ui.top.menu .active.item {
    background: #CACBCD;
}

.ui.accordion .title:not(.ui) {
    padding-left: 0.5rem;
    font-size: 1.28rem;
}

.ui.accordion .title.conflicted {
    color: red !important;
}

.ui.checkbox.required input:indeterminate ~ .box:before,
.ui.checkbox.required input:indeterminate ~ label:before,
.ui.form .dropdown.required,
.ui.form [required] {
    background: #fffdea !important;
}

.ui.form .field > label {
    font-weight: normal;
}

.ui.form .field > label.required {
    font-weight: bold;
}

.material-add-button {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 1000;
}

.material-add-button .ui.button {
    box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.8);
}

.ui.table tr.warning,
.ui.table td.warning { background-color: #fff4e5 !important }
.ui.table tr.positive,
.ui.table td.positive { background-color: #f7ffe5 !important }
.ui.table tr.negative,
.ui.table td.negative { background-color: #ffe5e5 !important }
.ui.table tr.archived,
.ui.table td.archived {
    background-color: #EDEDED !important;
}


.search-form {
  padding-bottom: 4em;
}

.settings-title {
    padding: 0.5em 0em;
    font-size: 1.28rem;
    color: rgba(0, 0, 0, 0.87);
}

.helper-text {
    font-size: 0.85rem;
    color: rgba(114, 109, 109, 0.87); 
}

/* SELECT2 */
.select2-container {
    width: 100% !important; 
    height: 100% !important;
    min-width: 0em;
    box-sizing: border-box;
}

.select2-selection--single {
    position: relative;
    font-size: 1em !important;
    color: rgba(0, 0, 0, 0.87) !important;
    border: 1px solid rgba(34, 36, 38, 0.15) !important; 
    height: 100% !important;
    padding: 0.2rem;
}

.select2-selection__rendered {
    display: block !important; 
    width: 100% !important; 
    min-width: 0em !important; 
    padding-left: 0.8rem !important; 
}

.select2-selection__clear {
    right: 0.5em !important;
}

.select2-selection__arrow {
    top: 0.2em !important;
    right: 0.5em !important;
}
[role=presentation] {
    border-color: #444 transparent transparent transparent!important; 
}


.select2-selection__placeholder {
    color: rgba(191, 191, 191, 0.87) !important;
    line-height: 1em !important;
} 

.select2-dropdown {
    border: 1px solid rgba(34, 36, 38, 0.15) !important;
    border-top: 0 !important;
}

/* Top menu */
@media only screen and (max-width: 767px) {
    body > .ui.top.menu > .right.menu .item:first-child {
        display: none;
    }

    body > .ui.top.menu > .right.menu .item:before {
        background: none;
    }
}

/* Main segment */
body > .ui.segment {
    border: none;
    box-shadow: none;
}

@media only screen and (max-width: 767px) {
    body > .ui.segment {
        padding: 0;
    }
}

/* Offers and clients list */
@media only screen and (max-width: 767px) {
    .ui.table:not(.unstackable) thead {
        display: none;
    }

    .ui.table:not(.unstackable) tr > th:nth-child(n+4),
    .ui.table:not(.unstackable) tr > td:nth-child(n+4) {
        display: none !important;
    }
}

.clients-list table span.postcode:after {
    content: ", ";
}
@media only screen and (max-width: 767px) {
    .clients-list table span.postcode {
        display: block;
    }

    .clients-list table span.postcode:after {
        content: "";
    }
}

/* Offer and client details */
@media only screen and (max-width: 767px) {
    body.details > .ui.segment > .ui.segment {
        padding: 0;
        border: none;
        box-shadow: none;
    }
}
