﻿/* Move down content because we have a fixed navbar that is 50px tall */
/*body {
    padding-top: 50px;
    padding-bottom: 20px;
}*/

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
/*.body-content {
    padding-left: 15px;
    padding-right: 15px;
}*/

/*Custom style for modal popup height.*/
.ekko-lightbox.modal.fade.in div.modal-dialog {
    max-width: 27%;
    max-height: 100%;
}
/* Custom container for OpenCase accordion design - left orientated  */
.container-acc {
    padding-right: 20px;
    padding-left: 20px;
    margin-right: auto;
    margin-left: auto;
}


.page-header {
    padding-bottom: 9.5px;
    margin: 20px 0 21px;
    border-bottom: 1px solid #dddddd;
}

/* Add a bit of right padding to glyphicons */
.glyphicon {
    margin-right: 0px;
}

/* 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;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
/* Sky deleted this value bacause it was overriding Boostrap code...Will have to redo Login Page*/
/* Not sure if it is better to delete or just set max-width = 100% */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="select"] {
}

/* Responsive: Portrait tablets and up */
/*@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }

    .body-content {
        padding: 0;
    }
}*/

/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 75px;
    padding-bottom: 20px;
}
/* Good backgrounds, 6, 10, 12*/
body {
    background-image: url("../images/pattern_1.png");
    background-color: #cccccc;
    /*
    background-repeat:no-repeat;
    background-size: cover;*/
}

.main {
    /*padding: -50px;*/
}

.my-container {
    position: relative;
    overflow: hidden;
}

    .my-container h1 {
        padding: 200px;
        position: relative;
        z-index: 2;
    }

    .my-container img {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: auto;
        opacity: 0.6;
    }

/* Custom gridview pager to highlight selected page */
.cssPager span {
    /*background-color: gray;*/
    font-size: 14px;
    color: black;
}

.cssPager td {
    padding-left: 4px;
    padding-right: 4px;
}

.form-group.required .control-label:before {
    content: "* ";
    color: red;
    font-family: 'Glyphicons Halflings';
    font-weight: normal;
    font-size: 9px;
}

.navbar-offset {
    margin-top: 15px;
}
/* Custom CSS to adjust Input Control Widths*/
.width-md {
    width: 350px;
}

.width-sm {
    width: 250px;
}

.width-lg {
    width: 450px;
}

/* Custom Button CSS for File Upload and Helper glyp*/
.btn-circle {
    width: 25px;
    height: 25px;
    text-align: center;
    padding: 4px 0px;
    font-size: 12px;
    line-height: 1.428571429;
    border-radius: 15px;
}

.btn-file {
    position: relative;
    overflow: hidden;
}

    .btn-file input[type=file] {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 100%;
        min-height: 100%;
        font-size: 100px;
        text-align: right;
        filter: alpha(opacity=0);
        opacity: 0;
        background: red;
        cursor: inherit;
        display: block;
    }

input[readonly] {
    background-color: white !important;
    cursor: text !important;
}

.FileUploadClass input {
    width: 100% !important;
}
/* Custom CSS to override Bootswatch Sandstone theme*/

/*.panel-info {

}*/


/*this is working for OpenCase panel but not panels on GVs with search box?*/
.panel > .panel-heading > .panel-title > a {
    display: block;
    outline: none;
    text-decoration: none;
    color: white;
    /*padding: 0.4em 0.6em;*/
    /*font-weight: bold;*/
}

/*this is not working*/
h4 a:hover {
    text-decoration: none;
}

.panel-info > .panel-heading {
    background-color: #3c8dbc;
}

.panel-primary {
    border-color: #cccccc;
}

    .panel-primary > .panel-heading {
        color: #ffffff;
        background-color: #2aa306;
        border-color: #2aa306;
        /*background-color: #59CD90;*/
        /*border-color: #59CD90;*/
    }

        .panel-primary > .panel-heading + .panel-collapse > .panel-body {
            border-top-color: #2aa306;
        }

        .panel-primary > .panel-heading .badge {
            color: #2aa306;
            background-color: #ffffff;
        }

    .panel-primary > .panel-footer + .panel-collapse > .panel-body {
        border-bottom-color: #2aa306;
    }

.btn-custom {
    color: #ffffff;
    background-color: #2aa306;
    border-color: #cccccc;
}

    .btn-custom:hover {
        color: #ffffff;
        background-color: #2aa306;
        border-color: #2b6e44;
    }


/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* 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;
}
/* Set widths on the form inputs since otherwise they're 100% wide */
/*
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="select"] {
    max-width: 280px;
}
*/


/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }

    .body-content {
        padding: 0;
    }
}

/*Adds spacing between horizontal inline radiobutton lists.*/
.FormatRadioButtonList label {
    margin-right: 15px;
}

/* Bootstrap Dashboard Override */

/* Sidebar navigation */
.nav-sidebar {
    /*margin-right: -21px;*/ /* 20px padding + 1px border */
    margin-bottom: 20px;
    margin-left: -20px;
}

    .nav-sidebar > li > a {
        color: black;
        padding-right: 0px;
        padding-left: 20px;
    }

    .nav-sidebar > .active > a,
    .nav-sidebar > .active > a:hover,
    .nav-sidebar > .active > a:focus {
        color: #fff;
        background-color: #2aa306;
    }

@media (min-width: 768px) {
    .sidebar {
        color: black;
        position: fixed;
        top: 75px;
        bottom: 0;
        left: 0;
        z-index: 1000;
        display: block;
        padding: 75px 0px 20px 25px;
        overflow-x: hidden;
        overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
        background-color: #f5f5f5;
        border: 2px solid #eee;
        border-color: #F9F2EF;
    }
}

.container-padding {
    padding-left: -50px;
    padding-right: -50px;
}

.modalBackground {
    background-color: Black;
    filter: alpha(opacity=90);
    opacity: 0.8;
}

.modalPopup {
    background-color: #FFFFFF;
    border-width: 3px;
    border-style: solid;
    border-color: black;
    padding-top: 10px;
    padding-left: 10px;
    width: 600px;
    height: 400px;
}

.vertical-align {
    display: flex;
    align-items: center;
}

.vcenter {
    /*display: inline-block;*/
    vertical-align: middle;
    float: none;
}

    .vcenter > a {
        display: block;
        outline: none;
        text-decoration: none;
        color: white;
    }

.padFix {
    padding-top: 8px;
}

/*Override modal to center of screen*/
/*.modal {
    position: fixed;
    top: 25%;
}*/


.vertical-alignment-helper {
    display: table;
    height: 100%;
    width: 100%;
    pointer-events: none; /* This makes sure that we can still click outside of the modal to close it */
}

.vertical-align-center {
    /* To center vertically */
    display: table-cell;
    vertical-align: middle;
    pointer-events: none;
}

.modal-content {
    /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
    width: inherit;
    height: inherit;
    /* To center horizontally */
    margin: 0 auto;
    pointer-events: all;
}

.modal-dialog {
    width: 1024px;
    max-height: calc(100vh - 210px);
    overflow-y: auto;
}

.modal-dialog-rfv {
    width: 600px;
    max-height: calc(100vh - 210px);
    overflow-y: auto;
}

.modal-backdrop {
    z-index: -1;
}


/* CSS to customize Bootstrap dialog*/
.success-dialog .modal-dialog {
    width: 500px;
    max-height: calc(100vh - 210px);
    overflow-y: auto;
    /*height: 500px;*/
    top: 50%;
    margin-top: -10%;
}

.confirm-dialog .modal-dialog {
    width: 600px;
    max-height: calc(100vh - 210px);
    overflow-y: auto;
    /*height: 500px;*/
    top: 50%;
    margin-top: -10%;
}

.warning-dialog .modal-dialog {
    width: 700px;
    max-height: 100%;
    overflow-y: auto;
    /*top: 50%;*/
    /*margin-top: -10%;*/
}

.danger-dialog .modal-dialog {
    width: 700px;
    max-height: 100%;
    overflow-y: auto;
    /*top: 50%;*/
    /*margin-top: -10%;*/
}

.warning-btnmargin {
    margin-bottom: 50px;
}

/* CSS to fix wrapping issue for long text that aren't broken into words.*/
.list-group-item {
    word-break: break-all;
}

.badge {
    background-color: #3c8dbc;
}

.badge-success {
    background-color: #00a65a;
}

.badge-danger {
    background-color: #dd4b39;
}
/* CSS to fix input-group z-index issue having highest priority */
.input-group .form-control, .input-group-btn .btn {
    z-index: inherit !important;
}


.pagination-ys {
    /*display: inline-block;*/
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

    .pagination-ys table > tbody > tr > td {
        display: inline;
    }

        .pagination-ys table > tbody > tr > td > a,
        .pagination-ys table > tbody > tr > td > span {
            position: relative;
            float: left;
            padding: 8px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            color: #008cba;
            background-color: #ffffff;
            border: 1px solid #dddddd;
            margin-left: -1px;
        }

        .pagination-ys table > tbody > tr > td > span {
            position: relative;
            float: left;
            padding: 8px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            margin-left: -1px;
            z-index: 2;
            color: white;
            background-color: #54b537;
            /*background-color: #4285F4;*/
            border-color: #dddddd;
            cursor: default;
        }

        .pagination-ys table > tbody > tr > td:first-child > a,
        .pagination-ys table > tbody > tr > td:first-child > span {
            margin-left: 0;
            border-bottom-left-radius: 4px;
            border-top-left-radius: 4px;
        }

        .pagination-ys table > tbody > tr > td:last-child > a,
        .pagination-ys table > tbody > tr > td:last-child > span {
            border-bottom-right-radius: 4px;
            border-top-right-radius: 4px;
        }

        .pagination-ys table > tbody > tr > td > a:hover,
        .pagination-ys table > tbody > tr > td > span:hover,
        .pagination-ys table > tbody > tr > td > a:focus,
        .pagination-ys table > tbody > tr > td > span:focus {
            color: white;
            /*background-color: #54b537;*/
            background-color: #a5d6a7;
            border-color: #dddddd;
        }

.bootstrap-tagsinput {
    width: 100%;
    max-width: 100%;
    overflow-y: auto;
    /*height: 84px;*/
    height: 74px;
    cursor: text;
    font-size: small;
}

/* CSS to override bootstrap selecpicker for acceptedby when using btn-primary */
.acceptedby .dropdown-toggle .filter-option {
    color: white !important;
    font-size: 12px !important;
}


/* Boostrap Typeahead & Bootstrap Select Theming (also affects Combobox) */

/*Prevents overlapping of Bootstrap Select Dropdowns*/
.input-group .bsselect .form-control {
    z-index: inherit;
}

/*Prevents overlapping of Bootstrap Select Dropdowns and input groups*/
.input-group .form-control {
    z-index: inherit;
}

/* Reset inline formatting when bootstrap select is applied*/
.bs-select-wrap {
    white-space: initial;
}

/*Allows bootstrap select to go over modal body */
.bs-select-overflow {
    overflow-y: visible !important;
}

/* Adjust TA, SL, CB font & padding*/
.dropdown-menu > li > a {
    font-size: small;
    padding: 7px !important;
}

 /* Style bootstrap (Multi)select to match CB/TA hover/active style + word-break*/
.dropdown-menu > li > .selected {
    background-color: #008cba;
    color: white;
    word-break: break-word;
    white-space: pre-wrap;
    width: auto;
}

/*Style bootstrap select to match CB/TA hover/active style + word-break*/
.dropdown-menu > li > .active > a, .dropdown-menu > li > a:hover {
    background-color: #008cba;
    color: white;
    word-break: break-word;
    white-space: pre-wrap;
    width: auto;
}

/*Sets max-width of the typeahead to match textbox and hide x-axis scrollbar*/
.dropdown-menu {
    overflow-x: hidden;
    max-width: 100% !important;
}

    /* Enable to allow auto wrapping of long typeaheads without hover/select */
    /*.dropdown-menu > li > a {
    white-space: pre-wrap;
    width: auto;
}*/

    /* Allows wrapping for typeahead that is greater than the typeahead width*/
    .dropdown-menu > .active > a {
        word-break: break-word;
        white-space: pre-wrap;
        width: auto;
    }
