.fusion-main-menu > ul > li > a {
  text-transform: uppercase;
}
.fusion-main-menu > ul > li > a:hover {
  color: #683278 !important;
  text-decoration: none;
}

#top-head a.top-head-link {
  justify-content: stretch;
  flex-direction: row;
  padding: 4px 7px 0;
  line-height: 1.3;
  height: 27px;
  margin: 0 10px 0 0;
  display: inline-block;
  width: auto;
  color: #683278 !important;
  font-size: .88rem;
}

#top-head {
  border: 0;
}
#lang_sel { height: auto !important; }

#top-head a.top-head-link.active,
#top-head a.top-head-link:active,
#top-head a.top-head-link:focus,
#top-head a.top-head-link:hover {
  border-color: #683278 !important;
  color: #fec33b !important;
  background-color: #683278 !important;
}

#top-head #top-head-socials {
	min-height: 27px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
  padding: 0 10px;
}
#top-head #top-head-socials > a {
	border-radius: 50%;
}
#top-head #top-head-socials > a {
	margin: 0 3px;
}
#top-head #top-head-socials > a:active,
#top-head #top-head-socials > a:focus,
#top-head #top-head-socials > a:hover {
	background-color: #fdc437 !important;
}
#top-head #top-head-socials > a > img {
	max-width: 21px;
}

#top-head a {
  color: #683278 !important;
}
#top-head a:active,
#top-head a:focus,
#top-head a:hover {
  background-color: #683278 !important;
  color: #fec33b !important;
}

#top-head #directo_layer a.top-head-link {
  padding-top: 3px;
}

#top-head #directo_layer a.top-head-link b {
  text-transform: uppercase;
}

#top-head #directo_layer a.top-head-link:before {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 2px 4px -1px 0;
  background-color: #F00;
  box-shadow: rgba(255, 0, 0, 0.2) 0 -1px 3px 1px, inset #441313 0 -1px 5px, rgba(255, 0, 0, 0.5) 0 2px 7px;
  animation: live_light 0.9s infinite;
  display: inline-block;
  float: none;
  content: '';
}

@keyframes live_light { 50% { background-color: #A00; box-shadow: rgba(0, 0, 0, 0) 0 -1px 3px 1px, inset #441313 0 -1px 5px, rgba(255, 0, 0, 0) 0 2px 7px; } }

@media (max-width: 800px) {
  #top-head {
    padding: 0;
  }
  #top-head > .fusion-row > div {
    width: 100%;
  }
  #top-head a.top-head-link {
    margin-right: 0;
    width: 100%;
  }
  #top-head .fusion-row {
    display: flex;
    align-items: center;
    flex-direction: column;
  }
  #top-head .fusion-sm-center {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-bottom: 0;
  }
  .fusion-mobile-menu-design-classic #top-head .fusion-alignleft {
    margin-bottom: 0 !important;
  }
  #top-head .fusion-row > div:last-child {
    flex-direction: row-reverse;
    justify-content: space-around;
    padding-bottom: 0;
    padding: 0 3% 0 0;
  }
  #top-head > .fusion-row > div#directo_layer {
    text-align: center;
  }
  #top-head > .fusion-row > div#directo_layer a{
    width: 100% !important;
    display: inline-block;
  }
  #top-head > .fusion-row > div#directo_layer a > b {
    margin-right: 4px;
  }
  #top-head .wpml-ls-legacy-dropdown {
    width: auto;
  }
}

@media (min-width: 801px) {
  #top-head  #directo_layer a.top-head-link {
    position: relative;
    left: -10px;
  }
  #top-head .wpml-ls-legacy-dropdown {
    width: auto;
    padding-top: 0 !important;
  }
}

#top-head > .fusion-row > div#directo_layer a {
  max-width: 100%;
  overflow: hidden;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#top-head > .fusion-row > div#directo_layer {
  max-height: 27px;
  min-width: 41.7%;
}

#top-head > .fusion-row > div:last-child {
  min-width: 300px;
  margin-right: -10px !important;
  text-align: left;
}
#top-head .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
  color: #683278 !important;
  font-size: 1rem;
}
#top-head .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:active:after,
#top-head .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:focus:after,
#top-head .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:hover:after {
  color: #fec33b !important;
}
#top-head .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle {
  border: 0;
  line-height: 1;
  font-size: .88rem;
  padding-top: 5px;
  padding-bottom: 7px;
  width: 114px;
  font-weight: 400;
}

.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
 top:calc(50% - .26em);
}

#top-head .wpml-ls-legacy-dropdown a {
  background-color: inherit !important;
  padding-bottom: 7px;
  margin-top: 0 !important;
}


#top-head .wpml-ls-legacy-dropdown:active > ul > li > a,
#top-head .wpml-ls-legacy-dropdown:focus > ul > li > a,
#top-head .wpml-ls-legacy-dropdown:hover > ul > li > a {
  background-color: #683278 !important;
  color: #fec33b !important;
}
#top-head .wpml-ls-legacy-dropdown:active > ul > li > a:after,
#top-head .wpml-ls-legacy-dropdown:focus > ul > li > a:after,
#top-head .wpml-ls-legacy-dropdown:hover > ul > li > a:after {
  color: #fec33b !important;
}
#top-head .wpml-ls-legacy-dropdown ul > li > a {
  background-color: #C795C5;
}
#top-head .wpml-ls-legacy-dropdown ul:not(:first-child) {
  border: 1px solid #f9f9f9;

}
#top-head .wpml-ls-legacy-dropdown ul:not(:first-child) > li > a {
  background-color: #fdfdfd;
  font-size: .88rem;
  border-color: #fafafa;
  text-align: left;
}

#top-head .wpml-ls-legacy-dropdown ul > li > a:active,
#top-head .wpml-ls-legacy-dropdown ul > li > a:focus,
#top-head .wpml-ls-legacy-dropdown ul > li > a:hover {
  background-color: #683278 !important;
}
#top-head .wpml-ls-legacy-dropdown ul {
  border-color: #683278 !important;
}


#lang_sel {
  background-color: #C795C5 !important;  
}

#lang_sel > ul ul, 
#lang_sel_click > ul ul {
  z-index: 999;
  top: 27px;
  width: 100%;
  border: none !important;
}

#top-head .wpml-ls-sub-menu {
  background-color: #683278 !important;
  border: none !important;
}
#top-head .wpml-ls-sub-menu a {
  background-color: #C795C5 !important;
  border-color: #C795C5 !important;
}
