/* Stylesheet for Amornmas web site, English
// (C) 2025 Amornmas BKK TH
*/
body {
  /*background-color: silver;*/
  color: gray;
  font-family: verdana, Roboto, Arial, Helvetica, Sans-Serif;
  font-size: 16px;
  text-decoration: none;
  margin: 8px;
  width: 940px;
  line-height: 140%;
}

h1, h2, h3, h4, h5, h6{
  color: navy;
}

h1 {
  text-align: center;
}

p.intro {
  margin: 2% 15%;
  text-align: center;
  font-weight: bold;
}
p.caption {
  text-align: center;
  font-weight: bold;
}

.navbar {
  overflow: hidden;
  background-color: #333;
  color: white;
  font-size: 16px;
}

.navbar a {
  float: left;
  padding: 14px 16px;
  color: white;
  text-align: center;
  text-decoration: none;
}
.navbar a:hover {
  text-decoration: underline;
}
.navbar .current, .dropdown-content .current {
  color: #CA9939;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  margin: 0;
  border: none;
  outline: none;
  padding: 16px 16px 4px 16px; /* top right bottom left*/
  background-color: inherit;
  color: white;
  font-size: 16px;
  font-family: inherit;
}
.dropdown:hover .dropbtn {
  text-decoration: underline;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 16px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}
.dropdown-content a {
  float: none;
  display: block;
  padding: 6px 12px;
  color: black;
  text-decoration: none;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #bbb;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.footer {
  overflow: hidden;
  background-color: #333;
  color: white;
  font-size: 16px;
  text-align: center;
}
.footer a {
  padding: 14px 16px; /* top/bottom left/right */
  color: white;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;  
}

* {
  box-sizing: border-box;
}

.colright50 {
  float: right;
  padding: 5px;
  width: 50%;
}
.colleft50 {
  float: left;
  width: 50%;
  padding: 5px;
}

.row:after {
  content: "";
  clear: both;
  display: table;
}

.gallery25 {
  float: left;
  /*border: 1px solid #ccc;*/
  border: none;
  padding: 8px;
  width: 25%;
}

.gallery25:hover {
  border: 1px solid #777;
}

.gallery33 {
  float: left;
  /*border: 1px solid #ccc;*/
  border: none;
  padding: 8px;
  width: 33%;
}

.gallery33:hover {
  border: 1px solid #777;
}

div.desc {
  padding: 15px;
  text-align: center;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.btn {
  display: inline-block;
  cursor: pointer;
  margin: 4px 2px 4px 20px;
  border: none;
  border-radius: 4px;
  padding: 10px;
  background-color: #CA9939; /* gold */
  color: white;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
}
