/*
Theme Name: DNFullpage
Author: DNRatthee
Description: DNRatthee Full Page
Version: 0.3.6
Text Domain: dnfullpage

--------------------------------------------------------------*/

body {
	background-color: #a9a9a900;
}


.multiline
{
  white-space: pre-line;
}

.fullpage-wrapper{
	/* z-index: -1; */
}

.navbar {
	min-height: 92px;
}

.navbar-brand{
	font-size: 2rem!important;
}

.nav-link{
	font-size: 1.25rem!important;
	color: #000;
}

.home-maps {
	max-height: 35vh!important;
}

@media (min-width: 768px) {
	.nav-link:not(.flag){
		padding-left: 25px!important;
	}

	.home-maps {
		height: 45vh!important;
	}
	

}

@media (min-width: 1200px) {
	.nav-link{
		font-size: 1.5rem!important;
	}
}

.mb-fix{
	margin-bottom: 92px!important;
}

.home-img {
	width: 85%!important;
	height: auto;
	max-height: 30vh!important;
	object-fit: contain;
}



@media (min-width: 768px) {
	.home-img {
		max-height: 100%!important;
	}
}

.center {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 50%;
  }

  .home-row {
	display: table-row;
  }

  .home-cell {
	display: table-cell;
  }

  .home-cell-2 {
	display: table-cell;
    width: 50%;
  }

  .text-white {
	  color: white;
  }

.lds-dual-ring {
	display: inline-block;
	width: 64px;
	height: 64px;
  }
  .lds-dual-ring:after {
	content: " ";
	display: block;
	width: 46px;
	height: 46px;
	margin: 1px;
	border-radius: 50%;
	border: 5px solid #000;
	border-color: #000 transparent #000 transparent;
	animation: lds-dual-ring 1.2s linear infinite;
  }
  @keyframes lds-dual-ring {
	0% {
	  transform: rotate(0deg);
	}
	100% {
	  transform: rotate(360deg);
	}
  }
 
.fullpage-footer{
	height: 50px;
    width: 100%;
    bottom: 50px;
    position: fixed;
}

.section {
	/* margin-bottom: -92px; */
}

#section5, #section5 > div{
	height: 50px!important;
}

#section1 > .fp-tableCell{
	vertical-align: middle!important;
}

.post-thumbnail > img {
	max-width: 100%;
    height: auto;
}

.container.p-nav{
	/* padding-top: 96px; */
}

.cat-item > a {
	padding: 5px 15px!important;
}

.rcorners {
	border-radius: 25px;
  }

#fullpage {
	opacity:0;
	transition: opacity 2s;
}

body { 
	font-family: 'Sarabun', sans-serif!important; 
	line-height: 1.5!important;
	background-color: #f2f2f2!important; 
}

.aero-name{
	font-size: 1.75rem!important;
	color: #000!important; 
}

#wp-sponsors div.sponsor-item.default {
    max-width: 100%!important;	
	width: 40%!important;
}


@media (min-width: 768px) {
	body{
		font-size: 1.25rem!important;
		line-height: 1.75!important;
	}

	.aero-name{
		font-size: 2.75rem!important;
	}

	#wp-sponsors div.sponsor-item.default {
		width: 100%!important;
		width: 25%!important;
	}
	
}

#wp-sponsors div.sponsor-item.default a img, #wp-sponsors div.sponsor-item.default p, #wp-sponsors div.sponsor-item a img {
	height: auto;
	max-height: 15%;
}

.sponsor-item {
	border: 1px solid black;
    padding: 0.5%;
    background-color: #fff;
}

div#wp-sponsors {
	justify-content: center!important;
	margin-bottom: 0px;
}

.bg-darkblue {
	background-color: darkblue!important;
}

.flex-col-center {
	display: flex;
    flex-direction: column;
	justify-content: space-evenly;
    min-height: 80vh;
}

html,
body {
  height: 100%;
}

#page-content {
  flex: 1 0 auto;
}

#sticky-footer {
  flex-shrink: none;
}

.cat-label{
	background-color: #ffffffa3;
    color: black;
    border-radius: 5px;
    position: relative;
    top: 50%;
}

.cat-bg{
	position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
	right: 0;
	margin: auto;
    opacity: 1;
    background-size: contain;
	background-repeat: no-repeat;
	max-width: 85%;
    width: auto;
	max-height: 220px;
}

.card-img-top, .cat-card-img{
	margin: 5px auto;
	max-width: 85%!important;
    width: auto!important;
	height: 220px!important;
	object-fit: contain;
}

.card-phome{
	padding: 0px!important;
}

.phome-card {
	text-align: center;
	z-index: 2;
}

.has-violet-color{
	color: #7030a0!important;;
}

.dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
 }

/* .card-phome .card-body{
	z-index: 2;
} */

  
.modal-full {
    min-width: 80%;
    margin: auto;
}

.modal-full .modal-content {
	max-height: 80vh;
	margin: auto;
	max-width: 100%;
	width: auto;
	object-fit: contain;
}

.phome-img{
	position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
	right: 0;
	margin: auto;
    opacity: 0.5;
}

.wp-block-blockgallery-carousel img {
    object-fit: contain!important;
}

a.phome:hover + .phome-img{
	opacity: 0.2!important;
}

.card-phome-img {
	width: 100%!important;
	object-fit: contain;
}

.card-plogo{
	height: 10vh;
	object-fit: contain;
	display: block;
    margin: auto;
}

.card-center{
	text-align: center;
	color: darkblue;
}

.sponsor-item > a > img {
	object-fit: contain!important;
	max-width: 85%!important;
    height: 8vw!important;
}

.cat-card {
	display: flex;
	flex: 0!important;
}

.cat-col {
	min-height: 450px!important;
}

.cat-card {
	height: 100%;
    background-color: transparent!important;
}

.bg-aero{
	color: white;
	background: rgb(29,0,48);
	background: linear-gradient(45deg, rgba(29,0,48,1) 0%, rgba(159,107,213,1) 30%, rgba(93,26,166,1) 100%);
}

.navbar{
	padding: 0 1rem!important;
}
.navbar-brand{
	padding-top: 0!important;
    padding-bottom: 0!important;
}

.card-title{
	text-align: center!important;
}

.page-head{
	background: rgb(29,0,48);
	background: linear-gradient(45deg, rgba(29,0,48,1) 0%, rgba(159,107,213,1) 30%, rgba(93,26,166,1) 100%);
	color: #fff;
	margin-bottom: 0px!important;
}

.nav-link{
	color: #500778!important;
}

.nav-link:hover{
	color: deepskyblue!important;
}

.page-head .post-edit-link , .page-head .screen-reader-text{
	color: #fff!important;
}

.card-cat:hover {
    background: lightgray!important;
}

.breadcrumb{
	margin-bottom: 0px!important;
	background-color: transparent!important;
}

.breadcrumb a {
	font-size: 1rem;
	color: #555;
}

.breadcrumb a:hover {
	color: #500778!important;
}

.breadcrumb-item.active{
	color: #500778!important;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu>a:after {
  content: "\f0da";
  border: none;
  float: right;
  font-weight: 400;
  font-family: 'Font Awesome 5 Free';
  vertical-align: .0em!important;
  
}



.dropdown-submenu>.dropdown-menu {
  top: -9px;
  left: 99%;
  margin-top: 0px;
  margin-left: 0px;
  
}

@media (max-width: 991px) {
	.navbar .dropdown-menu {
		/* padding-left: 20px; */
   	 	margin-top: -10px;
		border: 0px!important;
		background-color: transparent!important;
	}
		.dropdown-submenu>.dropdown-menu {
			border: 0px!important;
			background-color: transparent!important;
		padding-left: 20px;
	}
}

.dropdown-submenu>.dropdown-item {
	margin-right: 20px!important;
  }
  
.navbar .dropdown-item:hover {
	background-color:transparent!important;
	color: deepskyblue!important;
}

/* @media (min-width: 991px) {
	.dropdown-menu {
	  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	}
  }	 */

.cat-card + .card-body {
	/* max-height: 300px; */
    overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 16px;
}

.card-columns {
	width: 100%;
}

.card-cat {
	margin-bottom: 1rem;
}

@media (min-width: 768px)
 {
	.card-cat.col-md-6 {
		-ms-flex: 0 0 49%;
		flex: 0 0 49%;
		max-width: 49%;
		margin: 0.5%;
	}
}

@media (min-width: 992px)
 {
	.card-cat.col-lg-4 {
		-ms-flex: 0 0 32.333333%;
		flex: 0 0 32.333333%;
		max-width: 32.333333%;
		margin: 0.5%;
	}
}

.nav-category-list {
	border-bottom: 0.063rem solid #dbdbdb;
    background-color: #f8f9fa!important;
    border-top: 1px solid lightgray;
}

.site-content {
	background-color: #a9a9a900;
}

article:not(.card-cat) {
	background-color: transparent!important;
    border: 0px!important;
}

.flag:not(.lang-active) {
	filter: grayscale();
}

@media (min-width: 768px) {
	#wp-sponsors div.sponsor-item.default {
		width: 20%!important;
	}

	#wp-sponsors.five div.sponsor-item.default {
		width: 18%!important;
	}

	.card.col-md-6.card-phome {
		margin: 1.5%;
		flex: 0 0 47%;
	}

	#wp-sponsors.five-four div.sponsor-item.default {
		width: 18%!important;
	}
	
}

@media (max-width: 768px) {
	.card.col-md-6.card-phome {
		margin-bottom: 15px;
		max-height: 35vh;
	}

	#wp-sponsors div.sponsor-item.default {
		max-width: 100%!important;
		width: 47%!important;
	}
}

.carousel-item > .row {
	min-height: 80vh;
    display: flex;
    justify-content: center;
    align-content: center;
}

#wp-sponsors div.sponsor-item {
    margin: 0 1.5% 1.5% 0;
}

#wp-admin-bar-new-content, #wp-admin-bar-updates, #wp-admin-bar-edit, #wp-admin-bar-wp-logo, #accordion-section-themes {display: none;}

@media (min-width: 768px) {
	.hMobile {
		display: block!important;
	}
}

.hMobile {
    display: none!important;
}

@media (max-width: 800px) {

	.card-columns {
	  column-count: 4;
	}
 }

 article {
	 max-height: 500px;
	 /* min-height: 500px; */
 }

 .entry-header {
	overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

 .entry-summary {
	overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.wp-block-blockgallery-carousel {
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.f-slide-text {
	max-height: 40vh;
}

@media (min-width: 768px) {
	.f-slide-text {
		max-height: 70vh;
	}
}

.wp-block-gallery {
    margin-bottom: 1rem;
    margin-top: 1rem;
}