/*
Theme name: Harbor Hospice
Description: Custom Theme
*/

/******* Harbor Hospice WordPress CSS *******/

/* Common elements styling */
.post .entry a img { border: 0 }

p img { padding: 0;	max-width: 100%; }
img.centered { display: block; margin-left: auto; margin-right: auto; }
img.alignright { margin: 2px 0 2px 7px; display: inline; }
img.alignleft { margin: 2px 7px 2px 0; display: inline; }
.alignright { float: right; display: inline; }
.alignleft { float: left; display: inline; }
.aligncenter, div.aligncenter { display: block; margin-left: auto; margin-right: auto; }

/* Calendar widget */
#wp-calendar { width: 100%; empty-cells: show; margin: 10px auto 0; text-align: center; }
#wp-calendar #next a { padding-right: 10px; text-align: right; }
#wp-calendar #prev a { padding-left: 10px; text-align: left; }
#wp-calendar a { display: block; }
#wp-calendar caption { text-align: center; width: 100%; }
#wp-calendar td { padding: 3px 0; text-align: center; }
.wp-caption { border: 1px solid #ddd; text-align: center; padding-top: 4px; margin: 10px; }
.wp-caption img { margin: 0; padding: 0; border: 0 none; }
.wp-caption p.wp-caption-text { font-size: 11px; line-height: 17px; padding: 0 4px 5px; margin: 0;}

/* Big images in rich text editor should not break page layout */
.rounded .vc_single_image-wrapper { border-radius: 9px; overflow: hidden; }
.post .rounded img { margin-bottom: 0; }

/******* /Harbor Hospice WordPress CSS *******/

* { margin: 0; padding: 0; outline: 0; }

html,
body { height: 100%; }

html { overflow-y: scroll; }

body { font-size: 16px; line-height: 1.38; font-family: 'Roboto', sans-serif; color: #707070; background-color: #fff; -webkit-text-size-adjust: none; }

a { color: #269fe9; text-decoration: none; cursor: pointer; }
a:hover { text-decoration: underline; }
a img { border: 0; }
img { vertical-align: middle; }

h1 { font-size: 34px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; font-weight:400; }
h4 { font-size: 22px; }
h5 { font-size: 20px; }
h6 { font-size: 16px; }

input, 
textarea, 
select { font-size: 16px; font-family: 'Roboto', sans-serif; font-weight: 900;
	-webkit-box-sizing: border-box;
			box-sizing: border-box;
}
textarea { overflow: auto; resize: none; }
textarea,
input[type="tel"],
input[type="text"],
input[type="email"],
input[type="password"],
input[type="submit"] { -webkit-appearance: none; }

/* =====================================================
	#Common
====================================================== */

.post .entry:before,
.post .entry:after,
.clearfix:before,
.clearfix:after { content: " "; display: table; }
.post .entry:after,
.clearfix:after { clear: both; }
.left, .alignleft { float: left; }
.right, .alignright { float: right; }

.page-template-templateshome-php > .vc_row,
.shell { width: 1140px; margin: 0 auto; }

.background { position: relative; overflow: hidden; }
.background-image { position: absolute; }

.button { display: inline-block; background-color: transparent; border: 3px solid #269fe9; border-radius: 50px; padding: 11px 23px; font-size: 16px; line-height: 1.38; font-weight: bold; color: #269fe9; cursor: pointer; position: relative; }
.button:after { content: attr(data-text); width: 100%; height: 100%; padding: 11px 23px; position: absolute; top: 0; left: 0; opacity: 0;
	-webkit-box-sizing: border-box;
			box-sizing: border-box;
	-webkit-transform: -webkit-translate(0, 50%);
			transform: translate(0, 50%);
}
.button span { display: block; }
.button span,
.button:after {
	-webkit-transition: .2s;
			transition: .2s;
}
.button-blue { background-color: #269fe9; color: #fff; }
.button-green { background-color: #81cec1; border-color: #81cec1; color: #fff; }
.button-more { background: url(images/arrow-right-blue-button.png) no-repeat right center; background-size: 38px 17px; padding-right: 45px; }
.button:hover { text-decoration: none; }
.button:hover span { opacity: 0;
	-webkit-transform: -webkit-translate(0, -50%);
			transform: translate(0, -50%);
}
.button:hover:after { opacity: 1;
	-webkit-transform: -webkit-translate(0, 0);
			transform: translate(0, 0);
}
.button .icon { position: absolute; top: 50%; right: 26px; width: auto; height: auto; line-height: 1; margin-left: 0; 
	-webkit-transform: -webkit-translate(0, -50%);
			transform: translate(0, -50%);
}

a,
.donate,
.button,
.searchsubmit {
	-webkit-transition: opacity .2s;
			transition: opacity .2s;
}

/* =====================================================
	#Icons
====================================================== */

.icon { display: inline-block; background: no-repeat 0 0; background-size: 100% auto; vertical-align: middle; position: relative; top: -1px; }
.icon-phone { background-image: url(images/icon-phone.png); width: 24px; height: 24px; }
.icon-facebook { background-image: url(images/icon-facebook-2.png); width: 26px; height: 26px; }
.icon-twitter { background-image: url(images/icon-twitter.png); width: 28px; height: 23px; }
.icon-youtube { background-image: url(images/icon-youtube.png); width: 30px; height: 21px; }
.icon-instagram { background-image: url(images/icon-instagram.png); width: 26px; height: 26px; }
.icon-linkedin { background-image: url(images/icon-linkedin.png); width: 26px; height: 26px; }
.icon-clock { background-image: url(images/icon-clock.png); width: 23px; height: 23px; }
.icon-mail { background-image: url(images/icon-mail.png); width: 22px; height: 15px; }
.icon-arrow-left-lined { background-image: url(images/arrow-left-lined.png); width: 27px; height: 27px; }
.icon-arrow-bottom-lined { background-image: url(images/arrow-down-lined.png); width: 27px; height: 27px; }

/* =========================================================================
	#Reset GForm
========================================================================= */
.gform_wrapper form li.gfield.gfield_error.gfield_contains_required div.ginput_container,
.gform_wrapper form .top_label .gfield_error .ginput_container,
.gform_wrapper form li.gfield_html,
div.gform_wrapper { max-width: 100%; }

.gform_wrapper form .gform_footer { padding: 0; margin: 0; clear: none; }

div.gform_wrapper,
.gform_wrapper form .top_label .gfield_label { margin: 0; }

.gform_wrapper form .top_label .gfield_error input.large,
.gform_wrapper form .top_label .gfield_error select.large,
.gform_wrapper form .top_label .gfield_error textarea.textarea,
.gform_wrapper form .gform_heading,
.gform_wrapper form .top_label .gfield_error,
.gform_wrapper form .top_label input.large,
.gform_wrapper form .top_label select.large,
.gform_wrapper form .top_label textarea.textarea { width: 100%; }

.gform_wrapper form .gform_heading,
.gform_wrapper form div.validation_error { margin-bottom: 0; }
.gform_wrapper form li.gfield.gfield_error.gfield_contains_required { padding-left: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; }

.gform_wrapper form li.gfield.gfield_error,
.gform_wrapper form li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning { border-width: 0; padding: 0 !important; margin-bottom: 0 !important; background: transparent; }
html body .gform_wrapper label.gfield_label + div.ginput_container,
.gform_wrapper form .gfield_html.gfield_no_follows_desc,
.gform_wrapper form li.gfield.gfield_error.gfield_contains_required label.gfield_label,
.gform_wrapper form li.gfield.gfield_error.gfield_contains_required div.ginput_container,
.gform_wrapper form .ginput_container + .gfield_description.validation_message { margin-top: 0; }
.gform_wrapper form .top_label .gfield_description.validation_message,
.gform_wrapper form .gfield_description.validation_message { padding: 0 !important; }

.gform_wrapper form li.gfield.gfield_error.gfield_contains_required div.ginput_container,
.gform_wrapper form li.gfield.gfield_error.gfield_contains_required div.gfield_description,
.gform_wrapper form li.gfield.gfield_error.gfield_contains_required label.gfield_label,
.gform_wrapper form li.gfield.gfield_error.gfield_contains_required fieldset legend.gfield_label { margin-left: 0; }

.gform_wrapper form div.validation_error { display: none; }

/* =====================================================
	#Forms
====================================================== */

.gform_heading { display: none; }
.gform_fields { list-style: none outside none; }
.gform_fields:before,
.gform_fields:after { content: " "; display: table; }
.gform_fields:after { clear: both; }

.gfield { position: relative; margin-bottom: 10px; }
.gfield:before,
.gfield:after { content: " "; display: table; }
.gfield:after { clear: both; }
.gfield_label { display: none; color: #269fe9; font-weight: 900; }
.gfield input[type="tel"],
.gfield input[type="text"],
.gfield input[type="email"],
.gfield input[type="password"],
.gfield textarea { display: block; background-color: #f3f3f3; border: 3px solid #f3f3f3; border-radius: 25px; height: 50px; width: 100%; padding: 0 23px; font-weight: 900; color: #acacac; }
.gfield textarea { height: 290px; padding: 13px 23px; }
.gform_footer .button { background: #c5e8fd url(images/arrow-right-blue-button.png) no-repeat right center; background-size: 38px 17px; border-color: #c5e8fd; width: 100%; height: 50px; padding: 2px 23px 0; text-align: left; }

.gfield ::-webkit-input-placeholder { color: #acacac; }
.gfield :-moz-placeholder { color: #acacac; }
.gfield ::-moz-placeholder { color: #acacac; }
.gfield :-ms-input-placeholder { color: #acacac; }

/* selecter */
.selecter-element { position: absolute; opacity: 0; }
.selecter { display: block; position: relative; z-index: 1; }
.selecter .selecter-selected { background: #f3f3f3; border-radius: 25px; padding: 12px 40px 10px 23px; border: 3px solid #f3f3f3; position: relative; z-index: 49; }
.selecter .selecter-selected:after { content: ''; background: url(images/arrow-down-grey.png) no-repeat 0 0; background-size: cover; width: 11px; height: 14px; position: absolute; top: 50%; right: 20px; margin-top: -7px; }
.selecter .selecter-options { display: block !important; background-color: #fefefe; border-top: 1px solid #e3e3e3; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15); border-radius: 0 0 25px 25px; left: 0; margin: 0; max-height: 260px; overflow: auto; overflow-x: hidden; padding: 0; position: absolute; top: 100%; left: 0; right: 0; z-index: -1; opacity: 0; visibility: hidden;
	-webkit-transform: -webkit-translate(0, -25px);
			transform: translate(0, -25px);
}
.selecter .selecter-item { background: #f3f3f3; border-bottom: 1px solid #e3e3e3; padding: 12px 23px 11px; }
.selecter .selecter-selected,
.selecter .selecter-item { cursor: pointer; display: block; font-size: 16px; line-height: 1.38; overflow: hidden; margin: 0; white-space: nowrap; text-overflow: ellipsis; color: #666; font-weight: bold; color: #acacac; }
.selecter .selecter-item.selected { background: #ddd; }
.selecter .selecter-item.last { border-bottom: 0; border-radius: 0 0 25px 25px; padding-bottom: 12px; }
.selecter.open .selecter-selected { border-radius: 25px 25px 0 0; }
.selecter.open .selecter-selected:after {
	-webkit-transform: -webkit-rotate(180deg);
			transform: rotate(180deg);
}
.selecter.open .selecter-options { opacity: 1; visibility: visible; z-index: 50;
	-webkit-transform: -webkit-translate(0, 0);
			transform: translate(0, 0);
}

.selecter .selecter-selected,
.selecter .selecter-selected:after,
.selecter .selecter-options {
	-webkit-transition: .3s;
			transition: .3s;
}

/* =========================================================================
	#Visual Composer
========================================================================= */
html .wpb_video_widget .wpb_wrapper .wpb_video_wrapper { padding-top: 64.6%; margin-bottom: 41px; }
.page-title.wpb_row { margin-bottom: 0; }
.entry .wpb_text_column a { text-decoration: none; }
.entry .wpb_text_column a:hover { text-decoration: underline; }

.wpb_video_wrapper { position: relative; z-index: 0; }
.wpb_video_widget { position: relative; }
.wpb_video_widget:before,
.wpb_video_widget:after,
.wpb_video_wrapper:before,
.wpb_video_wrapper:after { content: ''; position: absolute; width: 10px; height: 10px; z-index: 1; }
.wpb_video_widget:before { top: 0; left: 0; border-top-left-radius: 10px; box-shadow: -10px -10px 0 10px #fff; }
.wpb_video_widget:after { top: 0; right: 0; border-top-right-radius: 10px; box-shadow: 10px -10px 0 10px #fff; }
.wpb_video_wrapper:before { bottom: 0; left: 0; border-bottom-left-radius: 10px; box-shadow: -10px 10px 0 10px #fff; }
.wpb_video_wrapper:after { bottom: 0; right: 0; border-bottom-right-radius: 10px; box-shadow: 10px 10px 0 10px #fff; }

.column-with-images > .wpb_wrapper { max-width: 165px; }
.column-with-images .wpb_single_image { margin-bottom: 20px; }
.post .vc_single_image-wrapper img { margin-bottom: 0; }

.cols-container .vc_separator.vc_separator_align_center h4 { padding: 0 30px; }
.cols-container .vc_separator h4 { font-size: 22px; }


@media screen and (min-width: 740px) {
	.selecter .selecter-item:hover, 
	.selecter .selecter-item.selected:hover { background-color: #ddd; }
	
	.selecter.disabled .selecter-item:hover { background: #fff; }
}

/* Open */
.selecter.open { z-index: 3; }
.selecter.open .selecter-selected { z-index: 51; }

/* contact-form_wrapper */

.contact-form_wrapper .gform_wrapper .gfield_error .gfield_label,
.contact-form_wrapper form .top_label .gfield-select .gfield_label,
.contact-form_wrapper .gfield-method label { display: block; float: left; width: 135px; margin-top: 15px; color: #269fe9; }
.contact-form_wrapper .gfield-method .ginput_container { float: right; width: calc(100% - 135px); width: -webkit-calc(100% - 135px); }

.contact-form_wrapper form .top_label .gfield_label { display: none; }
.contact-form_wrapper form input[type="email"],
.contact-form_wrapper form input[type="number"],
.contact-form_wrapper form input[type="password"],
.contact-form_wrapper form input[type="tel"],
.contact-form_wrapper form input[type="text"],
.contact-form_wrapper form input[type="url"] { padding: 0 19px; }
.contact-form_wrapper form textarea.large { height: 290px; padding: 13px 23px; }

.contact-form_wrapper form .gform_footer { padding-top: 10px; }
.contact-form_wrapper .gform_ajax_spinner { position: absolute; bottom: 0; right: -25px; }

/* newsletter */
.page-template-templateshome-php > .vc_row.newsletter { width: auto; }
.page-template-templateshome-php > .vc_row.newsletter .vc_column_container { float: none; max-width: 1140px; margin: 0 auto; }
.newsletter { background: url(images/img1.jpg) no-repeat center center; background-size: cover; border: 3px solid #b2efe5; border-width: 3px 0; color: #fff; padding: 48px 0 58px; }
.newsletter h2 { font-size: 37px; margin-bottom: 41px; }
.newsletter h3 { font-size: 32px; line-height: 1.1; margin-bottom: 25px; }
.newsletter h2 em,
.newsletter h3 em { font-weight: 300; font-style: normal; }
.newsletter .gfield input[type="tel"],
.newsletter .gfield input[type="text"],
.newsletter .gfield input[type="email"],
.newsletter .gfield input[type="password"],
.newsletter .gfield textarea,
.newsletter .selecter .selecter-selected { background-color: transparent; border-color: #fff; color: #fff; }

.newsletter .selecter .selecter-selected { font-weight: normal; padding-right: 30px; }
.newsletter .selecter .selecter-selected:after { background-image: url(images/arrow-down-white.png); right: 16px; }
.newsletter .selecter .selecter-item { font-weight: normal; }
.newsletter .selecter-item { background-color: #fff; }
.newsletter .selecter-options { border-top: 0; }

.newsletter .button { background-color: #fff; border-color: #fff; }

.newsletter-horizontal .gfield:last-child input { padding-right: 50px; }
.newsletter-horizontal .gform_wrapper { position: relative; }
.newsletter-horizontal .gform_fields { margin-left: -2.5%; }
.newsletter-form_wrapper form ul.top_label li.gfield.gfield_error,
.newsletter-form_wrapper form ul li.gfield,
.newsletter-horizontal .gfield { float: left; width: 22.5%; margin-left: 2.5% !important; clear: none; }
.newsletter-form_wrapper form .gform_footer .button,
.newsletter-form_wrapper form .gform_footer input.button,
.newsletter-form_wrapper form .gform_footer input[type=submit] { background: #fff url(images/arrow-right-green-button.png) no-repeat right center; background-size: 30px 14px; padding: 0; width: 41px; height: 44px; border-radius: 0 25px 25px 0; position: absolute; top: 19px; right: 17px; font-size: 0; line-height: 0; }

.newsletter ::-webkit-input-placeholder { color: #fff; }
.newsletter :-moz-placeholder { color: #fff; }
.newsletter ::-moz-placeholder { color: #fff; }
.newsletter :-ms-input-placeholder { color: #fff; }

.newsletter-form_wrapper form .top_label .gfield_label { display: none; }
.newsletter-form_wrapper form input[type=email],
.newsletter-form_wrapper form input[type=number],
.newsletter-form_wrapper form input[type=password],
.newsletter-form_wrapper form input[type=tel],
.newsletter-form_wrapper form input[type=text],
.newsletter-form_wrapper form input[type=url] { padding-right: 20px; padding-left: 20px; }

.newsletter-form_wrapper form li.gfield_error input[type=email],
.newsletter-form_wrapper form li.gfield_error input[type=number],
.newsletter-form_wrapper form li.gfield_error input[type=password],
.newsletter-form_wrapper form li.gfield_error input[type=tel],
.newsletter-form_wrapper form li.gfield_error input[type=text],
.newsletter-form_wrapper form li.gfield_error input[type=url],
.newsletter-form_wrapper form li.gfield_error textarea { border-width: 3px; }
.newsletter-form_wrapper .gform_ajax_spinner { position: absolute; top: 30%; right: -25px; }

/* Popup */
.popup .newsletter { background: transparent; border: 3px solid #269fe9; border-radius: 15px; padding: 28px 30px 35px;
	-webkit-box-sizing: border-box;
			box-sizing: border-box;
}
.popup .newsletter-form_wrapper form ul.top_label li.gfield.gfield_error,
.popup .newsletter-form_wrapper form ul li.gfield, .newsletter-horizontal .gfield { float: none; width: 100%; margin-left: 0 !important; clear: both; }

.popup .newsletter-form_wrapper form .gform_footer .button,
.popup .newsletter-form_wrapper form .gform_footer input.button,
.popup .newsletter-form_wrapper form .gform_footer input[type=submit] { position: relative; width: 100%; height: 50px; padding: 2px 23px 0; border-radius: 50px; background: #fff url(images/arrow-right-blue-button.png) no-repeat right center; background-size: 38px 17px; font-size: 16px; line-height: 1.38; }
.popup .newsletter-form_wrapper form .gform_footer { position: relative; }
.popup .newsletter-form_wrapper .gform_ajax_spinner { top: 50%; margin-top: -8px; }


/* searchform */
.searchform { display: table-cell; width: 270px; vertical-align: middle; }
.searchform > div { position: relative; }
.searchform label { display: none; }
.searchfield { background-color: #f3f3f3; border: 0; border-radius: 30px; width: 100%; height: 45px; padding: 0 50px 0 20px; color: #a1a1a1; font-weight: normal; }
.searchsubmit { background: url(images/icon-search.png) no-repeat 10px center; background-size: 20px 20px; border: 0; border-radius: 0 30px 30px 0; width: 50px; height: 45px; position: absolute; top: 0; right: 0; z-index: 1; cursor: pointer; }
.searchsubmit:hover { opacity: .7; }

/* =====================================================
	#Header
====================================================== */

.utilities { background-color: #269fe9; color: #fff; font-size: 14px; line-height: 50px; }
.utilities a { color: #fff; font-weight:300; }

.utility-nav { float: right; }
.utility-nav ul { list-style: none outside none; overflow: hidden; }
.utility-nav li { float: left; }
.utility-nav li + li { margin-left: 43px; }

.donate { float: right; background-color: #81cec1; font-size: 16px; font-weight: 900; padding: 0 24px; margin-left: 44px; }
.donate:hover { opacity: .8; }
.donate:hover a { text-decoration: none; }

.phone { float: left; }
.phone a { font-weight: bold; font-size:20px; }
.phone img {display: inline;}
.phone img,
.phone .icon { margin-right: 9px; }

.header { border-bottom: 3px solid #f3f3f3; position: relative; z-index: 3; }
.header .shell { display: table; padding: 6px 0; }

.home .header { border-bottom: 0; }

.logo-container { display: table-cell; vertical-align: middle; width: 167px; padding-right: 20px; position: relative; z-index: 2; }
.logo a { display: block; background: url(images/logo.png) no-repeat 0 0; background-size: cover; height: 61px; white-space: nowrap; text-indent: -4000px; overflow: hidden; }

.nav-btn { display: none; float: right; background-color: #269fe9; width: 26px; padding: 10px; margin: 3px 0 10px; position: relative; z-index: 2; }
.nav-btn span { display: block; background-color: #fff; height: 4px; }
.nav-btn span + span { margin-top: 4px; }

.nav { float: left; display: table-cell; vertical-align: middle; font-size: 16px; word-spacing: 1px; }
.nav ul { float: left; list-style: none outside none; }
.nav li { float: left; position: relative; margin-right: 56px; }
.nav a { display: block; padding: 34px 0 32px; color: #0066a4;
	-webkit-transition: .2s;
			transition: .2s;
}
.nav .menu > li > a { position: relative; }
.nav .menu > li:hover > a:before,
.nav .menu > li.current-menu-item > a:before,
.nav .menu > li.current-page-ancestor > a:before { content: ''; position: absolute; top: 67%; right: 0; left: 0; display: block; height: 3px; background: #0066a4;
	-webkit-transition: .2s;
			transition: .2s;
}
.nav li:hover > a,
.nav .current-menu-item > a,
.nav .current-page-ancestor > a,
.nav .menu-item-has-children > a { text-decoration: none; }
.nav li:hover > a,
.nav .current-menu-item > a,
.nav .current-page-ancestor > a,
.nav .menu-item-has-children > a { border-bottom-color: #0066a4; }

.nav li:hover > ul { opacity: 1; visibility: visible; }
.nav ul ul { background-color: #fff; float: none; position: absolute; top: 100%; left: 0; width: 250px; opacity: 0; visibility: hidden;
	-webkit-transition: .5s;
			transition: .5s;
}
.nav ul ul li { float: none; margin-right: 0; }
.nav ul ul span { display: inline-block; padding: 0; border: 0; }
.nav ul ul a { padding: 10px 20px; }
.nav ul ul li:hover > a,
.nav ul ul .current-menu-item > a,
.nav ul ul .current-page-ancestor > a,
.nav ul ul .menu-item-has-children > a { background-color: #eee; }
.nav ul ul ul { top: 0; left: 100%; }

.nav .contact-us > a:after { content: ''; position: absolute; top: 50%; display: inline-block; width: 37px; height: 49px; margin: -24px 0 0 19px; }

.nav-icon { display: none; }

/* =====================================================
	#Slider
====================================================== */

.slider { position: relative; overflow: hidden; }
.slider:before { content: ''; background: #fff url(images/loading.gif) no-repeat center center; border: 1px solid #ccc; border-width: 1px 0; background-size: 50px 50px; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1;
	-webkit-transition: .2s;
			transition: .2s;
}
.slides { list-style: none outside none; }
.slide { position: relative; overflow: hidden; }
.slide .background,
.slide .slide-text { float: left; }
.slide .background { width: 50%; height: 420px; background: no-repeat center center; background-size: cover; }
.slide .background.right { float: right; }
.slide-text { background: url(images/stars.jpg) no-repeat center center; background-size: cover; width: 50%; height: 420px; position: relative; color: #fff; font-size: 20px; }
.slide-text h3 { font-size: 51px; color: #81cec1; font-weight: 300; margin-bottom: 13px; }
.slide-text-inner { width: 535px; position: absolute; bottom: 98px; }
.slide-text .slide-text-inner { left: 35px; }
.background.right ~ .slide-text .slide-text-inner { right: 35px; left: auto; }

.page-loaded .slider:before { opacity: 0; visibility: hidden; }

.bx-viewport {
	-webkit-transform: -webkit-translateZ(0);
			transform: translateZ(0);
}

.bx-pager { list-style: none outside none; position: absolute; bottom: 44px; left: 50%; margin-left: 35px; font-size: 0; line-height: 0; }
.bx-pager-item { display: inline-block; margin-right: 17px; }
.bx-pager-link { display: inline-block; background-color: transparent; border: 3px solid #fff; border-radius: 50%; width: 8px; height: 8px;
	-webkit-transition: .2s;
			transition: .2s;
}
.bx-pager-link:hover { background-color: #fff; }
.bx-pager-link.active { background-color: #81cec1; border-color: #b2efe5; }

/* =====================================================
	#Main
====================================================== */

.cols-container { padding: 49px 0; }
.cols-container h4 { font-weight: normal; color: #81cec1; text-align: center; position: relative; margin-bottom: 43px; }

.cols { margin-left: -2.5%; }
.cols .wpb_content_element { margin-bottom: 32px; }
.col { float: left; width: 22.5%; margin-bottom: 8px; font-size: 15px; line-height: 1.3; }
.col h3 { margin-bottom: 31px; }
.col h3 a { color: #0066a4; }
.col p { margin-bottom: 32px; }
.col .button-more { display: block; }

.boxes-container { background-color: #f3f3f3; padding: 65px 0 146px; }
.boxes { margin-left: -2.5%; position: relative; z-index: 2; }
.boxes .box { float: left; width: 47.5%; margin-left: 2.5%; }

.box { background-color: #fff; border: 1px solid #269fe9; border-radius: 5px; padding: 18px 8px 5px 14px;
	-webkit-box-sizing: border-box;
			box-sizing: border-box;
}
.box-head { border-bottom: 1px solid #269fe9; position: relative; padding: 0 100px 12px 0; margin: 0 21px 2px 0; }
.box-head h3 { color: #0066a4; }
.box-head a { background: url(images/arrow-right-blue.png) no-repeat right center; background-size: 13px 12px; padding-right: 23px; position: absolute; top: 10px; right: 0; }
.box-head a:hover { text-decoration: none; opacity: .6; }
.box-body { position: relative; }
.box-body:before { content: ''; background: #fff url(images/loading.gif) no-repeat center center; background-size: 40px 40px; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1;
	-webkit-transition: .2s;
			transition: .2s;
}
.box-body-inner { height: 332px; overflow: auto; }

.page-loaded .box-body:before { opacity: 0; visibility: hidden; }

.box-link { display: block; font-size: 15px; padding: 19px 0; position: relative; }
.box-link:after { content: ''; background: url(images/arrow-right-grey.png) no-repeat 0 0; background-size: 100%; width: 13px; height: 11px; position: absolute; bottom: 15px; right: 0; opacity: .5; }
.box-link:hover { text-decoration: none; opacity: .7; }
.box-link + .box-link { border-top: 1px solid #ebebeb; }
.box-link-title { display: block; margin-bottom: 5px; }
.box-link-text { display: block; color: #707070; margin-bottom: 8px; }
.box-link-date { display: block; color: #c2c2c2; }

/* jscrollpane */
.jspContainer { overflow: hidden; position: relative; }
.jspPane { position: absolute; }
.jspVerticalBar { position: absolute; top: 0; right: 0; width: 8px; height: 100%; }
.jspHorizontalBar { position: absolute; bottom: 0; left: 0; width: 100%; height: 8px; }
.jspVerticalBar *,
.jspHorizontalBar * { margin: 0; padding: 0; } 

.jspCap { display: none; }
.jspHorizontalBar .jspCap { float: left; }
.jspTrack { position: relative; }
.jspDrag { background: #ccc; position: relative; top: 0; left: 0; cursor: pointer; border-radius: 4px; }
.jspHorizontalBar .jspTrack,
.jspHorizontalBar .jspDrag { float: left; height: 100%; }
.jspArrow { background: #50506d; text-indent: -20000px; display: block; cursor: pointer; }
.jspArrow.jspDisabled { cursor: default; background: #80808d; }
.jspVerticalBar .jspArrow { height: 8px; }
.jspHorizontalBar .jspArrow { width: 8px; float: left; height: 100%; }
.jspVerticalBar .jspArrow:focus { outline: none; }
.jspCorner { background: #eeeef4; float: left; height: 100%; }

/* Category Events*/
.category-events dl { overflow: hidden; }
.category-events dt,
.category-events dd { float: left; }
.category-events dt { margin-right: 3px; }
.category-events dd ~ dt { margin-left: 15px; }

/* =====================================================
	#Footer
====================================================== */

.home .footer { margin-top: 0; }

.footer { position: relative; background-color: #0066a4; margin-top: 229px; z-index: 1; color: #98d5fa; font-size: 20px; padding: 50px 0; font-weight: 300; }
.footer:before { content: ''; background: url(images/footer.png) repeat-x center 0; background-size: auto 100%; height: 230px; position: absolute; bottom: 100%; left: 0; right: 0; }

.footer-menu ul { list-style: none outside none; }
.footer-menu li { display: inline-block; }
.footer-content .footer-menu a { color: #fff; font-weight: 900; }
.footer-menu a:hover { text-decoration: none; opacity: .7; }

.footer-phones a { color: #98d5fa; }
.footer-phones a:hover { text-decoration: none; opacity: .6; }

.footer-content { float: left; max-width: 60%; }
.footer-content a { color: #98d5fa; }
.footer-content a:hover { text-decoration: none; opacity: .6; }
.footer-content em,
.footer-content span { margin: 0 10px; font-style: normal; }
.footer-content .socials { margin-top: 37px; }

.socials ul { list-style: none outside none; font-size: 0; line-height: 0; }
.socials li { display: inline-block; vertical-align: middle; }
.socials a { display: block; margin-right: 20px; }
.socials a:hover { opacity: .6; }

.footer-logos { float: right; max-width: 30%; text-align: right; }
.footer-logo a { display: inline-block; }
.footer-logo a:hover { opacity: .8; }
.footer-logo + .footer-logo { margin-top: 25px; }

/* =====================================================
	#Inner Pages
====================================================== */

.main { position: relative; z-index: 2; padding-bottom: 70px; }
.main .shell { position: relative; }

.title { background: url(images/img2.jpg) no-repeat center bottom; background-size: cover; color: #b2efe5; padding: 37px 0; margin-bottom: 59px; }
.title h2 { font-weight: 300; margin-left: 23%; border-left: 3px solid #b2efe5; padding: 32px 0 31px 0; padding-left: calc(3% - 3px); padding-left: -webkit-calc(3% - 3px); }
.title h2 span { color: #fff; }

/* content */
.content { width: 74%; }
.content.fullwidth { width: 100%; }
.post-single { border: 3px solid #269fe9; border-width: 3px 0; padding: 50px 0 70px; margin: 30px 0; }
.post-title { line-height: 1.35; font-weight: 900; }

.post h1,
.post h2,
.post h3,
.post h4,
.post h5,
.post h6 { margin-bottom: 26px; line-height: 1.18; color: #269fe9; }

.post p,
.post ul,
.post ol { margin-bottom: 22px; }

.post ul,
.post ol { padding-left: 20px; } 

.post ul ul,
.post ul ol,
.post ol ol,
.post ol ul { padding-left: 25px; margin-bottom: 0; }

.post img { margin-bottom: 20px; max-width: 100%; height: auto; }

.post .alignleft { margin: 0 30px 15px 0; }
.post .alignright { margin: 0 0 15px 30px; }

.post .entry-meta { padding-left: 0; text-transform: uppercase; margin-bottom: 5px; }
.post .entry-title { margin-bottom: 0; }

.post .entry-title { color: #0066a4; font-weight: 300; margin-bottom: 1px; }
.post .entry-title a { color: #0066a4; }
.post .entry-title a:hover { text-decoration: none; opacity: .6; }

.posts { border-bottom: 3px solid #269fe9; padding-bottom: 45px; margin-bottom: 34px; }
.posts .post { display: table; border: 3px solid #f3f3f3; border-width: 0 0 3px; padding: 0; margin: 0; width: 100%; height: 121px; }
.posts .post:first-child { border-top: 3px solid #f3f3f3; }
.posts .entry { border: 0; }
.posts .entry-title { margin-bottom: 4px; }
.posts .entry-meta { margin-bottom: 0; }

.post .post-title { margin-bottom: 54px; }

.post-inner { display: table-cell; vertical-align: middle; padding: 18px 0; }
.post-calendar-container { display: table-cell; vertical-align: middle; width: 96px; padding: 18px 0; }
.post-calendar { display: block; background-color: #269fe9; border-radius: 5px; color: #fff; text-align: center; width: 66px; padding: 0 9px; font-size: 12px; font-weight: bold;
	-webkit-box-sizing: border-box;
			box-sizing: border-box;
}
.post-calendar:hover { text-decoration: none; opacity: .8; }
.post-month { display: block; background-color: #0066a4; border-radius: 5px 5px 0 0; margin: 0 -9px; padding: 4px 9px 3px; }
.post-date { display: block; font-size: 31px; font-weight: normal; border-bottom: 1px solid #0066a4; }
.post-day { display: block; padding: 2px 0; }

.button-load a { padding-bottom: 44px; background: url(images/arrow-down-lined.png) no-repeat center bottom; background-size: 27px 27px; }

.entry h1,
.entry h2,
.entry h3,
.entry h4,
.entry h5,
.entry h6 { font-weight: 300; }

.entry a { color: #269fe9; text-decoration: underline; }
.entry a:hover { text-decoration: none; }

.entry-meta { list-style: none outside none; font-size: 12px; color: #acacac; }
.entry-meta a { font-size: 17px; font-weight: bold; }
.entry-meta a:hover { text-decoration: none; opacity: .7; }
.entry-meta li { display: inline; }

.navigation { overflow: hidden; }

/* Comments */
.comments h3 { padding-bottom: 20px; }
.comments li { list-style: none outside none; }
.comments li.comment { padding: 0 0 0 30px; margin: 0 0 20px 30px; border-left: 2px solid #269fe9; position: relative; }
.comments li .comment-author img { position: absolute; left: -26px; top: 20px; border-radius: 50%; }
.comments ul.children { padding-top: 20px; }
.comments .comment-reply { text-align: right; }
.comments form p { padding-bottom: 12px; }
.comments label { display: block; padding-bottom: 4px; }
.comments input,
.comments textarea { padding: 5px 10px; border-radius: 5px; border: 1px solid #269fe9; width: 100%; }
.comments textarea { resize: none; height: 120px; }
.comments input,
.comments textarea {
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
		-ms-box-sizing: border-box;
		 -o-box-sizing: border-box;
			box-sizing: border-box; 	
}
.comments p.form-submit { padding-top: 20px; }
.comments p.form-submit button,
.comments p.form-submit input { height: 30px; padding: 0 15px; border-width: 0; border-radius: 25px; background: #269fe9; color: #fff; cursor: pointer; }
.comments p.form-submit button,
.comments p.form-submit input {
	-webkit-appearance: none;
	   -moz-appearance: none;
		-ms-appearance: none;
		 -o-appearance: none;
			appearance: none;
}

.note { border-left: 3px solid #269fe9; padding-left: 10px; color: #269fe9; font-size: 24px; line-height: 1.05; font-weight: 300; letter-spacing: -1.3px; }
.note strong { color: #0066a4; }
.note p { margin-bottom: 0; }
.note.alignleft,
.note.alignright { width: 250px; }

.images { width: 165px; }
.images img { width: 100%; height: auto; margin-bottom: 20px; }
a.button-gallery,
.images a { display: block; background-color: #269fe9; color: #fff; font-weight: 300; text-align: center; text-decoration: none; padding: 20px 10px; }
a.button-gallery:hover,
.images a:hover { opacity: .7; }

.gallery-images { display: none; }

.button-container { text-align: center; margin: 13px 0; }
.button-back .icon { margin-right: 9px; }

.button-load a,
.button-down { display: inline-block; }
.button-down .icon { display: block; margin: 18px auto 0; }
.button-load a:hover,
.button-back:hover,
.button-down:hover { text-decoration: none; opacity: .7; }

/* sort */
.sort { font-size: 20px; font-weight: 300; color: #acacac; margin: 9px 0 26px; }
.sort span { float: left; margin-right: 23px; padding: 3px 0 2px; }
.sort ul { float: left; list-style: none outside none; }
.sort li { display: inline-block; margin-right: 2px; }
.sort a { display: block; padding: 3px 16px 2px; border-radius: 32px; }
.sort a:hover { text-decoration: none; opacity: .7; }
.sort .current a { background-color: #269fe9; font-weight: bold; color: #fff; }

/* questions */
.question { color: #0066a4; padding: 23px 0; }
.question td { vertical-align: top; }
.question td:first-child { font-size: 26px; color: #acacac; font-weight: 300; width: 165px; padding-right: 27px; line-height: 1; }

.vc_separator_no_text .vc_sep_holder { padding: 30px 0 22px; }

.vc_row { margin: 0 -15px; }
.vc_row:before,
.vc_row:after { content: " "; display: table; }
.vc_row:after { clear: both; }
.vc_col-sm-4 { float: left; width: 33.33%; }
.vc_col-sm-6 { float: left; width: 50%; }
.vc_col-sm-8 { float: left; width: 66.66%; }
.wpb_column { padding: 0 15px;
	-webkit-box-sizing: border-box;
			box-sizing: border-box;
}

/* team */
.team { color: #acacac; }
.team p { margin-bottom: 17px; }
.team h5 { color: #269fe9; font-weight: 300; margin-bottom: 22px; line-height: 1.38; }
.team-inner h5 { font-weight: bold; color: #0066a4; margin-bottom: 0; }

/* contacts */
.contacts { margin-bottom: 76px; }
.contacts h2 { color: #269fe9; margin-bottom: 20px; font-weight: 900; }
.contacts-box.wpb_row { margin-top: 10px; margin-bottom: 70px; }

.contacts-text { padding: 29px 0 0; font-weight: bold; font-size: 18px; letter-spacing: -1px; line-height: 1.2; }
.contacts-text ~ .contacts-text { margin-top: 11px; }
.contacts-text h3 { font-weight: 300; letter-spacing: -1px; line-height: 1.1; margin-bottom: 30px; color: #707070; }
.contacts-text p { border-left: 3px solid #f3f3f3; padding-left: 13px; margin-bottom: 40px; }
.contacts-text p:last-child { margin-bottom: 0; }
.contacts-text span { font-weight: 300; }
.contacts-text a { color: #707070; text-decoration: none; }
.contacts-text a:hover { text-decoration: underline; }

.contact-image { margin-right: -4px; }
.image img { width: 100%; height: auto; }

.video { padding-bottom: 65%; height: 0; position: relative; border-radius: 9px; overflow: hidden; cursor: pointer; }
.video img { z-index: 1; }
.video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 13px; z-index: 0; }
.video:hover:before { opacity: .8; }
.video:before { content: ''; background: url(images/play.png) no-repeat 0 0; background-size: 100% 100%; position: absolute; top: 50%; left: 50%; width: 136px; height: 136px; z-index: 2;
	-webkit-transform: -webkit-translate(-50%, -50%);
			transform: translate(-50%, -50%);
}
.video img,
.video:before {
	-webkit-transition: opacity .2s, visibility .2s;
			transition: opacity .2s, visibility .2s;
}

.video-playing img { opacity: 0; visibility: hidden; }
.video-playing:before { opacity: 0; visibility: hidden; }
.video-playing:hover:before { opacity: 0; }

.corner { background: url(images/rounds.png) no-repeat 0 0; background-size: 20px 20px; width: 10px; height: 10px; position: absolute; z-index: 3; }
.corner-top-left { background-position: 0 0; top: 0; left: 0; }
.corner-top-right { background-position: right 0; top: 0; right: 0; }
.corner-bottom-left { background-position: 0 bottom; bottom: 0; left: 0; }
.corner-bottom-right { background-position: right bottom; bottom: 0; right: 0; }

/* testimonials */
.testimonials { position: relative; }
.testimonials .bx-pager { position: static; margin: -2px 0 0; }
.testimonials .bx-pager-item { margin: 0 10px 0 0; }
.testimonials .bx-pager-link { border-color: #c2c2c1; border-width: 2px; width: 7px; height: 7px; }
.testimonials .bx-pager-link.active { border-color: #b2efe5; }
.testimonials h5 { color: #acacac; font-weight: 300; margin-bottom: 27px; }
.testimonial { color: #81cec1; font-weight: bold; }

/* quote */
.quote { font-size: 24px; color: #269fe9; font-weight: 300; line-height: 1.1; border: 3px solid #f3f3f3; border-width: 3px 0; padding: 30px 0; margin: 30px 0 73px; }
.quote strong { color: #acacac; font-size: 18px; }
.wpb_column > .wpb_wrapper > .quote:last-child { margin-bottom: 38px; }

/* phones */
.phones { border-left: 3px solid #f3f3f3; padding-left: 13px; }
.phones ul { list-style: none outside none; padding-left: 0; margin-bottom: 20px; }
.phones ul:last-child { margin-bottom: 0; }
.phones { color: #0066a4; }
.phones a { color: #0066a4; text-decoration: none; }
.phones a:hover { text-decoration: underline; }

/* sidebar */
.sidebar { width: 262px; }
.sidebar.fixed { position: fixed; top: 59px; }
.sidebar.fixed.left { left: 50%; margin-left: -570px; }
.sidebar.fixed.right { right: 50%; margin-right: -570px; }
.sidebar.absolute { position: absolute; top: auto; bottom: 0; }
.sidebar.absolute.left { left: 0; margin: 0; }
.sidebar.absolute.right { right: 0; margin: 0; }
.widgets { list-style: none outside none; }
.widget { margin-bottom: 70px; }
.widget ul { list-style: none outside none; }
.widget:last-child { margin-bottom: 0; }

.widget_nav_menu { font-size: 16px; line-height: 1.38; font-weight: 400; }
.widget_nav_menu ul { list-style: none outside none; }
.widget_nav_menu li { margin-bottom: 10px; }
.widget_nav_menu a { display: block; border: 3px solid #acacac; border-radius: 50px; padding: 11px 42px 11px 23px; color: #acacac; position: relative; letter-spacing: 0px; }
.widget_nav_menu a:after { content: ''; background: url(images/arrow-right-grey.png) no-repeat 0 0; background-size: cover; width: 21px; height: 17px; position: absolute; top: 50%; right: 17px;
	-webkit-transform: -webkit-translate(0, -50%);
			transform: translate(0, -50%);
}
.widget_nav_menu .current_page_parent a,
.widget_nav_menu .current_page_item a,
.widget_nav_menu .current-menu-item a { border-color: #269fe9; color: #269fe9; }
.widget_nav_menu .current_page_parent a:after,
.widget_nav_menu .current_page_item a:after,
.widget_nav_menu .current-menu-item a:after { background-image: url(images/arrow-right-blue.png); }

.widget_nav_menu a:before { content: attr(data-text); width: 100%; height: 100%; padding: 11px 23px; position: absolute; top: 0; left: 0; opacity: 0;
	-webkit-box-sizing: border-box;
			box-sizing: border-box;
	-webkit-transform: -webkit-translate(0, 50%);
			transform: translate(0, 50%);
}
.widget_nav_menu a span { display: block; }
.widget_nav_menu a span,
.widget_nav_menu a:before {
	-webkit-transition: .2s;
			transition: .2s;
}
.widget_nav_menu a:hover { text-decoration: none; }
.widget_nav_menu a:hover span { opacity: 0;
	-webkit-transform: -webkit-translate(0, -50%);
			transform: translate(0, -50%);
}
.widget_nav_menu a:hover:before { opacity: 1;
	-webkit-transform: -webkit-translate(0, 0);
			transform: translate(0, 0);
}
.widget_nav_menu a .icon { position: absolute; top: 50%; right: 23px;
	-webkit-transform: -webkit-translate(0, -50%);
			transform: translate(0, -50%);
}

/* widget_buttons */
.widget_buttons .button { display: block; padding: 14px 53px 14px 26px; border-width: 0; margin-bottom: 10px; background: #269fe9; color: #fff; font-weight:400; }

/* =====================================================
	#Popup
====================================================== */

.popup { display: none; position: relative; }
.popup-newsletter { max-width: 420px; margin: 0 auto; }
.mfp-container .popup { display: block; }

/* Magnific Popup CSS */
.mfp-bg { top: 0; left: 0; width: 100%; height: 100%; z-index: 1042; overflow: hidden; position: fixed; background-color: #0066a4; opacity: 0.85; filter: alpha(opacity=85); }
.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; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.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: #cccccc; position: absolute; top: 50%; width: auto; text-align: center; margin-top: -0.8em; left: 8px; right: 8px; z-index: 1044; } 
.mfp-preloader a { color: #cccccc; } 
.mfp-preloader a:hover { color: white; }

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

.mfp-close { background: url(images/close.png) no-repeat 0 0; background-size: cover; border: 0; width: 29px; height: 29px; font-size: 0; line-height: 0; position: absolute; right: 0; top: -47px; cursor: pointer;
	-webkit-transition: .2s;
			transition: .2s;
}
.mfp-close:hover { opacity: .5; }

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

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

.mfp-arrow { background: transparent; border: 0; position: absolute; opacity: 0.65; filter: alpha(opacity=65); margin: 0; top: 50%; margin-top: -55px; padding: 0; width: 90px; height: 110px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: pointer; z-index: 1050; } 
.mfp-arrow:active { margin-top: -54px; } 
.mfp-arrow:hover, 
.mfp-arrow:focus { opacity: 1; filter: alpha(opacity=100); } 
.mfp-arrow:before, 
.mfp-arrow:after, 
.mfp-arrow .mfp-b, 
.mfp-arrow .mfp-a { 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, 
.mfp-arrow .mfp-a { border-top-width: 13px; border-bottom-width: 13px; top: 8px; } 
.mfp-arrow:before, 
.mfp-arrow .mfp-b { border-top-width: 21px; border-bottom-width: 21px; opacity: 0.7; }

.mfp-arrow-left { left: 0; } 
.mfp-arrow-left:after, 
.mfp-arrow-left .mfp-a { border-right: 17px solid white; margin-left: 31px; } 
.mfp-arrow-left:before, 
.mfp-arrow-left .mfp-b { margin-left: 25px; border-right: 27px solid #3f3f3f; }

.mfp-arrow-right { right: 0; } 
.mfp-arrow-right:after, 
.mfp-arrow-right .mfp-a { border-left: 17px solid white; margin-left: 39px; } 
.mfp-arrow-right:before, 
.mfp-arrow-right .mfp-b { 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-scaler { width: 100%; height: 0; padding-top: 56.25%; position: relative; } 
.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: black; }

/* Main image in popup */
img.mfp-img { width: auto; max-width: 100%; height: auto; display: block; line-height: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; padding: 0; 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: #444444; } 
.mfp-figure small { color: #bdbdbd; display: block; font-size: 12px; line-height: 14px; } 
.mfp-figure figure { margin: 0; }

.mfp-bottom-bar { display: none; 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; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; 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; }
}


@media (max-width: 1160px) {
	.page-template-templateshome-php > .vc_row,
	.shell { width: 100%; padding: 0 20px;
		-webkit-box-sizing: border-box;
				box-sizing: border-box;
	}

	.utilities .shell { padding-right: 0; }

	.nav li { margin-right: 35px; }
	.nav li:last-child { margin-right: 0; }
	.nav ul { background: transparent; }

	.slide-text-inner { width: auto; left: 35px; right: 35px; }

	.newsletter h2 { font-size: 32px; line-height: 1.1; }

	.sidebar { width: 24%; }
	.sidebar.fixed { width: 23%; }
	.sidebar.fixed.left { left: 20px; margin-left: 0; }
	.sidebar.fixed.right { right: 20px; margin-right: 0; }
	.sidebar.absolute.left { left: 20px; }
	.sidebar.absolute.right { right: 20px; }

	.contacts-image { width: 66.66%; }
	.contacts-text { padding-left: 2.2%; }
}

@media (max-width: 1024px) {
	h1 { font-size: 24px; }
	h2 { font-size: 22px; }
	h3 { font-size: 20px; }
	h4 { font-size: 18px; }
	h5 { font-size: 16px; }
	h6 { font-size: 14px; }

	.sidebar { float: none; width: auto; }

	.content { float: none; width: auto; margin-bottom: 50px; }

	.title h2 { margin-left: 0; }

	.header { padding: 10px 0; position: relative; z-index: 3; }
	.header .shell { display: block; padding: 0 10px; }
	
	.logo-container { float: left; display: block; margin-bottom: 15px; }
	.logo { width: 130px; }
	.logo a { height: 47px; }
	
	.nav-btn { display: block; }
	.nav { display: block; background-color: #269fe9; position: absolute; top: 70px; left: 0; right: 0; text-align: center; opacity: 0; visibility: hidden; z-index: 1; }
	.nav.open { opacity: 1; visibility: visible; }
	.nav ul { float: none; }
	.nav li { float: none; border-bottom: 1px solid #fff; margin-right: 0; }
	.nav a { padding: 10px; color: #fff; }
	.nav .current-menu-item > a,
	.nav .menu-item-has-children > a { font-weight: bold; }
	.nav span { padding: 0; border: 0; }

	.nav .open > ul { display: block; }
	.nav ul ul { display: none; background-color: #0066a4; width: auto; position: static; opacity: 1; visibility: visible; font-size: 14px; }
	.nav ul ul li:hover > a,
	.nav ul ul .current-menu-item > a,
	.nav ul ul .menu-item-has-children > a { background-color: #0066a4; }
	.nav ul ul li { border: 1px solid #fff; border-width: 1px 0 0; }

	.nav .contact-us > a:after,
	.nav .menu > li:hover > a:before,
	.nav .menu > li.current-menu-item > a:before,
	.nav .menu > li.current-page-ancestor > a:before { display: none; }

	.nav-icon { position: static; float: right; display: block; margin-right: 20px; }

	.searchform { display: block; clear: both; width: auto; position: relative; z-index: 0; }
}

@media (max-width: 979px) {
	.utility-nav li + li { margin-left: 20px; }
	.donate { margin-left: 20px; }

	.slide-text { font-size: 16px; }
	.slide-text h3 { font-size: 35px; }

	.newsletter h2 { font-size: 24px; }

	.newsletter-horizontal .gform_fields { margin-left: -1%; }
	.newsletter-horizontal .gfield { width: 24%; margin-left: 1%; }

	.question td:first-child { width: 130px; font-size: 22px; }

	.contact-form_wrapper .gfield-method label { display: none; }
	.contact-form_wrapper .gfield-method .ginput_container { float: none; width: auto; }
}

@media (max-width: 767px) {
	.utilities { font-size: 12px; line-height: 40px; }
	.utility-nav li + li { margin-left: 15px; }
	.page-template-templateshome-php > .vc_row,
	.shell { padding: 0 10px; }
	.phone i { display: none; }
	.phone span { display: none; }
	.donate { padding: 0 10px; }
	.donate span { display: none; }

	.slider { background: url(images/stars.jpg) no-repeat 0 0; background-size: cover; }
	.slide .background { width: 100%; height: 300px; }
	.slide-text { float: none; width: auto; height: auto; padding: 20px 10px 35px; font-size: 15px; }
	.slide-text h3 { font-size: 28px; }
	.slide-text-inner { position: static; }
	.bx-pager { bottom: 10px; left: auto; right: 10px; margin: 0; }
	.bx-pager-item { margin: 0 0 0 10px; }

	.cols-container { padding: 40px 0 10px; }
	.cols-container h4 span { padding: 0 10px; }
	.col { float: none; width: auto; margin-bottom: 30px; }
	.col h3 { margin-bottom: 10px; }
	.col p { margin-bottom: 10px; }

	.newsletter-horizontal { padding: 30px 0 35px; }
	.newsletter h2 { margin-bottom: 20px; }
	.newsletter-horizontal .gfield { float: none; width: auto; }
	.newsletter-horizontal .gfield:last-child { margin-bottom: 0; }
	.newsletter-horizontal .button { top: auto; bottom: 0; }

	.boxes-container { padding: 40px 0; }
	.boxes .box { float: none; width: auto; margin-bottom: 30px; }

	.main { padding-bottom: 30px; }
	.content { overflow: hidden; }

	.footer { font-size: 15px; padding: 30px 0; margin-top: 20px; text-align: center; border-top: 40px solid #e8e8e8; }
	.footer:before { display: none; }

	.footer-logos { float: none; text-align: center; max-width: none; }
	.footer-logo + .footer-logo { margin-top: 10px; }
	.footer-logo img { max-width: 100%; height: auto; }

	.footer-content { float: none; max-width: none; margin-bottom: 20px; }
	.footer-content p { margin-bottom: 5px; }
	.footer-content .socials { margin-top: 20px; }

	.title { padding: 20px 0; margin-bottom: 30px; }
	.title h2 { padding: 10px 0 10px 10px; }

	.post-single { padding: 30px 0 20px; }

	.post .alignleft,
	.post .alignright { float: none; margin: 0 0 20px; }
	.note.alignleft,
	.note.alignright { width: auto; }

	.question { padding-top: 15px; margin-top: 30px; }
	.question table,
	.question thead,
	.question tbody,
	.question tr,
	.question th,
	.question td { display: block; }
	.question td:first-child { padding: 20px 0 0; }

	.contact-form_wrapper { padding-left: 0; }
	.contact-form_wrapper .gfield-textarea { position: static; width: auto; }
	.contact-form_wrapper textarea { height: 200px; }

	.widget { margin-bottom: 40px; }

	.vc_col-sm-4,
	.vc_col-sm-6,
	.vc_col-sm-8 { float: none; width: auto; margin-bottom: 30px; }
	.vc_row { margin: 0; }
	.wpb_column { padding: 0; }

	html .vc_custom_1430911284412 { margin-left: 0 !important; }

	html .vc_separator h4 { white-space: normal; }

	.contacts-image { display: block; width: auto; margin-bottom: 30px; }
	.contacts-text { display: block; width: auto; padding-left: 0; }

	.post-calendar-container { width: 75px; }

	.video:before { width: 80px; height: 80px; }

	.quote { font-size: 18px; margin: 0 0 30px; }
	.quote span { font-size: 14px; }

	.newsletter > div > .wpb_wrapper { padding: 30px 0 35px; }
	.newsletter > div > .wpb_wrapper > .wpb_content_element { margin-bottom: 14px; }
	.newsletter-form_wrapper form ul.top_label li.gfield.gfield_error,
	.newsletter-form_wrapper form ul li.gfield, .newsletter-horizontal .gfield { float: none; width: 100%; margin-left: 0 !important; clear: both; }

	.newsletter-form_wrapper form .gform_footer .button,
	.newsletter-form_wrapper form .gform_footer input.button,
	.newsletter-form_wrapper form .gform_footer input[type=submit] { top: auto; bottom: 13px; }

	div.contact-form_wrapper { padding-left: 0; }
	.contact-form_wrapper form .gform_fields .gfield-textarea { position: static; width: 100%; }
	.contact-form_wrapper .gform_wrapper .gfield_error .gfield_label,
	.contact-form_wrapper form .top_label .gfield-select .gfield_label,
	.contact-form_wrapper .gfield-method label { display: none; }
}

@media (max-width: 479px) {
	.slide .background { width: 100%; height: 200px; }
}
.nav .contact-us:before {
    content: '';
    position: absolute;
    top: 50%;
    right: -200px;
    display: inline-block;
    width: 130px;
    height: 49px;
    margin: -20px 0 0 19px;
	/*background: url(/wp-content/uploads/2018/01/35-Years-logo_no-bkgrd.png) no-repeat 0 0;*/
	background-size: contain;
	background: none;
} 
.nav li {
    margin-right: 46px;
}
@media (max-width:1159px) {
    .nav li {
        margin-right: 13px;
    }
}
@media (max-width:1024px) {
    .nav-icon { margin-right: 10px; }
    .nav-icon:after {
        content: '';
        display: inline-block;
        width: 130px;
        height: 49px;
        vertical-align:middle;
       	/*background: url(/wp-content/uploads/2018/01/35-Years-logo_no-bkgrd.png) no-repeat 0 0;*/
		background-size: contain;
		background: none;
    }

    .logo-container {
        width:130px;
    }
}

.page-template-landing-page header, .page-template-landing-page .footer-content, .page-template-landing-page .footer-logos {
    display: none;
}
#field_1_5 {
	margin-top: 0px;
}