/* selection
 * =================================================================== */
::selection {
	background: #333;
	color: #fff;
}

@media (max-width: 1199px) {
}
@media (max-width: 991px) {
}
@media (max-width: 767px) {
}

@media (min-width: 768px) {
}
@media (min-width: 992px) {
}
@media (min-width: 1200px) {
}


a:link {
	color: rgb(0,0,238);
	text-decoration: underline;
}
a:visited {
	color: rgb(85,26,139);
}

body {
	font-family: sans-serif;
	font-weight: 400;
	word-break: keep-all;
	font-size: 14px;
	padding: 0;
	margin: 0;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: sans-serif;
	font-weight: 700;
}

/* header
 * =================================================================== */
#header {
	padding: 10px;
	position: fixed;
	z-index: 999;
	top: 0;
	left: 0;
	right: 0;
	background-color: #fff;
}

/* nav
 * ------------------------------------------------------------------- */
#nav {
	font-size: 32px;
}
#nav a {
	display: inline-block;
}
@media (max-width: 767px) {
	#nav {
		font-size: 18px;
	}
}

/* footer
 * =================================================================== */
#footer {
	padding: 10px;
}

/* body
 * =================================================================== */
#body {
	position: relative;
}
#iframes {
	position: absolute;
	z-index: 1;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	overflow: hidden;
}
html.mobile #iframes {
	overflow-x: scroll;
}
#iframes #iframes-inner {
	position: absolute;
	z-index: 1;
	top: 0;
	bottom: 0;
	left: 0;
}
html.mobile #iframes #iframes-inner {
	position: relative;
	height: 100%;
	left: 0 !important;
}
#iframes #iframes-inner .iframe-body {
	position: relative;
	height: 100%;
	max-width: 830px;
	float: left;
	border: none;
	background-color: #fff;
	-webkit-overflow-scrolling: touch;
	overflow: auto;
}
@media (max-width: 767px) {
	#iframes #iframes-inner .iframe-body {
		overflow-x: hidden;
	}
}
#iframes #iframes-inner .iframe-body:last-child {
	max-width: none;
}
#iframes #iframes-inner .iframe-body iframe {
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #fff;
}
html.mobile #iframes #iframes-inner .iframe-body.docs iframe {
	top: -75px;
}

.dpopup-area .dpopup .item .buttons a {
	background-color: #fff !important;
	border: 1px solid #000 !important;
	color: #000 !important;
}
.dpopup-area .dpopup .item .buttons a:hover {
	background-color: #000 !important;
	border: 1px solid #fff !important;
	color: #fff !important;
}
@media (max-width: 767px) {
	.dpopup-area {
		left: auto !important;
		top: auto !important;
		right: 0;
		bottom: 0;
	}
	.dpopup-area .dpopup {
		margin-right: 0 !important;
		margin-bottom: 0 !important;
	}
	.dpopup-area .dpopup .item a {
		max-width: 100%;
	}
	.dpopup-area .dpopup .item .buttons {
		display: block !important;
	}
	.dpopup-area .dpopup .item > a img {
		width: 100%;
	}
}