/* ----------------------------------------------------------------
Copyright (c) Demosphere International Inc.
No permission is granted for any purpose without prior
written consent from Demosphere International Inc.
-------------------------------------------------------------------*/

/* PAGE STRUCTURE */
* { box-sizing: border-box; }
body { margin: 0; padding: 0; height: 100%; background: #00653c; }

/* Wrapper */
#design-wrapper { margin: 0; padding: 0; width: 100%; overflow-x: hidden; }
#design-wrapper .container { width: 100%; max-width: 1400px; }
#design-wrapper .container-fluid { padding: 0; }

/* Header */
#design-header-wrapper { position: relative; top: 0; margin: 0; width: 100%; height: 150px; background: linear-gradient(to bottom, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%); box-sizing: border-box; transition: all ease-in-out .3s; z-index: 400; }
.main-dept #design-header-wrapper { background: #000; }
#design-header-inner { position: relative; margin: 0 auto; padding: 0 15px; width: 100%; height: 150px; }
#design-logo { position: absolute; top: 0; left: 40px; z-index: 301; }
.design-logo { height: 150px; transition: all ease-in-out .3s; }
#design-links { position: absolute; top: 55px; right: 40px; width: 100%; text-align: right; }
#design-links a { margin-left: 15px; font-size: 20px; font-weight: 400; color: rgba(255,255,255,0.5); line-height: 50px; text-decoration: none; transition: all ease-in-out .3s; }
#design-links a:hover { color: #fff; }

/* Nav */
#design-nav { position: absolute; top: 55px; right: 160px; width: 100%; height: 40px; text-align: right; transition: all ease-in-out .3s; z-index: 2; }
#design-container-main-nav { width: 100%; height: 40px; box-sizing: border-box; }

/* Main */
.main-home #design-main { margin-top: -160px; }
body.admin-mode #design-main { margin-top: 0; }
#design-main-top { background: #000; }
.main-dept #design-main-top { margin-top: 0; padding: 40px 0; background: #fff url('../images/shadow.png') repeat-x; border-top: 1px solid #fff; }
#design-main-middle { position: relative; padding: 40px 0; background: #fff url('../images/shadow.png') repeat-x; border-top: 1px solid #fff; box-sizing: border-box; }
#design-main-news { padding: 60px 0; background: #fff url('../images/news-bg.jpg') no-repeat top center; box-sizing: border-box; }
#design-main-bottom { position: relative; padding: 40px 0; background: #f8f8f8 url('../images/shadow.png') repeat-x; box-sizing: border-box; }
#design-sponsors { position: relative; padding: 40px 0; background: #fff url('../images/shadow.png') repeat-x; text-align: center; box-sizing: border-box; }

/* Content Containers */
#design-container-main { margin: 0; padding: 0; width: 100%; }
#design-container-4,
#design-container-5,
#design-container-6 { margin-bottom: 15px; padding: 8px; min-height: 600px; background: #fff; }

/* Footer */
#design-footer { padding: 20px 0; width: 100%; height: 100%; background: #00653c; border-top: 5px solid #000; }
#design-footer #design-footer-left { float: left; }
#design-footer #design-footer-right { float: right; }

#design-footer #design-footer-left .design-copyright,
#design-footer #design-footer-left .design-copyright a { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 400; line-height: 1.5; color: rgba(255,255,255,0.5); text-decoration: none; }
#design-footer #design-footer-left .design-copyright:first-of-type { margin-top: 5px; font-weight: 700; }
#design-footer .dii-logo { height: 45px; }


/* CONTENT */

/* General */
body .dii-content { overflow: visible; position: relative; margin: 0; padding: 0; background: none; font-family: 'Montserrat', sans-serif !important; font-weight: 400; font-size: 15px; color: #000; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body .dii-content a { color: #007e4b; }
body .dii-content a:hover { color: #00653c; }

/* Titles */
body .dii-content-title { padding: 4px 0; border-bottom: none; }
body .dii-content-title a { padding: 0; font-family: 'City', sans-serif; font-size: 32px; font-weight: 400; color: #007e4b; line-height: 1.1; text-decoration: none; }
body .dii-content-title a:hover { color: #007e4b; }
body .dii-content-calendar h2,
body .dii-content-rawcode h2 { margin-bottom: 6px; padding: 4px; font-family: 'Montserrat', sans-serif; font-size: 32px; font-weight: 400; color: #007e4b; line-height: 1.1; }
body .main-home #design-main-middle .dii-content-title a { line-height: 1.0; text-transform: uppercase; }

/* Section Headers */
body .dii-content-header { margin: 20px 0 5px 0; padding: 0; height: 100%; box-sizing: border-box; }
body .dii-content-header:first-of-type { margin-top: 0; }
body #design-main-bottom #design-container-9 .dii-content-header { margin-bottom: 20px; }
body #design-main-news .dii-content-header { margin-bottom: 30px; }
body #design-main-bottom .design-social .dii-content-header { margin: -8px -8px 10px -8px; }

body .dii-content-header h2 { display: inline-block; padding: 12px 15px; width: 100%; height: 100%; background: #007e4b; border-bottom: 3px solid #000; font-family: 'City', sans-serif; font-size: 20px; font-weight: 400; color: #fff; line-height: 1.0; text-align: left; text-transform: uppercase; box-sizing: border-box; }
body #design-main-middle .dii-content-header h2,
body #design-main-news .dii-content-header h2 { padding: 0; background: none; border: none; color: #007e4b; font-size: 40px; }
body #design-main-bottom #design-container-9 .dii-content-header h2 { padding: 0; background: none; border: none; color: #007e4b; font-size: 40px; text-align: center; }
body #design-sponsors .dii-content-header h2 { padding: 0; background: none; border: none; color: #007e4b; text-align: center; }
body #design-main-news .dii-content-header h2 { color: #fff; }
body #design-main-bottom .design-social .dii-content-header h2 { font-size: 20px; text-transform: uppercase; }

body .dii-content:not(.dii-content-header) h2 { margin: 0; }

/* Images */
#design-main-top .dii-content-title-photo img { max-height: fit-content; }
.design-main .dii-content .dii-content-title-photo { margin: 0 !important; padding: 0; border: none; }

#design-main-top .dii-content .dii-content-title-photo,
#design-main-middle .dii-content .dii-content-title-photo,
#design-main-news .dii-content .dii-content-title-photo,
#design-main-bottom .dii-content .dii-content-title-photo,
#design-sponsors .dii-content .dii-content-title-photo { margin: 0; padding: 0; border: none; }
#design-sponsors .dii-content.dii-content-image { display: inline-block; margin: 10px; }
#design-sponsors .dii-content.dii-content-image img { max-width: 350px; max-height: 120px; }

/* Links */
body .dii-content-linkview > a { padding: 10px; font-size: 15px; font-weight: 400; color: #000; border-bottom: 1px solid #dcdcdc; transition: all 0.3s ease-in-out; }
body .dii-content-linkview > a:hover { color: #007e4b; text-decoration: none; }
body .dii-content-linkview { margin: 0; padding: 0;  }
body .dii-content-linkview:hover { border: none; }
body .dii-content-linkview a.dii-content-linkview-link i { display: none; }

body #design-main-news .dii-content-linkview > a { margin: 0 0 10px 0; padding: 10px 15px; font-family: 'City', sans-serif; font-size: 14px; font-weight: 400; color: #fff; background: #007e4b; text-transform: uppercase; transition: all 0.3s ease-in-out; }
body #design-main-news .dii-content-linkview > a:hover { color: #fff; background: #00653c; }

body .main-dept #design-container-main .dii-content-linkview > a { margin: 0 10px 10px 0; padding: 10px 15px; font-family: 'City', sans-serif; font-size: 14px; font-weight: 400; color: #fff; background: #007e4b; text-transform: uppercase; transition: all 0.3s ease-in-out; }
body .main-dept #design-container-main .dii-content-linkview > a:hover { color: #fff; background: #00653c; }

/* Articles */
body .dii-content .dii-content-story { margin-top: 0; padding: 6px 4px; border-top: none; color: #000; }
body .dii-content .dii-content-story * { line-height: 1.4; }
body .dii-content .dii-content-story a { font-family: 'Montserrat', sans-serif; font-size: 15px; color: #007e4b; }
body .dii-content .dii-content-story a:hover { color: #00653c; text-decoration: none; }
body .dii-content .dii-content-story ul { padding-left: 30px; }
body .dii-content .dii-content-story ul li { margin-bottom: 10px; }
body .dii-content-continue { margin: 0; text-align: left; }
body .dii-content-continue a { padding: 0 4px; font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 700; color: #007e4b; text-decoration: none; }
body .dii-content-continue a:hover { color: #00653c; }
body .dii-content-continue a::before { content: "– "; }
body .dii-content-continue a::after { content: "Read more"; }

body .main-home #design-container-1 .dii-content-article,
body .main-dept #design-container-main .dii-content-article { margin-bottom: 25px; padding-bottom: 25px; border-bottom: 1px solid #e6e6e6; }

body #design-main-news .dii-content-article { float: left; display: flex; flex-direction: column; background: #fff; margin-right: 2%; margin-bottom: 15px; padding-bottom: 10px; width: 32%; min-height: 400px; text-align: left; }
body #design-main-news .dii-content-article:nth-child(3n+3) { margin-right: 0; }
body #design-main-news .dii-content-article > .dii-content-title-photo { order: 1; display: block; width: 100%; height: 100%; max-height: 250px; background: #000; overflow: hidden; }
body #design-main-news .dii-content-article > .dii-content-title-photo a { display: inline-block; }
body #design-main-news .dii-content-article > .dii-content-title-photo img { max-height: 340px; }
body #design-main-news .dii-content-article > .dii-content-title { order: 2; margin-top: 15px; padding: 0 10px; }
body #design-main-news .dii-content-article > .dii-content-title a { font-size: 24px; line-height: 1.0; text-transform: uppercase; }
body #design-main-news .dii-content-article > .dii-content-story { order: 2; margin-top: 6px; padding: 0 10px; }
body #design-main-news .dii-content-article > .dii-content-continue { order: 3; margin: 5px 0 10px 0; padding: 0 10px; }
body #design-main-news .dii-content-article > .dii-content-continue a { margin: 0; padding: 10px 15px; font-family: 'City', sans-serif; font-size: 14px; font-weight: 400; color: #fff; background: #007e4b; text-transform: uppercase; transition: all 0.3s ease-in-out; }
body #design-main-news .dii-content-article > .dii-content-continue a:hover { color: #fff; background: #00653c; }
body #design-main-news .dii-content-article > .dii-content-continue a::before { content: "Learn more"; }
body #design-main-news .dii-content-article > .dii-content-continue a::after { content: ""; }

body .dii-content-article > .dii-content-story h1 { margin: 0.5em 0 .25em 0; color: #000; }
body .dii-content-article > .dii-content-story h2 { margin: 0.5em 0 .125em 0; font-family: 'City', sans-serif; font-size: 22px; font-weight: 400 !important; color: #007e4b; }
body .dii-content-article > .dii-content-story h3 { margin: 0.375em 0 .125em 0; padding: 0; font-family: 'City', sans-serif; font-size: 18px; font-weight: 400 !important; color: #000; }

body .main-dept .dii-content .dii-content-story table { margin-bottom: 15px; width: 100%; font-family: 'Montserrat', sans-serif; font-size: 15px; border-collapse: collapse; }
body .main-dept .dii-content .dii-content-story table th,
body .main-dept .dii-content .dii-content-story table td { padding: 10px; border: 1px solid #ccc; font-family: 'Montserrat', sans-serif; font-size: 15px; }
body .main-dept .dii-content .dii-content-story table th { background-color: #007e4b; font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 700; color: #fff; text-align: left; }
body .main-dept .dii-content .dii-content-story table tr { background-color: #fff; }
body .main-dept .dii-content .dii-content-story table tr:nth-child(even) { background-color: #f0f0f0; }

body .dii-content.dii-content-event { margin-top: 4px; padding: 8px; }

/* Calendars -*/
body #dii-full-calendar { margin: 6px 28px; }
body .dii-calendar-wall table td { padding: 0; }
body .dii-calendar-wall .fc-button { margin-bottom: 2px; }
body .dii-calendar-wall .fc-header-title { padding: 2px 4px; font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 700; color: #000; }
body .dii-calendar-upcoming-events { font-size: 15px; color: #000; }
body .dii-calendar-upcoming-events .dii-bold { font-weight: 400; }
body .dii-calendar-upcoming-events .dii-center { text-align: left; }
body .dii-calendar-upcoming-events li { margin: 0 5px; padding: 5px 8px; font-weight: 400; }
body .dii-calendar-upcoming-events li:hover {  }
body .dii-calendar-upcoming-events li h4 { padding: 2px 0 0 0; font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 700; color: #007e4b; line-height: 1.2; }
body .dii-calendar-upcoming-events li h3 a { padding: 2px 0 0 0; font-size: 15px; font-weight: 400; color: #000; line-height: 1.2; text-decoration: none; }
body .dii-calendar-upcoming-events li h3 a:hover { background: none; font-weight: 400; color: #007e4b; }

/* Rawcode */
body .dii-content.dii-content-rawcode > iframe { padding: 0; }

/* Responsive Rotator */
body .dii-content.dii-content-rotator { margin: 0; box-sizing: border-box; }
body .dii-content.dii-content-rotator article { background-color: #000; }

body .dii-content-rotator .list-none { min-height: 100px; }
body .dii-content-rotator article .article-wrapper { padding: 20px 0 40px 0; background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1.0) 100%); box-sizing: border-box; }
body .dii-content-rotator article .article-inner { margin: 0 auto; width: 100%; max-width: 1400px; padding: 0 15px; background-color: rgba(0,0,0,0); text-align: center;  }
body .dii-content-rotator article h2 { display: block; margin: 0 !important; }
body .dii-content-rotator article h2.no-url,
body .dii-content-rotator article h2 a { font-family: 'City', sans-serif; font-size: 70px; font-weight: 400; color: #fff; line-height: 1.0; text-transform: uppercase; text-shadow: 0px 0px 5px rgba(0,0,0,0.5); }
body .dii-content-rotator article h2 a:hover { background: none; color: #007e4b; text-decoration: none; }
body .dii-content-rotator article h3 { display: block; margin-bottom: 10px; padding: 6px 0 0 6px; font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 400; color: #fff; }
body .dii-content-rotator article .article-more { float: left; display: inline-block; margin: 10px 6px; padding: 10px; max-width: 140px; height: 100%; background: #007e4b; border-radius: 0; border: none; font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 400; color: #fff; line-height: 1; text-align: center; transition: all ease-in-out .3s; }
body .dii-content-rotator article .article-more:hover { background: #00653c; color: #fff; text-decoration: none; }

body .dii-content-rotator article .article-more:before { content: "read more"; }
body .dii-content-rotator article .article-more:after { content: ""; }

body .dii-content-rotator .dii-rotator-nav { top: auto; left: auto; bottom: 10px; width: 100%; background: none; border: none; text-align: center; }
body .dii-content-rotator .dii-rotator-nav i { margin: 0 5px; font-size: 12px; color: rgba(255,255,255,0.5); }
body .dii-content-rotator .dii-rotator-nav i.rotator-active { color: #fff; }
body .dii-content-rotator .dii-rotator-nav i:hover:not(.fa-circle) { color: #fff; }
body .dii-content-rotator .rotator-group .group-nav:hover { background: none; text-decoration: none; }
body .dii-content-rotator .rotator-group .group-item span { opacity: 1.0; background: rgba(255, 255, 255, 0.7); font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 700; color: #000; line-height: 1.0; text-transform: uppercase; }
body .dii-content-rotator .rotator-group .group-item span:hover { background: rgba(255, 255, 255, 1.0); color: #0033a1; }


/* FIXED HEADER */
#design-header-wrapper.design-fixed { position: fixed; top: 0; height: 115px; background: #007e4b; border-bottom: 1px solid #fff; box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.2); }
#design-header-wrapper.design-fixed #design-logo { top: 5px; }
#design-header-wrapper.design-fixed .design-logo { height: 100px; }
#design-header-wrapper.design-fixed #design-links { top: 35px; }
#design-header-wrapper.design-fixed #design-nav { top: 35px; }
#design-header-wrapper.design-fixed #design-container-main-nav .dii-content-nav-menu > ul > li:last-child > a.dii-sub-menu-link { background: #000; }
#design-main.design-fixed { margin-top: 0; }


/* MENUS */
#design-container-main-nav .dii-content-nav-menu > ul > li > a.dii-sub-menu-link { display: block; height: 50px; margin: 0; padding: 0 25px; background: none; border: none; font-family: 'City', sans-serif; font-size: 17px; font-weight: 400; color: #fff; line-height: 50px; text-transform: uppercase; transition: all 0.3s ease-in-out; box-sizing: border-box; }
#design-container-main-nav .dii-content-nav-menu > ul > li:last-child > a.dii-sub-menu-link { background: #007e4b; color: #fff; }
#design-container-main-nav .dii-content-nav-menu > ul > li:hover > a.dii-sub-menu-link { background: #004b2d; color: #fff; cursor: pointer; }
#design-container-main-nav .dii-content-nav-menu.theme-none ul li:hover { background: none; }
#design-container-main-nav .dii-content-nav-menu > ul ul { padding: 0; background-color: #004b2d; }
#design-container-main-nav .dii-content-nav-menu ul ul li a { color: #fff; padding: 12px 10px; box-sizing: border-box; }
#design-container-main-nav .dii-content-nav-menu > ul > li:hover > ul { top: 50px; }
#design-container-main-nav .dii-content-nav-menu > ul ul li > a { font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 400; color: #fff; line-height: 1.1; letter-spacing: 0; text-align: left; }
#design-container-main-nav .dii-content-nav-menu > ul ul li:hover > a { background: #007e4b; color: #fff; transition: all 0.3s ease-in-out; }
#design-container-main-nav .dii-content-nav-menu > ul ul li:hover:before { width: 100%; }
#design-container-main-nav .dii-content-nav-menu.horizontal li.dii-menu-item-sub-menu > a.dii-sub-menu-icon::before { content: "\f0da"; color: rgba(255, 255, 255, 0.4); }


/* MOBILE */
@media screen and (max-width: 1200px) {

  #design-header-wrapper,
  #design-header-inner,
  .design-logo { height: 130px; }
  #design-logo { left: 15px; }
  #design-links { top: 45px; right: 15px; }
  #design-links a { margin-left: 12px; font-size: 18px; }

  #design-nav { top: 45px; right: 120px; }
  #design-container-main-nav .dii-content-nav-menu > ul > li > a.dii-sub-menu-link { padding: 0 15px; font-size: 15px; }

}

@media screen and (min-width: 1025px) {

  body.admin-mode #design-header-wrapper.design-fixed { top: 70px; }
  body #design-main-middle .dii-content-header h2,
  body #design-main-news .dii-content-header h2,
  body #design-main-bottom #design-container-9 .dii-content-header h2,
  body .main-home #design-main-middle .dii-content-title a { font-size: 50px; }

}

@media screen and (max-width: 1024px) {

  #design-header-wrapper,
  #design-header-inner,
  .design-logo { height: 110px; }
  #design-links { top: 35px; }
  #design-links a { margin-left: 10px; }

  #design-nav { top: 35px; right: 110px; }
  #design-container-main-nav .dii-content-nav-menu > ul > li > a.dii-sub-menu-link { padding: 0 12px; font-size: 13px; }

  #design-main-middle,
  #design-main-bottom
  #design-main-news { padding-left: 15px; padding-right: 15px; }

  body #design-main-news .dii-content-article { width: 49%; }
  body #design-main-news .dii-content-article:nth-child(3n+3) { margin-right: 2%; }
  body #design-main-news .dii-content-article:nth-child(2n+2) { margin-right: 0; }

}

@media screen and (max-width: 1000px) {

  .ui-widget-header { color: #fff; }

}

@media screen and (max-width: 900px) {

  #design-header-wrapper { background: #000; }
  #design-logo { top: 5px; }
  .design-logo { height: 100px; }
  #design-links,
  #design-header-wrapper.design-fixed #design-links { top: 10px; }
  #design-nav,
  #design-header-wrapper.design-fixed #design-nav { top: 70px; right: 0; }
  #design-nav #design-container-main-nav #ww-btn-main-nav { padding: 0 10px; height: 40px; background: none; border: 0 none; font-family: 'City', sans-serif; font-size: 17px; font-weight: 400; color: #fff; line-height: 40px; text-align: right; text-transform: uppercase; transition: all 0.3s ease-in-out; box-sizing: border-box; }
  #design-nav #design-container-main-nav #ww-btn-main-nav i { margin: 0 10px 0 0; height: 40px; font-size: 20px; line-height: 40px; text-align: right; }
  #design-nav #design-container-main-nav #ww-btn-main-nav i.caret { display: none; }
  #design-nav #design-container-main-nav .dii-content-nav-menu > ul { padding: 10px; width: 100%; background: #000; box-sizing: border-box; z-index: 401; }
  #design-nav #design-container-main-nav .dii-content-nav-menu > ul > li > a.dii-sub-menu-link { padding: 10px; height: auto; background: none; font-size: 17px; color: #fff; line-height: 1.5; text-align: left; text-shadow: none; }
  #design-nav #design-container-main-nav .dii-content-nav-menu > ul > li > a.dii-sub-menu-link:after { content: ''; }
  #design-nav #design-container-main-nav .dii-content-nav-menu > ul > li:hover > a.dii-sub-menu-link { background: #007e4b; color: #fff; border-radius: 0; }
  #design-nav #design-container-main-nav .dii-content-nav-menu > ul > li:hover > ul { top: 40px; }
  #design-nav #design-container-main-nav .dii-content-nav-menu > ul li.dii-menu-item-sub-menu > ul { background: #000; color: #BuffalosFC; text-shadow: none; }
  #design-nav #design-container-main-nav .dii-content-nav-menu.horizontal li.dii-menu-item-sub-menu > a.dii-sub-menu-icon::before { line-height: 30px !important; }
  #design-nav #design-container-main-nav .dii-content-nav-menu ul li ul.show,
  #design-nav #design-container-main-nav .dii-content-nav-menu:not(.dii-is-mobile) ul li:hover > ul { left: 0; width: 100%; background: #333; }

  #design-main { margin-top: 0; }
}

@media screen and (max-width: 667px) {

  #design-footer { margin: 0; width: 100%; }
  #design-footer #design-footer-left { display: block; margin: 0; width: 100%; text-align: center; }
  #design-footer #design-footer-right { display: block; margin: 10px 0 0 0; width: 100%; text-align: center; }

  body #design-main-news .dii-content-article { width: 100%; min-height: 250px; }
  body #design-main-news .dii-content-article:nth-child(3n+3) { margin-right: 0; }

}

@media only screen and (max-width: 450px) {

  #design-main div.container { padding: 0 15px; }

}
