@import '/css/bootstrap.min.css';
@import '/css/font-awesome.min.css';

#open{
    background: url('/images/background.jpg') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    margin-bottom: 100px;
}

footer{
    position: absolute;
    bottom: 0;
    padding-top: 20px;
    width: 100%;
    background: #000;
    color: #fff;
    height: 150px;
}

/* sidebar */

#menu-toggle{
    padding: 6px;
}

#wrapper {
    padding-left: 0;
    transition: all 0.3s;
    overflow-x:hidden;
}

#wrapper.toggled {
    padding-left: 275px;
}

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    left: 275px;
    width: 0;
    height: 100%;
    margin-left: -275px;
    overflow-y: auto;
    background: #f8f8f8;
    transition: all 0.3s;
    border-right: 1px solid #E7E7E7;
    box-sizing: initial;
}

#wrapper.toggled #sidebar-wrapper {
    width: 275px;
}

#page-content-wrapper {
    width: 100%;
    position: absolute;  }

#wrapper.toggled #page-content-wrapper {
    position: absolute;
    margin-right: -275px;
}

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-nav > .sidebar-brand {
    margin: 15px;
}

.sidebar-nav > .sidebar-brand a:hover {
    background: none;
}

.sidebar-nav .list-group{
    padding: 0px 15px;
}

.sidebar-nav .sidebar-version {
    padding: 8px 15px 15px;
    font-size: 12px;
}

@media(min-width:768px) {
    #wrapper {
        padding-left: 275px;
    }

    #wrapper.toggled {
        padding-left: 0;
    }

    #sidebar-wrapper {
        width: 275px;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 0;
    }

    #page-content-wrapper {
        position: relative;
        padding: 15px;
    }

    #wrapper.toggled #page-content-wrapper {
        position: relative;
        margin-right: 0;
    }
}


/* bootstrap fixar och hacks */

.bg-primary {
    color: #fff !important;
    background-color: #337ab7 !important;
}
.bg-success {
    background-color: #dff0d8 !important;
}

.bg-info{
    background-color: #d9edf7 !important;
}

.bg-warning {
    background-color: #fcf8e3 !important;
}

.bg-danger{
    background-color: #f2dede !important;
}

.well{
    overflow: auto;
}


/* bootstrap justeringar eller tillägg */

.alert{
    margin-top: 15px;
}

#user .alert{
    margin-bottom: 0px;
}

.well{
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: #DDD;
}

.form-group-xs{
    margin-bottom: 5px;
}

.navbar{
    margin-bottom: 10px;
}

.list-group-item-header{
    background: #EEE;
}

.list-group-item-sm{
    padding: 7.5px;
}


/* egna helper klasser */

.cj_hidden{
    display: none;
}

.pointer{
    cursor: pointer;
}


/* styling */


a.list-group-item:focus, a.list-group-item:hover {
    background-color: #EEE;
}

.menu_segment_general{
    background-color: #d9edf7;
    border-color: #B5D5E5;
}

.menu_segment_misc{
    background-color: #fcf8e3;
    border-color: #E8E0B2;
}

.menu_segment_admin{
    background-color: #f2dede;
    border-color: #E7BEBE;
}

.menu_segment_general.active,
.menu_segment_general.active:focus,
.menu_segment_general.active:hover{
    background-color: #B5D5E5;
    border-color: #B5D5E5;
    color: #000;
}

.menu_segment_misc.active,
.menu_segment_misc.active:focus,
.menu_segment_misc.active:hover{
    background-color: #E8E0B2;
    border-color: #E8E0B2;
    color: #000;
}

.menu_segment_admin.active,
.menu_segment_admin.active:focus,
.menu_segment_admin.active:hover{
    background-color: #E7BEBE;
    border-color: #E7BEBE;
    color: #000;
}

.serial-warning{
    background: #ED6002;
    border-color: #C95102;
    color: #FFF;
}

.serial-ok{
    background: #45C615;
    border-color: #3CA812;
}

.input-group-addon.sn-part-hide {
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
}

.input-group-addon.sn-part-hide:hover {
    color: #fff;
    background-color: #c9302c;
    border-color: #ac2925;
}

.scroll_list{
    overflow-y: auto;
    background: #EEE;
    max-height: 586px;
}

.scroll_list .list-group:last-child{
    margin-bottom: 0px;
}

.list-group-item-diagnosis-header{
    background: #F5DD2A;
}

.list-group-item-repair{
    background: #ECE3F2;
    color: #816093;
}
.list-group-item-material{
    background: #E1EFEE;
    color: #4F7C77;
}
.client-view-tabs{
    border-top:1px solid #ccc;
    border-right:1px solid #ccc;
}
.client-view-tabs:first-child{
    border-left:1px solid #ccc;
}
.client-view-tabs>a{
    margin-right:0 !important;
}

#conroy_open_logo{
    padding: 10px 0px;
}

/* CALENDAR */
.calendar {
}
.calendar .col-xs-cal{
    float: left;
    display: inline-block;
    width: 14.285%;
}
.calendar .col-xs-cal-title{
    display: inline-block;
    width: 100%;
}
.calendar .calendar-box{
}
.calendar .day-title{
    font-weight: bold;
    color: #043464;
    border-bottom: 1px solid #DBDBDB;
}
.calendar .calendar-date{
    /*border: 1px solid #DBDBDB;*/
    border-right: 1px solid #DBDBDB;
    border-bottom: 1px solid #DBDBDB;
    height: 180px;
}
.calendar .calendar-entry-container{
    height: 160px;
    overflow: scroll;
}
.calendar .calendar-date-title{
    padding-left: 4px;
    font-size: 10px;
    color: gray;
}
.calendar .calendar-entry{
    padding: 4px;
    margin: 4px 4px;
    font-size: 10px;
    overflow: hidden;
    height: 21px;
    cursor: pointer;
}
.calendar .entry-default, .entry-default{
    background: #D6F6F9;
    color: #000;
}
.calendar .entry-deadline, .entry-deadline{
    background: #E37653;
    color: #000;
}
.calendar .entry-meeting, .entry-meeting{
    background: #BFE3C2;
    color: #000;
}

.calendar .entry-tmp{
    background: #F7F5F4;
    color: #545454;
}

.calendar .calendar-today{
    background: #EAF5FF;
}

.calendar .calendar-not-this-month{
    background: #EFEFEF;
}
.calendar:first-child .calendar-date{
    border-left: 1px solid #B7B7B7;
}
#calendar-entry-all{
    display: none;
    border: 1px solid #DBDBDB;
    background: #FFF;
    width: 200px;
    z-index: 1000;
    padding: 10px;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(50, 50, 50, 0.5);
    -moz-box-shadow:    0px 0px 10px 0px rgba(50, 50, 50, 0.5);
    box-shadow:         0px 0px 10px 0px rgba(50, 50, 50, 0.5);
}



/* /CALENDAR */
#end_customer_contact_explained {
    background: #f1f1f1;
    padding: 4px;
    border-radius: 5px;
    margin-top: 5px;
}
#ecce_people, #ecce_address {
    width: 47%;
    float:left;
    margin-right: 2%;
}
.serials_product {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}
.serials_product li {
    padding: 3px;
}
.serials_product li:hover {
    
}

.zerocontent {
    border-color: red;
}
.hand {
    cursor: pointer;
}
.no-padding-left{
    min-height: 20px;
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
}

#top_index{
    z-index: 10000;
}
label.normal{
    font-weight: normal;
    cursor: pointer;
}
#searching-text {
    font-size: 20px; 
}
.tadate {
    width: 120px;
}

.flow-step-panel {
    margin-bottom: 20px;
}
.flow-step-body {
    padding: 0;
}
.flow-step-table {
    margin-bottom: 0;
}
.flow-step-distributor {
    font-size: 11px;
    color: #777;
    margin-top: 2px;
}
.flow-step-row-extra {
    display: none;
}
.flow-step-panel.flow-step-expanded .flow-step-row-extra {
    display: table-row;
}
.flow-step-toggle {
    padding: 8px;
    border-top: 1px solid #eee;
}
.flow-step-empty {
    padding: 8px 0 8px 8px;
    margin: 0;
}
.flow-overview-search {
    margin-bottom: 15px;
}
.flow-step-row-hidden {
    display: none !important;
}
.flow-step-panel.flow-step-searching .flow-step-row-extra {
    display: table-row;
}
.flow-step-panel.flow-step-searching .flow-step-row-extra.flow-step-row-hidden {
    display: none !important;
}
.flow-step-panel.flow-step-searching .flow-step-toggle {
    display: none;
}
.flow-overview-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}
.flow-overview-toolbar-right {
    justify-content: flex-end;
}
.flow-toggle-all-boxes {
    white-space: nowrap;
    font-size: 12px;
}
.flow-index-account-note {
    margin: 0 0 20px;
}

.flow-step-table > tbody > tr.flow-cl-serious td:first-child {
    border-left: 4px solid #c0392b;
}
.flow-step-table > tbody > tr.flow-cl-serious,
.flow-step-table.table-striped > tbody > tr.flow-cl-serious:nth-of-type(odd),
.flow-step-table.table-striped > tbody > tr.flow-cl-serious:nth-of-type(even) {
    background-color: #fdf2f2;
}
.flow-step-table > tbody > tr.flow-cl-major td:first-child {
    border-left: 4px solid #e67e22;
}
.flow-step-table > tbody > tr.flow-cl-major,
.flow-step-table.table-striped > tbody > tr.flow-cl-major:nth-of-type(odd),
.flow-step-table.table-striped > tbody > tr.flow-cl-major:nth-of-type(even) {
    background-color: #fef5ec;
}
.flow-step-table > tbody > tr.flow-cl-minor td:first-child {
    border-left: 4px solid #f1c40f;
}
.flow-step-table > tbody > tr.flow-cl-minor,
.flow-step-table.table-striped > tbody > tr.flow-cl-minor:nth-of-type(odd),
.flow-step-table.table-striped > tbody > tr.flow-cl-minor:nth-of-type(even) {
    background-color: #fefce8;
}
.flow-step-table > tbody > tr.flow-cl-service td:first-child {
    border-left: 4px solid #3498db;
}
.flow-step-table > tbody > tr.flow-cl-service,
.flow-step-table.table-striped > tbody > tr.flow-cl-service:nth-of-type(odd),
.flow-step-table.table-striped > tbody > tr.flow-cl-service:nth-of-type(even) {
    background-color: #f0f8fd;
}
.flow-classification-legend {
    margin: 0;
    padding: 0;
    font-size: 12px;
    flex: 1;
}
.flow-legend-item {
    display: inline-block;
    margin-left: 12px;
    padding: 2px 8px 2px 12px;
    border-left: 4px solid transparent;
}
.flow-legend-item.flow-cl-serious {
    border-left-color: #c0392b;
    background-color: #fdf2f2;
}
.flow-legend-item.flow-cl-major {
    border-left-color: #e67e22;
    background-color: #fef5ec;
}
.flow-legend-item.flow-cl-minor {
    border-left-color: #f1c40f;
    background-color: #fefce8;
}
.flow-legend-item.flow-cl-service {
    border-left-color: #3498db;
    background-color: #f0f8fd;
}

/* Field info icon popups (e.g. register issue form) */
.field-info-wrap {
    position: relative;
    display: inline-block;
    margin-left: 4px;
    vertical-align: middle;
}
.field-info-trigger {
    border: none;
    background: transparent;
    padding: 0 2px;
    color: #337ab7;
    cursor: pointer;
    line-height: 1;
    vertical-align: middle;
}
.field-info-trigger:hover,
.field-info-trigger:focus {
    color: #23527c;
    outline: none;
}
.field-info-trigger .fa-info-circle {
    font-size: 14px;
}
.field-info-popup {
    display: none;
    position: absolute;
    z-index: 1050;
    top: 100%;
    left: 0;
    margin-top: 6px;
    min-width: 220px;
    max-width: 320px;
    padding: 10px 28px 10px 12px;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.45;
    color: #333;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    text-align: left;
    white-space: normal;
}
.field-info-wrap.is-open .field-info-popup {
    display: block;
}
.field-info-close {
    position: absolute;
    top: 4px;
    right: 4px;
    border: none;
    background: transparent;
    padding: 2px 4px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}
.field-info-close:hover,
.field-info-close:focus {
    color: #333;
    outline: none;
}
.field-info-text {
    display: block;
}
.issue-classification-radios label.radio {
    padding-left: 14px;
}
