@import url('https://fonts.googleapis.com/css?family=Raleway:200,200i,300,300i,400,400i');

/* -------------------------  ------------------------ */ 

.addthis_sharing_toolbox {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px;
	height:32px;
	box-sizing:content-box;
}
.addthis_sharing_toolbox::before {
    color: #666;
    content: "SHARE THIS PAGE";
    display: inline-block;
    float: left;
    font-size: 14px;
    line-height: 15px;
    padding: 2px 5px 2px 0;
    width: 70px;
}

/* -------------------------  ------------------------ */ 

* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; /* border:1px solid red; */ }
.cf:before, .cf:after { content: " "; display: table; } .cf:after { clear: both; } .cf { *zoom: 1; }
input[type="submit"] { -webkit-appearance: none; }
html, body { overflow-x:hidden; }
body {
	margin:0;
	font-family:"Raleway";
	font-family:"ff-tisa-sans-web-pro",times;
	font-size:20px;
	/* letter-spacing:0.01em; */
	/* letter-spacing:0.02em; */
	color:#363636;
}
body > div {clear:both;}
p {	line-height:1.4; letter-spacing:0.01em; }
img { max-width:100%; height:auto; border:none;}
.leftimg { float:left; margin:0 50px 50px 0; max-width:50%; }
.rightimg { float:right; margin:0 0px 50px 50px; max-width:50%; }
body > div > div { 
	max-width:1240px;
	margin:0 auto;
	padding:0 20px;
}
a { color:#3fad46; text-decoration:none; }
a:hover { text-decoration:underline; }
.pull-quote { color:#3fad46; font-size:30px; }
.button {
	color:#fff;
	text-decoration:none;
	text-align:center;
	border-radius:5px;
	padding:15px 30px;
	font-size:24px;
	display:inline-block;
	border:none;
	margin:0;
	cursor:pointer;
	}
.button.blue:hover, .button.green:hover { background:#000; text-decoration:none; }
.button.blue { background:#183f8e; }
.button.green { background:#3fad46; }

@media screen  and (max-width:450px){
	.leftimg, .rightimg { display:block; float:none; margin:0 0px 50px 0px; max-width:100%;  }
	div.leftimg, div.rightimg { width:100% !important;  }
}

/* ------------------------- header ------------------------ */

.headerBlock { background-color:#363636; position:fixed; z-index:999; left:0; right:0; top:0; }
.headerBlock > div { padding:15px 20px; }
.headerBlock .logo { float:left; display:block; }
.headerBlock .logo img { display:block; margin:0 auto; }
.topNav { float:right; list-style:none; margin:0; padding: 0; }
.topNav > li { display:inline-block; position:relative; }
.topNav > li + li { margin-left:34px; }
.topNav > li > a,
	.menu { display:block; text-decoration:none; color:#3fad46; font-size:15px; text-transform:uppercase; font-weight:bold; line-height:71px; }
	.menu { display:none; font-size:22px; line-height:normal; }
.menu:before { display:inline-block; content:""; height:15px; width:15px; background:url('../images/menu-icon.png') bottom; margin-right:5px; }
.menu:hover:before { background-position:top; }
.topNav > li:hover > a, .menu:hover { color:#fff; text-decoration:none; }

/* drop down */ 
.topNav > li:hover > ul { display:block; }
.topNav > li > ul { display:none; position:absolute; background:#3fad46; list-style:none; margin:0 0 0 -30px; padding:0; text-align:left; }
.topNav > li > ul:before {
	display:block; content:""; position:absolute; bottom:100%; left:50px; 
	width: 0; height: 0; border-style: solid; border-width: 0 10px 10px 10px; border-color: transparent transparent #3fad46 transparent;
}
.topNav > li > ul > li > a {
	display:block; padding:6px 30px; font-size:15px; line-height:2; color:#363636;
	text-transform:uppercase; font-weight:bold;
}
.topNav > li > ul > li > a:hover { background:#5ec864; text-decoration:none; }


@media screen  and (max-width:1000px){
	.topNav > li + li { margin-left:20px; }
}
@media screen  and (max-width:875px){
	.headerBlock { text-align:center; }
	.headerBlock .logo { float:none; }
	.topNav { float:none; clear:both; /* padding:0 0 10px; */ }
	.topNav > li > a, .menu { line-height:normal; padding-bottom:10px; }
}
@media screen  and (max-width:600px){
	.headerBlock > div { padding:10px; }
	.headerBlock .logo { float:left; width:160px; }
	.menu {display:block; float:right; padding:5px 0 0; }
	
	.topNav { display:none; }
	.topNav > li { display:block; }
	.topNav > li + li { margin-left:0; }
	.topNav > li a { padding:10px; }
	.topNav > li > ul { display:block; position:relative; margin:0; text-align:center; }
	.topNav > li > ul:before { left:50%; margin-left:-10px; }
	.topNav > li > ul > li > a { }
}

/* -------------------------   */

.insideHeader.fixed:before { display:none; }


									  .headerBlock+* { margin-top:101px; }
@media screen  and (max-width:875px){ .headerBlock+* { margin-top:140px; } }
@media screen  and (max-width:600px){ .headerBlock+* { margin-top:62px; } }


/* -------------------------  ------------------------ */

#introBlock { background:#964be6 url("../images/jj-birden-portrait-fade-2.jpg") center center no-repeat; background-size:auto 100%; min-height:640px; position:relative; color:#fff; overflow:hidden; }
#introBlock > div {}
#introBlock > div > div { float:right; width:52%; }
#introBlock h1 { font-family:"museo-slab"; font-weight:500; font-size:42px; margin:20px 0 0; } /* was 70 not 20 */
#introBlock h1 span { display:inline-block; }
#introBlock h2 { font-family:"museo-slab"; font-weight:500; font-size:32px; margin:25px 0; color:#000; position: relative; }
#introBlock h2 span {position:relative;z-index:10;}
#introBlock h2 span + span {
  position: absolute;
  z-index:1;
  top: -10px;
  bottom: -10px;
  left: -20px;
  background: rgba(255,255,255,.2);
  display: block;
  width: 100vw;
}
#introBlock h2+p { margin:0.3em 0 0; /* width:500px; */ max-width:100%; }
#introBlock > div > div+div { position:relative; margin:0 0 60px 0; min-height:173px; font-size:18px; }
#introBlock p strong { display:block; margin-bottom:0.5em; }

@media screen  and (max-width:1260px){ #introBlock > div > div { float:right; width:66%; } }
@media screen  and (max-width:1000px){
	#introBlock { background-position:44% center; }
	#introBlock h1 { font-size:32px; }
	#introBlock h2 { font-size:27px; }
}
@media screen  and (max-width:875px){
	#introBlock { min-height:0; padding-top:300px; background-position:24% top; background-size:auto 300px; }
	#introBlock > div { padding:20px 20px; }
	#introBlock > div > div { float:none; width:100%; }
	#introBlock > div > div+div { margin:20px auto 0; width:540px; max-width:100%; }
	#introBlock h1 { text-align:center; margin-top:0px; position:absolute; top:50px; left:50%; width:200px; }
	#introBlock h2 { text-align:center; margin-top:0px; margin-bottom:40px; }
	#introBlock h2+p { text-align:center; width:auto; }
	#introBlock h2 span + span {
		top: -20px;
		bottom: -20px;
		background: #AB6FEB;
	}
}
@media screen  and (max-width:600px){
	#introBlock > div > div+div { padding-left:0; text-align:center; }
	#introBlock > div > div+div img { position:relative; top:auto; left:auto; }
	#introBlock h1 { left:20px; right:20px; top:200px; width:auto; }
	#introBlock:before { content:""; display:block; position:absolute; top:0; height:300px; left:0; right:0; 
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#5a27b4+1,5a27b4+99&0+34,0.7+67 */
background: -moz-linear-gradient(top,  rgba(90,39,180,0) 1%, rgba(90,39,180,0) 34%, rgba(90,39,180,0.7) 67%, rgba(90,39,180,0.7) 99%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(90,39,180,0) 1%,rgba(90,39,180,0) 34%,rgba(90,39,180,0.7) 67%,rgba(90,39,180,0.7) 99%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(90,39,180,0) 1%,rgba(90,39,180,0) 34%,rgba(90,39,180,0.7) 67%,rgba(90,39,180,0.7) 99%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#005a27b4', endColorstr='#b35a27b4',GradientType=0 ); /* IE6-9 */

	}
	
	
}

@media screen  and (max-width:520px){
	#introBlock h1 { font-size:26px; width:280px; margin:0 auto; }
	#introBlock h2 { font-size:22px; } 
}
@media screen  and (max-width:450px){ #introBlock a { padding:11px; display:block; text-align:center; } }


/* -------------------------  ------------------------ */

#quoteBlock { background:#363636; text-align:center; font-style:italic; color:#fff; } 
#quoteBlock a { color:#fff; }
#quoteBlock a:hover { text-decoration:none; }
#quoteBlock > div { padding:25px 20px 40px; max-width:940px; }
#quoteBlock > div > a > *:first-child { margin-top:0; }
#quoteBlock > div > a > *:last-child { margin-bottom:0; color:#fff; }
#quoteBlock p { color:#3fad46; }

/* -------------------------  ------------------------ */

#tenReasonsBlock { background:rgba(0,0,0,.1); }
#tenReasonsBlock > div { padding:40px 200px 40px 20px; font-size:18px; max-width: 820px; position: relative; }
#tenReasonsBlock > div > img:first-child {
	float: left;
	padding-right: 40px;
}
#tenReasonsBlock > div strong {display:block;}

#tenReasonsBlock > div p {margin-top:0;}
#tenReasonsBlock > div > img ~ img {
position: absolute;
top: -30px;
bottom: -30px;
left: calc(100% - 200px);
display: block;
max-width: 36%;
}
#tenReasonsBlock > div a {
color: #fff;
font-size: 18px;
background: #3fad46;
padding: 0.5em;
border-radius: 5px;
display: inline-block;
}
@media screen  and (max-width:700px){
	#tenReasonsBlock > div {padding:40px 20px 40px 20px;}
	#tenReasonsBlock > div > img:first-child {float:right; padding: 0 0 0 40px;}
	#tenReasonsBlock > div > img ~ img {
  position: absolute;
  top: inherit;
  bottom: inherit;
  left: inherit;
  display: block;
  width: 70px;
  transform: translateX(240px) translateY(-75px);
	}

	#tenReasonsBlock > div a {padding-right:20px;}
}

/* -------------------------  ------------------------ */

#speakingBlock > div { padding:60px 20px 75px; font-size:18px; }
	/* #speakingBlock > div > div:nth-of-type(1) { float:left; width:37.5%; } */
	/* #speakingBlock > div > div:nth-of-type(2) { float:right; width:58.3%; } */
	#speakingBlock > div > div:nth-of-type(1) { float:right; margin:0 0 50px 50px; }
#speakingBlock h2 { color:#3fad46; margin:0; font-family:"museo-slab"; font-weight:500; font-size:42px; }
#speakingBlock h3 { text-transform:uppercase; font-size:26px; margin:0.5em 0 1em; }
#speakingBlock a { /* white-space:nowrap; */ }
#speakingBlock a span { text-decoration:underline; }

@media screen  and (max-width:1000px){
		#speakingBlock > div > div:nth-of-type(1) { float:none; width:100%; text-align:center; margin:0; }
		/* #speakingBlock > div > div:nth-of-type(2) { float:none; width:100%; } */
	#speakingBlock h2 { text-align:center; }
	#speakingBlock h3 { text-align:center; }
}
@media screen  and (max-width:600px){
	#speakingBlock h2 { font-size:32px; }
	#speakingBlock h3 { font-size:22px; }
}
@media screen  and (max-width:475px){
	#speakingBlock h2 { font-size:24px; }
	#speakingBlock h3 { font-size:13px; }
}


/* -------------------------  ------------------------ */

#brHeader { 
	background:#363636; border-bottom:8px solid #c4141b;
	text-align:center; color:#fff; text-transform:uppercase; font-size:38px;
}
#brHeader > div { padding:12px; }
#brHeader h2 { margin:0; font-family:"museo-slab"; font-size:38px; }
#brHeader span { color:#3fad46; color:#4fc94a; }

@media screen  and (max-width:500px){
	#brHeader h2 { font-size:28px; } 
}

#brBlock { background:#ebebeb; }
#brBlock > div > div:nth-of-type(1) { float:right; width:50%; padding:40px 0 40px 35px; position:relative; }
	#brBlock > div > div:nth-of-type(1):before {
		content:""; display:block; position:absolute; top:0; left:35px;
		width: 0; height: 0; border-style: solid; border-width: 21px 21px 0 21px; border-color: #363636 transparent transparent transparent;
		}
	#brBlock h2 { text-transform:uppercase; margin:0; font-size:26px; line-height:1.2; }
	#brBlock h2 + p { font-size:18px; margin:0; }
	#brBlock form { margin-top:30px; }
	#brBlock form label { float:left; width:45%; margin-right:5%; font-size:20px; font-weight:700; }
	#brBlock form label span { display:inline-block; font-size:13px; font-style:italic; font-weight:500; }
	#brBlock form input { width:100%; font-family:"ff-tisa-sans-web-pro",times; font-size:20px; box-shadow:inset 0px 1px 4px rgba(0,0,0,0.5);  }
	#brBlock form input[type="submit"],
	#brBlock form button[type="submit"] {
		margin-top:30px; background:#3fad46; color:#fff; font-family:"ff-tisa-sans-web-pro",times; font-size:20px;
		display:inline-block; border:0; border-radius:5px; padding:10px 20px;
		} 
	#brBlock form input[type="submit"]:hover,
	#brBlock form button[type="submit"]:hover { cursor:pointer; text-decoration:underline; }
#brBlock > div > div:nth-of-type(2) { float:left;  width:50%; padding:40px 35px 40px 0; }
#brBlock > div > div:nth-of-type(2) > div:nth-of-type(1) { float:left; width:55%; }
#brBlock > div > div:nth-of-type(2) > div:nth-of-type(2) { float:left; width:45%; }
#brBlock > div > div:nth-of-type(2) img { margin-top:-70px; max-width:120%; width:120%; }
#brBlock > div > div:nth-of-type(2) h3 { margin:0 0 0.3em; font-size:26px; line-height:1.2; }
#brBlock > div > div:nth-of-type(2) p { margin:0; font-size:24px; font-family:"museo-slab"; color:#c4141b; }

@media screen  and (max-width:1150px){
	#brBlock { text-align:center; }
	#brBlock > div > div:nth-of-type(1) { float:none; width:700px; max-width:100%; padding:40px 0 10px; margin:0 auto; }
	#brBlock > div > div:nth-of-type(1):before { left:50%; margin-left:-10px; }
	#brBlock > div > div:nth-of-type(2) { float:none; width:100%; padding:0 0 40px;}
	#brBlock > div > div:nth-of-type(2) img { width:auto; max-width:100%; margin-top:0; }
	#brBlock > div > div:nth-of-type(2) > div:nth-of-type(1),
	#brBlock > div > div:nth-of-type(2) > div:nth-of-type(2) { float:none; width:275px; text-align:left; display:inline-block; }
	#brBlock form label { float:none; width:100%; margin-right:0; text-align:left; }	
}
@media screen  and (max-width:620px){
	#brBlock > div > div:nth-of-type(2) > div:nth-of-type(1),
	#brBlock > div > div:nth-of-type(2) > div:nth-of-type(2) { width:100%; text-align:center; }
	#brBlock > div > div:nth-of-type(2) img { width:200px; }
}

/* -------------------------  ------------------------ */

#keynotesBlock { background:#363636; } 
#keynotesBlock > div { padding:30px 20px 70px; }
#keynotesBlock h2 { color:#ffffff; margin:0 0 25px; text-transform:uppercase; font-family:"museo-slab"; font-size:26px; text-align:center; } 

#keynotesBlock ul { list-style:none; padding:0; margin:0; }
#keynotesBlock li { float:left; width:25%; text-align:center; padding:10px; }
#keynotesBlock a { display:block;  padding:30px; background:#ebebeb; color:#363636; }
#keynotesBlock a:hover { text-decoration:none; background:#dedede; }
#keynotesBlock h3 { color:#3fad46; margin:0; }
#keynotesBlock h3+p { color: #fff; font-size: 18px; background: #3fad46; padding: 0.5em; border-radius: 5px; margin-bottom:0; }

@media screen  and (max-width:1100px){ #keynotesBlock li { width:50%; } }
@media screen  and (max-width:600px){ #keynotesBlock li { width:100%; } }

/* -------------------------  ------------------------ */

#footerBlock1,
#footerBlock2,
#footerBlock2b,
#footerBlock3 { background:#e8e8e8; }

#footerBlock1 > div,
#footerBlock2 > div,
#footerBlock2b > div { max-width:1040px; }

/* ------------------------- */

#footerBlock1 > div { padding:20px 20px; }
#footerBlock1 > div > div:nth-of-type(1) { float:left; }
#footerBlock1 > div > div:nth-of-type(2) { float:right; }
#footerBlock1 h2 { display:inline-block; margin:0 24px; color:#363636; text-transform:uppercase; font-size:25px; font-family:"museo-slab"; }

.social{
  display:inline-block;
  height:30px;width:30px;
  margin:0 0 0 24px;
  text-indent:-9999px;
  background:url('../images/social-icons.png');
  }
.social:first-of-type { margin:0; }

.facebook {background-position:0 0;}
.facebook:hover {background-position: 0 -30px;}  
.twitter {background-position:-30px 0;}
.twitter:hover {background-position: -30px -30px;} 
.linkedin {background-position:-60px 0;}
.linkedin:hover {background-position: -60px -30px;} 
.instagram {background-position:-90px 0;}
.instagram:hover {background-position: -90px -30px;} 
.youtube {background-position:-120px 0;}
.youtube:hover {background-position: -120px -30px;} 
.googleplus {background-position:-150px 0;}
.googleplus:hover {background-position: -150px -30px;} 
.pinterest {background-position:-180px 0;}
.pinterest:hover {background-position: -180px -30px;} 

@media screen  and (max-width:970px){
	#footerBlock1 > div { padding:20px 20px 40px; }
	#footerBlock1 > div > div:nth-of-type(1),
	#footerBlock1 > div > div:nth-of-type(2) { float:none; text-align:center; }
	#footerBlock1 h2 { display:block; margin:20px 0 0; }
}
@media screen  and (max-width:450px){
	#footerBlock1 > div > div:nth-of-type(2) { width:250px; max-width:100%; margin:0 auto; } 
	.social,
	.social:first-of-type { margin:10px; }
}

/* ------------------------- */
	
#footerBlock2 > div > div { float:left; }
#footerBlock2 > div > div:nth-of-type(1) { width:170px; } 
#footerBlock2 > div > div:nth-of-type(2) { width:270px; } 
#footerBlock2 > div > div:nth-of-type(3) { width:460px; } 
#footerBlock2 > div > div:nth-of-type(2),
#footerBlock2 > div > div:nth-of-type(3) { border-left:2px solid #bcbcbc; padding-left:40px; margin-left:40px; }

	#footerBlock2 > div > div:nth-of-type(1) ul { list-style:none; padding:0; margin:0; }
	#footerBlock2 > div > div:nth-of-type(1) ul li a { color:#363636; text-transform:uppercase; font-size:18px; }

	#footerBlock2 > div > div:nth-of-type(2) p { color:#3fad46; font-weight:bold; font-size:16px; margin:0; }
	#footerBlock2 > div > div:nth-of-type(2) p span { display:inline-block; }
	#footerBlock2 form { margin-top:10px; }
	#footerBlock2 form label { font-size:16px; font-weight:700; }
	#footerBlock2 form label span { display:inline-block; font-size:13px; font-style:italic; font-weight:500; }
	#footerBlock2 form input,
	#footerBlock2 form button { width:100%; font-family:"ff-tisa-sans-web-pro",times; font-size:20px; box-shadow:inset 0px 1px 4px rgba(0,0,0,0.5);  }
	#footerBlock2 form input[type="submit"],
	#footerBlock2 form button[type="submit"] {
		margin-top:30px; background:#3fad46; color:#fff; font-family:"ff-tisa-sans-web-pro",times; font-size:13px;
		display:inline-block; border:0; border-radius:5px; padding:10px 20px;
		} 
	#footerBlock2 form input[type="submit"]:hover,
	#footerBlock2 form button[type="submit"]:hover { cursor:pointer; text-decoration:underline; }

	#footerBlock2 > div > div:nth-of-type(3) p { margin:0; color:#75a8e9; font-size:16px; }
	#footerBlock2 > div > div:nth-of-type(3) span+a { display:inline-block; background:#75a8e9; color:#fff; padding:5px 13px; vertical-align:middle; border-radius:3px; margin-left:15px; }
	#footerBlock2 > div > div:nth-of-type(3) ul { list-style:none; padding:0; margin:10px 0 0; }
	#footerBlock2 > div > div:nth-of-type(3) li { padding:0 0 0 50px; position:relative; }
	#footerBlock2 > div > div:nth-of-type(3) li + li { padding-top:30px; }
	#footerBlock2 > div > div:nth-of-type(3) li img { position:absolute; top:0; left:0; }
	#footerBlock2 > div > div:nth-of-type(3) li+li img { top:30px; }
	#footerBlock2 > div > div:nth-of-type(3) li p { color:#363636; font-size:14px; } 
	#footerBlock2 > div > div:nth-of-type(3) li p:first-of-type { color:#898989; font-size:13px; }

@media screen  and (max-width:1060px){
	#footerBlock2 > div > div:nth-of-type(2),
	#footerBlock2 > div > div:nth-of-type(3) { padding-left:20px; margin-left:20px; }
	#footerBlock2 > div > div:nth-of-type(2) { width:210px; }
}
@media screen  and (max-width:970px){
	#footerBlock2 > div { text-align:center; }
	#footerBlock2 > div > div { float:none; text-align:left; }
	#footerBlock2 > div > div:nth-of-type(1) { display:inline-block; vertical-align: top; }
	#footerBlock2 > div > div:nth-of-type(2) { display:inline-block; vertical-align: top; padding-left:40px; margin-right:40px; width:230px; }
	#footerBlock2 > div > div:nth-of-type(3) { width:550px; max-width:100%; margin:40px auto 0; padding:40px 0 0; border-left:0; border-top:2px solid #bcbcbc; }
	#footerBlock2 > div > div:nth-of-type(3) > p { text-align:center; }
	#footerBlock2 > div > div:nth-of-type(3) > p span { display:block; }
	#footerBlock2 > div > div:nth-of-type(3) > p a { margin:5px 0 0; }
}
@media screen  and (max-width:530px){
	#footerBlock2 > div > div:nth-of-type(1),
	#footerBlock2 > div > div:nth-of-type(2) { display:block; width:100%; text-align:center; padding:40px 0 0; margin:40px 0 0; border-left:0; border-top:2px solid #bcbcbc; }
	#footerBlock2 > div > div:nth-of-type(1) { margin-top:0; }
}

/* ------------------------- */

#footerBlock2b  p { color:#3fad46; font-weight:bold; font-size:16px; margin:0; }
#footerBlock2b ul { text-align:center; padding:0; } 
#footerBlock2b ul li { display:inline-block; margin:0 5px; } 
#footerBlock2b ul li a { color:#363636; text-transform:uppercase; font-size:18px; }

/* ------------------------- */

#footerBlock3 > div { 
	margin-top:35px; border-top:2px solid #bcbcbc;
	padding:15px 20px 100px; 
	text-align:center; font-size:14px; color:#272727; 
}
#footerBlock3 a { color:#272727; }
#footerBlock3 p { margin:0; }
#footerBlock3 p+p { margin:1em 0; }
#footerBlock3 p+p+p { margin-top:40px; }
#footerBlock3 > div > p > span { display:inline-block; }
#footerBlock3 > div > p > span > span+span:before { display:inline-block; content:"|"; margin:0 4px; }

@media screen  and (max-width:430px){
	#footerBlock3 > div > p > span:first-child { display:block; }
	#footerBlock3 > div > p > span > span+span { display:block; }
	#footerBlock3 > div > p > span > span+span:before { display:none; }
}
	
/* -------------------------  ------------------------ */


























/* ------------------------- inside ------------------------ */


#insideBlock > div { padding:50px 20px 100px;  }
#insideBlock > div > *:first-child { margin-top:0; }
.page5 #insideBlock > div { padding-bottom:50px; }


#insideBlock h1 { color:#3fad46; font-size:26px; text-transform:uppercase; margin-top:0; font-family:"museo-slab"; font-weight:500; }
#insideBlock h1 span { display:block; text-transform:none; color:#363636; }
#insideBlock h2 { margin-top:2em; font-family:"museo-slab"; font-weight:500; font-size:26px; color:#3fad46; }
#insideBlock h3 { color:#3fad46; font-size:30px; font-weight:normal; margin:30px 0 5px; }
#insideBlock h3+p { margin-top:0; }

#insideBlock ul li { margin-bottom:1em; }

#insideBlock strong { color:#3fad46; }
#insideBlock h4 {
	position:relative; z-index:-1;
	background:#3fad46; color:#fff; text-align:center; padding:20px; font-size:32px;
	font-weight:normal;
	}

#insideBlock h4:before, #insideBlock h4:after { 
    background: #3fad46; 
    bottom: 0; 
    content: "";
    display: block;
    position: absolute;
    top: 0;
    width: 100%;
}
#insideBlock h4:before { left: 100%; }
#insideBlock h4:after { right: 100%; }

#insideBlock .pull-quote.blue { color:#183f8e; text-align:center; }
#insideBlock .green { color:#3fad46; } 

.inside-testimonial {
	border-top:1px solid #183f8e;
	padding-top:20px;
	margin-top:100px;
	color:#3fad46;
	font-weight:bold;
	}
.inside-testimonial p:last-child { margin-left:40px; }

/* form { 	border-top:1px solid #183f8e; padding-top:20px; margin-top:100px; } */
input, label, textarea { /* margin:20px 0; */ display:block; }

#insideBlock .post { padding-bottom:40px; }
#insideBlock .post h2 { margin-top:0; }




ul.testimonials {
	border-top:1px solid #3fad46;
	padding:0;
	margin:100px 0 0;
	display:block;
	list-style:none;
	font-size:16px;
	clear:both;
}
ul.testimonials * { font-style:normal!important; }
ul.testimonials li {
	padding:20px;
	float:left; width:25%;
	margin:0!important;
}
ul.testimonials li:nth-child(4n+1) { clear:both; }
ul.testimonials li div div+div {
	padding: 0 0 0 40px;
	padding:0;
	font-size:90%;
	color:#3fad46;
	line-height:90%;
	clear:both;
}
ul.testimonials li div div+div > *:last-child { margin-bottom:0; }
ul.testimonials img { width:135px; max-width:75%; }

@media screen  and (max-width:1100px){
	ul.testimonials li { width:50%; }
	ul.testimonials li:nth-child(2n+1) { clear:both; }
}
@media screen  and (max-width:600px){
	ul.testimonials { margin-top:50px; }
	ul.testimonials li { width:100%; padding:0; margin:1em 0; }
	ul.testimonials img { float:left; max-width:45%; margin:0 5% 15px 0; }
	/* ul.testimonials li > div { float:right; max-width:50%; } */
	.quote > p:first-child { margin-top:0; }
}

.quote { height:90px; overflow:hidden; position:relative; }
.quote:before { 
	content:""; display:block; position:absolute; top:35%; right:0; bottom:0; left:0; 
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0+0,1+100 */
	background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}
ul.testimonials li.open .quote{ height:auto; overflow:visible; }
ul.testimonials li.open .quote:before { display:none; }


/*
ul.testimonials li img ~ * {
	padding-left: 155px;
}
ul.testimonials li img ~ div {
	padding: 0 0 0 195px;
}
ul.testimonials li img {
	float:left; padding: 20px 20px 0 0;
}

@media screen  and (max-width:450px){
	ul.testimonials li img {padding:20px 0 10px 10px; float:right; width:100px;}
	ul.testimonials li img ~ * {padding:0;}
	ul.testimonials li img ~ div {padding-left:40px;}
}
*/


/* ------------------------- blog ------------------------ */ 

.post { clear:both; overflow: hidden; padding-top:40px; border-bottom: 1px solid #ccc;}
.post p { display:inline; }
.post p+a { display:inline; white-space:nowrap; }
.post .leftimg {margin-right:20px;}

.paging ul {
    display: block;
    padding: 0;
    text-align: center;
}
.paging ul li {
    display: inline-block;
}
.paging ul li a {
    display: block;
    padding: 5px;
}
.paging ul li a.active {
    color: #000;
    text-decoration: none;
}
.paging ul li.control {
    float: left;
}
.paging ul li + li.control {
    float: none;
}
.paging ul li + li.control + li.control {
    float: right;
}

/* featured blog post pullOut */
span.pullOut {
    background: none repeat scroll 0 0 #fff;
    display: block;
    float: right;
    font-size: 28px;
	line-height: 38px;
    font-style: italic;
    padding: 40px;
    position: relative;
    text-align: center;
    width: 40%;
}
span.pullOut:before, span.pullOut:after {
    border: 3px solid #3fad46;
    bottom: 20px;
    content: " ";
    left: 20px;
    position: absolute;
    right: 20px;
    top: 20px;
    width: 15px;
}
span.pullOut:before {
    border-right: 0 none;
    right: auto;
}
span.pullOut:after {
    border-left: 0 none;
    left: auto;
}

div.signoff { border-top:1px solid #3fad46; padding-top:20px; padding-bottom:200px; }
div.quip { padding-bottom:15px; }
div.add-comment { border-top:1px solid #3fad46; padding-bottom:15px; }
#insideBlock div.quip h3 { margin-top:20px; }
body .quip-fld { margin-bottom:10px; }
body .quip-add-comment label { line-height:36px; }
body .quip-comment-alt { background-color:rgba(24, 63, 142, 0.1);}
body .quip-add-comment label[for="quip-comment-notify-qcom"] { width:auto; float:none; }
body .quip-comment-body { padding:5px 7px 20px; }

/* ------------------------- BOOK ------------------------ */ 
.bookContent {
	position:relative;
	padding:0 360px 0 0;
}
.buynow {width:320px; display:block; position:absolute; top:0; right:0;}
.buynow form { text-align:center;}
.buynow input {display:block; margin:0; background:#ed8b0d; width:320px; max-width: 100%;}
.buynow input:hover {background:#3fad46;}
.bookPull {
	float:left;
	padding:18px 20px;
	font-size:28px;
	color:#2c8e2f; /* color:#3fad46; */
	width: 240px;
}




.startReading {
	background:#f3f3f3;
	border: 5px solid #d5d5d5;
	border-left:none;
	border-right:none;
}
.startReading img {
	display:block;
	margin:-30px 40px -40px -20px;
}
.startReading h2 {text-transform:none; font-weight:normal; font-size:25px;}
.startReading input, .startReading label, .startReading textarea {
	margin:0;
}
body > .startReading > div {
	padding: 0 340px 0 20px;
	max-width:880px;
	position:relative;
	min-height:420px;
	box-sizing:content-box;
}
.startReading #mc_embed_signup {
	position:absolute;
	top:40px;
	right:20px;
	width:320px;
	font-size:14px;
}
#mc_embed_signup h2 {margin:0 0 20px;}
.startReading #mc_embed_signup input{
	display:block;
	border:1px solid #aaaaaa;
	-webkit-box-shadow: inset 5px 5px 5px rgba(0,0,0,.1);
	-moz-box-shadow: inset 5px 5px 5px rgba(0,0,0,.1);
	box-shadow: inset 5px 5px 5px rgba(0,0,0,.1);
	margin:0 0 15px;
	width:100%;
	padding:5px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.startReading #mc_embed_signup input#mc-embedded-subscribe {
	border:none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	background:#2c8e2f; /* background:#3fad46; */
	width:auto;
	display:inline-block;
	font-size:16px;
}
.mc-field-group {position:relative;}
body #mc_embed_signup div.mce_inline_error {
    font-size: 11px;
    font-weight: normal;
    padding: 2px 5px;
    position: absolute;
    right: 0;
    top: 0;
    white-space: nowrap;
}
body #mc_embed_signup div.mce_inline_error:after {
	border-bottom: 0 solid transparent;
    border-right: 12px solid #6b0505;
    border-top: 18px solid transparent;
    content: " ";
    height: 0;
    position: absolute;
    right: 100%;
    top: 0;
    width: 0;
}
.eBook {
	position:relative;
	border:1px solid #2c8e2f;
	padding:10px;
	text-align:center;
	-webkit-border-radius: 100px;
	-moz-border-radius: 100px;
	border-radius: 100px;
	display:block;
	height: 28px;
	margin:60px 0 0;
}
.eBook strong {
	position:absolute;
	top:-14px;
	background:#fff;
	padding:0;
	width:190px;
	margin-left:-95px;
	line-height:18px;
	font-size:18px;
	display:block;
	font-weight:normal;
	left:50%;
}
.eBook a {
	width:28px;
	height:28px;
	display:inline-block;
	margin:0 4px;
	overflow:hidden;
	text-indent:-9999px;
	-webkit-border-radius: 100px;
	-moz-border-radius: 100px;
	border-radius: 100px;
	background: url(../images/eBook.png) no-repeat;
}
.eBook a:hover {
	-webkit-box-shadow: 2px 2px 5px rgba(0,0,0,.5);
	-moz-box-shadow:  2px 2px 5px rgba(0,0,0,.5);
	box-shadow:  2px 2px 5px rgba(0,0,0,.5);
	opacity:.8;
}
.eBook a { background-position: 0 0; }
.eBook a + a { background-position: -28px 0; }
.eBook a + a + a { background-position: -56px 0; }
.eBook a + a + a + a { background-position: -84px 0; }
.eBook a + a + a + a + a { background-position: -112px 0; }
.eBook a + a + a + a + a + a { background-position: -140px 0; }
.eBook a + a + a + a + a + a + a { background-position: -168px 0; }
.eBook a + a + a + a + a + a + a + a { background-position: -196px 0; }

@media screen  and (max-width:900px){
	.startReading img {margin:20px 0 0 -20px;}
}
@media screen  and (max-width:800px){
	.startReading img {margin:-20px 0 0 0;}
	body > .startReading > div {
		padding: 0 20px 0;
		max-width:880px;
		position:relative;
		min-height:420px;
	}
	.startReading #mc_embed_signup {
		font-size: 14px;
		margin: 0 auto;
		max-width: 320px;
		width:auto;
		padding: 20px 0 40px;
		position: relative;
		right: auto;
		top: auto;
	}
}


/* ------------------------- responsive ------------------------ */ 

@media screen  and (max-width:950px){
	#connectBlock p { display:block; margin-top:20px; margin-bottom:10px; }
	#connectBlock p+p { margin-top:0px; margin-bottom:20px; }
	
	#bookBlock > div > img { width:300px; max-width:75%; float:none; margin:0 auto; display:block; }
	#bookBlock > div > div { float:none; display:block; max-width:none; }
}
@media screen  and (max-width:860px) and (min-width:660px), (max-width:480px){
	.bookPull {
		float:none;
		width:auto; display:block;
	}
}

@media screen  and (max-width:750px){
	.quote-wrapper { float:none; width:100%; }
	.quote-wrapper + p { float:none; width:100%; text-align:center;}
}
@media screen  and (max-width:660px){
	.bookContent {
		padding:0;
	}
	.buynow {
		position:relative;
		top:auto;
		right:auto;
		display:block;
		padding:40px 0;
		margin:0 auto;
		max-width: 100%;
	}
}
@media screen  and (max-width:650px){
	#aboutBlock .cols { float:none; width:100%; margin:0; }
		.size-comparison { position:relative; right:0; }
	#mediaContactBlock .cols { float:none; width:100%; }
}
@media screen  and (max-width:475px){
	body .quip-add-comment label { width:100%; }
	body .quip-add-comment input[type=text] { width:100%; }
}	

@media screen  and (max-width:370px){
	.eBook {width:200px; margin: 60px auto 0; height:60px;}
}

/* ------------------------- media hub ------------------------ */ 

#insideBlock .mediaHub { list-style:none; margin:0; padding:0; }
#insideBlock .mediaHub li { float:left; /* width:30%; */ width:47%; margin:1.5%; }
#insideBlock .mediaHub li h2 { margin-bottom:1em; text-align:center; } 
	#insideBlock .mediaHub li h2+div { text-align:center; }
#insideBlock .mediaHub li img:hover { opacity:0.5; }
#insideBlock .mediaHub li h3 { font-size:22px; font-weight:bold; margin-bottom:1em; } 
#insideBlock .mediaHub li .button.green { color:#fff; font-size:18px; font-weight:bold; } 
	#insideBlock .mediaHub .buttonWrapper { text-align:center; }
@media screen  and (max-width:800px){
	#insideBlock .mediaHub li { float:none; width:100%; margin:0; clear:both; } 
	#insideBlock .mediaHub li+li { margin-top:50px; padding-top:50px; border-top:1px solid #3fad46; }
	#insideBlock .mediaHub li > div { float:right; width:320px; margin:0 0 0 30px; }
	#insideBlock .mediaHub li h2 { margin-top:0; }
	#insideBlock .mediaHub li h3 { font-size:18px; font-weight:normal; margin-bottom:0; } 
}
@media screen  and (max-width:800px){
	#insideBlock .mediaHub li > div { float:none; width:100%; margin:0; }
}




/* ------------------------- video gallery ------------------------ */ 

.videoGallery { list-style:none; margin:0; padding:0; }
.videoGallery li { float:left; width:30%; margin:1.5%; } 
.videoGallery li:nth-of-type(3n+1) { clear:both; } 
.videoGallery li iframe { max-width:100%; } 

@media screen  and (max-width:1080px){
	.videoGallery li { width:47%; } 
	.videoGallery li:nth-of-type(3n+1) { clear:none; }
	.videoGallery li:nth-of-type(odd) { clear:both; }  
	}
	
@media screen  and (max-width:800px){
	.videoGallery li { width:100%; margin:0; } 
	}

/* ------------------------- click to tweet  ------------------------ */ 

.ctt-wrapper a {
    background: #3fad46;
    display: inline-block;
    margin: 1em 0;
    padding: 0.5em;
    border-radius: 0.5em;
    color: #fff;
}
.ctt-wrapper a:hover {
    background: #183f8e;
    text-decoration: none;
}

/* ------------------------- end  ------------------------ */ 


.page9 input { font-size:20px; font-family:"ff-tisa-sans-web-pro",times; }


.page5 #insideBlock > div > div { float:left; width:50%; }
.page5 #insideBlock > div > div:nth-of-type(1) { padding-right:50px; }
.page5 #insideBlock > div > div > *:first-child { margin-top:0; }
@media screen  and (max-width:850px){
	.page5 #insideBlock > div > div { float:none; width:auto; }
	.page5 #insideBlock > div > div:nth-of-type(1) { padding-right:0px; }
	.page5 #insideBlock > div > div > *:first-child { margin-top:auto; }
}

.page5 form { margin-top:30px; }
.page5 form label:nth-of-type(1) { padding-top:0; }
.page5 form label { font-size:20px; font-weight:700; padding-top:20px; }
.page5 form label span { display:inline-block; font-size:13px; font-style:italic; font-weight:500; }
.page5 form label input,
.page5 form label textarea { font-family:"ff-tisa-sans-web-pro",times; font-size:20px; box-shadow:inset 0px 1px 4px rgba(0,0,0,0.5); max-width:100%; }
.page5 form  select { font-family:"ff-tisa-sans-web-pro",times; font-size:20px; max-width:100%; }
.page5 form input[type="checkbox"] { display:inline-block; margin-right:10px; } 
.g-recaptcha { margin-top:10px; }
.page5 form input[type="submit"] {
	margin-top:10px; background:#3fad46; color:#fff; font-family:"ff-tisa-sans-web-pro",times; font-size:20px;
	display:inline-block; border:0; border-radius:5px; padding:10px 20px;
	} 
.page5 form input[type="submit"]:hover { cursor:pointer; text-decoration:underline; }
.error { background:red; color:white; }

@media screen  and (max-width:350px){
	.g-recaptcha { transform: scale(0.92); -webkit-transform: scale(0.92); transform-origin: 0 0; -webkit-transform-origin: 0 0; }
}

/*
.page10 h2 { color:#fff; background:#3fad46; position:relative; padding:0.5em 1em; display:inline-block; }
*/

.fourcol { list-style:none; padding:0; margin:0; }
.fourcol li { float:left; width:23%; margin:0 1%;  }
.fourcol li a { display:block; text-align:center; padding:30px; background:#ebebeb; }
.fourcol li a:hover { text-decoration:none; background:#dedede }
.fourcol li a > *:first-child { margin-top:0; }
.fourcol li a > *:last-child { margin-bottom:0; }
.fourcol li a > p:nth-of-type(1) { font-weight:700; font-size:1.17em; }
.fourcol li a > p:nth-of-type(2) { color:#fff; font-size:18px; background:#3fad46; padding:0.5em; border-radius:5px; }
@media screen  and (max-width:1050px){ .fourcol li { width:48%; } } 
@media screen  and (max-width:550px){ .fourcol li { width:100%; margin:0 } } 


.fivecol { list-style:none; padding:0; margin:0; }
.fivecol li { float:left; width:23%; margin:0 1%;  } /* was 18 */
.fivecol li a { display:block; text-align:center; padding:30px; background:#ebebeb; }
.fivecol li a:hover { text-decoration:none; background:#dedede }
.fivecol li a > *:first-child { margin-top:0; }
.fivecol li a > *:last-child { margin-bottom:0; }
.fivecol li a > p:nth-of-type(1) { font-weight:700; }
.fivecol li a > p:nth-of-type(2) { color:#fff; font-size:18px; background:#3fad46; padding:0.5em; border-radius:5px; }
@media screen  and (max-width:1280px){ .fivecol li { width:48%; } } 
@media screen  and (max-width:550px){ .fivecol li { width:100%; margin:0 } } 


.resources-images { width:98%; margin:1%; padding:30px; background:#ebebeb; } 
.resources-images img { margin:0 20px 20px 0; }


.keynotes { list-style:none; padding:0; margin:0; }
.keynotes li div { float:left; width:50%; padding:30px; }
.keynotes li div:nth-of-type(1) { text-align:center; background:#cfcfcf; position:relative; }
.keynotes li:nth-of-type(1) div:nth-of-type(1) { background:url('/images/keynote-Birden-2-91-B-W.jpg') center center; background-size:cover; }
.keynotes li:nth-of-type(2) div:nth-of-type(1) { background:url('/images/keynote-JJ_lr-104.jpg')        center center; background-size:cover; }
.keynotes li:nth-of-type(3) div:nth-of-type(1) { background:url('/images/keynote-IMG_0039.jpg')       center center; background-size:cover; }
.keynotes li div:nth-of-type(1):before { content:""; display:block; position:absolute; top:0; right:0; bottom:0; left:0; background:rgba(0,0,0,0.5); }
.keynotes li div:nth-of-type(1) h2 { color:#fff!important; position:relative; margin:0!important; top:35%; }
.keynotes li div:nth-of-type(2) { background:#e8e8e8; padding:30px; text-align:center; }
.keynotes li div:nth-of-type(2) > *:first-child { margin-top:100px; }
.keynotes li div:nth-of-type(2) > *:last-child  { margin-bottom:100px; }
@media screen  and (max-width:875px){ 
	.keynotes li div { float:none; width:100%; }
	.keynotes li div:nth-of-type(1) h2 { top:auto; margin:3em 0!important; } 
	.keynotes li div:nth-of-type(2) > *:first-child { margin-top:0px; }
	.keynotes li div:nth-of-type(2) > *:last-child  { margin-bottom:0px; }
}


#titleBlock { background-image:url('../images/headers/header-speaking.jpg'); background-position:center center; background-size:cover; position:relative; }
#titleBlock:before { content:""; display:block; position:absolute; top:0; right:0; bottom:0; left:0; background:rgba(0,0,0,0.5); }
#titleBlock > div { position:relative; color:#fff; text-align:center; }
#titleBlock h2 { color:#fff; margin:150px 0; font-family:"museo-slab"; font-weight:500; font-size:42px; }


/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8; }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box;
  max-width: none;}

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045; }

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }
  .mfp-preloader a {
    color: #CCC; }
    .mfp-preloader a:hover {
      color: #FFF; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  box-shadow: none;
  touch-action: manipulation; }

button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover,
  .mfp-close:focus {
    opacity: 1; }
  .mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  color: #333; }

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: transparent; }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover,
  .mfp-arrow:focus {
    opacity: 1; }
  .mfp-arrow:before,
  .mfp-arrow:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent; }
  .mfp-arrow:after {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
  .mfp-arrow:before {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after {
    border-right: 17px solid #FFF;
    margin-left: 31px; }
  .mfp-arrow-left:before {
    margin-left: 25px;
    border-right: 27px solid #3F3F3F; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after {
    border-left: 17px solid #FFF;
    margin-left: 39px; }
  .mfp-arrow-right:before {
    border-left: 27px solid #3F3F3F; }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }
  .mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px; }
  .mfp-iframe-holder .mfp-close {
    top: -40px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; }
  .mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444; }
  .mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0; }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; } }

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; } }






