body{
    background-color: #D0D8E7;
    padding-top: 30px;
}
.container{
    max-width: 1170px;
}
label{
    font-family: 'HaginCapsMedium';
    font-weight: normal;
}
h1{
    font-family: 'HaginCapsMedium';
}
h4{
    font-size: 18px;
}
.lead{
    font-family: 'HaginCapsMedium';
}
.strip{
    background-image: url(../img/strips.png);
    background-repeat: repeat-x;
    height: 5px;
    clear: both;
    margin: 10px 0 10px 0;
    background-position: 0 -130px;
    width: 100%;
}
.text-bold{
    font-weight: bold;
}
.text-orange{
    color: #D75600;
}
.hagin{
    font-family: 'HaginCapsMedium';
}

.text-small{
    font-size: 11px;
}
.table-link{
    display: block;
    width: 100%;
    height: 100%;
}

.main-logo{
    position: absolute;
    background: url(../img/logo.png);
    width: 183px;
    height: 104px;
    left: -4px;
    top: -36px;
}

.navbar .navbar-brand{
    margin-left: 130px !important;
    margin-top: 3px;
}

.navbar{
    background-color: transparent;
    border-bottom: 0px;
    position: absolute;
    top: 30px;

    right: 0;
    left: 0;
    z-index: 1030;
    min-height: 50px;
    margin-bottom: 0px;
}
.navbar .container{
    position: relative;
    padding-left: 30px;
    padding-right: 30px;
    height: 55px;
    line-height: 55px;
}
.navbar .container:after{
    content: '';
    background-image: url(../img/template.png);
    background-position: -955px -405px;
    width: 45px;
    height: 120px;
    position: absolute;
    right: -22px;
    top: -35px;
}
.navbar .container:before{
    content: '';
    background-image: url(../img/template.png);
    background-position: 0px -405px;
    width: 45px;
    height: 120px;
    position: absolute;
    left: -22px;
    top: -35px;
}
.navbar .container{
    background-color: #297FB8;
}
.navbar .container a,
.navbar .container .nav a{
    font-family: 'HaginCapsMedium';
    color: #fff;
    text-shadow: 0px 1px 0px #0a2c45;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}
.navbar .container a:hover,
.navbar .container .nav a:hover,
.navbar .container .nav li.active a{
    background-color: transparent;
    color: #92ff00;
}
.navbar .navbar-no-collapse:before{
    display: table;
    content: " ";
}
.navbar .navbar-no-collapse:after{
    display: table;
    content: " ";
    clear: both;
}

.navbar .badge{
    background-color: #D75600;
}
.navbar .nav{
    position: relative;
    display: block;
    float: right;
    height: 50px;
    margin: 0;
}
.navbar .nav li{
    float: left;
}
.navbar .nav li a{
    line-height: 20px;
    padding: 15px;
}

.main-content{
    background-color: #fff;
    height: 100%;
    min-height: 1000px;
}


.tickets-list{
    margin: 0;
    padding: 0 20px;
    margin: 10px 0px;

}
.tickets-list li{
    color: #7a8d8d;
    font-size: 14px;
    list-style: none;
    line-height: 40px;
}

.categories-list h4{
    margin-bottom: 0px;
}
.categories-list a{
    display: block;
    text-decoration: none;
    padding-left: 10px;
}
.categories-list a:hover{
    color: #297FB8 !important;
}
.categories-list a.active{
    padding-left: 7px;
    border-left: 3px solid #D75600;

}
.categories-list a table td{
    padding-right: 10px;
}

.tickets-table-row{
    border-bottom: 5px solid #afafaf;
}

.form-search{
    display: table;
}
.form-search .form-group{
    display: table-cell;
    width: 100%;
}
.form-search>.form-group.form-group-input{
    padding-right: 5px;

}
.form-search>.form-group.form-group-input input{
    width: 100%;
}
.form-search>button{
    display: table-cell;
}

.color-red{
    color:red;
}
.color-yellow{
    color: chocolate;
}
.color-green{
    color: green;
}


.ticket-title-field {
    margin-right: 20px;
}
.ticket-header-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

/* ===== Mobile responsive ===== */
@media (max-width: 767px) {
    body {
        padding-top: 0px;
    }

    /* Navbar */
    .navbar {
        position: relative;
        top: 0;
    }
    .navbar .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        height: auto;
        line-height: normal;
        padding: 10px 15px;
        flex-direction: column;
        align-items: center;
    }
    .navbar .navbar-no-collapse {
        width: 100%;
    }
    .navbar .container:before,
    .navbar .container:after {
        display: none;
    }
    .main-logo {
        position: static;
        display: block;
        margin: 0 auto 5px;
        background-size: contain;
        width: 120px;
        height: 68px;
        flex-basis: 100%;
    }
    .navbar .navbar-brand {
        margin-left: 0 !important;
        margin-top: 0;
        text-align: center;
    }
    .navbar .nav {
        float: none;
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        height: auto;
        width: 100%;
    }
    .navbar .nav li {
        float: none;
        min-width: 0;
        flex-shrink: 1;
        overflow: hidden;
    }
    .navbar .nav li.nav-icon {
        flex-shrink: 0;
        overflow: visible;
    }
    .navbar .nav li a {
        padding: 8px 10px;
        display: block !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Main content */
    .main-content {
        min-height: auto;
    }

    .wrap {
        padding-bottom: 0;
    }

    .wrap > .container {
        padding-top: 0;
    }

    .wrap > .container > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }

    /* Footer */
    .footer a {
        padding-left: 15px;
    }
    .footer .container {
        height: auto;
        line-height: normal;
        padding: 10px 15px;
    }
    .footer .container:after {
        display: none;
    }

    /* Search form */
    .form-search {
        display: flex;
        flex-wrap: wrap;
    }
    .form-search .form-group {
        display: block;
        width: 100%;
    }
    .form-search > button {
        display: block;
        width: 100%;
        margin-top: 5px;
    }

    /* Table compact on mobile */
    .grid-view {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 12px;
    }
    .grid-view .table > thead > tr > th,
    .grid-view .table > tbody > tr > td {
        padding: 2px 4px;
    }
    .grid-view .table > thead > tr > th {
        max-width: 0;
        overflow: hidden;
        white-space: nowrap;
    }

    /* Ticket header flex */
    .ticket-header-flex {
        display: flex;
        flex-wrap: wrap;
    }
    .ticket-header-flex > div {
        width: 100%;
    }

    /* Quick answer categories horizontal scroll */
    .answer-topics {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 10px;
    }
    .answer-topics .list-group-item {
        flex-shrink: 0;
        white-space: nowrap;
        margin-bottom: 0;
    }
}