/* customised css - docsteam DALnet@2020 (Updated June 2020) */

html{
    height: 100%;
} 
body {
    min-height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    color: rgb(102, 102, 153);
    background-color: rgb(255, 255, 255);
    text-align: center;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
a:active, a:link, a:visited{
    color: #050579;
}
.image-container-center{
    width: 100%;
    text-align: center;
}
.image-container-center img{
    max-height: 120;
    max-width: 435;
    width: 100%;
}
.main-page-links-container{
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.center-links{
    max-width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0px 20px;
}
.link-row{
    width: 100%;
    justify-content: center;
}
.link-img{
    height: 30px;
    width: 100px;
    margin: 10px 0;
}
.flex-container{
    display: flex;
}
.flex-r-v-center{
    flex-direction: row;
    align-items: center;
}
.flex-c-h-center{
    flex-direction: column;
    justify-content: center;
}
.flex-wrap{
    flex-wrap: wrap;
}
form {
    display: flex;
    justify-content: center;
}
.text-input{
    padding: 5px;
    outline: #efefef;
    font-size: 14px;
    font-weight: 300;
    color: #333;
    border: solid 1px #00205c;
    border-radius: 0px;
    width: 250px;
}
.text-input::placeholder{
    text-align: center;
    font-size: 0.8em;
}
.submit-button {
    font-size: 16px;
    color: white;
    background: #00205c;
    border: none;
    border-radius: 0px;
    padding: 0px;
    width: 50px;
    height: 30px;
    margin: 0px;
    display: inherit;
    justify-content: center;
    align-items: center;
}
.submit-button svg{
    width: 15px;
    height: 16px;
    fill: white;
}
.content{
    padding-bottom: 5%;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.align-right{
    width: 100%;
    text-align: right;
}
.list-bullet{
    width: 27%;
    min-width: 150px;
    text-align: left;
}
.list-description {
    width: 73%;
    text-align: left;
}
.justify {
    text-align: justify;
    margin-right: auto;
}    
.align-start{
    align-self: flex-start;
    text-align: left;
}
.blue-background{
    width: 100%;
    background-color: #050579;
    text-align: left;
    padding: 3px;
}
.footer{
    width: 100%;
    position: relative;
    bottom: 20px;
}
.footer hr{
    width: 30%;
}
.justify-team {
   width: 100%;
   text-align: left;
   font-size: 15px;
}    
.justify-credits {
    font-size: medium;
    font-weight: bold;
    margin-right: auto;
}
.justify-news {
    font-size: 14px;
    margin-right: auto;
    text-align: left;
    padding-top: 10px;
    padding-bottom: 10px;
}
.align-left{
    width: 100%;
    text-align: left;
    font-size: 15px;
}
.content-4{
    padding-bottom: 10px;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* the container for the switch */
.dark-mode-toggle{
    display: flex;
    align-items:center;
}
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    margin: 5px;
  }
  
  /* 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: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  input:checked + .slider {
    background-color: #e6e6e6;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
    background-color: #444 ;

  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 30px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }
  
  /* Announcement */
.notification-top-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 30px;
  line-height: 30px;
  width: 100%;
  background: #050579;
  text-align: center;
  color: #FFFFFF;
  font-family: sans-serif;
  font-weight: lighter;
  font-size: 11px;
}
.notification-top-bar p {
  padding: 0;
  margin: 0;
}
.notification-top-bar p a {
  padding: 3px 6px;
  border-radius: 3px;
  background: #4e4f51;
  color: #FFF;
  font-weight: 200;
  text-decoration: none;
}


@media screen and (max-width: 500px) {
  .header a {
    float: none;
    display: block;
    text-align: left;
  }
  
  .header-right {
    float: none;
  }

}

@media(min-width: 768px){
    .dark-mode-toggle{
        position: absolute;
        top: 50px;
        right: 10px;
    }
}
@media(max-width: 800px){
    body{
        margin: 10px;
        font-size: 1.1em;
    }
    .list-bullet, .list-description{
        margin: 3px 0;
        min-width: 200px;
        width: 100%;
    }
}

@media(max-width: 630px){
    .center-links{
        flex-direction: row;
        flex-wrap: wrap;
        max-width: 200px;
    }
    .link-row{
        width: 100px;
        flex-direction: column;
    }
    .flex-container{
        justify-content: flex-start;
    }
}
@media(max-width: 420px){
    .main-page-links-container {
        flex-wrap: wrap;
        justify-content: space-around;
    }
    .flex-container{
        justify-content: flex-start;
    }
    .center-links {
        order: 2;
        max-width: unset;
        justify-content: space-around;
        margin: 0;
    }
    .link-row {
        min-width: 135px;
        
    }
    .flex-c-h-center{
        order: 1;
        min-width: 135px;
    }
}
