.tabs ul li { position: relative; }
.tabs ul li:hover .icon { opacity: 1; background: #428BFF;  }
.tabs ul li .icon { opacity: 0.5; position: absolute; bottom: 50%; left: 25%;  z-index: 4; background: #000; color: #FFF; padding: 5px 10px; border-radius: 50%; }
.tabs ul li label { z-index: 3; }
.tabs input[name="tab-control"]:nth-of-type(1):checked ~ ul > li:nth-child(1) > .icon,
.tabs input[name="tab-control"]:nth-of-type(2):checked ~ ul > li:nth-child(2) > .icon,
.tabs input[name="tab-control"]:nth-of-type(3):checked ~ ul > li:nth-child(3) > .icon,
.tabs input[name="tab-control"]:nth-of-type(4):checked ~ ul > li:nth-child(4) > .icon,
.tabs input[name="tab-control"]:nth-of-type(5):checked ~ ul > li:nth-child(5) > .icon { opacity: 1; background: #428BFF;   }

.tabs { width: 100%; min-width: 240px; height: auto;
  left: 50%; position: relative; background: white; padding: 0; margin-bottom: 80px;  border-radius: 5px;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%); }
.tabs input[name="tab-control"] { display: none; }
.tabs ul { list-style-type: none; padding-left: 0; display: flex; flex-direction: row; margin-bottom: 10px; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; }
.tabs ul li { box-sizing: border-box; flex: 1; width: 25%; padding: 0 10px; text-align: center; }
.tabs ul li label { font-weight: 400; color: #929daf;  padding: 5px auto; overflow: hidden; text-overflow: ellipsis; display: block; cursor: pointer;
  transition: all 0.3s ease-in-out; 
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; }
.tabs ul li label br { /* display: none; */ }
.tabs ul li label span { display: inline; }
.tabs ul li label img { height: 75px; opacity: 0.5; transition: all 0.2s ease-in-out; }
.tabs ul li label svg { fill: #929daf; height: 1.2em; vertical-align: bottom; margin-right: 0.2em;
  transition: all 0.2s ease-in-out; }
.tabs ul li label:hover, .tabs ul li label:focus, .tabs ul li label:active { outline: 0; color: #bec5cf; }
.tabs ul li label:hover svg, .tabs ul li label:focus svg, .tabs ul li label:active svg { fill: #bec5cf; }
.tabs ul li label:hover img, .tabs ul li label:focus img, .tabs ul li label:active img { opacity: 1; }
.tabs .slider { position: relative; width: 25%; transition: all 0.33s cubic-bezier(0.38, 0.8, 0.32, 1.07); }
.tabs .slider .indicator { position: relative; width: 50px; max-width: 100%; margin: 0 auto; height: 4px; background: #428BFF; border-radius: 1px; }
.tabs .content { margin-top: -3px; border: 3px solid #9ed6ea; border-radius: 25px; text-align: center; }
.tabs .content section { padding: 20px; display: none;
  -webkit-animation-name: content;
          animation-name: content;
  -webkit-animation-direction: normal;
          animation-direction: normal;
  -webkit-animation-duration: 0.3s;
          animation-duration: 0.3s;
  -webkit-animation-timing-function: ease-in-out;
          animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: 1;
          animation-iteration-count: 1;
  line-height: 1.4; }
  
.tabs .content section h2 {
  color: #428BFF; text-align: center; /* display: none; */ }
.tabs .content section h2::after {
 /*   content: ""; position: relative; display: block; width: 30px; height: 3px; background: #428BFF; margin-top: 5px; left: 1px;*/ }
.tabs input[name="tab-control"]:nth-of-type(1):checked ~ ul > li:nth-child(1) > label,
.tabs input[name="tab-control"]:nth-of-type(2):checked ~ ul > li:nth-child(2) > label,
.tabs input[name="tab-control"]:nth-of-type(3):checked ~ ul > li:nth-child(3) > label,
.tabs input[name="tab-control"]:nth-of-type(4):checked ~ ul > li:nth-child(4) > label,
.tabs input[name="tab-control"]:nth-of-type(5):checked ~ ul > li:nth-child(5) > label {
  cursor: default; color: #428BFF; }
.tabs input[name="tab-control"]:nth-of-type(1):checked ~ ul > li:nth-child(1) > label svg,
.tabs input[name="tab-control"]:nth-of-type(2):checked ~ ul > li:nth-child(2) > label svg,
.tabs input[name="tab-control"]:nth-of-type(3):checked ~ ul > li:nth-child(3) > label svg,
.tabs input[name="tab-control"]:nth-of-type(4):checked ~ ul > li:nth-child(4) > label svg ,
.tabs input[name="tab-control"]:nth-of-type(5):checked ~ ul > li:nth-child(5) > label svg{
  fill: #428BFF; }
.tabs input[name="tab-control"]:nth-of-type(1):checked ~ ul > li:nth-child(1) > label img,
.tabs input[name="tab-control"]:nth-of-type(2):checked ~ ul > li:nth-child(2) > label img,
.tabs input[name="tab-control"]:nth-of-type(3):checked ~ ul > li:nth-child(3) > label img,
.tabs input[name="tab-control"]:nth-of-type(4):checked ~ ul > li:nth-child(4) > label img,
.tabs input[name="tab-control"]:nth-of-type(5):checked ~ ul > li:nth-child(5) > label img {
	opacity: 1; }
@media (max-width: 600px) {
  .tabs input[name="tab-control"]:nth-of-type(1):checked ~ ul > li:nth-child(1) > label,
  .tabs input[name="tab-control"]:nth-of-type(2):checked ~ ul > li:nth-child(2) > label,
  .tabs input[name="tab-control"]:nth-of-type(3):checked ~ ul > li:nth-child(3) > label,
  .tabs input[name="tab-control"]:nth-of-type(4):checked ~ ul > li:nth-child(4) > label,
  .tabs input[name="tab-control"]:nth-of-type(5):checked ~ ul > li:nth-child(5) > label {
    background: rgba(0, 0, 0, 0.08);
  } }

.tabs input[name="tab-control"]:nth-of-type(1):checked ~ .content > section:nth-child(1),
.tabs input[name="tab-control"]:nth-of-type(2):checked ~ .content > section:nth-child(2),
.tabs input[name="tab-control"]:nth-of-type(3):checked ~ .content > section:nth-child(3),
.tabs input[name="tab-control"]:nth-of-type(4):checked ~ .content > section:nth-child(4),
.tabs input[name="tab-control"]:nth-of-type(5):checked ~ .content > section:nth-child(5) {
  display: block; }


.tabs input[name="tab-control"]:nth-of-type(1):checked ~ .slider {
  -webkit-transform: translateX(0%);
          transform: translateX(0%); }
.tabs input[name="tab-control"]:nth-of-type(2):checked ~ .slider {
  -webkit-transform: translateX(100%);
          transform: translateX(100%); }
.tabs input[name="tab-control"]:nth-of-type(3):checked ~ .slider {
  -webkit-transform: translateX(200%);
          transform: translateX(200%); }
.tabs input[name="tab-control"]:nth-of-type(4):checked ~ .slider {
  -webkit-transform: translateX(300%);
          transform: translateX(300%); }
.tabs input[name="tab-control"]:nth-of-type(5):checked ~ .slider {
  -webkit-transform: translateX(400%);
          transform: translateX(400%); }
@-webkit-keyframes content {
  from {
    opacity: 0;
    -webkit-transform: translateY(5%);
            transform: translateY(5%);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0%);
            transform: translateY(0%);
  } }
@keyframes content {
  from {
    opacity: 0;
    -webkit-transform: translateY(5%);
            transform: translateY(5%);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0%);
            transform: translateY(0%);
  } }
@media (max-width: 1000px) {
  .tabs ul li label { white-space: initial;
  }
  .tabs ul li label br { display: initial;
  }
  .tabs ul li label svg { height: 1.5em;
  } }
@media (max-width: 600px) {
  .tabs ul li label { padding: 5px; border-radius: 5px;
  }
  .tabs ul li label span { display: none;
  }
  .tabs .slider { display: none;
  }
  .tabs .content { margin-top: 20px;
  }
  .tabs .content section h2 { display: block;
  } }

.gallery img { max-height: 200px; padding: 2%;}