html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

.content-wrapper {
  padding-bottom: 0px !important;
  margin-top: calc(3.5rem + 1px);
}

.carousel-control-next-icon, .carousel-control-prev-icon {
    filter: drop-shadow(1px 0 0 black) drop-shadow(0 1px 0 black) drop-shadow(-1px 0 0 black) drop-shadow(0 -1px 0 black);
}

.hide {
    display: none;
}

.btnInnerTable {
    cursor: pointer;
    color: #0D6EFD;
}

.tableIcon {
    width: 100%;
    text-align: center;
}

.nav-link {
    color: #2d2e82;
}

    .nav-link:hover {
        color: #007e4d;
    }

    .nav-link.active {
        background: linear-gradient(90deg, #017d4a, #3aa935);
    }

.sidebar {
    background: linear-gradient(359deg, #c5cad2, white);
}

.content {
  background-color:white;
  /*background: linear-gradient(359deg, #c5cad2, white);*/
}


.main-header {
    border-bottom: 0px !important;
}

.main-footer {
    border-top: 0px !important;
}

.odd.selected,
.even.selected {
    background: linear-gradient(270deg, #017d4a, #3aa935) !important;
}

    .odd.selected .qrtable,
    .even.selected .qrtable {
        color: #2d2e82
    }

table.dataTable.table-striped > tbody > tr.odd.selected > *,
table.dataTable.table-striped > tbody > tr.even.selected > * {
    box-shadow: none;
}

.qrtable {
    color: #007e4d;
}

.dataTables_wrapper .btn.btn-secondary {
    background-color: #017d4a;
    border-color: #3aa935;
}

.active > .page-link {
    background-color: #017d4a;
    border-color: #3aa935;
}

.brand-container {
    padding-bottom: 0px !important;
}

.tableBtnL {
    border-bottom-right-radius: 0.375rem !important;
    border-top-right-radius: 0.375rem !important;
}

.tableBtnR {
    border-bottom-left-radius: 0.375rem !important;
    border-top-left-radius: 0.375rem !important;
}

.loader {
    width: 60px;
}

.loader-wheel {
    animation: spin 1s infinite linear;
    border: 2px solid rgba(30, 30, 30, 0.5);
    border-left: 4px solid #fff;
    border-radius: 50%;
    height: 50px;
    margin-bottom: 10px;
    width: 50px;
}

.loader-text {
    color: #fff;
    font-family: arial, sans-serif;
}

    .loader-text:after {
        content: 'Loading';
        animation: load 2s linear infinite;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes load {
    0% {
        content: 'Caricamento';
    }

    33% {
        content: 'Caricamento.';
    }

    67% {
        content: 'Caricamento..';
    }

    100% {
        content: 'Caricamento...';
    }
}


aside.main-sidebar.sidebar-bg-gray.sidebar-color-primary.shadow {
    box-shadow: none !important;
}

.main-footer .container {
    margin-left: 0px;
}

.main-footer {
  background-color: #c5cad2;
  width: 100%;
  position: fixed;
  bottom: 0px;
  z-index: 999;
}

.pagination {
    --bs-pagination-color: #3aa935;
    --bs-pagination-hover-color: #017d4a;
}

.select-group input.form-control {
    width: 65%
}

.select-group select.input-group-addon {
    width: 35%;
}

.btn-primary {
    background-color: #017d4a;
    border-color: #3aa935;
}

.btn-primary:active {
    background-color: #017d4a !important;
    border-color: #3aa935 !important;
}

.btn-primary:hover {
    background-color: #004f2f;
    border-color: #017d4a;
}

.btn {
    --bs-btn-active-border-color: #017d4a;
    --bs-btn-active-bg: #004f2f;
    --bs-btn-disabled-bg: #017d4a;
    --bs-btn-disabled-border-color: #017d4a;
}

.btn-warning {
    color: white;
    background-color: #2d2e82;
    border-color: #4042b8;
}

    .btn-warning:hover {
        color: white;
        background-color: #1c1c4f;
        border-color: #2d2e82;
    }

    .btn-warning:active {
        color: white !important;
        background-color: #2d2e82 !important;
        border-color: #4042b8 !important;
    }


.form-check-input:checked {
    background-color: #017d4a;
    border-color: #3aa935;
}

.form-check-input:focus {
    background-color: red;
    border-color: #3aa935;
}

.form-check-input:active {
    background-color: #017d4a;
    border-color: #3aa935;
}

thead input {
    width: 100%;
}

.ExpObj {
    color: red;
}

.selected .ExpObj {
    color: white;
}

.NotExpObj {
    color: green;
}

.selected .NotExpObj {
    color: white;
}

.notExpiry {
    color: green;
}

.almostExpiry {
    color: darkgoldenrod;
}

.Expiry {
    color: red;
}

#inputFile, #inputExternalDoc {
    opacity: 0;
    position: absolute;
    z-index: -1;
}

#inputFileLabel, #inputExternalDocLabel {
    cursor: pointer;
}

#templateLinkExternalContainer,
#editTemplateLinkExternalContainer {
    border: solid;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    border-radius: 0.375rem;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.075);
    border: var(--bs-border-width) solid var(--bs-border-color);
}

.templateLinkInternalContainer {
    border: solid;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 0.375rem;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.075);
    border: var(--bs-border-width) solid var(--bs-border-color);
}

#newTemplateLink,
#newEditTemplateLink {
    cursor: pointer;
    margin-bottom: 0px !important;
}

.deleteTemplateLink,
.deleteEditTemplateLink {
    float: right;
    color: red;
    cursor: pointer;
}

.plusTemplateLink {
    color: #004f2f;
}

.lastEventLink {
    cursor: pointer;
    text-decoration: underline;
}

    .lastEventLink:hover {
        color: dodgerblue;
    }

.flex-1 {
    flex: 1;
}

.flex-2 {
    flex: 2;
}

#editablePage {
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    box-shadow: 2px 2px 5px #ddd;
    padding: 12px;
}

.editBtnsContainer {
    background-color: lightgray;
}

.h-30 {
    height: 30%;
}

.h-45 {
    height: 45%;
}

.h-60 {
    height: 60%;
}

.templateItem:hover {
    background-color: lightblue;
    opacity: 0.5;
}

.templateIconButton {
    border: 0;
    background: none;
    box-shadow: none;
    border-radius: 0px;
}

.templateIconButton:hover:enabled {
    opacity: 0.5;
}
	
.btnInnerTable {
  width: 100%;
  text-align: center
}

.mapContainer {
  /*height: 81vh;*/
  height:772px;
  overflow: scroll;
}

.map {
  background-size: cover;
  background-repeat: no-repeat;
  height: 100%;
  transform-origin: 0 0;
  margin-left:auto;
  margin-right:auto;
  display:block;
}

#sidebarContainer {
  box-shadow: 10px 10px 5px gray;
  border-radius: 1rem;
}

.titleEditMapItem,
.editMapItem,
.titleSavedMapItem,
.savedMapItem,
.titleNewMapItem,
.newMapItem {
  background-color: white;
  border-radius: 0.5em;
  margin-bottom: 0.2em;
  overflow:hidden;
}

.timeLineContainer{
  height: 8.5rem;
}

.timeLineContainerImg {
  height: 8.5rem;
  transition: transform .4s;
  margin-top: 1.5rem;
  margin-bottom: 5rem;
}

.timeLineContainer {
  margin-top: 1.5rem;
}

.outcomeColor0 {
  color: gray;
  border-color: gray;
}

.outcomeColor1 {
  color: #017d4a;
  border-color: #017d4a;
}

.outcomeColor2 {
  color: red;
  border-color: red;
}

.rowTimeLine {
  font-size: 6rem;
}

.rowTimeLineContainer{
  text-align:center;
  margin-top:1.5rem;
}

.dateTimeLine {
  text-align: center;
  font-weight: bold;
  font-size: 1.2rem;
  height: 1.5rem;
}

.itemTimeLine {
    border: solid;
    border-radius: 1rem;
    height: 100%;
    transition: transform .4s;
}

.miniature {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: white;
}

.itemTimeLine:hover {
    transform: scale(2);
    /*    height: 80vh;
  width: calc(100% - 250px);
  top: 5rem;
  position: fixed;*/
    z-index: 9999999;
}

.paddingForFooter {
  padding-bottom: 4rem;
}

.min-h50 {
    min-height: 50%;
}

.editTemplateBackground {
  background: linear-gradient(359deg, #c5cad2, white);
}

.logoEditTemplate{
  padding: 0.5rem 1rem 0.5rem 1rem;
}

.lcontainer {
  box-shadow: 10px 10px 5px gray;
}

#editRowContainer,
#itemEditContainer {
  margin-top: 1rem;
}

.rcontainer {
  box-shadow: -10px 10px 5px gray;
}

.inputTemplateNameContainer {
  margin-left: 5rem;
  margin-right: 5rem;
  width: 80%;
}

.templatePageNumberContainer {
  width: 20%;
  margin-right: 5rem;
}

.textHader{
  padding-top:0.375rem;
}

#removePageBtn,
#addPageBtn{
  margin-left:1rem;
  margin-right:1rem;
}


#inputPageNumber::-webkit-outer-spin-button,
#inputPageNumber::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#inputMapName {
  width: 50%;
  position: absolute;
  top: 1rem;
  left: 30rem;
  z-index: 1034;
}

.row1{
  color:red;
  text-align:center;
  font-weight:bold;
  width:100%;
  font-size:large;
}


.carousel-item {
    text-align: center
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1054;
    background-color: rgba(0,0,0,0.5)
}

#updateDocErrorText{
  color:red;
  text-align:center;
  font-size:large;
}

.colTitleTemplate {
  text-align: center;
  font-weight: bold;
}

.separtore{
  border-top-style:dashed;
  border-color:gray;
}

.titleTemplateOption {
  font-weight: bold;
  color:gray;
}

#editableHeader {
  height: 5rem;
  background-color: white;
  box-shadow: 0px 10px 5px gray;
  margin-bottom: 1rem;
  margin-top: 1rem;
  border: solid 1px;
  border-color: lightgray;
  border-radius: 5px;
}

#editableFooter {
  height: 3rem;
  background-color: white;
  box-shadow: 0px 10px 5px gray;
  margin-top: 1rem;
  border: solid 1px;
  border-color: lightgray;
  border-radius: 5px;
}

.etitablePageStyle {
 background-color: white;
  box-shadow: 0px 10px 5px gray;
  margin-bottom: 1rem;
  margin-top: 1rem;
  border: solid 1px;
  border-color: lightgray;
  border-radius: 5px;
}

a[disabled] {
  pointer-events: none;
}