@font-face {
    font-family: myFirstFont;
    src: url(/Noto_Sans_Thai/static/NotoSansThai-Medium.ttf);
  }
  * {
      margin: 0;
      padding: 0;
      font-family:myFirstFont,'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    }
body{
    background-color: #171717;
}

.navbar{
    background-color: #171717;
    font-size: x-large;
}
.navbar-nav .nav-link{
    color: #ededed;
  }
  .dropend .dropdown-toggle{
    color: #da0037;
    margin-left: 1em;
  }
  .dropdown-item:hover{
    background-color: #da0037;
    color: #ededed;
  }
  .dropdown .dropdown-menu{
    display: none;
  }
  .dropdown:hover > .dropdown-menu, .dropend:hover > .dropdown-menu{
    display: block;
    margin-top: .125em;
    margin-left: .125em;
  }
  #logo,a.active{
    margin: 0;
  }
  #logo{
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  * a{
    font-variant: small-caps;
  }
  @media screen and (min-width:769px) {
    .dropend:hover > .dropdown-menu{
      position: absolute;
      top: 0;
      left: 100%;
    }
    .dropend .dropdown-toggle{
      margin-left: .5em;
    }
    #logo{
    margin: 2rem;
    }

    a.active{
        margin-left: 2em;
    }

  }



---------------------------------------------
* {
    box-sizing: border-box
}

.mySlides {
    display: none
}

img {
    vertical-align: middle;
}

/* Slideshow container */
.slideshow-container {
    min-width: 500px;
    position: relative;
    margin: auto;
}


/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 52%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: #ededed;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 30px;
    user-select: none;
    opacity: 90%;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 30px;
    opacity: 90%;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot:hover {
    background-color: #717171;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 100s;
}

@keyframes fade {
    from {
        opacity: 1
    }

    to {
        opacity: 1
    }
}

/* On smaller screens, decrease text size */
/* @media only screen and (max-width: 300px) {

    .prev,
    .next,
    .text {
        font-size: 11px;
    }
} */
.main-content img{
    padding: 20px;
}
.recommend {
    
    border-bottom: 2px solid #da0037 ;
}
.recommend h1{
    font-variant: small-caps;
    color: #ededed;
    margin-left: 15%;   
}
.recommend .search-container {
    float: right;
}

.recommend .search-container button {
    float: right;
    margin-top: 0;
    margin-right: 20px;
    background: #444444;
    font-size: 17px;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
}

.recommend .search-container button img{
    margin: 0;
    padding: 0;
    width: 25px;
    height: 25px;
    background: #ededed;
}

.recommend .search-container button img:hover {
    background: #444444;
}

.main-content{
    margin-left: 10%;
    margin-right: 10%;
}

.main-content a img{
    margin-top: 4rem;
    margin-left: 4rem;
    margin-bottom: 4rem;
    border-radius: 30px;
}

/* shadow hover picture */
.main-content a img:hover{
    box-shadow: 0 4px 8px 0 rgba(237, 237, 237, 0.2), 0 6px 20px 0 rgba(237, 237, 237, 0.19);
}

* a{
    text-decoration: none;
}

.search-container{
    margin-top: 1%; 
    color: #ededed;
}

input[type=text]:focus {
    background-color: #ededed;
}

/* -----------------search---------------- */
input[type=text] {
    border-radius: 10px;
    width: 250px;
  }
  button[type=submit]{
    width: auto;
    height: auto;
  }

  