/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
	color: #222;
	font-size: 1em;
	line-height: 1.6;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}

::selection {
	background: #b3d4fc;
	text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 0 0;
	padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
	vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

a, a[href^="tel:"]
 {
	color: #333333;
	text-decoration: none;
}



img {
	max-width: 100%;
	height: auto;
}

textarea {
	resize: vertical;
}

body {
	background-image: url("../img/bgTex.png");
	font-size: 0.85rem;
}

.caslon {
	font-family: p22-franklin-caslon,sans-serif;
	font-weight: 400;
	font-style: normal;
}

.mincho {
	font-family: sawarabi-mincho, sans-serif;
	font-weight: 500;
	font-style: normal;
}

.small-text {
	font-size: .8em;
}

.top-nav {
	list-style-type: none;
}

.mobile-top-bar {
	position: relative;
	height: 56px;
	width: 100%;
	margin-top: -56px;
	background-color: #333333;
	z-index: 5000;
}

.mobile-top-bar a {
	height: 56px;
	width: 56px;
}

.top-head-holder a {
	font-size: 1.2em;
	color: #000000;
	text-decoration: none;
	margin: 0;
	padding: 0;
}

.width-limit {
	width: 100%;
}

.toggle-menu {
	display: none;
	position: absolute;
	background-color: rgba(255,255,255,.9);
	z-index: 5000;
	width: 100%;
}

.open .toggle-menu {
	display: block
}

.toggle-menu a {
	color: #333333;
	text-decoration: none;
}

.grecaptcha-badge {
	display: none !important;
}

/* Toggle Button */
#nav-toggle {
    position: absolute;
    right: 12px;
    top: 14px;
    width: 34px;
    height: 36px;
    cursor: pointer;
}
#nav-toggle div {
    position: relative;
}

#nav-toggle span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #666;
    left: 0;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
}

/* While Menu Closed */

#nav-toggle span:nth-child(1) {
    top: 0;
}
#nav-toggle span:nth-child(2) {
    top: 11px;
}
#nav-toggle span:nth-child(3) {
    top: 22px;
}

/* While Menu Open */

.open #nav-toggle span:nth-child(1) {
    top: 11px;
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    transform: rotate(315deg);
}
.open #nav-toggle span:nth-child(2) {
    width: 0;
    left: 50%;
}
.open #nav-toggle span:nth-child(3) {
    top: 11px;
    -webkit-transform: rotate(-315deg);
    -moz-transform: rotate(-315deg);
    transform: rotate(-315deg);
}

.top-head-holder {
	min-height: 65px;
}

#top-head {
	width: 100%;
	margin-top: 40px;
	z-index: 5000;
}

.letter-space-5 {
	letter-spacing: 5px;
}

.blue-wave {
	background-image: url("../img/bg.png");
	background-position: bottom center;
	height: 120px;
}

.blue-background {
	background-color: #ddefe2;
}

.title-box{
	clear: both;
	overflow: hidden;
	background-image: url("../img/lineL.png");
	background-repeat: repeat-x;
	background-position: bottom left;
	margin: 0 auto;
}

.profile-image {
	min-width: 100px;
}

.profile-image img {
	width: auto;
	max-height: 112px;
}

.w120{ width: 120px;}
.w170{ width: 170px;}

.data-area hr {
	border-top: 1px dotted #000000;
	background: none;
	opacity: 1 !important;
}

.footer-logo {
	width: 120px;
	height: auto;
}

.red-text {
	color: red;
}

.contact-text {
	height: 40px;
	width: 100%;
}

.contact-button {
	margin-top: 1rem;
	width: 100%;
	height: 50px;
	border-radius: 5px;
	background-color: #afe1d5;
}

.sbi_load_btn 
{
	width: 300px;
	margin-top: 20px !important;
}

.pageTop {
    display: block;
    position: fixed;
    right: 10px;
	bottom: 10px;
	z-index: 50;
}

.pageTop a {
	display: block;
	width: 50px;
	height: 50px;
	padding-top: 10px;
	text-decoration: none;
	text-align: center;
	background-color: #fae164;
	border-radius: 50px;
	color: #000;
	font-size: 12px;
}
.pageTop a:hover {
	text-decoration: none;
	opacity: 0.7;
}
.pageTop a i{
	display: block;
}

.title-link {
	font-size: 1.2em;
	font-weight: bold;
	color: #000000;
	text-decoration: none;
}

.insta-anchor {
	display: block;
    position: relative;
    top: -50px;
    visibility: hidden;
}

.sb_instagram_header {
	display: flex;
	justify-content: center;
}

.sb_instagram_header {
	display: none;
}
.insta-bg {
	height: 30px;
	width: 30px;
	border-radius: 15px;
	background-color: #000000;
}

.insta-bg a {
	width: 100%;
	height: 100%;
}

.insta i {
	font-size: 1.2em;
	transform: translateY(-2px);
}

.insta-logo img {
	max-height: 50px;
	width: auto;
}

@media (max-width: 350px) {
	.letter-space-5{
		letter-spacing: 2px;
	}
	
	.sbi_load_btn {
		width: 100%;
	}
}

@media (max-width: 1399px) {
	.title-link {
		font-size: 1.0em;
	}
}

@media (max-width: 767px) {
	.mobile-top-bar {
		position: fixed;
		margin-top: 0px;
	}
}
@media (min-width: 768px) {
	#top-head.fixed {
		margin-top: 0;
		top: 0;
		position: fixed;
		padding-top: 0;
		height: 65px;
		background: #fff;
		background: rgba(255,255,255,.7);
		transition: top 0.65s ease-in;
		-webkit-transition: top 0.65s ease-in;
		-moz-transition: top 0.65s ease-in;
	}
	#top-head.fixed #global-nav{
		margin-top: 0;
		padding-top: 0;
	}
	
	#top-head.fixed #global-nav ul li a {
		padding: 0;
	}
}

@media (min-width: 959px) {
	.width-limit {
		width: 700px;
	}
}