:root{
  /*--cassiopeia-color-primary: hsl(351, 54%, 37%);
  --cassiopeia-color-link: hsl(207, 49%, 37%);
  --cassiopeia-color-hover: hsl(351, 33%, 44%);*/
}

/* HEADER row */
header.container-header .container-nav {
  padding: 0.4em;
}

/* LOGO */
.brand-logo img {
  border-radius: 4px !important;
}

header.container-header {
  display: flex;
  background: white !important;
  border-bottom: 1px solid #aaa;
  box-shadow: 1px 1px 1px #ddd;
  padding-bottom: 2em;
}
header.container-header .grid-child:first-child {
  padding: .5em;
  flex-basis: 10%;
  flex-grow: 0;
}

header.container-header li {
  align-items: center;
  display: flex;
}

div.site-grid  div.grid-child.container-component {
  margin-top: 4rem;
}

/* MENU */
header.container-header .mod-menu > li > a,
header.container-header .mod-menu > li > span {
  color: #555;
  font-size: 1.8em;
}
header.container-header .mod-menu > li:hover > a,
header.container-header .mod-menu > li:active > a {
  color: black;
}
header.container-header .mod-menu > li {
  border-bottom: 2px solid transparent;
}

header.container-header .mod-menu > li:hover,
header.container-header .mod-menu > li:active {
  border-bottom: 2px solid black;
}



div .nav-item.current.active {
  border-bottom: 2px solid wheat;
}
div ul.mod-list {
  display: flex;
  flex-direction: row;
  gap: 24px;
  justify-content: center;
}

/* LANGUAGE switcher*/
div.mod-languages ul {
  display: flex;
  justify-content: center;
}
div.mod-languages a {
  padding: 1rem;
  display: flex;
}
div.mod-languages ul li.lang-active {
  background-color: white;
  border-radius: 50%;
}



/* custom CSS for members area */

body{margin-top:20px;}

.ourTeam {
    background: none;
}

.ourTeam h2 {
    margin: 0 0 30px 0;
}

.ourTeam .i {
    margin-top: 30px
}

.ourTeam .i .c {
    background: #fff;
    box-shadow: 0px -1px 1px #555 inset;
    border-radius: 5px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
    padding-bottom: 110px
}

.ourTeam .i .c .wrap {
    position: relative
}

.ourTeam .i .c .wrap img {
    width: 100%;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease
}

.ourTeam .i .c .wrap .info {
    padding: 10px 0;
    position: absolute;
    top: 100%;
    width: 100%;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease
}

.ourTeam .i .c .wrap .info .name {
    margin: 0;
    font-size: 24px;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 8px 0
}

.ourTeam .i .c .wrap .info .position {
    margin: 0;
    font-size: 14px;
    font-size: 1.4rem;
    color: #555659
}

.ourTeam .i .c .more {
    position: absolute;
    bottom: -100%;
    width: 100%;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease
}

.ourTeam .i .c .more p {
    margin: 0 18px 30px 18px;
    line-height: 22px
}

.ourTeam .i .c .more .socials {
    margin: 0 0 20px 0
}

.ourTeam .i .c .more .socials a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 22px;
    font-size: 2.2rem;
    color: #fff;
    margin: 0 0 0 3px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    text-align: center;
    -webkit-box-shadow: 0 3px 0 rgba(0, 0, 0, .1);
    -moz-box-shadow: 0 3px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 3px 0 rgba(0, 0, 0, .1)
}

.ourTeam .i .c .more .socials a:first-child {
    margin: 0
}

.ourTeam .i .c .more .socials a.facebook {
    background: #3262b9
}

.ourTeam .i .c .more .socials a.facebook:hover {
    background: #2d57a5
}

.ourTeam .i .c .more .socials a.twitter {
    background: #3dd7e5
}

.ourTeam .i .c .more .socials a.twitter:hover {
    background: #27d2e2
}

.ourTeam .i .c .more .socials a.google-plus {
    background: #e23535
}

.ourTeam .i .c .more .socials a.google-plus:hover {
    background: #de2020
}

.ourTeam .i .c .more .socials a.linkedin {
    background: #069
}

.ourTeam .i .c .more .socials a.linkedin:hover {
    background: #005580
}

.ourTeam .i .c:hover img {
    -moz-opacity: 0;
    -khtml-opacity: 0;
    -webkit-opacity: 0;
    opacity: 0
}

.ourTeam .i .c:hover .info {
    top: 0
}

.ourTeam .i .c:hover .more {
    bottom: 0
}