body {
	padding: 0;
	margin: 0;
	width: 100%;
	height: 100%;
	background-color: #4787ce;
	/*background-color: #262626;*/
	text-align: center;
}

#titles {
	margin-left: 16px;
	-webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: top;
    -ms-flex-item-align: top;
    align-self: top;
}

#banner {
	position: relative;
	width: 100%;
	background-color: #4787ce;
	overflow-x: hidden;
	overflow-y: visible;
}

#banner_image {
	margin-left: auto;
	margin-right: auto;
	display: block;
	/*width: 50%;*/
	width: 709;
	max-width: 100%;
	z-index: 2;
	position: relative;
}

#night {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

#mainpage {
	position: relative;
	width: 100%;
	max-width: 1280px;
	display: inline-block;
	z-index: 2;
}

#mainpage_inner {
	width: 100%;
	background-color: #262626;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
}

#links_wrapper {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 0px;
    z-index: 3;
}

#links {
	font-family: 'Krona One', sans-serif;
	font-size: 13pt;
	height: 40px;
	width: 100%;
	max-width: 1280px;
	display: inline-block;
	text-align: left;
	position: relative;
	border-bottom: 6px;
	border-bottom-style: solid;
	border-bottom-color: #efefef;
	color: #f5f5f5;
	position: relative;
}

#link_here {
	/*border-top: 6px;
	border-top-style: solid;
	border-top-color: #3e75b3;*/
	padding-top: 12px;

	color: #262626;
	background-color: #efefef;
	height: 34px;
	display: inline-block;
	padding-left: 16px;
	padding-right: 16px;
	z-index: 3;
    position: relative;
	float: left;
}

.link {
    position: relative;
	margin-top: 12px;
	color: #efefef;
	height: 34px;
	display: inline-block;
	padding-left: 16px;
	padding-right: 16px;
	z-index: 3;
	float: left;
	font-weight: normal;
}

#linkthing {
	position: absolute;
	left: 0;
	top: 0;
	width: 0px;
	height: 40px;
	z-index: 2;
	background-color: #efefef;
}

.smLeft {
	width: 0px;
	height: 0px;
	border-top: 25px solid transparent;
	border-bottom: 25px solid transparent; 
	border-right: 14px solid #262626;

	display: inline-block;
}

.sm {
	height: 50px;
	background-color: #262626;
	display: inline-block;
	text-align: left;
	line-height: 50px;
	width: 200px;
	padding-left: 16px;
	font-family: 'Open Sans', sans-serif;
	font-weight: bold;
	font-size: 15pt;
	overflow: hidden;
	vertical-align: top;
	margin: 0;
}

.smRight {
	width: 0px;
	height: 0px;
	border-top: 25px solid transparent;
	border-bottom: 25px solid transparent;
	border-left: 14px solid #262626;

	display: inline-block;
}

.smLink {
	height: 50px;
	background-color: #4787ce;
}

a {
	color: #4787ce;
	font-weight: bold;
	text-decoration: none;
}

.title {
	color: #efefef;
	margin-top: 16px;
	cursor: pointer;
}

#content {
	-webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: auto;
	margin: 16px;
	position: relative;
}

.linkimg {
	width: 22px;
	height: 22px;
}

.region-icon {
	width: 28px;
	height: 28px;
}

.sm-icon {
	width: 48px;
	height: 48px;
}

.content-links {
	display: inline-block;
}

.content-links img {
	vertical-align: middle;
}

.content-link-text {
	display: inline-block;
	line-height: 48px;
}

a img {
	vertical-align: middle;
}

.innerpage {
	font-family: 'Open Sans', sans-serif;
	font-size: 15pt;
	color: #efefef;
	text-align: left;
	display: none;
}

#footer {
	width: 100%;
	border-top: 6px solid #efefef;
	padding-top: 8px;
	padding-bottom: 8px;
    text-align: right;
}

#copyright {
    text-align: center;
	font-family: 'Open Sans', sans-serif;
	font-size: 12pt;
	color: #f5f5f5;
	display: inline;
}

#copyright a {
	color: #f5f5f5;
	text-decoration: underline;
}
