/** GENERAL **/

body {
    Overflow-x: hidden;
    Overflow-y: auto;
    position: relative;
}

/* header */

#dropdown li.headerlink {
    width: auto;
    float: left;
    text-align: center;
}

/* query list */

#dropdown li.headerlink ul {
    display: none;
    text-align: left;
    position: absolute;
    padding: 5px;
    z-index: 2;
}

/* query entries */

#dropdown li.headerlink:hover ul {
    display: block;
    width: auto;
}

#dropdown li.headerlink:hover ul li {
    padding: 5px;
    margin: 1px;
    float: none;
    display: block;
}

.custom-logo {
    width: 70%;
}

.form_help_text {
    font-size: 11px;
}

/**** FIELDSET TABS ****/

.tab-content {
    padding: 50px 15px;
    /* border: 1px solid #ddd; */
    border-top: 0;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    margin-bottom: 20px;
}

.nav-tabs>li.active>a>h4 {
    font-weight: bold !important;
}

/**** FIELDSET ****/

div.dynamic-form label {
    display: inline;
}

.dynamic-form {
    border-bottom: dotted 2px #CCC;
    padding-top: 7px;
    overflow: auto;
}

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

.formset-button {
    margin: 7px;
}

a.delete-row {
    text-decoration: none;
}

a.delete-row:hover, a.delete-row:focus {
    color: #fff;
    background-color: #f9243f 0.8;
}

.delete-row {
    background-color: #f9243f;
    border-color: #f9243f;
    padding: 6px 12px;
    margin: 7px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #FFF;
}

.delete-row, .top-submit {
    display: block;
    float: right;
    width: 100px;
    margin: 7px;
}

.add-row.formset-button {
    width: 170px;
}

fieldset .form-group.mycol-1, fieldset .form-group.mycol-2, fieldset .form-group.mycol-3, fieldset .form-group.mycol-4 {
    float: left;
    margin-right: 7px;
}

.form-group.mycol-4.large input, .form-group.mycol-2.large input {
    height: 50px !important;
}

.form-group.mycol-2.large .multi-item {
    width: auto !important;
    min-width: 100px;
    padding-left: 7px;
    padding-right: 20px;
}

fieldset>.form-control.helpdesk>label {
    display: inline;
}

fieldset .form-group.mycol-1 {
    width: 99.6%;
}

fieldset .form-group.mycol-2 {
    width: 49.2%;
}

fieldset .form-group.mycol-4 {
    width: 24%;
}

fieldset .form-group.mycol-3 {
    width: 32.6%;
}

fieldset .fld_None {
    display: none;
}

input[type='text'].paddinput, input[type='number'].paddinput, select.paddinput {
    padding: 7px;
}

textarea#id_body {
    max-width: 100%;
    max-height: 150px;
}

/*** ticket **/

.back_title {
    background: #e9ecef;
    font-weight: bold;
    text-align: right;
    border: solid 1px #e9ecef;
}

.back_value {
    border: solid 1px #e9ecef;
}

.back_title, .back_value {
    padding: 4px;
    margin-bottom: 1px;
}

.main_table {
    margin-bottom: 7px;
}

.main_title {
    margin-bottom: 1px;
    text-align: center;
    background: #e9ecef;
    font-weight: bold;
    border: none;
}

.main_button {
    padding: 7px;
}

.panel.ticket {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.panel-heading {
    font-size: 16px;
}

.panel-heading h4 i {
    color: #30a5ff;
}

.panel-heading h4 {
    font-weight: 500 !important;
}

.main_button button {
    padding: 7px 15px;
}

select.form-control.helpdesk {
    height: 46px;
}

div.checkbox .form-control {
    height: 17px !important;
}

fieldset.ticket-express>.form-control.helpdesk {
    height: 36px !important;
}

.main_content {
    padding: 25px;
    margin-bottom: 1px;
}

@media screen and (max-width: 1300px) {
    .panel-heading {
        font-size: 16px !important;
    }

    .back_title, .back_value {
        font-size: 12px;
    }
}

@media screen and (max-width: 767px) {
    .back_title, .back_value {
        text-align: center;
        height: 40px;
    }

    ul.timeline>li>.timeline-panel {
        width: calc(80%) !important;
        width: -moz-calc(80%) !important;
        /* width: -webkit-calc(10%); */
    }

    .form-group {
        margin-bottom: 15px;
        width: 98% !important;
        float: none !important;
        margin-right: 0px;
    }

    textarea, input, select {
        max-width: 99.9% !important;
    }

    label {
        display: inline !important;
        max-width: 50% !important;
    }

    .custom-logo {
        width: 30%;
    }

    .panel-heading {
        font-size: 16px !important;
        height: auto !important;
        line-height: 20px !important;
    }

    form[name='ticket_form'] textarea {
        width: 100%;
    }

    div.mod-button button {
        width: 125px;
        font-size: 14px;
        margin-bottom: 7px;
    }

    div.mod-button .col-xs-6 {
        padding-left: 0px;
    }

    #FurtherEditOptions {
        width: 100% !important;
    }

    fieldset.first-col, fieldset.second-col {
        width: 100% !important;
        float: none;
        margin-right: 0px;
    }

    .thumbnail.filterBox {
        max-width: 100%;
        min-width: 100%;
    }

    .dataTables_length label {
        font-size: 13px;
    }

    .dataTables_length select {
        display: inline-block;
        width: 29%;
    }

    #ticket_mass_update>p:nth-child(3)>label {
        display: block !important;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button {
        padding: 0px !important;
    }
}

input.form-control {
    /* border-color: rgba(0, 0, 0, 0.55) !important;
    color: #000 !important; */
}

.dash-foot {
    margin-top: 7px;
    min-height: 30px;
}

.huge {
    font-size: 30px;
}

/** CHANGE PASSWORD ***/

form.password_change input, form.password_change button {
    padding: 7px !important;
    display: block;
}

/**** DATATABLES BUTTON *****/

div.dt-buttons {
    margin-left: 7px !important;
    margin-top: -7px !important;
}

/**** FORM ****/

#FurtherEditOptions {
    width: 50%;
    border: solid 1px #CCC;
    margin-top: 7px;
    padding: 7px;
    display: none;
}

fieldset.first-col, fieldset.second-col {
    width: 48%;
    float: left;
    margin-right: 7px;
}

fieldset.ticket-express .form-control, fieldset.ticket-express .form-control.helpdesk {
    height: 36px !important;
}

.clearfix {
    display: block;
    width: 100%;
}

@media (min-width: 992px) {
    div.mod-button button {
        width: 150px;
    }
}

/****** TIMELINE ******/

.timeline {
    position: relative;
    padding: 20px 0 20px;
    list-style: none;
}

.timeline:before {
    content: " ";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    margin-left: -1.5px;
    background-color: #eeeeee;
}

.timeline>li {
    position: relative;
    margin-bottom: 20px;
}

.timeline>li:before, .timeline>li:after {
    content: " ";
    display: table;
}

.timeline>li:after {
    clear: both;
}

.timeline>li:before, .timeline>li:after {
    content: " ";
    display: table;
}

.timeline>li:after {
    clear: both;
}

.timeline>li>.timeline-panel {
    float: left;
    position: relative;
    width: 46%;
    padding: 20px;
    border: 1px solid #d4d4d4;
    border-radius: 2px;
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

.timeline>li>.timeline-panel:before {
    content: " ";
    display: inline-block;
    position: absolute;
    top: 26px;
    right: -15px;
    border-top: 15px solid transparent;
    border-right: 0 solid #ccc;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #ccc;
}

.timeline>li>.timeline-panel:after {
    content: " ";
    display: inline-block;
    position: absolute;
    top: 27px;
    right: -14px;
    border-top: 14px solid transparent;
    border-right: 0 solid #fff;
    border-bottom: 14px solid transparent;
    border-left: 14px solid #fff;
}

.timeline>li>.timeline-badge {
    z-index: 100;
    position: absolute;
    top: 16px;
    left: 50%;
    width: 50px;
    height: 50px;
    margin-left: -25px;
    border-radius: 50% 50% 50% 50%;
    text-align: center;
    font-size: 1.4em;
    line-height: 50px;
    color: #fff;
    background-color: #999999;
}

.timeline>li.timeline-inverted>.timeline-panel {
    float: right;
}

.timeline>li.timeline-inverted>.timeline-panel:before {
    right: auto;
    left: -15px;
    border-right-width: 15px;
    border-left-width: 0;
}

.timeline>li.timeline-inverted>.timeline-panel:after {
    right: auto;
    left: -14px;
    border-right-width: 14px;
    border-left-width: 0;
}

.timeline-badge.primary {
    background-color: #2e6da4 !important;
}

.timeline-badge.success {
    background-color: #3f903f !important;
}

.timeline-badge.warning {
    background-color: #f0ad4e !important;
}

.timeline-badge.danger {
    background-color: #d9534f !important;
}

.timeline-badge.info {
    background-color: #5bc0de !important;
}

.timeline-title {
    margin-top: 0;
    color: inherit;
}

.timeline-body>p, .timeline-body>ul {
    margin-bottom: 0;
}

.timeline-body>p+p {
    margin-top: 5px;
}

@media (max-width: 767px) {
    ul.timeline:before {
        left: 40px;
    }

    ul.timeline>li>.timeline-panel {
        width: calc(10%);
        width: -moz-calc(10%);
        width: -webkit-calc(10%);
    }

    ul.timeline>li>.timeline-badge {
        top: 16px;
        left: 15px;
        margin-left: 0;
    }

    ul.timeline>li>.timeline-panel {
        float: right;
    }

    ul.timeline>li>.timeline-panel:before {
        right: auto;
        left: -15px;
        border-right-width: 15px;
        border-left-width: 0;
    }

    ul.timeline>li>.timeline-panel:after {
        right: auto;
        left: -14px;
        border-right-width: 14px;
        border-left-width: 0;
    }
}

/****** TICKET BOTTOM ****/

.panel-status {
    width: 80%;
    display: block;
    min-height: 70px;
}

.panel-status-first, .panel-status-second {
    display: block;
    width: 49%;
    float: left;
    padding: 10px;
}

.add_file_fields_wrap button, .add_file_fields_wrap div {
    padding: 7px;
    margin: 7px;
}

@media screen and (max-width: 767px) {
    .panel-status-first, .panel-status-second {
        width: 100%;
        float: none;
        padding: none;
    }

    .panel-status {}
}


/******/