/* Think Web Design, Think Matrix. https://thinkmatrix.uk */

/* Typography */

body, button, input, optgroup, select, textarea {
  font-family: "helvetica-lt-pro", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 22px;
  color:#222222;
}

h1, h2, h3, h4, h5, h6 {
  color:#222222;
  font-weight: 400;
}

html .huge-style, h1, html .h1-style { font-size: 26px; line-height: 32px; }
h2, html .h2-style, #titlebar #titlebar-title { font-size: 24px; line-height: 30px; }
h3, html .h3-style { font-size: 22px; line-height: 28px; }
h4, html .h4-style { font-size: 20px; line-height: 26px; }
h5, html .h5-style { font-size: 18px; line-height: 24px; }
h6, html .h6-style { font-size: 16px; line-height: 22px; }

html a {
  color:#C24943;
  fill:#C24943;
 }
html a:hover {
  color:#000000;
  fill:#000000;
}

#the-content p a {
    text-decoration: underline;
}

html .color-lite h1,
html .color-lite h2,
html .color-lite h3,
html .color-lite h4,
html .color-lite h5,
html .color-lite h6,
html .color-lite p,
html .color-lite label,
html .color-lite .gfield_description {color:#ffffff;}
html .color-lite a {color:#ffffff;}
html .color-lite a:hover {color:#8c8990;}



/* Custom Colours */

html .c-red {color:#C24943!important;}
html .c-black {color:#222222!important;}
html .c-white{color:#FFFFFF!important;}

.mtx-list .mtx-list-icon {color:#8c8990;}

/* Custom Backgrounds */

html .bg-grey {background-color:#f0f0f0!important;}
html .bg-white {background-color: #ffffff!important;}
html .bg-red {background-color:#C24943!important;}

/* Custom Buttons */

html .btn, html .gform_wrapper .button {
    padding: 10px 20px;
    border-radius: 6px;
}

html .btn.btn-primary, html .gform_wrapper .button, .mtx-pagination > .page-numbers.current {
  color:#ffffff!important;
	background:#c24943!important;
}

html .btn.btn-primary:hover, html .toggle-open .btn.btn-primary, html .gform_wrapper .button:hover, .socials .social:hover {
  color:#ffffff!important;
	background:#b72820!important;
}

html .btn.btn-grey {
  color:#222222!important;
	background:#f0f0f0!important;
  border:1px solid #d2d2d2!important;
}

html .btn.btn-grey:hover, html .toggle-open .btn.btn-grey {
  color:#222222!important;
	background:#ffffff!important;
}

/* Site Wide */

.hrule {
    width: 100%;
    height: 1px;
    background: #EBEBEB;
    margin-top: 30px;
    margin-bottom: 30px;
}

.widget li:before {opacity: 0.7; }

.pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    animation: livePulse 1.6s ease-out infinite;
    display: inline-block;
    vertical-align: middle;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7);}
  70% {box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);}
  100% {box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);}
}

:focus-visible {
    outline: -webkit-focus-ring-color auto 1px;
}

i.fa-twitter {position: relative;}
i.fa-twitter:before {opacity: 0;}
i.fa-twitter svg {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

html .mtx-lazy {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}


.page-section {
  padding-top: 30px;
  padding-bottom: 10px;
}

html .mtx-separator {border-color:#cccccc;}
html .bc-black {border-color:#141414;}

.overlay {
  background: #000000;
  opacity: 0.7;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000000;
}
.embed-container iframe, .embed-container object, .embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.mtx-contact-item {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
}

.mtx-contact-item i {
    position: absolute;
    top: 1px;
    left: 0px;
    color: #000000;
    font-size: 14px;
    line-height: 20px;
}

.small-margin [class*="frac"], .small-margin .fl-col {margin-left: 2.4%;}
.small-margin [class*="frac"]:first-child, .small-margin [class*="frac"].first, .small-margin .fl-col:first-child {
    margin-left: 0%;
    clear: both;
}

.small-margin .frac2, .small-margin .fl-col[frac="2"]{width:14.66%!important;}
.small-margin .frac2-4, .small-margin .fl-col[frac="2.4"]{width:18.08%!important;}
.small-margin .frac3, .small-margin .fl-col[frac="3"]{width:23.2%!important;}
.small-margin .frac4, .small-margin .fl-col[frac="4"]{width:31.73%!important;}
.small-margin .frac4-8, .small-margin .fl-col[frac="4.8"]{width:38.56%!important;}
.small-margin .frac6, .small-margin .fl-col[frac="6"]{width:48.8%!important;}
.small-margin .frac7-2, .small-margin .fl-col[frac="7.2"]{width:59.04%!important;}
.small-margin .frac8, .small-margin .fl-col[frac="8"]{width:65.86%!important;}
.small-margin .frac9, .small-margin .fl-col[frac="9"]{width:74.4%!important;}
.small-margin .frac9-6, .small-margin .fl-col[frac="9.6"]{width:79.52%!important;}
.small-margin .frac10, .small-margin .fl-col[frac="10"]{width:82.93%!important;}
.small-margin .frac12, .small-margin .fl-col[frac="12"]{width:100%!important;}

/* Top Bar */

#top-bar {
  background: #f0f0f0;
  border-bottom: 1px solid #dfdfdf;
}

#top-bar #top-bar-left, #top-bar #top-bar-right {max-width: 100%;}

#top-bar a { color:#222222; }
#top-bar a:hover { color:#C24943; }

#top-bar .mtx-top-item.btn-mob > a {
    display: block;
    color:#000000;
    padding: 0px 6px;
}
#top-bar .mtx-top-item.btn-mob > a:hover { color:#666666; }

#top-bar .mtx-top-item.btn-mob > a i {
  margin-right: 6px;
  color:#000000;
  transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
}

#top-bar .mtx-socials .social {
    width: 36px;
    padding: 0px;
    text-align: center;
    border-left: 1px solid #dfdfdf;
    font-size: 16px;
    color:#222222;
    fill:#222222;
}
#top-bar .mtx-socials .social:hover {
  color:#C24943;
  fill:#C24943;
}

#top-bar .mtx-socials .social:last-child { border-right: 1px solid #dfdfdf; }

/* Header */

#header-container-background {background-color: #ffffff;}

header #logo {
    margin-top: 30px;
    margin-bottom: 30px;
}

#logo img {
    width: auto;
    max-width: 170px;
}

#titlebar {
    background: #f0f0f0;
    border-top: 1px solid #dfdfdf;
    border-bottom: 1px solid #dfdfdf;
}

#titlebar #titlebar-description p:last-child {margin-bottom: 0px;}

#breadcrumb {
    font-size: 14px;
    line-height: 18px;
}

.single-staff #breadcrumb .sep-last, .single-staff #breadcrumb .item-current,
.single-resources #breadcrumb .sep-last, .single-resources #breadcrumb .item-current,
.single-events #breadcrumb .sep-last, .single-events #breadcrumb .item-current,
.single-post #breadcrumb .sep-last, .single-post #breadcrumb .item-current {
    display: none;
}

/* Nav */

nav#navigation {
    bottom: 40px;
}

#main-navigation > li {
  margin-left: 10px;
}
#main-navigation > li:first-child {
  margin-left: 0px!important;
}

#main-navigation > li > a {
    background: #f0f0f0;
    border: 1px solid #dfdfdf;
    border-radius: 3px;
    color: #222222;
    font-size: 15px;
    padding: 16px 18px;
}

#main-navigation > li > a:hover { background: #ffffff;}

#main-navigation > li.menu-item-has-children > a:after {color:#C24943;}

#main-navigation li > ul.sub-menu {
  border: 1px solid #dfdfdf;
  background-color: #f0f0f0;
  border-radius: 3px;
}
#main-navigation li > ul.sub-menu li {border-color: #dfdfdf; }

#main-navigation li > ul.sub-menu li > a {
  background: #f0f0f0;
  color:#222222;
}
#main-navigation li > ul.sub-menu li > a:hover {
  color:#222222;
  background: #ffffff;
}

/* Mob Menu */

#main-navigation-toggle > a {
    color: #C24943;
    border: 1px solid #dfdfdf;
    background: #f0f0f0;
    font-size: 21px;
}

/* Slider */

.mtx-slider-wrap {background: #141414;}
.mtx-slider-wrap .loading .spinner {background: #e85f28;}


.owl-carousel.fixed-nav .owl-dots {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    opacity: 1;
}
.owl-carousel.fixed-nav .owl-dots .owl-dot {background: #000000;}

.owl-carousel .owl-nav > div {
    border: none;
    width: 36px;
    height: 36px;
    line-height: 36px;
    font-size: 50px;
    text-align: center;
    border-radius: 0px;
    -ms-transform: none!important;
    -webkit-transform: none!important;
    transform: none!important;
}
.owl-carousel .owl-nav .owl-prev {left: 20px;}
.owl-carousel .owl-nav .owl-next {right: 20px;}
.owl-carousel .owl-nav > div.disabled {pointer-events: none;}
.owl-carousel .owl-nav > div:before {
    content: "\f105";
    font-family: "Font Awesome 5 Pro";
    font-weight: 300;
    display: inline-block;
    vertical-align: top;
}
.owl-carousel .owl-nav > div.owl-prev:before { content: "\f104"; }

.owl-carousel.fixed-nav .owl-nav {
    position: relative;
    text-align: center;
}
.owl-carousel.fixed-nav .owl-nav > div {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    display: inline-block;
    vertical-align: top;
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    margin: 0px 6px;
    height: 22px;
    width: 22px;
    line-height: 22px;
    font-size: 40px;
}

.owl-carousel.fixed-nav .owl-nav > div.disabled {
    opacity: 0.2;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
}

.owl-carousel.fixed-nav.on-dark .owl-nav > div:hover, .owl-carousel.fixed-nav.on-dark .owl-nav > div.disabled { border-color: #ffffff; }

.mtx-slider .slide-item, .mtx-slider-wrap { height: 340px; }

.slide-item .slide-text-outer {max-width: 100%;}

.boxed .slide-item .slide-text-wrap {
    padding: 20px;
    border-radius: 6px;
    overflow: hidden;
}
.slide-item .slide-title {margin: 0px;}

.slide-item.location-left .slide-img-mobile {
    background-position: 50% 50%;
}

/* Beaver */

.round-corner .mtx-bg-photo-content {
    border-radius: 10px;
}

/* Beaver Modules */

.push-button .icon-block .mtx-icon-title {
    text-align: left;
    color: #222222;
}

.push-button .icon-block .mtx-icon-title .mtx-icon-heading {
    color: #c24943;
}

.push-button .icon-block .mtx-icon {
    width: 100%;
    max-width: 110px;
    margin: auto;
}

.push-button .icon-block .mtx-icon {
    width: 100%;
    max-width: 110px;
    margin: 0px auto 40px;
    position: relative;
}

.push-button .icon-block .mtx-icon:before {
    content: " ";
    position: absolute;
    background: #730803;
    top: 5px;
    left: 0px;
    right: 0px;
    bottom: -10px;
    display: block;
    border-radius: 10px;
    z-index: -1;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
}

.push-button .icon-block .mtx-icon i {
    display: block;
    height: 0px;
    padding-bottom: 100%;
    background: #c24943;
    border-radius: 10px;
    color: #ffffff;
    position: relative;
    top: 0px;
    transition: all 1s cubic-bezier(0.190, 1.000, 0.220, 1.000);
    -moz-transition: all 1s cubic-bezier(0.190,1.000,0.220,1.000);
    -webkit-transition: all 1s cubic-bezier(0.190, 1.000, 0.220, 1.000);
    -o-transition: all 1s cubic-bezier(0.190,1.000,0.220,1.000);
}

.push-button:hover .icon-block .mtx-icon i {
  top: 5px;
  background: #9E130D;
}

.push-button .icon-block .mtx-icon i:before {
    line-height: 110px;
    font-size: 44px;
}




/* Sidebar */

#sidebars .sidebar-widget-title > span {
    display: inline-block;
    border-bottom: 2px solid #BA332B;
    margin-bottom: -2px;
    padding-bottom: 6px;
}

/* Footer */

#footer-items {
  background: #C24943;
}

#footer-items .footer-section, #footer-items h4, #footer-items h5, #footer-items h6 {color: #ffffff;}
#footer-items .footer-section a {
  color: #ffffff;
  fill:#ffffff;
}
#footer-items .footer-section a:hover {
  color: #000000;
  fill: #000000;
}

#footer-items .sidebar-widget-title {color: #ffffff;}
#footer-items .mtx-contact-item i {color: #ffffff;}

#footer-items .social {
    width: 30px;
}

.footer-quote {
    display: block;
    padding: 20px 20px 2px;
    background: #b72820;
    border-radius: 10px;
}
.footer-quote:hover {
  background: #952019;
}

.footer-quote h5, .footer-quote h6 {
  margin: 0px 0px 18px;
}


#bottom-bar {background: #B72820;}
#bottom-bar, #bottom-bar a {color:#ffffff;}
#bottom-bar a:hover {color:#000000;}

#bottom-text {margin: 0px;}
.bottom-text-wrap, #mtx-link, #bottom-menu {
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 4px;
}
#mtx-link a {font-weight: 600;}

#menu-footer-menu {
    margin: 0px;
    list-style: none;
}

#menu-footer-menu li {
  float: left;
}

#menu-footer-menu li:before {
    content: "•";
    display: inline-block;
    vertical-align: top;
    margin: 0px 6px;
}
#menu-footer-menu li:first-child:before {display: none;}




/* Homepage */


/* Shares */

.mtx-share-bar-wrap {padding: 20px 0;}
.fl-module-content .mtx-share-bar-wrap {padding: 0px;}
.mtx-share-bar-wrap .shares-title {margin: 0px 0px 20px;}

.mtx-share-bar .mtx-share {
    width: 38px;
    padding: 0px 7px;
    box-sizing: border-box;
    height: 38px;
    float: left;
    background: #c24943 !important;
    color: #ffffff!important;
    fill: #ffffff!important;
    border-radius: 19px;
    margin: 0px 6px 12px 0px;
    text-align: center;
    line-height: 38px;
    font-size: 16px;
    transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
}

.mtx-share-bar .mtx-share:hover {
  color: #FFFFFF!important;
  background:#222222!important;
}

.mtx-share-bar .mtx-share.mtx-share-copy {
    width: 320px;
    text-align: left;
    position: relative;
    padding-left: 9px;
    cursor: pointer;
}

.mtx-share-bar .mtx-share.mtx-share-copy .share-perma {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 38px;
    right: 7px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
}

.mtx-share-bar .mtx-share.mtx-share-copy input.share-perma-url {
    opacity: 0;
    height: 0px;
    overflow: hidden;
    position: absolute;
}

.mtx-share.mtx-share-copy.copied:before {
    content: "Link copied";
    position: absolute;
    top: -20px;
    left: 50%;
    margin-left: -44px;
    background: #222222;
    color: #fff;
    font-size: 12px;
    line-height: 18px;
    padding: 4px 12px;
    border-radius: 13px;
}

.shares-header.tag-header {margin-bottom: 18px;}

/* Feeds */

.mtx-feed-wrap.with-link {position: relative;}
.mtx-feed-header .mtx-feed-heading {margin: 0px 0px 30px;}


/* Blog */

.mtx-post-meta-box .mtx-post-metas {
    padding: 20px 0;
    border-top: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
}

.mtx-row-image {
    float: left;
    width: 36%;
    margin-right: 4%;
}

.mtx-block {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.mtx-block-media {
    display: block;
    height: 0px;
    width: 100%;
    padding-bottom: 60%;
    background: #d2d2d2;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}
.mtx-row-image .mtx-block-media {
    padding-bottom: 80%;
}

.mtx-block-media .mtx-block-img {
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.mtx-block-media .overlay {
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
}
.mtx-block-media:hover .overlay {
    opacity: 0.4;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
}

.mtx-block .mtx-block-title, .mtx-post .post-title {
    margin: 0px 0px 20px;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    padding-bottom: 0;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamped p {
  display: inline;
}

.line-clamped p:after {
  content: " \A\A";
  white-space: pre;
}

.mtx-block .post-metas {
    font-size: 12px;
    line-height: 18px;
    padding: 6px 0;
    margin: -6px 0px 14px;
    border-top: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
}

.mtx-block .btn {
    margin: auto 0px 0px;
}




/* Forms */

.gform_wrapper .gform_required_legend {display: none;}

/* Cookies */

html .cky-btn-accept {
    background: #c24943 !important;
    border-color: #c24943 !important;
    color: #ffffff !important;
}

html .cky-btn-customize, html .cky-btn-preferences {
  border-color: #c24943 !important;
  color: #c24943 !important;
  background: none!important;
}


/* Ultra Widescreen & Above */
@media (min-width: 1461px) {

  html .huge-style { font-size: 48px; line-height: 54px; }
  h1, html .h1-style { font-size: 36px; line-height: 42px; }
  h2, html .h2-style { font-size: 30px; line-height: 36px; }

  .mtx-slider .slide-item, .mtx-slider-wrap { height: 500px; }

}

/* Ultra Widescreen */
@media (max-width: 1460px) and (min-width: 1200px) {

  html .huge-style { font-size: 42px; line-height: 48px; }
  h1, html .h1-style { font-size: 32px; line-height: 38px; }

  .mtx-slider .slide-item, .mtx-slider-wrap { height: 420px; }

}

/* Widescreen & Above */
@media (min-width: 1200px) {

  h3, html .h3-style { font-size: 24px; line-height: 30px; }

  #footer-items {
    padding: 50px 0 30px;
  }

  #the-page.sidebar-layout, .page-section {
    padding-top: 50px;
    padding-bottom: 30px;
  }

  .mtx-block {margin-bottom: 30px;}


}

/* Desktop & Below */
@media (max-width: 1199px) {

}

/* Desktop */
@media (max-width: 1199px) and (min-width: 990px) {

}

/* Desktop & Above */
@media (min-width: 990px) {

}

/* iPad & Below */
@media (max-width: 989px) {

  h3, html .h3-style { font-size: 22px; line-height: 28px; }
  h4, html .h4-style { font-size: 20px; line-height: 26px; }
  h5, html .h5-style { font-size: 18px; line-height: 24px; }
  h6, html .h6-style { font-size: 16px; line-height: 22px; }

  .fl-mtx-slider.owl-carousel .owl-nav>div, .mtx-carousel.owl-carousel .owl-nav>div {
    line-height: 20px;
    font-size: 28px;
  }

  #logo img {
    width: auto;
    max-width: 150px;
  }

}

/* iPad */
@media (max-width: 989px) and (min-width: 768px) {

  html .huge-style { font-size: 30px; line-height: 36px; }
  h1, html .h1-style { font-size: 28px; line-height: 34px; }
  h2, html .h2-style { font-size: 24px; line-height: 30px; }

  nav#navigation {
    position: absolute;
  }
  #main-navigation {
    display: block !important;
    float: right;
    text-align: left;
  }
  #main-navigation > li {
    text-align: left;
    float: left;
    display: block;
  }
  #main-navigation > li > a {
    padding: 12px;
  }

  .tab-3-col .fl-col[frac="2"] {
    width: 31.73% !important;
    margin-left: 2.4% !important;
    float: left!important;
    clear: none !important;
  }

  .tab-3-col .fl-col[frac="2"]:nth-child(3n+1) {
    margin-left: 0px !important;
    clear: both !important;
  }


}

/* iPad & Above */
@media (min-width: 768px) {

  .mtx-feed-wrap.with-link .mtx-feed-header {width: 65.34%;}
  .mtx-feed-wrap.with-link .mtx-feed-archive-link-wrap {
      position: absolute;
      top: 0px;
      right: 0px;
      width: 30.66%;
      text-align: right;
  }

  .flex-blocks, .fl-mtx-slider .owl-stage {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
  }

  .flex-blocks, .flex-blocks > div, .flex-blocks > div > div, .flex-blocks > div > a,
  .fl-mtx-slider .owl-stage, .fl-mtx-slider .owl-stage > div, .fl-mtx-slider .owl-stage > div > div,
  .flex-slider .owl-stage, .flex-slider .owl-stage > div, .flex-slider .owl-stage > div > div,
  .fl-tabs-labels, .fl-tabs-labels .fl-tabs-label {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }

  .flex-blocks > div, .flex-blocks > div > div, .flex-blocks > div > a,
  .fl-mtx-slider .owl-stage > div, .fl-mtx-slider .owl-stage > div > div,
  .flex-slider .owl-stage > div, .flex-slider .owl-stage > div > div {
    -webkit-box-flex: 0 1 auto;
    -moz-box-flex: 0 1 auto;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
  }

  .fl-tabs-labels .fl-tabs-label {
    -webkit-box-flex: 1 1 auto;
    -moz-box-flex: 1 1 auto;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
  }

  .flex-blocks > div > div, .flex-blocks > div > a,
  .fl-mtx-slider .owl-stage > div > div,
  .flex-slider .owl-stage > div > div {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    flex-shrink: 1;
    min-width: 1px;
    max-width: 100%;
    width: 100%;
  }

  .flex-blocks.flex-blocks-centered > div > div,
  .flex-blocks.flex-blocks-centered > div > a,
  .flex-slider.flex-slider-centered .owl-stage > div > div {
    align-items: center;
    justify-content: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-align: center;
    -ms-flex-pack: center;
  }

  .flex-blocks.flex-blocks-bottom > div > div,
  .flex-blocks.flex-blocks-bottom > div > a {
    align-items: end;
    justify-content: end;
    -webkit-align-items: end;
    -webkit-box-align: end;
    -webkit-box-pack: end;
    -webkit-justify-content: end;
    -ms-flex-align: end;
    -ms-flex-pack: end;
  }

}

/* Mobile */
@media (max-width: 767px) {

  html .huge-style { font-size: 26px; line-height: 32px; }
  h1, html .h1-style { font-size: 24px; line-height: 30px; }
  h2, html .h2-style { font-size: 22px; line-height: 28px; }

  .page-section {
    padding-left: 30px;
    padding-right: 30px;
    box-sizing: border-box;
  }

  #logo img {
    width: auto;
    max-width: 130px;
  }
  header #logo {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .staff-single-block-wrap {
    float: none;
    width: 100%;
  }

  .mtx-slider .slide-item, .mtx-slider-wrap {
    height: 300px;
  }

  .boxed .boxed-overlay {display: block;}
  .boxed .slide-item .slide-overlay {display: none;}

  .slide-item .v-bottom {
    left: 20px;
    bottom: 40px;
  }

  .small-margin [class*="frac"], .wide-gutter .small-margin [class*="frac"],
  #main-wrap .small-margin .fl-col, #main-wrap .small-margin .no-margin .fl-col {
    float: none!important;
    clear: both!important;
    margin-left: 0px!important;
    width: 100%!important;
  }

  #main-navigation {
    margin-left: -30px;
    margin-right: -30px;
    border-top: 1px solid #dfdfdf;
  }

  #main-navigation > li {
    margin: 0px;
    border-bottom: 1px solid #dfdfdf;
  }

  #main-navigation > li > a {
    padding: 10px 30px;
    border: none;
  }

  #main-navigation > li.menu-item > ul.sub-menu {
    margin: 0px;
    padding: 0px 0px 10px;
    box-shadow: none;
    border: none;
  }

  #main-navigation li > ul.sub-menu li {
    border: none;
  }

  #main-navigation li > ul.sub-menu li > a {
    padding: 8px 40px;
  }

}

/* Mobile Landscape */
@media (max-width: 767px) and (min-width: 520px) {

  .staff-feed .frac4, .mtx-feed-type-staff .frac4 {
    float: left!important;
    width: 48%!important;
    margin-left: 4%!important;
    clear: none!important;
  }
  .staff-feed .frac4.mob-first, .mtx-feed-type-staff .frac4.mob-first {
    margin-left: 0px!important;
    clear: both!important;
  }


  #main-wrap .mob-wide-2-col .fl-col[frac="2"] {
    width: 48% !important;
    margin-left: 4% !important;
    float: left!important;
    clear: none !important;
  }

  #main-wrap .mob-wide-2-col .fl-col[frac="2"]:nth-child(odd) {
    margin-left: 0px !important;
    clear: both !important;
  }


}

/* Mobile Portrait */
@media (max-width: 519px) {

  #titlebar #titlebar-text, #breadcrumb {text-align: left;}

  .slide-item .v-bottom {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .not-on-pmob, #top-bar .gaphone span {
    display: none;
  }
  #top-bar .gaphone {
    width: 36px;
    padding: 0px;
    text-align: center;
    border-left: 1px solid #dfdfdf;
    border-right: 1px solid #dfdfdf;
    font-size: 16px;
    color: #222222;
    fill: #222222;
    display: block;
    float: left;
  }

}

/*               _        _
 _ __ ___   __ _| |_ _ __| |_  __
| '_ ` _ \ / _` | __| '__| \ \/ /
| | | | | | (_| | |_| |  |_|>  <
|_| |_| |_|\__,_|\__|_|  (_)_/\_\

*/
