﻿.navbar {
    background-color: #293846 !important;
    margin-bottom: 0 !important;
}

.text-danger {
    color: #E4302C !important;
}
.navbar-default {
    padding-top: 2px !important;
}
input[type="search"]::-webkit-search-cancel-button {
    /* Override style in default bootstrap, want to show X to the right */
    -webkit-appearance: searchfield-cancel-button !important;
    cursor: pointer !important;
}

.field-validation-error {
    color: red;
}
.img-thumbnail {
    max-height: 50px;
    max-width: 50px;
    margin-right: 10px;
}

.breadcrumb {
    background-color: transparent !important;
    height: 30px;
    line-height: 30px;
    vertical-align: middle;
    margin-left: 20px;
}

.btn-danger {
    color: #fff !important;
}

.btn-default {
    color: #333 !important;
    background-color: #eaeaea !important;
    border-color: #c4c4c4 !important;
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active,
    .btn-default:hover,
    .btn-default:focus,
    .btn-default:active,
    .btn-default.active,
    .open .dropdown-toggle.btn-default {
        background-color: #bababa !important;
        border-color: #000 !important;
        color: #333 !important;
    }

/*.btn-primary {
    color: #fff !important;
    background-color: #008A57 !important;
    border-color: #008A57 !important;
}


    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary:active,
    .btn-primary.active,
    .open .dropdown-toggle.btn-default {
        background-color: #008A57 !important;
        border-color: #008A57 !important;
        color: #fff !important;
    }*/




table a, .search-result-rows a {
    color: #000 !important;
    border: none !important;
}

table tr td {
    page-break-inside: avoid;
    vertical-align: top;
    white-space: nowrap;
    /* Hide content and show: ...*/
    overflow: hidden;
    text-overflow: ellipsis;
}

.ibox-content {
    padding-top: 15px !important;
}

.navbar-top-links li {
    margin-right: 0px !important;
}

    .navbar-top-links li:first-child {
        margin-right: 20px !important;
    }


.wrapper-content {
    margin-top: 48px !important;
}

.breadcrumb li.active {
    font-weight: bold;
}

table th {
    border-top: 0px solid black !important;
    background-color: transparent !important;
}

.table-striped > tbody > tr > th {
    background-color: #fff !important;
}

/* ACTIONS in searchtable*/
table-actions {
    vertical-align: middle;
    text-align: center !important;
    width: 120px;
    max-width: 120px;
}

#search-filters {
    margin-bottom: 0px;
    padding-bottom: 0px;
    border: 0px;
}


#tblSearchRows tbody tr td {
    cursor: pointer !important;
    vertical-align: middle !important;
}

#tblSearchRows {
    margin-bottom: 0px;
    padding-bottom: 0px;
    border: 0px;
}

    #tblSearchRows th {
        white-space: nowrap;
    }

.datepicker {
    z-index: 9999 !important;
}

@media (max-width: 1445px) {
    /*Fix to align dropdowns to the right //Stacktable*/
    .ibox .open > .dropdown-menu {
        left: 0 !important;
        right: auto !important;
    }
}

@media (max-width: 350px) {
    /* Override, show right dropdown in menu */
    .nav.navbar-top-links li.dropdown {
        display: block !important;
    }
}

@media (max-width: 768px) {
    /*Make elipse on breadcrumb*/
    .breadcrumb {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        margin: 0;
    }

        .breadcrumb li {
            display: inline;
        }
    /*Remove fixed from config toolbar on small devices*/
    /*.config-toolbar {
                        position: relative;
                        right: initial;
                        left: initial;
                        top: initial;
                        z-index: 3;
                    }*/
    /*Remove padding on small devices*/
    #page-wrapper, .wrapper-content {
        padding: 0px !important;
    }

    .fa {
        font-size: 1.1em;
    }
    /*/Special for .fa search in form*/
    .fa-search, .fa-angle-left, .fa-angle-double-right, .fa-filter {
        font-size: 14px !important;
    }

    #pager button i.fa-chevron-right, #pager button i.fa-chevron-left {
        font-size: 14px !important;
    }

    .wrapper-content {
        margin-top: 55px !important;
    }
    /*Override style.css*/
    .ibox-tools {
        float: right !important;
    }

    .ibox-title {
        padding: 14px 25px 7px 25px !important;
    }
}


/*Modals*/

.modal.modal-wide .modal-dialog {
    width: 90%;
}

.modal-wide .modal-body {
    overflow-y: auto;
}

@media (min-width: 775px) {
.modal.modal-medium .modal-dialog {
    width: 70%;
}
}

@media (max-width: 774px) {
    .modal.modal-medium .modal-dialog {
        width: 98%;
    }
}

.modal-medium .modal-body {
    overflow-y: auto;
}

.modal.modal-fixed-wide .modal-dialog {
    width: 740px;
}

.modal.modal-workorder .modal-dialog {
    width: 740px;
}

/*Form*/

.control-label, .help-block {
    color: #000 !important;
}


.ibox-title h5 {
    /*line-height:30px;*/
    vertical-align: middle;
    /*margin:0px;*/
}

.timeline-item .content:hover {
    background: none !important;
}

/*Dropzone*/
form.dropzone {
    background-color: transparent;
    padding: 0px;
    margin: 0px;
    border: none;
}


/*p in Form*/
.form-group .col-sm-5 p, .form-group .col-sm-10 p {
    line-height: 30px !important;
    vertical-align: middle !important;
}


.dont-break-out {
    /* These are technically the same, but use both */
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-all;
    /* This is the dangerous one in WebKit, as it breaks things wherever */
    word-break: break-all;
    /* Instead use this non-standard one: */
    word-break: break-word;
    /* Adds a hyphen where the word breaks, if supported (No Blink) */
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.ellipses {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.badge1 {
    position: relative;
}

    .badge1[data-badge]:after {
        content: attr(data-badge);
        position: absolute;
        top: -10px;
        right: -10px;
        font-size: .7em;
        background: #333;
        color: white;
        width: 18px;
        height: 18px;
        text-align: center;
        line-height: 18px;
        border-radius: 50%;
        box-shadow: 0 0 1px #333;
    }

/**
 * Github Demo
 */
.selectize-control.repositories .selectize-dropdown [data-selectable] {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.selectize-control.repositories .selectize-dropdown .by {
    font-size: 11px;
    opacity: 0.8;
}

    .selectize-control.repositories .selectize-dropdown .by::before {
        content: 'by ';
    }

.selectize-control.repositories .selectize-dropdown .name {
    font-weight: bold;
    margin-right: 5px;
}

.selectize-control.repositories .selectize-dropdown .title {
    display: block;
}

.selectize-control.repositories .selectize-dropdown .description {
    font-size: 12px;
    display: block;
    opacity: 0.5;
    white-space: nowrap;
    width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
}

.selectize-control.repositories .selectize-dropdown .addtext {
    font-size: 12px;
    font-weight: bold;
    display: block;
    opacity: 1;
    white-space: nowrap;
    width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
}

.selectize-control.repositories .selectize-dropdown .meta {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 10px;
}

    .selectize-control.repositories .selectize-dropdown .meta li {
        margin: 0;
        padding: 0;
        display: inline;
        margin-right: 10px;
    }

        .selectize-control.repositories .selectize-dropdown .meta li span {
            font-weight: bold;
        }

.selectize-control.repositories::before {
    -moz-transition: opacity 0.6s;
    -webkit-transition: opacity 0.6s;
    transition: opacity 0.6s;
    content: ' ' !important;
    z-index: 2;
    position: absolute;
    display: block;
    top: 40%;
    right: 6px;
    width: 20px;
    height: 20px;
    margin: -8px 0 0 0;
    background-color: #fff !important;
    background: url(/images/spinner.gif);
    background-size: 20px 20px;
    opacity: 0;
}

.selectize-control.repositories.loading::before {
    opacity: 0.4;
    content: ' ' !important;
    z-index: 2;
    background-color: #fff !important;
    background-size: 20px 20px;
    background-color: #fff !important;
}

.icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    background-size: 16px 16px;
    margin: 0 3px 0 0;
}

    .icon.fork {
        background-image: url(../images/repo-fork.png);
    }

    .icon.source {
        background-image: url(../images/repo-source.png);
    }



.selectize-control.selectize-search .selectize-input:after {
    content: '\f002' !important;
    font-family: FontAwesome !important;
    line-height: 2 !important;
    display: block !important;
    position: absolute !important;
    top: -5px !important;
    right: 20px !important;
    background-color: white !important;
    padding-right: 2px !important;
    padding-top: 2px !important;
}

.selectize-control.selectize-add .selectize-input:after {
    content: '\f0fe' !important;
    font-family: FontAwesome !important;
    line-height: 2 !important;
    display: block !important;
    position: absolute !important;
    top: -5px !important;
    right: 20px !important;
    background-color: white !important;
    padding-right: 2px !important;
    padding-top: 2px !important;
}

.selectize-control.selectize-none .selectize-input:after {
    content: '' !important;
    font-family: FontAwesome !important;
    line-height: 2 !important;
    display: block !important;
    position: absolute !important;
    top: -5px !important;
    right: 20px !important;
    background-color: white !important;
    padding-right: 2px !important;
    padding-top: 2px !important;
}

.selectize-control.selectize-tags .selectize-input:after {
    content: '' !important;
    font-family: FontAwesome !important;
    line-height: 2 !important;
    display: block !important;
    position: absolute !important;
    top: -5px !important;
    right: 20px !important;
    background-color: white !important;
    padding-right: 2px !important;
    padding-top: 2px !important;
}

.selectize-control.selectize-match .selectize-input:after {
    content: '' !important;
    font-family: FontAwesome !important;
    line-height: 2 !important;
    display: block !important;
    position: absolute !important;
    top: -5px !important;
    right: 20px !important;
    background-color: white !important;
    padding-right: 2px !important;
    padding-top: 2px !important;
}


.selectize-control.selectize-search .selectize-input.dropdown-active:after,
.selectize-control.selectize-add .selectize-input.dropdown-active:after,
.selectize-control.selectize-tags .selectize-input.dropdown-active:after,
.selectize-control.selectize-match .selectize-input.dropdown-active:after {
    content: '' !important;
    background-color: white !important;
    padding-right: 2px !important;
}

.selectize-input > input[placeholder] {
    width: 100% !important;
}

.table-actions{
    min-height:40px !important;
}

/* The max width is dependant on the container (more info below) */
.popover{
    max-width: 100% !important; /* Max Width of the popover (depending on the container!) */
    z-index: 16777271 !important;
    max-height: 100% !important;
}

.select 
{
    cursor:pointer;
}

   input:focus, textarea:focus {
        border: 1px solid #7ac0da !important;
    }
