/* 
Theme Name:		 Tozai Trading
Theme URI:		 http://childtheme-generator.com/
Description:	 Tozai Trading is a child theme of WP Bootstrap Starter, created by ChildTheme-Generator.com
Author:			 Tsutomu Ishida
Author URI:		 http://childtheme-generator.com/
Template:		 wp-bootstrap-starter
Version:		 1.0.0
Text Domain:	 Tozai Trading
*/



@import url(style-navi.css);


html {
	font-size: 62.5%;
    color: #2E2C24;
}
body {
    font-size: 1.6rem;
}

@media screen and (max-width: 475px) {
    body {
        width: fit-content;
    }
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
header#masthead {
  box-shadow: none;
  margin-bottom: 0;
    padding: 0;
    background-color: transparent;
    height: 150px;
}

.navbar-brand > a {
  color: rgba(0, 0, 0, 0.9);
  font-size: 1rem;
  outline: medium none;
  text-decoration: none;
}

.navbar-brand > a:visited, .navbar-brand > a:hover {
  text-decoration: none;
}

#page-sub-header {
  padding: 1.875rem 0;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  position: relative;
  color: #cdbfe3;
  padding: 4rem 0.938rem;
  text-align: center;
  font-size: 1.25rem;
  background-size: cover;
}

#page-sub-header h1 {
  margin-top: 0;
  color: #fff;
  margin-bottom: 0.625rem;
}

#page-sub-header p {
  margin-bottom: 0;
  font-weight: 300;
  line-height: 1.4;
}

@media screen and (min-width: 768px) {
  #page-sub-header h1 {
    font-size: 3.750rem;
    line-height: 1;
  }

  #page-sub-header {
    padding-top: 3.750rem;
    padding-bottom: 3.750rem;
    text-align: left;
    font-size: 1.5rem;
  }
}
@media screen and (min-width: 992px) {
  #page-sub-header p {
    max-width: 50rem;
  }
}
@media screen and (max-width: 991px) {
    header#masthead {
        height: 130px;
    }
}


/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
#masthead .navbar-nav > li > a {
  color: #8e869d;
  padding: 0.5rem;
}

#masthead .navbar-nav > li > a:hover {
  color: #292b2c;
  /*background: #f9f9f9;*/
}




/*--------------------------------------------------------------
### Elements
--------------------------------------------------------------*/
body {
	background: #f3f0e7;
	font-size: 0.875rem;
  /* Fallback for when there is no custom background color defined. */
}

.row-30 {
	margin-right: -30px;
    margin-left: -30px;
}
.col-30 {
	padding-right: 30px;
    padding-left: 30px;
}
.mt-2 { margin-top: 2rem !important; }
.mt-3 { margin-top: 3rem !important; }
.mt-4 { margin-top: 4rem !important; }
.mt-5 { margin-top: 5rem !important; }
.mt-6 { margin-top: 6rem !important; }
.mt-10 { margin-top: 10rem !important; }
.mb-2 { margin-bottom: 2rem !important; }
.mb-3 { margin-bottom: 3rem !important; }
.mb-4 { margin-bottom: 4rem !important; }
.mb-5 { margin-bottom: 5rem !important; }
.mb-6 { margin-bottom: 6rem !important; }
.mb-10 { margin-bottom: 10rem !important; }

main {
	margin-bottom: 0;
}
main article {
    margin-bottom: 50px;
    width: 100%;
}

#content.site-content {
	padding: 40px 0 0;
}

.table-bordered td, .table-bordered th {
    border: 1px solid #ccc;
}
.table td, .table th {
    vertical-align: middle;
    border-top: 1px solid #ccc;
}
.wp-pagenavi { font-size: 1.6rem; }
.wp-block-image .aligncenter>figcaption, .wp-block-image .alignleft>figcaption, .wp-block-image .alignright>figcaption, .wp-block-image.aligncenter>figcaption, .wp-block-image.alignleft>figcaption, .wp-block-image.alignright>figcaption {
    font-size: 1.4rem;
}

@media only screen and (max-width: 991px) {
	.row-30 {
		margin-right: -15px;
    	margin-left: -15px;
	}
	.col-30 {
		padding-right: 15px;
    	padding-left: 15px;
	}
    #content.site-content {
        padding: 40px 0 0;
    }
    main article {
        margin-bottom: 0;
    }
}
@media only screen and (max-width: 767px) {
    #content.site-content {
        padding: 20px 0 0;
    }
}
@media only screen and (max-width: 575px) {
    .mbmb {
        margin-bottom: 20px;
    }
}

/*--------------------------------------------------------------
### Typography
--------------------------------------------------------------*/
a {
	color: #2E2C24;
}
a:hover {
	color: #2E2C24;
	opacity: .75;
	text-decoration: none;
}

.entry-content p {
	font-size: 1.6rem;
}

.entry-content ul {
	padding-left: 20px;
	margin-bottom: 40px;
}
.entry-content li {
	font-size: 1.6rem;
	margin: 5px 0;
}




/*--------------------------------------------------------------
### Header
--------------------------------------------------------------*/
header#masthead .header-top {
	width: 100%;
	background-color:rgba(0,0,0,0.05);
	color: #2e2c24;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	padding: 10px 15px;
}
header#masthead .header-top a {
	color: #2e2c24;
}
header#masthead .header-top span.jp {
	margin-left: 10px;
}
header#masthead .navbar {
	padding: 17px 20px;
    height: 110px;
}
header#masthead .navbar-brand img.logo {
	max-width: 264px;
}
header#masthead .navbar-brand {
	min-width: 360px;
    padding: 0 !important;
}
header#masthead .navbar-brand .description {
	float: right;
	color: #000;
	font-size: 12px;
	font-style: italic;
	margin-top: 15px;
}
header#masthead .navbar-brand .description span.flag-icon {
	margin-left: 10px;
}
header#masthead .primary-menu {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translate(0, -50%);
}
header#masthead .header-top .left {
	float: left;
	margin: 0;
}
header#masthead .header-top .right {
	float: right;
	margin: 0;
}
header#masthead .header-top .right .lang {
    display: inline-block;
    margin-left: 10px;
}
header#masthead .header-top .right .lang a {
    padding: 10px 10px;
    background-color: #2E2C24;
    color: #f3f0e7;
}
header#masthead .header-top .right .lang a:hover {
    background-color: #e60012;
    color: #FFFFFF;
}




@media only screen and (min-width: 991px) and (max-width: 1199px) {
	header#masthead .navbar-brand .description {
		display: none;
	}
	header#masthead .navbar-brand {
		min-width: 154px;
	}
}
	
	
	
@media only screen and (max-width: 991px) {
    header#masthead .navbar {
        height: 93px;
    }
	header#masthead .navbar-brand {
		width: 360px;
	}
    header#masthead .navbar-brand img.logo {
        width: 200px;
    }
    header#masthead .header-top {
        font-size: 1.4rem;
    }
}
@media only screen and (max-width: 767px) {
	header#masthead .navbar-brand .description {
		display: none;
	}
	header#masthead .header-top span.jp {
		display: none;
	}
	header#masthead .header-top .left {
		display: none;
	}
	header#masthead .header-top .right {
        width: 100%;
        float: left;
	}
    header#masthead .header-top .right .lang {
        float: right;
    }
}


/*--------------------------------------------------------------
### Menus
--------------------------------------------------------------*/
#masthead .primary-menu .navbar-nav {
    display: flex;
    flex-direction: row;
}
#masthead .primary-menu .navbar-nav > li > a {
    color: #2E2C24 !important;
    padding: 0 1rem !important;
    font-weight: normal !important;
    font-size: 1.7rem !important;
    text-transform: uppercase;
}
#masthead .navbar-nav > li > a:hover {
    color: #444;
}




.navbar-toggler-icon {
    width: 2em;
    height: 2em;
}
.navbar-toggler-right {
	right:0;
}
.navbar-toggler {
    position: absolute;
    right: 20px;
    padding: .6rem .6rem;
	border-radius: 0;
    background-color: #fafafa;
    font-size: 2rem;
}

#masthead .navbar-nav > li {
}
#masthead .navbar-nav > li > a:hover {
}

@media screen and (min-width: 992px) {
    .navbar-toggler {
        display: none;
    }
}
@media screen and (max-width: 991px) {
	#masthead .navbar-nav > li > a {
    	padding-bottom: 0.625rem;
    	padding-top: 0.625rem;
	}
	#masthead #menu-main-menu {
        display: none;
	}
}




/*--------------------------------------------------------------
### Footer
--------------------------------------------------------------*/
footer#colophon {
	position: relative;
	background-color: transparent !important;
	color: #2E2C24;
	border-top: 1px solid #2e2c24;
	text-align: left;
	padding: 4rem 2rem;
}
footer#colophon .logo {
	width: 280px;
	margin-bottom: 20px;
}
footer#colophon h2 {
	font-size: 1.8rem;
	font-weight: bold;
}
footer#colophon p {
	font-size: 1.4rem;
	line-height: 1.4;
	color: #2E2C24;
    margin-bottom: 0;
}
.scroll-square {
	position: absolute;
	width: 40px;
	height: 40px;
	margin: auto;
	top:-20px;
	left: 0;
    right: 0;	background-color: #2e2c24;
	text-align: center;
}
.scroll-square a {
	display: block;
	line-height: 40px;
}
.site-info {
	background-color: #2e2c24;
	color: #fff;
	font-size: 1.4rem;
    font-weight: 300;
	padding: 11px 0;
	text-align: center;
    text-transform: uppercase;
}
.site-info a {
	color: #fff;
}
footer#colophon ul.navbar-nav {
    flex-direction: row;
}
footer#colophon ul.navbar-nav li {
    margin-left: 10px;
}
footer#colophon ul.navbar-nav li a {
    font-size: 1.4rem;
    text-transform: uppercase;
	color: #2e2c24;
}

@media screen and (max-width: 991px) {
	footer#colophon,
	footer#colophon .col-lg.fourth .social-icons {
		text-align: center;
	}
	footer#colophon .col-lg.fourth .social-icons {
		margin-top: 30px;
	}
    footer#colophon .logo {
        width: 240px;
        margin-bottom: 20px;
    }
    footer#colophon p {
        font-size: 1.6rem;
        line-height: 2.2rem;
    }
}
@media screen and (max-width: 767px) {
    footer#colophon .logo {
        width: 200px;
        margin-bottom: 20px;
    }
}
@media screen and (max-width: 475px) {
    .site-info {
        font-size: 1.2rem;
    }
}


/*--------------------------------------------------------------
### Front page
--------------------------------------------------------------*/
.carousel.slide {
    height: calc(100vh - 110px);
    max-height: 800px;
}
.carousel-item {
  min-height: 200px;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.front-text {
	position: absolute;
	width: 100%;
    padding: 30px;
	z-index: 3;
}
.carousel-item-image img,
.carousel-item,
.front-text .container {
    width: 100%;
    height: calc(100vh - 110px);
    max-height: 800px;
}
.carousel-item-image img {
    object-fit: cover;
}
.front-text-inner p {
	font-size: 2rem;
    font-weight: bold;
    color: #FFFFFF;
	line-height: 1.4;
	margin: 10px 0 0;
}
.front-text .front-text-inner p {
    font-size: 3.6rem;
}
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: #000;
    opacity: .3;
}
.home-content p {
	font-size: 1.6rem;
}
.home-content p.countries {
    text-transform: uppercase;
}
.home-content .steps {
	margin-bottom: 20px;
}
.home-content .steps .number {
	position: relative;
	background-color: #fff;
}
.home-content .steps .number .inner {
	position: absolute;
	top: 50%;
	left:50%;
	transform: translate(-50%,-50%);
	font-size: 1.5rem;
	color: #e60012;
}
.home-content .steps .desc {
	padding-left: 10px;
}
.home-content .top-three p {
	text-align: justify
}
.home-content .steps .desc p {
	margin-bottom: 0;
	line-height: 1.4;
	text-align: left;
}

.entry-content h2,
#car-search h2,
#news-headline,
.category-news .content-area h2,
.archive .content-area h2 {
	text-align: center;
	font-size: 28px;
	font-weight: bold;
	margin-bottom: 30px;
	line-height: 1.3;
}
#car-search h2 {
    margin-bottom: 0;
}

.archive .content-area h3 {
	text-align: center;
	font-size: 21px;
	font-weight: bold;
	margin-bottom: 30px;
	line-height: 1.3;
    width: 100%;
}
.entry-content h4,
#car-search h4,
#news-headline h4,
.category-news .content-area h4,
.archive .content-area h4 {
	text-align: center;
	font-size: 18px;
	margin-bottom: 20px;
}
.entry-content h3 {
	text-align: center;
	font-size: 18px;
	color: #e60012;
	margin-bottom: 30px;
}
.steps .desc h4 {
	text-align: left;
	font-size: 1rem;
	font-weight: bold;
	margin-bottom: 5px;
}
.top-three div {
	text-align: center;
}
.top-three div p {
	font-size: 0.875rem;
	text-align: justify;
}
.top-three img {
	margin: 2px 0 30px;
}
	
.three-links .link-box {
	position: relative;
	height: 300px;
	background-position: center;
	background-size: cover;
}
.three-links .link-box .inner {
	position: absolute;
    top: 50%;
    transform: translateY(-50%);
	text-align: center;
    width: 100%;
    color: #fff;
	z-index: 3;
}
.three-links .link-box .inner h3,
.three-links .link-box .inner h4 {
	text-align: center;
	font-size: 18px;
}
.three-links .link-box .inner h3 {
	font-weight: bold;
	margin-bottom: 10px;
}
.three-links .link-box .inner h4 {
	font-family: 'Lato', sans-serif;
	margin-bottom: 0;
}
.three-links .link-box a {
	display: block;
}
.three-links .link-box a:hover .overlay {
	opacity: .6;
	-webkit-transition: opacity 0.5s ease-out;
	-moz-transition: opacity 0.5s ease-out;
	-o-transition: opacity 0.5s ease-out;
	transition: opacity 0.5s ease-out;
}


section.page-section {
}
    section.page-section.front-desc .inner {
    padding: 20px;
    background-color: #FFFFFF;
}
section.page-section.front-desc .inner p {
    max-width: 400px;
    font-size: 2rem;
}
section.page-section.front-desc .photo {
    width: 100%;
    height: 360px;
    background-position: center;
    background-size: cover;
}

.front-text-inner {
    padding: 20px;
    position: absolute;
    z-index: 10;
}
.home .front-text-inner {
    padding: 0;
}
.front-text-inner h3 {
    font-size: 4rem;
    color: #FFFFFF;
    font-weight: bold;
    text-transform: uppercase;
}
.front-text-inner p {
    color: #FFFFFF;
}


@media screen and (max-width: 991px) {
    .carousel.slide,
	.carousel-item,
	.front-text .container {
		height: 400px;
	}
    .front-text .front-text-inner p {
        font-size: 2.6rem;
    }
    .entry-content h2, #car-search h2, #news-headline, .category-news .content-area h2, .archive .content-area h2 {
        font-size: 2.8rem !important;
    }
    section.page-section.front-desc .photo {
        height: 300px;
    }
    section.page-section.front-desc .inner p {
        font-size: 1.8rem;
    }
}
@media screen and (max-width: 767px) {
    .carousel.slide,
	.carousel-item,
	.front-text .container {
		height: 300px;
	}
    .front-text .front-text-inner p {
        font-size: 2.1rem;
        margin-top: 0px;
    }
    section.page-section.front-desc .photo {
        height: 300px;
    }
    .front-text-inner h3 {
        font-size: 3rem;
    }
    .entry-content h2, #car-search h2, #news-headline, .category-news .content-area h2, .archive .content-area h2 {
        font-size: 2.4rem !important;
    }
    section.page-section.front-desc .inner p {
        font-size: 1.6rem;
    }
}
@media screen and (max-width: 479px) {
    .entry-content h2, #car-search h2, #news-headline, .category-news .content-area h2, .archive .content-area h2 {
        font-size: 2.4rem !important;
    }
    section.page-section.front-desc .photo {
        height: 240px;
    }
}


/*--------------------------------------------------------------
### Lower pages
--------------------------------------------------------------*/
.entry-content {
    padding:  0px 0;
}
#top-image {
	background-position: center;
	background-size: cover;
	vertical-align: top;
  	position: relative;
  	color:white;
}
.smoke:before{
	position: absolute;
	content:" ";
	top:0;
	left:0;
	width:100%;
	height:100%;
	display: block;
	z-index:0;
	background-color: rgba(0,0,0,0.5);
}
#top-image,
#top-image .container {
	height: 300px;
}
#top-image .container p {
	font-size: 1rem;
}
@media screen and (max-width: 767px) {
	#top-image,
	#top-image .container {
		height: 200px;
    }
    .entry-content {
        padding: 0 0 20px;
    }
}
@media screen and (max-width: 479px) {
	#top-image,
	#top-image .container {
}
}


/*--------------------------------------------------------------
### Car Search
--------------------------------------------------------------*/
#car-search {
	padding: 70px 0;
	background-color: #fff;
}
#car-search .row {
	margin-bottom: 50px;
}
#car-search .row.enquiry-links {
	margin-bottom: 30px;
}
h3.car-search-title {
	font-size: 16px;
	text-align: center;
	background-color: #eee;
	padding: 8px 0;
	margin-bottom: 0;
}
#car-search .car-box {
	margin-top: 30px;
}
#car-search .car-box .car-image {
	height: 160px;
	background-position: center;
	background-size: cover;
}
#car-search .car-box h5 {
	margin: 5px 0 0;
	font-size: 0.875rem;
	line-height: 1.4;
}
#car-search .car-box .overlay {
	position: relative;
	opacity: .6;
	-webkit-transition: opacity 0.5s ease-out;
	-moz-transition: opacity 0.5s ease-out;
	-o-transition: opacity 0.5s ease-out;
	transition: opacity 0.5s ease-out;
}

#car-search .logo-box,
.enquiry-link {
    display: flex;
    justify-content: center;
    align-items: center;
	height: 50px;
	margin-top: 30px;
}
.enquiry-links.sc .enquiry-link {
	margin: 20px 0 50px;
}
#car-search .logo-box {
	min-height: 80px;
}
#car-search .logo-box a {
	display: block;
}
.enquiry-link .inner {
}
.enquiry-link .inner.enquiry {
}
.enquiry-link .inner a {
	display: block;
}
.enquiry-link .inner.quote a {
    font-size: 1.8rem;
    color: #e60012;
    border: 1px solid #e60012;
    border-radius: 5px;
    padding: 8px 20px;
    text-transform: uppercase;
}
.enquiry-link .inner.enquiry a {
	line-height: 50px;
	text-align: center;
	border-radius: 5px;
	font-size: 20px;
	font-weight: bold;
	color: #FFFFFF;
    background-color: #61AF06;
    width: 320px;
    text-transform: uppercase;
}

@media screen and (max-width: 767px) {
	.enquiry-link .inner {
		font-size: 16px;
	}
}



/*--------------------------------------------------------------
### News
--------------------------------------------------------------*/
#news-headline {
	padding: 70px 0;
}
#news-headline h4,
.category-news .content-area h4 {
	margin-bottom: 20px;
}
.news-box {
	margin-bottom: 30px;
}
.news-box .news-image {
	height: 160px;
	background-position: center;
	background-size: cover;
}
.news-box h5 {
	margin: 5px 0 0;
	font-size: 1.6rem;
	line-height: 1.3;
	text-align: left;
}

h3.my-widget-title,
h3.widget-title {
	background-color: #2e2c24;
	font-size: 18px;
	font-weight: bold;
	color: #fff;
	padding: 10px;
	margin-bottom: 2px;
}
.widget_recent_entries li.nav-item {
	margin-bottom: 2px;
}
.widget_recent_entries li.nav-item a.nav-link {
	background-color: #fff;
	padding: 5px 10px;
    font-size: 1.6rem;
}
.post h1.entry-title {
	font-size: 28px;
	font-weight: bold;
}
.post .entry-meta {
	font-size: 16px;
}


/*--------------------------------------------------------------
### Pages
--------------------------------------------------------------*/
h3.red-message,
h4.red-message {
    font-size: 2.8rem;
    font-weight: bold;
    color: #D81616;
    background-color: #FFFFFF;
    border: solid 5px #D81616;
    width: fit-content;
    padding: 5px 50px;
    border-radius: 50px;
    margin: 50px auto;
}
h4.red-message {
    font-size: 2.2rem;
}

.order-ways .inner.one,
.order-ways .inner.two {
    padding: 40px;
    border-radius: 10px;
    color: #FFFFFF;
    height: h-100;
    text-align: center;
}
.order-ways .inner.one {
    background-color: #000;
}
.order-ways .inner.two {
    background-color: #D81616;
}
.order-ways .inner h3 {
    font-size: 8.4rem;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 10px;
}
.order-ways p {
    font-size: 2.4rem;
    line-height: 1.2;
    text-align: center;
}
.order-ways .inner.commercial {
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 10px 0 0 10px;
}
.order-ways .inner.commercial p {
    font-weight: bold;
}
.order-ways .inner.commercial p.small {
    font-size: 1.8rem;
    font-weight: normal;
    text-align: left;
}
.order-ways .inner.commercial-photo {
    width: 100%;
    height: 240px;
    background-position: center;
    background-size: cover;
    border-radius: 0 10px 10px 0;
}

.procedure .black {
    background-color: #2E2C24;
    color: #FFFFFF;
}
.procedure .white {
}
.procedure p {
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 0;
    padding: 24px 0;
}
.procedure .number {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
}

.frame {
	border: 1px solid #e60012;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 30px;
}
.frame ul {
	margin-bottom: 0;
}
ul.frame {
    padding-left: 40px;
}
figure.wp-block-table.table-content table td {
    font-size: 1.4rem;
}

.page-privacy-policy .entry-content h4 {
    margin: 40px 0 10px;
    text-align: left;
}

@media screen and (max-width: 991px) {
    h3.red-message, h4.red-message {
        font-size: 2rem;
        border: solid 4px;
    }
    .order-ways p {
        font-size: 2rem;
    }
    .order-ways .inner.one,
    .order-ways .inner.two,
    .order-ways .inner.commercial {
        padding: 20px;
    }
}
@media screen and (max-width: 767px) {
	.procedure-step .row div:last-child {
		margin-top: 30px;
	}
    h3.red-message, h4.red-message {
        font-size: 1.8rem;
        margin: 30px auto;
        max-width: 90%;
    }
    .order-ways .inner.commercial {
        border-radius: 10px 10px 0 0;
    }
    .order-ways .inner.commercial-photo {
        height: 200px !important;
        border-radius: 0 0 10px 10px;
    }
    .procedure .number {
        font-size: 2.1rem;
    }
    .procedure p {
        font-size: 1.6rem;
        line-height: 1.2;
        padding: 20px;
    }
}

/*--------------------------------------------------------------
### Forms
--------------------------------------------------------------*/
.form-table {
}
.form-table .form-control {
	display: inline;
	width: auto;
	padding: 0.15rem 0.25rem;
	font-size: 14px;
}
.form-table .row div {
	padding: 10px;
}
.form-table .row div.item {
	display: flex;
	align-items: center;
}
.form-table h2 {
	font-size: 2.4rem;
	text-align: center;
	margin: 0;
    padding: 0;
	line-height: 1.3;
}
.form-table p {
    line-height: 1.2;
    margin: 0;
    padding: 0;
}
.form-table .col-3 p,
.form-table .col-sm-3 p,
.form-table .col-md-3 p {
    font-weight: bold;
}
.form-table textarea {
	width: 100% !important;
}
.form-table input.w100 {
	width: 100% !important;
}
.form-table > div {
    border-top: 1px solid #ccc
}
h4.quote-title {
	font-size: 20px;
    margin: 30px 0 10px;
}
p.quote-title {
	font-size: 1.4rem;
    margin: 0 0 20px;
	text-align: center;
}
span.reason .wpcf7-list-item { 
display : block ;
}
.page-quote input.btn-primary,
.page-enquiry input.btn-primary {
	display: block;
	background-color: #2E2C24;
    border-color: #2E2C24;
	width: 200px;
	margin: 20px auto;
    font-size: 1.8rem;    
}
.wpcf7 form.sent .wpcf7-response-output {
    font-size: 1.4rem;
    text-align: center;
}

@media screen and (min-width: 768px) {
	.form-table {
		margin: 0 auto;
	}
}
@media screen and (max-width: 767px) {
	.form-table .row div.item {
		border: none;
	}
}
@media screen and (max-width: 575px) {
    .form-table .row div {
        padding: 4px;
    }
}
	
.form-table .row div

/*--------------------------------------------------------------
### Track Record
--------------------------------------------------------------*/
.flexslider {
	background: none;
	border: none;
}
#slider.flexslider {
	margin-top: 30px;
	margin-bottom: 50px;
}	
.flexslider ul.slides li {
    position: relative;
	height: 480px;
	display: inline-block;
	overflow: hidden;
}
.flexslider ul.slides li img {
    height: auto;
    position: absolute;
    left: 50%;
    top: 50%;
    transform:translate(-50%, -50%);
}
#carousel.flexslider {
	margin-bottom: 20px;
}
#carousel.flexslider  ul.slides li {
	height:120px;
}
.flexslider .flex-direction-nav a {
	height: 55px;
}
article.track_record p.english-title {
	font-family: Lato, sans-serif;
	font-size: 1rem;
	margin-bottom: 0;
}
article.track_record h1.entry-title {
	font-size: 28px;
	font-weight: bold;
}
.flex-direction-nav a:before {
  content:url("images/arr-slider-left.png");
}
.flex-direction-nav a.flex-next:before {
  content:url("images/arr-slider-right.png");
}
#secondary .widget.widget_block:first-of-type {
    margin-bottom: 25px;
}

.jumbotron {
    position: relative;
    padding: 0;
    margin-top: 30px;
    background-color: transparent;
}
.jumbotron .carousel-item {
    height: auto;
}
.jumbotron .carousel-item img {
    height: 400px;
    width: 100%;
    object-fit: cover;
}
.jumbotron .carousel.slide,
.jumbotron .carousel-item {
    height: 400px;
}
.jumbotron .carousel-item {
  min-height: 400px;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}





@media screen and (max-width: 1199px) {
	.flexslider ul.slides li {
		height: 425px;
	}
}
@media screen and (max-width: 767px) {
	.flexslider ul.slides li {
		height: 320px;
	}
	#carousel.flexslider {
		display: none;
	}
}
@media screen and (max-width: 479px) {
	.flexslider ul.slides li {
	}
}


/*//////////////////////////////////////////////
    Drawer Menu
//////////////////////////////////////////////*/
.drawer {
    position: absolute;
    right: 20px;
    top: 19px;
    width: 60px;
    z-index: 200;
    cursor: pointer;
}
.drawer p {
    font-family: Helvetica, Arial, "hiragino kaku gothic pro",meiryo,"ms pgothic",sans-serif;
    font-size: 1.2rem;
    color: #009933;
    letter-spacing: 2px;
    text-align: center;
    line-height: 1;
    margin-bottom: 2px;
}
.navbar_toggle {
    padding: 16px 12px;
    background-color: #FFFFFF;
}
.navbar_toggle_icon {
    position: relative;
    display: block;
    height: 3px;
    background: #555;
    transition: ease .5s;
}
.navbar_toggle_icon:nth-child(1) {
    top: 0;
}
.navbar_toggle_icon:nth-child(2) {
    margin: 7px 0;
}
.navbar_toggle_icon:nth-child(3) {
    top: 0;
}
.navbar_toggle.open .navbar_toggle_icon:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
}
.navbar_toggle.open .navbar_toggle_icon:nth-child(2) {
    opacity: 0;
}
.navbar_toggle.open .navbar_toggle_icon:nth-child(3) {
    top: -10px;
    transform: rotate(-45deg);
}
.menu {
    transition: ease .5s;
    z-index: 100;
    background: #F2F2F2;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    opacity: 0;
    visibility: hidden;
    display: block;
    justify-content: center;
    align-items: start;
    overflow-y: auto;
    padding-top: 80px;
}
.menu.open {
    opacity: 1;
    visibility: visible;
}
.menu li {
    margin: 25% 0;
    font-size: 24px;
    line-height: 1.4;
}
.menu li a {
    color: #333;
    text-decoration: none;
}
#drawer-nav {
    width: 100%;
    padding: 0 20px;
}
#drawer-nav ul.navbar-nav {
    display: block;
}
#drawer-nav ul.navbar-nav > li {
    width: 100%;
    margin: 0;
}
#drawer-nav ul.navbar-nav > li a {
    display: block;
    padding: 10px 0 !important;
    font-size: 2.4rem !important;
    color: #2e2c24 !important;
}
#drawer-nav ul.navbar-nav > li.menu-item-has-children > a {
    padding-bottom: 5px !important;
}
#drawer-nav ul.sub-menu {
    display: block;
    list-style: none;
    margin-bottom: 5px;
    padding-left: 0;
}
#drawer-nav ul.sub-menu li {
    margin: 0;
    width: 100%;
}
#drawer-nav ul.sub-menu li a {
    padding: 5px 0 !important;
    font-size: 2rem;
}
#drawer_container .menu {
    text-align: center;
    padding-top: 52px;
}

#drawer_container .menu a.donation {
    position: relative;
    margin: 20px;
    display: inline-block;
    font-size: 1.6rem;
}



