@import 'main.css';
.margin-top {
  margin-top: 20px;
}
.hypatia {
  font-family: 'hypatia-sans-pro';
}
.no-top-margin {
  margin-top: 0 !important;
}
.info-boxes {
  margin-top: 20px;
}
.info-boxes h2 {
  color: #000;
}
.content-offset {
  padding-top: 30px;
}
.similar-boxes h3 {
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid #d8d8d8;
}
.similar-boxes h3:last-child {
  border-bottom: 0px;
  margin-bottom: 0;
}
.menu-primary-navigation-container {
  height: 160px;
}
.navigation .nav-home {
  position: absolute;
  left: 50px;
  top: 100px;
  text-transform: uppercase;
  font-size: 12px;
}
.navigation .nav-home a {
  padding-left: 30px;
  height: 18px;
  line-height: 26px;
  display: block;
  background: url('../img/nav-home.png') no-repeat left center;
  color: #000;
}
.navigation .nav-search {
  position: absolute;
  right: 50px;
  top: 100px;
  text-transform: uppercase;
  font-size: 12px;
}
.navigation .nav-search a {
  padding-right: 30px;
  height: 21px;
  line-height: 21px;
  display: block;
  background: url('../img/nav-search.png') no-repeat right center;
  color: #000;
}
.navigation .search-super-wrapper {
  position: fixed;
  height: 100%;
  width: 100%;
  background-color: rgba(242, 244, 245, 0.9);
  overflow: hidden;
  -webkit-transition: all ease 0.5s;
  -moz-transition: all ease 0.5s;
  -ms-transition: all ease 0.5s;
  -o-transition: all ease 0.5s;
}
.navigation .search-super-wrapper.hide-search {
  height: 0;
}
.navigation .search-super-wrapper .search-wrapper {
  background-color: #fff;
  height: 300px;
  border-bottom: 1px solid #00517f;
}
.navigation .search-super-wrapper .search-wrapper .h1 {
  font-size: 52px;
  font-family: 'hypatia-sans-pro';
  padding-bottom: 20px;
}
.navigation .search-super-wrapper .search-wrapper input[type='text'] {
  max-width: 590px;
}
.navigation .search-super-wrapper .search-wrapper input[type='submit'] {
  margin: 20px auto 0;
  width: 130px;
}
.faqs h2 {
  color: #000;
  margin-bottom: 30px;
}
.faqs hr {
  margin-bottom: 50px;
}
.faqs p.style-2 {
  margin-top: 75px;
}
.faqs .faq-single {
  margin-bottom: 40px;
}
.faqs .faq-single .question {
  padding-bottom: 30px;
}
.faqs .faq-single .question p {
  font-size: 24px;
  font-family: 'hypatia-sans-pro';
}
.faqs .faq-single .question .icon {
  background: url('../img/icon-question.png') no-repeat left 20px top;
  min-height: 52px;
  padding-bottom: 40px;
}
.faqs .faq-single .answer b {
  float: left;
  font-size: 24px;
  font-family: 'hypatia-sans-pro';
  line-height: 32px;
  padding-right: 10px;
  margin-top: -2px;
}
.job-form {
  padding-bottom: 40px;
}
.about-us-people {
  margin-bottom: 40px;
}
.about-us-people .profile {
  margin-bottom: 40px;
}
.about-us-people .profile .info {
  padding: 20px 20px 40px;
  border-bottom: 1px solid #e3e3e3;
}
.about-us-people .profile .description p {
  font-size: 18px;
  line-height: 26px;
}
.about-us-people img {
  margin-bottom: 20px;
}
.about-us-people h3 {
  min-height: 70px;
}
.about-us-people .position {
  font-size: 18px;
  color: #005784;
  font-weight: 700;
  font-family: 'hypatia-sans-pro';
}
.about-us-people p.style-4 {
  min-height: 250px;
}
.about-us-people p {
  max-width: 83.33333333%;
}
.about-us-people .flags {
  margin-bottom: 20px;
  min-height: 60px;
}
.about-us-people .flags span {
  font-size: 12px;
  background-color: #f2f4f5;
  margin-right: 5px;
  color: #005784;
  padding: 3px 5px;
}
.about-us-people .offices h3 {
  min-height: 50px;
}
.about-us-people .content-widget {
  max-height: none;
  padding: 20px;
  font-weight: 500;
}
.about-us-people .content-widget span {
  display: block;
  font-weight: 800;
}
.about-us-people .content-widget .address {
  border-top: 1px solid #fff;
  margin-top: 10px;
  padding-top: 10px;
}
.about-us-people .content-widget .address img {
  float: none;
  margin: 0;
}
.fact-widget-wrap .title {
  color: #b5b5b5;
  font-size: 14px;
  border-top: 1px solid #f2f4f5;
  padding: 15px 0 10px 0;
}
.fact-widget-wrap .fact-widget {
  border-left: 3px solid #005784;
  background-color: #f2f4f5;
  margin-bottom: 20px;
}
.fact-widget-wrap .fact-widget ul {
  list-style: none;
  padding: 20px 20px;
}
.fact-widget-wrap .fact-widget ul:after {
  content: '';
  clear: both;
  display: block;
}
.fact-widget-wrap .fact-widget ul li {
  font-size: 18px;
  font-weight: 800;
  padding: 10px 0;
  font-family: 'hypatia-sans-pro';
}
.job-categories-wrapper {
  min-height: 120px;
  padding-bottom: 20px;
}
.categories.news .job-menu {
  background-color: #f2f4f5;
}
.categories.news .job-advertise,
.categories.news .cat-button {
  background-color: #f2f4f5;
}
.categories.news .job-advertise a.button,
.categories.news .cat-button a.button {
  background-color: #f2f4f5;
  color: #005784;
  border: 1px solid #005784;
}
.categories.news .job-advertise a.button:hover,
.categories.news .cat-button a.button:hover {
  background-color: #005784;
  color: #fff;
}
.categories.taxonomy-single {
  margin-top: 40px;
  position: absolute;
  z-index: 200;
}
.categories .job-title {
  height: 80px;
  background-color: #fff;
  line-height: 80px;
  padding-left: 20px;
  background-color: #c6d0d5;
  color: #fff;
  font-family: 'hypatia-sans-pro';
  font-weight: 600;
}
.categories .job-menu {
  height: 80px;
  background-color: #fff;
  line-height: 80px;
  overflow: hidden;
}
.categories .job-menu.open {
  height: auto;
  border-bottom: 1px solid #c6d0d5;
}
.categories .job-menu ul {
  list-style: none;
}
.categories .job-menu ul li {
  float: left;
  width: 120px;
  padding-right: 50px;
  line-height: 80px;
}
.categories .job-menu ul li a {
  font-size: 12px;
  text-transform: uppercase;
  margin-right: 0;
  display: inline-block;
  line-height: 18px;
  vertical-align: middle;
}
.categories .job-menu ul li a:hover {
  font-weight: 700;
}
.categories .event-menu {
  height: 80px;
  background-color: #fff;
  line-height: 80px;
}
.categories .event-menu ul {
  list-style: none;
}
.categories .event-menu ul li {
  float: left;
  width: 120px;
  padding-right: 50px;
}
.categories .event-menu ul li a {
  font-size: 12px;
  text-transform: uppercase;
  margin-right: 0;
  display: inline-block;
  line-height: 18px;
  vertical-align: middle;
}
.categories .event-menu ul li a:hover {
  font-weight: 700;
}
.categories .job-advertise {
  height: 80px;
  background-color: #fff;
  padding-right: 0;
  line-height: 80px;
}
.categories .job-advertise a.button {
  height: 60px;
  width: 100%;
  max-width: 200px;
  line-height: 60px;
  padding: 0 0px;
  margin-top: 0;
  color: #fff;
  background-color: #005784;
}
.categories .job-advertise a.button:hover {
  background-color: #fff;
  color: #00476c;
}
.categories .cat-button {
  height: 80px;
  background-color: #f2f4f5;
  padding-right: 0;
  line-height: 80px;
}
.categories .cat-button a.button {
  width: 100%;
  max-width: 200px;
  padding: 0 0px;
  margin-top: 0;
  color: #fff;
  background-color: #005784;
}
.categories .cat-button a.button:hover {
  background-color: #fff;
  color: #00476c;
}
.job-overview {
  padding-bottom: 20px;
}
.job-overview .box-daenary {
  padding: 40px;
  font-weight: 200;
  background-color: #f2f4f5;
  border-top: 1px solid #c6d0d5;
  border-right: 1px solid #c6d0d5;
  border-left: 1px solid #c6d0d5;
  border-bottom: 5px solid #c6d0d5;
}
.job-overview .box-daenary h2 {
  max-width: 100%;
  font-family: 'hypatia-sans-pro';
}
.job-overview .box-daenary span {
  width: 50%;
  float: left;
}
.job-overview .box-daenary span:first-of-type {
  padding-right: 0;
  border-bottom: 1px solid #fff;
}
.job-overview .box-daenary .job-closing {
  font-family: 'kepler-std';
  max-width: 400px;
  margin: 20px 0 25px;
}
.job-overview .box-daenary p {
  font-family: 'kepler-std';
}
.job-overview .bottom-row {
  padding-bottom: 10px;
  margin-top: 40px;
}
.job-overview .job-menu {
  padding: 35px;
  background-color: #c6d0d5;
  margin-bottom: 30px;
}
.job-overview .job-menu .title {
  font-family: 'hypatia-sans-pro';
  font-size: 18px;
  color: #fff;
  margin-bottom: 15px;
}
.job-overview .job-menu ul {
  margin: 0;
  padding: 0;
}
.job-overview .job-menu ul li {
  list-style: none;
  margin: 0;
}
.job-overview .job-menu ul li.active a {
  font-weight: 600;
}
.job-overview .job-menu ul li a {
  font-size: 14px;
  text-transform: uppercase;
  display: inline-block;
  padding: 5px 0;
}
.job-overview .box-blue {
  background-color: #005784;
  min-height: 310px;
  margin: 20px 0 30px;
  padding: 40px;
}
.job-overview .box-blue .button {
  color: #FFFFFF;
  margin-top: 0;
  background-color: #005784;
  border-color: #FFFFFF;
}
.job-overview .box-blue .button:hover {
  background-color: #FFFFFF;
  color: #005784;
}
.job-overview .box-blue h2,
.job-overview .box-blue p {
  color: #fff;
}
.pagination {
  margin: 0;
  width: 100%;
  position: relative;
  height: 40px;
}
.pagination #pagination {
  position: absolute;
  left: 50%;
  top: 0;
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
}
.pagination a,
.pagination span {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  float: left;
  text-align: center;
  background-color: #f2f4f5;
  margin-left: 1px;
}
.pagination .prev {
  font-size: 0;
  background-image: url('../img/pagination-left.png');
}
.pagination .next {
  font-size: 0;
  background-image: url('../img/pagination-right.png');
}
.pagination span {
  background-color: #c6d0d5;
  color: #fff;
}
.latest-news .box-featured-news .col-md-6:first-child {
  padding-left: 0;
}
.latest-news .box {
  padding-top: 30px;
}
.news-listing.search {
  margin-top: 40px;
}
.news-listing .single-new-listing {
  padding-top: 20px;
}
.news-listing .single-new-listing .info {
  font-size: 10px;
  color: #9da3a5;
  font-family: 'hypatia-sans-pro';
  text-transform: uppercase;
}
.news-listing .single-new-listing:last-of-type + hr {
  display: none;
}
.news-listing .pagination {
  margin: 30px 0 40px;
}
.search-box {
  padding: 40px 0;
  margin-bottom: 30px;
  background-color: #fff;
}
.search-box .row form > div {
  padding: 0;
}
.search-box input[type='submit'] {
  background-color: #005784;
  height: 50px;
  margin-top: 10px;
  width: 100%;
  text-decoration: none;
  color: #fff;
}
.search-box input[type='submit']:hover {
  color: #005784;
  background-color: #fff;
  border: 1px solid #005784;
}
.taxonomy-description {
  padding: 20px;
  background-color: #f2f4f5;
  margin: 40px 0 20px;
}
.taxonomy-description h2 {
  font-size: 24px;
  color: #000;
}
.news-detail {
  margin-top: 40px;
}
.news-detail p,
.news-detail h2 {
  padding-right: 220px;
}
.news-detail .main-image {
  margin-bottom: 20px;
  margin-right: 40px;
  float: left;
}
.news-detail .info {
  font-size: 10px;
  color: #9da3a5;
  font-family: 'hypatia-sans-pro';
  text-transform: uppercase;
}
.news-detail .found-under {
  font-size: 14px;
  color: #b5b5b5;
  margin-bottom: 40px;
}
.news-detail .found-under a {
  font-size: 14px;
  text-decoration: underline;
  text-transform: uppercase;
}
.news-detail .found-under a:hover {
  text-decoration: none;
}
.shadow-box {
  background-color: #f2f4f5;
  padding: 20px 20px 40px;
  margin-top: 20px;
}
.search-directory .results .result {
  margin-bottom: 1px;
  height: 80px;
  width: 100%;
  line-height: 80px;
  padding-left: 70px;
  background: #f2f4f5 url('../img/icon-cross.png') no-repeat left 20px center;
}
.search-directory .results .result h2 {
  line-height: 80px;
}
.search-directory .results .result .info {
  color: #fff;
  text-align: center;
  padding-top: 15px;
  background-color: #005784;
  width: 80px;
  height: 80px;
  float: right;
  font-size: 18px;
  line-height: 150%;
}
.search-directory .results .result .info.person {
  background: #005784 url('../img/icon-person.png') no-repeat center center;
}
.search-directory .directory {
  margin-top: 40px;
}
.search-directory .directory .search-wrapper {
  padding: 20px;
  color: #fff;
}
.search-directory .directory .search-wrapper .title {
  font-size: 30px;
  color: #fff;
  font-family: 'hypatia-sans-pro';
}
.search-directory .directory .search-wrapper p {
  color: #fff;
  margin-bottom: 0;
  font-size: 18px;
}
.search-directory .directory .search-wrapper:first-of-type {
  background: #005784;
}
.search-directory .directory .search-wrapper form .search-wrapper {
  height: 60px;
  position: relative;
}
.search-directory .directory .search-wrapper form .search-wrapper:hover span {
  color: #6a6a6a;
}
.search-directory .directory .search-wrapper form .search-wrapper .placeholder {
  z-index: 44;
  position: absolute;
  top: 0;
  left: 0;
  margin: 10px 0 10px 40px;
  font-size: 16px;
  pointer-events: none;
  color: #ababab;
  font-style: italic;
  line-height: 50px;
}
.search-directory .directory .search-wrapper form .search-wrapper .placeholder b {
  font-weight: 500;
  color: #5f5f5f;
}
.search-directory .directory .search-wrapper form .search-wrapper input {
  z-index: 22;
  position: absolute;
  top: 0;
  left: 0;
}
.search-directory .directory .search-wrapper form .search-wrapper span {
  position: absolute;
  top: 10px;
  left: 10px;
  height: 50px;
  line-height: 50px;
  color: #fff;
  z-index: 66;
}
.search-directory .directory .search-wrapper form input[type='submit'] {
  margin-top: 20px;
  border: 1px solid #fff;
  display: block;
  background-color: #005784;
  color: #fff;
}
.search-directory .directory .search-wrapper form input[type='submit']:hover {
  background-color: #fff;
  color: #005784;
}
.search-directory .areas h2 {
  margin: 20px 0;
  color: #000;
}
.shadow-border-box {
  background-color: #f2f4f5;
  border-right: 1px solid #c6d0d5;
  border-left: 1px solid #c6d0d5;
  border-top: 1px solid #c6d0d5;
  border-bottom: 5px solid #c6d0d5;
  padding: 20px;
  margin-bottom: 40px;
}
.shadow-border-box.tall {
  min-height: 560px;
}
.shadow-border-box.short {
  min-height: 260px;
}
.shadow-border-box.short:last-of-type {
  margin-bottom: 0;
}
.shadow-border-box h2 {
  font-size: 24px;
  margin: 0 !important;
}
.shadow-border-box h3 {
  color: #000;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 18px;
  font-weight: 700;
}
.shadow-border-box p {
  font-size: 18px;
}
.shadow-border-box p a {
  text-decoration: none;
}
.shadow-border-box p a:hover {
  text-decoration: underline;
}
.world-war .intro {
  padding-right: 200px;
}
.world-war .intro hr {
  margin: 50px 0;
}
.related-articles .title {
  color: #005784;
  font-weight: 700;
  font-size: 18px;
  padding: 40px 0 30px;
  font-family: 'hypatia-sans-pro';
}
.related-articles .related-article {
  padding-bottom: 10px;
  margin-bottom: 30px;
  border-bottom: 1px solid #fff;
}
.related-articles .related-article:last-of-type {
  border-bottom: 0px;
  margin-bottom: 0px;
}
.related-articles .related-article .info {
  font-size: 10px;
  color: #9da3a5;
  padding-bottom: 10px;
  text-transform: uppercase;
  font-family: 'hypatia-sans-pro';
}
.area-page > .row:first-of-type {
  padding-top: 0;
}
.template-directory-parish {
  padding-top: 30px;
}
.template-directory-parish .content {
  padding-top: 30px;
}
.template-event-detail .main-image img {
  max-width: 100%;
  margin-bottom: 20px;
  height: auto;
}
.template-event-detail .content {
  padding-top: 30px;
  padding-bottom: 30px;
}
.template-event-detail .content p {
  padding-right: 300px;
}
.template-event-detail .job-closing:after {
  content: '';
  clear: both;
  display: block;
}
.template-event-detail .job-closing .closing-left {
  border-bottom: 1px solid #f2f4f5;
  padding: 5px 0;
}
.template-event-detail .job-closing .closing-right {
  border-bottom: 1px solid #005784;
  padding: 5px 0;
}
.more-events .event-box {
  background-color: #fff;
  border-left: 3px solid #005784;
  padding: 10px 10px 10px 20px;
  margin-bottom: 20px;
}
.more-events .event-box:after {
  content: '';
  clear: both;
  display: block;
}
.more-events .event-box img {
  margin: -10px -10px -10px 0;
  float: right;
}
.more-events .event-box h2 {
  padding-bottom: 0px;
  font-size: 26px;
}
.more-events .event-box p {
  line-height: 150%;
  font-size: 18px;
}
.more-events .button {
  margin: 0 0 40px;
}
.gallery-wrapper {
  width: 100%;
  margin-bottom: 30px;
}
.gallery-wrapper:after {
  content: '';
  clear: both;
  display: block;
}
.gallery-wrapper .bx-gallery {
  position: relative;
}
.gallery-wrapper .bx-gallery .col-xs-5,
.gallery-wrapper .bx-gallery .bx-wrapper {
  position: initial;
}
.gallery-wrapper .bx-gallery .gallery-inner {
  width: 392px;
  height: 285px;
  margin-left: 200px;
}
.gallery-wrapper .bx-gallery .gallery {
  overflow: hidden;
  height: 285px;
}
.gallery-wrapper .bx-gallery .gallery .bx-viewport {
  overflow: visible !important;
  border: 0px !important;
}
.gallery-wrapper .bx-gallery .gallery .bx-viewport ul li {
  opacity: 0.5;
  -webkit-transition: all ease 0.5s;
  -moz-transition: all ease 0.5s;
  transition: all ease 0.5s;
}
.gallery-wrapper .bx-gallery .gallery .bx-viewport ul li.active {
  opacity: 1;
}
.gallery-wrapper .bx-gallery .gallery .bx-prev {
  display: block;
  position: absolute;
  z-index: 500;
  top: 302px;
  left: 0;
  background: url('../img/larr.png') center center;
  width: 80px;
  height: 80px;
  border-right: 1px solid #fff;
}
.gallery-wrapper .bx-gallery .gallery .bx-prev:hover {
  background-position: center center;
}
.gallery-wrapper .bx-gallery .gallery .bx-next {
  display: block;
  position: absolute;
  z-index: 500;
  top: 302px;
  right: 0;
  background: url('../img/rarr.png') center center;
  width: 80px;
  height: 80px;
  border-left: 1px solid #fff;
}
.gallery-wrapper .bx-gallery .gallery .bx-next:hover {
  background-position: center center;
}
.gallery-wrapper .bx-gallery .info {
  background-color: #c6d0d5;
  margin-top: 1px;
  height: 80px;
  text-align: center;
  line-height: 80px;
  color: #fff;
  font-family: 'kepler-std';
  text-transform: none;
  font-size: 18px;
}
table.events-listing td:first-of-type {
  width: 25%;
}
.events .event-box {
  background-color: #f2f4f5;
  border: 1px solid #c6d0d5;
  position: relative;
}
.events .event-box:after {
  clear: both;
  display: block;
  content: '';
  position: absolute;
  left: 40px;
  bottom: -5px;
  height: 5px;
  width: 280px;
  background-color: #c6d0d5;
}
.events .event-box img {
  max-width: 100%;
  margin: 0 auto 20px;
}
.events .event-box table {
  max-width: 450px;
}
.events .event-box table .events-listing td {
  width: 70%;
}
.events .event-box table .events-listing td:first-of-type {
  width: 100px;
}
.events .job-closing span:last-of-type {
  padding-right: 0;
}
#masonry-wrapper {
  width: 100%;
  -webkit-transition: all ease 0.5s;
  -moz-transition: all ease 0.5s;
  -ms-transition: all ease 0.5s;
  -o-transition: all ease 0.5s;
}
#masonry-wrapper .masonry {
  margin-right: 20px;
  margin-left: 20px;
  width: 30%;
}
@media (min-width: 768px) and (max-width: 1400px) {
  #masonry-wrapper .masonry {
    width: 45%;
  }
}
#masonry-wrapper .masonry img {
  height: auto;
  max-width: 100%;
}
.event-menu .select-order,
.event-menu .select-category {
  float: left;
  margin-right: 20px;
  width: 200px;
  margin-top: 15px;
}
.event-menu .select-order ul,
.event-menu .select-category ul {
  border-top: 1px solid #fff;
}
.event-menu .select-order ul li,
.event-menu .select-category ul li {
  width: 100%;
}
.event-menu .select-order ul li:first-child,
.event-menu .select-category ul li:first-child {
  display: none;
}
.not-found {
  text-align: center;
  margin: 100px 0 80px;
}
.not-found .back {
  margin: 10px 0 100px;
}
.load-more #page-nav a.button,
.load-more #page-nav .no-more {
  font-size: 24px;
  color: #fff;
  background-color: #00476c;
  height: 100px;
  line-height: 100px;
  width: 320px;
  margin: 0 auto;
  display: block;
  text-align: center;
}
.load-more #page-nav a.button:hover,
.load-more #page-nav .no-more:hover {
  background-color: #fff;
  border: 2px solid #00476c;
  color: #00476c;
}
.load-more #page-nav .no-more:hover {
  background-color: #00476c !important;
  border: 0px solid #00476c !important;
  color: #fff !important;
}
/* style gravity form jobs */
#gform_1 #field_1_5,
#gform_1 #field_1_6,
#gform_1 #field_1_7 {
  float: left;
  clear: none;
  margin-right: 40px;
}
#gform_1 #field_1_5 {
  width: 73px;
}
#gform_1 #field_1_6 {
  width: 136px;
}
#gform_1 #field_1_7 {
  width: 95px;
}
#gform_1 .gform_footer {
  margin-top: 0 !important;
}
#gform_1 .top_label input.medium {
  width: 100%;
  max-width: 387px;
}
#gform_2 #field_2_18 {
  width: 100%;
  max-width: 300px;
}
/* general styles for gform */
.gform_wrapper .gfield_description.validation_message {
  display: none;
}
.gform_wrapper li.gfield.gfield_error {
  background-color: #fff;
  border: 0px solid red !important;
}
.gform_wrapper li.gfield.gfield_error.gfield_contains_required {
  margin-top: 0px !important;
  margin-bottom: 0px !important;
  padding-left: 0px !important;
}
.gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container {
  margin-top: 0;
}
.gform_wrapper .datepicker {
  width: 160px !important;
}
.gform_wrapper .gfield_time_hour,
.gform_wrapper .gfield_time_minute,
.gform_wrapper .gfield_date_month,
.gform_wrapper .gfield_date_day,
.gform_wrapper .gfield_date_year {
  width: 120px !important;
  line-height: 65px;
}
.gform_wrapper .gfield_time_hour label,
.gform_wrapper .gfield_time_minute label,
.gform_wrapper .gfield_date_month label,
.gform_wrapper .gfield_date_day label,
.gform_wrapper .gfield_date_year label {
  line-height: 12px;
}
.gform_wrapper .gfield_time_hour input,
.gform_wrapper .gfield_time_minute input,
.gform_wrapper .gfield_date_month input,
.gform_wrapper .gfield_date_day input,
.gform_wrapper .gfield_date_year input {
  width: 90% !important;
  line-height: 100%;
}
.gform_wrapper .gfield_time_ampm {
  margin-top: 10px;
  width: 80px;
}
.gform_wrapper .gfield_description {
  font-family: 'hypatia-sans-pro';
  font-style: italic;
  padding: 0 0 20px 0;
  margin-top: -5px;
}
.gform_wrapper input[type='file'] {
  margin: 10px 0 5px;
}
@media (max-width: 992px) {
  .menu-primary-navigation-container {
    /*overflow:hidden;*/
  }
  .events #masonry-wrapper {
    padding: 0 20px;
    height: auto !important;
    width: 100%;
  }
  .events #masonry-wrapper .masonry {
    margin: 0 !important;
    position: relative !important;
    width: 100%;
    top: initial !important;
    left: initial !important;
  }
  .categories .event-menu {
    min-height: 80px;
    height: auto;
    padding-bottom: 20px;
  }
  .categories .event-menu:after {
    content: '';
    clear: both;
    display: block;
  }
  .categories .event-menu .selectricWrapper {
    margin-bottom: 0;
  }
  .categories .job-advertise a.button {
    content: '';
    clear: both;
    display: block;
  }
  .template-event-detail .job-closing div span {
    padding-bottom: 5px;
    padding-top: 5px;
  }
  .template-event-detail .content p {
    padding-right: 0;
  }
  .footer-wrapper {
    margin: 0px 25px 0;
  }
  .footer-wrapper .row {
    margin-top: 30px;
  }
  .footer {
    padding: 0px 60px 40px;
  }
  .footer strong {
    margin-top: 30px;
  }
  .footer .second input[type='text'] {
    margin-top: 10px;
  }
}
@media (max-width: 768px) {
  .grey-bg {
    margin: 0 10px;
  }
  .about-us-people .portrait {
    width: 100%;
    float: none !important;
  }
  .about-us-people .portrait img {
    margin: 20px auto;
  }
  .footer-wrapper {
    margin: 0px 10px 0;
  }
  .footer {
    padding: 0px 30px 40px;
  }
}
/******************** only menu styles *****************/
.menu-open {
  display: none;
}
.menu-close {
  display: none;
}
li.menu-search {
  display: none;
}
@media (max-width: 1024px) {
  body {
    padding-top: 120px;
  }
  .menu-overlay {
    display: none;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5;
  }
  .navigation {
    height: 120px;
  }
  .navigation .logo img {
    max-width: 120px;
  }
  .navigation .menu-wrapper {
    background-color: #ffffff;
    /*display: none;*/
    position: absolute;
    width: 250px;
    height: 100vh;
    top: 0px;
    right: -250px;
    z-index: 30;
    overflow-y: scroll;
    padding-bottom: 100px;
  }
  .navigation .menu-wrapper .nav-home {
    position: relative;
    left: 37px;
    top: 92px;
    width: 65px;
  }
  .navigation .menu-wrapper .nav-search {
    display: none;
  }
  .navigation .menu-wrapper .menu-primary-navigation-container {
    height: 100%;
  }
  .navigation nav div ul {
    display: block;
    margin-top: 110px;
  }
  .navigation nav div ul li {
    width: 100%;
    line-height: 43px;
    float: none;
    text-align: left;
    margin: 0 18px;
  }
  .navigation nav div ul li:nth-of-type(4) {
    margin-right: 0px;
  }
  .navigation nav div ul li:hover ul {
    display: none;
  }
  .navigation nav div ul li.active ul {
    display: block;
    position: relative;
    left: 0;
    top: 0;
    min-width: 0;
  }
  .navigation nav div ul li.active ul .menu-arrow {
    display: none;
  }
  .navigation nav div ul li.active ul li {
    width: 100%;
    float: none;
    margin-right: 20px;
    background-color: #fff;
    padding-top: 0;
    margin-left: 0;
  }
  .navigation nav div ul li.active ul li:first-of-type {
    border-top: 0;
  }
  .navigation nav div ul li.active ul li:last-child a {
    border-bottom: 1px solid #d4dde2;
  }
  .navigation nav div ul li.active ul li a {
    display: block;
    line-height: 20px;
    padding: 5px 0;
    border-bottom: 0;
    background: none;
  }
  .navigation nav div ul li.active ul li a:hover span {
    border-bottom: 0px solid #fff;
  }
  .navigation nav div ul li.active ul li a span {
    color: #000;
    border-bottom: 0;
  }
  .navigation nav div ul li a {
    display: block;
    padding: 0 20px;
    border-bottom: 1px solid #d4dde2;
    background: url('../img/icon-menu-rarr.png') no-repeat center right;
  }
  .navigation nav div ul li.menu-search {
    display: block;
  }
  .navigation nav div ul li.menu-search form {
    position: relative;
    margin-top: 20px;
  }
  .navigation nav div ul li.menu-search form input[type='text'] {
    height: 40px;
  }
  .navigation nav div ul li.menu-search form input[type='submit'] {
    position: absolute;
    top: 10px;
    left: 10px;
    background: url('../img/nav-search.png') no-repeat left center;
    border: 0;
    height: 25px;
    top: 8px;
    margin-top: 10px;
  }
  .menu-open {
    display: block;
    width: 32px;
    height: 25px;
    background: url('../img/icon-menu.png');
    position: absolute;
    top: 50px;
    right: 60px;
    cursor: pointer;
  }
  .menu-close {
    display: block;
    width: 150px;
    height: 26px;
    font-size: 12px;
    line-height: 26px;
    background: url('../img/icon-menu-close.png') no-repeat center left;
    position: absolute;
    top: 40px;
    left: 37px;
    cursor: pointer;
  }
}
@media (max-width: 768px) {
  body {
    padding-top: 90px;
  }
  .navigation {
    height: 90px;
  }
  .navigation .logo {
    top: 16px;
  }
  .navigation .menu-open {
    top: 35px;
  }
  .menu-open {
    right: 30px;
  }
}
/**************** menu styles end ****************/
