@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --gunmetal: rgb(31, 54, 61);
    --gunmetal-trans: rgba(31, 54, 61,.8);
    --cerulean: rgb(64, 121, 140);
    /* --green: rgb(60, 188, 137); */
    --tea-green: rgba(207, 224, 195);
    --verdigris: rgb(112, 169, 161);
    /* --green: linear-gradient(137deg, rgba(0,122,90,1) 0%, rgba(60,188,137,1) 100%); */
    --green-trans: rgba(60, 188, 137,.8);
    --lightblue: linear-gradient(137deg, rgba(50, 129, 168) 0%, rgba(160, 200, 219,1) 100%);
    --white: white;
    --lightgrey: rgb(230, 230, 230);
  
    /* Settings */
    --spacing: 10px;
  }

html, body {
    height: 100%;
    width: 100%;
}
body {
    display: flex;
    flex-direction: column;
    /* align-items: center;
    justify-content: center; */
    background: center / cover no-repeat url('../asset/images/login-wallpaper.jpg');
    height: 100vh;
    font-family: 'Lato', sans-serif;
    color: var(--gunmetal);
}

.fire-button {
  background-color: #333; /* Colore di sfondo del pulsante */
  color: #fff; /* Colore del testo */
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-size: 20px;
  cursor: pointer;
  position: relative; /* Necessario per posizionare l'effetto fuoco */
  overflow: hidden; /* Nasconde l'effetto fuoco che fuoriesce */
  transition: background-color 0.3s ease;
}

.fire-button:hover {
  background-color: #555;
}

.fire-button::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(circle at center, rgba(255,165,0,0.8) 0%, rgba(255,69,0,0.8) 50%, rgba(255,0,0,0) 100%);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.5s ease;
  z-index: -1;
}

.fire-button:hover::before {
  transform: scale(1);
}
.title_page {
    color: var(--green-trans);
    background: var(--gunmetal-trans);
    padding: 10px;
    width: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 1.2em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--green-trans);
    cursor: default;
}

.uScontainer {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.userServices {
    color: var(--green-trans);
    border: 1px solid var(--verdigris);
    border-top: none;
    border-bottom-left-radius: 5px;
    background: var(--gunmetal-trans);
    padding: 5px;
    width: 10%;
    text-align: center;
    /* font-weight: bold; */
    font-size: .8em;
    text-transform: uppercase;
    cursor: default;
}

.userServices:hover {
    color: var(--gunmetal-trans);
    border: 1px solid var(--gunmetal-trans);
    border-top: none;
    background: var(--green-trans);
}

.loginPage {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center;
    background: center / cover no-repeat url('../asset/images/login-wallpaper.jpg');
    width: 100%;
    height: 100%;
    z-index: 1; */
}


.contLogin {
    padding: 15px;
    border: 1px solid var(--gunmetal);
    border-radius: 10px;
    background: white;
    margin-top: 100px;
    width: 600px;
    z-index: 100;
}

.vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.showOverflowX {
    overflow-x: auto;
}

.vertical input {
    border-radius: 8px;
    padding: 5px;
}

.vertical img {
    width: 500px;
}

.errMsg {
    color: red;
}

button {
    padding: 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.2em;
    background: var(--cerulean);
    color: white;
}

button:hover {
    background: white;
    color: var(--gunmetal);
}

.btnCourse {
    width: 50px;
    height: 25px;
    font-size: .6em;
    text-align: center;
    padding: 1px;
}
table {
    width: 100%;
    text-align: center;
    cursor: default;
    background: rgba(255,255,255,.8);
}

table > thead {
    background: var(--cerulean);
    color: white;
}

table > tbody td {
    border: 1px solid var(--gunmetal);
    border-collapse: collapse;
}

table > tbody tr:hover {
    background: var(--gunmetal);
    color: white;
}

#statsTab {
  font-size: .5em;
}

#statsTab thead tr th {
    vertical-align: bottom;
    text-align: center;
}

.cont_nome_hash {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 15px;
}

.cont_nome_hash:hover {
  background: #c0ff33;
}

.deg90 {
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
}

.pages {
    width: 100%;
    height: 80%;
    /* overflow-y: auto; */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow-y: auto;
}

.contCourse {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    /* overflow-y: auto; */
}

.courseListItems {
    flex: auto;
    min-height: 100%;
    background: white;
    /* overflow-y: auto; */
}

.contFiles {
    width: 100%;
    height: 80%;
}

.contMedia {
    width: 100%;
}

#courseFilter {
    display: flex;
    flex-wrap: wrap;
    padding: 5px;
    font-size: .8em;
    color: white;
}

#courseFilter input,
#courseFilter label {
    padding: 5px;
}

.multiselect {
    width: 200px;
  }
  
  .selectBox {
    position: relative;
  }
  
  .selectBox select {
    width: 100%;
    font-weight: bold;
  }
  
  .overSelect {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
  }
  
  .cbRowFilter {
    display: flex;
    background: white;
    color: teal;
    z-index: 1000;
    width: 100%;
    padding: 5px;
  }

  .cbRowFilter:hover {
    background-color: teal;
    color: white;
  }
  
  #checkboxes {
    display: none;
    position: absolute;
    border: 1px #dadada solid;
    z-index: 1000;
    width: 100%;
  }
  
  #checkboxes label {
    display: block;
  }


.contFieldSet {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    /* height: 100%; */
}

fieldset {
    background: rgba(255,255,255,.8);
    padding: 5px;
    border-radius: 5px;
}

fieldset legend {
    font-weight: bold;
    color: var(--gunmetal);
}

.vertical {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px;
}

.horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 10px;
}

.vertical > input, .vertical > textarea, .vertical select,
.horizontal > input, .horizontal > textarea, .horizontal select {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
}


.horizontal label {
    width: fit-content;
}

.horizontal input[type="checkbox"] {
    width: fit-content;
}


header,footer {
    width: 100%;
    height: 100px;
    background: var(--cerulean);
}

header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

header #filterContainer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

header #filterContainer input, header #filterContainer button {
    padding: 5px;
    border-radius: 10px;
    margin-right: 5px;
}

header #logoContainer {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: white;
    width: 400px;
    height: auto;
}

#logoContainer img {
    width: 90%;
    height: 90%;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Old versions of Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
  }

#menumobile {
    display: none;
}
menu {
    display: flex;
}

menu ul {
    display: flex;
    padding: 5px;
    cursor: default;
    list-style-type: none;
}

menu ul li {
    width: auto;
    padding: 5px;
    border: 1px solid white;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    font-weight: bold;
}

menu ul li:hover {
    border: 1px solid var(--gunmetal);
    background: white;
    color: var(--gunmetal);
}

main {
    /* height: 80%; */
    /* display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    overflow-y: auto; */
    flex: auto;
}


#courseContainer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.courseBox {
    width: 250px;
    height: 270px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: .8em;
    text-align: center;
    margin: 15px;
    border: 1px solid var(--gunmetal);
    border-radius: 15px;
    background: white;
    cursor: default;
}

.sepiaColor {
    filter: sepia(100%);
}

.courseBox:hover {
    background: var(--tea-green);
    transform: scale(1.05);
    filter: sepia(0%);
    transition: all ease-in 0.1s;
}
.courseBox .contLabel {
    width: 100%;
    height: 50px;
    padding: 5px;
}
.courseBox label {
    font-weight: bold;
}

.courseBox img {
    width: 100%;
    height: 130px;
    margin: 10px 0px;
}

.courseBox .categoryBar {
    width: 100%;
    height: 20px;
    background: green;
    padding: 5px;
    font-weight: bold;
    color: white;
}

.courseBox .percProgress {
    opacity: 0;
    width: 100%;
    height: 20px;
    background: red;
    padding: 5px;
    font-weight: bold;
    color: white;
}


.courseItem:hover {
   color: blueviolet;
   cursor: default;
}

.containerListaCorso {
    position: absolute;
    height: 100%;
    width: 100%;
    padding: 10px;
    overflow-y: auto;
}

.containerListaCorso #courseTitle {
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
    padding: 15px 0;
    color: var(--verdigris);
}

/* video::-webkit-media-controls-timeline {
    display: none;
} */

.partitle {
    color: var(--cerulean);
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
}

footer {
    margin-top: auto;
    border-top: 3px solid white;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

footer a {
    color: var(--tea-green);
    font-weight: bold;
}

footer a:hover {
    color: white;
}

/* Scrollbar Custom */

/* width */
::-webkit-scrollbar {
    width: 10px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: white;;
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: var(--cerulean);
    border-left: 1px solid white;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: var(--gunmetal);
  }

/* SLIDER */
/* The switch - the box around the slider */
.switchLangSlider {
    display: flex;
    align-items: center;
    justify-content: center;
}
.switchLangSlider img {
    width: 60px;
    height: 60px;
}

.switch {
position: relative;
display: inline-block;
width: 60px;
height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
opacity: 0;
width: 0;
height: 0;
}

/* The slider */

.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: var(--verdigris);
-webkit-transition: .4s;
transition: .4s;
}

.slider:before {
position: absolute;
content: "";
height: 26px;
width: 26px;
left: 4px;
bottom: 4px;
background-color: white;
-webkit-transition: .4s;
transition: .4s;
}

input:checked + .slider {
background-color: var(--gunmetal);
}

input:focus + .slider {
box-shadow: 0 0 1px var(--gunmetal);
}

input:checked + .slider:before {
-webkit-transform: translateX(26px);
-ms-transform: translateX(26px);
transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
border-radius: 34px;
}

.slider.round:before {
border-radius: 50%;
}

/* Caricamento */

.progress {
    opacity: 0;
    width: 80%;
    height: 20px;
    border: 1px solid var(--gunmetal);
    background: white;
    position: relative;
}
.progress-bar {
    position: absolute;
    background: lightblue;
    color: blueviolet;
    font-weight: bold;
    text-align: center;
    height: 19px;
}
  

/* MEDIAPLAYER */

#mediaCourse {
    width: 100%;
    height: 100%;
}


/* STATISTICHE */

.stat_Title {
    color: red;
}

#timeTotFru, #most_Active_Time, #less_Active_Time {
    font-size: 4em;
}

#most_Active_User, #less_Active_User {
    font-size: 2em;
    font-weight: bold;
    color: var(--cerulean);
    text-transform: capitalize;
}

#cookieBanner {
    width: 800px;
    height: auto;
    background: rgba(255,255,255,.8);
    padding: 20px;
    position: fixed;
    bottom: 100px;
    z-index: 100;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 15px;
    border: 1px solid var(--gunmetal);
    bottom: 10%;
    left: 50%;
    margin-bottom: -10px; /* Negative half of height. */
    margin-left: -400px; /* Negative half of width. */
}

.titleCookieBanner {
    font-weight: bold;
}
