
body {margin:0; font-size: 15px;}
/* BASIC DESIGN MENU AND BOX FOR ALL PAGE */
.modal-header {
	min-height: 5px;
	padding-top: 7px;
	padding-bottom: 7px;
}			
@media screen and (min-width: 768px) {
	.modal-dialog {
		padding-top: 10px;
		padding-bottom: 10px;
	}
	.modal-content {
		-webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
		box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
	}
}	
.topnav {
  overflow: hidden;
  background-color: #f1f1f1;
  border-bottom: 3px solid #000;
  margin-right: 18px;
  margin-left: 18px;
}
.topnav a {
  float: right;
  display: block;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  font-weight: bold;
}
.topnav a:hover {
  border-bottom: 3px solid #fff;
    background: #000;
	color: white;
}
.topnav a.active {
    background: #000;
	color: white;	
  border-bottom: 3px solid #fff;
}
.modal-header {
	border-top-right-radius: 6px;
	border-top-left-radius: 6px;
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#54b4eb), color-stop(60%, #2fa4e7), to(#1d9ce5));
  background-image: -webkit-linear-gradient(#54b4eb, #2fa4e7 60%, #1d9ce5);
  background-image: -moz-linear-gradient(top, #54b4eb, #2fa4e7 60%, #1d9ce5);
  background-image: linear-gradient(#54b4eb, #2fa4e7 60%, #1d9ce5);
  background-repeat: no-repeat;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff54b4eb', endColorstr='#ff1d9ce5', GradientType=0);
  border-bottom: 1px solid #178acc;
  -webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}
.modal-title {
	color: #fff;
}

.modal-content {
    background-color: #ffffff;
}
.topnav img { float: left; }
#nav { padding-top: 18px; }
#navMy {
	font-size: 32px;
	cursor:pointer; 
	float: right;
	padding-top: 12px;
}
/* SMALLER SCREEN */
.overlay {
  height: 0%;
  width: 100%;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0, 0.9);	/* when small size, the color of menu display */
  overflow-y: hidden;
  transition: 0.5s;
}
.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}
.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 22px;
  color: #fff;
  display: block;
	font-family:'Lily Script One', cursive;
  transition: 0.3s;
}
.overlay a:hover, .overlay a:focus, .overlay a:active {
	color: #fff;
	border-bottom: 3px solid #7BAED9;
}
.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}
@media only screen and (min-width: 960px) {
	#nav { display: block; }
	#navMy { display: none; }	
	.modal-dialog {
		width: 100%;
	}
}
@media only screen and (max-width: 960px) {
	#nav { display: none; }
	#navMy { display: block; }				
}
@media screen and (max-width : 670px){
    /*Make dropdown links appear inline*/
    div {
        position: static;
    }
    /*Make all menu links full width*/
    .topnav a {
        width: 100%;
    }
}


/* CHECKBOX */
/* The container */
.containers {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin-left: 13px;
  margin-top: 7px;
}
/* Hide the browser's default checkbox */
.containers input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}
/* On mouse-over, add a grey background color */
.containers:hover input ~ .checkmark {
  background-color: #ccc;
}
/* When the checkbox is checked, add a blue background */
.containers input:checked ~ .checkmark {
  background-color: #2196F3;
}
/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
/* Show the checkmark when checked */
.containers input:checked ~ .checkmark:after {
  display: block;
}
/* Style the checkmark/indicator */
.containers .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}