/*------------------------------------
	Fonts
------------------------------------*/
@font-face 
{
	font-family:"WeblySleek UI Light";
	src:url("../../resources/fonts/weblysleekuil.eot?") format("eot"),
	url("../../resources/fonts/weblysleekuil.woff") format("woff"),
	url("../../resources/fonts/weblysleekuil.ttf") format("truetype"),
	url("../../resources/fonts/weblysleekuil.svg#WeblySleekUILight") format("svg");
}
@font-face
{
	font-family:"WeblySleek UI Semilight";
	src:url("../../resources/fonts/weblysleekuisl.eot?") format("eot"),
	url("../../resources/fonts/weblysleekuisl.woff") format("woff"),
	url("../../resources/fonts/weblysleekuisl.ttf") format("truetype"),
	url("../../resources/fonts/weblysleekuisl.svg#WeblySleekUISemilight") format("svg");
}
@font-face
{
	font-family:"WeblySleek UI Semibold";
	src:url("../../resources/fonts/weblysleekuisb.eot?") format("eot"),
	url("../../resources/fonts/weblysleekuisb.woff") format("woff"),
	url("../../resources/fonts/weblysleekuisb.ttf") format("truetype"),
	url("../../resources/fonts/weblysleekuisb.svg#WeblySleekUISemibold") format("svg");
}
@font-face 
{
    font-family: 'berkshire_swashregular';
    src: url('../../resources/fonts/berkshireswash-regular-webfont.eot');
    src: url('../../resources/fonts/berkshireswash-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../../resources/fonts/berkshireswash-regular-webfont.woff') format('woff'),
         url('../../resources/fonts/berkshireswash-regular-webfont.ttf') format('truetype'),
         url('../../resources/fonts/berkshireswash-regular-webfont.svg#berkshire_swashregular') format('svg');
}

/*------------------------------------
	Layout
------------------------------------*/
*
{
	margin:0;
	padding:0;
	font-family:"WeblySleek UI Light", Tahoma, Arial, Helvetica, sans-serif;
	font-size:1em;
	line-height:1.2em;
	border:0 none;
	color:#333333;
}
body
{
}

/*------------------------------------
	Columns and general assets
------------------------------------*/
.column-1200
{
	width:1200px;
	margin:0 auto;
}
.column-900, .column-800, .column-600, .column-400, .column-300
{
	float:left;
	display:inline;
}
.column-900{width:900px;}
.column-800{width:800px;}
.column-600{width:600px;}
.column-400{width:400px;}
.column-300{width:300px;}

.column-half, .column-one-forth, .column-one-third, .column-two-third, .column-three-forth
{
	float:left;
	display:inline;	
}

.column-half{width:50%}
.column-one-forth{width:25%}
.column-one-third{width:33%}
.column-two-third{width:66%}
.column-three-forth{width:75%}

.clear
{
	clear:both;
	display:block;
	height:0;
	line-height:0;
	visibility:hidden;
}
.left{float:left; display:inline}
.right{float:right; display:inline}

.spacer{display:block; height:0.8em}
.spacer-2x{display:block; height:1.6em}
.spacer-3x{display:block; height:2.4em}

.padding{padding:0.8em}
.padding-offset{padding-left:0.8em; padding-right:0.8em}
.padding-offset-half{padding-left:0.4em; padding-right:0.4em}
.padding-top-bottom-half{padding-top:0.4em; padding-bottom:0.4em}
.padding-top-bottom{padding-top:0.8em; padding-bottom:0.8em}
.padding-top{padding-top:0.8em}
.padding-right{padding-right:0.8em}
.padding-bottom{padding-bottom:0.8em}
.padding-left{padding-left:0.8em}
.padding-top-0{padding-top:0}
.padding-right-0{padding-right:0}
.padding-bottom-0{padding-bottom:0}
.padding-left-0{padding-left:0}

.inline{display:inline}
.block{display:block}
.inline-block{display:inline-block}

.img-full-width
{
	width:100%;
	height:auto;
}

/*h1, h2, h3, h4, h5, h6, */ul, ol, dl, p, table
{
	margin-bottom:0.8em;
}
h1, h2, h3, h4, h5, h6{font-weight:normal;}

/* General Assets*/
.tiny{font-size:0.6em}
.small{font-size:0.8em}
.medium{font-size:1.5em}
.large{font-size:2em}
.extra-large{font-size:3em}

.normal, .light{font-family:"WeblySleek UI Light", Tahoma, Arial, Helvetica, sans-serif;}
.semilight{font-family:"WeblySleek UI Semilight", Tahoma, Arial, Helvetica, sans-serif;}
.bold{font-family:"WeblySleek UI Semibold", Tahoma, Arial, Helvetica, sans-serif;}
.center{text-align:center}
.text-right{text-align:right}
.capitalize{text-transform:uppercase}

.white{color:#FFF}
.blue{color:#002252}
.deep-gray{color:#2F2E2D}
.yellow{color:#F0C505}
.green{color:#00AA5A}
.red{color:#E4211F}
.white{color:#FFFFFF}
.light-gray{color:#E2E2E2}

.text-shadow{text-shadow:1px 1px 0.8em #000}

.white-bg{background:#FFF}
.blue-bg{background:#002252}
.deep-gray-bg{background:#2F2E2D}
.yellow-bg{background:#F0C505}
.green-bg{background:#00AA5A}
.red-bg{background-color:#E4211F}
.light-gray-bg{background-color:#E2E2E2}

.gray-border{border:1px solid #BBB}

.link{text-decoration:none}
.link:hover, .link:active{text-decoration:underline}

.hr
{
	display:block;
	height:0;
	line-height:0;
	border-top:1px solid #002252;
}

.img-full-width{width: 100%; height: auto}
.img-auto-width{max-width: 100%; height: auto}
.img-circle{border-radius: 50%}

.BerkshireSwash-Regular
{
    font-family: 'berkshire_swashregular', Tahoma, Arial, Helvetica, sans-serif;
	font-size:1.6em;
}

/*------------------------------------
	Header and Nav
------------------------------------*/
#header
{
	width:100%;
	position:fixed;
	z-index:999;
	top:0;
	height:4.6em;
	background:#079857;
	-webkit-box-shadow: 0 8px 6px -6px black;
	-moz-box-shadow: 0 8px 6px -6px black;
	box-shadow: 0 8px 8px -8px black;	
}
/*
#header span
{
	color:#FFFFFF;
}
*/
#logo-small
{
	position:absolute;
	z-index:999;
	display:inline-block;
	height:auto;
	padding-top:0.8em;
	padding-left:0.8em;
	margin-top: -64px;
}
.logo{}
#phone, #mail
{
	float:right;
	display:none;
	margin-top:1em;
	height:3em;
	width:3em;
}
#phone a, #mail a
{
	display:inline-block;
	height:3em;
	width:3em;
}
#phone
{
	background:url(../../images/design-assets/call.png) center center no-repeat;
}
#mail
{
	background:url(../../images/design-assets/mail.png) center center no-repeat;
}
/* nav */
#nav-wrapper
{
	display:inline;
}
#nav
{
	float:right;
	/*
	position:absolute;
	z-index:99;
	*/
}
#nav li, #nav li ul li
{
	list-style:none;
}
#nav li
{
	float:left;
}
#nav li a, #nav li ul li a
{
	display:inline-block;
	/*site specific styles*/
	padding:0 0.7em;
	line-height:4.6em;
	background:#079857;
	text-decoration:none;
	color:#FFF;
}
#nav li a
{
}
#nav li a:hover, #nav li a:active
{
	background:#079857 !important;
	color:#FFF;
}
#nav li ul
{
	/*site specific styles*/
	min-width:10em;
	border-bottom:1px solid #FFF;
	position:absolute;
	z-index:999;
	background:#2787D0;
	display:none;
}
#nav li ul li
{
	float:none;
}
#nav li ul li a
{
	display:block;
	/*site specific styles*/
	line-height:3em;
	border:0 none;
	border-bottom:0 none;
}

#nav-handle
{
	display:none;
}

#banner
{
	position:relative;
	overflow:hidden;
}
#banner .slide
{
	width:100%;
}
#banner .slide img
{
	/*
	margin-top:10%;
	margin-left:10%;
	max-width:80% !important;
	max-height:80% !important;
	width:auto !important;
	height:auto !important;
	*/
	width:100%;
	height:auto;
}

.section
{
	padding-top: 5.4em;
}

#home
{
	/*position: relative;*/
	background-position: center;
	/*background-attachment: fixed;*/
	background-repeat: no-repeat;
	background-size: cover;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

#nihira-lab
{
	/*position: relative;*/
	background-position: center top;
	/*background-attachment: fixed;*/
	background-repeat: no-repeat;
	display: table-cell;
	vertical-align: bottom;
	text-align: center;
}

#home
{
	background-image: url(../../images/design-assets/haematology-bg.jpg);
}

#nihira-lab
{
	background-image: url(../../images/design-assets/nihira-diagnostic-laboratory.jpg);
}

.nihira-text
{
	/*background-size: cover;
	position: relative;*/
	background: rgba(0, 0, 0, 0.5);
	color: black;
}


/*
#home .branding, #nihira-lab .branding
{
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
	text-align: center;
}
*/

.boxed-link-white,
.boxed-link-deep-gray
{
	display:inline-block;
	padding:0.8em 2.8em 0.8em 0.8em;
	border:1px solid;
	text-decoration:none;
}
.boxed-link-deep-gray
{
	background:url(../../images/design-assets/arrow-deep-gray.png) right center no-repeat;
}
.boxed-link-white
{
	background:url(../../images/design-assets/arrow-white.png) right center no-repeat;
	border-color:#FFF;
	color:#FFF;
}

#footer
{
	border-top:1px solid #002252;
}
#footer-right
{
	text-align:right;
}
.footer-social
{
	display:inline-block;
	padding:0 0.2em;
	text-decoration:none;
}

.img-profile
{
	width: 300px;
	max-width: 100%;
}

.general-ul
{
	padding-left: 1em;
}
.general-ul li, .no-bullet-ul li, .centered-ul li
{
	margin-bottom: 0.8em;
}
.no-bullet-ul, .centered-ul
{
	list-style: none;
}
.centered-ul
{
	text-align: left;
}
.centerme
{
	display:inline-block;
	margin:0 auto;
}

#goToTop
{
	/* styles are inside init.js */
}
/*------------------------------------
	Forms
------------------------------------*/
/* #newsletter-subscribe */
form
{
	text-align:center;
}
/* #newsletter-subscribe input, #newsletter-email-subscribe label */
input, label, textarea, .button
{
	display:block;
	height:2em;
	line-height:2em;
	width:70%;
	margin:0.8em auto 0.2em auto;
	text-align:center;
	background:none;
}
/* #newsletter-subscribe #newsletter-email-subscribe */
input.text-box, textarea
{
	border:1px solid #47403D;
}
textarea
{
	height:3.6em;
	line-height:1.2em;
	padding:0.6em 0;
}
::-webkit-input-placeholder {
color: #333;
opacity:1;
}

:-moz-placeholder { /* Firefox 18- */
color: #333;
opacity:1;
}

::-moz-placeholder { /* Firefox 19+ */
color: #333;
opacity:1;
}

:-ms-input-placeholder {
color: #333;
opacity:1;
}

input.text-box-err, textarea-err
{
	border:1px solid #47403D;
}

.captchaUserInput
{
	display:inline-block !important;
	width:3em;
	margin-top:0;
}
#captcha-img, #rr-captcha-img
{
	display:inline-block;
	height:2em;
	width:auto;
	margin:0;
	vertical-align:top;
}
.err
{
	font-size:0.75em;
	display:inline-block;
	width:100%;
	margin-top:0;
	margin-bottom:1em;
	color:#FF4D4D;
}

.form-label
{
	display:block;
	font-size:0.8em;
	line-height:1.2em;
	margin-bottom:0;
}
.submit
{
	background:#079857;
	color:#FFF;
	cursor:pointer;
	height: 2.5em;
	line-height: 2.5em;
	text-decoration: none;
}
.submit:hover, .submit:active
{
	background:#2098D1;
}
.submit img, .submit span
{
	display: inline-block;
	height: 2em;
	line-height: 2em;
	vertical-align: middle;
}

/*------------------------------------
	Media Queries
------------------------------------*/
@media screen and (max-width: 1200px)
{
.column-1200
{
	width:96%;
	margin:0 auto;
}
.column-900, .column-800, .column-600, .column-400, .column-300
{
	float:left;
	display:inline;
}
.column-900{width:75%;}
.column-800{width:66%;}
.column-600{width:50%;}
.column-400{width:33%;}
.column-300{width:25%;}
.left{float:left; display:inline}
.right{float:right; display:inline}

}
@media screen and (max-width: 1024px)
{

}
@media screen and (max-width: 800px)
{
/* columns */
.column-1200
{
	width:96%;
	margin:0 auto;
}
.column-900, .column-800, .column-600, .column-400, .column-300, .column-half, .column-one-forth, .column-one-third, .column-two-third, .column-three-forth
{
	float:none;
	width:100%;
}
/* nav */
#nav-wrapper
{
	/*
	position:absolute;
	top:3em;
	right:0;
	z-index:999999;
	*/
}
#nav
{
	border:1px solid #00AB39;
	border-bottom:0 none;
	position:absolute;
	margin-top:4.6em;
	right:0;
	z-index:999999;
}
#nav li
{
	float:none;
}
#nav li ul
{
	position:relative;
	margin-bottom:0;
	/*site specific styles*/
	border:0 none;
}
#nav li a, #nav li ul li a
{
	display:block;
	padding:0 2em;
	/*site specific styles*/
	line-height:3em;
	border:0 none;
	border-bottom:1px solid #00AB39;
}
#nav li ul li a
{
	background:#651366;
}

#nav li ul li a:before
{
	padding-right:1em;
	content:"\2013";
}
.dropdown-title
{
	background:#4D3731 !important;
}
#nav-handle
{
	display:block;
	position:relative;
	float:right;
	margin-top:1em;
	height:3em;
	width:3em;
	cursor:pointer;
	background:url(../../images/design-assets/nav-handle.png) center center no-repeat;
}
#footer-right
{
	text-align:left;
}
}

@media screen and (max-width: 480px)
{
.tiny{font-size:0.6em}
.small{font-size:0.8em}
.medium{font-size:1.2em}
.large{font-size:1.4em}
.extra-large{font-size:1.8em}

.logo
{
	width: 50%;
	height: auto;
}


}

@media screen and (max-width: 320px)
{
}

