﻿@font-face {
    font-family: 'Lato';
    src: url('/io/Content/fonts/Lato Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Klavika Medium Plain';
    src: url('/io/Content/fonts/Klavika Medium Plain.otf') format('opentype');
}

@font-face {
    font-family: 'Glyphicons Halflings';
    src: url('/io/Content/fonts/glyphicons-halflings-regular.eot');
    src: url('/io/Content/fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('/io/Content/fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('/io/Content/fonts/glyphicons-halflings-regular.woff') format('woff'), url('/io/Content/fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('/io/Content/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}

/* fix checkbox in an input addon */
.input-group-addon.checkbox > label {
    padding-top: 0;
    line-height: inherit;
    min-height: 0;
}

/* override bootstrap 3 class to remove scrollbar from modal backdrop
   when not necessary */
.modal-open[style] {
   padding-right: 0px !important;
}


/*BS3 sets display:block*/
input[type="file"] {
    display:inline-block;
}

.control-label.control-label-left-align {
    text-align:left;
}


/* panel holding a single form element */
.panel > select.form-control, .panel > textarea.form-control {
    border: 0;
}

/* collapsed panel double bottom border fix */
.panel-default > .panel-heading.collapsed {
    border-bottom: 0;
}

/* force scrollbar to always be visible.
    without this the page contents will shift when a scrollbar appears due to the side nav showing or expanding/collapsing content */
html {
    overflow-y:scroll;
    -ms-overflow-style:scrollbar!important; /* fix scrollbar overlay for microsft browsers */
}

input.form-control[type=number] {
    padding-right:3px;
}

/*100% width for datepicker sets*/
.datepicker-container {
    width: 100%
}


/* prevent jump to top when modal open - need to prevent scrolling via js also */
body.modal-open {
    overflow:visible;
}

/* form elements respect bg context */
input.bg-warning, select.bg-warning {
    background-color:#fcf8e3;
    color: #666;
}
input.bg-danger, select.bg-danger {
    background-color:#f2dede;
}

.panel > .table:last-child, .panel .RadGrid > .table, .panel tfoot .rgPager td, .xs-bordered-tab-contents .tab-pane .table:last-child {
    margin-bottom:0;
    border-bottom:0;
}
.panel > .table:first-child, .panel .RadGrid > .table, .xs-bordered-tab-contents .tab-pane .table:first-child {
    border-top-width: 0;
    border-left-width: 0;
    border-right-width: 0;
}

    /* panel with a gridview, a <div> wrapper gets rendered which breaks bs css */
    .panel > div:not([class]) > .table {
        border-width: 0;
        margin-bottom: 0;
    }
        .panel > div:not([class]) > .table tr :first-child:not(.btn), .panel .RadGrid > .table tr > :first-child, .xs-bordered-tab-contents .tab-pane .table tr > :first-child {
            border-left-width: 0;
        }
        .panel > div:not([class]) > .table tr :last-child, .panel .RadGrid > .table tr > :last-child, .xs-bordered-tab-contents .tab-pane .table tr > :last-child {
            border-right-width: 0;
        }

/* prevent modals from getting too tall */
.modal-body {
    max-height: 80vh;
    overflow: auto;
}

/* treat links without href's as normal text */
a:not([href]):hover {
    text-decoration:none;
}

.rgp-breadcrumb .breadcrumb {
    padding-top: 0;
    padding-left: 0;
}

/* list group in a popover */
.popover .list-group {
    margin: -9px -14px;
}

.popover .list-group .list-group-item {
    border-left: 0;
    border-right: 0;
}

    .popover .list-group .list-group-item:first-child {
        border-top: 0;
    }

    .popover .list-group .list-group-item:last-child {
        border-bottom: 0;
    }


a {
    cursor: pointer;
}