﻿h4 {
    margin-top: 15px;
    margin-bottom: 5px;
}

hr {
    margin-top: 5px;
    margin-bottom: 15px;
}

.btn-arrow-right {
    padding-left: 50px;
    padding-right: 40px;
}

.form-padding {
    padding: 10px;
}

.col-md-checkbox, .col-lg-checkbox {
    width: 1% !important;
    min-width: 1% !important;
    max-width: 1% !important;
}

.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
    /*padding: 6px;*/
}

.orliglabel {
    /*Used to expand the labels that can actually fit in 1 line. The default bootstrap padding is too big*/
    padding-right: 5px;
}

.orligtextboxaslabel {
    /*Used for instances where textbox is used to display data. (e.g. Opportunity_Quote_Product) */
    padding: 0px !important;
    height: 20px !important;
}

.orlignopadding {
    /*Used for instances where there is left panel and right panel. since there is need to specify the col-md, extra padding will be applied. this will remove those padding. (e.g. InboundServiceRequest) */
    padding-left: 0px !important;
}

.orlignopadding_top {
    /*Used for instances where there is left panel and right panel. since there is need to specify the col-md, extra padding will be applied. this will remove those padding. (e.g. InboundServiceRequest) */
    padding-top: 0px !important;
}

.orligleftpanel {
    /* to be applied to left panel connectedSortable.This also applies to the bottom connectedSortable */
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.orligrightpanel {
    /* to be applied to right panel connectedSortable.This also applies to the bottom connectedSortable */
    padding-right: 0px !important;
}

.orligtopbottompadding {
    /*For use at listing for My opp, My Service Request radio button etc*/
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.connectedSortable {
    /*overrides default connectedSortable min-height*/
    min-height: 50px;
}

.orligsearchbutton {
    /* for use of search button which will vertical align to the div. used for search agent in SR/ search account in SR/Opp etc */
    top: 5px !important;
    margin-left: 5px !important;
}

.orligsearchbutton_leftsection {
    /* for use to control width of control on the left of search button [orligsearchbutton] */
    width: 90% !important;
}

/* Main tab link hover */
.nav-tabs > li > a {
    margin-right: 2px;
    line-height: 0.7;
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
}

/* Main tab styling */
.nav > li > a {
    position: relative;
    display: block;
}

/* Main tab link hover */
.nav-tabs2 > li > a.active, .nav-tabs2 > li > a.active:focus, .nav-tabs2 > li > a.active:hover {
    color: black;
    cursor: default;
    background-color: #fff;
    border-bottom: 3px solid #4C6EF8;
    padding-left: 17px;
    padding-right: 17px;
}

.nav-tabs2 > li > a:focus, .nav-tabs2 > li > a:hover {
    background-color: #fff;
}

/* Main tab styling */
.nav-tabs2 > li > a {
    margin-right: 0px;
    line-height: 0.7;
    border: 1px solid transparent;
    border-radius: 0;
    padding: 5px;
    background-color: white;
    padding-left: 17px;
    padding-right: 17px;
    color: black;
}

/* Main tab link stylings */
.nav-tabs2 > li > a {
    margin-right: 2px;
    line-height: 0.7;
    border: 2px solid transparent;
    border-radius: 4px 4px 0 0;
}

/* Main tab link padding */
.nav2 > li > a {
    position: relative;
    display: block;
    padding: 5px 5px;
}

/* Hover effect for tab */
.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
    color: darkblue;
    cursor: default;
    background-color: #fff;
    border: 1px solid #ddd;
    border-bottom-color: transparent;
}

/* middle column style */
.middle-div {
    margin-bottom: 20px;
    margin: -2px;
    border-radius: 10px;
    border-style: solid;
    border-width: 0.5px;
    border-color: #E5E5F8;
    background-color: white;
}

/* middle column style */
.sl-middle-div {
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    border-style: solid;
    border-width: 0.5px;
    border-color: lightgray;
    margin-right: 10px;
    padding-top: 0;
    margin-bottom: 10px;
}

/* drop to enlarge box styling */
.enlarge-panel {
    padding-right: 0px;
    border-style: dashed;
    border-radius: 10px;
    border-width: 1px;
    margin-top: 20px;
    padding-left: 0px;
    margin-left: 15px;
}

/* Service request information, service level information & agent section margin and padding */
.left-panel {
    padding: 0px 20px;
    background-color: white;
    padding-bottom: 15px;
    margin-right: 10px;
    margin-left: -15px;
    border-radius: 10px;
    border-style: solid;
    border-width: 0.5px;
    border-color: lightgray;
}

/* agent section box */
.agent-section {
    background-color: white;
    height: 200px;
    margin-bottom: 15px;
    border-radius: 10px;
    border-style: solid;
    border-width: 0.5px;
    border-color: lightgray;
    margin-left: -15px;
    margin-right: 0px;
}

/* custom icon */
.glyphicon-check {
    font-family: 'icomoon';
    padding: 0;
    font-weight: 600;
    font-size: larger;
    top: 0px;
    float: right;
}

/* Service request information, service level information & agent section div box */
.left-top-div {
    background-color: white;
    padding-bottom: 15px;
    margin-left: -15px;
    margin-right: 0px;
    border-radius: 10px;
    border-style: solid;
    border-width: 0.5px;
    border-color: lightgray;
    margin-top: -20px;
}

.middle-top-div {
    background-color: white;
    padding-bottom: 15px;
    margin-left: 7px;
    margin-right: 7px;
    border-radius: 10px;
    border-style: solid;
    border-width: 0.5px;
    border-color: lightgray;
    margin-top: -20px;
}

.right-top-div {
    background-color: white;
    padding-bottom: 15px;
    border-radius: 10px;
    border-style: solid;
    border-width: 0.5px;
    border-color: lightgray;
    margin-top: -20px;
}

/* text input to maximize the width according to box size */
.textarea {
    width: 100%;
}

/* pointer style for cursor */
.pointer {
    cursor: pointer;
}

/* Label placement */
/*label {
    display: block;
    position: relative;
}*/

/* input box styling */
.input {
    width: 100%;
    padding-top: 20px;
    background: transparent;
    border: none;
    outline: none;
}

/* underline */
hr {
    margin-top: 0px;
    /*margin-bottom: 15px;*/
}

/* Value for view mode (bold) */
.strong-font {
    font-weight: 600;
    text-decoration-color: gray;
}

#screen_div_bar div[id$='allcontainer']:hover {
    background-color: #345cf4;
    -webkit-transition: background-color .5s;
    -moz-transition: background-color .5s;
    -o-transition: background-color .5s;
    transition: background-color .5s;
}

#sidebar_pinned div[id$='allcontainer']:hover {
    background-color: #345cf4;
    -webkit-transition: background-color .5s;
    -moz-transition: background-color .5s;
    -o-transition: background-color .5s;
    transition: background-color .5s;
}

#navigate_top_bar a:hover {
    background-color: rgb(53,124,165);
}

/* Table responsive */
div.dataTables_wrapper > div.row:nth-child(2) > div > .table {
    /* to applied on table as full width */
    width: 100% !important;
}

@media screen and (max-width: 768px) {
    div.dataTables_wrapper > div.row:nth-child(2) > div {
        /* to be applied in mobile responsive table */
        text-align: left;
        overflow-x: scroll;
    }
}

/* Control equal column height based on max height and width */
.box-row {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

/* Control column width */
.rowItem {
    vertical-align: top;
    display: inline-block;
    height: auto;
    /*overflow: auto;*/
    flex: 1;
}

@media screen and (max-width: 768px) {
    .box-row {
        flex-direction: column;
    }

    .middle-top-div, .right-top-div {
        margin-top: 20px;
        margin-left: -15px;
        margin-right: 0px;
    }
}

/* Search drop down responsive for ContactName and AccountName */
ul.dropdown-menu {
    height: auto;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden scroll;
    max-width: 650px !important;
}

@media only screen and (max-width: 500px) {
    ul.dropdown-menu {
        max-width: 200px !important;
    }
}

@media only screen and (min-width: 501px) and (max-width: 1024px) {
    ul.dropdown-menu {
        max-width: 400px !important;
    }
}

/* Customer Logo */
.sidebar-menu > li > a > .logo-mini {
    display: none
}

@media (min-width:768px) {
    .sidebar-mini.sidebar-collapse .sidebar-menu > li > a > .logo-mini {
        display: block;
    }
}

/* Screen div bar responsive for title not get cropped */
#screen_top_bar {
    width: 100%;
}

/*@media (min-width: 1068px) and (max-width: 1230px) {
    #screen_top_bar {
        width: 60%;
    }
}*/

/*@media (min-width: 1025px) and (max-width: 1247px) {
    #screen_top_bar {
        width: 56%;
    }
}

@media (min-width: 890px) and (max-width: 1024px) {
    #screen_top_bar {
        width: 50%;
    }
}

@media (min-width: 768px) and (max-width: 891px) {
    #screen_top_bar {
        width: 30%;
    }
}
*/

/* Text exceeding the frame size Displayfor Razor */
.wordwrap {
    white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
    white-space: -webkit-pre-wrap; /*Chrome & Safari */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    white-space: pre-wrap; /* css-3 */
    word-wrap: break-word; /* Internet Explorer 5.5+ */
    word-break: break-all;
    white-space: normal;
}

/* Adjust default bootstrap modal style for mobile-responsive purpose */
div .modal-dialog {
    width: 80% !important;
    position: absolute;
    top: 0% !important;
    left: 50%;
    transform: translate(-50%, 0%) !important;
}

#ValidationAlert .modal-dialog {
    width: 35% !important;
    position: absolute !important;
    top: 50% !important;
    left: 55% !important;
    transform: translate(-50%, -50%) !important;
}

#ScrollableValidationAlert .modal-dialog {
    width: 35% !important;
    position: absolute !important;
    top: 50% !important;
    left: 55% !important;
    transform: translate(-50%, -50%) !important;
}

#DeleteAlert .modal-dialog {
    width: 35% !important;
    position: absolute !important;
    top: 50% !important;
    left: 55% !important;
    transform: translate(-50%, -50%) !important;
}

.select2-search__field {
    border: none !important
}

    .select2-search__field:focus {
        border: none !important
    }

.select2-results__option:before {
    content: "";
    display: inline-block;
    position: relative;
    height: 20px;
    width: 20px;
    border: 2px solid #e9e9e9;
    border-radius: 4px;
    background-color: #fff;
    margin-right: 20px;
    vertical-align: middle;
}

.select2-results__option[aria-selected=true]:before {
    font-family: fontAwesome;
    content: "\f00c";
    color: #fff;
    background-color: #4C6EF8;
    border: 0;
    display: inline-block;
    padding-left: 3px;
}

.first-column-link {
    color: steelblue !important;
    font-weight: bold;
    /*text-decoration: underline !important;*/
}

.main-input-label {
    font-weight: bold;
}

.main-input-field {
    font-weight: normal;
}

.main-screen-title {
    margin-top: 20px;
    margin-bottom: 20px;
}

.white-panel {
    margin-bottom: 20px;
    margin: -2px;
    border-radius: 10px;
    border-style: solid;
    border-width: 0.5px;
    border-color: #E5E5F8;
    background-color: white;
    padding-bottom: 10px;
}

.grey-panel {
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 20px;
    padding-top: 25px;
    display: block;
}

.orlig-toolbar {
    margin-top: -45px;
    min-height: 26px; /*to preserve layout when no icons is visible e.g. Config*/
}

.orlig-row {
    margin-top: 30px;
}

.orlig-subheader {
    position: relative;
}

.orlig-subtoolbar {
    position: absolute;
    right: 0;
    bottom: 0px
}

.mce-notification {
    display: none !important;
}

.orlig-align-middle {
    display: flex !important;
    align-items: center !important;
}

.orlig-wrap-text {
    word-break: break-all;
}

.orlig-btn-container {
    font-size: 0px; /* Important for removing empty space between buttons! */
}

.orlig_btn_outline {
    background-color: white !important;
    color: #3e8cbd !important;
    border: 1px solid #3e8cbd !important;
    border-color: #3e8cbd !important;
    border-radius: 6px !important;
    padding: 4px 22px !important;
    font-size: 14px !important;
    text-align: center;
    justify-content: center;
    -webkit-transition: background-color .5s;
    -moz-transition: background-color .5s;
    -o-transition: background-color .5s;
    transition: background-color .5s;
    margin-right: 3px;
}

    .orlig_btn_outline:hover {
        background-color: #edf3fb !important;
        border-color: #3e8cbd !important;
    }

    .orlig_btn_outline:disabled {
        border-color: #e3e3e3 !important;
        color: #7d7d7d !important;
        pointer-events: none;
    }


.orlig_btn_contained {
    background-color: #3e8cbd !important;
    border: none !important;
    color: white !important;
    border-radius: 6px !important;
    padding: 4px 22px !important;
    margin-right: 3px;
    font-size: 14px !important;
    -webkit-transition: background-color .5s;
    -moz-transition: background-color .5s;
    -o-transition: background-color .5s;
    transition: background-color .5s;
}

    .orlig_btn_contained:hover {
        background-color: #1d6ea1 !important;
    }

    .orlig_btn_contained:active {
        background-color: #1d6ea1 !important;
    }

    .orlig_btn_contained:disabled {
        background-color: #dfdfdf !important;
        color: #7d7d7d !important;
        pointer-events: none;
    }
