/*------UNIVERSAL_STYLING----------------*/
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.center_img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: -.1%;
}

h1 {
  font-size: 2rem;
  font-weight:600;
}
h2{
  font-size: 1.4rem;
  font-weight:500;
}
p {
  font-size: 1rem;
}

/*-----NAVBAR--------------*/
  .navbar{
    box-shadow: 0 0  1rem 0 #FFC6D9;  
    border-bottom: .2rem solid #FFC6D9;
    padding: 0 7% 0 7%;
  }
  
  .nav-item{
    margin: 1rem;
    font-size: 1.2rem;
    margin-right: 0;
  }

  .nav-item-plain{
    margin: 1.10rem 1rem 1rem 1rem;
    font-size: 1.2rem;
    margin-right: 0;
  }

  .nav-item-small{
    font-size: .5rem;
    margin-left: .5rem;
    margin-right: .5rem;
  }

  .navbar-brand{
    font-size: 1.5rem;
    margin: 1rem;
  }
  
  .nav-item:after {
    display:block;
    content: '';
    border-bottom: solid 2.5px #65D2FB;  
    transform: scaleX(0);  
    transition: transform 250ms ease-in-out;
  }
  
  .nav-item:hover:after { 
    transform: scaleX(1); 
    transform-origin:100% 50%; 
  }

<<<<<<< HEAD
=======
  .nav-item-small{
    font-size: 1.2rem;
    margin-left: 1rem;
    margin-right: 1rem;
  }

>>>>>>> hao
  .nav-item-small:after {
    display:block;
    content: '';
    border-bottom: solid 2.5px #65D2FB;  
    transform: scaleX(0);  
    transition: transform 250ms ease-in-out;
  }
<<<<<<< HEAD
=======
  
>>>>>>> hao
  .nav-item-small:hover:after { 
    transform: scaleX(1); 
    transform-origin:100% 50%; 
  }

  .dropdown:hover>.dropdown-menu {
    display: block;
   }

   .dropdown-menu {
    margin: 0.125rem 0 0;
  }

/*-----FOOTER---------------*/
  .footer-top {
    clear: both; 
    border-top: 1px solid #cccccc;
  }
  
  .footer-bottom {
    border-top: 1px solid #cccccc;
    clear: both;
  }

  .footer-item {
    margin: .5rem;
    text-decoration: none;
    color: #000000;
  }

  .ul:hover {
    text-decoration:underline;
  }

/*---CONTACT_BUTTONS------*/
  .fa {
    text-align: center;
    text-decoration: none;
  }
  .fa:hover {
    opacity: 0.7;
  }


/*---Aligning the footer---*/
  .flex-wrapper {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  .footer {
    margin-top: auto;
  }


  /* views for header */
  .lg-view{
    display:inline-block;
  }
 
 .sm-view{
    display:none;
  }

  @media screen and (max-width: 700px) {
    .lg-view{
       display:none;
    }

    .sm-view{
       display:inline-block;
       position: relative;
       top: 15px;
    }

    .navbar-brand{
      font-size: 1.2rem;
    }

    .footer-left {
      float: center;
    }
    .footer-right {
      float: center;
    }
  }

  @media screen and (min-width: 701px) {
    .footer-left {
      float: left; 
    }
    .footer-right {
      float: right;
    }
  }


/**/
.dropdown:hover>.dropdown-menu {
  display: block;
 }

 .dropdown-menu {
  margin: 0.125rem 0 0;
}

.dropdown-show {
  display: block;
}

.dropdown-hide {
  display: none;
}

@media screen and (max-width: 992px) {
  .dropdown-show {
    display: none;
  }  
  
  .dropdown-hide {
    display: block;
  }
}