@media only screen and (min-width: 1000px) {

    #pageBanner{
      width: 100%;
      height: 100px;
      line-height: 100px;
      float: left;
      margin: 150px 0 0 0;
      padding: 0;
      display: block;
      opacity: 1;
      color: red;
      font-family: 'Kanit', sans-serif;
      text-align: center;
      font-size: 30px;
      -webkit-text-stroke: 1px black;
         color: white;
         text-shadow:
             3px 3px 0 #000,
           -1px -1px 0 #000,
            1px -1px 0 #000,
            -1px 1px 0 #000,
             1px 1px 0 #000;
         color: white;
      background-size: cover;
      background-position: center;
      background-image: url('../img/banners/aboutUsBanner1_tiny.jpg');
    }
    #pageBanner h1{
      width: 100%;
      height: 100px;
      line-height: 100px;
      background-color: ;
      float: left;
      display: block;
      margin: 0;
      padding: 0;
      font-family: 'Kanit', sans-serif;
      text-align: center;
      font-size: 50px;
    }

    .container {
      margin: 160px 15% 50px 15%;
      position: relative;
      width: 70%;
      height: 0;
      float: left;
      padding-bottom: 40%;
      user-select: none;
      background-color: #1c1c1c;
      box-shadow: 0 11px 22px rgba(0, 0, 0, 0.2), 0 7px 7px rgba(0, 0, 0, 0.24);
    }
    .container input {
      display: none;
    }
    .container .slide_img {
      position: absolute;
      width: 100%;
      height: 100%;
      z-index: -1;
    }
    .container .slide_img img {
      width: inherit;
      height: inherit;
    }
    .container .slide_img .prev, .container .slide_img .next {
      width: 12%;
      height: inherit;
      position: absolute;
      top: 0;
      background-color: rgba(0, 0, 0, 0.2);
      z-index: 99;
      transition: .45s;
      cursor: pointer;
      text-align: center;
    }
    .container .slide_img .next {
      right: 0;
    }
    .container .slide_img .prev {
      left: 0;
    }
    .container .slide_img .prev:hover, .container .slide_img .next:hover {
      transition: .3s;
      background-color: rgba(0, 0, 0, 0.6);
    }
    .container .slide_img .prev span, .container .slide_img .next span {
      position: absolute;
      width: 0px;
      height: 0px;
      border: solid 20px;
      top: 50%;
      transform: translateY(-50%);
    }
    .container .slide_img .prev span {
      border-color: transparent #fff transparent transparent;
      right: 35%;
    }
    .container .slide_img .next span {
      border-color: transparent transparent transparent #fff;
      left: 35%;
    }
    .container #nav_slide {
      width: 100%;
      bottom: 12%;
      height: 11px;
      position: absolute;
      text-align: center;
      z-index: 99;
      cursor: default;
    }
    .container #nav_slide .dots {
      top: -5px;
      width: 18px;
      height: 18px;
      margin: 0 3px;
      position: relative;
      border-radius: 100%;
      display: inline-block;
      background-color: rgba(0, 0, 0, 0.6);
      transition: .4s;
      cursor: pointer;
    }
    .container #nav_slide #dot1:hover {
      background: green;
    }
    .container #nav_slide #dot2:hover {
      background: green;
    }
    .container #nav_slide #dot3:hover {
      background: green;
    }
    .container #nav_slide #dot4:hover {
      background: green;
    }
    .container #nav_slide #dot5:hover {
      background: green;
    }
    .container #nav_slide #dot6:hover {
      background: green;
    }
    .container #nav_slide #dot7:hover {
      background: green;
    }
    .container #nav_slide #dot8:hover {
      background: green;
    }
    .container #nav_slide #dot9:hover {
      background: green;
    }
    .container #nav_slide #dot10:hover {
      background: green;
    }
    .container #nav_slide #dot11:hover {
      background: green;
    }
    .container #nav_slide #dot12:hover {
      background: green;
    }
    .container #nav_slide #dot13:hover {
      background: green;
    }

    #i1:checked ~ #one,
    #i2:checked ~ #two,
    #i3:checked ~ #three,
    #i4:checked ~ #four,
    #i5:checked ~ #five,
    #i6:checked ~ #six,
    #i7:checked ~ #seven,
    #i8:checked ~ #eight,
    #i9:checked ~ #nine,
    #i10:checked ~ #ten,
    #i11:checked ~ #eleven,
    #i12:checked ~ #twelve,
    #i13:checked ~ #thirteen {
      z-index: 9;
      animation: scroll 1s ease-in-out;
    }

    #i1:checked ~ #nav_slide #dot1 {
      background: orange;
    }

    #i2:checked ~ #nav_slide #dot2 {
      background: #2196F3;
    }

    #i3:checked ~ #nav_slide #dot3 {
      background: orange;
    }

    #i4:checked ~ #nav_slide #dot4 {
      background: #2196F3;
    }
    #i5:checked ~ #nav_slide #dot5 {
      background: orange;
    }

    #i6:checked ~ #nav_slide #dot6 {
      background: #2196F3;
    }

    #i7:checked ~ #nav_slide #dot7 {
      background: orange;
    }

    #i8:checked ~ #nav_slide #dot8 {
      background: orange;
    }

    #i9:checked ~ #nav_slide #dot9 {
      background: orange;
    }

    #i10:checked ~ #nav_slide #dot10 {
      background: orange;
    }

    #i11:checked ~ #nav_slide #dot11 {
      background: orange;
    }

    #i12:checked ~ #nav_slide #dot12 {
      background: orange;
    }

    #i13:checked ~ #nav_slide #dot13 {
      background: orange;
    }


    @keyframes scroll {
      0% {
        opacity: .4;
      }
      100% {
        opacity: 1;
      }
    }
    @media screen and (max-width: 685px) {
      .container {
        border: none;
        width: 100%;
        height: 0;
        padding-bottom: 55%;
      }
      .container .slide_img .prev, .container .slide_img .next {
        width: 15%;
      }
      .container .slide_img .prev span, .container .slide_img .next span {
        border: solid 12px;
      }
      .container .slide_img .prev span {
        border-color: transparent #fff transparent transparent;
      }
      .container .slide_img .next span {
        border-color: transparent transparent transparent #fff;
      }
      .container #nav_slide .dots {
        width: 12px;
        height: 12px;
      }
    }
    .yt {
      margin: 0 auto;
      margin-top: 30px;
      width: 80px;
      height: 40px;
      border-radius: 4px;
      text-align: center;
      background: #2196F3;
      box-shadow: 0 11px 22px rgba(0, 0, 0, 0.2), 0 7px 7px rgba(0, 0, 0, 0.24);
      transition: .4s;
      opacity: .4;
    }
    .yt a {
      position: relative;
      text-decoration: none;
      color: #fff;
      font-size: 23px;
      top: 4px;
    }

    .yt:hover {
      transition: .3s;
      box-shadow: none;
      opacity: .8;
    }

/*  End automated slideshow gallery*/



} /* end desktop size */

@media only screen and (max-width: 999px) {

  #pageBanner{
    width: 100%;
    height: 90px;
    line-height: 90px;
    float: left;
    margin: 100px 0 0 0;
    padding: 0;
    display: block;
    opacity: 1;
    color: red;
    font-family: 'Kanit', sans-serif;
    text-align: center;
    font-size: 30px;
    -webkit-text-stroke: 1px black;
       color: white;
       text-shadow:
           3px 3px 0 #000,
         -1px -1px 0 #000,
          1px -1px 0 #000,
          -1px 1px 0 #000,
           1px 1px 0 #000;
       color: white;
    background-size: cover;
    background-position: center;
    background-image: url('../img/banners/aboutUsBanner1_tiny.jpg');
  }
  #pageBanner h1{
    width: 100%;
    height: 90px;
    line-height: 90px;
    background-color: ;
    float: left;
    display: block;
    margin: 0;
    padding: 0;
    font-family: 'Kanit', sans-serif;
    text-align: center;
    font-size: 40px;
  }

  .container {
    margin: 130px 0 50px 0;
    position: relative;
    width: 100%;
    height: 0;
    float: left;
    padding: 0 0 40% 0;
    user-select: none;
    background-color: #1c1c1c;
    box-shadow: 0 9px 20px rgba(0, 0, 0, 0.2), 0 5px 5px rgba(0, 0, 0, 0.24);
  }
  .container input {
    display: none;
  }
  .container .slide_img {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
  .container .slide_img img {
    width: inherit;
    height: inherit;
  }
  .container .slide_img .prev, .container .slide_img .next {
    width: 12%;
    height: inherit;
    position: absolute;
    top: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 99;
    transition: .45s;
    cursor: pointer;
    text-align: center;
  }
  .container .slide_img .next {
    right: 0;
  }
  .container .slide_img .prev {
    left: 0;
  }
  .container .slide_img .prev:hover, .container .slide_img .next:hover {
    transition: .3s;
    background-color: rgba(0, 0, 0, 0.6);
  }
  .container .slide_img .prev span, .container .slide_img .next span {
    position: absolute;
    width: 0px;
    height: 0px;
    border: solid 20px;
    top: 50%;
    transform: translateY(-50%);
  }
  .container .slide_img .prev span {
    border-color: transparent #fff transparent transparent;
    right: 35%;
  }
  .container .slide_img .next span {
    border-color: transparent transparent transparent #fff;
    left: 35%;
  }
  .container #nav_slide {
    width: 100%;
    bottom: 12%;
    height: 11px;
    position: absolute;
    text-align: center;
    z-index: 99;
    cursor: default;
  }
  .container #nav_slide .dots {
    top: -5px;
    width: 18px;
    height: 18px;
    margin: 0 3px;
    position: relative;
    border-radius: 100%;
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.6);
    transition: .4s;
    cursor: pointer;
  }
  .container #nav_slide #dot1:hover {
    background: green;
  }
  .container #nav_slide #dot2:hover {
    background: green;
  }
  .container #nav_slide #dot3:hover {
    background: green;
  }
  .container #nav_slide #dot4:hover {
    background: green;
  }
  .container #nav_slide #dot5:hover {
    background: green;
  }
  .container #nav_slide #dot6:hover {
    background: green;
  }
  .container #nav_slide #dot7:hover {
    background: green;
  }
  .container #nav_slide #dot8:hover {
    background: green;
  }
  .container #nav_slide #dot9:hover {
    background: green;
  }
  .container #nav_slide #dot10:hover {
    background: green;
  }
  .container #nav_slide #dot11:hover {
    background: green;
  }
  .container #nav_slide #dot12:hover {
    background: green;
  }
  .container #nav_slide #dot13:hover {
    background: green;
  }

  #i1:checked ~ #one,
  #i2:checked ~ #two,
  #i3:checked ~ #three,
  #i4:checked ~ #four,
  #i5:checked ~ #five,
  #i6:checked ~ #six,
  #i7:checked ~ #seven,
  #i8:checked ~ #eight,
  #i9:checked ~ #nine,
  #i10:checked ~ #ten,
  #i11:checked ~ #eleven,
  #i12:checked ~ #twelve,
  #i13:checked ~ #thirteen {
    z-index: 9;
    animation: scroll 1s ease-in-out;
  }

  #i1:checked ~ #nav_slide #dot1 {
    background: orange;
  }

  #i2:checked ~ #nav_slide #dot2 {
    background: #2196F3;
  }

  #i3:checked ~ #nav_slide #dot3 {
    background: orange;
  }

  #i4:checked ~ #nav_slide #dot4 {
    background: #2196F3;
  }
  #i5:checked ~ #nav_slide #dot5 {
    background: orange;
  }

  #i6:checked ~ #nav_slide #dot6 {
    background: #2196F3;
  }

  #i7:checked ~ #nav_slide #dot7 {
    background: orange;
  }

  #i8:checked ~ #nav_slide #dot8 {
    background: orange;
  }

  #i9:checked ~ #nav_slide #dot9 {
    background: orange;
  }

  #i10:checked ~ #nav_slide #dot10 {
    background: orange;
  }

  #i11:checked ~ #nav_slide #dot11 {
    background: orange;
  }

  #i12:checked ~ #nav_slide #dot12 {
    background: orange;
  }

  #i13:checked ~ #nav_slide #dot13 {
    background: orange;
  }

  @keyframes scroll {
    0% {
      opacity: .4;
    }
    100% {
      opacity: 1;
    }
  }
  @media screen and (max-width: 685px) {
    .container {
      border: none;
      width: 100%;
      height: 0;
      padding-bottom: 55%;
    }
    .container .slide_img .prev, .container .slide_img .next {
      width: 15%;
    }
    .container .slide_img .prev span, .container .slide_img .next span {
      border: solid 12px;
    }
    .container .slide_img .prev span {
      border-color: transparent #fff transparent transparent;
    }
    .container .slide_img .next span {
      border-color: transparent transparent transparent #fff;
    }
    .container #nav_slide .dots {
      width: 12px;
      height: 12px;
    }
  }
  .yt {
    margin: 0 auto;
    margin-top: 30px;
    width: 80px;
    height: 40px;
    border-radius: 4px;
    text-align: center;
    background: #2196F3;
    box-shadow: 0 11px 22px rgba(0, 0, 0, 0.2), 0 7px 7px rgba(0, 0, 0, 0.24);
    transition: .4s;
    opacity: .4;
  }
  .yt a {
    position: relative;
    text-decoration: none;
    color: #fff;
    font-size: 23px;
    top: 4px;
  }

  .yt:hover {
    transition: .3s;
    box-shadow: none;
    opacity: .8;
  }


} /* end of mobile version */
