/*	1. Định dạng	*/

					/*Thông số chung*/

*{
	color: #b0b099;
	box-sizing: border-box;
	font-family: 'playfair';
	font-weight: 0;
	font-size: 13pt;
	text-align: justify;
	line-height: 180%;
	letter-spacing: .6pt;
	text-indent: 30px
}
@media screen and (max-width: 1000px){p {font-size: 12pt}}

body {
	background-color: #191919;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}
/* Thanh cuộn dọc */
::-webkit-scrollbar {width: 12px;}
::-webkit-scrollbar-track {background: #191919;}
::-webkit-scrollbar-thumb {background: #494949;}
::-webkit-scrollbar-thumb:hover {background: #b0b099;}

					/*Font*/

@font-face {
    font-family: 'gotham';
	src: url('../fonts/gotham.ttf') format('ttf'),
         url('../fonts/gotham.woff') format('woff');
}

@font-face {
    font-family: 'dax';
	src: url('../fonts/dax.ttf') format('ttf'),
         url('../fonts/dax.woff') format('woff'),
		 url('../fonts/dax.otf') format('otf');
}

@font-face {
    font-family: 'bank';
	src: url('../fonts/bank.ttf') format('ttf'),
         url('../fonts/bank.woff') format('woff'),
		 url('../fonts/bank.otf') format('otf');
}

@font-face {
    font-family: 'aptima';
	src: url('../fonts/aptima.ttf') format('ttf'),
         url('../fonts/aptima.woff') format('woff'),
		 url('../fonts/aptima.otf') format('otf');
}

@font-face {
    font-family: 'sitka';
	src: url('../fonts/sitka.ttf') format('ttf'),
         url('../fonts/sitka.woff') format('woff'),
		 url('../fonts/sitka.otf') format('otf');
}

@font-face {
    font-family: 'elite';
	src: url('../fonts/elite.ttf') format('ttf'),
         url('../fonts/elite.woff') format('woff'),
		 url('../fonts/elite.otf') format('otf');
}
@font-face {
    font-family: 'playfair';
	src: url('../fonts/playfair.ttf') format('ttf'),
         url('../fonts/playfair.woff') format('woff'),
		 url('../fonts/playfair.otf') format('otf');
}


					/*Heading*/

h1 {
	font-family: 'aptima';
	margin-top: 144pt;
	margin-bottom: 90pt;
	font-size: 36pt;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0pt;	
	color: #ffffff
}
@media screen and (max-width: 1000px){h1 {font-size: 30pt}}

h2 {
	font-family: 'aptima';
	margin-top: 108pt;
	margin-bottom: 72pt;
	font-size: 30pt;
	text-align: center;
	letter-spacing: 0pt;	
	text-shadow: -2px 1px 0px #a8005b;
	color: #fff000;
	text-transform: uppercase
}
@media screen and (max-width: 1000px){h2 {font-size: 24pt}}

h3 {
	font-family: 'aptima';
	margin-top: 72pt;
	margin-bottom: 48pt;
	font-size: 24pt;
	text-indent: 30px;
	letter-spacing: 0pt;	
	color: #fff000;
	text-transform: uppercase
}
@media screen and (max-width: 1000px){h3 {font-size: 20pt}}

h4 {
	font-family: 'aptima';
	margin-top: 48pt;
	margin-bottom: 24pt;
	font-size: 20pt;
	text-indent: 30px;
	letter-spacing: 0pt;	
	color: #fff000;
	text-transform: uppercase
}
@media screen and (max-width: 1000px){h4 {font-size: 18pt}}

h5 {
	font-family: 'aptima';
	margin-top: 36pt;
	margin-bottom: 18pt;	
	font-size: 18pt;
	text-indent: 30px;
	letter-spacing: 0pt;	
	color: #fff000
}
@media screen and (max-width: 1000px){h5 {font-size: 16pt}}

h6 {
	font-family: 'aptima';
	margin-top: 30pt;
	margin-bottom: 16pt;
	font-size: 16pt;
	text-indent: 30px;
	letter-spacing: 0pt;	
	color: #fff000
}
@media screen and (max-width: 1000px){h6 {font-size: 14pt}}

					/*Paragraph*/

p {
	font-weight: 0;
	font-size: 14pt;
	text-align: justify;
	line-height: 180%;
	letter-spacing: .6pt;
	text-indent: 30px
}
@media screen and (max-width: 1000px){p {font-size: 13pt}}

mark {
	color: #191919;
	background-color: #f6cc6f;
}

cite {
	color: white;
	font-style: normal;
}

em {color: #f6cc6f}

ul {list-style: circle}

ul ul {list-style: disc}

ul ul ul {list-style: square}

li {
	font-family: 'playfair';
	font-weight: 0;
	font-size: 13pt;
	text-align: justify;
	line-height: 180%;
	letter-spacing: .6pt;
	text-indent: 30px
}
@media screen and (max-width: 1000px){li {font-size: 12pt}}

					/*Trích dẫn - Blockquote*/

blockquote {
	border-top: 1px solid #494949;
	border-bottom: 1px solid #494949;	
	margin-top: 36pt;
	margin-bottom: 36pt;
	font-family: 'playfair';
	font-weight: normal;
	font-style: italic;
	font-size: 16pt;
	text-align: justify;
	line-height: 180%;
	letter-spacing: .6pt;
	text-indent: 30px
}
@media screen and (max-width: 1000px){blockquote {font-size: 14pt}}


					/* Bảng */

table {
	font-family: 'playfair';
	font-weight: 0;
	font-size: 13pt;
	text-align: justify;
	line-height: 180%;
	letter-spacing: .6pt;
	text-indent: 30px
}
	
					/*Nhấn*/

.note {
	font-family: 'playfair';
	font-weight: bold;
	font-style: italic;
	font-size: 18pt;
	text-align: justify;
	line-height: 150%;
	letter-spacing: .3pt;
	margin-left: 30px;
	margin-right: 30px;
	color: #191919;
	background-color: #f6cc6f;
	padding: 20px 5px 20px 5px;
}

.pic{
	font-weight: 0;
	font-size: 12pt;
	text-align: center;
	line-height: 150%;
	letter-spacing: .3pt;
	text-indent: 0px;
	color: #696969	
}
@media screen and (max-width: 1000px){font-size: 10pt}

sub, sup {font-size: 75%}
	
	<!---------------------------------------------------------------------------------------------------------------------------------------->

					/*Chú giải - Tooltip*/

#tooltip {
	position: static;
	display: inline-block;
	text-indent: 0px;
	color: #ffffff;
	text-decoration-line: underline;
	text-border-bottom: 1px;
}
#tooltip #tooltiptext {
	visibility: hidden;
	position: fixed;
	display: inline-block;
	overflow-y: auto;
	background-color: #494949;
	color: #ffffff;
	text-align: justify;
	padding: 20px 8px 10px 30px;
	z-index: 1;
	font-size: 13pt;
	letter-spacing: 0.6pt;
	text-indent: 30px;
}
@media screen and (max-width: 1000px){#tooltip #tooltiptext {font-size: 12pt}}
#tooltip:hover, #tooltip:active {
	background-color: #ffffff;
	color: #191919;
	transition-duration: 0.2s;
	transition-timing-function: ease-out
}
#tooltip:hover #tooltiptext, #tooltip:active #tooltiptext {
	visibility: visible;
  	transition-delay: 0.3s;
	transition-timing-function: ease-out
}
#tooltiptext::-webkit-scrollbar {width: 2px}
#tooltiptext::-webkit-scrollbar-track {background: #494949}
#tooltiptext::-webkit-scrollbar-thumb {background: #b0b099}
#tooltiptext::-webkit-scrollbar-thumb:hover {background: ##f7dc6f}

					/*Liên kết trong và ngoài*/

a:link, a:visited {
	color: #b0b099;
	display: block;
	-webkit-transition-duration: 0.4s; /* Safari */
	transition-duration: 0.4s;
	transition-timing-function: ease-out;
	padding: 5px;
	margin: 5px;
	font-family: 'playfair';
	font-style: normal;
	text-decoration: none;
	font-size: 13pt;
	text-align: justify;
	line-height: 120%;
	letter-spacing: 0pt;
	text-indent: 0px
}
@media screen and (max-width: 1000px){a:link, a:visited {font-size: 12pt}}
a:hover, a:active {	background-color: #494949 }

					/* Slide ảnh */

/* Slideshow container */
.slideshow-container {
	position: relative;
	margin: auto;
	max-width: 100%;
	display: block
}

.mySlides1, .mySlides2 {display: none}

/* Caption text */
.text {
	color: white;
	background-color: rgba(25,25,25,0.5);
	font-size: 11pt;
	font-family: 'aptima';  
	padding: 6px 12px;
	position: relative;
	bottom: 35px;
	width: 100%;
	text-align: center
}

/* The dots/bullets/indicators */
.dot {
	cursor: pointer;
	height: 10px;
	width: 10px;
	margin: 0 9px;
	background-color: #494949;
	border-radius: 50%;
	display: inline-block;
	transition: background-color 0.6s ease
}
.active, .dot:hover {
	background-color: white
}
.center {
	display: block;
	margin-left: auto;
	margin-right: auto
}
/* Fading animation */
.fade {
	-webkit-animation-name: fade;
	-webkit-animation-duration: 1.5s;
	animation-name: fade;
	animation-duration: 1.5s
}
@-webkit-keyframes fade {
	from {opacity: .4}
	to {opacity: 1}
}
@keyframes fade {
	from {opacity: .4}
	to {opacity: 1}
}

					/* Mục lục */

#toc { 
	border-top: 2px solid #494949;
	overflow-y: auto;
	background-color: #191919
}
/* thanh cuộn dọc cho Mục lục */
#toc::-webkit-scrollbar {width: 2px}
#toc::-webkit-scrollbar-track {background: #191919}
#toc::-webkit-scrollbar-thumb {background: #494949}
#toc::-webkit-scrollbar-thumb:hover {background: #b0b099}

					/* Reponsive video */

.video {
	position: relative;
	overflow: hidden;
	width: 100%
}
.responsive-iframe {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background-color:#191919
}

					/* Điều hướng */

#home {
	background-color:#494949;
	width:48px;
	height:48px;
	border:none;
	outline:none;
	transition:.5s
}

/*-----------------------------------------------------------------------------*/
/*	2. Bố cục*/

	#main {
		border: none;
		padding: 0 30px 0 20px;
		margin: 10px;
		height: 100%;
		width: 67%
	}

	#toc {
		float: right;
		right: 0;
		bottom: 0;
		position: fixed;	
		height: 50%;
		width: 33%;
		padding: 0 10px 0 10px;
		margin: 0px
	}
	
	#home {
		float: none;
		bottom: 50%;
		left: 67%;
		position: fixed
	}
	
	#home:hover {
		width: 100%
	}
	
	#tooltip #tooltiptext {
		top: 0;
		right: 0;
		width: 33%;
		height: 50%
	}
	
@media screen and (max-width: 1000px){
	
	#main {
		width: 100%;
		height: 75%;
		padding: 0 5px 0 10px;
		margin: 0px
    }
	
	#toc {
		float: none;
		bottom: 0;
		width: 100%;
		height: 25%;
		padding: 0 5px 0 5px;
		margin: 0px
    }
	 
	#home {
		float: right;
		top: 75%;
		left: 67%;
		position: fixed
	}
	
	#home:hover {
		width: 54px;
		height: 100%
	}	
	
	#tooltip #tooltiptext {
		width: 100%;
		height: 50%
	}
	
}