/* -------------------------------- 

Primary style

-------------------------------- */
*,
*::after,
*::before {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

html {
	font-size: 62.5%;
	width: 100%;
}

body {
	font-size: 1.6rem;
	font-family: "Microsoft YaHei", "Source Sans Pro", sans-serif;
	color: #003c5d;
	background-color: #ffffff;
	margin: 0;
	background-image: url(../img/home-bg1.png), url(../img/home-bg2.png);
	background-repeat: no-repeat, no-repeat;
	background-position: center 80px, center calc(100% - 150px);
	/*	background-size: contain;*/
	background-size: 90%;
}

a {
	color: #9acd91;
	text-decoration: none;
}

img {
	max-width: 100%;
	max-height: 100%;
}

/* -------------------------------- 

Stretchy Nav style - common to:
 - basic navigation
 - add-content navigation
 - edit-content navigation

-------------------------------- */
.cd-stretchy-nav {
	/*  position: absolute;*/
	z-index: 2;
	top: 0px;
	right: 0px;
}

.cd-stretchy-nav .stretchy-nav-bg {
	/* this is the stretching navigation background */
	position: absolute;
	z-index: 1;
	top: 0;
	right: 0;
	/*
  width: 60px;
  height: 60px;
*/
	border-radius: 30px;
	/*  background: #9acd91;*/
	-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
	-webkit-transition: height 0.2s, box-shadow 0.2s;
	-webkit-transition: height 0.2s, -webkit-box-shadow 0.2s;
	transition: height 0.2s, -webkit-box-shadow 0.2s;
	transition: height 0.2s, box-shadow 0.2s;
	transition: height 0.2s, box-shadow 0.2s, -webkit-box-shadow 0.2s;
}

.cd-stretchy-nav ul li {
	width: 130px;
	padding: 0 10px;
	text-align: center;
	cursor: pointer;
}

.cd-stretchy-nav ul li:hover {
	color: #fff;
	background: #273c66;
	padding-left: 0px;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}

.cd-stretchy-nav.nav-is-visible .stretchy-nav-bg {
	height: 100%;
	-webkit-box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
	box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

.cd-nav-trigger {
	position: absolute;
	z-index: 3;
	top: 0;
	right: 10px;
	height: 80px;
	width: 30px;
	border-radius: 50%;
	/* replace text with image */
	overflow: hidden;
	white-space: nowrap;
	color: transparent;
}

.cd-nav-trigger span,
.cd-nav-trigger span::after,
.cd-nav-trigger span::before {
	/* this is the hamburger icon */
	position: absolute;
	width: 16px;
	height: 2px;
	background-color: #ffffff;
}

.cd-nav-trigger span {
	/* middle line of the hamburger icon */
	left: 50%;
	top: 50%;
	bottom: auto;
	right: auto;
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
	-webkit-transition: background-color 0.2s;
	transition: background-color 0.2s;
}

.cd-nav-trigger span::after,
.cd-nav-trigger span::before {
	/* top and bottom lines of the hamburger icon */
	content: '';
	top: 0;
	left: 0;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: -webkit-transform 0.2s;
	transition: -webkit-transform 0.2s;
	transition: transform 0.2s;
	transition: transform 0.2s, -webkit-transform 0.2s;
}

.cd-nav-trigger span::before {
	-webkit-transform: translateY(-6px);
	transform: translateY(-6px);
}

.cd-nav-trigger span::after {
	-webkit-transform: translateY(6px);
	transform: translateY(6px);
}

.no-touch .cd-nav-trigger:hover ~ .stretchy-nav-bg {
	-webkit-box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
	box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

.nav-is-visible .cd-nav-trigger span {
	background-color: transparent;
}

.nav-is-visible .cd-nav-trigger span::before {
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.nav-is-visible .cd-nav-trigger span::after {
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

.cd-stretchy-nav ul {
	position: absolute;
	z-index: 3;
	padding: 0;
	top: 64px;
	right: 10px;
	visibility: hidden;
	-webkit-transition: visibility 0.3s;
	transition: visibility 0.3s;
	text-align: right;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.cd-stretchy-nav ul a {
	position: relative;
	display: block;
	height: 50px;
	line-height: 50px;
	/*  padding: 0 calc(1em + 60px) 0 1em;*/
	color: rgba(255, 255, 255, 0.7);
	font-size: 1.4rem;
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
	font-weight: 500;
}

/* navigation item icons */
/*
.cd-stretchy-nav ul a::after {
  content: '';
  position: absolute;
  height: 16px;
  width: 16px;
  right: 22px;
  top: 50%;
  -webkit-transform: translateY(-50%) scale(0);
  transform: translateY(-50%) scale(0);
  opacity: .6;
  background: url(../img/cd-sprite-1.svg) no-repeat 0 0;
}
*/
.cd-stretchy-nav ul a::before {
	/* line visible next to the active navigation item */
	content: '';
	/*  position: absolute;*/
	width: 3px;
	height: 16px;
	top: 50%;
	right: 60px;
	-webkit-transform: translateX(3px) translateY(-50%) scaleY(0);
	transform: translateX(3px) translateY(-50%) scaleY(0);
	background-color: #0a9581;
}

.cd-stretchy-nav ul li:first-of-type a::after {
	/* change custom icon using image sprites */
	/*  background-position: -32px 0;*/
}

.cd-stretchy-nav ul li:nth-of-type(2) a::after {
	/*  background-position: -64px 0;*/
}

.cd-stretchy-nav ul li:nth-of-type(3) a::after {
	/*  background-position: -48px 0;*/
}

.cd-stretchy-nav ul li:nth-of-type(4) a::after {
	/*  background-position: 0 0;*/
}

.cd-stretchy-nav ul li:nth-of-type(5) a::after {
	/*  background-position: -16px 0;*/

}

.cd-stretchy-nav ul span {
	padding: 10px;
	/* navigation item labels */
	/*  display: block;*/
	opacity: 0;
	/*
  -webkit-transform: translateX(-25px);
  transform: translateX(-25px);
*/
}

.cd-stretchy-nav ul span:nth-of-type(1) {
	/*	color: #21a7d0;*/
	color: #273c66;
}

.cd-stretchy-nav ul span:nth-of-type(2) {
	border-radius: 50%;
	background-color: #21a7d0;
	padding: 4px;
}
.cd-stretchy-nav ul li:hover a span{
	font-weight: 500;
	color: white;
}
.cd-stretchy-nav ul li:hover span:nth-of-type(2) {
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
	font-size: 1.4em;
	cursor: pointer;
}

.cd-stretchy-nav.nav-is-visible ul {
	visibility: visible;
	background: white;
	-webkit-box-shadow: 4px 5px 4px #ccc;
	box-shadow: 4px 5px 4px #ccc;
}

.cd-stretchy-nav.nav-is-visible ul a::after {
	/* navigation item icons */
	-webkit-transform: translateY(-50%) scale(1);
	transform: translateY(-50%) scale(1);
	-webkit-animation: scaleIn 0.15s backwards;
	animation: scaleIn 0.15s backwards;
	-webkit-transition: opacity 0.2s;
	transition: opacity 0.2s;
}

.cd-stretchy-nav.nav-is-visible ul a.active {
	color: #ffffff;
}

.cd-stretchy-nav.nav-is-visible ul a.active::after {
	opacity: 1;
}

.cd-stretchy-nav.nav-is-visible ul a.active::before {
	-webkit-transform: translateX(3px) translateY(-50%) scaleY(1);
	transform: translateX(3px) translateY(-50%) scaleY(1);
	-webkit-transition: -webkit-transform 0.15s 0.3s;
	transition: -webkit-transform 0.15s 0.3s;
	transition: transform 0.15s 0.3s;
	transition: transform 0.15s 0.3s, -webkit-transform 0.15s 0.3s;
}

.cd-stretchy-nav.nav-is-visible ul span {
	opacity: 1;
	-webkit-transform: translateX(0);
	transform: translateX(0);
	-webkit-animation: slideIn 0.15s backwards;
	animation: slideIn 0.15s backwards;
	-webkit-transition: -webkit-transform 0.2s;
	transition: -webkit-transform 0.2s;
	transition: transform 0.2s;
	transition: transform 0.2s, -webkit-transform 0.2s;
}

.no-touch .cd-stretchy-nav.nav-is-visible ul a:hover {
	color: #ffffff;
}

.no-touch .cd-stretchy-nav.nav-is-visible ul a:hover::after {
	opacity: 1;
}

.no-touch .cd-stretchy-nav.nav-is-visible ul a:hover span {
	-webkit-transform: translateX(-5px);
	transform: translateX(-5px);
}

.cd-stretchy-nav.nav-is-visible ul li:first-of-type a::after,
.cd-stretchy-nav.nav-is-visible ul li:first-of-type span {
	-webkit-animation-delay: 0.05s;
	animation-delay: 0.05s;
}

.cd-stretchy-nav.nav-is-visible ul li:nth-of-type(2) a::after,
.cd-stretchy-nav.nav-is-visible ul li:nth-of-type(2) span {
	-webkit-animation-delay: 0.1s;
	animation-delay: 0.1s;
}

.cd-stretchy-nav.nav-is-visible ul li:nth-of-type(3) a::after,
.cd-stretchy-nav.nav-is-visible ul li:nth-of-type(3) span {
	-webkit-animation-delay: 0.15s;
	animation-delay: 0.15s;
}

.cd-stretchy-nav.nav-is-visible ul li:nth-of-type(4) a::after,
.cd-stretchy-nav.nav-is-visible ul li:nth-of-type(4) span {
	-webkit-animation-delay: 0.2s;
	animation-delay: 0.2s;
}

.cd-stretchy-nav.nav-is-visible ul li:nth-of-type(5) a::after,
.cd-stretchy-nav.nav-is-visible ul li:nth-of-type(5) span {
	-webkit-animation-delay: 0.25s;
	animation-delay: 0.25s;
}

/* -------------------------------- 

add-content navigation style

-------------------------------- */
.cd-stretchy-nav.add-content {
	bottom: 50px;
	top: auto;
	left: 50%;
	right: auto;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	width: 300px;
}

.cd-stretchy-nav.add-content .stretchy-nav-bg {
	left: 50%;
	right: auto;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	background-color: #8ac57f;
	-webkit-transition: width 0.2s, box-shadow 0.2s;
	-webkit-transition: width 0.2s, -webkit-box-shadow 0.2s;
	transition: width 0.2s, -webkit-box-shadow 0.2s;
	transition: width 0.2s, box-shadow 0.2s;
	transition: width 0.2s, box-shadow 0.2s, -webkit-box-shadow 0.2s;
}

.cd-stretchy-nav.add-content.nav-is-visible .stretchy-nav-bg {
	width: 100%;
	-webkit-box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
	box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

.cd-stretchy-nav.add-content .cd-nav-trigger {
	left: 50%;
	right: auto;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	background-color: #9acd91;
}

.cd-stretchy-nav.add-content .cd-nav-trigger span {
	background-color: transparent;
}

.cd-stretchy-nav.add-content .cd-nav-trigger span::before {
	/* used to create the plus icon */
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
}

.cd-stretchy-nav.add-content .cd-nav-trigger span::after {
	/* used to create the plus icon */
	-webkit-transform: rotate(0deg);
	transform: rotate(0deg);
}

.cd-stretchy-nav.add-content.nav-is-visible .cd-nav-trigger {
	-webkit-box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.cd-stretchy-nav.add-content.nav-is-visible .cd-nav-trigger span::before {
	-webkit-transform: rotate(-135deg);
	transform: rotate(-135deg);
}

.cd-stretchy-nav.add-content.nav-is-visible .cd-nav-trigger span::after {
	-webkit-transform: rotate(-225deg);
	transform: rotate(-225deg);
}

.cd-stretchy-nav.add-content ul {
	padding-top: 0;
}

.cd-stretchy-nav.add-content ul::after {
	clear: both;
	content: "";
	display: table;
}

.cd-stretchy-nav.add-content ul li {
	display: inline-block;
	float: left;
	width: 60px;
}

.cd-stretchy-nav.add-content ul li:nth-of-type(2) {
	/* space occupied by the navigation trigger */
	margin-right: 60px;
}

.cd-stretchy-nav.add-content ul a {
	padding: 0;
	height: 60px;
	width: 100%;
}

.cd-stretchy-nav.add-content ul a::after {
	top: 50%;
	left: 22px;
	right: auto;
	-webkit-transform: translateY(-50%) scale(0);
	transform: translateY(-50%) scale(0);
	background-image: url(../img/cd-sprite-2.svg);
}

.cd-stretchy-nav.add-content ul li:first-of-type a::after {
	background-position: -16px 0px;
}

.cd-stretchy-nav.add-content ul li:nth-of-type(2) a::after {
	background-position: 0px 0px;
}

.cd-stretchy-nav.add-content ul li:nth-of-type(3) a::after {
	background-position: -48px 0px;
}

.cd-stretchy-nav.add-content ul li:nth-of-type(4) a::after {
	background-position: -32px 0px;
}

.cd-stretchy-nav.add-content ul li:first-of-type a::after,
.cd-stretchy-nav.add-content ul li:nth-of-type(4) a::after {
	-webkit-animation-delay: 0.2s;
	animation-delay: 0.2s;
}

.cd-stretchy-nav.add-content ul li:nth-of-type(2) a::after,
.cd-stretchy-nav.add-content ul li:nth-of-type(3) a::after {
	-webkit-animation-delay: 0.1s;
	animation-delay: 0.1s;
}

.cd-stretchy-nav.add-content.nav-is-visible ul a::after {
	-webkit-animation-name: scaleIn;
	animation-name: scaleIn;
	-webkit-transform: translateY(-50%) scale(1);
	transform: translateY(-50%) scale(1);
}

.cd-stretchy-nav.add-content ul span {
	position: absolute;
	left: 0;
	top: -20px;
	width: 100%;
	padding: 0.6em 0;
	opacity: 0;
	visibility: hidden;
	background-color: rgba(0, 0, 0, 0.8);
	border-radius: 2px;
	font-size: 1.2rem;
	line-height: 1;
	white-space: nowrap;
	text-align: center;
	-webkit-transition: opacity 0.2s, visibility 0.2s;
	transition: opacity 0.2s, visibility 0.2s;
	/* reset default style */
	-webkit-transform: translateX(0);
	transform: translateX(0);
}

.cd-stretchy-nav.add-content ul span::after {
	/* triangle below the tooltip */
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	right: auto;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	height: 0;
	width: 0;
	border: 4px solid transparent;
	border-top-color: rgba(0, 0, 0, 0.8);
}

.cd-stretchy-nav.add-content.nav-is-visible ul span {
	/* reset default style */
	-webkit-animation: none;
	animation: none;
}

.no-touch .cd-stretchy-nav.add-content.nav-is-visible ul a:hover span {
	opacity: 1;
	visibility: visible;
	/* reset default style */
	-webkit-transform: translateX(0);
	transform: translateX(0);
}

/* -------------------------------- 

edit content

-------------------------------- */
.cd-editable-content {
	/* used to wrap the image and the navigation */
	position: relative;
	width: 90%;
	max-width: 400px;
	margin: 4em auto;
}

.cd-editable-content img {
	display: block;
	border-radius: .25em;
}

.cd-stretchy-nav.edit-content {
	position: absolute;
	top: 15px;
	right: 15px;
}

.cd-stretchy-nav.edit-content .stretchy-nav-bg {
	height: 30px;
	width: 30px;
	background-color: rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: none;
	box-shadow: none;
	-webkit-transition: background 0.2s, height 0.2s;
	transition: background 0.2s, height 0.2s;
}

.cd-stretchy-nav.edit-content.nav-is-visible .stretchy-nav-bg {
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	/* reset default style */
	-webkit-box-shadow: none;
	box-shadow: none;
}

.cd-stretchy-nav.edit-content .cd-nav-trigger {
	height: 30px;
	width: 30px;
}

.cd-stretchy-nav.edit-content .cd-nav-trigger span {
	opacity: 0;
	background-color: transparent;
}

.cd-stretchy-nav.edit-content .cd-nav-trigger span::before {
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.cd-stretchy-nav.edit-content .cd-nav-trigger span::after {
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

.cd-stretchy-nav.edit-content .cd-nav-trigger span,
.cd-stretchy-nav.edit-content .cd-nav-trigger span::before,
.cd-stretchy-nav.edit-content .cd-nav-trigger span::after {
	/* used to create the 'X' icon when the navigation is open */
	width: 12px;
}

.cd-stretchy-nav.edit-content .cd-nav-trigger::after {
	/* edit icon */
	content: '';
	position: absolute;
	height: 16px;
	width: 16px;
	left: 50%;
	top: 50%;
	bottom: auto;
	right: auto;
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
	background: url(../img/cd-sprite-3.svg) no-repeat 0 0;
}

.cd-stretchy-nav.edit-content .cd-nav-trigger span,
.cd-stretchy-nav.edit-content .cd-nav-trigger::after {
	-webkit-transition: opacity 0.2s;
	transition: opacity 0.2s;
}

.no-touch .cd-stretchy-nav.edit-content .cd-nav-trigger:hover ~ .stretchy-nav-bg {
	-webkit-box-shadow: none;
	box-shadow: none;
	background-color: rgba(0, 0, 0, 0.8);
}

.cd-stretchy-nav.edit-content.nav-is-visible .cd-nav-trigger span {
	opacity: 1;
}

.cd-stretchy-nav.edit-content.nav-is-visible .cd-nav-trigger span::before {
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

.cd-stretchy-nav.edit-content.nav-is-visible .cd-nav-trigger span::after {
	-webkit-transform: rotate(135deg);
	transform: rotate(135deg);
}

.cd-stretchy-nav.edit-content.nav-is-visible .cd-nav-trigger::after {
	/* hide edit icon */
	opacity: 0;
}

.cd-stretchy-nav.edit-content ul {
	padding-top: 30px;
}

.cd-stretchy-nav.edit-content ul a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	padding: 0;
}

.cd-stretchy-nav.edit-content ul a::after {
	right: 7px;
	background-image: url(../img/cd-sprite-3.svg);
}

.cd-stretchy-nav.edit-content ul li:first-of-type a::after {
	background-position: -16px 0;
}

.cd-stretchy-nav.edit-content ul li:nth-of-type(2) a::after {
	background-position: -32px 0;
}

.cd-stretchy-nav.edit-content ul li:nth-of-type(3) a::after {
	background-position: -48px 0;
}

.cd-stretchy-nav.edit-content ul li:nth-of-type(4) a::after {
	background-position: -64px 0;
}

.cd-stretchy-nav.edit-content ul span {
	position: absolute;
	top: 0;
	right: 35px;
	height: 30px;
	line-height: 30px;
	padding: 0 1em;
	opacity: 0;
	visibility: hidden;
	background-color: rgba(0, 0, 0, 0.55);
	border-radius: 2px;
	text-align: center;
	-webkit-transition: opacity 0.2s, visibility 0.2s;
	transition: opacity 0.2s, visibility 0.2s;
}

.cd-stretchy-nav.edit-content ul span::after {
	/* triangle below the tooltip */
	content: '';
	position: absolute;
	left: 100%;
	top: 50%;
	bottom: auto;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	height: 0;
	width: 0;
	border: 4px solid transparent;
	border-left-color: rgba(0, 0, 0, 0.55);
}

.cd-stretchy-nav.edit-content.nav-is-visible ul span {
	/* reset default style */
	-webkit-animation: none;
	animation: none;
}

.no-touch .cd-stretchy-nav.edit-content.nav-is-visible ul a:hover span {
	opacity: 1;
	visibility: visible;
	/* reset default style */
	-webkit-transform: translateX(0);
	transform: translateX(0);
}

/* -------------------------------- 

main content basic style

-------------------------------- */
.cd-main-content {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	padding: 100px 0;
	background-color: #003c5d;
	color: #fff;
}

/* -------------------------------- 

keyframes

-------------------------------- */
@-webkit-keyframes scaleIn {
	from {
		-webkit-transform: translateY(-50%) scale(0);
	}

	to {
		-webkit-transform: translateY(-50%) scale(1);
	}
}

@keyframes scaleIn {
	from {
		-webkit-transform: translateY(-50%) scale(0);
		transform: translateY(-50%) scale(0);
	}

	to {
		-webkit-transform: translateY(-50%) scale(1);
		transform: translateY(-50%) scale(1);
	}
}

@-webkit-keyframes slideIn {
	from {
		opacity: 0;
		-webkit-transform: translateX(-25px);
	}

	to {
		opacity: 1;
		-webkit-transform: translateX(0);
	}
}

@keyframes slideIn {
	from {
		opacity: 0;
		-webkit-transform: translateX(-25px);
		transform: translateX(-25px);
	}

	to {
		opacity: 1;
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}
}

@-webkit-keyframes virblation {
	0% {
		-webkit-transform: translateY(0%) scale(0);
		transform: translateY(0%) scale(0);
	}

	50% {
		-webkit-transform: translateY(-50%) scale(0.5);
		transform: translateY(-50%) scale(0.5);
	}

	100% {
		-webkit-transform: translateY(0%) scale(1);
		transform: translateY(0%) scale(1);
	}
}

@keyframes virblation {
	0% {
		-webkit-transform: translateY(0%) scale(0);
		transform: translateY(0%) scale(0);
	}

	50% {
		-webkit-transform: translateY(-50%) scale(0.5);
		transform: translateY(-50%) scale(0.5);
	}

	100% {
		-webkit-transform: translateY(0%) scale(1);
		transform: translateY(0%) scale(1);
	}
}

header .user-left {
	float: left;
	/*	width: 260px;*/
	margin-left: 20px;
	margin-right: 20px;
}

header .user-left * {
	float: left;
	line-height: 80px;
    height: 80px;
}

header .user-right > * {
	/*header .user-right *:not('.cd-stretchy-nav') {*/
	float: right;
}

header .user-right {
	position: relative;
	float: right;
	/*	width: calc( 100% - 200px );*/
	padding-right: 40px;
	line-height: 80px;
}

header .motto {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	/*	float: left; */
	/* width: calc( 100% - 450px); */
	margin: 0 auto;
	text-align: center;
	/* height: 50px; */
	/* line-height: 25px; */
	vertical-align: middle;
	position: relative;
	padding: 10px;
	padding-top: 10px;
}

header .motto marquee{
/*	color: #ff391f;*/
	color:white;
}

header #icon-bell {
  line-height: 80px;
  margin-right: 10px;
  cursor: pointer;
  font-size: 20px;
}

header #icon-bell+.notif-bullet {
  height: 12px;
  width: 12px;
  background-color: #f95200;
  display: inline-block;
  position: absolute;
  top: 23px;
  left: 16px;
  border-radius: 50%;
  border: 2px solid #e2e2e2;
}
header .user-right .cart_no.show {
	z-index: 1;
	opacity: 1;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
	-webkit-transition-property: all;
	transition-property: all;
	-webkit-transition-duration: 0.5s;
	transition-duration: 0.5s;
	-webkit-transition-timing-function: ease;
	transition-timing-function: ease;
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
	top: 12px;
}

header .user-right .cart_no {
	position: relative;
	height: 24px;
	width: 24px;
	border-radius: 50%;
	background: #21a7d0;
	text-align: center;
	line-height: 24px;
	font-size: 12px;
	position: relative;
	top: 2px;
	right: 6px;
	z-index: 10;
	opacity: 0;
}

header .user-right #uname {
	padding-right: 10px;
	margin-right: 5px;
/*	margin-right: 25px;*/
}

header .user-right #uname:after {
	content: '';
	display: block;
	float: right;
	border-left: 1px solid white;
	background-color: #505050;
	padding-top: 20px;
	padding-right: 2px;
	top: 30px;
	left: 7px;
	position: relative;
}

header {
	height: 80px;
	background-color: #273c66;
	color: white;
}
header .user_png {
  width:40px;
  margin-right: 6px;
}
header .user_png img {
  width:100%;
}
header > .user-left > div {
	position: relative;
	height: 80px;
}

header > .user-left > div > img {
	/*	position: relative;*/
	height: 100%;
	padding: 10px;
}

header > .user-left > div > h1 {
	position: relative;
	font-size: 26px !important;
	float: left;
	line-height: 40px;
	padding-left: 10px;
}

.htmleaf-container {
	margin-top: 80px;
/*	min-height: calc(100vh - 310px);*/
	min-height: calc(100vh - 250px);
}

footer {
	bottom: 0px;
	overflow: hidden;
	height: 150px;
	background: #273c66;
	padding-top: 40px;
	position: relative;
	width: 100%;
}

footer > div:nth-of-type(1) {
	float: left;
	position: absolute;
	padding: 29px;
}

footer > div:nth-of-type(2)::before {
	content: "";
	display: block;
	border-top: 2px solid #334c7e;
	margin: 0 110px;
}

footer > div:nth-of-type(2) {
	width: 100%;
	position: relative;
	text-align: center;
	color: white;
	padding: 0 10px;
}

footer > div:nth-child(2) > h6 {
	text-align: center;
	line-height: 57px;
}

#inputGroupFile01 {
	width: 100%;
	cursor: pointer;
}

.tooltip .arrow::before {
	border-right-color: #4980b5 !important;
}

.tooltip-inner {
	position: absolute;
	top: 30px;
	left: -285px ;
	background-color: #4980b5;
	color: white;
	width: 260px !important;
	padding: 10px 20px;
	border-radius: 4px;
	line-height: 1.5;
	letter-spacing: 2px;
	text-align: center;
	font-size: 16px;
}

.bs-tooltip-auto[x-placement^=top] .arrow::before,
.bs-tooltip-top .arrow::before {
	border-top-color: #4980b5;
}

.icon-cart {
/*
	position: relative;
	top:36px;
*/
	cursor: pointer;
}
#icon-bell:hover,
.icon-cart:hover {
	color: #e91e63;
}

.icon-cart:active {
	-webkit-transform: scale(0.9);
	transform: scale(0.9);
}

#mask {
	position: fixed;
	background-color: rgba(255, 255, 255, 0);
	z-index: 100;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	display: none;

}

.bomlist {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 50%;
	height: auto;
	background: white;
	border: 2px solid #ddd;
	border-radius: 4px;
	margin: 40px 10px 0px;
	z-index: 101;
	padding: 20px;
	padding-bottom: 0;
}

.bomlist_arrow {
	border-bottom: 10px solid rgb(255 255 255);
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	top: -8px;
	position: absolute;
	width: 0;
	right: 22px;

}

.bomlist > div:not(:first-child):not(:last-child) > div {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
	text-align: left;	
	-webkit-box-align: center;	
	-webkit-align-items: center;	
	-ms-flex-align: center;	
	align-items: center;
	margin:10px;
}

body > div.bomlist > div:nth-child(3) {
	position: relative;
	max-height: 550px;
	overflow: hidden;
	
}
.bomlist > div:not(:first-child):not(:last-child) > div > div:nth-child(2) {
	position: relative;
	width: calc( 100% - 200px );
	padding:10px;
	max-height: 90px;
	overflow: hidden;
	letter-spacing: 4px;
	font-size: 1.4rem;
}

.bomlist > div:not(:first-child):not(:last-child) > div > div:nth-child(2)::before {
    position: absolute;
    background: -webkit-gradient(linear,left top, left bottom,from(transparent),color-stop(40%, rgba(255,255,255,.75)),color-stop(70%, #fff),to(#fff));
    background: linear-gradient(transparent,rgba(255,255,255,.75) 40%,#fff 70%,#fff);
    bottom: -.5rem;
    content: '';
    height: 3rem;
    right: 0;
    width: 100%;
}

.bomlist > div:nth-child(2) > div > div:nth-child(3) > i {
	display: block;
	width: 100%;
	text-align: center;
	height: 50px;
	line-height: 50px;
}

.bomlist > div:not(:first-child):not(:last-child) > div > div:nth-child(1) {
	width: 100px;
	height: 100px;
	position: relative;
}

.bomlist > div:not(:first-child):not(:last-child) > div > div:nth-child(3) > i {
	display: block;
	height: 50px;
	line-height: 50px;
	cursor: pointer;	
	text-align: center;
	color: #ccc;
}

.bomlist > div:not(:first-child):not(:last-child) > div > div:nth-child(3) > i:hover {
	color: red;	
}

.bomlist > div:not(:first-child):not(:last-child) > div > div:nth-child(3) > i:active {
	-webkit-transform: scale(0.9);
	transform: scale(0.9);
}
.bomlist > div:last-child {
	padding: 10px;
	border-top: 1px solid #ccc;
	margin: 10px 0px 0px 10px;
	text-align: right;
}
.bomlist > div:last-child button {
	padding: 6px 10px;
	color: #3b3b3b;
	border-radius: 4px;
	font-size: 1.3rem;
}

.bomlist > h5 {
	font-size: 1.4rem;
	color: #ccc;
}






/*meta*/

@media screen and (max-width: 425px) {
	body > header > div.user-left > h1 {
		font-size: 20px;
	}
	header .user-left {
		margin-right: 0px;
		margin-left: 10px;
	}
	.htmleaf-container {
		margin-top:30px;
	}
	.searchlist {
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		-webkit-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		-webkit-box-align: center;
		-webkit-align-items: center;
		-ms-flex-align: center;
		align-items: center;
		-webkit-box-pack: start;
		-webkit-justify-content: flex-start;
		-ms-flex-pack: start;
		justify-content: flex-start;
	}
	.searchlist > div.searchlist > div:nth-child(4),
	.searchlist > div.searchlist > div:nth-child(5) {
		margin-top: 20px;
	}
	#effect-6 > div.alert.alert-primary.searchlist > div:nth-child(2) {    
		text-align: right;
    display: block;
    width: 100%;
	}
	header > .user-left > div > img {
		padding: 16px 10px;
	}
/*
	header .user-right {
		padding-right: 20px;
	}
*/
}
#data_Analyze_table {
	overflow-x: scroll;
}
.buyclass {
			position: relative;
			border-radius: 20px;
			width: 60%;
			padding: 4px;
			background: #21a7d0;
			height: 30px;
			color: white;
			text-align: center;
			right: -90px;
			bottom: 40px;
		}
		.buyclass > span:nth-child(2) {
			position: relative;
			font-size: 18px;	
			padding-left:10px;
			letter-spacing: 3px;
			top: -3px;
		} 
		.grid-item .card-text>.buyclass>span:nth-child(2) {
			position: relative;
			top: -4px;
			font-size: 16px;
			padding-left: 10px;
			letter-spacing: 3px;
		}
		.grid-item .card-text>.buyclass:hover {
			background-color: #273c66;
			-webkit-transition: all 0.6s;
			transition: all 0.6s;			
		}
.clubarea .lnr-users {
		position: relative;
    font-size: 20px;
		top:4px;
}
.clubarea	{
	position: relative;
	border-radius: 20px;
	width: 60%;
	padding: 4px;
	background: #ccc;
	height: 30px;
	color: white;
	text-align: center;
	right: -90px;
	bottom: 40px;
	cursor: default;
}
.grid-item .card-text>.clubarea>span:nth-child(2) {
	position: relative;
	top: 2px;
	font-size: 16px;
	padding-left: 10px;
	letter-spacing: 3px;
}
.newslist {
  padding: 0px;
  top:30px;
}
.newslist > h2 {
  background: #ffc107;
  text-align: center;
  height: 50px;
  color:#6c757d;
  line-height: 50px;
}
.newslist div:not(:first-child):not(:last-child) > div{
  display: block !important;
}	
.newslist div:nth-child(3) > div > h3 {
  margin-bottom: 2px;
  margin-top: 2px;
  letter-spacing: 1.2px;
}
.newslist > div:not(:first-child):not(:last-child) > div > div:nth-child(2) {
  width:100% !important;
  text-align: left;
}
.newslist > div:nth-child(3) > div > div:nth-child(3) {
  text-align: right;
  border-bottom:1px solid #ccc;
  color: #ddd;
}
.newslist > .bomlist_arrow {
  top:-11px;
}
.bomlist > div:last-child {
  border-top-width: 0px;
}
		@media screen and (max-width: 768px) {
			header .motto {
		/*		width: 90%;*/
				clear: both;
				margin-left:100px;
			}
			header .motto marquee{
				color:#ff391f;
			}
		}
		#mask .sduin {
			width: 100%;
			height: 100%;
			margin: auto;
		}
		.sduInfo {
			width: 50%;
			height: 50%;
			position: relative;
			margin: 10% auto;
			text-align: center;
			background: white;
			padding: 50px 0;
			-webkit-box-shadow: 1px 1px 50px #bbb;
			box-shadow: 1px 1px 50px #bbb;
		}

		@media screen and (min-width:1024px){
		.overlay a{
				margin: 10px !important;
			}
}
/* lg */
		@media screen and (min-width:600px) and (max-width:1024px){
			.redopg {
				top: 100px !important;
			}
			.htmleaf-container {
				margin-top: 40px !important;
			}			
			.overlay {
				width:100% !important;
			}
			.overlay a{
				margin: 3px !important;
			}
}
		/* mq */
		@media screen and (min-width:425px) and (max-width:600px){
			.redopg {
				top: 100px !important;
			}
			.htmleaf-container {
				margin-top: 50px !important;
			}			
			.overlay {
				width:100% !important;
			}
			.overlay a{
				margin: 3px !important;
			}
}
		/* sm */
		@media (max-width: 425px) {
			.redopg {
				top: 100px !important;
			}
			.htmleaf-container > div:nth-child(3) {
				text-align: left;
			}
			.htmleaf-container {
				margin-top: 30px !important;
			}
			.overlay {
				width:100% !important;
			}
			.overlay a{
				margin: 3px !important;
			}
			a.close-overlay {
/*				top: -15px !important;*/
			}
}

		@media screen and (max-width: 456px) {
      body > header > div.user-left > h1 {
        font-size: 1.6rem;
      }
			header{
				height: 100px;
			}
			header .user-right {
				padding-right: 30px;
				top: -50px;
				
				padding-right: 30px;
				top: 40px;
				position: absolute;
				right: 0px;
			}
      .redopg {
        top: 115px !important;
      }
			header .motto {
				margin-left: 10px;
				top: 10px;
			}
      
		}
    @media (max-width: 765px) {
      header .user-left * {
        font-size: 1.8rem;
      }
    }