/*---------------------->History<----------------*/
.body_history {
  font-family: 'Noto Serif Thai', serif;
  font-weight: lighter;
  margin-left: 25px;
}

.crru {
  display: block;
  width: 30%;
  background-color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin-bottom: 25px;
}

header {
  border: 7px solid gray;
  width: 70%;
  margin-bottom: 30px;
}

article {
  border: 7px solid rgb(255, 165, 0);
  width: 80%;
  margin-left: 30px;
}

div,
b {
  margin-left: 8px;
  margin-bottom: 2px;
}

footer {
  margin-left: 25px;
}

/*---------------------->History<----------------*/

/*-----------------------------------------------*/

/*---------------------->index<------------------*/
.body_index {
  font-family: 'Noto Serif Thai', serif;
  font-weight: bold;
  background-image: url(./img/bg1.jpg);
  background-size: 2000px;
  background-repeat: no-repeat;
  margin: 0;
  padding: 0;
}

nav a,
a:link,
nav a:visited {
  text-decoration: none;
  color: white;
}

nav ul {
  text-align: center;
  list-style-type: none;
}

nav li {
  display: inline-block;
  margin-left: 25px;
}

nav a:hover {
  text-decoration: underline;
}

.bg_img {
  background-image: url(./img/bg4.jpg);
  padding: 5px;
  margin-left: 0;
  margin-right: 0;
}

.bottom_photo {
  width: 180px;
  height: 110px;
  background-color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin-bottom: 25px;
  transition: transform .2s;
}

.bottom_photo:hover {
  transform: scale(1.3);
}

.table_crru {
  position: absolute;
  text-align: center;
  border: 5px solid #ffa500;
  background-color: white;
  margin-top: 20px;
  margin-left: 50px;
}

.crru_banner {
  height: 100%;
  width: 150px;
  transition: transform .2s;
}

.crru_banner:hover {
  transform: scale(1.3);
}

iframe {
  position: absolute;
  top: 75px;
  left: 300px;
  bottom: 0px;
  width: 80%;
  height: 90%;
  border: none;
  margin-left: -36px;
}

td.grey {
  display: block;
  color: gray;
  background-color: grey;
  margin-left: 50px;
  margin-right: 50px;
  transition: transform .2s;
}

td.orange {
  display: block;
  color: #ffa500;
  background-color: #ffa500;
  margin-left: 50px;
  margin-right: 50px;
  margin-bottom: 25px;
  transition: transform .2s;
}

td.grey:hover {
  transform: scale(1.3);
}

td.orange:hover {
  transform: scale(1.3);
}

/*---------------------->index<-------------------*/

/*------------------------------------------------*/

/*---------------------->Location<----------------*/

/*.pt_1,.pt_2,.pt_3{
    width: 400px;
    height: 300px;
    background: #ffffff;
    padding: 15px 15px 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .3);
}
.pt_4,.pt_5,.pt_6{
    width: 400px;
    height: 300px;
    background: #ffffff;
    padding: 15px 15px 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .3);
    margin-top: 20px;
}
.body_location{
    margin: 0;
    padding: 0;
    margin-top: 7.9px;
    margin-left: 20px;
}
.pt_1:hover,.pt_5:hover,.pt_3:hover{
    background-color: gray;
}
.pt_4:hover,.pt_2:hover,.pt_6:hover{
    background-color: #ffa500;
}*/
.body_location {
  font-family: 'Noto Serif Thai', serif;
  font-weight: bold;
}

.polaroid {
  background: #fff;
  padding: 1rem;
  box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.2);
}

.item {
  width: 30%;
  display: inline-block;
  margin-top: 2rem;
}

.item .polaroid:before {
  content: '';
  position: absolute;
  z-index: -1;
  transition: all 0.35s;
}

.polaroid>img {
  max-width: 100%;
  margin-top: -5px;
  margin-right: 100px;
  width: 600px;
  height: 230px;
}

.caption {
  font-size: 1.8rem;
  text-align: center;
  line-height: 2em;
}

.item:nth-of-type(4n+1) {
  transform: scale(0.8, 0.8) rotate(5deg);
  transition: all 0.35s;
}

.item:nth-of-type(4n+1) .polaroid:before {
  transform: rotate(6deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  right: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0, 0, 0, 0.4);
}

.item:nth-of-type(4n+2) {
  transform: scale(0.8, 0.8) rotate(-5deg);
  transition: all 0.35s;
}

.item:nth-of-type(4n+2) .polaroid:before {
  transform: rotate(-6deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  left: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0, 0, 0, 0.4);
}

.item:nth-of-type(4n+4) {
  transform: scale(0.8, 0.8) rotate(3deg);
  transition: all 0.35s;
}

.item:nth-of-type(4n+4) .polaroid:before {
  transform: rotate(4deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  right: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0, 0, 0, 0.3);
}

.item:nth-of-type(4n+3) {
  transform: scale(0.8, 0.8) rotate(-3deg);
  transition: all 0.35s;
}

.item:nth-of-type(4n+3) .polaroid:before {
  transform: rotate(-4deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  left: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0, 0, 0, 0.3);
}

.item:hover {
  filter: none;
  transform: scale(1, 1) rotate(0deg) !important;
  transition: all 0.35s;
}

.item:hover .polaroid:before {
  content: '';
  position: absolute;
  z-index: -1;
  transform: rotate(0deg);
  height: 90%;
  width: 90%;
  bottom: 0%;
  right: 5%;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
  transition: all 0.35s;
}