﻿/* 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. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* 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;
  line-height: 60px; /* Vertically center the text there */
}


/*Custom KCCore.WebApp */


.table-responsive {
    height: 400px;
    overflow: scroll;
}

/*Tabella KCTimbs/Events Home page*/
.table-responsive .table {
        max-width: none;
}

.tableFixHead {
    overflow-y: auto;
    overflow-x: auto;
    /*    height: 200px;
*/
    /*    margin-top: 200px;
*/
}
    .tableFixHead thead th {
        position: sticky;
        top: 0;
    }


table {
    border-collapse: collapse;
    width: 100%;
}
    table .w-10 {
        width: 10%;
    }
    table .w-15 {
        width: 15%;
    }

    table .w-25 {
        width: 25%;
    }

    table .w-30 {
        width: 30%;
    }
th,
td {
    padding: 8px 16px;
    border: 1px solid #ccc;
}

th {
    background: #eee;
}

#Badges_SelectedUserBadges_chosen {
    width: 100% !important;
    min-width: 200px;
}


/*#BadgeSelect select option {
    display: inline-block;
}
*/
input[type="file"] {
    display: none;
}

.custom-file-upload {
    border: 2px solid #eee;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border: 1px dashed #BBB;
    text-align: center;
    background-color: #DDD;

}

/*.custom-file-upload {
    position: relative;
    top: 150px;
    font-family: calibri;
    width: 150px;
    padding: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border: 1px dashed #BBB;
    text-align: center;
    background-color: #DDD;
    cursor: pointer;
}*/

:root {
    --grid-cols: 1;
    --grid-rows: 1;
}

.day-grid {
    height: 1000px;
    display: grid;
    /*    grid-gap: 1em;*/
    grid-template-rows: repeat(var(--grid-rows), 1fr);
    grid-template-columns: repeat(var(--grid-cols), 1fr);
}


.grid-item {
/*    padding: 1em;
*/ border: 1px solid #ddd;
    text-align: center;
}

/* Custom TimeSlot col*/
.col-container {
    width: 150px;
    max-height: 1000px;
    text-align: center;
    position: relative;
}
/*scroll inerno*/
/*.seven-cols {
    position: relative;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 500px;
    max-height: 1000px;
}
*/

/*no scroll*/

.seven-cols {
    position: relative;
    overflow-x: hidden;
    height: 1050px;

}

.seven-cols-header {
    position: relative;
    overflow-x: hidden;
    height: 100px;
}

.day-col {
    width: 100%;
    /*    height: 100%;
*/ position: absolute;
    /*    top: 0;
*/ left: 0;
    opacity: 0.7;
}

.overlay {
    z-index: 9;
    /*    margin: 10px;
background: #0057e3;  azzurro */
    background: #009938; /*verde*/
    border-radius: 10px;
    cursor: move;
}

.drag-y-resize-h{
    text-align: center;
}

.grid-header {
    position: sticky;
    top: 0;
}

div.ui-interval-label {
/*    line-height: 300px;
*/}

.ui-interval-label h5 {
    display: inline-block;
    vertical-align: middle;
    line-height: 14px; /* <-- adjust this */
    color: white;
}

/*.active {*/
/*    font-size: 30px;
*/    /*color: green;*/
/*    border-bottom: 5px solid red;
*//*}*/

.txtWithImage {
    background-size: cover;
    background-image: url('/images/kweb-logo.png');
}

.img-fluid-cust {
    max-width: 100%;
    max-height: 100%;
}

.dropdown-toggle{
    white-space: normal;
}

/* Container holding the image and the text */
.apt-img-container {
    position: relative;
    text-align: center;
    color: white;
}

/* Bottom left text */
.bottom-left {
    position: absolute;
    bottom: 8px;
    left: 16px;
}

/* Top left text */
.top-left {
    position: absolute;
    top: 8px;
    left: 16px;
}

/* Top right text */
.top-right {
    position: absolute;
    top: 8px;
    right: 16px;
}

/* Bottom right text */
.bottom-right {
    position: absolute;
    bottom: 8px;
    right: 16px;
}

/* Centered text */
.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.navbar-brand {
    padding: 0;
}

/*.navbar-nav .nav-link {
    padding-top: 0;
    padding-bottom: 0;*/
/*    height: 50px;
    line-height: 50px;
*//*}*/
/*.align-items-center {
    display: flex;
    align-items: center;*/ /*Aligns vertically center */
    /*justify-content: center;*/ /*Aligns horizontally center */
/*}*/

.form-inline-cust {
    align-items: normal;
}

.select-editable {
    position: relative;
    width: auto;
    /*    background-color: white;
    border: solid grey 1px;
    width: 220px;
    height: 18px;
*/ /**/
}

.select-editable select {
    position: absolute;
    top: 0px;
    left: 0px;
/*    font-size: 14px;
*/    border: none;
    width: 100%;
    margin: 0;
}

    .select-editable input {
        position: absolute;
        top: 0px;
        left: 0px;
        width: calc(100% - 20px);
        /*    width: 200px;
    padding: 1px;
*/ /*    font-size: 14px;
*/ /*border: none;*/
    }

.select-editable select:focus, .select-editable input:focus {
    outline: none;
}

.tool-btn {
    width: 30px;
    padding: 1px;
}
.date-input{
    width: 141px;
}

.time-input {
    width: 77.8px;
}

.ui-autocomplete-category {
    font-weight: bold;
    padding: .2em .4em;
    margin: .8em 0 .2em;
    line-height: 1.5;
}

.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
}
/* IE 6 doesn't support max-height
   * we use height instead, but this forces the menu to always be this tall
   */
* html .ui-autocomplete {
    height: 200px;
}