﻿.search-group {
    margin: 0px 0px 15px 0px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.img-login-logo {
    max-width: 280px; 
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}

.nav-menu-tab {
    min-width: 100px;
}


@media ( max-width:700px ){
    .menu-button-group {
        display: none;
    }

    .search-pane {
        display: none;
    }

    .body-content {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .container-fluid {
        padding-right: 15px;
        padding-left: 15px;
        margin-right: auto;
        margin-left: auto;
    }

    .main-table {
        margin-left: -15px;
        margin-right: -15px;
        width: calc(100% + 30px);
        max-width: calc(100% + 30px);
    }

    .no-mobile{
        display: none !important;
    }

    .pagination > li > a {
        padding: 3px 8px !important;
    }

    .summary-chart {
        width: 300px;
        height: 300px;
        margin: auto;
    }
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

.detail-item-heading {
  font-size: 8px;
  font-weight: bold;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}



/*Header*/
.navbar navbar-default navbar-static-top {
    background-color: #06274f;
}

#user-profile-dropdown .dropdown-toggle {
    padding-top:25px;
    color:#eeeeee;
}

#user-profile-dropdown.open .dropdown-toggle {
    padding-top:25px;
    color:#06274f;
}

#user-profile-dropdown a {
    color:#428bca;
}

#user-profile-dropdown a:hover {
    color:#eeeeee;
}

#user-profile-dropdown .dropdown-toggle:hover {
    color:#06274f;
}

.dropdown.open { 
    color:#06274f;
}


/*Footer*/
#footer {
    position: fixed;
    bottom: 0;
    width: 100%;
}


@media (min-width: 768px) {
    .sidebar {
        z-index: 1;
        position: absolute;
        width: 220px;
        margin-top: 71px;
    }
}



/* Untl */
.centered {
    text-align: center;
}

a:hover {
   text-decoration: none !important;
 }

/* Login */
.help-block ul {
    list-style-type: none;
    padding-left: 0px;
    color:#b94a48;
}

/* Advertisements*/
.advert-preview {
    cursor: pointer;
}

.advert-image-preview {
    cursor: pointer;
}




/* Ban & Excluded */
.ban-preview {
    cursor: pointer;
}


.record-preview {
    cursor: pointer;
}

/* 
====================================================================
Pickers
====================================================================
*/

/* Ensure that picker is displayed over any modal it may be on*/
.wickedpicker {
    z-index:3000;
}

.wickedpicker__title {
    display:none;
}

/* 
====================================================================
Buttons
====================================================================
*/

button {
    padding-bottom: 4px !important;
    padding-top: 4px !important; 
}

.search-button {
    padding-bottom: 6px !important;
    padding-top: 6px !important; 
}

.clear-search-button {
    padding-bottom: 6px !important;
    padding-top: 6px !important; 
}

/* 
====================================================================
Check Boxes
====================================================================
*/
.form-check .form-check-input {
    float:left;
}
.form-check .form-check-label {
    padding-left:2px;
    padding-top:4px;
}


/* 
====================================================================
Tables 
====================================================================
*/
.sortable {
    cursor: pointer;
}

.sortable:hover { 
    color: #428bca;
    text-decoration: underline;
}

.datagrid {
    max-width: 1200px;
}

.row-detail-button {
    cursor: pointer;
}

td > button {
    padding: 2px 10px 2px 10px !important;
}

/* Modal Table */
.modal-table td {
    vertical-align: top;
    min-width: 105px;
}

.col-handle {
    height: 18px;
    margin: 0 1px;
    cursor:move;
}

.col-handle:hover {
    /*background-image: url(../images/handle.png);
    background-repeat: repeat-x;*/
}

/* 
====================================================================
Docket Layout 
====================================================================
*/
#draggable { width: 150px; height: 40px; padding: 0.5em; }

/*Page Size*/
page {
  background: white;
  display: block;
  margin: 0 auto;
  margin-bottom: 0.5cm;
  box-shadow: 0 0 0.5cm rgba(0,0,0,0.5);
  position:relative;
}

page[size="A4"] {  
  width: 21cm;
  height: 29.7cm; 
}

page[size="Docket"] {  
  width: 72mm;
  height: 155mm;
}

page[size="Badge"] {  
  width: 21cm;
  height: 29.7cm; 
}

@media print {
  body, page {
    margin: 0;
    box-shadow: 0;
  }
}

.document-object-container {
    padding: 0 0 0 0 !important;
    height: 20px !important;
    cursor: move;
    background-color:transparent;
}

.document-label {
    margin: 0 0 0 0 !important;
    float: left !important;
    cursor: move;
    background-color:transparent;
    position: absolute;
    z-index:1;
}

/* Selected Docket Label   dodgerblue */
.document-label.selected {
    outline-width: 1px;
    outline-color: #1e90ff;
    outline-style: solid;
}




.loading {
    /*position: fixed;*/
    /*top: 0; right: 0;*/
    /*bottom: 0; left: 0;*/
    background: #fff;
}
.loader {
    left: 50%;
    margin-left: -4em;
    font-size: 5px;
    border: .8em solid rgba(218, 219, 223, 1);
    border-left: .8em solid #428bca;
    animation: spin 1.1s infinite linear;
}
.loader, .loader:after {
    border-radius: 50%;
    width: 8em;
    height: 8em;
    display: block;
    position: absolute;
    top: 50%;
    margin-top: -4.05em;
}

@keyframes spin {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0deg);
  }
}


/* 
====================================================================
Reporting 
====================================================================
*/
#report-filters {
  /* for the animation */
  transition: margin 0.3s ease;
}

.collapsed {
  /* hide it for small displays*/
  display: none;
}

@media (min-width: 992px) {
    .collapsed {
        display: block;
        /* same width as sidebar */
        margin-left: -25%;
    }
}

#row-main {
  /* necessary to hide collapsed sidebar */
  overflow-x: hidden;
}

#report-content {
  /* for the animation */
  transition: width 0.3s ease;
}


.ui-autocomplete {
    z-index:6000;
}

.ui-autocomplete {
    font-size: 11px;
}
/* workarounds */
html .ui-autocomplete { width:1px; min-height: 185px; overflow-y: scroll; overflow-x: hidden;} /* without this, the menu expands to 100% in IE6 */
.ui-menu {
    list-style:none;
    padding: 2px;
    margin: 0;
    display:block;
    float: left;
}
.ui-menu .ui-menu {
    margin-top: -3px;
}
.ui-menu .ui-menu-item {
    margin:0;
    padding: 0;
    zoom: 1;
    float: left;
    clear: left;
    width: 100%;
}
.ui-menu .ui-menu-item a {
    text-decoration:none;
    display:block;
    padding:.2em .4em;
    line-height:1.5;
    zoom:1;
}
.ui-menu .ui-menu-item a.ui-state-hover,
.ui-menu .ui-menu-item a.ui-state-active {
    font-weight: normal;
    margin: -1px;
}

.compact-row {
  font-size: 11px;
    margin-top: 0; margin-bottom: 0;
}

@media ( min-width:700px ){
    #loginForm {
        width: 300px;
        margin: auto;
    }

    .log_datail_table {
        width:100%;
        border-spacing: 0px; 
        border-collapse: separate;
    }

    .log_datail_table th {
        border-left:1px solid black;
        border-bottom:1px solid black;
        border-top:1px solid black;
        padding: 1px 2px;
        font-size:12px;
    }

    .log_datail_table tr th:first-child {
        border-top-left-radius: 3px;
    }

    .log_datail_table tr th:last-child {
        border-right:1px solid black;
        border-top-right-radius: 3px;
    }

    .log_datail_table td {
        border-left:1px solid black;
        border-bottom:1px solid black;
        padding: 1px 2px;
        font-size:12px;
    }

    .log_datail_table tr td:last-child
    {
        border-right:1px solid black;   
    }

    .log_datail_table tr:last-child td:first-child
    {
        border-bottom-left-radius: 3px;   
    }

    .log_datail_table tr:last-child td:last-child
    {
        border-bottom-right-radius: 3px;   
    }
}

@media ( max-width:700px ) {
    .log_datail_table {
        width:100%;
        border:1px solid black;
        border-collapse: collapse;
    }

    .log_datail_table th {
        border:1px solid black;
        padding: 1px 2px;
        font-size:12px;
    }

    .log_datail_table td {
        border:1px solid black;
        padding: 1px 2px;
        font-size:12px;
    }
}

.ID_image {
    width:300px;
}

.required .control-label:after {
  content:" *";color:red;
}