@font-face {
	font-family: 'Black Jack';
	src: url('../fonts/black_jack-webfont.eot') format('eot'),
	url('../fonts/black_jack-webfont.woff') format('woff'), 
	url('../fonts/black_jack-webfont.ttf') format('truetype'),
	url('../fonts/black_jack-webfont.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Copperplate Gothic Bold';
	src: url('../fonts/copperplate-gothic-bold-webfont.eot') format('eot'),
	url('../fonts/copperplate-gothic-bold-webfont.woff') format('woff'), 
	url('../fonts/copperplate-gothic-bold-webfont.ttf') format('truetype'),
	url('../fonts/copperplate-gothic-bold-webfont.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Helvetica';
	src: url('../fonts/helvetica-webfont.eot') format('eot'),
	url('../fonts/helvetica-webfont.woff') format('woff'), 
	url('../fonts/helvetica-webfont.ttf') format('truetype'),
	url('../fonts/helvetica-webfont.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Helvetica Bold';
	src: url('../fonts/helvetica-bold-webfont.eot'),
	url('../fonts/helvetica-bold-webfont.woff') format('woff'), 
	url('../fonts/helvetica-bold-webfont.ttf') format('truetype'), 
	url('../fonts/helvetica-bold-webfont.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Helvetica Oblique';
	src: url('../fonts/helvetica-oblique-webfont.eot'),
	url('../fonts/helvetica-oblique-webfont.woff') format('woff'), 
	url('../fonts/helvetica-oblique-webfont.ttf') format('truetype'), 
	url('../fonts/helvetica-oblique-webfont.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

/*=== HEADER ===*/

#header{
	height: 0;
	color: #ffffff;
}

#nav-bar {
    height: 120px;
    padding-top: 49px;
    position: fixed;
    width: 100%;
    z-index: 100;
	-webkit-transition: all 0.3s linear 0s; 
	   -moz-transition: all 0.3s linear 0s;
	    -ms-transition: all 0.3s linear 0s;
	     -o-transition: all 0.3s linear 0s;
			transition: all 0.3s linear 0s;
}
.fixed #nav-bar,
.all-staff #nav-bar,
.faq-full #nav-bar,
.about-full #nav-bar{
	position: fixed;
    top: 0px !important;
    left: 0px;
    width: 100%;
    z-index: 200;
	background: #ffffff;
	height: 120px;
	padding-top: 0;
	-webkit-box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.3);
	   -moz-box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.3);
			box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.3);
}
.logo{
	background-image: url("../images/layout/ecgi-logo-new-alt-white.png");
	background-size: contain;
	background-repeat: no-repeat;
	display:block;
	width: 300px;
	height: 89px;
	top: -10px;
	left: 30px;
	position: relative;
}
.fixed .logo,
.all-staff .logo,
.faq-full .logo,
.about-full .logo{
	background-image: url("../images/layout/ecgi-logo-new.png");
	background-size: contain;
	background-repeat: no-repeat;
	top: -10px;
	left: 30px;
	position: relative;
}
a#login,
a#billpay,
.header-forms{
	background: #5E3A70;
	color: #ffffff;
	text-transform: uppercase;
	height: 48px;
	line-height: 48px;
	padding: 0 10px;
	display: inline-block;
	font-family: 'Copperplate Gothic Bold';
	font-size: 12px;
	letter-spacing:0.5px;
}
a#login:hover,
a#billpay:hover,
.header-forms:hover{
	background: #061e39;
}
a#login span,
a#billpay span,
.header-forms span {
	font-family: 'Helvetica Bold';
	font-size: 16px;
	position: relative;
	top: -1px;
}
a#phone{
  display: inline-block;
  font-family: "Copperplate Gothic Bold";
  font-size: 20px;
  margin: 0 15px;
  padding: 2px 0 2px 27px;
	-webkit-transition: all 0.3s ease 0s; 
  -moz-transition: all 0.3s ease 0s;
  -ms-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}
a#phone i {
	margin-right: 10px;
	font-size: 35px;
	position: relative;
	top: 5px;
	color: #5E3A70;
}
.fixed a#phone,
.all-staff a#phone,
.faq-full a#phone,
.about-full a#phone {
	color: #9368A9;
}
.menu-btn {
	width: 38px;
	display: inline-block;
	vertical-align: middle;
}
.menu-btn span{
	width: 100%;
	height: 3px;
	display: block;
	margin-bottom: 4px;
	background: #ffffff;
	-webkit-transition: all 0.3s ease 0s; 
	   -moz-transition: all 0.3s ease 0s;
	    -ms-transition: all 0.3s ease 0s;
	     -o-transition: all 0.3s ease 0s;
			transition: all 0.3s ease 0s;
}
.fixed .menu-btn span,
.all-staff .menu-btn span,
.faq-full .menu-btn span,
.about-full .menu-btn span {
	background: #9368A9;
}
/*=== MAIN NAVIGATION ===*/


#menu {
    left: 0;
    position: fixed;
    top: 0;
    visibility: hidden;
    opacity: 0;
    z-index: 9999;
}
#menu .menu-left {
    background-attachment: scroll;
    background-image: url(../images/banners/nav-bg.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
	z-index: 1;
    left: -50%;
}
#menu .menu-right{
    position: relative;
	right: -50%;
}
#menu .menu-right .cell{
	padding-bottom: 30px;
}
#menu nav .close-menu {
    background: rgba(0, 0, 0, 0) url(../images/layout/close-menu-white.png) no-repeat scroll 0 0;
    display: block;
    font-size: 20px;
    position: absolute;
    right: 45px;
    text-indent: -999em;
    top: 71px;
    width: 26px;
	height: 28px;
}
#menu nav {
    position: absolute;
    top: 0px;
    left: 0px;
    display: block;
    height: 100%;
    width: 100%;
    padding: 0 12%;
    overflow: auto;
}
#menu nav ul{
	padding: 71px 0 0;
}
#menu nav li{
	list-style-type: none;
	padding-bottom: 43px;
}
#menu nav li a{
	font-family: 'Copperplate Gothic Bold';
	font-size: 20px;
	color: #ffffff;
	text-transform: uppercase;	
}
#menu nav li a:after{
	content: " +";
	opacity: 0;
	color: #5E3A70;
	-webkit-transition: all 0.3s ease 0s; 
	   -moz-transition: all 0.3s ease 0s;
	    -ms-transition: all 0.3s ease 0s;
	     -o-transition: all 0.3s ease 0s;
			transition: all 0.3s ease 0s;
}
#menu nav li a:hover{
	color: #5E3A70;
}
#menu nav li a:hover:after{
	opacity: 1;
}
#menu .phone{
	padding-top: 45px;
	border-top: 6px solid #405a89;
	font-family: 'Black Jack';
	display: inline-block;
	color: #9368A9;
}
#menu .phone p{
	font-size: 28px;
}
#menu .phone a{
	font-family: 'Copperplate Gothic Bold';
	color: #ffffff;
	font-size: 26px;
	display: block;
	padding-top: 10px;
}
#menu .fb{
	padding-top: 35px;
}
#menu .fb a{
	width: 38px;
	height: 36px;
	display: block;
}
#menu .fb a i{
	font-size: 25px;	
}
/*=== TOP BANNER ===*/

.unslider{
	height: 100%;
	min-height: 100%;
	position: relative;
	width: 100%;
	overflow: hidden;
}
.unslider .banners {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 0;
}
.unslider .banners li{
    display: block;
    height: 100%;
    width: 100%;
    background-attachment: fixed;
    background-color: transparent;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.banner .text-overlay{
	position: absolute;
    top: 0px;
    left: 0px;
    z-index: 2;
	background: url("../images/layout/bg_pattern_dotted.png") repeat;
}
.banner-text {
  padding-bottom: 190px;
}
.banner-text h2{
	color: #ffffff;
	font-size: 52px;
	line-height: 56px;
	margin-bottom: 35px;
	font-family: 'Copperplate Gothic Bold';
	text-transform: uppercase;
}
.banner-text h2 span{
	color: #9368A9;
	font-size: 83px;
	font-family: 'Black Jack';
	text-transform: none;
}
.banner-text h2 + p {
	color: #ffffff;
	font-size: 15px;
	line-height: 20px;
	display: block;
	margin: 0 auto;
	max-width: 680px;
}
.banner-text h2 + p span {
	font-size: 18px;
}
.banner > .cell:before{
	content: "";
	background: url("../images/layout/bg_element_purple.png") no-repeat;
	display: block;
	width: 20px;
	height: 199px;
	position: absolute;
	left: 50%;
	margin-left: -10px;
	bottom: -55px;
	z-index:3;
}
.banner > .cell:after, #menu > .cell:first-child:after{
	content: "";
	background: url("../images/layout/bg_lines_btm.png") no-repeat;
	display: block;
	width: 432px;
	height: 372px;
	position: absolute;
	bottom: -44px;
	z-index: 3;
}
/*=== ABOUT SECTION ===*/

#about > .cell{
	padding: 106px 0 120px;
}
#about .page .cell:first-child{
	width: 320px;
}
#about .page .cell:last-child{
	padding-left: 40px;
	color: #405a89;
}
#about h1{
	font-size: 24px;
	line-height: 36px;
	position: relative;
	padding-bottom: 44px;
	font-family: 'Copperplate Gothic Bold';
	text-transform: uppercase;
}
#about h1:before{
	content: "";
	display: block;
	width: 182px;
	height: 6px;
	background: #405a89;
	position: absolute;
	bottom: 0;
}
#about h2{
	color: #5E3A70;
	font-size: 18px;
	line-height: 24px;
	padding-bottom: 25px;
	padding-top: 5px;
	font-family: 'Copperplate Gothic Bold';
	text-transform: uppercase;
}
#about .link{
	color: #061e39;
}
#about .link:hover{
	color: #405a89;
}
.about-full-box{
    background: url(../images/banners/Patient_Forms_Background.jpg);
	background-color: #ffffff;
	background-attachment: scroll;
    background-repeat: no-repeat;
	background-size: cover;
    position: absolute;
	z-index: 20;
	padding-top: 185px;
	color: #ffffff;
	overflow-y: auto;
}
.about-full-box .table{
	position: relative;
	z-index: 2;
}
.about-full-box h2{
	font-size: 32px;
	color: #061e39;
	text-transform: uppercase;
	font-family: 'Copperplate Gothic Bold';
	padding-bottom: 30px;
	position: relative;
	margin-bottom: 30px;
}
.about-full-box h3{
	color: #FFF;
	font-size: 18px;
	text-transform: uppercase;
	margin-bottom: 20px;
	font-family: 'Copperplate Gothic Bold';
	line-height: 24px;;
}
.about-full-box h2:after{
	content: "";
    display: block;
    width: 182px;
    height: 6px;
    background: #405a89;
    position: absolute;
    bottom: 0;
}
.about-full-box .bg-overlay{
	position: fixed;
}

#about-content h2 {
  color: #fff;
  margin-bottom: 50px;
  text-align: center;
}

#about-content h2:after {
  background: #FFF;
  left: 0;
  margin: 0 auto;
  right: 0;
}



/*=== SPECIALISTS SECTION ===*/
#specialists .specialist-info{
    padding: 48px 20px 225px;
	max-width: 670px;
	margin: auto;
}

#specialists h3{
	font-size: 42px;
	margin-bottom: 25px;
	font-family: 'Copperplate Gothic Bold';
}
#specialists h3 span{
	font-size: 28px;
	color: #9368A9;
	position: relative;
	display: block;
	padding-left: 72px;
	font-family: 'Black Jack';
	margin-top: 20px;
}
#specialists h3 span:after{
	content: "";
	display: block;
	width: 54px;
	height: 5px;
	background: #405a89;
	position: absolute;
	left:0;
	top: 50%;
	margin-top: -3px;
}
#specialists .specialist-info p {
	text-align: center;
}
#specialists strong {
	font-family: 'Helvetica';
}
#specialists strong span {
	color: #9368A9;
}

.staff-section {
	display: flex;
	flex-wrap: wrap;
	max-width: 1002px;
	margin: -175px auto auto;
	justify-content: center;
	padding-bottom: 50px;
}
.staff-section > div {
	text-align: center;
	padding: 0 20px 50px;
	width: 300px;
}
.staff-section .staff-photo {
	background-attachment: scroll;
	background-color: transparent;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	border-bottom: solid 6px #405a89;
	display: block;
	position: relative;
	margin: 0 auto 25px;
	height: 350px;
	width: 100%;
}
.staff-section .staff-photo > span {
	background: rgba(64, 90, 137, 0.9) url(../images/layout/staff-bg-purple.png) no-repeat center bottom scroll;
	background-size: cover;
	color: #fff;
	font: 26px/1 'Copperplate Gothic Bold';
	text-align: center;
	text-transform: uppercase;
	display: flex;
	justify-content: center;
	flex-direction: column;
	
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto; 
	height: 94%;
	width: 84%;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease 0s;
}
.staff-section .staff-photo:hover > span {
	opacity: 1;
	visibility: visible;
}
.staff-section h2 {
	font: 30px/1.5 'Black Jack';
}
.staff-section .staff-title {
	color: #5E3A70;
	font: 18px/1.2 'Copperplate Gothic Bold';
}
.staff-section > div > div {
	text-align: left;
	line-height: 1.3;
}

.staff-modal {
	padding: 0 !important;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100% !important;
	z-index: 999;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease 0s;
}
.staff-modal:target,
.staff-modal.show {
	opacity: 1;
	visibility: visible;
}
.staff-modal .staff-overlay {
	background: rgba(0, 0, 0, 0.85);
	position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.staff-modal .staff-modal-content {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	height: 470px;
}
.staff-modal .flexbox {
	display: flex;
	margin: auto;
	max-width: 1002px;
}
.staff-modal .flexbox > div:first-child {
	background-attachment: scroll;
	background-color: transparent;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	margin-top: -20px;
	height: 500px;
	width: 100%;
	min-width: 350px;
}
.staff-modal .flexbox > div:last-child {
	height: 470px;
	padding: 50px;
	overflow: auto;
}
.staff-modal .flexbox > div:last-child > div {
	padding-bottom: 50px;
}
.close-staff {
	background: rgba(0, 0, 0, 0) url(../images/layout/close-menu-white.png) no-repeat scroll 0 0;
	position: absolute;
	top: 20px;
	right: 50px;
	height: 26px;
	width: 28px;
}


/*=== APPOINTMENT SECTION ===*/

#appointment > .cell{
	background: url("../images/banners/EC_GI_Parallax_image.jpg") center center no-repeat;
	background-size: cover;
	position: relative;
	height: 420px;
	background-attachment: fixed;
}
#appointment .bg-overlay{
	opacity: 0.6;
}
#appointment .overlay-text{
	position: relative;
	z-index: 3;
}
#appointment h3{
	font-size: 44px;
	line-height: 54px;
	margin-bottom: 30px;
	font-family: 'Copperplate Gothic Bold';
}
#appointment h3 span{
	font-family: 'Black Jack';
	font-size: 81px;
	color: #5E3A70;
	display: block;
}
#appointment h3 + p{
	font-family: 'Helvetica Bold';
	font-size: 18px;
	text-transform: uppercase;
}
#appointment h3 + p a{ 
	border-bottom: 1px solid #ffffff;
}
#appointment > .cell:before{
	content: "";
	background: url("../images/layout/bg_element_purple.png") no-repeat;
	display: block;
	width: 20px;
	height: 199px;
	position: absolute;
	left: 50%;
	margin-left: -10px;
	bottom: -100px;
	z-index:3;
}

/*=== RESOURCES SECTION ===*/

#resources > .cell{
	padding: 130px 0 40px;
}
#resources .page{
	max-width: 1102px;
	position: relative;
}
#resources .nav-arrow{
	position: absolute;
	z-index: 3;
}
#resources .nav-prev{
	left: 40px;
}
#resources .nav-next{
	right: 40px;
}
.tabs{
	margin-top: 45px;
	height: 132px;
}
.tabs li{
	list-style-type: none;
	text-align: center;
	height: 130px;
	background: url(../images/layout/bg_pattern_lines.png) repeat #061e39;
	position: relative;
	outline:none;
	-webkit-transition: all 0.3s ease 0s; 
	   -moz-transition: all 0.3s ease 0s;
	    -ms-transition: all 0.3s ease 0s;
	     -o-transition: all 0.3s ease 0s;
			transition: all 0.3s ease 0s;
	cursor: pointer;
}
.tabs li.active,.tabs li:hover{
	background: #405a89;
}

.tabs li.active:before{
	content: "";
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 13px 11.5px 0 11.5px;
	border-color: #405a89 transparent transparent transparent;
	-webkit-transform:rotate(360deg);
	position: absolute;
	bottom: -13px;
	left: 50%;
	margin-left: -11.5px;
}

.tabs li a{
	width: 100%;
	display: inline-block;
	color: #ffffff;
	font-size: 16px;
	line-height: 22px;
	text-transform: uppercase;
	font-family: "Helvetica Bold";
}
.tabs .cell.space{
	width: 15px;
	background: none;
}
.tabs-wrapper{
	background: #ffffff;
	padding: 55px 65px 55px;
}
.tab-item{
	display: none;
}
.tab-item:first-child{
	display: block;
}
.tab-item a{
	display: inline-block;
	width: 48.5%;
	font-family: "Helvetica Bold";
	border: 6px solid #405a89;
	font-size: 16px;
	padding: 20px 55px 19px 20px;
	background: url("../images/icons/plus_purple.png") no-repeat right 24px top 50%;
	margin-bottom: 17px;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
.tab-item a:hover{
	background-color: #405a89;
	color: #ffffff;
}
.tab-item a:nth-of-type(odd){
	margin-right: 1.2%;
}
.tab-item a:nth-of-type(even){
	margin-left: 1.2%;
}

.tab-item h2 {
  font-family: "Copperplate Gothic Bold";
  font-size: 26px;
  line-height: 26px;
  padding: 0 0 21px 8px;
}

.tab-item > * + h2 {
  padding-top: 42px;
}

.tab-item > *:not(a) + a {
  margin-left: 0px !important;
}

.tab-item h4{
	color: #9f7c68;
  font-family: "Helvetica Bold";
  font-size: 16px;
  margin-bottom: 10px;
  margin-left: 10px;
}

.tab-item > p {
  padding-left: 8px;
}

/*=== FAQ SECTION ===*/

#faq .cell{
	height: 132px;
}
#faq h3{
	font-size: 24px;
	display: inline-block;
	font-family: 'Copperplate Gothic Bold';
	text-transform: uppercase;
}
#faq h3 span{
	font-size: 39px;
	color: #9368A9;
	font-family: 'Black Jack';
	text-transform: none;
}
#faq .btn{
	margin-left: 14px;
}
#faq-full .faq-left{
	background-attachment: scroll;
  background-image: url(../images/banners/FAQ-Image.jpg);
  background-position: center 120px;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
	z-index: 1;
  left: -50%;
  transition: left 0.5s ease 0.3s;
}
#faq-full .faq-right{
	position: relative;
	right: -50%;
	transition: right 0.5s ease 0.3s;
}
#faq-full .faq-right .scroll{
	position: absolute;
	padding: 220px 100px 70px 45px;
	overflow-y: auto;
}
#faq-full .bg-overlay{
	opacity: 0.6;
}
.box-toggle .head-toggle{
	color: #5E3A70;
	font-size: 18px;
	text-transform: uppercase;
	font-family: 'Copperplate Gothic Bold';
	margin-bottom: 10px;
	cursor: pointer;
	position: relative;
    padding-left: 80px;
    padding-top: 14px;
    min-height: 46px;
}
.box-toggle > li{
	list-style-type: none;
	margin-bottom: 40px;
}
.box-toggle .head-toggle span{
	width: 50px;
	height: 46px;
	border: 4px solid #5E3A70;
	display: inline-block;
	margin-right: 25px;
	font-family: 'Helvetica';
	position: absolute;
  left: 0;
  top: 0;
}
.box-toggle .head-toggle span:before,
.box-toggle .head-toggle span:after{
	content: "";
  background-color: #5E3A70;
  display: block;
  position: absolute;
  top:0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  margin: auto;
  transition: all 0.4s ease 0s;
  -webkit-transform: rotate(0deg);
  -moz-transform:    rotate(0deg);
  -ms-transform:     rotate(0deg);
  -o-transform:      rotate(0deg);
  transform:         rotate(0deg);
}
.box-toggle .head-toggle span:before {
  height: 21px;
  width: 4px;
}

.box-toggle .head-toggle span:after {
  height: 4px;
  width: 21px;
}

.box-toggle .open-toggle .head-toggle span:before { 
  -webkit-transform: rotate(90deg);
  -moz-transform:    rotate(90deg);
  -ms-transform:     rotate(90deg);
  -o-transform:      rotate(90deg);
  transform:         rotate(90deg);
}

.box-toggle .content-toggle{
	padding-left: 80px;
	display: none;
}

.box-toggle .content-toggle p {
  margin: 0px;
}

#all-staff {
  height: 100%;
  width: 100%;
  overflow: auto;
}

#all-staff > .table > .cell {
  padding-top: 120px;
  vertical-align: middle;
}

/*=== GALLERY SECTION ===*/
#gallery > .cell {
	padding: 70px 0 85px;
	position: relative;
}
#gallery > .cell {
	background:  url("../images/layout/bg_lines_top.png") right top no-repeat;
}
#gallery .page {
	padding-top: 30px;
}
#gallery .page > .cell:first-child{
	padding-right: 10px;
}
#gallery .page > .cell:last-child{
	padding-left: 10px;
}
#gallery .img-box{
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	background-attachment: scroll;
	background-color: transparent;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}
#gallery .img-overlay{
	display: block;
    position: absolute;
    background: url(../images/layout/gallery_hover_purple.png) no-repeat 50% 50% rgba(64,90,137,0.9);
    z-index: 10;
    top: 30px;
    left: 30px;
	bottom: 30px;
	right: 30px;
	opacity: 0;
	-webkit-transition: all 0.3s ease 0s; 
	   -moz-transition: all 0.3s ease 0s;
	    -ms-transition: all 0.3s ease 0s;
	     -o-transition: all 0.3s ease 0s;
			transition: all 0.3s ease 0s;
   /* display: none;*/
}
#gallery .img-box:hover .img-overlay,
body:not(.desktop) #gallery .img-box .img-overlay{
	opacity: 1;
}
#gallery .img-hover-caption{
	display: table;
	width: 100%;
	height: 100%;
}
#gallery .img-hover-caption span{
	display: table-cell;
    vertical-align: middle;
	color: #ffffff;
	font-size: 24px;
	font-family: 'Copperplate Gothic Bold';
	text-transform: uppercase;
}
#gallery .galleries {
  display: block;
  max-width: 1024px;
  margin: 0 auto;
  font-size: 0px;
}
#gallery .galleries .gal-box {
  display: inline-block;
	width: 48.5%;
	height: 352px;
	min-width: 480px;
}

#gallery .galleries .gal-box:nth-of-type(even) {
  margin-left: 30px;
}

.full-gallery {
  display: none;
}
/*=== FACEBOOK SECTION ===*/

.fb-post{
	text-align: center;
}
.fb-post:after{
	content: "";
	background:  url("../images/icons/facebook.png") right top no-repeat;
	display: block;
	width: 32px;
	height: 32px;
	position: absolute;
	left: 50%;
	top: 55px;
	margin-left: - 16px;
	bottom: 19px;
	z-index:1;
}
.fb-post.img-post:after{
	left: 19px;
	bottom: 19px;
	top: inherit;
	margin-left: 0;
	z-index:1;
}
.fb-post .bg-overlay{
	opacity: 0.8;
}

.fb-post img{
	width: 100%;
}
.fb-post-text{
	display: inline-block;
	position: relative;
	z-index: 3;
	color: #ffffff;
	padding: 10px 40px 10px;
}
.fb-post-text h4{
	margin-bottom: 30px;
	text-transform: uppercase;
	font-family: "Helvetica Bold";
}
.fb-post-text .link{
	color: #5E3A70;
}
#footer{
	background: #5E3A70;
	color: #ffffff;
	height: 150px;
}
#footer p{
	margin: 0;
}

/*=== CONTACT SECTION ===*/

#contact > .cell{
	padding: 65px 0 90px;
}
#contact h3{
	margin-bottom: 60px;
}
#contact .page > .cell:first-child{
	width: 70%;
	padding:  0 50px;
}
#contact .info {
  overflow: hidden;
}
#contact .info li{
	list-style-type: none;
	margin-bottom: 22px;
}
#contact .info h4{
	font-family: "Helvetica Bold";
	font-size: 16px;
	margin-bottom: 10px;
	color: #9368A9;
	text-transform: uppercase;
}
#contact .info strong{
	display: block;
}
#contact .info p{
	margin-bottom: 0;
}
#contact .info a:not(.btn){
	color:  #9368A9;
	text-decoration: underline;
	font-family: 'Helvetica Oblique';
}
#contact .info > div > * {
  top:0px;
  transition: left 0.3s ease 0s;
}

#contact .info > div > .locations-list {
  left: 0;
  position: relative;
}

#contact .info > div > .find-a-location {
  left: 100%;
  width: 100%;
  display: block;
  position: absolute;
}

#directions > .cell {
  padding-right: 10px;
}

#contact .info.open > div > .locations-list {
  left: -100%;
}

#contact .info.open > div > .find-a-location {
  left: 0;
}

form .input{
	margin-bottom: 18px;
}
form .input input{
	background: #ffffff;
	width: 100%;
	display: inline-block;
	height: 58px;
	line-height: 58px;
	padding: 0 22px;
	font-size: 14px;
	text-transform: uppercase;
	color: #061e39;
}
form .cell{
	padding-bottom: 18px;
}
form .cell.space{
	width: 18px;
}
form .sbHolder {
    text-align: left;
    height: 58px;
    padding: 11px 0;
    width: 100%;
    width: 100%;
    background: #ffffff;
    position: relative;
	color: #061e39;
	text-transform: uppercase;
}
form .sbToggle {
    width: 23px;
    height: 100%;
    background: url(../images/arrows/select.png) 50% 50% no-repeat;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    position: absolute;
    right: 15px;
    top: 0;
    cursor: pointer;

}
form .sbSelector {
    margin-right: 40px;
    line-height: 38px;
    height: 100%;
    padding: 0 22px;
	
}
form .sbOptions {
    background: #ffffff;
    margin-top: 10px;
}
form .sbOptions li {
    list-style-type: none;
}
form .sbOptions li a {
    padding: 15px 22px;
    display: block;
    -webkit-transition: all linear 0.1s;
    -moz-transition: all linear 0.1s;
    transition: all linear 0.1s;
    cursor: pointer;
}
form .sbOptions li a:hover{
	background: #9f7c68;
	color: #ffffff;
}
form .f-row {
	margin-bottom: 32px;
}
form .f-row:last-child{
	margin-bottom: 0;
}
form textarea{
	width: 100%;
	color: #061e39;
	text-transform: uppercase;
	resize: none;
	min-height: 184px;
}
form  label{
	text-transform: uppercase;
}

form input[type=checkbox]:not(checked) {
    visibility: hidden;
	position: absolute;
}
form input[type=checkbox]:not(checked) + label{
	position: relative;
	padding: 3px 0 0 35px;
}
form input[type=checkbox]:not(checked) + label:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 18px;
	height: 18px;
	border: 2px solid #9f7c68;
	cursor: pointer;
}
form input[type=checkbox]:checked + label:before {
	background: url(../images/layout/checkbox_checked.png) center center no-repeat;
}

.all-staff #all-staff,
.faq-full #faq-full,
.about-full #about-full {
  opacity: 1;
  visibility: visible;
  transition: all 0.8s ease 0.3s;
}

.faq-full #faq-full .faq-left {
  transition: left 0.5 ease 0s;
  left:0px;
}

.faq-full #faq-full .faq-right {
  transition: left 0.5 ease 0s;
  right:0px;
}

#team {
  font-size: 0;
  height: auto;
  margin: 0 auto;
  max-width: 1024px;
  overflow: auto;
  position: relative;
  width: 100%;
}

.staff-member {
  display: inline-block;
  width: 22%;
  vertical-align: top;
}

.staff-member + .staff-member {
  margin-left: 38px;
}

.staff-member figure {
  padding-bottom: 132%;
  background-attachment: scroll;
  background-color: transparent;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 38px;
  position: relative;
}
.staff-member figure:after {
  background-color: #405a89;
  content: "";
  display: block;
  height: 5px;
  left: 0;
  margin-top: 0;
  position: absolute;
  bottom: -22px;
  width: 100%;
}

.staff-member p {
  padding: 0px; 
  margin: 0px;
}

.staff-member p + p {
  padding-top: 3px;
}

.staff-member .staff-name {
  color:#405a89;
  font-family: "Copperplate Gothic Bold";
  font-size: 20px;
}

#fb > .cell {
  font-size: 0px;
}

.social-post {
  position: relative;
  display: inline-block;
  padding-bottom: 30%;
  width: 33.33%;
  background: url(/images/layout/social-gradient.png) repeat-x scroll 0 0 transparent;
  background-size: auto 100%;
  overflow: hidden;
}

.social-post:before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  display: block;
  top:0px;
  left:0px;
  background: url("/images/layout/bg_pattern_dotted.png") repeat fixed left top transparent;
  z-index: 0;
}

.social-post.facebook:after{
	border: 4px solid #5E3A70;
  border-radius: 50%;
  bottom: 19px;
  color: #5E3A70;
  content: "\f09a";
  display: block;
  font-family: "FontAwesome";
  font-size: 29px;
  height: 32px;
  left: 20px;
  padding: 7px 29px 0 12px;
  position: absolute;
  top: auto;
  width: 0;
  z-index: 10;
  opacity: 1;
  visibility: visible;
  transition: all 0.4s ease 0s;
}

.social-post:hover:after {
  opacity: 0;
  visibility: hidden;
}

.social-post .post-image {
  background-attachment: scroll;
  background-color: transparent;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  height: 100%;
  width: 100%;
  display: block;
  top:0px;
  left:0px;
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transition: all 0.4s ease 0s;
}

.social-post:hover .post-image {
  opacity: 0;
  visibility: hidden;
}

.social-post .post-overlay {
  position: absolute;
  height: 100%;
  width: 100%;
  display: block;
  top:0px;
  left:0px;
  background: url(/images/layout/social-gradient.png) repeat-x scroll 0 0 transparent;
  background-size: auto 100%;
  z-index: 2;
  transition: all 0.4s ease 0s;
}

.social-post .post-overlay:after {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  display: block;
  top:0px;
  left:0px;
  background: url("/images/layout/bg_pattern_dotted.png") repeat fixed left top transparent;
}

.social-post .post-link {
  position: absolute;
  height: 100%;
  width: 100%;
  display: block;
  top:0px;
  left:0px;
  text-align: center;
  z-index: 3;
  padding:20px 40px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease 0s;
}

.social-post:hover .post-link {
  opacity: 1;
  visibility: visible;
}

.social-post .post-link .date-time {
  font-family: 'Copperplate Gothic Bold';
  font-size: 18px;
  line-height: 20px;
  color: #FFF;
  display: block;
  width: 100%;
  height: auto;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.social-post .post-link .post-text {
  display: block;
  color: #FFF;
  max-width: 320px;
  margin: 0 auto 24px;
}

.social-post .post-link span {
  display: block;
  color: #5E3A70;
  font-family: "Helvetica Bold";
  font-size: 18px;
  text-transform: uppercase;
}

.social-post .social-icon {
  border: 4px solid #5E3A70;
  border-radius: 50%;
  display: block;
  height: 48px;
  margin: 0 auto 20px;
  padding-top: 7px;
  position: relative;
  text-align: center;
  width: 48px;
}

.social-post.facebook .social-icon:after {
  color: #5E3A70;
  content: "\f09a";
  display: block;
  font-family: "FontAwesome";
  font-size: 29px;
}

.footer-logo {
  display: inline-block;
  vertical-align: middle;
  margin: 0px 5px;
}

.about-list > .header-row > .cell.spacer {
  width: 40px;
}
.about-list > .row:not(.header-row) + .row > .cell {
  padding-top: 40px;
}
#about-content {
  margin-bottom: 60px;
}

.split > ul {
  font-size: 0px;
}

.split > ul > li {
  width: 50% !important;
  display: inline-block !important;
}
.split > ul > li:first-child {
  padding-right: 25px !important;
}

.split > ul > li > a:hover {
  color: #5E3A70 !important;
}
.watermark {
  width: 192px;
  height: 76px;
  background: url(/images/icons/OMN-Watermark.png) no-repeat scroll left top transparent;
  background-size: contain;
  opacity: 0.5;
  transition: all 0.3s ease 0s;
}
.oakleafBox {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	margin-top: 25px;
}
.oakleafBox a {
	width: 70%;
}
.contact-section {
  height: 1px !important;
}

.contact-text {
  padding: 0px 65px 20px !important;
}

.contact-text h3.compl-title {
  margin-bottom: 30px !important;
}

.footer-popup {
   background: #ffffff url("../images/layout/bg_pattern.png") repeat scroll 0 0;
}

.popup h2 {
  font-size: 32px;
  line-height: 40px;
  padding-bottom: 18px;
}

#contact-form textarea,
#contact-form input,
#dest,
#contact-form select {
  font-family: 'Helvetica' !important;
  font-size: 14px;
  line-height: 14px;
  padding: 22px 22px 20px 22px !important;
  border: none;
  outline: none;
}
#contact-form .sbToggle {
	transform: rotate(90deg);
	transition: all 0.2s ease 0s;
}
#contact-form .sbToggleOpen {
	transform: rotate(0deg);
}
#contact-form .sbSelector {
	color: rgba(0,0,0,0.5);
	width: 100%;
}
#contact-form .sbHolder {
	z-index: 1;
}

#contact-form .sbOptions li a {
  padding: 17px 22px;
}
#contact-form .f-row {
	margin-bottom: 18px;
}

#dest {
  margin-bottom: 18px;
  margin-top: 10px;
}
#directions .big {
  font-size: 26px;
  line-height: 32px;
}

#directions .back-btn {
  font-size: 38px;
  line-height: 38px;
  margin-top: 22px;
  padding-left: 4px;
}

#directions .back-btn i {
  cursor: pointer;
}
.g-recaptcha {
  margin-bottom: 18px;
}
.g-recaptcha > div {
  margin: 0 auto;
}
#thank-you h3 {
  text-align: center;
  margin-bottom: 8px;
}

.selectBox {
  display: none;
}

.banner-callout {
	padding: 65px 15px 25px;
	text-align: center;
}
.banner-callout p {
	color: #ffffff;
	font-size: 28px;
	line-height: 1;
	margin-bottom: 10px;
	font-family: 'Copperplate Gothic Bold';
	text-transform: uppercase;

}
.banner-callout a {
	background-color: #405a89;
	border: solid 4px #405a89;
}
.banner-callout a:hover {
	border-color: #9f7c68;
}

.popup {
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0px;
	top: 0px;
	background-color: rgba(33, 33, 33, 0.9);
	z-index: 1000;
	cursor: pointer;
}
.popupForms {
	display: none;
}
.popup-image {
	width: 100%;
	display: flex;
	justify-content: center;
	margin: 50px 0px;
	position: relative;
}
.popup-image > div {
	width: 250px;
	height: 250px;
	background-image: url(../images/layout/dalai-popup.jpg);
	background-size: cover;
	background-repeat: no-repeat;
}
.popupInner > h2:after {
	content: "";
	display: block;
	width: 70%;
	height: 3px;
	background: #405a89;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0px;
}
.popupInner > h2 {
	position: relative;
	padding-bottom: 25px;
	margin-bottom: 25px;
}
.popupInner {
	width: 90%;
	max-width: 700px;
	z-index: 1100;
	background-color: #FFF;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 25%;
	padding: 25px;
	cursor: default;
}
.popupInner > a {
	position: absolute;
	right: 15px;
	top: 15px;
	transition: all 0.3s ease 0s;
}
.popup ul {
	display: flex !important;
	justify-content: center !important;
	max-width: 450px;
	margin: 0 auto;
	flex-wrap: wrap;
	padding-bottom: 100px;
}
.popup ul li {
	width: fit-content;
	height: 25px;
	display: flex !important;
	justify-content: center;
}
.popup ul li:before {
	display: none !important;
}
.popup ul li a {
	position: relative !important;
	right: 0px !important;
	top: 0px !important;
}
.popupInner p {
	text-align: center;
	margin-bottom: 10px;
}
.nav-items {
	display: flex;
	justify-content: space-between; 
}
.fixed .nav-items {
	padding-top: 30px;
}
.about-full .nav-items {
	padding-top: 30px;
}
.popupInner p:last-child {
	margin-bottom: 50px;
}
.popupInner h2 {
	padding-top: 50px;
	text-align: center !important;
}
.popupInner a:hover {
	transform:scale(1.2);
}
.popupInner a i {
	font-size: 30px;
}
.oakleaf-link {
	font-family: 'Helvetica Bold';
	font-size: 18px;
	color: #061e39;
	text-transform: uppercase;
}
.oakleaf-link:hover {
	color: #405a89;
}
.fb-link {
	width: 38px;
	height: 36px;
	position: relative;
	top: 2px;
	margin: 0px 5px;
}
.fb-link i {
	font-size: 25px;
}
.footer-popup .popup {
	display: none;
}
.footer-popup .popup > div {
	background-color: #FFF !important;
	position: fixed;
	padding: 25px;
	width: 90% !important;
	height: 90% !important;
	left: 50% !important;
	top: 50% !important;
	transform: translate(-50%, -50%) !important;
	overflow-y: scroll;
}
#thank-you .popup > div {
	height: 300px !important;
	width: fit-content !important;
	overflow-y: hidden;
}
.footer-popup .popup ul {
	display: block !important;
	margin: 0px;
	list-style-type: disc !important;
}
.footer-popup .popup ul li {
	text-align: left;
	padding-left: 0px !important;
	margin-top: 0px !important;
	height: fit-content !important;
	display: block !important;
	margin-bottom: 15px !important;
}
.openPopup {
	display: block !important;
}