/* -- default style sheet*/
/* -- korat legal -- */

html { font-size: 16px; }

.content {
  max-width: 80vw;
  text-align: left;
}


body
{
    max-width: 100vw;
    background-color: #ddd;
    color: black;
    font-family:Arial, Helvetica, sans-serif
/*
    	margin: auto;
	text-align: center;
 */
}

header
{
    max-width: 100vw;
    width: auto;
    height: 20vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: #666;
}

footer
{
  max-width: 100vw;
  width: auto;
  background-color: darkgrey;
  padding: 10px;
  font-size: 22px;
  text-align: center;
  color: black;}
  display: flex;
}

/* Container for flexboxes */
section {
  display: flex;
}

nav
{
   width: 35vw;
    height: 60vw;
    display: flex;
    flex-direction: column;
	float: left;
    background: lightgray;
    flex-direction: column;
        align-items: center;
    justify-content: center;
}

@media screen and (max-width: 500px) {
nav
{
    width: 90vw;
    height: 60vw;
    display: flex;
	 float: left;
    background-color: lightgray;
    text-align: left;
    flex-direction: row;
    justify-content: space-between;
    padding: 5vw;
}
}

nav ul {
	padding: 0;
	margin: 1vw;
	list-style-type: none;
}


@media screen and (max-width: 500px) {
nav ul {
	padding: 5;
	list-style-type: none;
}
}

nav ul li
{
font-size: calc(1rem + 1vw);
line-height: calc(1rem + 2.0vw);
}

@media screen and (max-width: 500px) {
nav ul li
{
font-size: 5vw;
line-height: 9vw;
}
}

@media screen and (min-width: 1000px) {
  nav ul li
{
font-size: calc(1rem + 1.0vw);
line-height: calc(1rem + 3vw);
}
}

article
{
 	width: 90vw;
	display: flex;
	flex-direction: column;
	text-align: center;
	float: center;
	margin: auto auto auto auto;
	justify-content: center;
	align-items: center;
}

.largetext {
    max-width: 75ch;
    font-size: calc(1rem + 1.0vw);
    text-align: left;
    }

@media screen and (max-width: 500px) {
.largetext {
    max-width: 75ch;
    font-size: calc(1rem + 1.5vw);
    text-align: left;
    }
}


@media screen and (min-width: 1600px) {
  .largetext {
    max-width: 75ch;
    font-size: 2rem;
    text-align: left;
    }
}

.image-wrapper
{

    display: flex;
    height: 60vw;
    align-items: center;
    justify-content: center;
    background: darkgray;

}

@media screen and (max-width: 500px) {
.image-wrapper
{
    max-width: 70vw;
    max-height: 70vw;

    display: none;
    align-items: center;
    justify-content: center;
    background: light-gray;
}
}

.responsive

{
    display: flex;
    max-width: 50vw;
    max-height:50vw;
    height: auto;
    margin: auto;
}

.responsive_map

{
    display: box;
    max-width: 70vw;
    max-height: 70vw;
    height: auto;
    margin: auto;
}

/*
.responsive_left
{
    max-width: 65vw;
    max-height: 65vw;
    height: auto;
    width: 30vw;
	margin-right: auto;
    margin-left: auto;
    margin-top: auto;
    margin-bottom: auto;
}

.responsive_center

{
    display: box;
    max-width: 99vw;
    max-height: 65vw;
    height: auto;
    margin: auto;
}
 */

 ul.aboutlist {
	font-size: calc(1rem + .5vw);
	line-height: calc(1rem + 2vw);
	text-align: left;
	list-style: none ;
	padding-left: 10ch;
	text-indent: -5ch;
	margin-left: 1vw;
	max-width: 75ch;
}

 ul.aboutlist_th {
	font-size: calc(1rem + .5vw);
	line-height: calc(1rem + 2vw);
	text-align: left;
	list-style: bullet;
	padding-left: 10ch;
	text-indent: -5ch;
	margin-left: 1vw;
	max-width: 75ch;
}



 ul.trainlist {

   margin: 0 auto;
	font-size: calc(1rem + .5vw);
	line-height: calc(1rem + 2vw);
	list-style: none ;
   margin-left: 3vw;
}

 ul.trainlist_th {

   margin: 0 auto;
	font-size: calc(1rem + .5vw);
	line-height: calc(1rem + 2vw);
	list-style: bullet;
   margin-left: 3vw;
   max-width: 75ch;
   text-align: left;
}


ul.biglist {
	font-size: calc(1rem + .5vw);
	line-height: calc(1rem + 2vw);
	text-align: left;
	 max-width: 75ch;
}


.services_top {
    max-width: 90vw;
    height: auto;
    margin: 1vw;
    display: flex;
    flex-wrap: nowrap;
    background-color: #ddd;
    text-align: left;
    flex-direction: row;
    align-content: flex-begin;
    justify-content: space-around;
    align-items: stretch;
	justify-content: center;


}

@media screen and (max-width: 500px) {
.services_top
{
    max-width: 90vw;
    height: auto;
    margin: 2vw;
    display: flex;
    flex-wrap: wrap;
    background-color: #ddd;
    text-align: left;
    flex-direction: column;
    align-content: flex-begin;
    justify-content: space-between;
    align-items: stretch;

}
}

.services1 {
	float:left;
	width: 25vw;
	font-size: calc(1rem + 1vw);
}


@media screen and (max-width: 500px) {
.services1 {
	float:left;
	width: 80vw;
	font-size: calc(1rem + 1vw);
}
}


ul:before{
    content:attr(aria-label);
	font-size: calc(1rem + 1vw);
    color: darkblue;
    font-weight:bold;
    margin-left:0;

}

@media screen and (max-width: 500px) {
ul:before{
    content:attr(aria-label);
	font-size: calc(1rem + 1vw)
    color: darkblue;
    font-weight:bold;
    margin-left:0;
}
}

.container {
  display: flex;
  justify-content: space-between;
}


.nav{
    border:1px solid #ccc;
    border-width:1px 0;
    list-style:none;
    margin:0;
    padding:0;
    text-align:center;
    font-size:22px;
}
.nav li{
    display:inline;
}
.nav a{
    display:inline-block;
    padding:10px;
}


article.nav
{
	width: 400px;
	display: block;
	float: right;
}

table.land_title {
	border-color: black;
	border-width: 0 0 1px 1px;
	border-style: solid;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	font-size: 14px;

}

table.land_title th {
    border-color: black;
    border-width: 1px 1px 0 0;
    border-style: solid;
    margin: 0;
    padding: 4px;
	font-size: 16px;
	color: #FFFFFF;
}

table.land_title td {
    border-color: black;
    border-width: 1px 1px 0 0;
    border-style: solid;
    margin: 0;
    padding: 1px;

}


A:link {color:black}
A:active {color:white}
A:visited {color:blue}
A:hover {color:red}

p.italic {font-style: italic}
p.centered {text-align: center;}
p.left {text-align: left;}
p.left {text-align: left;}
p.right {text-align: right}
p.italic_left{text-align: left; font-style: italic;}
p.italic_center{text-align: center; font-style: italic;}
p.huge{font-size: 5vw; color:white; margin-bottom: 0; margin-top: 3vw;}
p.huge1{font-size: 5vw; color:white; margin-bottom: 0; margin-top: 0;}
p.big{font-size: 3vw; color:white; margin-bottom: 5; margin-top: 0;}
h3 	{text-align: center;}
h1 {
text-align: center;
font-size: calc(1rem + 1vw);
}
h4 {text-align: center;}
p.map {font-size: calc(1rem + 1vw);}

img.alignright
{
	float: right;
	margin-left: 10px;
}


img.alignleft
{
display:block;
float:left;
}


.lineqr{float:right;height:64px;margin:0;}

.fblogo {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    height: 64px;
}

.overlay {
   background:transparent;
   position:relative;
   width:640px;
   height:480px; /* your iframe height */
   top:480px;  /* your iframe height */
   margin-top:-480px;  /* your iframe height */
}

.flex-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60vw;
  background-color: #ddd;
}

.flex-container>div {
  background-color: #ddd;
  color: white;
  width: 70vw;
  height: 52.5vw;
}


.iframe-container
{
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 75%;
}

.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: 0;
}







