
body {
  overflow-x: hidden;
}

.contentpage .main-content ul, .contentpage .main-content li {
  color:#76787a;
}

.text-center {
  text-align: center;
}

.banner div, .banner figure {
  width: 100% !important;
  display: block;
}

.banner .ce-gallery {
  margin-bottom: 0px;
}

.banner img {
  display: block;
}

.footer-bottom2 {
  text-align: center;
}

.frame-type-shortcut {
  width: 100% !important;
}

/* custom class for ROW layouts */
.main-content .row.row-layout-3 {
  background-color: #00c1de;
}

/* custom class for ROW layouts */
.main-content .frame-type-textmedia.frame-layout-3 {
  padding-left:18%;
  padding-right:18%;
  background-color: #00c1de;
  margin-bottom:1px;
}

/* custom class for ROW layouts */
.main-content .frame-type-gridelements_pi1.frame-layout-3 {
  padding-left:18%;
  padding-right:18%;
  background-color: #00c1de;
  padding-bottom: 75px !important;
  padding-top: 75px !important;
  margin-bottom: 40px !important;
  margin-top: 40px !important;
}

.main-content .frame-type-textmedia.frame-layout-3 p {
  color: white;
}

.main-content .frame-type-textmedia.frame-layout-3 h3 {
  color: #00376e !important;
}

/* custom class for FRAME SHORTCUT layouts - geared towards alternating row colors */
.main-content .frame-type-shortcut.frame-layout-1 {
  width: 100% !important;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
}



.main-content .frame-type-shortcut.frame-layout-1 .frame-type-gridelements_pi1:nth-child(even) {
  width: 100% !important;
  background-color: transparent;
  padding-top: 25px;
  padding-bottom: 15px;

}

.main-content .frame-type-shortcut.frame-layout-1 .frame-type-gridelements_pi1:nth-child(odd) {
  width: 100% !important;
  background-color: #eef1f3;
  padding-top: 25px;
  padding-bottom: 15px;
}

/* ACCESS STYLED ACCORDION */
.panel-heading a {
  display: block;
  width: 100%;
  padding-left:15px;
}

.panel-heading a:after {
  content: "+";
  float: right;
  font-size: 2em;
  line-height: 1.2em;
  width: 7.5rem;
  top: 0;
  right: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  text-align: center;
  color: #FFF;
  position:absolute;
  height:100%;
  padding-top: 3px;
}

.panel-title, h4.panel-title {
  color:white;
  display: block;
  width: 100%;
  background-color: #00376e !important;
  margin-bottom:0px;
}

.contentpage .panel.panel-default {
  margin-bottom:4px;
}

.panel-title a {
  color:white !important;
  position: relative;
  height: auto;
  padding-bottom: 15px;
  padding-top: 15px;
  font-size:16px;
  text-align:left;
}

.panel-title a:hover, .panel-title a:focus {
  color:white;
}

.panel-default>.panel-heading+.panel-body-wrapper>.panel-body {
    border: 1px solid #ddd;
    padding: 25px;
}
.accordion-toggle {
  cursor:pointer;
}

.menu-tertiary li a:hover {
  text-decoration: none;
}

.main-content>.frame-default {
  display: block;
  padding-top: 1.75em;
  padding-bottom: 1.75em;
}

.main-content>.row {
  padding-top: 1em;
  padding-bottom: 1em;
}

.panel-body>div>header:first-child {
  display: none !important;
}

/* ACCESS STYLED FLEXSLIDER / TICKER */
.flexslider {
  background: none !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ticker {
  color: white;
  text-align: center;
  line-height: 0.8em;
}



.flex-direction-nav a {
  overflow: visible !important;
}

a>input[type="button"] {
  display: inline-block;
  color: #FFFFFF;
  background-color: #00c1de;
  border: 0 none transparent;
  text-align: center;
  text-decoration: none;
  line-height: 1em;
  outline: none;
  padding: 0.9em 1.1em;
  border-radius: 2px;
  font-size: 1rem;

  border-radius:100px;
}

a>input[type="button"]:active, a>input[type="button"]:hover {
  outline: none;
  background-color: #0091b2;
  color: #FFFFFF;
}

/* MENU STUFF */
section.mainmenu .container>ul {
  color: black;
  float: none;
  display: inline-block;
  width: auto;
  float: left;
}

section.mainmenu .container>ul>li {
  display: inline-block;
  float: none;
  min-width: 84px;
  width: auto;
}

.mainmenu-container {
  text-align: center !important;
}

.buttons .menu-button a {
  font-size: 12px;
  border: 0 none transparent;
  text-align: center;
  text-decoration: none;
  line-height: 1em;
  outline: none;
  padding: 0.9em 1.1em;
  border-radius: 2px;
  display: inline-block;
  margin: 2px;
  transition: background-color 150ms linear, color 150ms linear, border 150ms linear;
  -webkit-transition: background-color 150ms linear, color 150ms linear, border 150ms linear;
  -moz-transition: background-color 150ms linear, color 150ms linear, border 150ms linear;
  -ms-transition: background-color 150ms linear, color 150ms linear, border 150ms linear;
  -o-transition: background-color 150ms linear, color 150ms linear, border 150ms linear;


}

.buttons .menu-button {
  display: inline-block;
}

/* rewrite of the top-menu */
div.top-menu {
  display: inline-block;
  text-align: center;
}

div.top-menu>a {
  display: inline-block;
  width: auto;
}

div.top-menu>a:hover {
  background-color: #042d54;
}

div.top-menu>a .menu-icon, div.top-menu>a .menu-text {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.mainmenu-location {
  display: inline-block;
  float: right;
}

.top-menu .menu-item .menu-icon {
  min-height: 50px;
}

div.top-menu>a .menu-item {
  min-width: 80px;
  border-right: 1px solid rgba(0, 0, 0, 0.3);
}

div.top-menu>a:first-child .menu-item {
  border-left: 1px solid rgba(0, 0, 0, 0.3);
}

div.top-menu>a {
  text-decoration: none;
  vertical-align: top;
}

div.top-menu>a .menu-text {
  margin-top: 0.5em;
  font-weight: 400;
  line-height: 1.1em;
  height: 2.2em;
  padding: 0 0.7em;
  font-size: 12px;
  max-width: 100px;
}

/* END of the top-menu */
/* Community Modal menu */
#locationSelector .modal-dialog {
  min-width: 50%;
}

#locationSelector .modal-body {
  float: left;
}

#locationSelector button.close {
  display: block;
  float: right;
  z-index: 2;
  outline: none;
  height: 28px;
  width: 28px;
  border: 0;
  padding: 0;
  margin: 0;
  opacity: 0.4;
  border-radius: 50%;
  transition: transform 0.5s cubic-bezier(0.16, 0.81, 0.32, 1), opacity 0.5s ease;
  background-size: 67% !important;
  -webkit-tap-highlight-color: transparent;
  -webkit-tap-highlight-color: transparent;
  background-color: white;
  font-size: 12px;
}

#locationSelector button.close:hover {
  transform: rotate(180deg);
  opacity: 0.8;
}

#locationSelector #locationSelectorLabel {
  float: left;
}

#locationSelector .modal-header {
  background-color: #06376e;
}

#locationSelector .modal-header .modal-title {
  color: white;
  font-family: 'ProximaNovaA-Extrabld', 'Helvetica Neue', sans-serif;
  font-size: 15px;
  margin: 3px 0 0 0;
  font-weight: 400;
}

.frame-space-after-extra-small {
  margin-bottom: 2.5px !important;
  padding-bottom: 2.5px !important;
}



.footer-bottom2 {
  padding-top: 1.75em;
}

.flex-direction-nav a:before {
  font-family: "flexslider-icon";
  font-size: 40px;
  display: inline-block;
  content: '\f001';
  color: white;
  text-shadow: 1px 1px 5px rgb(0, 0, 0);
  margin-bottom: 5px;
}

/* POWERMAIL FORM STYLES */


/* Let's get everything aligned to the left... ? */
.powermail_form div, .powermail_form label, .powermail_form fieldset {
  /*padding-left:0px;*/
}

.powermail_form .powermail_fieldwrap_type_text>div {
  margin-left: 0 !important;
  font-size: 16px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  padding-top: 10px;
}

.tx-powermail .container-fluid {
  /*
  padding-left: 0px !important;
  padding-right: 0px !important;*/
}

.powermail_form fieldset {
  border: none !important;
}

.powermail_form fieldset>.powermail_legend {
  display: none;
}

.powermail_form .powermail_fieldwrap_submit {
  margin-top: 15px;
}

.powermail_form .powermail_fieldwrap_type_submit input {
  display: inline-block;
  color: #FFFFFF;
  background-color: #00376e;
  border: 0 none transparent;
  text-align: center;
  text-decoration: none;
  line-height: 1em;
  outline: none;
  padding: 0.9em 1.1em;
  border-radius: 2px;
  font-size: 1rem;

  border-radius:100px;
}

.powermail_form .powermail_fieldwrap_type_submit {
  margin-top:15px;
}



.powermail_form .powermail_fieldwrap_type_submit input:hover {
  outline: none;
  background-color: #0091b2;
  color: #FFFFFF;
}

.powermail_fieldwrap_type_file .uploadAreaWrapper {
  min-height: 115px;
  background-color: #00376E;
  color: #FFF;
  display: block;
  width: auto;
  /*margin-left: 15px;*/
  margin-right: 15px;
  text-align: center;
  padding-top: 25px;
}

.powermail_fieldwrap_type_file .uploadAreaWrapper input[type="file"] {
  width: auto;
  margin-top: 4px;
  margin: 0 auto;
  color: #FFF;
  border: 1px solid #FFF;
  padding: 7px;
}

.powermail_confirmation h1 {
  font-size: 20px;
  text-align: center;
}

.powermail_confirmation table {
  margin-left: auto;
  margin-right: auto;
}

.powermail_confirmation .btn-group {
  text-align: center;
}

.powermail_confirmation .btn-group>form {
  display: inline-block;
  margin: 18px;
}

label.control-label.col-sm-12 {
  font-weight: 700;
}

.dcewhatson {
  max-width:275px;
  max-height:275px;
  min-height: 200px;
  height:auto;
  background-position: center center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  overflow: hidden;
  position:relative;
  margin-left: auto;
  margin-right: auto;
  margin-bottom:15px;
}


.dcewhatson .overlay > a {
  width:100%;
  height:100%;
  display:block;
  float:left;
  text-decoration: none;
}

.dcewhatson .overlay {
  opacity:0;
  width: 100%;
  height: 100%;
  position:relative;
  position:absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  margin-bottom: 1.25em;
  color: #FFF;
  text-align: center;
  margin: 0;
  padding: 0 10px;

}


.dcewhatson .overlay {
 transition: .5s ease;
}
.dcewhatson:hover .overlay {
 opacity: 1;
}
.dcewhatson .overlay {
 background-color: rgba(0,0,0,0.85);
}

.dcewhatson .overlay p {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  margin-bottom: 1px;
  color: #FFF;
  text-align: center;
}

.tx-indexedsearch-browsebox {
  list-style: none;
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.tx-indexedsearch-browsebox li {
  display: inline-block;
  margin: 5px;
  padding: 5px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
/* BUTTONS */

.button {
  display: inline-block;
  color: #FFFFFF;
  background-color: #00c1de;
  border: 0 none transparent;
  text-align: center;
  text-decoration: none;
  line-height: 1em;
  outline: none;
  padding: 0.9em 1.1em;
  border-radius: 2px;
  font-size: 1rem;

  border-radius:100px;
}

.button.contrast-border {
  display: inline-block;
  color: #FFFFFF;
  background-color: transparent;
  border: 0 none transparent;
  text-align: center;
  text-decoration: none;
  line-height: 1em;
  outline: none;
  padding: 0.9em 1.1em;
  border-radius: 2px;
  border: 1px solid #FFFFFF;
  padding: 0.8em 1.3em;
  font-size: 10px;
}

.button.contrast-border:hover, .button.contrast-border:active {
  color: #00376e;
  background-color: #ffffff;
}


.homepage .button.button-primary-dark {
  font-family:Barlow;
}

.button.button-primary-dark {
  background-color: #00376e;
  display: inline-block;
  color: #FFFFFF;
  border: 0 none transparent;
  text-align: center;
  text-decoration: none;
  line-height: 1em;
  outline: none;
  padding: 0.9em 1.1em;
  border-radius: 2px;
  font-size: 1rem;
  font-weight:400;

  border-radius:100px;
}

.button.button-primary-dark:hover, .button.button-primary-dark:active {
  background-color: #0f2d4a;
  color:white;
}


.contentpage a.button:hover, .contentpage a.button:focus {
  outline: none;
  background-color: #0091b2;
  color: #FFFFFF;
  text-decoration:none;
}

.contentpage a.button.button-primary-dark:hover, .contentpage a.button.button-primary-dark:focus {
  outline: none;
  background-color: #0f2d4a;
  text-decoration:none;
}

/*****/

@media (min-width: 768px) {
  .buttons .menu-button a {
    color: white;
  }

  .mobile-only {
    display:none !important;
  }

  .buttons .menu-button a:hover, .buttons .menu-button a:active, .buttons .menu-button a.active, .menu-button.active a {
    color: #00376e;
    background-color: white;
  }
}

@media (max-width: 767px) {

  .dcewhatson {
    width:275px;
    height:275px;

  }


  /*
  .main-content>div {
    width: 64%;
    margin-left: auto;
    margin-right: auto;
  }*/

  .main-content>.frame-type-shortcut>div {

    /*
    padding-left: 5% !important;
    padding-right: 5% !important;*/
  }

  .main-content .frame-type-shortcut.frame-layout-1 .row {

    /*
    padding-left: 5% !important;
    padding-right: 5% !important;*/
  }

  .powermail_form .row.field-container>div, .powermail_form .row.field-container>div>div, .powermail_form .row.field-container>div>label {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  body section.mainmenu {
    background-color: #6f6f6f;
    background-image: linear-gradient(180deg, #6f6f6f, #333333, #6f6f6f);
    left: 0;
    right: 0;
    bottom: 0;
    border-right: 1px solid #a3a3a3;
  }

  body section.mainmenu a:hover {
    background-color: #2b2b2b;
  }

  body section.mainmenu {
    top: auto;
    bottom: 0;
  }

  .small-menu-tertiary {
    font-size: 0.65em;
  }

  .small-menu-tertiary li a {
    padding: 0.35em !important;
  }

  body section.banner {
    margin-top: 0px !important;
  }

  section.logo-and-subnav {
    position: initial !important;
  }

  .section.logo-and-subnav {
    padding: 0 5px !important;
  }

  div.top-menu>a .menu-item {
    min-width: auto !important;
  }

  div.top-menu>a .menu-text {
    max-width: 55px !important;
  }

  .top-menu .menu-item .menu-icon {
    min-width: 35px;
    max-width: 45px;
  }

  .flex-direction-nav {
    display: none;
  }

  /*
  .main-content>div {
    width: 90%;
  }*/

  .menu-button.active a {
    color: white;
    background-color: #00376e;
  }

  .menu-button a {
    color: #00376e;
  }
}


/* BRAND BLUE BUTTON*/
.ce-bodytext .myaccess-brandblue-btn {
  position: relative;
  margin: 4px 10px 10px 5px;
  padding: 21.5px 75px 21.5px 24px;
  background-color: #00376e;
  min-width: 200px;
  min-height: 65px;
  text-align: left;
  color: #fee01e;
  /* line-height: initial; */
  font-size: 18px;
  top: -0.8px;
}

.ce-bodytext a.myaccess-brandblue-btn:hover {
  background-color: #011d3b !important;
  text-decoration: none !important;
  color: #fee01e !important;
}

.ce-bodytext a.myaccess-brandblue-btn:focus {
  background-color: #00376e !important;
  text-decoration: none !important;
  color: #fee01e !important;
}

.ce-bodytext .myaccess-brandblue-btn::after {
  font-family: "Font Awesome 5 Pro";
  content: "\f178";
  font-size: 26px;
  position: absolute;
  right: 25.8px;
  color: #fee01e;
  transform: translate(0,-50%);
  top: 50%;
}

/* BRAND BLUE BUTTON END*/
/* BRAND YELLOW BUTTON*/
.ce-bodytext .myaccess-brandyellow-btn {
  position: relative;
  margin: 4px 10px 10px 5px;
  padding: 21.5px 75px 21.5px 24px;
  background-color: #fee01e;
  min-width: 200px;
  min-height: 65px;
  text-align: left;
  color: #00376e;
  /* line-height: initial; */
  font-size: 18px;
  top: -0.8px;
}

.ce-bodytext a.myaccess-brandyellow-btn:hover {
  background-color: #d8c722 !important;
  text-decoration: none !important;
  color: #00376e !important;
}

.ce-bodytext a.myaccess-brandyellow-btn:focus {
  background-color: #fee01e !important;
  text-decoration: none !important;
  color: #00376e !important;
}

.ce-bodytext .myaccess-brandyellow-btn::after {
  font-family: "Font Awesome 5 Pro";
  content: "\f178";
  font-size: 26px;
  position: absolute;
  right: 25.8px;
  color: #00376e;
  transform: translate(0,-50%);
  top: 50%;
}

/* BRAND YELLOW BUTTON END*/
/* BRAND CYAN BUTTON*/
.ce-bodytext .myaccess-brandcyan-btn {
  position: relative;
  margin: 4px 10px 10px 5px;
  padding: 21.5px 75px 21.5px 24px;
  background-color: #1591b2;
  min-width: 200px;
  min-height: 65px;
  text-align: left;
  color: #ffffff;
  /* line-height: initial; */
  font-size: 18px;
  top: -0.8px;
}

.ce-bodytext a.myaccess-brandcyan-btn:hover {
  background-color: #107aa1 !important;
  text-decoration: none !important;
  color: #ffffff !important;
}

.ce-bodytext a.myaccess-brandcyan-btn:focus {
  background-color: #1591b2 !important;
  text-decoration: none !important;
  color: #ffffff !important;
}

.ce-bodytext .myaccess-brandcyan-btn::after {
  font-family: "Font Awesome 5 Pro";
  content: "\f178";
  font-size: 26px;
  position: absolute;
  right: 25.8px;
  color: #ffffff;
  transform: translate(0,-50%);
  top: 50%;
}

/* BRAND CYAN BUTTON END*/
/* BRAND WHITE BUTTON*/
.ce-bodytext .myaccess-brandwhite-btn {
  position: relative;
  margin: 4px 10px 10px 5px;
  padding: 21.5px 75px 21.5px 24px;
  min-width: 200px;
  min-height: 65px;
  text-align: left;
  color: #1591b2;
  background-color: #0091b200;
  font-size: 18px;
  top: -0.8px;
  border: solid 1px #1591b2;
}

.ce-bodytext a.myaccess-brandwhite-btn:hover {
  background-color: #1591b2 !important;
  text-decoration: none !important;
  color: #ffffff !important;
}

.ce-bodytext a.myaccess-brandwhite-btn:hover {
  background-color: #0091b200 !important;
  text-decoration: none !important;
  color: #1591b2 !important;
}

.ce-bodytext .myaccess-brandwhite-btn::after {
  font-family: "Font Awesome 5 Pro";
  content: "\f178";
  font-size: 26px;
  position: absolute;
  right: 25.8px;
  color: #1591b2;
  transform: translate(0,-50%);
  top: 50%;
}

.ce-bodytext .myaccess-brandwhite-btn:hover::after {
  color: #ffffff !important;
}

.rte-textcolor-00376E {
  color: #00376E !important;
}
.rte-textcolor-00C1DE {
  color: #00C1DE !important;
}
.rte-textcolor-FEE01E {
  color: #FEE01E !important;
}
.rte-textcolor-656C73 {
  color: #656C73 !important;
}
.rte-textcolor-0091B2 {
  color: #0091B2 !important;
}
.rte-textcolor-D8C722 {
  color: #D8C722 !important;
}
.rte-textcolor-A6E9F4 {
  color: #A6E9F4 !important;
}
.rte-textcolor-A6D8E4 {
  color: #A6D8E4 !important;
}
.rte-textcolor-FFF4B0 {
  color: #FFF4B0 !important;
}
.rte-textcolor-F8F9FA {
  color: #F8F9FA !important;
}
.rte-textcolor-FFFFFF {
  color: #FFFFFF !important;
}
.rte-textcolor-011D3B {
  color: #011D3B !important;
}
.rte-textcolor-107AA1 {
  color: #107AA1 !important;
}
.rte-textcolor-B7AA25 {
  color: #B7AA25 !important;
}
.rte-textcolor-222426 {
  color: #222426 !important;
}
.rte-textcolor-4F5459 {
  color: #4F5459 !important;
}
.rte-textcolor-656C73 {
  color: #656C73 !important;
}
.rte-textcolor-B1B5B8 {
  color: #B1B5B8 !important;
}
.rte-textcolor-D8DADC {
  color: #D8DADC !important;
}
.rte-textcolor-F8F9FA {
  color: #F8F9FA !important;
}
.rte-textcolor-107AA1 {
  color: #107AA1 !important;
}
.rte-textcolor-04376E {
  color: #04376E !important;
}
