/*
  Copyright (c) Microsoft Corporation.
  Licensed under the MIT license.
*/

header {
    background-color: #007FFF;
    height: 75px;
    width: 100%;
}

header > p {
    color: #FFFFFF;
    font: bold 1.6em "segoe ui", arial, sans-serif;
    margin-left: 31px;
    padding-top: 20px;
}

.navbar-custom {
  background-color: #007FFF;
}

#user {
    color: #FFFFFF;
    font: 1.0em "segoe ui", arial, sans-serif;
    margin-top: 10px;
    margin-right: 31px;
    vertical-align: middle;
}

#title {
    color: #FFFFFF;
    font: 1.2em "segoe ui", arial, sans-serif;
}

.footer {
    height: 20px;
    background-color: lightgray;
}

html, body {
    height: 100%;
    margin: 0;
  }

#page {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
  }

main {
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex:auto;
}


#text-container {
    font-size: larger;
}

div#text-container > div > p {
    font: 2.4em "segoe ui", arial, sans-serif;
}

div#main {
  position: relative;
  width: 100%;
  height: 100%;

}

div#report-container {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

div#download-container {
    
  display: none;
  flex: auto;
}

@media only screen and (max-width: 575px) {
    section#report-container {
        height: calc(0.5625 * 100vw); /* 16:9 aspect ratio */
    }
}

.footer {
    text-align: center;
    font: 1em "segoe ui", arial, sans-serif;
}

iframe {
    border: none;
}

#logo-client {
  text-align: center;
  margin: 20px;
}



#selection-client {
    margin-left: 20px;
}

#selection-app {
    margin-left: 20px;
    font-size: small;
}

.appitem {
  
  height: 40px;
  line-height: 40px;
}

.applink {
  float: left;
  width: 80%;
}

.export {
  float: left;
  width: 10px;
}

#loading-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    height: calc(0.5625 * 60vw);
    text-align: center;
    display: none;
    background-color: white;
} 

#errors {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  height: calc(0.5625 * 60vw);
  text-align: center;
  display: none;
  background-color: white;
} 

#error-message {
  font-size: x-large;
}




#loader {
    position: relative;
    left: 51.25%;
    top: 160px;
    z-index: 1;
    width: 120px;
    height: 120px;
    margin: -76px 0 0 -76px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s 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); }
  }


/* The sidebar menu */
.sidebar {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: relative; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0;
    left: 0;
    background-color: #007FFF;
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 0px; /* Place content 60px from the top */
    transition: 0.2s; /* 0.5 second transition effect to slide in the sidebar */
    display:block;
    

  }
  
  /* The sidebar links */
  .sidebar a {
    /*padding: 8px 8px 8px 32px;*/
    padding-left: 8px;
    text-decoration: none;
    font-size: 18px;
    color: white;
    display: block;
    transition: 0.3s;
  }
  
  /* When you mouse over the navigation links, change their color */
  .sidebar a:hover {
    color: lightblue;
  }
  
  
  /* The button used to open the sidebar */
  .openbtn {
    font-size: 20px;
    cursor: pointer;
    background-color: transparent;
    /*background-color: #007FFF;*/
    color: white;
    padding: 10px 15px;
    border: none;
  }
  
  .openbtn:hover {
    background-color: transparent;
   /* background-color: lightblue;*/
  }
  
 
  
  /* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
  @media screen and (max-height: 450px) {
    .sidebar {padding-top: 15px;}
    .sidebar a {font-size: 18px;}
  }



/**/

/****HOME***/

#home {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  margin: auto;
  background-color: #F1F2F4;
  /*background-image: url("../../static/img/home.jpg");
  background-size : 100%;*/
}

#home-logo {
  position:absolute;
  display: block;
  margin: auto;
  text-align: left;
  font-size: xx-large;
  top: 100px;
  left: 160px;
}

#home-title {
  position:absolute;
  display: block;
  margin: auto;
  text-align: left;
  font-size: 60px;
  top: 120px;
  left: 260px;
}

#home-text {
  position:absolute;
  display: block;
  margin: auto;
  text-align: left;
  font-size: xx-large;
  top: 30%;
  left: 15%;
}





/*********/

#env {
    display: none;
    text-align: center;
}

#env i{
    display: inline-block;
    position: relative;
    top: -9px;
}

#env label {
    font-size: 13px;
    /*color: #FFFFFF;*/
    font-weight: 500;
}

.btn-env-switch{
    display: inline-block;
    margin: 0px;
    position: relative;
}

.btn-env-switch > label.btn-env-switch-inner{
    margin: 0px;
    width: 180px;
    height: 30px;
    background: #c5ffc6;
    color: #FFFFFF;
    border-radius: 26px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    /*box-shadow: 0px 0px 8px 0px rgba(17, 17, 17, 0.34) inset;*/
    display: block;
}

.btn-env-switch > label.btn-env-switch-inner:before{
    content: attr(data-on);
    position: absolute;
    font-size: 12px;
    font-weight: 500;
    top: 7px;
    right: 20px;

}

.btn-env-switch > label.btn-env-switch-inner:after{
    content: attr(data-off);
    width: 90px;
    height: 26px;
    background: rgb(42, 170, 61);
    border-radius: 26px;
    position: absolute;
    left: 2px;
    top: 2px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0px 0px 6px -2px #111;
    padding: 5px 0px;
}

.btn-env-switch input[type="checkbox"]{
    cursor: pointer;
    width: 50px;
    height: 25px;
    opacity: 0;
    position: absolute;
    top: 0;
    z-index: 1;
    margin: 0px;
}


.btn-env-switch input[type="checkbox"]:checked + label.btn-env-switch-inner{
    background: rgb(242, 226, 183);
    color: #000000;
}

.btn-env-switch input[type="checkbox"]:checked + label.btn-env-switch-inner:after{
    content: attr(data-on);
    left: 88px;
    background: rgb(255, 197, 104);
}

.btn-env-switch input[type="checkbox"]:checked + label.btn-env-switch-inner:before{
    content: attr(data-off);
    right: auto;
    left: 20px;
}




/* ### DONWLOAD ### */

#download-title {
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  margin-bottom: 100px;
  text-align: center;
  font-size: xx-large;
  font-weight: bolder;
  width: 300px;
}


#download-table {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: large;

  width: 60%;
}

table.download {
  font-family: "segoe ui", arial, sans-serif;
  border: 1px solid #FFFFFF;
  width: 100%;
  height: 200px;
  text-align: center;
  border-collapse: collapse;
}
table.download td, table.download th {
  border: 1px solid #FFFFFF;
  padding: 3px 2px;
}
table.download tbody td {
  font-size: 20px;
}
table.download tr:nth-child(even) {
  background: #D0E4F5;
}
table.download thead {
  background: #0B6FA4;
  border-bottom: 5px solid #FFFFFF;
}
table.download thead th {
  font-size: 25px;
  font-weight: bold;
  color: #FFFFFF;
  text-align: center;
  border-left: 2px solid #FFFFFF;
}
table.download thead th:first-child {
  border-left: none;
}
