﻿header {
    color: #000000;
    margin-left: 10px;
    margin-right: 10px;
    min-height: 44px;
}

@media (min-width: 768px) {
    header {
        margin-left: 25px;
        margin-right: 25px;
    }
}

header a,
header a:hover {
    color: #000000;
    text-decoration: none;
}

.btn-custom {
    background-color: #0C7CBC;
    background-repeat: repeat-x;
    border-color: #0C7CBC;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
    color: #FFFFFF;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
    background-image: linear-gradient(to bottom, #0C9ACA 0%, #0C7CBC 100%);
}

    .btn-custom:hover,
    .btn-custom:focus {
        background-position: 0 -15px;
    }

    .btn-custom:active,
    .btn-custom.active {
        -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
        box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
    }

    .btn-custom:hover,
    .btn-custom:focus,
    .btn-custom:active,
    .btn-custom.active,
    .open > .dropdown-toggle.btn-custom {
        color: #FFFFFF;
        background-color: #0C7CBC;
        border-color: #0C7CBC;
    }

    .btn-custom:active,
    .btn-custom.active,
    .open > .dropdown-toggle.btn-custom {
        background-image: none;
    }

    .btn-custom.disabled,
    .btn-custom[disabled],
    fieldset[disabled] .btn-custom,
    .btn-custom.disabled:hover,
    .btn-custom[disabled]:hover,
    fieldset[disabled] .btn-custom:hover,
    .btn-custom.disabled:focus,
    .btn-custom[disabled]:focus,
    fieldset[disabled] .btn-custom:focus,
    .btn-custom.disabled:active,
    .btn-custom[disabled]:active,
    fieldset[disabled] .btn-custom:active,
    .btn-custom.disabled.active,
    .btn-custom[disabled].active,
    fieldset[disabled] .btn-custom.active {
        background-color: #0C9ACA;
        background-image: none;
        border-color: #0C9ACA;
    }

    .btn-custom .badge {
        color: #0C7CBC;
        background-color: #FFFFFF;
    }


.checkboxlist .btn-group {
    margin: 0px 4px 4px 0px;
}

.form-control.datepicker {
    padding: 6px 12px;
}

.dropdown-custom .btn.dropdown-toggle {
    background-color: #0C9ACA;
    color: #FFFFFF;
}

.dropdown-custom .dropdown-menu > .active > a,
.dropdown-custom .dropdown-menu > .active > a:hover,
.dropdown-custom .dropdown-menu > .active > a:focus {
    background-color: #0C9ACA;
    background-repeat: repeat-x;
    background-image: linear-gradient(to bottom, #0C9ACA 0%, #0C7CBC 100%);
}

.dropdown-pagelimit {
    margin-bottom: 20px;
}

    .dropdown-pagelimit .pagelimit {
        margin: 7px 20px 0px 5px;
    }

.dropdown-table-sort {
    margin-bottom: 20px;
}

.form-wrapper {
    max-width: 650px;
}

.hand {
    cursor: pointer;
}

.header-link {
    font-size: 20px;
}

    .header-link img {
        margin-bottom: 5px;
        margin-top: 5px;
        max-height: 30px;
    }

    .header-link span {
        padding-top: 10px;
        padding-left: 15px;
        vertical-align: middle;
    }

.link-disabled,
.link-disabled * {
    cursor: not-allowed;
    color: #808080;
}

.navbar-custom {
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    background-color: #0C9ACA;
    border: none;
    border-radius: 0px;
    color: #FFFFFF;
    min-height: 38px;
}

    .navbar-custom a {
        color: #FFFFFF;
        font-size: 14px;
        text-transform: uppercase;
    }

@media (min-width: 768px) {
    .navbar-custom a {
        font-size: 12px;
    }
}

.navbar-custom a:hover {
    background-color: #000000;
}

.navbar-custom .dropdown-custom {
    margin-bottom: 0px;
}

.navbar-custom .navbar-brand {
    font-size: 14px;
}

@media (min-width: 768px) {
    .navbar-custom .navbar-brand {
        font-size: 12px;
    }
}

.navbar-custom .navbar-header-link,
.navbar-custom .navbar-header-link:hover {
    text-decoration: none;
    text-transform: none;
}

.navbar-custom .navbar-nav a {
    padding-bottom: 9px;
    padding-top: 9px;
}

.navbar-custom .navbar-nav > li > a:hover,
.navbar-custom .navbar-nav > li > a:focus {
    background-color: transparent;
    text-decoration: underline;
}

.navbar-custom .navbar-nav > .active > a,
.navbar-custom .navbar-nav > .active > a:hover,
.navbar-custom .navbar-nav > .active > a:focus {
    background: transparent url('../images/layout/menu-active.png') no-repeat top center;
}

.navbar-custom .navbar-nav > .dropdown > a,
.navbar-custom .navbar-nav > .dropdown > a:hover,
.navbar-custom .navbar-nav > .dropdown > a:focus {
    background-color: transparent;
}

.navbar-custom .navbar-nav > .dropdown:hover > ul.dropdown-menu {
    display: block;
}

@media (max-width: 767px) {
    .navbar-custom .navbar-nav > li a:hover,
    .navbar-custom .navbar-nav > li a:focus,
    .navbar-custom .navbar-nav > .active > a,
    .navbar-custom .navbar-nav > .active > a:hover,
    .navbar-custom .navbar-nav > .active > a:focus,
    .navbar-custom .navbar-nav > .dropdown.active > a {
        background: none;
        text-decoration: underline;
    }

    .navbar-custom .navbar-nav > .dropdown.open > ul.dropdown-menu > li > a {
        background: none;
        color: #FFFFFF;
    }

    .navbar-custom .navbar-nav > .dropdown.open > ul.dropdown-menu > li.active > a {
        text-decoration: underline;
    }

        .navbar-custom .navbar-nav > .dropdown.open > ul.dropdown-menu > li.active > a:hover,
        .navbar-custom .navbar-nav > .dropdown.open > ul.dropdown-menu > li.active > a:focus {
            background: none;
        }
}

.navbar-custom .navbar-toggle .icon-bar {
    background-color: #FFFFFF;
}

.pagination-custom {
    margin-top: 0px;
}

    .pagination-custom > li > a,
    .pagination-custom > li > span,
    .pagination-custom > li > a:hover,
    .pagination-custom > li > span:hover,
    .pagination-custom > li > a:focus,
    .pagination-custom > li > span:focus {
        border: none;
        color: #000000;
        padding-left: 8px;
        padding-right: 8px;
    }

    .pagination-custom > li:first-child > a,
    .pagination-custom > li:first-child > span,
    .pagination-custom > li:last-child > a,
    .pagination-custom > li:last-child > span {
        -moz-border-radius: 0px;
        -webkit-border-radius: 0px;
        border-radius: 0px;
    }

    .pagination-custom > .active > a,
    .pagination-custom > .active > span,
    .pagination > .active > a:hover,
    .pagination-custom > .active > span:hover,
    .pagination-custom > .active > a:focus,
    .pagination-custom > .active > span:focus {
        background-color: #0C9ACA;
        border: none;
        color: #FFFFFF;
    }

.panel-custom {
    border-color: #0C9ACA;
}

    .panel-custom .panel-heading {
        background-color: #0C9ACA;
        color: #FFFFFF;
    }

.panel-login {
    max-width: 450px;
}

.search:after {
    clear: both;
    content: " ";
    display: block;
    height: 0px;
}

.search .search-field {
    float: left;
    margin: 0px 9px 9px 0px;
}

    .search .search-field.search-field-nolabel {
        margin-top: 25px;
    }

    .search .search-field > label {
        display: block;
    }

.table-custom a {
    color: #000000;
}

.table-custom > tbody > tr > td {
    border: none;
    border-top: 1px solid #CACACA;
    font-size: 12px;
}

.table-custom > tbody > tr.clickable > td {
    cursor: pointer;
}

.table-custom > tbody > tr > td.actions {
    cursor: default;
    padding-bottom: 0px;
    padding-top: 4px;
    text-align: right;
}

@media (min-width: 768px) {
    .table-custom > tbody > tr > td.actions {
        text-align: center;
    }
}

.table-custom > tbody > tr > td.actions span,
.table-custom > tbody > tr > td > div.row > div.actions span {
    font-size: 16px;
}

.table-custom > tbody > tr > td > div.row > div.actions {
    text-align: center;
}

.table-custom > tbody > tr > td.icons {
    padding-bottom: 0px;
    text-align: left;
}

    .table-custom > tbody > tr > td.icons > span {
        font-size: 16px;
    }

.table-custom > tbody > tr > td.tag {
    padding: 0px;
}

.table-custom > tbody > tr > td.toggle-details {
    cursor: pointer;
}

.table-custom > tbody > tr.details {
    display: none;
}

    .table-custom > tbody > tr.details hr {
        margin: 10px 0px 10px 0px;
    }

    .table-custom > tbody > tr.details > td {
        border: none;
    }


        .table-custom > tbody > tr.details > td > div.row {
            margin-right: 0px;
        }

.table-custom > thead > tr > th {
    background: #EBE9EA;
    border-bottom: 2px solid #B2B2B2;
    font-size: 12px;
    text-transform: uppercase;
}

    .table-custom > thead > tr > th.tag {
        padding: 0px;
        width: 10px;
    }

@media (min-width: 768px) {
    .table-custom > thead > tr > th.actions-1 {
        width: 38px;
    }

    .table-custom > thead > tr > th.actions-2 {
        width: 58px;
    }

    .table-custom > thead > tr > th.actions-3 {
        width: 76px;
    }

    .table-custom > thead > tr > th.actions-4 {
        width: 96px;
    }

    .table-custom > thead > tr > th.actions-5 {
        width: 116px;
    }

    .table-custom > thead > tr > th.actions-6 {
        width: 134px;
    }
}

.table-custom > thead > tr > th.active {
    background: #B8B8B8;
    color: #FFFFFF;
}

.table-custom > thead > tr > th.toggle-details {
    cursor: pointer;
    width: 22px;
}

.table-custom > thead > tr > th.sort {
    cursor: pointer;
}

.table-responsive {
    border: none;
}

.twitter-typeahead {
    height: 29px;
    width: 100%;
}

    .twitter-typeahead .tt-dropdown-menu {
        background: #FFFFFF;
        border: 1px solid #000000;
        padding: 10px;
        padding-bottom: 0px;
    }

        .twitter-typeahead .tt-dropdown-menu .tt-suggestion {
            cursor: pointer;
        }

.typeaheadclear {
    cursor: pointer;
}

.bottom-buffer {
    margin-bottom: 10px;
}

.orange,
.orange:active,
.orange:visited,
.orange:hover,
.orange:focus {
    color: #0C9ACA;
}

/**********************************Twitter typeahead*****************************/
span.twitter-typeahead .tt-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    text-align: left;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box;
}

span.twitter-typeahead .tt-suggestion > p {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    white-space: nowrap;
}

    span.twitter-typeahead .tt-suggestion > p:hover,
    span.twitter-typeahead .tt-suggestion > p:focus {
        color: #ffffff !important;
        text-decoration: none;
        outline: 0;
        background-color: #0C9ACA;
    }

span.twitter-typeahead .tt-suggestion.tt-cursor {
    color: #ffffff !important;
    background-color: #0C9ACA;
}

span.twitter-typeahead {
    width: 100%;
}

.input-group span.twitter-typeahead {
    display: block !important;
}

    .input-group span.twitter-typeahead .tt-dropdown-menu {
        top: 32px !important;
    }

.input-group.input-group-lg span.twitter-typeahead .tt-dropdown-menu {
    top: 44px !important;
}

.input-group.input-group-sm span.twitter-typeahead .tt-dropdown-menu {
    top: 28px !important;
}

.fade { 
	display: none; /* Hidden as default */
	background:url(../images/popupbg.png) repeat; width:100%; height:100%;
	position: fixed; left: 0; top: 0;
	z-index:1;
	opacity:0.8;
}
#fade { 
	display: none; /* Hidden as default */
	background:#fff; width:100%; height:100%;
	position: fixed; left: 0; top: 0;
	z-index:1;
	opacity:0.8;
}