* {
    margin: 0;
    padding: 0;
}

html, body {
    margin: 0;
    padding: 0;
    /*overflow:hidden;*/
    min-width: 100%;
}
/*     NAVABAR     */

.panel-admin a {
  color: #000;
  text-decoration: none;
}

.panel-admin {
  padding-left: 1%;
}

.top-top {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-right: 1%;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    text-decoration: none;
}

.info {
    margin: auto;
    text-align: center;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: .8rem;
}

.logo-div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    height: 14rem;
    clear: right;
}

.login {
    position: relative;
    display: flex;
    justify-content: flex-end;
    margin-right: 1%;
    font-family: 'Roboto Condensed', sans-serif;
    text-decoration: none;
}


.login:hover {
    color: rgb(100, 100, 100);
}

.login a{
    text-decoration: none;
    color: #000;
  }
  
.nav-right {
    top: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #f2f2f2;
    text-align: center;
    text-decoration: none;
    margin-top: 2%;
}


.topnav a {
    color: #000;
    padding: 15px;
    padding-right: auto;
    padding-left: auto;
    font-family: 'Roboto Condensed', sans-serif;
    text-decoration: none;
    font-size: 1.2rem;
    width: auto;
    transition: all 0.5s ease;
    outline: 0;
}

.topnav .icon {
    display: none;
}

.border-link {
    display: inline-block;
    color: #000;
    text-decoration: none
}

.border-link:hover::after {
    width: 100%;
}

.home::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #000;
    transition: width .3s;
}

.project::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: rgb(107, 76, 76);
    transition: width .3s;
}

.notice::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: rgb(255, 0, 0);
    transition: width .3s;
}

.help::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: rgb(255, 115, 0);
    transition: width .3s;
}

.referral::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: rgb(255, 208, 0);
    transition: width .3s;
}

.contact::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: rgb(70, 190, 0);
    transition: width .3s;
}

.donate::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: rgb(0, 110, 255);
    transition: width .3s;
}

.escape::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: rgb(124, 0, 196);
    transition: width .3s;
}


/*     HOME     */

.home-TOP {
    display: flex !important;
    flex-direction: row;
    padding-top: 10%;
}

.header-notice-board{
    padding-bottom: 15%;
}
.header-intro  {
    padding-bottom: 5%;
}


.notice-board {
    /*flex: 1;*/
    width: 15%;
    padding: 0 5%;
    border-width: 0 1px  0 0;
    border-style: solid;
    border-color: rgba(218, 218, 218);
}

.news-pic {
    width: 250px;
    height: 200px;
    object-fit: cover;
    padding: 5% 0;
    margin: 1% auto;
  }
.hr-two {
  color: rgb(218, 218, 218);
  width: 80%;
  margin: 3% auto;
}

.timetable {
    flex: 2;
    width: 60%;
}

.timetable-details {
  padding: 2% 5% 5% 5%;
  text-align: center;
}

.monday {
  margin: 0 0 1% 0 !important;
}

.days {
  line-height: 2;
  margin: 3% 0 1% 0;
  font-family: 'EB Garamond', serif;
}

.community-header {
    text-align: left;
}
.community-activities p {
  line-height: 1.5;
  font-size: 1.25rem;
  color: rgb(78, 78, 78);
}

.community-activities a {
  text-decoration: none;
  color: #000;
  font-style: italic;
}


.intro-shelter {
    text-align: left;
    padding: 0 5%;
}

h1 {
    font-family: 'Playfair Display', serif;
}

h3 {
    font-family: 'Playfair Display', serif;
    padding: 5% 0;
}
.info-shelter{
    flex: 2;
    margin: 3% 0 1% 0;
    font-family: 'EB Garamond', serif;
}

.date {
    color: rgb(78, 78, 78);
    font-family: 'Roboto Condensed', sans-serif;
    font-size: .8rem;
}
.info-shelter p {
    font-size: 1.2rem;
    line-height: 1.4;
    color: rgb(78, 78, 78);
}
.info-shelter a, .notice-board a {
    text-decoration: none;
    color: rgb(65, 65, 65);
}

.intro-shelter h2 {
    padding: 3% 0 .3% 0;
}
.readmore {
    padding: 5% 0;
}
.notice-content {
    font-family: 'EB Garamond', serif;
    color: rgb(78, 78, 78);
    text-align: justify;
    line-height: 1.5;
}

.community-header {
    padding: 0 5%;
    padding-bottom: 5%;
}

.calendar {
    padding: 0 5%;
}

.timetable {
    flex: 2;
    width: 80%;
}

p {
    font-family: 'EB Garamond', serif;
    color: rgb(78, 78, 78);
    text-align: justify;
    font-size: 1.2rem;
    line-height: 1.5;
    padding: 2% 5% 0 5%;
}

.virtual-centre {
    width: 90%;
  height: auto;
    padding: 10% 0;
}

.timetable-details a{
    text-decoration: none;
    color:#000;
}

/*     BACK TO TOP ARROW     */
#return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #F8FFA8;
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#return-to-top i {
    color: #002FA7;
    margin: 0;
    position: relative;
    left: 16px;
    top: 13px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#return-to-top:hover i {
    color: rgba(0, 47, 167, 0.637);
    top: 5px;
}

/*     MAP     */

.map-title {
    text-align: center;
    padding-top: 5%;
}

#map { height: 600px; 
    width: 700px; 
    margin: 5% auto; 
}

/*     FOOTER    */

.footer-links {
    margin-top: auto;
    padding-top: 5%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    font-family: 'Roboto Condensed', sans-serif !important;
    font-size: .8rem !important;
    font-weight: 300 !important;
    bottom: 0 !important;
    width: 100%;
    transition:  all 0.5s ease;
  }

.left,
.middle,
.right {
    display: flex;
    text-align: left;
    flex-direction: row;
    margin-bottom: 10px;
    font-family: 'Roboto Condensed', sans-serif !important;
}

.footer-twitter,
.footer-insta,
.footer-fb {
    height: 20px;
    padding: 0 8px;
}


@media screen and (max-width: 800px) {
  /*     NAVBAR     */
  
    .info {
        font-size: .6rem;
    }

    .nav-right a {
        display: none;
    }

    .login {
        font-size: .8rem;
    }

    .logo-div {
        position: absolute;
    }

    .logo {
        height: 3rem;
        border-bottom: 0 !important;
        float: left;
    }

    .topnav a.icon {
        float: right;
        display: block;
        border-bottom: 0;
        padding: 2%;
    }

    .topnav.responsive {
      position: fixed;
    }

    .fa {
      position: fixed;
      right: 2%;
      top: 5%;
    }
    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
        font-size: 1rem;
        text-align: center;
    }

    .topnav.responsive .nav-right {
        display: block;
    }

    .nav-right {
        width: 100%;
        background-color: #fff;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
     }


     /*     HOME     */

    .home {
        margin-top: 5%;
    }

    .home-TOP {
        flex-direction: column;
    }
    
    .notice-board {
        width: 80%;
        padding: 15% 10% 10% 10%;
        border-width: 0 0  0 0;
        border-style: none; 
    }

    .project-TOP {
        display: flex;
        flex-direction: column;
      }
    
      
 .timetable {
      flex-grow: auto ;
      padding: 10% 5%; 
      width:auto;
    }

    .intro-shelter {
        padding: 10%;
        border-width:  1px 0 0 0;
        border-style: solid;
        border-color: rgba(218, 218, 218);
    }

    .footer-links {
        font-size: .6rem;
        flex-direction: column;
    }
    
    .footer-twitter, .footer-insta, .footer-fb {
        height: 10px;
        padding: 0 4px;
    }
}

@media screen and (max-width: 380px) {
    .nav-right {
      width: 370px;
  }

  #map { height: 200px; 
    width: 290px; 
    margin: 5% auto; 
}
}