﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
body {
    font-size: 0.8rem;
    line-height: 12px;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    /* Set the fixed height of the footer here */
    height: 65px;
    line-height: 60px; /* Vertically center the text there */
}


.LinkHighlight {
    background-image: linear-gradient(#70BBFF, #00bdff);
    border-radius: 5px;
    color: white !important;
}

@media (min-height: 768px) {
    /* There is an issue if a grid is used on a tab, the sizing of the content panel doesn't work correctly */
    .tab-content .k-grid-content {
        height: 308px;
        max-height: 308px;
    }
}

@media (min-height: 960px) {
    /* There is an issue if a grid is used on a tab, the sizing of the content panel doesn't work correctly */
    .tab-content .k-grid-content {
        height: 500px;
        max-height: 500px;
    }
}

@media (min-width: 1024px) {
    /* 
        This is a way to resize the k-edit-form-container class only when used in a window
        otherwise this styling causes issues with the PivotGrid Configurator object
    */
    div[data-role="window"] > div[class="k-edit-form-container"] {
        width: 1004px;
    }
}

@media (min-height: 1200px) {
    /* There is an issue if a grid is used on a tab, the sizing of the content panel doesn't work correctly */
    .tab-content .k-grid-content {
        max-height: 740px;
    }
}

/* this is the width of the popup editor of the grid*/
@media (min-width: 720px) {
    /* 
        This is a way to resize the k-edit-form-container class only when used in a window
        otherwise this styling causes issues with the PivotGrid Configurator object
    */
    div[data-role="window"] > div[class="k-edit-form-container"] {
        width: 700px;
    }
}


@media (min-width: 1024px) {
    /* 
        This is a way to resize the k-edit-form-container class only when used in a window
        otherwise this styling causes issues with the PivotGrid Configurator object
    */
    div[data-role="window"] > div[class="k-edit-form-container"] {
        width: 1004px;
    }
}

@media (min-width: 1200px) {
    /* 
        This is a way to resize the k-edit-form-container class only when used in a window
        otherwise this styling causes issues with the PivotGrid Configurator object
    */
    div[data-role="window"] > div[class="k-edit-form-container"] {
        width: 1160px;
    }
}


@media (min-width: 1280px) {
    /* 
        This is a way to resize the k-edit-form-container class only when used in a window
        otherwise this styling causes issues with the PivotGrid Configurator object
    */
    div[data-role="window"] > div[class="k-edit-form-container"] {
        width: 1240px;
    }
}

@media (min-width: 1680px) {
    /* 
        This is a way to resize the k-edit-form-container class only when used in a window
        otherwise this styling causes issues with the PivotGrid Configurator object
    */
    div[data-role="window"] > div[class="k-edit-form-container"] {
        width: 1640px;
    }
}

@media (min-width: 1920px) {
    /* 
        This is a way to resize the k-edit-form-container class only when used in a window
        otherwise this styling causes issues with the PivotGrid Configurator object
    */
    div[data-role="window"] > div[class="k-edit-form-container"] {
        width: 1880px;
    }
}


/* This is used to allow entering data in two columns on the binder edit form... need to check other impacts of this change!! */
.k-animation-container, .k-animation-container *, .k-animation-container :after, .k-block .k-header, .k-dialog .k-window-content, .k-list-container, .k-widget, .k-widget *, .k-widget :before {
    box-sizing: border-box;        
}

/* This is used to allow entering data in two columns on the binder edit form without showing scrollbars...  */
.container-fluid {
    overflow-x: hidden;
}

/* Avoids that dropdowns on the binder form expand to full width because some projects use a lot characters */
.form-group > div > select {
    max-width: 100%;
}



.peoplePicture {
    height: 36px;
    width: 36px;
    border-radius: 50%;
    float: left;
}

.searchPerson {
    background-image: url(../images/search.png);
    background-size: 32px;
    background-repeat: no-repeat;
    width: 32px;
    height: 32px;
}

    .searchPerson:hover {
        cursor: pointer;
    }

.k-grid td {
    padding: .3em .4em;
}

/* Sort icon on grid in front */
.k-grid-header th.k-header {
    position: relative;
}

.k-grid-header th > .k-link > .k-icon {
    position: absolute;
    top: 11px;
    left: -4px;
}


/***************************************
    PVDS JUL 10, 2018 - Busy spinner CSS
****************************************/

.spinner {
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 60px;
    width: 60px;

    /** animation **/
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    -webkit-animation: spin .6s linear infinite;
    animation: spin .61s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ********************************************
    PVDS JUL 10, 2018 - End of Busy spinner CSS

*/

.dateFormatDisplay {
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: xx-small;
    color: green;
    font-weight: bold;
}

.customDialogIcon {
    float: left;
    height: 32px;
    margin-right: 5px;
    font-size: 24px;
    margin-top: -4px;
}


.accessDeniedLock {
    color: black;
    padding: 15px;
    position: absolute;
    font-size: 1.9em;
    top: 40%;
    left: 50%;
    -ms-transform: translateX(-50%) translateY(-40%);
    -webkit-transform: translate(-50%,-40%);
    transform: translate(-50%,-40%);
}


.accessDenied {
    color: black;
    padding: 15px;
    position: absolute;
    font-size: 1.9em;
    top: 50%;
    left: 50%;
    -ms-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.environment {
    float: right;
    font-size: xx-small;
}

.hidden {
    display: none;
}

/*
    PVDS: Position the textboxes on input forms closer to each other
*/
.form-group {
    margin-bottom: 0.6rem;
}

input.k-textbox, textarea.k-textbox {
    padding: .00857143em 0;
}

.userCulture-selected-value {
    display: inline-block;
    vertical-align: middle;
    width: 24px;
    height: 24px;
    background-size: 100%;
    margin-right: 5px;
    border-radius: 50%;
}

.userCulture-k-state-default {
    display: inline-block;
    vertical-align: middle;
    width: 24px;
    height: 24px;
    background-size: 100%;
    margin-right: 5px;
    border-radius: 50%;
}

.nav-link:hover {
    text-decoration: underline;
}

.k-checkbox {
    margin-left: 7px !important;
}

.tag-wrapper {
    color: white;
    font-size: 12px;
    border-radius: 3px;
    padding: 3px 7px 3px 7px;
    width: auto;
    margin-right: 5px;
}

.atlas-map-canvas {
    width: 100% !important;
}

/*=====================================*/
/*====== Grid(telerik) Customize ======*/
/*=====================================*/
.k-grid-content tr {
    /*background-color: lightgray;*/
}

.k-grid-content .k-alt {
    background-color: white;
}

.k-i-sort-asc-sm:before {
    background-color: transparent;
    color: transparent;
}

.k-i-sort-desc-sm:before {
    background-color: transparent;
    color: transparent;
}

.k-grid-header .k-header:first-child {
    background-color: #2196F3;
}

.k-grid.k-grid-display-block {
    font-size: 14px;
}

.k-grid-header .k-header .k-link {
    padding: .40rem .65rem;
    background-color: transparent;
    font-weight: 600;
}

.k-grid-header th.k-header {
    background-color: #2196F3;
    color: white;
}

/* Kendo version 2021.1.224 styling has changed */
.k-grid-toolbar {
    background-color: #3343a4;
    /* this must be overruled to enable showing buttons with a menu */
    overflow: visible;
}

.k-toolbar .k-button {
    background-color: #3343a4;
    color: white;
}

    .k-toolbar .k-button:hover {
        background-color: #5C6DC4;
        color: white;
    }

.k-grid-toolbar .k-grid-search {
    float: right;
    margin-left: auto;
}
/* End - From Kendo version 2021.1.224 styling has changed */

/* Kendo version 2022.1.412 styling has changed */
.k-column {
    width: 100%;
}

.k-switch-on .k-switch-track {
    border-color: #0d6efd !important;
    background-color: #0d6efd !important;
}

.k-switch-off .k-switch-track {
    border-color: #e4e7eb !important;
    background-color: #e4e7eb !important;
}

.k-switch-label-on, .k-switch-label-off {
    display: block !important;
    font-size: 11px;
    color: black;
}

.k-switch-label-off {
    margin-left: 30px !important;
    color: black !important;
}

.k-switch-label-on {
    margin-left: 2px !important;
}

.k-switch-track {
    height: 22px !important;
    border-color: #ccc !important;
}

.k-input-inner {
    font-size: 13px !important;
}

.k-column-title {
    color: white;
}
/* End - From Kendo version 2022.1.412 styling has changed */

.ellipsis-mode {
    white-space: nowrap;
    text-overflow: ellipsis;
}

#VendorEvaluations tr {
    cursor: pointer;
}

/** Fix no-records center */
.k-grid-norecords {
    display: flex;
    align-items: center;
    justify-content: center;
}

.system-selected {
    border-color: #ccc !important;
    background-color: #ccc !important;
}

.ClearRatingButton {
    position: absolute !important;
    top: 0px;
    right: 15px;
    background-color: lightgray;
    padding:3px;
    font-size:9px;
}

.vendorClosed {
    background-color: rgb(256, 0, 0, 0.45);
}

.evaluationLegenda {
    border: dotted;
    border-width: 1px;
    border-radius: 7px;
    padding: 15px;
    /*background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(227,210,80,1) 0%, rgba(237,215,36,0.9556197478991597) 100%, rgba(0,212,255,1) 100%, rgba(178,214,91,1) 100%);*/
    box-shadow: 10px 10px 5px lightblue;
}

/* override default padding */
.card-body
{
    padding:0.7em;
}

.button-as-a-link 
{
    background: none !important;
    border: none;
    padding: 0 !important;
    /*optional*/
    font-family: arial, sans-serif;
    /*input has OS specific font-family*/
    color: #069;
    text-decoration: underline;
    cursor: pointer;
    font-size: 1em;
}

/* Override to reduce white space on top of the results page */
.dv-header-space {
    height:40px !important;
}

.supplier_has_data {
    overflow-y: scroll;
    height: 360px;
}

.supplier_has_no_data {
    overflow-y: hidden;    
}

.pin {
    background-image: url(/images/pin.png);
    background-repeat: no-repeat;
    background-size: 16px;
    display: inline-flex;
    height: 16px;
    width: 16px;
}

.unpin {
    background-image: url(/images/unpin.png);
    background-repeat: no-repeat;
    background-size: 16px;
    display: inline-flex;
    height: 16px;
    width: 16px;
}

/* Wider modal XL box */
@media (min-width: 1400px) {
    .modal-xl {
        max-width: 1340px;
    }
}

@media (min-width: 1600px) {
    .modal-xl {
        max-width: 1540px;
    }
}

@media (min-width: 1800px) {
    .modal-xl {
        max-width: 1740px;
    }
}

@media (min-height: 600px) {
    .creation-container {
        height: 400px;
    }
}

@media (min-height: 720px) {
    .creation-container {
        height: 500px;
    }
}

@media (min-height: 900px) {
    .creation-container {
        height: 600px;
    }
}

/*#2109 12May2023 JJA: styles from bootstrap 4.4 put to make task easier*/
.row-cols-1 > * {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.row-cols-2 > * {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}



.ResultIncludeLabel {
    width:170px;
    display:inline-flex;
}
