/* ------------------------------------
    Base
------------------------------------ */

img { vertical-align: middle; max-width: 100%; }

/* ------------------------------------
    Header
------------------------------------ */

.main-header { line-height: 100px; height: 100px; }

.header-right { text-align: right; }

.top-link { display: inline-block; color: #848484; font-size: 14px; margin-left: 20px; font-family: 'Roboto', sans-serif; }
.top-link a { color: #848484; }
.mail-link .fa { color: #08b596; }
.phone-link .fa { color: #08b596; }

.top-cta a { display: inline-block; font-size:14px; letter-spacing:1px; font-family: 'Roboto', sans-serif; color: #FFF; text-transform: uppercase; background: #08b596; line-height: 1; padding: 12px 20px; border-radius: 2px; position: relative; transition: all 0.3s; -webkit-transition: all 0.3s; }
.top-cta a:after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 0px; background: #fff;  }
.top-cta a:hover { background: #FF8033; }


/* ------------------------------------
    Navigation
------------------------------------ */

.site-nav {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border-bottom: 0 none;
  float: right;
  width: 75%;
  min-width: 0;
  flex-shrink: 1;
}
.menu-toggle { display: none; }

.mainmenu { 
  margin: 0; 
  padding: 0; 
  list-style: none; 
  display: flex; 
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  width: 100%; 
  font-family: 'Roboto', sans-serif; 
  font-size: 16px; 
  position: relative; 
  z-index: 9998;
}
.mainmenu .menu-item {
  flex-shrink: 0;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
}
.mainmenu .menu-item.active , 
.mainmenu .menu-item:hover { 
  /* background: transparent url(../images/menu-item-active.png) no-repeat bottom center; */
  /* Image not found - commented out */
}
.mainmenu .menu-item a {
  color: #000000;
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 20px 15px;
  text-decoration: none;
  white-space: nowrap;
}

.submenu { 
  display: none; 
  position: absolute; 
  left: 0;
  top: 100%;
  width: 100vw;
  background: #162341; 
  padding: 30px 20px; 
  box-sizing: border-box;
  z-index: 9999;
  margin-top: 0;
  margin-left: 0;
  clear: both;
}
.submenu-box { 
  float: left; 
  width: 33.33%; 
  box-sizing: border-box;
  padding: 0 10px;
  margin-bottom: 20px;
  clear: none;
}
.submenu::after {
  content: "";
  display: table;
  clear: both;
}
.menu-item .submenu-box a { 
  padding: 0; 
  margin: 0; 
  text-decoration:none; 
  display: block;
}
.submenu-item {
  background: rgba(255, 255, 255, 0.1) none repeat scroll 0 0;
  color: #333333;
  font-weight: 400;
  min-height: 130px;
  overflow: visible;
  padding: 20px;
  text-align: left;
  text-decoration: none;
  transition: all 0.3s ease 0s;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  height: auto;
}
.submenu-item .icon { 
  flex-shrink: 0;
  width: 50px; 
  height: 50px; 
  color: #FFF; 
  font-size: 30px; 
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 2px;
}
.submenu-item .text { 
  flex: 1;
  display: block;
  width: 100%;
  min-width: 0;
}
.submenu-item .text .title {
  font-size: 17px; 
  color: #FFFFFF; 
  line-height: 1.3; 
  text-transform: capitalize;
  word-wrap: break-word;
  overflow-wrap: break-word;
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}
.submenu-item .text small { 
  font-size: 13px;  
  color: #b8bdc8; 
  display: block; 
  line-height: 1.6;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-transform: none;
  font-weight: 400;
  white-space: normal;
  max-width: 100%;
}
.submenu-item:hover, .submenu-item.active {
  background: #ffc732 none repeat scroll 0 0;
}
.submenu-item:hover .text .title,
.submenu-item:hover .text small,
.submenu-item.active .text .title,
.submenu-item.active .text small { 
  color: #fff; 
}

.mainmenu .menu-item.has-submenu > a { position: relative; }
.mainmenu .menu-item.has-submenu > a::before {
  content: "+";
  float: right;
  margin: 0 12px 0 0;
  padding-left: 4px;
}


ul.mainmenu {
  float: right;
  width: auto;
  min-width: 0;
}

/* Prevent menu wrapping on medium screens */
@media (max-width: 1200px) and (min-width: 981px) {
  .mainmenu .menu-item a {
    padding: 20px 12px;
    font-size: 13px;
  }
}

@media (max-width: 1100px) and (min-width: 981px) {
  .mainmenu .menu-item a {
    padding: 20px 10px;
    font-size: 12px;
    letter-spacing: 0.5px;
  }
}

.mainmenu .menu-item a:hover::after {
  width: 100%;
}

.mainmenu .menu-item a {
    position: relative;
}

.mainmenu .menu-item a::after {
  background-color: #015FFF;
  bottom: -0px;
  content: "";
  display: block;
  height: 4px;
  left: 0;
  position: absolute;
  transition: all 0.2s ease 0s;
  width: 0;
}

.mainmenu .menu-item a:hover {
  color: #015FFF;
}


