body {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}


h1, h2{
	text-align: center;
	font-weight: 700 !important;
}

section {
  padding: 2rem 0;
}

section h2 {
  font-size: 2.25rem;
  line-height: 2rem;
}

@media (min-width: 768px) {
  section h2 {
    font-size: 3rem;
    line-height: 2.5rem;
  }
}

#clientSearchBar, #packageSearchBar, #serviceSearchBar{
    float: right;
    margin-right: 5%;
    margin-bottom: 20px;
    width: 300px;
    padding-left: 5px;
    height: 40px;
}

.btn-xl {
  padding: 1rem 1.75rem;
  font-size: 1.25rem;
}

.btn-social {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.75rem;
  line-height: 2.5rem;
  padding-left: 9px;
}

@media (min-width: 768px) {
  .btn-social{
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1rem;
    line-height: 1.5rem;
    padding-left: 8px;
  }
}

.scroll-to-top {
  z-index: 1042;
  right: 1rem;
  bottom: 1rem;
  display: none;
}

.scroll-to-top a {
  width: 3.5rem;
  height: 3.5rem;
  font-weight: bold;
  color: #5d9ed4;
  background-color: transparent;
  border-radius:3.5rem;
  border-color: #5d9ed4;
  border: solid 5px #5d9ed4;
  line-height: 3.5rem;
}

.scroll-to-top a:focus, 
.scroll-to-top a:active,
.scroll-to-top a:target{
	color: #5d9ed4;
}

/*Navigation bar*/

.nav-container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 782px) {
  .headerTab{
	top: 47px !important;
  }
}

@media (max-width: 768px) {
  .nav-container{
    padding:0px;
    margin:0px;
  }
}

@media (min-width: 768px) {
  .nav-container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .nav-container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .nav-container {
    max-width: 1140px;
  }
}

#buttonsRow
{
    width:100%;
    text-align: center;
	margin-bottom:50px;
}
.inner
{
    display: inline-block;
}

#mainNav {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

#mainNav .navbar-brand {
  color: lightblue;
}

#mainNav .navbar-nav {
  margin-top: 1rem;
 
}

#mainNav .navbar-nav li.nav-item .nav-link {
  color: white;
  transition: transform 250ms ease-in-out;
}

#clientDetailDiv, #serviceDetailDiv, #packageDetailDiv{
	text-align: center;
}
input[type=button], .viewButton{
    z-index: 2;
    color: #fff;
    cursor: default;
    background-color: #337ab7;
    border-color: #337ab7;
	border-radius: 3px;
	cursor: pointer;
}
#logo{
	padding-left:35px;
}

#hideButton, #unhideButton{
	background:none;
	border:none;
	margin: 0 auto;
    display: block;
	font-size: 20px;
}

#hideButton:hover, #unhideButton:hover{
	background-color: #fff600;
}


#logDiv, #hideButton{
	display: none;
}
/*Bottom border*/
/*#mainNav .navbar-nav li.nav-item .nav-link:after {
      display:block;
      content: '';
      border-bottom: solid 3px #fff;  
      transform: scaleX(0);  
      transition: transform 250ms ease-in-out;
      z-index:2;
}*/
/*bottom border new*/
.borderbottom{
  position:relative;
  display:block;
  content: '';
  width: 100%;
  height: 6px;
  background-color:  white;
  transform: scaleX(0);  
  transition: transform 600ms ease-in-out;
  z-index:2;
}
/*scale down */
#mainNav .navbar-nav li.nav-item .nav-link:hover {
  color: white;
  transform:scale(0.7) translateX(-6em);
}
/*Bottom border*/
/*#mainNav .navbar-nav li.nav-item .nav-link:hover:after {
  transform:scaleX(0.0);
}*/

#mainNav .navbar-nav li.nav-item .nav-link:active, #mainNav .navbar-nav li.nav-item .nav-link:focus {
  color: white;
}

#mainNav .navbar-nav li.nav-item .nav-link.active {
  color: white;
}

#mainNav .navbar-toggler {
  font-size: 80%;
  padding: 0.8rem;
}

.toggle-nav{
  position:absolute; 

  top:0.5rem; 
}

.left-nav{
  z-index:100;
  color: #5d9ed4; 
  left:2rem;
}

.right-nav{
  -webkit-user-select: none; /* webkit (safari, chrome) browsers */
   -moz-user-select: none; /* mozilla browsers */
   -ms-user-select: none; /* IE10+ */
  top:-3px;
  right:1rem; 
  background-color: #5d9ed4;
  padding:0rem 0.5rem;
  text-align: center;
  box-shadow: 0 0.2rem #3c89ba;
  transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.right-nav img{
	position: relative;
	top:-3px;
}

.right-nav:hover{
  background-color: #446792;
  box-shadow: 0 0.2rem #00235d;
}

.right-nav:active{
  transform:translateY(0.15rem);
  box-shadow: 0 0.05rem #00235d;
}

.login-button {

  width:90px;
  box-shadow: 0 3px #5088b6 ;
  padding: 6px;
  display: inline-block;

  border-radius: 80px;
  transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.login-button:hover {
  box-shadow: 0 3px #00235d;
}

.login-button:active {
  outline:none;
  transform: translateY(2px);
  box-shadow: 0 1px #00235d; 
}

.button-mw{
  text-align: center;
  position: relative;
  text-decoration: none;
  cursor: pointer;
  color: white;
  transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;
}


.nav-right{
  display: none; 
  position: relative; 
  text-align:right;
  top: 1vw;
}

.nav-right-loggedin{
	display: block; 
	position:relative;
  	top: 2vw;
  	cursor: pointer;
  	font-size: 13px;
}

@media (min-width: 768px){
  .nav-right{
    display: inline-block; 
  }

  .nav-right-loggedin{
  	font-size: 14px;
  }
}

@media (max-width: 768px){
  .nav-right-loggedin{
    margin-left: -15px;
  }
}

.pl-nav{
  padding-left: 17vw;
}

.nav-item{
  list-style: none;
}

@media (min-width: 768px) {
  #navbarResponsive{
    font-size:11px;
  }  
}

@media (max-width: 992px) {
  #navbarResponsive{
    font-size:12px;
  }  
  .submit-button, .add-entry-button{
	  width: 125px !important;
  }
  .client-button, .package-button, .service-button{
    font-size: 14px !important;
    width: 170px !important;
  }
  #packageDetailDiv, #serviceDetailDiv, #clientDetailDiv, #content, .headerTab, .entry, .form-container, .form-control{
    font-size: 16px !important;
  }
  h2{
    font-size: 28px !important;
  }
  h1{
    font-size: 33px !important;
  }
  .remarks_text{
	  width:400px !important;
  }
}


@media (min-width: 992px) {
  #navbarResponsive{
    font-size: 16px;
  }
}

@media (min-width: 1500px) {
  #navbarResponsive{
    font-size: 20px;
  }
}

/*Animations*/
@-moz-keyframes bounce{
  0%{
    -moz-transform:scale(1);
  }
  50%{
    -moz-transform:scale(0.7);
  }
  100%{
    -moz-transform:scale(1);
  }
}
@-webkit-keyframes bounce{
  0%{
    -webkit-transform:scale(1);
  }
  50%{
    -webkit-transform:scale(0.7);
  }
  100%{
    -webkit-transform:scale(1);
  }
}
@keyframes bounce{
  0%{
    
    transform:scale(1);
  }
  50%{
    
    transform:scale(0.7);
  }
  100%{
   
    transform: scale(1);
  }
}

@media (min-width: 768px) { 
  #mainNav {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    -webkit-transition: padding-top 0.3s, padding-bottom 0.3s;
    transition: padding-top 0.3s, padding-bottom 0.3s;
  }
  #mainNav .navbar-brand {
    -webkit-transition: font-size 0.3s;
    transition: font-size 0.3s;
  }
  #mainNav .navbar-nav {
    margin-top: 0;
  }

  /*bottom border for bigger screen*/
  #mainNav .navbar-nav li.nav-item .nav-link:hover{
  color: white;
    
  -moz-animation: bounce 0.5s;
  -webkit-animation: bounce 0.5s;
  animation: bounce 0.5s;

  -moz-transform:scale(1);
  -webkit-transform:scale(1);
  transform: scale(1);
  }


  /* for testing */
   #mainNav .navbar-nav > li.nav-item > .nav-link:focus{
    outline:none;
  }
  #mainNav .navbar-nav > li.nav-item > .nav-link:focus + .borderbottom{
    transform: scaleX(1);
    -webkit-transform: scale(1);
  }
  #mainNav .navbar-nav > li.nav-item > div.dropdown-content > .nav-link:focus{
    outline:none;
  }
  #mainNav .navbar-nav > li.nav-item > div.dropdown-content > .nav-link:focus + .borderbottom{
    transform: scaleX(1);
  }
  /* end for testing */

  #mainNav .navbar-nav > li.nav-item > .nav-link.active {
    color: white;
    /*color: #fff;*/
    /*background: #18BC9C;*/
  }
  /*bottom border new*/
   #mainNav .navbar-nav > li.nav-item > .nav-link.active + .borderbottom{
      transform: scaleX(1);
    }

  /*Bottom border*/
   /*#mainNav .navbar-nav > li.nav-item > .nav-link.active:after {
    transform: scaleX(1);
  }*/

  #mainNav .navbar-nav > li.nav-item > .nav-link.active:active, #mainNav .navbar-nav > li.nav-item > .nav-link.active:focus, #mainNav .navbar-nav > li.nav-item > .nav-link.active:hover {
    color: white;
    /*color: #fff;*/
    /*background: #18BC9C;*/
    transform:scale(1);
  }
  
  #mainNav.navbar-shrink {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
}

/* header drop down */
/*drop down*/

.dropdown-content {
  display: none;
  text-align:center;
  background-color: #5d9ed4;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  /*padding-left: 5rem;*/
  padding-left: 20% !important;
  text-decoration: none;
  display: block;
  text-align: left;
  line-height: 80%;
}
@media (min-width:768px){
  .dropdown-content a{
    text-align: center;
    padding-left: 0.5rem !important;
  }
}

.dropdown:hover + .dropdown-content {
  display: inline; 
}

.last-nav{
  padding-bottom: 30px;
}

.drop{
  /*display:inline;*/
  /*text-align:left;*/
}

.drop:before{
  color:white;
  content: "\f107";
}

.drop.invert:before{
  color:#5d9ed4;
  content: "\f107";
}

@media (min-width:768px){
  .drop:before{
    content:"\f0d7";
  }
}

a.nav-url{
  display:inline;
  color:white;
  text-decoration: none;
}

/* overlay */
.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1032;
  top: 0;
  left: 0;
  background-color: #5d9ed4;
  overflow-x: hidden;
  -ms-overflow-style: none ;
  transition: width 0.5s;
  box-shadow: 5px 0px 15px rgba(0,0,0,0.5);
}

.overlay-background{
  position:fixed;
  z-index: 1000;
  width: 0;
  height: 100vh;
  visibility: none;
}

.overlay-content {
  position: relative;
  width: 100%;
  text-align: left;
  /*margin-top: 30px;*/
}

.overlay a {
  padding: 8px;
  padding-left: 10%;
  text-decoration: none;
  font-size: 1.2rem;
  color: #fff;
  white-space: nowrap;
  display: block;
}

.overlay a:hover, .overlay a:focus {
  color: #5d9ed4;
  background: #fff;
}

.overlay a.drop:hover:before{
  color: #5d9ed4;
}

.overlay a.drop.invert:hover:before{
  color: white;
}

.overlay .nav-signup{
/*  padding-top: 10vh;*/
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
}

/*@media (max-height: 500px){
  .overlay .nav-signup{
    padding-top: 0px;
  }
}*/

.overlay a.text-blue{
  color: #5d9ed4;
  background: #fff;
}

.overlay a.text-blue:hover, .overlay a.text-blue:focus{
  color: #ffffff;
  background: #5d9ed4;
}


@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px};
}

/* body header */

header.masthead {
  padding-top: 52px; 
}

@media (min-width: 768px) {
  header.masthead {
    padding-top: 131px;
  }
}

@media (min-width: 992px) {
  header.masthead{
    padding-top: 141px;
  }
}

@media (min-width: 1500px) {
  header.masthead{
    padding-top: 149px;
  }
}

/* slider style */

.swiper-pagination.mobile {
  bottom: 5px;
}

.swiper-pagination.desktop {
  bottom: 5px;
}

.swiper-container {
  width: 100%;
  height: auto;
}
.swiper-slide{
  background: #fff;
}

.swiper-container .swiper-slide {
  height: 24vw;
}
.swiper-container .swiper-slide.no-swiper {
  height: 20vw;
}
.swiper-container .swiper-slide.no-swiper.article{
  height: 12.1vw;
}
.swiper-container .swiper-slide.no-swiper.samplerequest,
.swiper-container .swiper-slide.no-swiper.dsa-bg{
  height: 90vh;
}
.swiper-title{
  position:relative;
  left: 0;
  top: 20%;
  width: 100%;
  text-align:center;
  font-size: 4vw;
  line-height: 1.2;
  opacity:1;
  font-weight:bold;
  margin:0 auto;
  color: #5d9ed4;
}

.no-swiper .swiper-title{
  top: 30%;
}

.samplerequest .swiper-title{
  top:15%;
}

@media (min-width:768px){
  .samplerequest .swiper-title{
    top:10%;
  }
}

.swiper-text{
  position:relative;
  left: 0;
  top: 20%;
  width: 100%;
  text-align:center;
  font-size: 1.8vw;
  opacity:1;
  font-weight:bold;
  margin:1vw;
  color: #5d9ed4;
}

/*swiper pagination button*/
.swiper-button-prev, 
.swiper-button-next{
  color: #5d9ed4;
  padding: 30px;
  outline:0;
  border:0;
}

.homepage.swiper-button-prev, 
.homepage.swiper-button-next{
  background-color: rgba(255, 255, 255, 0.6);
}

.swiper-button-prev{
  left: 0px;
  border-radius: 0 10px 10px 0;
}
.swiper-button-next{
  right: 0px;
  border-radius: 10px 0 0 10px;
}
.swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet{
  margin: 0 7px;
}

/*slider button*/
.slider-button{
  top: 20%;
  width: 150px;
  border-radius:5px;
  margin: 0 auto;
}

@media (min-width: 768px){
  .samplerequest .slider-button{
    top: 15%;
  }
}

@media (min-width: 992px){
  .slider-button{
    width: 200px;
  }
}

@media (min-width: 1200px){
  .slider-button{
    width: 200px;
  }
  .col-lg-6{
	  width: 100%;
  }
  .col-lg-4{
	  width: 16.333333%;
  }
}

.blue-shadow,
.redeem-button.blue-shadow:hover,
.select-button.blue-shadow:hover{
  box-shadow: 0 5px #3c89ba;
}

.blue-shadow:hover{
  box-shadow: 0 5px #00235d;
}

.blue-shadow:active{
  box-shadow: 0 1px #00235d;
}

.darkgrey-shadow{
  box-shadow: 0 5px #838383;
}

.darkgrey-shadow:active{
  box-shadow: 0 1px #4f4f4f;
}

@media (min-width: 1500px){
  .swiper-title{
    font-size: 64px;
  }
  
  .swiper-text{
    font-size: 29px;
  }
}

@media (max-width: 768px){
  .no-swiper .swiper-title{
    font-size: 0;
  }

  .swiper-title,
  .no-swiper.samplerequest .swiper-title{
    font-size:200%;
  }

  .no-swiper.article .swiper-title{
    font-size:300%;
    top: 40%;
  }

  .swiper-text{
    font-size:100%;
  }

  .slider-button{
    font-size:100%;
  }
}

@media only screen and (max-width: 1160px){/*Previously 1024px*/
  .swiper-container .swiper-slide {
    height: 300px;
  }
  .swiper-container .swiper-slide.no-swiper {
    height: 200px;
  }
  .swiper-container .swiper-slide.no-swiper.article{
    height: 150px;
  }
}

@media only screen and (max-width: 455px){
  .swiper-container .swiper-slide {
    height: 300px;
  }
  .swiper-container .swiper-slide.no-swiper {
    height: 200px;
  }
  .swiper-container .swiper-slide.no-swiper.article{
    height: 150px;
  }
  .homepage.swiper-button-prev, 
  .homepage.swiper-button-next{
    display:none;
  }
  .editpackage-button, .terminatepackage-button, .editservice-button, .addtopackage-button, .terminateservice-button, .suspendpackage-button, .suspendservice-button{
    margin-right: 15px !important;
  }
  .client-button, .package-button, .service-button{
    font-size: 12px !important;
    width: 150px !important;
  }
  .submit-button, .add-entry-button{
    width: 100px !important;
  }
  #packageDetailDiv, #serviceDetailDiv, #clientDetailDiv, #content, .headerTab, .entry, .form-container, .form-control{
    font-size: 12px !important;
  }
  h2{
    font-size: 25px !important;
  }
  h1{
    font-size: 30px !important;
  }
  .remarks_text{
	  width: 300px !important;
  }
}

.swiper-img{
  height: 100%;
  background-size:auto 100%;
  background-position: center;
}

.swiper-img{
  height: 100%;
  background-size:auto 100%;
  background-position: center;
}

.no-swiper.swiper-img{
  background-size:cover;
}



/* homepage body */

/*big button click effect*/

@media (min-width: 768px){
  section.collect{
    padding: 3rem 0;
  }
}

@media (min-width: 992px){
  section.collect{
    padding: 4rem 0;
  }
}

.collect .collect-item {
  position: relative;
  display: block;
  max-width: 33rem;

  opacity:0; /*For scroll to animation*/
  border-radius:1em;
  /*transform: translateY(-4em);*/
  /*transition: transform 0.25s;*/
  bottom: 2em;
  transition: transform 0.2s, box-shadow 0.2s;
}

.green-shadow-big{
  box-shadow: 0 1rem #aeba5d,0px 0px 10px 0px rgba(0,0,0,0.2);
}

.blue-shadow-big{
  box-shadow: 0 1rem #64a3d8,0px 0px 10px 0px rgba(0,0,0,0.2);
}

.img-fluid{
  border-radius: 1em;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
     /* IE10+ CSS styles go here */
    .collect .collect-item img:active{
    transform: translateY(0.76em);
  }
}

/*button hover effect*/
.collect .collect-item:hover{
  transform: scale(1.05);
}
/*button click effect*/
.collect .collect-item:active{
  transform: translateY(0.8em) scale(1.05);
  transition:none;
}

.collect .green-shadow-big:active {
  box-shadow: 0 0.2rem #8c983b;
}

.collect .blue-shadow-big:active {
  box-shadow: 0 0.2rem #2a87d5;
}



/*hover expand effect*/

/*.collect .collect-item:hover:active{
  
  transform: translateY(34px) scale(1.05);
   box-shadow: 0 5px #666;

}*/


@media (min-width: 576px) {
  .collect {
    margin-bottom: -30px;
  }
  .collect .collect-item {
    margin-bottom: 30px;
  }
}

.redeemed-item{
	position: relative;
    display: block;
    max-width: 33rem;

    opacity:0; /*For scroll to animation*/
    border-radius:1em;
    /*transform: translateY(-4em);*/
    /*transition: transform 0.25s;*/
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
    bottom: 2em;
    /*box-shadow: 0 1rem #bfcb6e;*/
}
/*///////////////////////////SELECT BUTTON///////////////////////////////////*/
.select-button{
	margin-top: 7px;
	height: 73.14px; 
	border-radius: 0 0 16px 16px; 
	transition:box-shadow 0.2s; 
	padding-top: 17px;
	font-size: 24px;
}
@media (min-width: 768px){
	.select-button{
		height: 27px;
		padding-top: 1px;
		font-size: 16px;
	}	
}
@media (min-width: 992px){
	.select-button{
		height: 40.07px;
		padding-top: 3px;
		font-size: 24px;
	}
}
@media (min-width: 1200px){
  .select-button{
    height: 50px;
    padding-top: 7px;
    font-size: 24px;
  }
}
@media (min-width: 1500px){
	.select-button{
		height: 62px;
		padding-top: 10px;
		font-size: 24px;
	}
}



/*catalogue items*/

section.catalogue{
  padding: 0;
}

/*ribbon*/
.ribbon-container {
	z-index: 1000;
  position: absolute;
  top: 10px;
  left: -44px;
  overflow: visible;
  /* so we can see the pseudo-elements we're going to add to the anchor */
  opacity: 1;
  font-size: 14px;
  font-weight: bold;
  /* font-size and line-height must be equal so we can account for the height of the banner */
  line-height: 0px;
}

.ribbon-container div {
  display: block;
  padding: 15px;
  position: relative;
  /* allows us to position our pseudo-elements properly */
  
  background: #0089d0;
  overflow: visible;
  height: 16px;
  margin-left: 29px;
  color: #fff;
  text-decoration: none;
  border-radius: 0px 7px 7px 0px;
}

.ribbon-container div:after {
  /* this creates the "folded" part of our ribbon */
  content: "";
  height: 0;
  width: 0;
  display: block;
  position: absolute;
  bottom: -15px;
  left: 0;
  border-top: 15px solid #004a70;
  border-left: 15px solid transparent;
}

.ribbon-container.ribbon-blue div{
	background-color: #00abe9;
}
.ribbon-container.ribbon-blue div:after{
	border-top-color: #009cd4;
}
.ribbon-container.ribbon-light-blue div{
	background-color: #7cbdf4;
}
.ribbon-container.ribbon-light-blue div:after{
	border-top-color: #70aadc;
}
.ribbon-container.ribbon-green div{
	background-color: #5dab42;
}
.ribbon-container.ribbon-green div:after{
	border-top-color: #549a3c;
}
.ribbon-container.ribbon-jade-green div{
  background-color: #5ab1b0;
}
.ribbon-container.ribbon-jade-green div:after{
  border-top-color: #1e7472;
}
.ribbon-container.ribbon-orange div{
	background-color: #e5a362;
}
.ribbon-container.ribbon-orange div:after{
	border-top-color: #ce9258;
}

/*catalogue item*/
.catalogue .catalogue-item {
    position: relative;
    display: block;
    max-width: 33rem;
 
    border-radius:1em;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
  	opacity:0;
    bottom: 2em;
	transition: transform 0.2s, box-shadow 0.2s;
}

/*button hover effect*/
.catalogue .catalogue-item:hover{
  transform: scale(1.05);
}
/*button click effect*/
.catalogue .catalogue-item:active{
  transform: translateY(4px) scale(1.05);
}
.catalogue .catalogue-item:active .blue-shadow{
  box-shadow: 0 1px #2a87d5;
}

.img-catalogue{
  border-radius: 16px 16px 0 0;
}

@media (min-width: 576px) {
  .catalogue {
    margin-bottom: -30px;
  }
  .catalogue .catalogue-item {
    margin-bottom: 30px;
  }
}

.product-text{
	margin-left:15px;
	margin-right:15px;
	/*max-height:38px; */
  max-height:70px;
	overflow: hidden;
}

.product-text.mt-3{
  line-height: 120%;
}

.product-text-container{
	/*height: 70px;*/
  height: 100px;
	overflow: hidden;
}

.redeem-button{
	margin-top: 7px;
	height: 50px; 
	border-radius: 0 0 16px 16px; 
	transition:box-shadow 0.2s; 
	padding-top: 7px;
}

/*///////////////////////fix iphone slow css render by hardware acceleration//////////////////*/
/*.catalogue, .collect{
  -webkit-transform: translateZ(0);
  -webkit-perspective: 1000;
  -webkit-backface-visibility: hidden;
}*/

/* register form */
.text-center.form-title.text-ml.text-md-lg.bold.mt-5.mb-0{
	margin-bottom: 40px;
}
.formtitle{
	width: 70%;
    text-align: left;
    margin: 0 auto;
}
#servicetitle, #packagetitle, #servicetitlebr, #servicetitlehr, #packagetitlehr, #pservicetitle, #pservicetitlebr, #pservicetitlehr{
	display: none;
}
hr.solid {
	margin-bottom: 30px;
	width: 71%;
}
.form-container{
	width:100%;
	margin-top: 80px;
	margin-bottom: 80px;
}
.form-container .container{
	margin: 0 auto;
}
.form-title{

	font-weight: 200px;
 	line-height: 120%;	
}
#individualform{
	display:none;
}
#packageform{
	display:none;
}
@media (max-width: 576px){
  .form-title{
    line-height: 1.2;
  }
}
.form-subtitle{
  margin-top: 1rem !important;
	font-weight: bold;
  line-height: 140%;
}
.form-required-text{

	border: 0px solid red;
	padding-left: 0px;
}
.form-error-text{
	padding-left: 0px;
}

.form-container label{
	border: 0px solid red;
	display:inline-block;
	vertical-align: middle;
	color: #464646;
	padding-left:0px;
}

@media (min-width: 992px){
	.form-required-text{
		padding-left: 30px;
	}
	/*.form-container label{
		padding-left: 30px;
	}*/
	.form-error-text{
		padding-left: 30px;
	}
}

.form-container input{
	border: 0px solid red;
	display:inline-block;
	box-shadow: inset 3px 3px #e0e0e0;
	vertical-align: middle;
	font-size: inherit;
	height: 45px;
	clear:left;
}

.form-container input.date-picker{
	background:
	    url("../images/calendar-icon.png"),
	    linear-gradient(90deg, #c8c8c8, #c8c8c8),
	    linear-gradient(to right, white, white);
  	background-position:
  		calc(100% - 8px) calc(0.7em),
    	calc(100% - 40px) 0,
    	100% 0;
  	background-size:
  		22px 22px,
    	2px 100%,
    	100% 100%;
  	background-repeat: no-repeat;
    -webkit-appearance:none;
  	-moz-appearance:none;
}

.form-container select{
	border: 0px solid red;
	display:inline-block;
	box-shadow: inset 3px 3px #e0e0e0;
	vertical-align: middle;
	height: 45px;
	clear:left;

	background:
	    linear-gradient(60deg, transparent 50%, #5d9ed4 50%),
	    linear-gradient(120deg, #5d9ed4 50%, transparent 50%),
	    linear-gradient(90deg, #c8c8c8, #c8c8c8),
	    linear-gradient(to right, white, white);
  	background-position:
    	calc(100% - 18px) calc(1em),
    	calc(100% - 11px) calc(1em),
    	calc(100% - 40px) 0,
    	100% 0;
  	background-size:
    	8px 16px,
    	8px 16px,
    	2px 100%,
    	100% 100%;
  	background-repeat: no-repeat;
    -webkit-appearance:none;
  	-moz-appearance:none;
}

select#skintype::-ms-expand {
    display: none;
}

.form-container input.side-left{
	border: 0px solid red;
	display:inline-block;
	font-size: inherit;
	vertical-align: middle;
	height: 45px;
	border-radius: 0.25rem 0 0 0.25rem;
	
	clear:left;
}

.form-container input.side-right{
	border: 0px solid red;
	display:inline-block;
	box-shadow: inset 0px 3px #e0e0e0;
	font-size: inherit;
	vertical-align: middle;
	height: 45px;
	border-radius: 0 0.25rem 0.25rem 0;
	
	clear:left;
}

.form-container input.placeholder-grey{
	background-color: #e0e0e0;
	box-shadow: inset 3px 3px #c8c8c8;
	font-size: inherit;
	cursor: default;
	outline:none;
}

.form-container .placeholder-grey::placeholder{
	color: black;
}

.form-container input::placeholder{
	
	color: #9e9e9e;
}

.control-group{
	padding: 0px;
	border: 0px solid green;
}

.form-control{
	width:90%;
}

.flex-v-center {
	display: block;
	align-items: left;
	border: 0px solid blue;
	width: 70%;
	margin: 0 auto;
	padding-bottom: 10px;
}

.remove, .add{
	text-align: center;
    width: 70px;
}
.row.button{
	width: 70%;
    margin: 0 auto;
}
#submitDiv{
	margin:0 auto;
	float:none !important;
	margin-top: 40px;
}
@media (min-width: 992px){
	.flex-v-center{
		display: flex;
		align-items: center;
		border: 0px solid blue;
	}
}

.submit-button, .add-entry-button{
    top: 20%;
    border-radius:5px;
    margin: 0 auto;
    height: 45px;
}

.submit-button{
	width: 150px; 
}

.add-entry-button{
  width: 175px;
  
}
/*error message*/
.help-block{
  font-size: 12px;
 	margin-top: 5px;
}


/*Check box*/

/* The container*/ 
label.checkbox {
	display: block;
	position: relative;
	cursor: pointer;

	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0px;
	width: 0px;
	border-radius: 5px;
}

.checkbox a{
	text-decoration: underline; 
	color: #464646;
}

.checkbox a:hover{
	color: #5b93d4;
}

/* Create a custom checkbox */
.checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 25px;
	width: 25px;
	background-color: #fff;
	box-shadow: inset 3px 3px #e0e0e0;
	border-radius: 5px;

}

/* On mouse-over, add a grey background color */
.checkbox:hover input ~ .checkmark {
	background-color: #ccc;
	box-shadow:none;
}

/* When the checkbox is checked, add a blue background */
.checkbox input:checked ~ .checkmark {
	background-color: #2196F3;
	box-shadow: none;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
	content: "";
	position: absolute;
	display: none;
}

/* Show the checkmark when checked */
.checkbox input:checked ~ .checkmark:after {
	display: block;
}

/* Style the checkmark/indicator */
.checkbox .checkmark:after {
	left: 9px;
	top: 4px;
	width: 8px;
	height: 16px;
	border: solid white;
	border-width: 0 3px 3px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

/* baby form */
#babyform{
	/*position:relative;
	top:-10px;*/
	opacity:0;
}

.nowrap{
	white-space: normal;
}

@media (min-width:768px){
	.nowrap{
		white-space: nowrap;
	}
}

/* postal autofill */


/*the container must be positioned relative:*/
.autocomplete {
  position: relative;
  display: inline-block;
  width:100%;
}

.autofill {
  position: relative;
  display: block;
}

.autofill input:read-only{
  background-color: white;
  cursor: default;
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  /*border-bottom: none;*/
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left:0; 
  right: 0;
  max-height:30vh;
  overflow-y:auto;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff; 
  color: #000;
  border-bottom: 1px solid #d4d4d4; 
}

/*when hovering an item:*/
.autocomplete-items div:hover {
  background-color: #e9e9e9; 
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
  background-color: #5d93d4 !important; 
  color: #ffffff !important; 
}


/* footer */
.footer {
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-top: lightgrey 1px solid;
  background-color: #fff;
  color: #000;


  /*to make footer stick at bottom*/
  /*bottom:0; 
  position:absolute; 
  width:100%;*/
}

.footer-nav{
  color:#000;
  text-decoration: none;
}

.footer-text-align{
  text-align: center;
}

.list-inline-item:not(:last-child) {
  margin-right: 0.2rem;
}

@media (min-width: 768px) {
  .footer-text-align{
    text-align: left;
  }
}

.copyright {
  background-color: #1a252f;
}

/*misc*/

@media (min-width:1761px){
  .mt-1761-5{
    margin-top: 3rem !important;
  }
}

@media (min-width:651px){
  .mt-651-4{
    margin-top: 1.5rem;
  }
}

.cursor-pointer{
  cursor:pointer;
}

.vl {
  border-right: 0px;
  margin-bottom: 16px;
}

@media (min-width: 992px){
  .vl{
    border-right: 2px solid lightgrey;
  }
}

.vr {
  border-right: 2px solid lightgrey;
}
.text-xl{
  font-size: 62px;
}
.text-lg{
	font-size: 48px;
}
.text-ml{
  font-size: 36px;
}
.text-md{
	font-size: 24px;
}
.text-sm{
	font-size: 16px;
}
.text-normal{
	font-size: 14px;
}
.text-xs{
	font-size: 12px;
}
@media (min-width: 768px){
  .text-md-xl{
    font-size: 62px;
  }
  .text-md-lg{
    font-size: 48px;
  }
  .text-md-ml{
    font-size: 36px;
  }
  .text-md-md{
    font-size: 24px;
  }
  .text-md-sm{
    font-size: 16px;
  }
  .text-md-normal{
    font-size: 14px;
  }
  .text-md-xs{
    font-size: 12px;
  }
}
@media (min-width: 992px){
  .text-lg-xl{
    font-size: 62px;
  }
  .text-lg-lg{
    font-size: 48px;
  }
  .text-lg-ml{
    font-size: 36px;
  }
  .text-lg-md{
    font-size: 24px;
  }
  .text-lg-sm{
    font-size: 16px;
  }
  .text-lg-normal{
    font-size: 14px;
  }
  .text-lg-xs{
    font-size: 12px;
  }
}
@media (min-width: 1500px){
  .text-xl-xl{
    font-size: 62px;
  }
  .text-xl-lg{
    font-size: 48px;
  }
  .text-xl-ml{
    font-size: 36px;
  }
  .text-xl-md{
    font-size: 24px;
  }
  .text-xl-sm{
    font-size: 16px;
  }
  .text-xl-normal{
    font-size: 14px;
  }
  .text-xl-xs{
    font-size: 12px;
  }
}

.top-50{
  top: 50px;
}

.top-30{
  top:30px;
}

.top-10{
  top:10px;
}

@media (min-width: 768px){
  .top-md-50{
    top: 50px;
  }

  .top-md-30{
    top: 30px;
  }

  .top-md-10{
    top: 10px;
  }
}


button:focus{
	outline:none;
}
button:target{
	outline:none;
}
button:active{
	outline:none;
}

.button-mw{
  text-align: center;
  position: relative;
  text-decoration: none;
  cursor: pointer;
  color: white;
}

.body-button-mw{
  display: block;
}

.body-button-mw:active {
  transform: translateY(4px);
}

.text-red{
  color:red;
}

.text-blue{
	color:#5d9ed4;
}

.text-black{
	color: #464646;
}

.text-grey{
	color:#6e6e6e;
}

.top-100{
	top: 100px;
}

.border-radius{
	border-radius: 10px;
}

.shadow{
	box-shadow: 0 0 10px 0 rgba(0,0,0,0.2);
}

.bold{
  font-weight: bold;
}

.vw100{
  width: 100vw;
}

.bg-mw{
  background-color:#5d9ed4;
  border:none;
  outline:none;
}

.bg-mw.button-mw:hover{
  background-color:#2152a4;
}

.bg-grey{
  background-color: #f3f3f3;
}

.bg-darkgrey{
  background-color: #999999;
  border:none;
  outline:none;
}

.bg-white{
  background-color: #ffffff;
}

.bg-lightgrey{
  background-color: #d5d0ca;
}

.bg-orange{
  background-color: #f26d24;
}

.bg-darkblue{
  background-color: #00528a;
}

.bg-green{
  background-color: #82c341;
}

.bg-lightgreen{
  background-color: #cbdb2f;
}

.bg-lightblue{
  background-color: #00aeef;
}

/*validation*/
.inline-validation{
  margin:0 auto; 
  text-align:center; 
  display:inline-block; 
  position:relative; 
  opacity:0;
  top:2em;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.inline-validation-success{
  color:#4ab018;
  top:0;
  opacity:1;
}
.inline-validation-error{
  color:tomato;
  top:0;
  opacity:1;
}

.validation{ 
  display:inline-block;
}

.validation::-ms-clear{
  display:none;
}

/* user dashboard */
/*edit profile button*/
section.profile{
	padding: 2rem 0;
}
.edit-profile-button{
	padding: 7px;
	width: 170px;
	border-radius: 80px;
	font-weight: 300px;
	outline:none;
	margin:0;
}

.title{
	font-weight: 900;
}

.table-responsive{
	overflow-x: auto;
}

  /* !important is needed sometimes */
 ::-webkit-scrollbar {
    width: 5px !important;
    -webkit-overflow-scrolling: auto;
    -webkit-appearance: none;
 }

  ::-webkit-scrollbar:horizontal {
    height: 5px;
  }

 /* Track */
::-webkit-scrollbar-track {
   -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3) !important;
   -webkit-border-radius: 5px !important;
   border-radius: 5px !important;
   -webkit-overflow-scrolling: auto;
 }

 /* Handle */
 ::-webkit-scrollbar-thumb {
   -webkit-border-radius: 5px !important;
   border-radius: 5px !important;
   background: #5d93d4 !important; 
   -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5) !important; 
   -webkit-overflow-scrolling: auto;

 }
 ::-webkit-scrollbar-thumb:window-inactive {
   background: #5d9ed4 !important; 
   -webkit-overflow-scrolling: auto;
 }


/*table{
	min-width: 575px;
	border-radius: 10px;
	box-shadow: 0 0 10px 2px #f3f3f3;
	text-align: center;
	margin: 0 auto !important;
	
}

table td{
	padding: 20px 0;
}


table th{
	height: 60px;
	font-weight: 700;
	background-color: #5d9ed4;
	text-align: center;
}

table tr th:nth-child(1),td:nth-child(1){ 
	padding: 0 15px;
}


table tr:first-child th:first-child{
	border-radius: 10px 0 0 0;

table tr:first-child th:last-child{
	border-radius: 0 10px 0 0;
}

table tr:last-child td:last-child{
	border-radius: 0 0 10px 0;
}

table tr:last-child td:first-child{
	border-radius: 0 0 0 10px;
}

table tr:nth-child(odd){background-color: #f3f3f3;}*/

/********************HEADER START*************************/
.headerTab {
  background-color: #fff;
  box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
  position: fixed;
  width: 100%;
  z-index: 3;
  top: 32px;
}

.headerTab ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background-color: #fff;
}

.headerTab li a {
  display: block;
  padding: 20px 20px;
  border-right: 1px solid #f4f4f4;
  text-decoration: none;
}

.headerTab li a:hover,
.headerTab .menu-btn:hover {
  background-color: #f4f4f4;
}

.headerTab .logo {
  display: block;
  float: left;
  font-size: 2em;
  padding: 10px 20px;
  text-decoration: none;
}

/* menu */

.headerTab .menu {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;
}

/* menu icon */

.headerTab .menu-icon {
  cursor: pointer;
  display: inline-block;
  float: right;
  padding: 28px 20px;
  position: relative;
  user-select: none;
}

.headerTab .menu-icon .navicon {
  background: #333;
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
}

.headerTab .menu-icon .navicon:before,
.headerTab .menu-icon .navicon:after {
  background: #333;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.headerTab .menu-icon .navicon:before {
  top: 5px;
}

.headerTab .menu-icon .navicon:after {
  top: -5px;
}

/* menu btn */

.headerTab .menu-btn {
  display: none;
}

.headerTab .menu-btn:checked ~ .menu {
  max-height: 240px;
}

.headerTab .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.headerTab .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.headerTab .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.headerTab .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.headerTab .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}

/* 48em = 768px */

@media (min-width: 48em) {
  .headerTab li {
    float: left;
  }
  .headerTab li a {
    padding: 20px 30px;
  }
  .headerTab .menu {
    clear: none;
    float: right;
    max-height: none;
  }
  .headerTab .menu-icon {
    display: none;
  }
}

.entry{
	margin-top:130px;
}
/********************HEADER END*************************/


/********************PAGINATION START*************************/
#clientPagination, #packagePagination, #servicePagination, #packageLogPagination, #serviceLogPagination{
  text-align: center;
}
#serviceLogPagination{
	margin-bottom: 50px;
}

/********************PAGINATION END*************************/

/*******************TABLE START***************************/
table {
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 0 auto;
  padding: 0;
  width: 90%;
  table-layout: fixed;
}

table caption {
  font-size: 1.5em;
  margin: .5em 0 .75em;
}

table tr {
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  padding: .35em;
}

table th,
table td {
  padding: .625em;
  text-align: center;
  word-wrap:break-word;
}

table th {
  font-size: .85em;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/*tr .highlight {
	background-color: #f9fafb;
}*/

.label_text{
	font-weight: 700;
}

td:empty::after{
  content: "\00a0";
}

@media screen and (max-width: 600px) {
  table {
    border: 0;
  }
  
  table th {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  table tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: .625em;
  }
  
  table td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: .8em;
    text-align: right;
  }
  
  table td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  table td:last-child {
    border-bottom: 0;
  }
  
  .addpackage-button, .addservice-button {
    margin-right: 25px !important;
	}
	
	input[type=button], .viewButton{
		margin: 0 auto;
		display: block;
	}
}
[data-status="GreenYellow"] {
	background-color: #ADFF2F;
}
[data-status="Yellow"] {
	background-color: #FFFF66;
}
[data-status="Orange"] {
	background-color: #FF6347;
}
[data-status="Red"] {
    background-color: #FF0000;
}
/***********************TABLE END***********************/

/***********************FORM START************************/
.flex-v-center{
	text-align: center;
}

.form-container label{
	margin-bottom: 0px;
}

#hiderDiv{
	margin-bottom: 50px;
}

.client-button{
	display: inline-block !important;
	height: 45px;
  width: 220px;
  font-size:18px;
}
.addpackage-button, .addservice-button{
	margin-right: 30px;
}
.package-button, .service-button{
	display: inline-block !important;
	height: 45px;
  width: 220px;
  font-size: 18px;
  border-radius: 5px;
}
.editpackage-button, .terminatepackage-button, .editservice-button, .addtopackage-button, .terminateservice-button, .suspendpackage-button, .suspendservice-button{
  margin-right: 30px;
}
#buttonsRow1{
  width:100%;
  text-align: center;
  margin-bottom: 25px;
}

#packageDetailDiv, #serviceDetailDiv, #clientDetailDiv, #content, .headerTab, .entry, .form-container, .form-control{
  font-size: 18px;
}
.text-center.form-title.text-ml.text-md-lg.bold.mt-5.mb-0{
  margin-top: 50px;
}

#recordTitle, #archiveTitle{
  margin-top: 130px;
  margin-bottom: 50px;
}

.help-block{
  width:70%;
  margin:0 auto;
}

.remarks_text{
	width: 800px;
    margin: 0 auto;
}
/***********************FORM END************************/

/*********ACNE PRO START*****************/

@media
only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5){
  html,
  body{
    width:100%;
    overflow-x:hidden;
  }
}

#acneprocontainer{
	position:relative;
}

body {
  width:100%;
  overflow-x:hidden;	
  overflow-y: auto;  
}

   
/*********ACNE PRO END*******************/

/**************LOGIN START*****************/
#loginDiv{
  width: 300px;
  border: solid 1px #777777;
  border-radius: 10px;
  margin:0 auto;
  margin-top: 100px;
}
#loginTitle{
  background-color: #FFFF99;
  color: #0569db;
  font-weight: 700;
  padding: 3px;
  text-align: center;
  display: block;
  margin: 0 auto;
  margin-top: 25px;
  width: 100px;
}
#loginInnerDiv{
  margin: 30px;
}
#loginLabel{
  margin: 0 auto;
  display: inline-block;
  text-align: left;
  font-size: 16px;
}
#loginInput{
  margin: 0 auto;
  display: inline-block;
  font-size: 16px;
  border:#666666 solid 1px;
  width: 100%;
  border-radius: 5px;
  padding-left: 5px;
}
#loginSubmit{
  margin: 0 auto;
  display: block;
  z-index: 2;
  color: #fff;
  cursor: default;
  background-color: #337ab7;
  border-color: #337ab7;
  border-radius: 3px;
}
#loginError{
  font-size: 12px;
  color: #cc0000;
  margin-top: 10px;
  text-align: center;
}
/**************LOGIN END*****************/
