@font-face {
	font-family: 'fontello';
	src: url('./font/fontello.eot?69025898');
	src: url('./font/fontello.eot?69025898#iefix') format('embedded-opentype'),
		url('./font/fontello.woff?69025898') format('woff'),
		url('./font/fontello.ttf?69025898') format('truetype'),
		url('./font/fontello.svg?69025898#fontello') format('svg');
	font-weight: normal;
	font-style: normal;
}

* { 
	outline: none!important; 
	font-family: Noto Sans;
}
html { height: 100%; }

body { 
	min-height: 100%;
	background: #2459A2;
	margin: 0;
	padding: 0;
	padding-top: 60px;	
}

.loading {
    position: fixed;
    width: 100%;
    min-height: 100%;
    top: 0;
	left: 0;
    background: #FCFCFC;
    opacity: 0.8;
    z-index: 8030;
}

.loading img {
	width: 480px;
	height: 320px;
	position: absolute;
    left: 50%;
    margin-left: -240px;
    top: 50%;
    margin-top: -160px;
    z-index: 8040;
}

.i-icon {
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    margin-left: .2em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #464646;
    font-size: 16pt;
}

.icoCalendar {
    background-image: url(img/calendar.gif);
    background-repeat: no-repeat;
    background-position: calc(100% - 10px) 10px;
}

/* page */
.page-content-center { text-align: center; margin: 35px auto; }

.clearfix { clear: both; }

.nowrap { white-space: nowrap; }

a { color: #464646; }
a:hover { text-decoration: none; }

.container, .container-fluid { padding-left: 0; padding-right: 0; max-width: 1200px; margin: 0 auto; }
.container .row, .container-fluid .row { margin-left: 0; margin-right: 0; }

.overlay {
	position: fixed;
	display: none;
	width: 100%;
	height: 100%;
	top: 86.28px;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.4);
	z-index: 900;
}

.wrapper { 
	max-width: 1200px; 
	margin: 0 auto; 
	background-image: url(../img/bg_dotline_left.png), url(../img/bg_dotline_right.png);
	background-position: left top, right top;
	background-repeat: repeat-y, repeat-y;
	background-color: #FFF;
	padding: 0 5px;
}

/* Header */
#header {
	height: 60px;
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	background-color: #2459A2;
	z-index: 99980;
}
#header .container { 
	padding-left: 0;
	padding-right: 0;
	position: relative; 
}


.m-top { 
	padding: 5px 0; 
	position: relative; 
	margin: 0 auto; 
	height: 60px;
}
.m-top > a {	
	font-size: 14pt; 
	font-weight: 600; 
	color: #FFF;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	
	width: calc(100% - 80px);
	text-align: center;
	text-decoration: none;
}

.navbar-toggler { 
	border: 0; 
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
}

.sidenav, .sidenav2 {
	height: 100%;
	width: 250px;
	position: fixed;
	z-index: 99991;
	top: 0;
	left: -280px;
	overflow-x: hidden;
	transition: 0.5s;
	padding: 60px 0 0 0;
	
	background: #406FA7; 
	
	-moz-box-shadow: 2px 2px 2px rgba(20%,20%,40%,0.6),4px 4px 6px rgba(20%,20%,40%,0.4),6px 6px 12px rgba(20%,20%,40%,0.4);
	-webkit-box-shadow: 2px 2px 2px rgba(20%,20%,40%,0.6),4px 4px 6px rgba(20%,20%,40%,0.4),6px 6px 12px rgba(20%,20%,40%,0.4);
	box-shadow: 2px 2px 2px rgba(20%,20%,40%,0.6),4px 4px 6px rgba(20%,20%,40%,0.4),6px 6px 12px rgba(20%,20%,40%,0.4);
}
.sidenav2 {
	left: auto;
	right: -280px;
	
	-moz-box-shadow: -2px 2px 2px rgba(20%,20%,40%,0.6), -4px 4px 6px rgba(20%,20%,40%,0.4), -6px 6px 12px rgba(20%,20%,40%,0.4);
	-webkit-box-shadow: -2px 2px 2px rgba(20%,20%,40%,0.6), -4px 4px 6px rgba(20%,20%,40%,0.4), -6px 6px 12px rgba(20%,20%,40%,0.4);
	box-shadow: -2px 2px 2px rgba(20%,20%,40%,0.6), -4px 4px 6px rgba(20%,20%,40%,0.4), -6px 6px 12px rgba(20%,20%,40%,0.4);
}


#menu-link > li { padding: 3px 8px 3px 32px; }
#menu-link > li > a {
	text-decoration: none;
	font-size: 14pt;
	font-weight: 600;
	color: #FFF;
	display: block;
	transition: 0.3s;
	letter-spacing: 0;
}
#menu-link > li > a:hover {  }

.sidenav .closebtn {
	position: absolute;
	top: 0;
	right: 15px;
	font-size: 36px;
	padding: 0;
}

#menu-link > li { border-bottom: 1px dashed #FFF; }

.sidenav.in { left: 0; display: block; }
.sidenav.out { left: -280px; display: block; }

.sidenav2.in { right: 0; }

.kebab {
	border: 0;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
	
	background: transparent;
}


/* End Header */

.carousel { position: relative; }
.carousel > a { position: absolute; width: 30% }

.fancybox-image,
a[data-fancybox] > img { border-radius: 5px; }

.box-content {  }
.box-content > div { padding-top: .75rem; padding-bottom: .75rem; }
.box-left { width: 275px; order: 1; padding-top: 1rem; padding-bottom: 1rem; }
.box-right { width: 100%; order: 2; padding-top: 1rem; padding-bottom: 1rem; }

.box-left-row {
    display: flex;
    flex-wrap: wrap;
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;
	justify-content: center;
}
.box-left-row > * {
	flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
    margin-top: 0;
}
.box-left-row > div:not(.line_qr) img { width: 100%; max-width: 250px; display: block; margin: 0 auto; }
.box-left-row > div.line_qr img { width: 100%; max-width: 150px; display: block; margin: 0 auto; }
.box-left-row > div { margin-bottom: .75rem; }
.box-left-row > div.line_qr { margin-top: 1.25rem; }

.box-left-row > div > a.closebtn > img { width: 32px; margin-left: 15px; }

.box-title { padding: .5rem .5rem; }
.box-title > div { 
	font-size: 16pt; 
	font-weight: 500;
	display: inline-block; 
	border-bottom: 1px solid #C7C7C7; 
	width: 100%;
}

.box-header { padding-bottom: 1rem; }
.box-header > .box-title > div > span:nth-child(2) { color: #5A8800; line-height: 40px; }
.box-header > .box-title > div > span:nth-child(3) { color: #D4D4D4; font-style: italic; line-height: 40px; }
.box-header > .box-title > div > img { width: 24px; margin-bottom: .25rem; display: inline-block; padding-right: .5rem; }

.box-header > .box-title > div > a.forum-post { 
	color: #C30061; 
	font-weight: normal; 
	font-size: 14px; 
	text-decoration: none; 
	line-height: 40px; 
}
.box-header > .box-title > div > a.forum-post > i { color: #C30061; font-size: 14px; }
.box-header > .box-title > div > a.forum-post:hover { text-decoration: underline; }

.box-header > .box-title > div > a.forum-back { 
	color: #5C5C5C; 
	font-weight: normal; 
	font-size: 14px; 
	text-decoration: none; 
	line-height: 40px; 
}
.box-header > .box-title > div > a.forum-back > i { color: #5C5C5C; font-size: 14px; }
.box-header > .box-title > div > a.forum-back:hover,
.box-header > .box-title > div > a.forum-back:hover > i { color: #F22; }

.box-header > .box-title > div > a.forum-reply { 
	display: none; 
	color: #C30061; 
	font-weight: normal; 
	font-size: 14px; 
	text-decoration: none; 
	padding-right: .5rem; 
	line-height: 40px; 
}
.box-header > .box-title > div > a.forum-reply > i { color: #C30061; font-size: 14px; }
.box-header > .box-title > div > a.forum-reply:hover,
.box-header > .box-title > div > a.forum-reply:hover > i { text-decoration: underline; }


@media screen and (max-width: 374px) {
	
}

@media screen and (min-width: 414px) {

}

@media screen and (min-width: 576px) {
	.sidenav { padding-top: .9735rem; }
	.box-header > .box-title > div > a.forum-reply {  display: inline-block; }
}

@media screen and (min-width: 768px) {
	body { padding-top: 0; }
	#header { 
		height: auto; 
		position: relative;
		left: auto;
		right: auto;
		top: auto;
		background-color: transparent;
	}
	#header.scroll {
		-moz-box-shadow: 4px 4px 3px rgba(20%, 20%, 40%, 0.5);
		-webkit-box-shadow: 4px 4px 3px rgba(20%, 20%, 40%, 0.5);
		box-shadow: 4px 4px 3px rgba(20%, 20%, 40%, 0.5);
	}
	/* #header .container-fluid { background: url(../img/bg_dotline.png) center top repeat-y #FFF; padding: 0 5px; } */
	/* #header.scroll .container-fluid { background: none transparent; padding: 0; } */
	
	.mlogo { 
		position: absolute; 
		top: 10px; 
		
		--min-left: 20;
		--max-left: 30;
		--left: calc(
			(var(--min-left) * 1px) + 
			(var(--max-left) - var(--min-left)) * 
			((100cqw - 768px) / (1200 - 768))
		);
		left: clamp(var(--min-left) * 1px, var(--left), var(--max-left) * 1px);
		
		--min-width: 115;
		--max-width: 180;
		--width: calc(
			(var(--min-width) * 1px) + 
			(var(--max-width) - var(--min-width)) * 
			((100cqw - 768px) / (1200 - 768))
		);
		width: clamp(var(--min-width) * 1px, var(--width), var(--max-width) * 1px);
		
	}
	
	.navbar-toggler { display: none; }
	
	.sidenav {
		--min-width: 547;
		--max-width: 855;
		--width: calc(
			(var(--min-width) * 1px) + 
			(var(--max-width) - var(--min-width)) * 
			((100cqw - 768px) / (1200 - 768))
		);
		width: clamp(var(--min-width) * 1px, var(--width), var(--max-width) * 1px);
		
		--min-height: 93;
		--max-height: 146;
		--height: calc(
			(var(--min-height) * 1px) + 
			(var(--max-height) - var(--min-height)) * 
			((100cqw - 768px) / (1200 - 768))
		);
		height: clamp(var(--min-height) * 1px, var(--height), var(--max-height) * 1px);
		
		position: absolute;
		top: 0;
		
		--min-left: 176.64;
		--max-left: 276;
		--left: calc(
			(var(--min-left) * 1px) + 
			(var(--max-left) - var(--min-left)) * 
			((100cqw - 768px) / (1200 - 768))
		);
		left: clamp(var(--min-left) * 1px, var(--left), var(--max-left) * 1px);
		
		padding: 0 .8rem;
		overflow-x: visible;
		
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		box-shadow: none;
		
		background: url(../img/menu.png) center top no-repeat;
		background-size: 100% auto;
	}
	
	.sidenav.scroll { 
		width: 100%; 
		height: auto; 
		position: fixed;
        background-image: none;
        background-color: #406FA7;
        left: 0;
	}
	
	.sidenav > div { position: relative; }
	
	.sidenav .closebtn { display: none; }
	
	#menu-link { 
		--min-padding: 30;
		--max-padding: 55;
		--padding: calc(
			(var(--min-padding) * 1px) + 
			(var(--max-padding) - var(--min-padding)) * 
			((100cqw - 768px) / (1200 - 768))
		);
		padding: 0 0 clamp(var(--min-padding) * 1px, var(--padding), var(--max-padding) * 1px);
		
        margin: 0;
        align-items: flex-start;
		justify-content: center;
		width: 100%;
	}
			
	#menu-link > li { 
		border-bottom: 0; 
		padding: .75rem .75rem 0 .75rem; 
		padding-top: .75rem;
		padding-bottom: 0;
		
		--min-padding: 12;
		--max-padding: 20;
		--padding: calc(
			(var(--min-padding) * 1px) + 
			(var(--max-padding) - var(--min-padding)) * 
			((100cqw - 768px) / (1200 - 768))
		);
		padding-left: clamp(var(--min-padding) * 1px, var(--padding), var(--max-padding) * 1px);
		padding-right: clamp(var(--min-padding) * 1px, var(--padding), var(--max-padding) * 1px);
		
	}
	#menu-link > li > a { 
		--min-size: 15;
		--max-size: 22;
		--font-size: calc(
			(var(--min-size) * 1px) + 
			(var(--max-size) - var(--min-size)) * 
			((100cqw - 768px) / (1200 - 768))
		);
		font-size: clamp(var(--min-size) * 1px, var(--font-size), var(--max-size) * 1px);
		
		color: #464646;
	}
	#menu-link > li > a:hover { color: #0B4B79; }
	#menu-link > li > a.active { color: #0B4B79; }	
	
	.sidenav.scroll #menu-link { padding: 0 0 15px;	}
	.sidenav.scroll #menu-link > li > a { color: #FFF; }
	.sidenav.scroll #menu-link > li > a:hover { color: #FF2; }
	
	.box-content { padding: 0 1.5rem; }
}

@media (min-width: 768px) and (max-width: 991px) {
	.navbar-expand-custom {
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: flex-start;
	}
	.navbar-expand-custom .navbar-nav {
		-ms-flex-direction: row;
		flex-direction: row;
	}
	.navbar-expand-custom .navbar-nav .nav-link {
		padding-right: .5rem;
		padding-left: .5rem;
	}
	.navbar-expand-custom .navbar-collapse {
        display: -ms-flexbox!important;
		display: flex!important;
		-ms-flex-preferred-size: auto;
		flex-basis: auto;
		justify-content: flex-end;
	}
	.navbar-expand-custom .navbar-toggler {
        	display: none;
	}
		
	.navbar-expand-custom .navbar-nav .dropdown-menu {
		position: absolute;
		z-index: 99999;
	}
}

@media screen and (min-width: 992px) { 
	.sidenav { padding: 0 .8rem; }
	
	.sidenav2 {
		height: auto;
		width: auto;
		position: relative;
		top: auto;
		left: auto;
		right: auto;
		overflow-x: visible;
		padding: 1rem 0;
		
		background: transparent; 
		
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		box-shadow: none;
	}
	
	#menu-link > li > a { letter-spacing: .1rem }
	
	.box-content { padding: 0; }
	.box-left { width: 215px; order: 1; padding: 1rem .46875rem; }
	.box-right { width: calc(100% - 215px); order: 2; }
}


@media screen and (min-width: 1200px) { 
	#menu-link > li > a { letter-spacing: .2rem }
	
	.box-left { width: 275px; }
	.box-right { width: calc(100% - 275px); }
}	

