/*
Custom Css
*/

h1,
h2,
h3,
h4,
h5,
p,
ul,
li,
a,
label,
th,
td {
    font-family: 'Noto Sans Thai', sans-serif !important;

}

.navbar .megamenu {
    padding: 1rem;
}

/* ============ desktop view ============ */
@media all and (min-width: 992px) {

    .navbar .has-megamenu {
        position: static !important;
    }

    .navbar .megamenu {
        left: 0;
        right: 0;
        width: 100%;
        margin-top: 0;
    }

}

/* ============ desktop view .end// ============ */

/* ============ mobile view ============ */
@media(max-width: 991px) {

    .navbar.fixed-top .navbar-collapse,
    .navbar.sticky-top .navbar-collapse {
        overflow-y: auto;
        max-height: 90vh;
        margin-top: 10px;
    }
}


/* sadasdsad */


.megasubmenu {
    padding: 1rem;
}

/* ============ desktop view ============ */
@media all and (min-width: 992px) {
    .dropdown-menu .dropdown-toggle::after {
        border-top: .3em solid transparent;
        border-right: 0;
        border-bottom: .3em solid transparent;
        border-left: .3em solid;
    }

    .megasubmenu {
        left: 20%;
        top: 0;
        min-height: 100%;
        min-width: 500px;
    }

    .dropdown-menu>li:hover .megasubmenu {
        display: block;
    }

    .dropdown-item {
        padding: 0.80rem 1rem;
    }
}

.dropbtn {
    background-color: #04AA6D;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #3e8e41;
}

.dropdown-menu li {
position: relative;
}
.dropdown-menu .dropdown-submenu {
display: none;
position: absolute;
left: 100%;
top: -7px;
}
.dropdown-menu .dropdown-submenu-left {
right: 100%;
left: auto;
}
.dropdown-menu > li:hover > .dropdown-submenu {
display: block;
}

/* ============ desktop view ============ */
@media all and (min-width: 992px) {
	.dropdown-menu li{ position: relative; 	}
	.nav-item .submenu{ 
		display: none;
		position: absolute;
		left:100%; top:-7px;
	}
	.nav-item .submenu-left{ 
		right:100%; left:auto;
	}
	.dropdown-menu > li:hover{ background-color: #f1f1f1 }
	.dropdown-menu > li:hover > .submenu{ display: block; }
}	
/* ============ desktop view .end// ============ */

/* ============ small devices ============ */
@media (max-width: 991px) {
  .dropdown-menu .dropdown-menu{
      margin-left:0.7rem; margin-right:0.7rem; margin-bottom: .5rem;
  }
}


.btn-title {
    color: #fff;
    background-color: #1b1e1d;
}
.btn-facebook {
    color: #fff;
    background-color: #3b5998;
}
.btn-reddit {
    color: #2e2c2c;
    background-color: #ffffff;
}
.btn-google {
    color: #fff;
    background-color: #dd4b39;
}
.btn-social {
    position: relative;
    padding-left: 44px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.btn-two {
    color: #1b1e1d;
    border-color: #1b1e1d;
}
.text-title{
    color: #0E6B44;
}
.text-google{
    color: #dd4b39;
}
a {
    text-decoration: none !important;
}
.input-text{
    border-bottom: 0.5px solid #cfcfcf;
    border-top: #fff;
    border-left: #ffff;
    border-radius: 0px;
    border-right: #fff;
}
.login-or[data-v-424b98f4] {
    position: absolute;
    top: 50px;
    right: -1px;
    width: 1px;
    height: 100%;
    background: #ddd;
}
.login-or span[data-v-424b98f4] {
    display: inline-block;
width: 40px;
height: 40px;
text-align: center;
line-height: 40px;
border: 1px solid #ddd;
background: #fff;
position: absolute;
top: 50%;
right: -20px;
border-radius: 100%;
font-size: 11pt;
}
.btn-reddit {
    color: #8a8989;
    background-color: #ffffff;
    border: 1px solid #c7c7c7;
    border-top: #ffffff;
    border-right: #ffff;
}
.btn-default {
    color: #8a8989;
    background-color: #ffffff;
    border: 1px solid #c7c7c7;
}

  .watermarked {
    position: relative;
  }
  
  .watermarked:after {
    content: "";
    display: block;
    width: 130px;
    height: 100px;
    position: absolute;
    top: 0px;
    right: 0px;
    background-image: url(../../file/fswf.png);
    background-size: 90px 40px;
    background-position: 30px 30px;
    background-repeat: no-repeat;
  }
  .single-gallery-image{margin-top:30px;background-repeat:no-repeat !important;background-position:center center !important;background-size:cover !important;height:200px}