@media (min-width: 1301px) {
	.main-menu ul li:hover ul {
	  display: block;
	}
}
@media (max-width: 1300px) {
	body {
		font-size: 56.25%;
	}
	.header-top, .header-bottom {
		padding-top: 20px;
	}
	.header-title span {
		font-size: 5.8em;
	}
	.main-menu, .header-search {
		float: none;
	}
	.header-search {
		display: none;
		/* margin: 10px auto 0 auto; */
	}
	.header-search-after-menu {
		display: inline-block;
	}
	.main-menu ul {
		text-align: center;
	}
	.main-menu ul.menu > li {
		margin-bottom: 10px;
	}
	.bs-left {
		width: 320px;
		padding-right: 40px;
	}
	.profile-entry {
		min-width: 0;
	}
}

@media (max-width: 1100px) {
	.bs-title {
		margin-bottom: 20px;
		font-size: 2.6em;
	}
	.message-wrapper {
		max-width: 95%;
	}
	/*
	.mission-inner {
		padding: 70px 0 90px 0;
	}
	*/
	.mission-heading, .news-heading {
		font-size: 3em;
	}
	.news-heading {
		margin-bottom: 30px;
	}
	.news-wrapper {
		padding: 40px 0;
	}
	.ne-title {
		margin-bottom: 20px;
		font-size: 2.2em;
	}
}

@media (max-width: 1100px) and (min-width: 801px) {
	.list-entry-three {
		width: 48%;
		margin-bottom: 45px;
	}
	.list-entry-three:nth-child(2n+2) {
		margin-right: 0;
	}
}

@media (max-width: 960px) {
	.header-site-title {
		font-size: 2em;
	}
	.header-logo, .footer-logo,
	.header-logo img, .footer-logo img {
		height: 50px;
	}
	.header-title span {
		font-size: 4.6em;
	}
	.page-title, .page-title-right {
		font-size: 2.6em;	
	}
	.content-grid-page-container .content-left p {
		text-align: left;
	}
	.submenu ul.sub-menu > li > a {
		font-size: 2em;
	}
	.bs-left {
		width: 200px;
		padding-right: 20px;
	}
	.bs-title {
		font-size: 2.2em;
	}
	.bs-text {
		margin-bottom: 30px;
	}
	.bs-text p, .mission-text p, .message-text p, .ne-intro,
	p, .content table.cmb-table td p {
		font-size: 1.6em;
	}
	.ne-more {
		font-size: 1.8em;
	}
	.bs-link {
		padding: 12px 20px;
		font-size: 1.4em;
	}
	.banner-checkpoints {
		margin-top: 30px;
	}
	.banner-checkpoint span {
		font-size: 0.9em;
	}
	.bx-wrapper .bx-controls-direction a {
		width: 20px;
	}
	.banner-slider-container .bx-wrapper .bx-prev {
		left: 20px;
	}
	.banner-slider-container .bx-wrapper .bx-next {
		right: 20px;
	}
	/*
	.banner-slider-container, .banner-slider-container .bx-wrapper .bx-viewport, .banner-slide {
		height: 500px !important;
	}
	*/
	.mission-inner {
		width: 350px;
	}
	.message-name, .message-position, .message-department,
	.message-link {
		font-size: 1.9em;
	}
	.profile-entry-style-2 {
		width: 50%;
	}
	.profile-entry-style-2:nth-child(2n+2):after {
	  display: block;
	  position: absolute;
	  content: '';
	  left: 100%;
	  top: 0;
	  width: 2px;
	  height: 100%;
	  background-color: #1a1a36;
	}
}

@media (max-width: 900px) {
	.message-right, .message-image {
		width: 300px;
	}
	.message-right {
		height: 580px;
	}
}

/* Mobile */
@media (max-width: 800px) {


	.flex_tl_matrix_resources.flex_frame_view_days_num_1 .flex_tl_table, 
	.flex_tl_matrix_resources.flex_frame_view_days_num_60 .flex_tl_table, 
	.flex_tl_single_resource.flex_frame_view_days_num_30 .flex_tl_table {
	  min-width: 700px !important;
	}

	body {
		font-size: 50%; /* 56.25% */
	}
	.header-logo, .footer-logo,
	.header-logo img, .footer-logo img {
		height: 45px;
	}
	.header-title span {
		font-size: 3.6em;
	}
	.footer-bottom-left {
		padding-top: 0;
	}
	.footer-bottom-right {
		padding-top: 6px;
	}
	.cg-four .content-grid {
		width: 50%;
	}

	.content-details-container .content-left,
	.content-profile-container .content-left,
	.content-profile-single-container .content-left,
	.content-default-container .content-left,
	.content-details-container .content-right,
	.content-profile-container .content-right,
	.content-profile-single-container .content-right,
	.content-default-container .content-right {
		display: block;
		width: 100%;
		max-width: none;
	}
	.content-details-container .content-left,
	.content-profile-container .content-left,
	.content-profile-single-container .content-left,
	.content-default-container .content-left {
		padding: 0;
	}
	.content-left .sub-menu {
		display: none;
	}
	.submenu ul.menu > li > a {
		position: relative;
		padding: 15px 20px;
		font-size: 1.7em;
		cursor: pointer;
	}
	.submenu ul.menu > li > a:after {
		position: absolute;
		right: 20px;
		top: 50%;
		content:'\25BC';
		font-size: 0.8em;
		transform: translateY(-50%);
	}
	body.submenu-open .submenu ul.menu > li > a:after {
		content:'\25B2';
		margin-top: -1px;
	}
	.submenu ul.sub-menu > li > a {
		padding: 10px 20px 10px 45px;
		font-size: 1.7em;
	}
	.submenu ul.sub-menu > li > a:before {
		width: 12px;
	}
	.content-details-container .content-right,
	.content-profile-container .content-right,
	.content-profile-single-container .content-right,
	.content-default-container .content-right {
		padding: 30px 20px 40px 20px;
	}

	.content-grid-page-container .content-left,
	.content-grid-page-container .content-right {
		float: none;
		width: 100%;
	}
	.content-grid-page-container .content-left {
		max-width: none;
		padding-right: 0;
		margin-bottom: 20px;
	}

	.profile-sections {
		padding-right: 0;
	}

	.home-row-mission:before {
		display: block;
		position: absolute;
		content: '';
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(255,255,255,0.7);
	}
	.mission-inner {
		width: 100%;
	}

	.profile-section {
		margin-bottom: 20px;
	}
	.profile-top {
		padding-right: 0;
	}
	.page-title, .page-title-right {
		font-size: 2.8em;
	}

	.cm-bottom {
		display: none;
	}
	.cm-bottom-mobile {
		display: block;
	}
	.cm-bottom-mobile .cm-caption,
	.cm-bottom-mobile .cm-image {
		display: inline-block;
		vertical-align: middle;
	}
	.cm-bottom-mobile .cm-caption {
		float: none;
		width: 58%;
	}
	.cm-bottom-mobile .cm-image {
		width: 40%;
	}

	.banner-checkpoint span {
		display: none;
	}

	.profile-entry-style-2 {
		width: 25%;
	}
	.profile-entry-style-2:nth-child(2n+2):after {
	  display: none;
	}
	.profile-entry-style-2:nth-child(4n+4):after,
	.profile-entry-style-2:last-child:after {
	  display: block;
	  position: absolute;
	  content: '';
	  left: 100%;
	  top: 0;
	  width: 2px;
	  height: 100%;
	  background-color: #1a1a36;
	}
	.ne-more {
	  height: 35px;
	  padding-left: 50px;
	  line-height: 35px;
	}
	.ne-more:before {
	  width: 35px;
	  height: 35px;
	}

	.list-entries {
		padding-right: 0;
	}
}

@media (max-width: 785px) {
	.timeline.weekview .flex_tl_table .flex_tl_table_row_bookings, 
	.timeline.monthview .flex_tl_table .flex_tl_table_row_bookings,
	.flex_tl_table .flex_tl_table_header, 
	.flex_tl_table .flex_tl_table_titles, 
	.flex_tl_table .flex_tl_table_row_bookings {
	  display: block !important;
	}
}

@media (max-width: 710px) {
	.header-top {
		padding-top: 15px;
	}
	.header-site-title {
		font-size: 1.8em;
	}
	.header-logo, .footer-logo, .header-logo img, .footer-logo img {
		height: 40px;
	}
	.header-logo-2, .header-logo-3, .footer-logo-2, .footer-logo-3 {
		margin-left: 15px;
	}
	.banner-slide-inner, .bs-left, .bs-right {
		display: block;
	}
	.banner-slide-inner {
		padding: 0;
	}
	.bs-left {
		width: 50%;
		max-width: 200px;
		padding: 0;
		margin: 10px auto 20px auto;
	}
	.bs-right {
		text-align: center;
	}
	.banner-checkpoint {
		padding-bottom: 0;
	}
	.message-right, .message-image {
		width: 200px;
	}
	.message-right {
		height: 350px;
	}
	.large-quote-end:after {
		bottom: -40px;
	}
	.cmb-image {
		width: 200px;
	}
	.cm-caption {
		margin-right: 50px;
	}
	.list-entry-three {
		width: 48%;
		margin-bottom: 45px;
	}
	.list-entry-three:nth-child(2n+2) {
		margin-right: 0;
	}
}

@media (max-width: 650px) {
	.header-site-title {
		font-size: 1.5em;
	}
	.header-logo, .footer-logo, .header-logo img, .footer-logo img {
		height: 30px;
	}
	.header-logo-2, .header-logo-3, .footer-logo-2, .footer-logo-3 {
		margin-left: 10px;
	}
	.footer-top {
		padding-bottom: 20px;
	}
	.footer-top-left, .footer-top-right {
		float: none;
		width: 100%;
	}
	.footer-top-right {
		margin-top: 30px;
	}
	.footer-sitemap li a,
	.footer-top-right p {
	  font-weight: 300;
	}
	.header-logo, .footer-logo,
	.header-logo img, .footer-logo img {
		height: 40px;
	}
	.footer-bottom-right {
		padding-top: 8px;
	}
	.cmb-table {
		margin-top: 15px;
	}
	.cmb-text {
		display: none;
	}
	.cm-text-2 {
		display: block;
	}
}


/* mobile menu */

@media (max-width: 550px) {


	/* body {
		font-size: 50%;
	} */
	.main-wrapper {
		padding: 15px 0;
	}
	.form-field input,
	.form-field textarea,
	.main-menu ul.menu > li > a,
	.content li,
	.content .cm-table td p ,
	.content .cm-table td li {
		font-size: 1.7em;
	}
	.content-grid-page-container .content-left p {
		font-size: 1.9em;
	}
	.form-field input, .form-field textarea {
		padding: 15px 25px;
	}
	/*
	.header-top {
		display: table;
		table-layout: fixed;
		width: 100%;
		padding: 15px 0;
		border-bottom: 0;
	}
	.header-top-left, .header-top-right {
		float: none;
		display: table-cell;
		vertical-align: top;
	}
	*/
	.header-top {
		padding: 15px 0;
		border-bottom: 0;
	}
	.header-top-left {
		padding-right: 10px;
	}
	.header-site-title {
		font-size: 2em;
	}
	.header-site-title-desktop {
		display: none;
	}
	.header-site-title-mobile {
		display: inline-block;
	}
	.header-top-right {
		padding-top: 5px;
	}
	/*
	.header-logos {
		width: 176px;
	}
	*/
	.header-logo-2, .header-logo-3, .footer-logo-2, .footer-logo-3 {
		margin-left: 10px;
	}

	body.home .header, 
	body.page-template-page-home .header {
		padding-bottom: 5%;
	}

	.header-bottom {
		position: relative;
		padding: 0;
		margin-bottom: 15px;
		text-align: center;
	}
	.header-title {
		/*display: none;*/
	}
	.header-title span {
		font-size: 3em;
		padding: 5px 0 15px 0;
	}

	.main-menu-button {
		display: inline-block;
		width: 100%;
		padding: 8px 15px;
		background-color: #fa9646;
		text-align: center;
		border-radius: 10px;
		cursor: pointer;
	}
	.main-menu-button span {
		font-size: 1.8em;
		font-weight: 700;
	}
	.main-menu-button span:after {
		display: inline-block;
		content:'\25BC';
		padding-left: 8px;
		font-size: 0.8em;
		font-weight: 700;
		vertical-align: middle;
	}
	body.menu-open .main-menu-button {
	  -webkit-border-bottom-right-radius: 0px;
	  -webkit-border-bottom-left-radius: 0px;
	  -moz-border-radius-bottomright: 0px;
	  -moz-border-radius-bottomleft: 0px;
	  border-bottom-right-radius: 0px;
	  border-bottom-left-radius: 0px;
	}
	body.menu-open .main-menu-button span:after {
		content:'\25B2';
	}
	.main-menu-container {
		display: none;
		position: absolute;
		left: 0;
		top: 100%;
		width: 100%;
		background-color: #fa9646;
		z-index: 100;
		box-shadow: 0 3px 5px rgba(0,0,0,0.25);
	  -webkit-border-bottom-right-radius: 10px;
	  -webkit-border-bottom-left-radius: 10px;
	  -moz-border-radius-bottomright: 10px;
	  -moz-border-radius-bottomleft: 10px;
	  border-bottom-right-radius: 10px;
	  border-bottom-left-radius: 10px;
	}
	.main-menu {
		float: none;
	}
	.main-menu ul.menu > li {
		display: block;
		padding-right: 0;
		margin-bottom: 0;
	}
	.main-menu ul.menu > li:hover > a,
	.main-menu ul.menu > li.current-menu-item > a,
	.main-menu ul.menu > li.current-menu-ancestor > a,
	.main-menu ul.menu > li.current-menu-parent > a {
		background-color: #ef6f0a;
	}
	.main-menu ul.menu > li > a {
		display: block;
		padding: 10px 15px;
		font-size: 1.8em;
	}
	.main-menu ul ul {
		position: static;
		width: 100%;
		padding-top: 0;
	}
	.main-menu ul li.current-menu-parent ul,
	.main-menu ul li.current-menu-item ul {
		display: block;
	}
	.main-menu ul ul li.current-menu-item a,
	.main-menu ul ul li:hover a {
		background-color: #555;
	}
	.main-menu ul ul li a {
		font-size: 1.8em;
	}
	.header-search {
		margin: 10px auto;
	}
	.profile-entry-style-2:nth-child(2n+2):after {
	  display: block;
	  position: absolute;
	  content: '';
	  left: 100%;
	  top: 0;
	  width: 2px;
	  height: 100%;
	  background-color: #1a1a36;
	}

	.footer {
		padding: 20px 0;
	}
	/*
	.footer-sitemap > ul > li {
		float: none;
		width: 100%;
		margin-bottom: 15px;
	}
	*/
	.footer-top-right {
		margin-top: 10px;
	}
	.footer-bottom-left, .footer-bottom-right {
		float: none;
		width: 100%;
	}
	.footer-bottom-right {
		padding-top: 25px;
	}
	.map {
		margin-bottom: 10px;
	}
	.footer-logos {
		text-align: left;
	}

	.page-title, .page-title-right {
		padding: 10px 15px;
		margin-bottom: 10px;
		font-size: 2.4em;
	}

	.large-quote-start:before {
		left: -20px;
		top: -15px;
	}
	.large-quote-end:after {
		right: -20px;
		bottom: -35px;
	}
	.message-desktop {
		display: none;
	}
	.message-mobile {
		display: block;
	}
	.message-mobile-top {
		padding-top: 20px;
	}
	.message-mobile-text {
		padding: 0 20px;
		margin-bottom: 0;
	}
	.message-mobile-text p {
		font-size: 1.6em;
	}
	.large-quote-end:before {
		top: -10px;
		font-size: 2.2em;
	}
	.large-quote-end:after {
		bottom: -25px;
		font-size: 2.2em;
	}
	.message-mobile-bottom {
		display: table;
		table-layout: fixed;
		width: 100%;
		max-width: 400px;
		margin: 0 auto;
	}
	.message-info, .message-image {
		display: table-cell;
		vertical-align: bottom;
	}
	.message-info {
		padding-bottom: 30px;
	}
	.message-image {
		width: 150px;
		padding-top: 10px;
		padding-left: 10px;
	}

	.news-slider-container {
		padding: 0 10px;
	}

	/*
	.message-image {
		animation: chairman 0.5s 2s infinite;
	}
	@keyframes chairman {
		0% {
			top: 0;
		}
		30% {
			top: 0;
		}
		50% {
			top: -30px;
		}
		70% {
			top: 0px;
		}
		100% {
			top: 0px;
		}
	}
	.message-info-2 {
		position: relative;
		animation: box 0.5s 2s infinite;
	}
	@keyframes box {
		0% {
			top: 0;
		}
		30% {
			top: 0;
		}
		50% {
			top: -20px;
		}
		70% {
			top: 0px;
		}
		100% {
			top: 0px;
		}
	}
	*/

	.message-link {
		padding: 7px 10px;
	  margin-top: 10px;
	  font-size: 1.6em;
	}

	.content-container.content-grid-page-container {
		padding-bottom: 30px;
	}

	.contact-text {
		padding-bottom: 15px;
	}

	.cg-four .content-grid {
		width: 100%;
	}
	.content-grid {
		float: none;
		max-width: 400px;
		margin-left: auto;
		margin-right: auto;
	}
	.cg-text span {
		font-size: 1.8em;
	}
	.profile-entry-style-2 {
		width: 50%;
	}
	.pt-left {
		width: 45%;
	}
	.pt-position {
		margin-bottom: 20px;
	}
	.pt-bottom {
		position: static;
	}

	.accordion-details {
		padding-right: 0;
	}
	.bx-wrapper .bx-controls-direction a {
		width: 15px;
	}

}

@media (max-width: 450px) {
	.main {
		font-size: 90%;
	}
	.wrapper {
		width: 90%;
	}
	.header-site-title {
		font-size: 1.6em;
	}
	.header-top {
		padding: 10px 0 5px 0;
	}
	/*
	.header-logos {
		width: 90px;
	}
	*/
	.header-logo, .footer-logo, .header-logo img, .footer-logo img {
		height: 30px;
	}
	/* .header-logo {
		display: block;
		margin-bottom: 3px;
		text-align: center;
		}
	*/
	.header-logo-2, .header-logo-3 {
		margin-left: 5px;
	}
	.header-site-title {
		font-size: 1.5em;
	}
	.main-menu-button {
		padding: 5px 15px 7px 15px;
	}
	.main-menu-button span {
		font-size: 1.3em;
	}
	.header-bottom {
		margin-bottom: 10px;
	}

	.form-field-half {
		float: none;
		width: 100%;
		margin-right: 0;
	}
	.form-submit {
		text-align: center;
	}
	.accordion-topic {
		min-height: 0;
		padding: 10px 50px 10px 15px;
		margin-bottom: 10px;
	}
	.accordion-topic:before {
		top: 11px;
		right: 15px;
		width: 24px;
		height: 24px;
	}
	.accordion-details {
		padding-bottom: 30px;
	}
	.profile-entry-style-1 {
		width: 50%;
	}

	.banner-slider-container .bx-controls {
		display: none;
	}

	.ne-more {
	  height: 25px;
	  padding-left: 40px;
	  line-height: 25px;
	}
	.ne-more:before {
	  width: 25px;
	  height: 25px;
	}
	.cmb-caption {
		margin-right: 20px;
	}
	.cmb-image {
		width: 150px;
	}
}


@media (max-width: 400px) {
	.header-site-title {
		font-size: 1.4em;
	}
	.profile-entry-without-image {
		float: none;
		width: 100%;
		max-width: none;
	}
	.profile-entry-without-image:last-child:after {
		display: none;
	}
	.profile-top, .pt-left, .pt-right {
		display: block;
	}
	.profile-top {
		padding-bottom: 25px;
	}
	.pt-left {
		width: 70%;
		max-width: 150px;
		padding: 0;
		margin: 0 auto 20px auto;
	}
	.pt-right {
		text-align: center;
	}
	.profile-entry {
		min-width: 0;
	}
}

/*

.main-menu-container {
	position: fixed;
	right: 0;
	top: 0;
	width: 80%;
	max-width: 400px;
	height: 100%;
	padding-bottom: 20px;
	opacity: 0;
  background-color: #AC7861;
	-ms-transform: translateX(100%);
	transform: translateX(100%);
	box-shadow: 0 0 10px 10px rgba(0,0,0,0.2);
	z-index: 200;
	overflow: auto;
	transition: all 0.3s ease-in-out;
}
body.menu-open .main-menu-container {
	opacity: 1;
	-ms-transform: translateX(0);
	transform: translateX(0);
	transition: all 0.3s ease-in-out;
}
.main-menu-mask {
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.3);
	z-index: 100;
}
body.menu-open .main-menu-mask {
	display: block;
}
.main-menu-top {
	overflow: hidden;
}
.main-menu-close {
	display: block;
	float: right;
	width: 20px;
	height: 20px;
	margin: 25px;
	background: url('images/menu-close-white@2x.png') no-repeat center center;
	background-size: contain;
	cursor: pointer;
	z-index: 300;
}

.main-menu li, .main-menu a {
	display: block;
	color: #FFF;
}
.main-menu li {
}
.main-menu a {
	padding: 10px 25px;
	font-family: 'Lora', serif;
	font-size: 1.8em;
	letter-spacing: 0;
}
.main-menu a:hover {
	color: #000;
}
.main-menu ul ul a:before {
	display: inline-block;
	content: '．';
	font-size: 1.2em;
	vertical-align: top;
}
*/
