/* --------------- */
/* Custom Icon Box */
/* --------------- */

.custom-icon-box {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 15px;
  flex-flow: row wrap;
}

.custom-icon-box.hover-highlight:hover {
    cursor: pointer;
}

/* Ha SVG-s*/
.custom-icon-box .icon-box {
  min-width: 50px;
  min-height: 50px;
  max-width: 50px;
  max-height: 50px;
}

.custom-icon-box .icon-box path {
    color: #516EA4;
    fill: #516EA4;
}

.custom-icon-box.hover-highlight:hover .icon-box path {
    color: #C31337;
    fill: #C31337;
}

/* Ha <i> */
.custom-icon-box .icon-box i {
    font-size: 50px;
    line-height: 50px;
    color: #516EA4;
}

.custom-icon-box.hover-highlight:hover .icon-box i {
    color: #C31337;
}

.custom-icon-box .text-box {
  text-align: center;
  color: #7A7A7A;
}

.custom-icon-box.hover-highlight:hover .text-box {
    color: #C31337;
}

@media (max-width: 767px) {
  .custom-icon-box {
    flex-direction: column;
  }
}

/* --------------- */
/* Custom Team Box */
/* --------------- */

.team-box {
  position: relative;
}

.team-box .title {
  padding: 20px 30px;
}

.team-box .title .name {
  font-size: 20px;
  font-weight: bold;
  color: #232323;
  transition: 0.5s;
  -webkit-transition: 0.5s;
}

.team-box .title .position {
  font-size: 16px;
  color: #686868;
  transition: 0.5s;
  -webkit-transition: 0.5s;
}

.title-background {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: url(http://r4d3w54wr.telcotrend.hu/wp-content/uploads/2022/08/process-bg.jpg);
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: 0.5s ease;
  z-index: -1;
}

.team-box:hover .title-background {
  height: 100%;
  border-top: 3px solid #c31337;
}

.team-box:hover .title .name {
  color: white;
}

.team-box:hover .title .position {
  color: white;
}

.team-box .image {
  position: relative;
}

.team-box .image img {
  width: 100%;
}

.team-box .image .linkedin-icon {
  position: absolute;
  width: 50px;
  height: 50px;
  right: 25px;
  top: -25px;
  border-radius: 3px;
}

.team-box .image .linkedin-icon .icon-text {
  fill: white;
}

.team-box .image .linkedin-icon .icon-background {
  fill: #C31337;
}

.team-box .image .linkedin-icon:hover .icon-text {
  fill: #c31337;
}

.team-box .image .linkedin-icon:hover .icon-background {
  fill: white;
}

/* -------------- */
/* Open positions */
/* -------------- */

.cpw-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-flow: row wrap;
    gap: 30px;
}

.cpw-item {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
    border-bottom: 3px solid #C31337;
    width: 360px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    text-align: center;
    height: -webkit-fill-available;
}

.cpw-icon {
    /* Font Awesome icon */
    font-size: 50px;
    color: #516EA4;
    /* SVG */
    width: 50px;
    height: 78px;
    fill: #516EA4;
}

.cpw-btn,
.cpw-btn:visited {
    background: #C31337;
    color: white;
    padding: 10px 20px;
    border-radius: 3px;
}

.cpw-btn:hover {
    background: #8C1f28;
    color: white;
}


/* ------------*/
/* Event cards */
/* ------------*/
.event-card-container {
    display: flex;
    flex-wrap: wrap;
}

.event-card-container .event-card {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .event-card-container .event-card {
        width: 50%;
    }
}

@media (min-width: 1024px) {
    .event-card-container .event-card {
        width: 33.333%;
    }
}

.event-card .image {
    width: 100%;
    aspect-ratio: 1.5;
}

.event-card .title a {
    color: #232323;
    text-decoration: none;
}

.event-card .title a:hover {
    text-decoration: underline;
}

.event-card .date {
    color: #6D6D6D;
}


/* ------------------------- */
/* Custom open position page */
/* ------------------------- */
.position-title-container {
    width: 100%;
    position: relative;
    overflow:hidden;
}

.position-title-container .background {
    background-position: center center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 250px;
    padding-bottom: 250px;
    filter: blur(3px);
    -webkit-filter: blur(3px);
    transform: scale(1.03);
}

.boxed-content-container {
    display: flex;
    justify-content: center;
}

.boxed-content-container .inner-content {
    width: 100%;
    max-width: min(100%, 1140px);
    padding: 25px;
}

.position-title-container .title {
    background-color: rgba(0, 0, 0, 0.35);
    border: 3px solid white;
    z-index: 2;
    width: 80%;
    max-width: 960px;
    padding: 35px 20px;
    text-align: center;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
}
    
.position-title-container .title * {
    color: white;
    font-weight: bold;
    font-family: Sans-Serif
}

.position-details-text ul {
    padding-left: 20px;
    margin-bottom: 20px
}

.position-details-text p {
    font-size: initial !important;
    margin-bottom: 20px;
}

.apply-for-position-button-container {
    display: flex;
    justify-content: start;
    align-items: center;
}

.apply-for-position-button,
.apply-for-position-button:visited {
    background: #C31337;
    color: white;
    padding: 10px 20px;
    border-radius: 3px;
}

.apply-for-position-button:hover {
    background: #8C1f28;
    color: white;
}






