﻿/* -------------------------------------------------------------- 
   
   Application.css - version 1.0
   * Sets the css needed for your application
-------------------------------------------------------------- */

/* Styles for validation helpers
-----------------------------------------------------------*/


.modal-header {
    padding: 5px 10px 5px 10px;
}

.margin-lr-20 {
    margin: 0 20px 0 20px;
}


.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #f00;
    background-color: #fee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #f00;
}

.validation-summary-valid {
    display: none;
}

.panelbar {
    padding: 5px;
}

/*.panelButtonbar {
    margin-top:10px;
    margin-bottom:0;
    padding:0;
    background-color:#F5F5F5;
}*/

/*.panelbodyButtonbar {
    padding:10px;
}*/

.actionbutton {
    margin-left: 5px;
    float: left;
}

/*.actionbuttonRadio
{
    vertical-align: top; 
    color: #428BCA; 
    margin-top: 5px; 
    margin-left: 5px;
}*/

/*.chk-counters
{
    float:right; 
    margin: 15px 0 0 10px;
}*/

.color-bluelink {
    /*color:#428BCA*/
    color: #000000;
}

.color-blacklink {
    color: #000000;
}


/*.my-fluid-container {
  padding-left: 30px;
  padding-right: 30px;
  margin-left: auto;
  margin-right: auto;
}*/

.lightgray {
    color: lightgray;
}

.gray {
    color: gray;
}

.customClassRed {
    color: red;
}

.customClassBlue {
    color: blue;
}


.cursor-pointer {
    cursor: pointer;
}

/*.margin-b-12 {
    margin-bottom:12px;
}*/

.actionbtn-width {
    width: 50px;
}


@media (min-width: 768px) {
    .modal-dialog {
        width: 750px;
        margin: 30px auto;
    }

    .modal-content {
        -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
        box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
    }

    .modal-sm {
        width: 300px;
    }
}

.button-add-to-list {
    position: relative;
}

    .button-add-to-list:before {
        position: absolute;
        font: var(--fa-font-solid);
        top: -15px;
        left: -8px;
        content: "\f062";
    }

@media (min-width: 990px) {
    .button-add-to-list {
        position: relative;
    }

        .button-add-to-list:before {
            position: absolute;
            font: var(--fa-font-solid);
            top: -15px;
            left: -6px;
            content: "\f060";
        }
}

.button-remove-from-list {
    position: relative;
}

    .button-remove-from-list:before {
        position: absolute;
        font: var(--fa-font-solid);
        top: -15px;
        left: -8px;
        content: "\f063";
    }

@media (min-width: 990px) {
    .button-remove-from-list {
        position: relative;
    }

        .button-remove-from-list:before {
            position: absolute;
            font: var(--fa-font-solid);
            top: -15px;
            left: -6px;
            content: "\f061";
        }
}

.affix {
    top: 30px; /* Set the top position of pinned element */
    width: 652px;
}

.fa-2x {
    color: black;
}

tr.k-state-selected > td > a > i.fa-2x {
    color: white;
}

.icon {
    text-align: center;
}

.k-header.icon > .k-link {
    text-align: center;
}

.divRelease {
    text-align: right;
    z-index: 1001;
}

.divRelease .showall{
    margin-top: 10px;
}

#frmUpload .k-upload {
    display: inline-block;
    border-color: transparent;
    background-color: transparent;
    width: 50%;
}

    #frmUpload .k-upload .k-dropzone {
        background-color: transparent;
        padding-left: 0;
    }

#frmUpload #btnBack {
    display: inline-block;
    margin-right: 0.8em;
}

#frmUpload .k-upload .k-upload-button {
    color: #333;
    background-color: #fff;
    border-color: #dcdcdc !important;
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 1em;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    height: 36px;
}

    #frmUpload .k-upload .k-upload-button:hover {
        color: #333;
        background-color: #e6e6e6;
        border-color: #bdbdbd;
    }

k-upload-status k-upload-status-total {
    display: none !important;
}

.checkbox .cr,
.radio .cr {
    position: relative;
    display: inline-block;
    border: 1px solid #a9a9a9;
    border-radius: .25em;
    width: 1.3em;
    height: 1.3em;
    float: left;
    margin-right: .5em;
}

.checkbox label input[type="checkbox"],
.radio label input[type="radio"] {
    display: none;
}

    .checkbox label input[type="checkbox"] + .cr > .cr-icon,
    .radio label input[type="radio"] + .cr > .cr-icon {
        transform: scale(3) rotateZ(-20deg);
        opacity: 0;
        transition: all .3s ease-in;
    }

.checkbox .cr .cr-icon,
.radio .cr .cr-icon {
    position: absolute;
    font-size: .8em;
    line-height: 0;
    top: 50%;
    left: 20%;
}


.checkbox label input[type="checkbox"]:checked + .cr > .cr-icon,
.radio label input[type="radio"]:checked + .cr > .cr-icon {
    transform: scale(1) rotateZ(0deg);
    opacity: 1;
}

.indentCheckBoxes {
    margin-left: 20px;
    margin-bottom: 0px;
}


/*
    Fix header styling.
*/
header a {
    color: #222;
    text-decoration: none;
}

header .tools {
    position: absolute;
    top: 0.6em;
    right: 0.2em;
    overflow-x: hidden;
    z-index: 3000;
}

header .tools form {
    display: inline-block;
}

header .tools input {
    min-width: 7em;
    outline: none;
    border: none;
    color: #222;
    font: normal 1em/1.3 Roboto, sans-serif;
}
    
header .tools .login,
header .tools .settings {
    display: inline-block;
}

header .tools .login span {
    color: #959595;
    margin: 0 0 0 1em;
}

header .tools .settings {
    margin-right: 1em;
}

header .tools .fa {
    padding-left: 0.5em;
}

    header .tools .fa:hover {
        color: #2c7abd;
    }

.hide {
    display: none !important;
}

/*
    Fix nav tabs styling.
*/
.nav-link {
    color: #2c7abd;
}
    .nav-link:hover,
    .nav-link:focus {
        color: #222;
    }

/*
    Fix topnavigation styling of menu item is opened.
*/
.navbar-custom .navbar-nav > .open > a,
.navbar-custom .navbar-nav > .open > a:hover,
.navbar-custom .navbar-nav > .open > a:focus {
    background-color: #c00;
    color: #fff
}

/*
    In topnavigation, fix styling of menu item in dropdown menu.
*/
.dropdown-menu > li > a {
    display: block;
}

/*
    Fix styling of ServiceData search.
*/
@font-face {
    font-family: 'Glyphicons Halflings';
    src: url('fonts/glyphicons-halflings-regular.eot');
    src: url('fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('fonts/glyphicons-halflings-regular.woff') format('woff'), url('fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}
.glyphicon {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.glyphicon-search:before {
    content: "\e003";
}
.glyphicon-refresh:before {
    content: "\e031";
}
.servicedatasearch .input-group-addon {
    padding: 0.46153846em 0.92307692em;
    color: #666;
    border: 1px solid #dcdcdc;
}

/*
    Fix styling of the close button of Bootstrap Dialog.
*/
.bootstrap-dialog-header {
    flex-basis: 100%;
}

.close {
    float: right;
    font-size: 1.5em;
    font-weight: bold;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: 0.2;
    filter: alpha(opacity=20);
}

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
        opacity: 0.5;
        filter: alpha(opacity=50);
    }

button.close {
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
}

/*
    Fix checkbox with label styling.
*/
input[type="radio"], input[type="checkbox"] {
    margin: 4px 0 0;
}

.radio, .checkbox {
    position: relative;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px
}

    .radio label, .checkbox label {
        padding-left: 20px;
        margin-bottom: 0;
        font-weight: normal;
        cursor: pointer
    }

    .radio input[type="radio"], .radio-inline input[type="radio"], .checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"] {
        position: absolute;
        margin-left: -20px;
    }

/* 
    Fix the grid pager dropdown width to fit the page size options has three digits, such as "100" and "200". 
*/
.k-grid-pager .k-pager-sizes .k-dropdownlist {
    width: 6em;
}

/*
    Hide the vertical scrollbar for Kendo grid when CssClass no-scrollbar is applied to the grid:
    https://docs.telerik.com/kendo-ui/knowledge-base/hide-scrollbar-when-not-needed
*/
    .no-scrollbar .k-grid-header {
    padding: 0 !important;
}
.no-scrollbar .k-grid-content {
    overflow-y: visible;
}

/*
    Fix Kendo Upload styling
*/
.k-file-error {
    color: #db4240;
}
.k-file-error .k-file-extension-wrapper, .k-file-error .k-multiple-files-extension-wrapper {
    color: #db4240;
    border-color: #db4240;
}
    .k-file-error .k-file-extension-wrapper:before, .k-file-error .k-multiple-files-extension-wrapper:before {
        border-bottom-color: #db4240;
        border-left-color: #db4240;
    }
.k-file-invalid-extension-wrapper, .k-multiple-files-invalid-extension-wrapper {
    color: #db4240;
}
.k-file-name.k-file-name-invalid {
    color: #db4240;
}
.k-file-size, .k-file-information, .k-file-validation-message {
    color: #2e2e2e;
}
.k-file-error .k-progress, .k-file-invalid .k-progress {
    background-color: #db4240;
}
.k-dropzone .k-dropzone-hint {
    display: none;
}

/*
    Fix styling of the No Records template of Kendo Grids
*/
.k-grid-norecords-template {
    width: 30em; /* default is 20em */
}

/*
    Change styling of Kendo Switches
*/
.k-switch-on .k-switch-container, 
.k-switch-on:focus .k-switch-container, 
.k-switch-on:hover .k-switch-container {
    background-color: #cc0000;
    color: #fff;
}

.k-switch-on .k-switch-handle {
    border-color: #bbb;
    color: #333;
    background-color: #e9e9e9;
    background-image: none,linear-gradient(to bottom,rgba(255,255,255,.6) 0%,rgba(255,255,255,0) 100%);
}

.k-switch-on:focus .k-switch-handle {
    border-color: #959595;
    color: #333;
    background-color: #e9e9e9;
    background-image: none,linear-gradient(to bottom,rgba(255,255,255,.4) 0%,rgba(255,255,255,0) 100%);
}

.k-switch-on:hover .k-switch-handle {
    border-color: #959595;
    color: #333;
    background-color: #a99f9a;
    background-image: none,linear-gradient(to bottom,rgba(255,255,255,.4) 0%,rgba(255,255,255,0) 100%);
}

/*
    Work-around for Kendo bug which displays the hidden grid columns after canceling an inline edit:
    https://github.com/telerik/kendo-ui-core/issues/7514
*/
td[data-style-display="none"] {
    display: none;
}

/*
    Change styling of search text box in toolbar.
*/
.k-grid-toolbar .k-grid-search {
    width: 15em;
}

/*.checkboxErrorList {
    -webkit-appearance: radio; /* Chrome, Safari, Opera */
-moz-appearance: radio; /* Firefox */
-ms-appearance: radio; /* not currently supported */
appearance: radio;
}*/
