﻿/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

#mailUrl { display: none; }

/* Custom styles */
html,
body {
	margin:0;
	padding:0;
	height:100%;

	font-family: 'Titillium Web', sans-serif;
	font-weight: 300;
	text-rendering: optimizeLegibility; 
	-webkit-font-smoothing: antialiased;
	font-smoothing: antialiased;
	text-align: center;
	font-size: 12pt;
}

strong {
	font-weight: bold;
}

/* Whole page wrapper (for fixed footer) */
.wrapper {
	min-height:100%;
	position:relative;
}

a {
	color: #d32737;
	text-decoration: none;
}

p a, .cloud a {
	text-decoration: none;
	border-bottom: none;
}

p a:hover, .cloud a:hover {
	text-decoration: none;
	border-bottom: 1px solid #d32737;
}

/* Fixed footer spacing */
.pane {
	padding-bottom: 550px;
}

/* Header placed fixed at top, may get unbound for mobile versions */
.fixedHeader {
	position: fixed;
	top: 0;
	background-color: #fff;
	z-index: 100;
	width: 100%;
	padding-bottom: 10px;
	padding-top: 40px;
	height: 120px;
	/*border-bottom: 1px solid #ddd;*/
	margin: 0;
	overflow: hidden;
    text-align: right;
}

.fixedHeader .logo {
	margin-top: 0em;
	display: inline;
	vertical-align: top;
	margin-right: 3em;
	float: left;
	margin-left: 10px;
}

.fixedHeader .menu {
	display: inline;
	z-index: 4000;
	overflow: hidden;
	font-weight: 400;
}

.fixedHeader .menu li {

	list-style: none;
	display: inline-block;
	margin: 0 0 0 0;
	font-size: 14pt;
}

.fixedHeader .menu a {
	text-decoration: none;
	display: inline-block;
	padding: 25px 15px 5px 15px;
	color: #888;
    /*border-bottom: 2px solid #fff;*/
}

.fixedHeader .menu a:hover 
{
    border-bottom: 6px solid #d32737;
}

.fixedHeader .menu .selected {
	color: #d32737;
}

/* Footer */
.footer {
	width: 100%;
	clear: both;
	min-height: 400px;
	display: inline-block;
	position: absolute;
	bottom: 0;
	left: 0;
	text-align: center;
	margin-top: 20px;
}

.footer h3 {
    font-size: 22px;
    margin: 5px 0 15px 0;
}

.footer .subPanelHeader {
	font-size: 26pt;
	letter-spacing: -1px;
	text-align: left;
}

.footer .subPanel {
	background-color: #404040;
	width: 100%;
	display: inline-block;
    color: #fff;
}

.footer .panel {
	width: 320px;
	float: left;
	text-align: left;
	margin-top: 10px;
	margin-bottom: 20px;
	line-height: 180%;
}

.footer .centerPanel {
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	clear: both;
}

.footer .indentedPanel {
    padding-top: 50px;
    padding-left: 20px;
}

.footer .panel ul {
	list-style-type: square;
	margin-left: 20px;
}

.footer .caption  {
	display: inline-block;
	width: 80px;
}

.footer .copyright {
	margin-bottom: 60px;
	color: #888;
}

/* Section headings */
h2 {
	font-size: 22pt;
	letter-spacing: -1px;
	xborder-bottom: 1px solid #ddd;
	margin-left: auto;
	margin-top: 70px;
	padding-bottom: 5px;
	padding-left: 5px;	
	margin-right: auto;
	width: 1000px;

}


/* Content panel in the middle */
.bar {
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
	clear: both;
}

.contactForm {
	float: right;
    margin-top: 10px;
}

/* Contact form */

.contactForm .caption {
    display: inline-block;
    width: 120px;
    vertical-align: middle;
    padding-top: 10px;
}
.contactForm .formRow {
    margin: 10px 0;
}
.contactForm button {
    background-color: #d32737;
    padding: 4px 20px 6px 20px;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    font-family: 'Titillium Web', sans-serif;
    margin: 5px 0 0 125px;
    cursor: pointer;
}

.contactForm input, .contactForm textarea {
    padding: 2px 15px 4px 15px;
    border: none;
    width: 300px;
    background-color: #c1c1c1;
    border-radius: 5px;
    font-size: 14px;
    font-family: 'Titillium Web', sans-serif;
    margin: 5px;
    vertical-align: top;
}
.contactForm textarea {
    xheight: 100px;
    xline-height: 100px;
    vertical-align: top;
}

.contactForm input:focus, .contactForm textarea:focus
{
    outline-color: #d32737;
}

/* content panels */
.content {
    margin-top: 200px;
}

.contentPanel {
    border-bottom: 2px dotted #ccc;
    padding: 0px 0 60px 0;
    text-align: left;
    line-height: 180%;
}

.contentPanelSmall {
    padding: 0px 0 0px 0;
}

.contentPanel:last-of-type {
    border-bottom: none;
}

.contentPanel h2 {
    font-weight: bold;
    padding-left: 0;
}

.contentPanel .toWidth {
    max-width: 600px;
    text-align: justify;
}

.contentPanel .button, .contentPanel .smallButton {
    background-color: #d32737;
    padding: 4px 20px 6px 20px;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    font-family: 'Titillium Web', sans-serif;
    margin: 5px 0;
    display: inline-block;
}

.contentPanel .badge {
    margin: 20px 0;
    display: inline-block;
}

.contentPanel .smallButton {
    padding: 0px 10px 2px 10px;
}
.contentPanel .buttonGrey {
    background-color: #404040;
}

.onSideR {
    display: inline-block;
    text-align: center;
    float: right;
}

.onSideL {
    display: inline-block;
    text-align: center;
    float: left;
}

.onSideR .button, .onSideL .button {
    width: 250px;
}

.onSideR .indentedButton, .onSideL .indentedButton {

}

.contentPanel .panel50L, .contentPanel .panel50R
{
    text-align: justify;
}

.contentPanel .panel50L {
    margin-right: 15px;
}

.contentPanel .panel50R {
    margin-left: 15px;
}

.contentPanel .panel50L .button, .contentPanel .panel50R .button {
    margin-top: 30px;
}

.bmVideo {
    display: inline-block;
    width: 400px;
    border-radius: 10px;
    padding: 2px;
    border: 1px solid #d32737;
}

 .contentPanel .onSideL .regularImg {
     margin: 20px 20px 0 10px;
 }

.onSideL  .bmVideo {
    margin: 0px 60px 10px 0px;
}

.onSideR .bmVideo {
    margin: 10px 0px 10px 40px;
}

.contentPanel .panel50R .button {
    float: right;
}

.contentPanel .last {
    clear: both;
}

.onSideL .sideImage {
    margin-right: 30px;
}

.contentPanel .highlightNumber {
    display: inline-block;
    padding: 0px 10px;
    margin: 2px 0;
    background-color: #d32737;
    border-radius: 5px;
    color: #fff;
}

.contentPanel .teamPanel {
    line-height: 200%;
    padding: 20px 0;
}

.contentPanel .teamPhoto {
    float: right;
}

.contentPanel .onSideRMemberCard {
    display: inline-block;
    text-align: center;
    float: right;
    max-width: 350px;
}

.contentPanel .onSideRMemberCard p {
    padding: 10px;
    margin-top: 40px;
    font-style: italic;
}

.contentPanel .onSideRMemberCard div {
    text-align: left;
    margin: 20px 0 0 20px;
}

.contentPanel .indentedPar {
    padding: 20px;
}

.onCenter {
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}
.commentedIcon {
    width: 200px;
    display: inline-block;
    text-align: center;
    vertical-align: top;
    margin: 20px 20px 0 20px;
    
}

.commentedIcon div {
    padding: 5px;
}

.commentedIcon img {
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.8) 0px 0px 20px;
    margin: 20px 0 10px 0;
    width: 120px;   
}

.contentPanel .onSideL .bigImage {
    position: relative;
    left: -80px;
    height: 300px;
    top: -40px;
}

.contentPanel .onSideR .bigImage {
    position: relative;
    left: 80px;
    height: 300px;
    top: -40px;
}

.bmVideo {
    cursor: pointer;
}

/* Mobile support */
.menuBtn {
	display: none;
	cursor: pointer;
}
/**/
@media only screen and (max-width: 1000px) {
		.pane { padding-bottom: 0px; }
		.pagePane { padding: 0px; margin: 10px;}
        .bar { max-width: inherit; }
        
		.fixedHeader .menu {display: none;}
		.menuBtn {display: inline-block; float: right; margin-right: 0px; margin-top: 20px;}
		.fixedHeader .menu {float: none; clear: both;}
		.fixedHeader .menu li { display: block;}
		.menuOpen { height: auto!important; background: #fff;}
		.fixedHeader { position: inherit; height: 60px; padding-top: 0px; }
		.fixedHeader .logo { height: 40px; margin-top: 15px;}
		.contentPanel .toWidth {max-width: none;}
        .content { margin-top: 0; padding: 10px;}
        .onSideR, .onSideL {float: none; display: block;}
        .onSideR .button, .onSideL .button {display: block; width: auto;}
        h2 {width: auto; margin: 20px 0 10px 0; font-size: 20px;}
        .bmVideo { width: auto; max-width: 100%; position: relative; left: -2px; top: 5px;}
        .onSideR .bmVideo, .onSideL .bmVideo { margin: 0;}
        .contentPanel .panel50L, .contentPanel .panel50R {margin: 0; }
        .contentPanel .panel50L .button, .contentPanel .panel50R .button {display: block; text-align: center; width: auto; float: none;}
        .contentPanel { padding: 0; margin-top: 20px;}
        .footer {position: inherit;}
        .contentPanel .onSideRMemberCard {float: none; display: block; max-width: none;}
        .contentPanel .onSideRMemberCard div {text-align: right;}
        .commentedIconPanel {text-align: center;}
        .commentedIcon { max-width: 120px; display: inline-block; float: none; margin: 5px;}
        .contentPanel .indentedPar {padding: 0;}
        .contentPanel .onSideRMemberCard p {margin-top: 0;}
        .footer .panel {margin :0;}
        .footer .centerPanel { margin: 0; padding: 10px;}
        .contactForm { float: none; margin: 20px 0; box-sizing: content-box}
        .contactForm .caption {display: block;}
        .contactForm input, .contactForm textarea { margin: 5px 0; width: 300px;}
        .footer  h3 {margin-top: 10px; font-size: 20px;}
        .contactForm button {margin: 0;}
        .footer .panel { float: none; width: auto;}
        .onSideL .sideImage { margin: 0; }
}

@media only screen and (max-width: 500px) 
{       
    	.content { margin-top: 0; padding: 10px;}
        .onSideR, .onSideL {float: none; display: block;}
        .onSideR .button, .onSideL .button {display: block; width: auto;}
        h2 {width: auto; margin: 20px 0 10px 0; font-size: 20px;}
        .bmVideo { width: auto; max-width: 100%; position: relative; left: -2px; top: 5px;}
        .onSideR .bmVideo, .onSideL .bmVideo { margin: 0;}
        .contentPanel .panel50L, .contentPanel .panel50R {margin: 0; }
        .contentPanel .panel50L .button, .contentPanel .panel50R .button {display: block; text-align: center; width: auto; float: none;}
        .contentPanel { padding: 0; margin-top: 20px;}
        .footer .panel { float: none; width: auto;}
        .commentedIcon { width: auto; display: block; float: none; max-width: none;}
        .contentPanel .indentedPar {padding: 0;}
        .contentPanel .onSideRMemberCard p {margin-top: 0;}
        .footer .panel {margin :0;}
        .footer .centerPanel { margin: 0; padding: 10px;}
        .contactForm { float: none; margin: 20px 0; box-sizing: content-box}
        .contactForm .caption {display: block;}
        .contactForm input, .contactForm textarea { margin: 5px 0; width: 80%;}
        .footer  h3 {margin-top: 10px; font-size: 20px;}
        .contactForm button {margin: 0;}
        .onSideL .sideImage { margin: 0; }
}
