
@font-face {
    font-family: 'uacm_th';
    src: url('https://www.uacm.co.th/inc/font/uacm_th.ttf?') format('truetype'),
    	 url('https://www.uacm.co.th/inc/font/uacm_th.woff?') format('woff'),
         url('https://www.uacm.co.th/inc/font/uacm_th.ttf?') format('truetype'),
         url('https://www.uacm.co.th/inc/font/uacm_th.svg#uacm_th?') format('svg');
    	 
}



* {
  margin: 0;
  padding: 0;
  }

html {
  background: #fff;
  }

body{ font-family: uacm_th; }

.rslides {  margin: 0 auto; height:400px; }

.rslides_container {
  margin: 0px;
  position: relative;
  float: left;
  width: 100%; 

	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;

  }

.rslides1_nav {
  position: absolute;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  top: 50%;
  left: 0;
  z-index: 99;
  opacity: 0.7;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
  height: 61px;
  width: 38px;
  background: transparent url("themes.gif") no-repeat left top;
  margin-top: -45px;
  }

.rslides1_nav:active {
  opacity: 1.0;
  }

.rslides1_nav.next {
  left: auto;
  background-position: right top;
  right: 0;
  }

.rslides2_nav {
  position: absolute;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  top: 0;
  left: 0;
  display: block;
  background: #fff; /* Fix for IE6-9 */
  opacity: 0;
  filter: alpha(opacity=1);
  width: 48%;
  text-indent: -9999px;
  overflow: hidden;
  height: 91%;
  }

.rslides2_nav.next {
  left: auto;
  right: 0;
  }

.rslides3_nav {
  position: absolute;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  opacity: 0.6;
  text-indent: -9999px;
  overflow: hidden;
  top: 0;
  bottom: 0;
  left: 0;
  background: #000 url("themes.gif") no-repeat left 50%;
  width: 38px;
  }

.rslides3_nav:active {
  opacity: 1.0;
  }

.rslides3_nav.next {
  left: auto;
  background-position: right 50%;
  right: 0;
  }

.rslides4_nav {
  position: absolute;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  opacity: 0.6;
  text-indent: -9999px;
  overflow: hidden;
  top: 0;
  bottom: 0;
  left: 0;
  background: #000 url("themes.gif") no-repeat left 50%;
  width: 38px;
  }

.rslides4_nav:active {
  opacity: 1.0;
  }

.rslides4_nav.next {
  left: auto;
  background-position: right 50%;
  right: 0;
  }


.rslides1_nav:focus,
.rslides2_nav:focus,
.rslides4_nav:focus,
.rslides3_nav:focus {
  outline: none;
  }

.rslides_tabs {
  margin-top: 10px;
  text-align: center;
  }

.rslides_tabs li {
  display: inline;
  float: none;
  _float: left;
  *float: left;
  margin-right: 5px;
  }

.rslides_tabs a {
  text-indent: -9999px;
  overflow: hidden;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  background: #ccc;
  background: rgba(0,0,0, .2);
  display: inline-block;
  _display: block;
  *display: block;
  -webkit-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  -moz-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  width: 9px;
  height: 9px;
  }

.rslides_tabs .rslides_here a {
  background: #222;
  background: rgba(0,0,0, .8);
  }

.caption1 {
	top: 70px; left: 0; padding: 30px; text-align: left; background: rgba(0, 66, 143, 1.0);
	font-size:42px; color:#fff; font-weight:bold;
}

.caption2 {
	top: 100px; right: 0; padding: 30px; text-align: right; background: rgba(247, 141, 30, 1.0);
	font-size:42px; color:#fff; font-weight:bold;
}

.caption3 {
	top: 150px; left: 0; padding: 30px; text-align: left; background: rgba(141, 198, 63, 1.0);
	font-size:42px; color:#fff; font-weight:bold;
}


.caption4 {
	top: 150px; left: 0; padding: 30px; text-align: left; background: rgba(247, 141, 30, 1.0);
	font-size:42px; color:#fff; font-weight:bold;
}

.caption1,
.caption2,
.caption3,
.caption4 {
	position: absolute; display: block; width:auto; text-decoration:none;
	font-family: uacm_th; 
	/* Fade Transition */
    -moz-transition:background 0.6s;  ease-out;
    -webkit-transition:background 0.6s;  ease-out;
    -o-transition:background 0.6s;  ease-out;
    transition:background 0.6s;  ease-out;

}

.link1,
.link2,
.link4,
.link3 {
	text-decoration:none;
}



.link1 :hover {
	background: rgba(0, 66, 143, 0.7);
}
.link2 :hover {
	background: rgba(247, 141, 30, 0.7);
}
.link3 :hover {
	background: rgba(141, 198, 63, 0.7);
}
.link4 :hover {
	background: rgba(247, 141, 30, 0.7);
}

.link1 :hover ,
.link2 :hover ,
.link4 :hover ,
.link3 :hover {

	/* Fade Transition */
    -moz-transition:background 0.6s;  ease-out;
    -webkit-transition:background 0.6s;  ease-out;
    -o-transition:background 0.6s;  ease-out;
    transition:background 0.6s;  ease-out;
}


@media screen and (max-width: 600px) {
  .github {
    display: none;
  }
}

.centered-btns_nav {
  z-index: 3;
  position: absolute;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  top: 50%;
  left: 0;
  opacity: 0.7;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
  height: 61px;
  width: 38px;
  background: transparent url("themes.gif") no-repeat left top;
  margin-top: -45px;
  }

.centered-btns_nav:active {
  opacity: 1.0;
  }

.centered-btns_nav.next {
  left: auto;
  background-position: right top;
  right: 0;
  }

.transparent-btns_nav {
  z-index: 3;
  position: absolute;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  top: 0;
  left: 0;
  display: block;
  background: #fff; /* Fix for IE6-9 */
  opacity: 0;
  filter: alpha(opacity=1);
  width: 48%;
  text-indent: -9999px;
  overflow: hidden;
  height: 91%;
  }

.transparent-btns_nav.next {
  left: auto;
  right: 0;
  }

.large-btns_nav {
  z-index: 3;
  position: absolute;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  opacity: 0.6;
  text-indent: -9999px;
  overflow: hidden;
  top: 0;
  bottom: 0;
  left: 0;
  background: #000 url("themes.gif") no-repeat left 50%;
  width: 38px;
  }

.large-btns_nav:active {
  opacity: 1.0;
  }

.large-btns_nav.next {
  left: auto;
  background-position: right 50%;
  right: 0;
  }

.centered-btns_nav:focus,
.transparent-btns_nav:focus,
.large-btns_nav:focus {
  outline: none;
  }

.centered-btns_tabs,
.transparent-btns_tabs,
.large-btns_tabs {
  margin-top: 10px;
  text-align: center;
  }

.centered-btns_tabs li,
.transparent-btns_tabs li,
.large-btns_tabs li {
  display: inline;
  float: none;
  _float: left;
  *float: left;
  margin-right: 5px;
  }

.centered-btns_tabs a,
.transparent-btns_tabs a,
.large-btns_tabs a {
  text-indent: -9999px;
  overflow: hidden;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  background: #ccc;
  background: rgba(0,0,0, .2);
  display: inline-block;
  _display: block;
  *display: block;
  -webkit-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  -moz-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  width: 9px;
  height: 9px;
  }


.centered-btns_here a,
.transparent-btns_here a,
.large-btns_here a {
  background: #222;
  background: rgba(0,0,0, .8);
  }