/* Think Web Design, Think Matrix. https://thinkmatrix.uk */

/* Typography */

body, button, input, optgroup, select, textarea {
  font-family: "proxima-nova", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 16px;
  line-height: 24px;
  color:#1D1D1D;
}

strong {font-weight: 700;}

h1, html .h1-style, h2, html .h2-style, html .all-caps, html .huge-style, #titlebar #titlebar-title, .sidebar-widget-title {
  color:#1D1D1D;
  font-family: "barlow-condensed", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-style: normal;
}
h3, html .h3-style {
  color:#1D1D1D;
  font-weight: 700;
}
h4, html .h4-style, h5, html .h5-style, h6, html .h6-style {
  color:#1D1D1D;
  font-weight: 500;
}

html .huge-style, #titlebar #titlebar-title { font-size: 44px; line-height: 50px; }
h1, html .h1-style { font-size: 32px; line-height: 38px; }
h2, html .h2-style { font-size: 28px; line-height: 34px; }
h3, html .h3-style { font-size: 24px; line-height: 30px; }
h4, html .h4-style { font-size: 22px; line-height: 28px; }
h5, html .h5-style { font-size: 20px; line-height: 26px; }
h6, html .h6-style { font-size: 18px; line-height: 24px; }

html a { color:#1d1d1d; }
html a:hover { color:#00A755; }

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:#00A755;}



/* Custom Colours */

html .c-black {color:#222222;}
html .c-green {color:#00A755!important;}
html .c-white {color:#ffffff!important;}

.mtx-list .mtx-list-icon {color:#8c8990;}

/* Custom Backgrounds */

html .bg-grey {background-color:#d2d2d2;}
html .bg-black {background-color:#141414;}
html .bg-green {background-color:#00A990;}
html .bg-purple {background-color:#811859;}
html .bg-blue {background-color:#009ECF;}
html .bg-orange {background-color: #E85F28;}
html .bg-white {background-color: #ffffff;}

/* Custom Buttons */

html .btn, html .gform_wrapper .button {
    font-size: 20px;
    line-height: 26px;
    font-family: "barlow-condensed", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-style: normal;
    position: relative;
    z-index: 1;
    padding: 10px 50px 10px 40px;
}

html .btn.btn-small {
    padding: 4px 12px;
    font-size: 14px;
    line-height: 18px;
}

html .btn.btn-primary {
  color:#ffffff!important;
	background:none!important;
}
html .btn.btn-primary:before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  background: #008042;
  z-index: -1;
  clip-path: polygon(0% 0%, calc(100% - 7px) 0%, calc(100% - 30px) 100%, 0% 100%);
  -webkit-clip-path: polygon(0% 0%, calc(100% - 7px) 0%, calc(100% - 30px) 100%, 0% 100%);
  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;
}
html .btn.btn-primary:after {
    content: "";
    position: absolute;
    width: 23px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    background: #1D1D1D;
    clip-path: polygon(100% 0%, 100% 100%, 0% 100%);
    -webkit-clip-path: polygon(100% 0%, 100% 100%, 0% 100%);
}
html .btn.btn-primary.white-tri:after { background: #ffffff;}

html .btn.btn-primary:hover:before {
  background:#006634;
}

html .gform_wrapper .button, .mtx-pagination > .page-numbers.current {
  color:#ffffff!important;
	background:#008042!important;
}

html .toggle-open .btn.btn-primary, html .gform_wrapper .button:hover, .socials .social:hover {
  color:#ffffff!important;
	background:#006634!important;
}



html .btn.btn-green, html .btn.btn-primary.btn-small, html #to-top  {
  color:#ffffff!important;
	background:#008042!important;
}
html .btn.btn-primary.btn-small:before, html .btn.btn-primary.btn-small:after,
html #to-top:before, html #to-top:after { display: none;}

html .btn.btn-green:hover, html .toggle-open .btn.btn-green, html #to-top:hover {
  color:#ffffff!important;
	background:#006634!important;
}

/* Site Wide */

.auto-ents .mtx-btn-image {
    margin-bottom: 20px;
}

ol > li {margin-bottom: 10px;}
ol > li > ul {margin-top: -10px;}

html .mtx-yt-play {color:#00A755;}

.widget li {
    padding-left: 20px;
}
.widget li:before {
  color:#00A755;
  top: 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;
  position: relative;
}

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: #00A755;
    font-size: 14px;
    line-height: 24px;
}

@font-face {
  font-family: 'devonrfu';
  src:  url(css/webfonts/devonrfu.eot?tkk2pn);
  src:  url(css/webfonts/devonrfu.eot?tkk2pn#iefix) format('embedded-opentype'),
    url(css/webfonts/devonrfu.ttf?tkk2pn) format('truetype'),
    url(css/webfonts/devonrfu.woff?tkk2pn) format('woff'),
    url(css/webfonts/devonrfu.svg?tkk2pn#devonrfu) format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="drfu-"], [class*=" drfu-"] {
    font-family: 'devonrfu' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.drfu-rugby-ball-solid:before {
    content: "\e900";
}

.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: #d2d2d2;}

#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;
}

/* Header */

#page-header, .absolute-header #page-header {
    position: absolute;
    left: 0;
    width: 100%;
}

#header-container-background {background: none;}

header #logo {
    margin-top: 30px;
    margin-bottom: 30px;
}

#titlebar {
  background-color: #1D1D1D;
  background-image: url(images/tex-dark.jpg);
  padding-top: 220px;
  padding-bottom: 100px;
}

#titlebar:after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: -1px;
    right: -1px;
    height: 100px;
    background: #fff;
    display: block;
    z-index: 99;
    clip-path: polygon(100% 0%, 100% 100%, 0% 100%);
    -webkit-clip-path: polygon(100% 0%, 100% 100%, 0% 100%);
}

#titlebar > .container { padding: 0px;}

#titlebar #titlebar-title,
#titlebar #titlebar-description {color:#ffffff;}

#titlebar #titlebar-description p:last-child {margin-bottom: 0px;}

#titlebar .titlebar-bg-img-wrap {
    right: 0px;
    left: auto;
    width: 55%;
    top: 0px;
    bottom: 0px;
    position: absolute;
    overflow: hidden;
}

#titlebar .titlebar-bg {
  right: auto;
  width: 90%;
  left: 5%;
  clip-path: polygon(30% 0%, 100% 0%, 70% 100%, 0% 100%);
  -webkit-clip-path: polygon(30% 0%, 100% 0%, 70% 100%, 0% 100%);
}

#titlebar .tbg-mask-l {
    position: absolute;
    top: -1px;
    left: -2px;
    width: 90%;
    bottom: -1px;
    background: linear-gradient(205deg, #00A755, #1d1d1d);
    clip-path: polygon(30% 0%, calc(30% + 50px) 0%, calc(0% + 50px) 100%, 0% 100%);
    -webkit-clip-path: polygon(30% 0%, calc(30% + 50px) 0%, calc(0% + 50px) 100%, 0% 100%);
}

#titlebar .tbg-mask-r {
    position: absolute;
    top: -1px;
    right: -1px;
    bottom: -1px;
    width: 28%;
    background: linear-gradient(205deg, #00A755, transparent);
    clip-path: polygon(100% 0%, 100% 100%, 0% 100%);
    -webkit-clip-path: polygon(100% 0%, 100% 100%, 0% 100%);
}


#drfu-breadcrumb #breadcrumb {
    margin: 0px !important;
    position: relative;
    text-align: right;
    padding: 0px;
    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;
}

#breadcrumb li.sep {
    color: #00A755;
    opacity: 1;
}

/* Nav */

nav#navigation {
    top: 50%;
    margin-top: -40px;
    bottom: auto;
}

#main-navigation {
    position: relative;
    padding-left: 40px;
    box-shadow: 0px 0px 18px rgb(0 0 0 / 16%);
}

#main-navigation:before {
    content: "";
    position: absolute;
    top: 0px;
    bottom: 0px;
    right: 0px;
    left: 0px;
    background: #fff;
    clip-path: polygon(calc(0% + 44px) 0%, 100% 0%, 100% 100%, 0% 100%);
    -webkit-clip-path: polygon(calc(0% + 44px) 0%, 100% 0%, 100% 100%, 0% 100%);
    opacity: 0.9;
    z-index: -1;
}

#main-navigation:after {
    content: "";
    position: absolute;
    width: 500px;
    top: 0px;
    bottom: -18px;
    background: #00A755;
    left: -30px;
    z-index: -2;
    clip-path: polygon(calc(0% + 56px) 0%, calc(0% + 66px) 0%, calc(0% + 16px) 90%, 100% 90%, 100% 100%, 0% 100%);
    -webkit-clip-path: polygon(calc(0% + 56px) 0%, calc(0% + 66px) 0%, calc(0% + 16px) 90%, 100% 90%, 100% 100%, 0% 100%);
}

#main-navigation > li a {
    font-size: 17px;
    line-height: 20px;
    text-transform: uppercase;
    font-family: "barlow-condensed", sans-serif;
    font-weight: 700;
    font-style: normal;
    padding: 30px 15px;
    color:#1D1D1D;
    transition: color 0.2s ease-in-out;
    -moz-transition: color 0.2s ease-in-out;
    -webkit-transition: color 0.2s ease-in-out;
    -o-transition: color 0.2s ease-in-out;
}
#main-navigation li > ul.sub-menu li > a { color:#ffffff;}
#main-navigation > li a:hover, #main-navigation li > ul.sub-menu li > a:hover { color:#00A755;}

#main-navigation > li.btn-style > a {
  font-size: 20px;
  background: #1D1D1D;
  color: #ffffff;
  padding: 30px 20px;
  margin-left: 10px;
}
#main-navigation > li.btn-style > a:hover {
  background: #00A755;
  color:#ffffff;
}

#main-navigation>li.menu-item-has-children>a:after {
    color: #00A755;
}

#main-navigation li > ul.sub-menu {
    width: 340px;
    border: none;
    transform: translateX(-50%);
    left: 50%;
    padding: 30px 10px;
    box-sizing: border-box;
    overflow: hidden;
    margin-top: -1px;
    background: rgb(29 29 29 / 95%);
}
#main-navigation li > ul.sub-menu:before {
    content: "";
    position: absolute;
    background: #ffffff;
    width: 30px;
    height: 30px;
    top: -15px;
    left: 50%;
    margin-left: -15px;
    transform: rotate(45deg);
    opacity: 0.9;
}
#main-navigation li > ul.sub-menu:after {
    content: "";
    display: block;
    clear: both;
    position: absolute;
    bottom: 0px;
    height: 10px;
    left: 0px;
    right: 0px;
    background: #00A755;
}

#main-navigation li > ul.sub-menu > li {
    float: left;
    width: 50%;
    border: none;
}
#main-navigation li > ul.sub-menu > li:nth-child(odd) {
  clear: both;
}

/* Mob Menu */

html #main-navigation-toggle {
    position: relative;
    top: auto;
    margin: 0px -30px 0px -30px;
}
html #main-navigation-toggle > a {
    background: #fff;
    color:#1d1d1d;
    display: block;
    width: auto;
    border: none;
    height: auto;
    line-height: 24px;
    padding: 10px 20px;
    font-family: "barlow-condensed", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-style: normal;
    font-size: 20px;
}
#main-navigation-toggle .main-navigation-toogle-text {
    display: inline-block;
    vertical-align: top;
}
html #main-navigation-toggle > a i {
    margin-right: 8px;
}


/* Slider */

.mtx-slider-wrap {background: #141414;}
.mtx-slider-wrap .loading .spinner {background: #e85f28;}

#mtx-slider-8 .slide-title { font-size: 64px; line-height: 70px; }

.slide-item.location-left .slide-img {background-position: 55% 50%;}

.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;
    margin-bottom: 20px;
}
.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; }



/* Beaver */

.divi-cols .fl-col > .fl-col-content {position: relative;}
.divi-cols .fl-col > .fl-col-content:before {
    content: "";
    position: absolute;
    top: 0px;
    bottom: 20px;
    left: -4.5%;
    background: #fff;
    width: 1px;
    opacity: 0.5;
}
.divi-cols .fl-col:first-child > .fl-col-content:before {display: none;}

.fl-row.emblem-bg .fl-row-content-wrap:before, .page-section.emblem-bg:before {
  content: "";
  position: absolute;
  background-image: url(images/drfu-bg.svg);
  background-position: left center;
  background-repeat: no-repeat;
  background-size: contain;
  height: 350px;
  left: -50px;
  width: 720px;
  top: 5%;
}

.fl-row.stripe-left .fl-row-content-wrap:after {
    content: "";
    position: absolute;
    background-image: url(images/stripe-l.svg);
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
    bottom: 0px;
    right: 84%;
    width: 270px;
    top: 0px;
    z-index: -1;
    opacity: 0.7;
}
.fl-row.stripe-right .fl-row-content-wrap:after {
    content: "";
    position: absolute;
    background-image: url(images/stripe-r.svg);
    background-position: right center;
    background-repeat: no-repeat;
    background-size: contain;
    bottom: 0px;
    right: 0px;
    width: 430px;
    height: 360px;
    z-index: -1;
}

.fl-row.triangle-right .fl-row-content-wrap:before {
    content: "";
    position: absolute;
    background-image: url(images/triangle-r-bg.svg);
    background-position: right center;
    background-repeat: no-repeat;
    background-size: contain;
    bottom: 0px;
    right: 0px;
    width: 430px;
    height: 600px;
    z-index: 1;
}

/* Beaver Modules */

.mtx-carousel-item a:hover {
    opacity: 0.8;
}

.mtx-icon-text {margin: 0px;}
.mtx-icon-text p:last-child {margin: 0px;}
.mtx-icon {
  color: #00A755;
  fill: #00A755;
}

.mtx-btn-image {
    display: block;
    position: relative;
    overflow: hidden;
    background: #1d1d1d;
    box-shadow: 0px 0px 23px 0px rgba(0, 0, 0, 0.3);
}

.mtx-btn-image .mtx-btn-image-img {
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    width: 70%;
}

.mtx-btn-image .mtx-btn-overlay.overlay {
    background: linear-gradient(90deg, rgb(29 29 29 / 0%), #1D1D1D);
    right: auto;
    width: 70%;
    left: 0px;
    opacity: 1;
}

.mtx-btn-image .mtx-btn-overlay:after {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  background: #1d1d1d;
  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-btn-image:hover .mtx-btn-overlay:after { opacity: 0.4;}

.mtx-btn-image .mtx-btn-text-part {
    display: table;
    width: 100%;
    min-height: 110px;
    z-index: 99;
    position: relative;
    padding: 30px;
    text-align: right;
}

.mtx-btn-image .mtx-btn-text {
    display: table-cell;
    margin: 0px;
    color: #ffffff !important;
    vertical-align: middle;
}

/* Sidebar */

.widget_recent_entries ul {
    background: #f2f2f2;
    padding: 30px 20px 22px;
    background-image: url(images/tex-lite.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Footer */

footer {
  background-color: #1D1D1D;
  background-image: url(images/tex-dark.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  z-index: 1;
}

footer:before {
  content: "";
  position: absolute;
  background-image: url(images/drfu-bg.svg);
  background-position: right center;
  background-repeat: no-repeat;
  background-size: contain;
  bottom: 5%;
  right: -7%;
  width: 720px;
  top: 5%;
  z-index: -1;
}

footer:after {
    content: "";
    position: absolute;
    z-index: -2;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: linear-gradient(45deg, rgb(29 29 29 / 0%), rgb(29 29 29));
}




/* Footer - Widgets */

#footer-items {
  background: none;
  padding-top: 60px;
  padding-bottom: 30px;
}

#footer-items .footer-section {color: #ffffff;}
#footer-items .footer-section a {color: #ffffff;}
#footer-items .footer-section a:hover {color: #00A755;}

#footer-items .sidebar-widget-title {color: #ffffff;}
#footer-items .mtx-contact-item i {color: #00A755;}

#footer-items .foot-logo-wrap {
    float: left;
    width: 22%;
    display: block;
    margin-right: 4%;
}
#footer-items .row {
    overflow: hidden;
}

#footer-items .mtx-socials.icon-based .social {
    font-size: 26px;
    line-height: 30px;
    color: #ffffff;
    fill: #ffffff;
}
#footer-items .mtx-socials.icon-based .social:hover {
  color: #00A755;
  fill: #00A755;
}

/* Footer - Bottom Bar */

#bottom-bar {background: none;}
#bottom-bar, #bottom-bar a {color:#ffffff;}
#bottom-bar a:hover {color:#00A755;}

#bottom-bar .container {
    border-top: 1px solid #00A755;
    padding-top: 20px;
    padding-bottom: 20px;
}

#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;
    color:#00A755;
}
#menu-footer-menu li:first-child:before {display: none;}



/* Homepage */

.home .mtx-slider-wrap:after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: -1px;
    right: -1px;
    height: 100px;
    background: #fff;
    display: block;
    z-index: 99;
    clip-path: polygon(100% 0%, 100% 100%, 0% 100%);
    -webkit-clip-path: polygon(100% 0%, 100% 100%, 0% 100%);
}

/* Home Tabs / Navigation */

#home-tabs {
    margin-top: -200px;
    z-index: 99;
    position: relative;
}

#home-tabs .home-tabs-header {
    float: right;
}

#home-tabs .home-tab-heading, #home-tabs .home-tab-inner-heading {
    float: left;
    display: block;
    padding: 12px 44px;
    background: #272727;
    color: #ffffff;
}
#home-tabs .home-tab-inner-heading {
    float: none;
}
#home-tabs .home-tab-heading:hover, #home-tabs .home-tab-inner-heading:hover {
  background:#00A755;
}
#home-tabs .home-tab-heading.active, #home-tabs .home-tab-inner-heading.active {
  background: #f2f2f2;
  color:#1D1D1D;
  pointer-events: none;
}

#home-tabs .home-tabs-body {
    clear: both;
    box-shadow: 0px 0px 23px rgb(0 0 0 / 30%);
}

#home-tabs .home-tab-content {
    display: none;
    background-color: #F2F2F2;
    padding: 30px 30px 10px;
    box-sizing: border-box;
    background-image: url(images/tex-lite.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
#home-tabs .home-tab-content.active { display: block; }

#home-tabs .home-nav-link {
    position: relative;
    padding-left: 80px;
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
    color:#1D1D1D;
}
#home-tabs .home-nav-link:hover { color:#00A755;}

#home-tabs .home-nav-link i {
    position: absolute;
    left: 20px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    top: 50%;
    margin-top: -20px;
    font-size: 38px;
    text-align: center;
}

#home-tabs .home-nav-link .hnlink-wrap {
    display: table;
    width: 100%;
    min-height: 70px;
}

#home-tabs .home-nav-link .hnlink-inner {
    display: table-cell;
    vertical-align: middle;
}

/* Timeline */

.mtx-heading.timeline-date {
    box-shadow: 0px 0px 23px rgb(0 0 0 / 30%);
    background: #1d1d1d;
    color: #00A755!important;
    padding: 10px 20px;
    max-width: 450px;
}

/* 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: #00a755!important;
    color: #ffffff!important;
    fill:#ffffff!important;
    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;
  fill:#ffffff!important;
  background:#1D1D1D!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 40px;}


/* Blog */

.post-title-wrap {margin-bottom: 30px;}
.post-title-wrap .inner-post-title {margin: 0px;}

.mtx-post .post-metas {
    font-size: 16px;
    line-height: 24px;
    border: none;
    padding: 0px;
}
.mtx-post .post-metas .event-date {
    display: inline-block;
}
.event-date i, .post-metas .divi { color:#00A755;}
.post-metas .divi { margin:0px 8px;}

.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%;
}

.news-block .news-block-upper {
    height: 0px;
    overflow: hidden;
    display: block;
    padding-bottom: 60%;
    position: relative;
    background: #1d1d1d;
}

.news-block .news-block-upper .news-block-media {
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    width: 62%;
}

.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;
}

.news-block .news-block-upper .mtx-block-img {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

.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)";
}

.news-block .news-block-upper .overlay {
    background: linear-gradient(90deg, rgb(29 29 29 / 0%), #1D1D1D);
    opacity: 1;
}

.news-block .news-block-upper .overlay:before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: #1d1d1d;
    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;
}
.news-block .news-block-upper:hover .overlay:before {
  opacity: 0.4;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
}

.news-block .news-block-upper-text {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    width: 66%;
    padding: 30px;
    box-sizing: border-box;
}

.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;
}

.news-block .news-block-title {
    margin: 18px 0px 0px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    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;
}

.news-block-lower {
    background: #272727;
    padding: 30px;
    box-sizing: border-box;
}

.news-block-lower .mtx-block-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  padding-bottom: 0;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-block .news-block-date {
    margin: 12px 0px 0px;
}

.news-block .news-block-date .divi {margin: 0px 8px;}

blockquote {
    margin: 6px 0px 22px;
    background: #f5f5f5;
    padding: 30px 30px 10px;
    position: relative;
}

.news-row {
    padding-left: 28%;
    position: relative;
    background: #1d1d1d;
}

.news-row .news-row-media {
    display: block;
    width: 28%;
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    overflow: hidden;
}

.news-row .news-row-media .mtx-block-img {
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
}

.news-row .news-row-media .overlay {
    background: linear-gradient(90deg, rgb(29 29 29 / 0%), #1D1D1D);
    opacity: 1;
    left: auto;
    width: 60%;
}

.news-row .news-row-media .overlay:before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  background: #1d1d1d;
  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;
}
.news-row .news-row-media:hover {
  opacity: 0.4;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
}

.news-row .news-row-text {
    padding: 30px;
}

.cat-filter-bar {
    margin-bottom: 20px;
}

.cat-filter-bar .btn.btn-filter {
    padding: 8px 26px;
    font-size: 18px;
    line-height: 22px;
    margin: 0px 10px 10px 0px;
}

/* Resources */

.resource-block.cust-image .mtx-block-img {
    top: 6px;
    bottom: 6px;
    left: 6px;
    right: 6px;
    background-size: contain;
}

.mtx-block .doc-links .btn {
    margin: auto 12px 0px 0px;
}

.mtx-pdf-wrap {
    margin-bottom: 30px;
    background: #f2f2f2;
}
.mtx-pdf-wrap .ci-pdf-viewer {
    max-width: 1000px;
    margin: auto;
}
.mtx-pdf-wrap .loading-info {display: none!important;}

.resource-links {margin: 0px 0px 18px;}

/* Events */

.event-details-box-wrap {
    background: #EFEFEF;
    display: block;
    padding: 30px 30px 10px;
    overflow: hidden;
    margin-bottom: 20px;
    margin-top: 30px;
}
.event-details-box .ed-title {
    display: block;
    margin: 0px 0px 6px;
}
.event-details-box .event-date {
    margin-bottom: 20px;
}

.mtx-block-media .event-date {
    background: #222222;
    color: #fff;
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    padding: 4px 10px;
    border-radius: 0px 0px 4px 0px;
}

.month-divi {
    display: block;
    text-align: center;
    padding: 8px 30px;
    color: #fff;
    font-family: "barlow-condensed", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
    position: relative;
}
.month-divi:before {
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: -999px;
    background: #1d1d1d;
    z-index: -1;
    clip-path: polygon(0% 0%, 100% 0%, calc(100% - 24px) 100%, 0% 100%);
    -webkit-clip-path: polygon(0% 0%, 100% 0%, calc(100% - 24px) 100%, 0% 100%);
}

.mtx-post .post-type {
    margin: 0px 0px 6px;
    color: #79c1ff;
    font-weight: 700;
}

/* Staff */

.staff-row .staff-row-media {
    float: left;
    width: 26%;
    margin-right: 4%;
    max-width: 260px;
    margin-bottom: 20px;
}

.staff-row .news-block-media {
    height: 0px;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    background: #1d1d1d;
    box-shadow: 0px 0px 23px rgb(0 0 0 / 30%);
}

.staff-row .mtx-block-img {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

.staff-row .staff-row-text {
    overflow: hidden;
}

.staff-feed .staff-row {
    padding-bottom: 20px;
    margin-bottom: 40px;
    border-bottom: 2px solid #f2f2f2;
}

.staff-feed .staff-row:last-child {
  margin-bottom: 0px;
  padding-bottom:0px;
  border: none;
}

/* Clubs */

.club-filter-header {
    cursor: pointer;
    display: none!important;
    position: relative;
}
.club-filter-header i {
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    right: 30px;
    margin-top: -10px;
}
.club-filter-toggle .club-filter-header i.fa-minus { display: none;}
.club-filter-toggle.active .club-filter-header i.fa-minus { display: block;}
.club-filter-toggle.active .club-filter-header i.fa-plus { display: none;}

.club-filter-bar {
    margin-bottom: 40px;
}

.club-filter-form {
    position: relative;
    padding-right: 60px;
}

.club-filter-form .filter-reset {
  position: absolute;
  top: 0px;
  right: 0px;
}

.club-filter-form .club-filters {
    overflow: hidden;
}

.club-filter-form .club-filters.club-filter-cats {
  margin-right: 20px;
  padding-right: 20px;
  position: relative;
  float: left;
}
.club-filter-form .club-filters.club-filter-cats:before {
    display: block;
    position: absolute;
    right: 0px;
    width: 2px;
    background: #00A755;
    top: 0px;
    bottom: 12px;
}

.club-filters .filter-btn, .club-filter-form .filter-reset {
    font-family: "barlow-condensed", sans-serif;
    display: block;
    float: left;
    background: #1d1d1d;
    color: #ffffff;
    padding: 4px 16px;
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
    margin: 0px 6px 12px 0px;
    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;
    cursor: pointer;
}
.club-filters .filter-btn:hover {
    background: #666;
}
.club-filters .filter-btn.active, .club-filters input[type="radio"]:checked+label {
    background: #00a654;
    pointer-events: none;
}

.club-filters input[type="radio"] {
    display: none;
}

.club-filter-form .filter-reset {
  float: none;
  opacity: 0.5;
  pointer-events: none;
  background: #00a654;
  width: 34px;
  height: 34px;
  padding: 0px;
  text-align: center;
  line-height: 34px;
  font-size: 15px;
}
.club-filter-form .filter-reset.active {
  opacity: 1;
  pointer-events: all;
}
.club-filter-form .filter-reset:hover { background: #007E40;}

.club-block {
    background: #F2F2F2;
    padding: 30px 30px 0px;
    box-shadow: 0px 0px 23px rgb(0 0 0 / 30%);
    margin-bottom: 30px;
}

.club-block .club-block-media {
    float: left;
    width: 120px;
    margin-right: 4%;
    margin-bottom: 30px;
}

.club-block .club-block-media .news-block-media {
    height: 0px;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.club-block .club-block-media .mtx-block-img {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  background-size: contain;
}

.club-feed.cat-female .club-contacts.male {display: none;}
.club-feed.cat-male .club-contacts.female {display: none;}

.club-block .club-text {
  overflow: hidden;
  margin-bottom: 6px;
}

.club-block .club-block-title {
    margin: 0px 0px 12px;
}

.club-block .club-tags {
    margin-top: -8px;
    margin-bottom: 12px;
    font-size: 15px;
}
.club-block .club-tags span {
    font-weight: 600;
}
.club-block .club-tags span:before {
    content: "|";
    margin: 0px 6px;
    opacity: 0.5;
}
.club-block .club-tags span:first-child:before {display: none;}

.club-block .club-contacts p, .club-block .club-contacts .mtx-contact-item {
    margin-bottom: 4px;
}

.club-block .mtx-contact-item.club-address {
    margin-top: 16px;
}

html .club-block .club-block-link {
    margin: auto -30px 0px;
    width: auto;
    box-sizing: border-box;
    text-align: center;
}

.club-text .mtx-socials {
    margin-top: 16px;
}
.club-text .mtx-socials.icon-based .social {
    background: #008042;
    color: #ffffff;
    fill: #ffffff;
    height: 30px;
    width: 30px;
    line-height: 30px;
    padding: 0px;
    text-align: center;
    margin: 0px 6px 6px 0px;
    border: none;
    font-size: 16px;
}
.club-text .mtx-socials.icon-based .social:hover {
  background: #006634;
  color: #ffffff;
  fill: #ffffff;
}


/* Contact Page */


/* Events Pages */


/* Forms */

/* Cookies */

html .cky-cookie-audit-table th {
    background: #008042;
    color: #fff;
}
html .cky-cookie-audit-table tr:nth-child(2n + 1) td {
    background: #f1f1f1;
}

/* Ultra Widescreen & Above */
@media (min-width: 1461px) {

  #mtx-slider-8 .slide-title { font-size: 90px; line-height: 92px; }
  html .huge-style, #titlebar #titlebar-title { font-size: 60px; line-height: 64px; }
  h1, html .h1-style { font-size: 36px; line-height: 42px; }
  h2, html .h2-style { font-size: 30px; line-height: 36px; }

  .slide-item .slide-text-outer {max-width: 580px;}

  #main-navigation > li a {padding: 30px 20px;}
  #main-navigation > li.btn-style > a {
    padding: 30px 40px;
    margin-left: 20px;
  }

  .club-block .club-block-media {width: 200px;}

  .club-filters .filter-btn {
    padding: 6px 18px;
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
  }
  .club-filter-form .filter-reset {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
  }

}

/* Ultra Widescreen */
@media (max-width: 1460px) and (min-width: 1200px) {

  #mtx-slider-8 .slide-title { font-size: 70px; line-height: 74px; }
  html .huge-style, #titlebar #titlebar-title { font-size: 50px; line-height: 56px; }
  h1, html .h1-style { font-size: 32px; line-height: 38px; }

  .club-block .club-block-media {width: 160px;}

}

/* Widescreen & Above */
@media (min-width: 1200px) {

  h3, html .h3-style { font-size: 26px; line-height: 32px; }


  #the-page.sidebar-layout, .page-section {
    padding-top: 50px;
    padding-bottom: 30px;
  }

  #home-tabs .home-tab-content .frac4 {
    width: 23.2%!important;
    clear: none!important;
    margin-left: 2.4%!important;
    float: left!important;
  }
  #home-tabs .home-tab-content .frac4.wide-first {
    margin-left: 0px!important;
    clear: both!important;
  }

  .mtx-block {margin-bottom: 30px;}

  .staff-feed .frac4, .mtx-feed-type-staff .frac4 {
    width: 22%!important;
    margin-left: 4%!important;
    clear: none!important;
  }
  .staff-feed .frac4.wide-first, .mtx-feed-type-staff .frac4.wide-first {
    margin-left: 0px!important;
    clear: both!important;
  }

}

/* Desktop & Below */
@media (max-width: 1199px) {

}

/* Desktop */
@media (max-width: 1199px) and (min-width: 990px) {

  #logo img {max-width: 100px;}
  nav#navigation {margin-top: -34px;}
  #main-navigation:after {bottom: -15px;}
  #main-navigation > li a {
    font-size: 15px;
    padding: 24px 10px;
  }
  #main-navigation > li.btn-style > a {
    font-size: 15px;
    padding: 24px 12px;
    margin-left: 5px;
  }
  #titlebar:after, .home .mtx-slider-wrap:after {height: 80px;}

  .slide-item .slide-text-outer {
    max-width: 480px;
  }

  #home-tabs {margin-top: -160px;}

  .fl-row.stripe-right .fl-row-content-wrap:after {right: -100px;}
  .fl-row.emblem-bg .fl-row-content-wrap:before, .page-section.emblem-bg:before {left: -200px;}

  #home-tabs .home-tab-heading, #home-tabs .home-tab-inner-heading {padding: 12px 30px;}

}

/* 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; }

  #page-header, .absolute-header #page-header {
    position: relative;
  }
  #header-container-background, .absolute-header #header-container-background {
      background-color: #1D1D1D !important;
      background-image: url(images/tex-dark.jpg) !important;
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
  }
  header #logo {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  #logo img {max-width: 100px;}
  nav#navigation {margin-top: 0px;}
  #main-navigation li > ul.sub-menu:before {
    width: 20px;
    height: 20px;
    top: -10px;
  }

  .fl-mtx-slider.owl-carousel .owl-nav>div, .mtx-carousel.owl-carousel .owl-nav>div {
    line-height: 20px;
    font-size: 28px;
  }

  .club-block .club-block-media {
    float: none;
    margin-right: 0px;
    margin-bottom: 20px;
  }

  .club-filter-toggle {margin-bottom: 30px;}
  .club-filter-header {
    display: block!important;
  }
  .club-filter-toggle .club-filter-content {display: none;}
  .club-filter-toggle.active .club-filter-content {
    display: block;
    margin-top: 20px;
  }

  .club-filter-form .club-filters, .club-filter-form .club-filters.club-filter-cats {
    float: none;
    margin-right: 0px;
    padding-right: 0px;
  }
  .club-filter-form .club-filters.club-filter-cats {
    padding-bottom: 10px;
    margin-bottom: 20px;
  }
  .club-filter-form .club-filters.club-filter-cats:before {
    height: 2px;
    width: auto;
    left: 0px;
    top: auto;
    bottom: 0px;
  }

}

/* iPad */
@media (max-width: 989px) and (min-width: 768px) {

  html .huge-style, #titlebar #titlebar-title { font-size: 34px; line-height: 40px; }
  h1, html .h1-style { font-size: 30px; line-height: 36px; }
  h2, html .h2-style { font-size: 26px; line-height: 32px; }


  header #logo {float: none; }

  #main-navigation {
    box-shadow: none;
    padding-left: 0px;
  }
  #main-navigation:before {
    clip-path: none;
    -webkit-clip-path: none;
    left: -999px;
    right: -999px;
    box-shadow: 0px 0px 18px rgb(0 0 0 / 16%);
  }
  #main-navigation:after {display: none;}
  #main-navigation > li {vertical-align: top;}
  #main-navigation > li a {
    font-size: 15px;
    padding: 24px 10px;
  }
  #main-navigation > li.btn-style > a {
    font-size: 15px;
    padding: 24px 12px;
    margin-left: 10px;
  }
  #main-navigation > li a span {display: none;}

  #main-navigation li > ul.sub-menu {
    width: 180px;
    margin-top: 0px;
    padding: 20px 2px;
  }
  #main-navigation li > ul.sub-menu > li {
    float: none;
    width: 100%;
    text-align: left;
  }

  #titlebar {
    padding-top: 100px;
    padding-bottom: 70px;
  }
  #titlebar:after, .home .mtx-slider-wrap:after {height: 60px;}

  .mtx-slider .slide-item, .mtx-slider-wrap {
    height: 560px !important;
  }
  .home .mtx-slider .slide-item:after {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 80%;
    bottom: 0px;
    background: linear-gradient(90deg, #1d1d1d 30%, transparent);
    opacity: 1;
  }
  .home .slide-item .slide-text-outer {
    max-width: 420px;
  }
  .home .slide-item .slide-text-wrap {
    margin-top: -20px;
  }

  #home-tabs {margin-top: -80px;}
  #home-tabs .home-tab-heading span {
    display: none;
  }
  #home-tabs .home-tab-heading, #home-tabs .home-tab-inner-heading {padding: 12px 30px;}

  .fl-row.stripe-right .fl-row-content-wrap:after {right: -150px;}
  .fl-row.emblem-bg .fl-row-content-wrap:before, .page-section.emblem-bg:before {left: -250px;}


}

/* iPad & Above */
@media (min-width: 768px) {

  #home-tabs .home-tab-inner-heading {display: none!important;}

  .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) {

  #mtx-slider-8 .slide-title { font-size: 54px; line-height: 60px;}
  html .huge-style, #titlebar #titlebar-title { font-size: 28px; line-height: 34px; }
  h1, html .h1-style { font-size: 26px; line-height: 32px; }
  h2, html .h2-style { font-size: 24px; line-height: 30px; }

  header #logo {
    padding: 0px;
    text-align: center;
  }

  #titlebar {
    padding-top: 100px;
    padding-bottom: 70px;
  }
  #titlebar:after, .home .mtx-slider-wrap:after {height: 40px;}
  #titlebar .titlebar-bg-img-wrap {
    width: 100%;
  }
  #titlebar .titlebar-bg-img-wrap:after {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: #1d1d1d;
    opacity: 0.6;
  }

  #drfu-breadcrumb #breadcrumb {
    padding-left: 30px;
    padding-right: 30px;
    box-sizing: border-box;
    padding-top: 10px;
  }

  .page-section {
    padding-left: 30px;
    padding-right: 30px;
    box-sizing: border-box;
  }

  .staff-single-block-wrap {
    float: none;
    width: 100%;
  }

  .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 {
    box-shadow: none;
    padding-left: 0px;
    margin-left: -30px;
    margin-right: -30px;
  }
  #main-navigation:before {
    -webkit-clip-path: none;
    clip-path: none;
    opacity: 1;
  }
  #main-navigation:after {display: none;}

  #main-navigation > li {
    border-top: 1px solid #d9d9d9;
  }
  #main-navigation > li > a {
    font-size: 18px;
    padding: 10px 30px;
  }
  #main-navigation > li.btn-style > a {
    margin: 0px;
    padding: 15px 30px;
    font-size: 18px;
  }
  #main-navigation li > ul.sub-menu {
    transform: none;
    box-shadow: none;
    padding: 20px 0px 10px !important;
    margin: 0px !important;
  }
  #main-navigation li > ul.sub-menu:before {
    opacity: 1;
  }
  #main-navigation li > ul.sub-menu:after {display: none;}
  #main-navigation li > ul.sub-menu > li {
    float: none;
    width: 100%;
    box-sizing: border-box;
  }
  #main-navigation li > ul.sub-menu li > a {
    padding: 10px 30px;
    font-size: 18px;
  }

  #home-tabs {margin-top: -50px;}
  #home-tabs .home-tabs-header {display: none;}

  #home-tabs .home-nav-link {
    padding-left: 60px;
    margin-bottom: 4px;
  }
  #home-tabs .home-nav-link i {
    left: 10px;
    font-size: 28px;
  }
  #home-tabs .home-nav-link .hnlink-wrap {min-height: 60px;}
  #home-tabs .home-tab-content {
    padding: 20px 20px 10px;
  }

  .home .slide-item .slide-text-outer {
    margin: auto;
  }
  .home .slide-item.location-left .slide-text-wrap, .home .slide-item.location-right .slide-text-wrap {
    text-align: center;
  }
  .mtx-slider .slide-item, .mtx-slider-wrap {
    height: 400px !important;
  }
  .home .mtx-slider .slide-item:after {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: #1d1d1d;
    opacity: 0.8;
  }
  .home .slide-item .slide-text-wrap {
    margin-top: -20px;
  }

  .fl-row.stripe-right .fl-row-content-wrap:after {right: -200px;}
  .fl-row.emblem-bg .fl-row-content-wrap:before, .page-section.emblem-bg:before {left: -300px;}

  #footer-items {
    padding-top: 30px;
    padding-bottom: 0px;
  }
  #footer-items .foot-logo-wrap {
    float: none;
    width: 100%;
    margin: 0px 0px 30px;
  }

  .divi-cols .fl-col > .fl-col-content:before {display: none;}

}

/* 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;
  }

  #home-tabs .home-tab-content .frac4 {
    float: left !important;
    width: 48.8% !important;
    clear: none !important;
    margin-left: 2.4% !important;
  }
  #home-tabs .home-tab-content .frac4.tab-first {
    margin-left: 0px!important;
    clear: both!important;
  }

}

/* Mobile Portrait */
@media (max-width: 519px) {

  #mtx-slider-8 .slide-title { font-size: 44px; line-height: 50px; }
  #mtx-slider-8 .slide-text { font-size: 16px; line-height: 22px; }

  .staff-row .staff-row-media {
    float: none;
    width: 100%;
    margin-right: 0px;
  }

}

/*               _        _
 _ __ ___   __ _| |_ _ __| |_  __
| '_ ` _ \ / _` | __| '__| \ \/ /
| | | | | | (_| | |_| |  |_|>  <
|_| |_| |_|\__,_|\__|_|  (_)_/\_\

*/
