
body,h2,h4,h5,h6 {font-family: "Prompt", sans-serif}
.topic {font-family: "Prompt", sans-serif; font-size: 25px; text-align: left;}
.w3-row-padding img {margin-bottom: 12px}
/* Set the width of the sidebar to 120px */
.w3-sidebar {width: 240px; background-color: #120113; border-color: ; border-style: solid; border-width: .5px;}
/* Add a left margin to the "page content" that matches the width of the sidebar (120px) */
#main {margin-left: 240px}
/* Remove margins from "page content" on small screens */
@media only screen and (max-width: 602px) {#main {margin-left: 0}}



h3 {font-family: "Noto Sans Thai"; font-size:30px; color: #120113;}
#hero {
  width: 100%;
  background: url("../img/hero-bg.jpg") top right no-repeat;
  background-size: cover;
  position: relative;
}

.bb {
  width: 100%;
  height: auto;
  border-radius: 20px;
  border-color: #ffffff;
  border-style: solid;
  box-shadow: 2px 2px 6px 0px #aaa5aa;
  padding: 20px;
}

.icoloractive {
  background-color: #120113;
  color: white;
}
.icolor2 {
  padding: 30px;
  color: white;
}

.bgcolor1 {
  background-color: #ffd4fb;
}
.bgcolor2 {
  background-color: #ffcbb0;
}

a {
  font-family: "Prompt", sans-serif;
  font-size: 15px;
  text-decoration:none ;
  text-align: center;
}

a:hover {
  font-family: "Prompt", sans-serif;
  font-size: 15px;
  text-decoration:none ;
  text-align: center;
}

button a:active {
  font-family: "Prompt", sans-serif;
  font-size: 15px;
  text-decoration:none ;
  text-align: center;
  background-color: red;
}
.indent {
  text-indent: 10px;
}
button {
  font-family: "Prompt", sans-serif;
  font-size: 15px;
  text-align: left;
}

button::after {
  font-family: "Prompt", sans-serif;
  font-size: 15px;
  text-align: left;
}



/*------image profile -----------*/
.imgcontainer {
  position: relative;
  width: 60%;
}

.imgimage {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  border-color: #ffffff;
  border-style: solid;
  box-shadow: 5px 5px 0px  0px  #120113;
}

.imgoverlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  /*-background-image: linear-gradient(to top right, #be0bbd, white);*/
  background-image: linear-gradient(to top, #d15ad1, #ff8102
  );
  opacity: 100%;
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: .5s ease;
  border-radius: 20px;
  overflow: hidden;
}

.imgcontainer:hover .imgoverlay {
  height: 100%;
}

.imgtext {
  white-space: nowrap; 
  color:white;
  font-size:12px;
  position: absolute;
  overflow: hidden;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  line-height: 20px;
}

/*------more navebar link bottom -----------*/
.header {
  /*background-image: linear-gradient(to top, #f4ce35, #f9b419     );
 background: url("../images/bg.jpg") bottom left no-repeat; */
background-image: radial-gradient(#f4ce35, #f9b419, #f9b419);
  padding: px;
  align-content: center;
  height: 100vh;
  background-size: cover;
  position: relative;
}
.headercenter {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  align-content: center;

}


#navbarbottom {
  overflow: hidden;
  background-color:  #120113;
}

#navbarbottom a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 12px 10px;
  text-decoration: none;
  font-size: 14px;
}

#navbarbottom a:hover {
  background-color: #ddd;
  color: black;
}

#navbarbottom a.active {
  background-color: #be0bbd;
  color: white;
}


.content {
  padding: 16px;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1;
}

.sticky + .content {
  padding: ;
}

.hide {
position: fixed;
top: 0px;
right: 0px;
z-index: 2;
color: white;
}


.blue{
  background-color: #be0bbd;
}

.social-links {
  color:  #120113;
}

.social-links a {
  font-size: 24px;
  display: inline-block;
  color: greylight;
  line-height: 1;
  margin-right: 20px;
  transition: 0.3s;
}

.social-links a:hover {
  color: lightgrey;
}

/* #navfooter {
  overflow: hidden;
  background-color:  #120113;
  margin-bottom: auto;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 30px;
  font-size: 14px;
  padding: 6px;
  color: white;
  text-align: center;
} */

input[type=search] {
  background-color: #f6f6f6;
  color: #0d0d0d;
  padding: 8px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  width: 80%;
  border: 2px solid #f6f6f6;
  border-radius: 100px;
  margin-top: 10px;
  margin-bottom: 20px;
  margin-left: 30px;
}


/* Simple CSS3 Fade-in Animation */
.underlineHover:after {
  display: block;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 2px;
  background-color: #be0bbd;
  content: "";
  transition: width 0.2s;
}

.underlineHover:hover {
  color: #0d0d0d;
}

.underlineHover:hover:after{
  width: 100%;
}

/* OTHERS */

*:focus {
    outline: none;
} 

#icon {
  width:60%;
}

.zoom {
  padding: 20px 20px 20px 20px;
  background-color: whitesmoke;
  transition: transform .1s; /* Animation */
  border-radius: 20px;
  margin-top: 20px;
}
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.zoom:hover {
  transform: scale(0.9);
  border-style: solid;
  border-color: #be0bbd;
  border-width: 5px;
  color: #111;
}


.zoom2 {
  transition: transform .2s; /* Animation */
  margin-top: 10px;
  filter: invert();
}
.zoom2:hover {
  transform: scale(1.3);
  filter: invert()
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background-image: linear-gradient(to top ,  #120113, #333);
  color: white;
  font-size: 14px;
  text-align: center;
  padding: 20px 0;
  width: 100%;
}

#footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  font-family: "Prompt", sans-serif;
  padding: 0;
  margin: 0 0 15px 0;
  font-style: bold;
}

#footer p {
  font-size: 15;
  padding: 0;
  margin: 0 0 20px 0;
}

#footer .social-links {
  margin: 0 0 20px 0;
}

#footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #be0bbd;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .social-links a:hover {
  background: #ff8102;
  color: #fff;
  text-decoration: none;
}

#footer .copyright {
  margin: 0 0 5px 0;
}

#footer a .credits {
  font-size: 9px;
}

/*--------------------------------------------------------------
# manager
--------------------------------------------------------------*/
/* Create three equal columns that floats next to each other */
.column {
  width: 33.33;
  height: 33.33;
  padding: 0px;
  align-items: center ;
  /* Should be removed. Only for demonstration */
}
/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}
.mam{
  width: 33.33%;
  height: auto;
  padding:  10px;
}

/* gallery */
div.gallery {
  border: 1px solid #ccc;
  padding: 20px;
  margin-top: 10px;
}


div.gallery:hover {
  border: 1px solid #777;
}

div.gallery img {
  width: 100%;
  height: 150px;
  resize: none;
  
}


div.desc {
  padding: 15px;
  text-align: center;
}

* {
  box-sizing: border-box;
}

.responsive {
  padding: 0 6px;
  float: left;
  width: 24.99999%;
}

@media only screen and (max-width: 700px) {
  .responsive {
    width: 49.99999%;
    margin: 6px 0;
  }
}

@media only screen and (max-width: 500px) {
  .responsive {
    width: 100%;
  }
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

#modal {
  border-radius: 200px   ;
}

.modal-header {
  font-family: "Noto Sans Thai";
  background-color: #be0bbd;
  color: white !important;
  text-align: center;
  font-size: 20px;
  height: 50px;
  align-content: center;
}

.modal-body {
  background-color: white;
  text-align: center;
  font-size: 12px;
  height: 100px;
  padding: 100px;
}
.modal-footer {
  background-color: #f9f9f9;
}
.mySlides {display: none;}
.imgslide {vertical-align: middle;border-radius: 50px;}

/* Slideshow container */
.slideshow-container {
  max-width: 100%;
  position:relative;
  margin: auto;
  
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #be0bbd;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 2s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 602px) {
  .text {font-size: 11px}
}

</style>
