/* Addon For The Child Theme
--------------------------------------------- */

/* ---------Body--------- */
body {
    font-family: 'Noto Sans SC',"PingFang SC","Helvetica Neue","Helvetica","Arial",sans-serif;
    font-size: 1.8rem;
}

.home #page {
    padding: 0;
    max-width: 100%;
    min-height: 100%;
}

.home .site-footer {
    display: none;
}

/* ---------Size--------- */
.page-content, 
.entry-content, 
.entry-summary {
    margin: 3em 0 0;
}

#page {
	max-width: 1800px;
    padding: 3% 8%;
}
}

article {
    padding-bottom: 80px;
}

.home article {
    padding-bottom: 0;
}

/* ---------font--------- */
.site-header .main-navigation a {
    font-size: 18px;
    font-weight: 300;
}

h1 {
    font-size: 52px;
    font-weight: 700;
    margin: 1.5em 0 1em;
}

h2 {
    font-size: 20px;
}

h3 {
    font-size: 18px;
    padding-bottom: 40px;
}

.site-footer .site-info {
    padding: 1.5% 0 0;
    font-size: 12px;
}

button,
button a {
    font-size: 16px;
    font-weight: 700;
}

/* ---------Header Menu--------- */
.home #masthead .site-branding {
    background: url(./images/logo_b.png) left center no-repeat;
    background-size: contain;
    min-height: 50px;
    padding: 0;
}

#masthead .site-branding {
    background: url(./images/logo_a.png) left center no-repeat;
    background-size: contain;
    min-height: 50px;
    padding: 0;
    height: 50px;
}

.home .site-header .main-navigation a {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    border-bottom: 0;
}

.site-title a {
    opacity: 0;
}

.main-navigation {
    border-top: 0;
}

.home .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 24px;
    z-index: 110;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 2560px;
    border: 0;
}

.site-header .site-description {
    display: none;
}

.site-header .main-navigation {
    width: auto;
    margin: 0;
}

.site-header .main-navigation a {
    border-top: 0;
}

/* ---------Color--------- */
h1,
h2, 
h3,
.site-title a,
.main-navigation a,
.widgettitle, 
.widget-title, 
.comments-title, 
#reply-title {
    color: #0d335e;

}

a:hover,
a:focus,
a:active {
    color: #3c6380;

}

.home .site-branding .site-title a,
.home .site-branding .site-description,
.home .main-navigation,
.home .main-navigation .current-menu-item a {
    color: #fff;
    border-top: 0;
}

.home .main-navigation .menu-item a{
    color: #fff;
    font-weight: 300;
}

.home .main-navigation .current-menu-item a{
    border-bottom-color: #fff;
    border-bottom: solid 3px;
    color: #fff;
}

.main-navigation .current-menu-item a{
    border-bottom-color: #000;
    border-bottom: solid 3px;
    color: #000;
}

button,
button a {
    color: #000;
    border-color: #000;
}

button:hover,
button a:hover {
    color: #525e69;
    border-color: #525e69;
}
/* ---------Home Page--------- */
.entry-header .entry-title{
    display: none;
}

.home .entry-content{
    margin: 0;
    height: 100vh;
    height: calc(100vh -60px);
}

/*.home .entry-content p{
    margin: 0;
    height: 100vh;
    height: calc(100vh -60px);
    overflow: hidden;
}

.home .entry-content img{
    max-width: none;
    height: 100vh;
    height: calc(100vh -60px);
    object-fit: cover;
    object-position: 50% 50%;
}*/

/* ---------xo-slider--------- */
.home .xo-slider {
    /*position: fixed;*/

}

.home .content-area,
.home .xo-slider .slide-content {
    padding: 0;
}

.home .xo-slider .swiper-slide {
    height: 100vh;
    height: calc(100vh -60px);
    overflow: hidden;
}

.home .page p{
    margin: 0;
    height: 0;
}

.home .xo-slider .swiper-slide img,
.home .xo-slider .swiper-slide video {
    z-index: -1;
    pointer-events: none;
    max-width: none;
    height: 100vh;
    height: calc(100vh -60px);
    /*min-width: 100%;
    max-height: 200%;*/
    object-fit: cover;
    object-position: 50% 50%;
}

.xo-slider .swiper .swiper-slide .slide-content {
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 20%;
    left: 0;
    width: 100%;
    align-items: flex-end;
    color: #fff;
    pointer-events: auto;
    height: auto;
	padding-left: 100px;
    padding-right: 100px;
}

.xo-slider .swiper-slide .slide-content .slide-content-text {
    display: flex;
    flex-direction: column;
}

.xo-slider .swiper-slide .slide-content .slide-content-text .title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    float:left;
    letter-spacing: 3px;
}

.xo-slider .swiper-slide .slide-content .slide-content-text .info {
    font-size: 26px;
    float:left;
    font-weight: 600;
    letter-spacing: 3px;
}

.xo-slider .swiper-slide .slide-content .slide-content-text .links {
    font-size: 18px;
    z-index: 20;
    padding: 30px 0 0 0;
}

.xo-slider .swiper-slide .slide-content .slide-content-text .links a.btn {
    /*display: flex;*/
    display: none;
    color: #fff;
    font-size: 18px;
    font-weight: normal;
    padding: 0;
    align-items: center;
    text-align: left;
    border: 0;
}

.xo-slider .swiper-slide .slide-content .slide-content-text .links a.btn i,
button i {
    display: flex;
    width: 16px;
    height: 14px;
    margin-left: 6px;
    background: url(./images/icon-arrow-long-w.svg) no-repeat center center / auto 100%;
    -webkit-transition: all .2s ease-out 0s;
    -moz-transition: all .2s ease-out 0s;
    transition: all .2s ease-out 0s;
}

button a {
    display: inline;
    text-decoration: none;
}

button i {
    display: inline;
    width: 10px;
    height: 6px;
    background: url(./images/icon-arrow-long.svg) no-repeat center center / auto 100%;
}

/* ---------Page--------- */
.members {
    display: flex;
    flex-wrap: wrap;
    padding: 0 0 10%;
}

.member {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% / 4);
}

.member img {
    display: block;
    max-width: 100%;
    height: auto;
    opacity: .9;
}

.member img:hover {
    display: block;
    max-width: 100%;
    height: auto;
    opacity: 1;
    -webkit-transition: all .2s ease-out 0s;
    -moz-transition: all .2s ease-out 0s;
    transition: all .2s ease-out 0s;
}

.member a {
    display: block;
    position: relative;
}

.member a .info {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 5% 10%;
    pointer-events: none;
    background-color: rgba(0,0,0,0.15); ;
}

.member a h3 {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    padding-bottom: 5px;
}

.member a span {
    font-size: 16px;
    color: #fff;
}

.member p {
    padding: 0;
    margin: 0;
}

.page-color-a {
	/*background-color: #3c6380;*/
	background-color: #f5f6f7;
	padding: 3%;
	margin-bottom: 1px;
	color: #000;
	/*margin-left:calc(900px - 50vw);
	width: 100vw;*/
}

.page-color-b {
	background-color: #f5f6f7;
	padding: 3%;
	margin-bottom: 20px;
}

.gallery-columns-2 {
    margin-left: 0;
    margin-right: 0;
}

.page .gallery-item {
	padding-left: 3em;
	padding-right: 3em;
}

.columns{
	float: left;
	width: 100%;
}

.columns .items-1 {
	width: 30%;
	float: left;
}

.columns .items-1 p {
	height: 430px;
	display:table-cell;
	vertical-align: bottom;
}

.columns .items-2 {
	width: 70%;
	float: right;
	text-align: right;
}

.page .page-color-b .item-l {
	width: 30%;
	font-size: 18px;
	vertical-align: middle;
	margin-top: 0.8%;
    text-align: left;
}

.page .page-color-b .item-r {
	width: 70%;
}

hr {
    clear: both;
}

.page-id-30 h3 {
    font-size: 18px;
    padding-bottom: 10px;
    letter-spacing: 6px;
}

.page-id-30 h1 {
    margin: 0.05em 0 2em;
}

.page-id-30 h2 {
    padding: 3em 0 0.1em;
}

.page-id-63 h1 {
    padding: 1em 0 0;
    margin: 0;
}

.page-id-28 h1 {
    margin: 1.5em 0 0.3em;
}

.entry-content {
    margin-bottom: 80px;
}

.page-id-34 .page-color-b {
    /*display: inline;*/
    width: 100%;
    /*height: 100%;*/
    overflow:hidden;
    padding: 0;
    /*height: 512px;*/
    margin-bottom: 1px;
}

.page-id-34 .gallery-columns-2 .gallery-item:nth-child(2n + 2) {
    margin-left: 30%;
    padding: 0;
}

.page-id-34 .gallery-columns-2 .gallery-item:nth-child(2n + 2) img {
    margin: 0;
    padding: 0;
}

.page-id-30 .gallery-item img {
    max-width: 77%;
}

/* ---------Media Queries--------- */
@media (max-width: 1024px) {
	.main-navigation .menu-toggle:before {
    	display: none;
	}
	
	#site-navigation {
    	position:relative;
	}
	
	.toggled .menu-mainnav-container {
    	position: absolute;
    	top: 50px;
    	right: 5px;
    	text-align: left;
    	width: 200px;
    	background-color:rgba(255,255,255,0.9);
    	border: solid 1px #ccc;
    	z-index:999;
	}
	
	.home .site-header .main-navigation .menu-item a {
    	color: #0d335e;
	}
	
	.home .site-header .main-navigation .current-menu-item a {
    	color: #fff;
	}

	.main-navigation .current-menu-item a {
    	border-bottom: 0;
    	background-color: #0d335e;
    	color: #fff;
	}
	
	div.apostrophe-navigation ul,
	ul.apostrophe-navigation {
		display: none;
	}

	.site-header .main-navigation {
	    /*width: 100%;*/
		margin: 10px 0 20px;
	}

	.main-navigation .menu-toggle {
		border-top: solid 4px transparent;
		cursor: pointer;
		display: block;
		height: 60px;
		line-height: 52px;
		margin: 0;
		padding: 0;
	}

	.main-navigation .menu-toggle:before {
		content: "\f419";
		display: inline-block;
		font-family: Genericons;
		font-size: 32px;
		font-weight: 500;
		line-height: 52px;
		padding-right: 10px;
		vertical-align: top;
		-webkit-font-smoothing: antialiased;
	}
	
	.main-navigation.toggled .current_page_item a,
	.main-navigation.toggled .current-menu-item a,
	.main-navigation.toggled .current-post-ancestor a,
	.main-navigation.toggled .current-menu-ancestor a,
	.main-navigation.toggled .current-menu-parent a,
	.main-navigation.toggled .current-post-parent a {
		border-top-color: transparent;
	}
	
	.main-navigation.toggled .apostrophe-navigation {
		border-bottom: 0;
		display: block;
	}

	.main-navigation.toggled .apostrophe-navigation li {
		clear: left;
		display: block;
		float: none;
	}

	.main-navigation.toggled .apostrophe-navigation li a {
		margin-top: 0;
		padding: 10px 25px 15px;
	}

	.main-navigation.toggled .apostrophe-navigation .toggled {
		border-bottom: 1px solid;
		border-top: 2px solid;
	}

	.main-navigation.toggled .apostrophe-navigation .toggled > .sub-menu {
		display: block;
	}

	ul.apostrophe-social {
		position: absolute;
		right: 0;
		top: 0;
	}

	ul.apostrophe-social li a {
		line-height: 60px;
	}
    .member {
    	width: calc(100% / 2);
	}
	
	
	
}

@media (min-width: 1024px) {
	.main-navigation .menu-toggle:before {
    	display: none;
	}

	.home .site-content #primary {
		padding-left: 0;
    	padding-right: 0;
	}
	
	.home #page .site-header  {
		padding-left: 100px;
    	padding-right: 100px;
	}
}

@media (min-width: 768px) {

	.main-navigation .menu-toggle:before {
    	display: none;
	}

	.home #page .site-header  {
		padding-left: 100px;
    	padding-right: 100px;
	}
	
	h1 {
        font-size: 48px;
    }
    
    #masthead, #colophon {
        float: none;
    }
    
}

@media (max-width: 767px) {	

	.main-navigation .menu-toggle:before {
    	display: none;
	}

	h1 {
        font-size: 32px;
    }
	.main-navigation .menu-toggle {
		border-bottom: 0;
	}
	
	.main-navigation.toggled .apostrophe-navigation {
		border-bottom: 0;
	}
	
	.main-navigation .menu-toggle:before {
		font-size: 23px;
		font-weight: 500;
	}
	
	.member {
    	width: calc(100% / 1);
	}
	
    .xo-slider .swiper .swiper-slide .slide-content {
		padding-left: 20px;
		padding-right: 20px;
	}
	
	.gallery-columns-2 .gallery-item:nth-child(2n + 1),
	.gallery-columns-2 .gallery-item:nth-child(2n + 2),
	.page-id-34 .gallery-columns-2 .gallery-item:nth-child(2n + 1),
	.page-id-34 .gallery-columns-2 .gallery-item:nth-child(2n + 2),
	.gallery-columns-5 .gallery-item:nth-child(5n + 1),
	.gallery-columns-5 .gallery-item:nth-child(5n + 2),
	.gallery-columns-5 .gallery-item:nth-child(5n + 3),
	.gallery-columns-5 .gallery-item:nth-child(5n + 4),
	.gallery-columns-5 .gallery-item:nth-child(5n + 5){
		margin-left: 0;
		margin-right: 0;
		clear: both;
    	width: 100%;
	}

}


/* End--------------------------------------- */