:root {
  --elektrisola-site-width: 1500px;
  --elektrisola-logo-color: #c01f24;
  --elektrisola-link-color: #0180ef;
  --elektrisola-h2-font-size: 30px;
  --elektrisola-h3-font-size: 21px;
  --elektrisola-h4-font-size: 17px;
  --elektrisola-section-alternate-background: #f4f4f4;
  --elektrisola-table-background: #1A4D70;
  --elektrisola-table-border: #1A4D70;
  --elektrisola-table-header-background: #AED6F1;
  --elektrisola-plants: #c01f24;
  --elektrisola-warehouse: rgb(0, 247, 0);
  --elektrisola-saleoffice: rgb(0, 0, 194);
}

@font-face {
  font-family: 'Font Awesome 5 Free';
  src: url('/custom/fontawesome/fa-solid-900.ttf') format('ttf'), url('/custom/fontawesome/fa-solid-900.woff2') format('woff2'), url('/customs/fontawesome/fa-v4compatibility.ttf') format('ttf'), url('/customs/fontawesome/fa-v4compatibility.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@keyframes elektrisola-animate-first-line {
  0% {
    opacity: 0;
    translate: -150% 0;
  }

  100% {
    opacity: 1;
    translate: 0% 0;
  }
}


@keyframes elektrisola-animate-other-line {
  0% {
    opacity: 0;
    translate: -150% 0;
  }

  100% {
    opacity: 1;
    translate: -10% 0;
  }
}

.Sales label::before {
  display: inline-block;
  position: absolute;
  right: 50px;
  content: url('/custom/images/blue.png');
}

.WarehouseSales label::before {
  display: inline-block;
  position: absolute;
  right: 50px;
  content: url('/custom/images/023.png');
}

.PlantWarehouseSales label::before {
  display: inline-block;
  position: absolute;
  right: 50px;
  content: url('/custom/images/123.png');
}

.ArrowReady span::after {
  position: absolute;
  right: 0px;
  content: url(/custom/images/ArrowRightCollapse.png);
}

.elektrisola-plant::before {
  content: url('/custom/images/red.png');
  padding-right: 10px;
  display: inline-block;
}

.elektrisola-warehouse::before {
  content: url('/custom/images/green.png');
  padding-right: 10px;
  display: inline-block;
}

.elektrisola-saleoffice::before {
  content: url('/custom/images/blue.png');
  padding-right: 10px;
  display: inline-block;
}

.elektrisola-hide {
  display: none;
}

.elektrisola-link {
  color: var(--elektrisola-link-color);
  cursor: pointer;
}

.elektrisola-link:hover {
  text-decoration: underline;
  color: #05e993;

  &::before {
    color: #05e993;
  }
}

.elektrisola-point-dash {
  left: 20px;
  position: relative;
}

.elektrisola-point-dash::before {
  content: "\f068";
  font-family: 'Font Awesome 5 Free';
  padding-right: 10px;
  display: inline-block;
  position: absolute;
  left: -20px;
}

.elektrisola-link::before {
  content: "\f14d";
  font-family: 'Font Awesome 5 Free';
  padding-right: 10px;
  display: inline-block;
  color: var(--elektrisola-link-color);
}

.elektrisola-link-printer {
  color: var(--elektrisola-link-color);
  cursor: pointer;
  font-weight: bold;
}

.elektrisola-link-printer::before {
  content: "\f02f";
  font-family: 'Font Awesome 5 Free';
  padding-right: 10px;
  display: inline-block;
  color: var(--elektrisola-link-color);
}

.elektrisola-link-download {
  color: var(--elektrisola-link-color);
  cursor: pointer;
  font-weight: bold;
}

.elektrisola-link-download::before {
  content: "\f56d";
  font-family: 'Font Awesome 5 Free';
  padding-right: 10px;
  display: inline-block;
  color: var(--elektrisola-link-color);
}

.elektrisola-link-plus {
  color: var(--elektrisola-link-color);
  cursor: pointer;
  font-weight: bold;
}

.elektrisola-link-plus::after {
  content: "\2b";
  font-family: 'Font Awesome 5 Free';
  padding-left: 10px;
  display: inline-block;
  color: var(--elektrisola-link-color);
}

.elektrisola-link-right {
  color: var(--elektrisola-logo-color);
  cursor: pointer;
  font-weight: bold;
  font-size: x-large;
  text-align: right;
}

.elektrisola-link-right>a {
  color: var(--elektrisola-logo-color);
}

.elektrisola-link-right>a:hover {
  text-decoration: underline;
}

.elektrisola-link-right::after {
  content: "\f178";
  font-family: 'Font Awesome 5 Free';
  padding-left: 10px;
  display: inline-block;
  color: var(--elektrisola-logo-color);
}

.elektrisola-link-left {
  color: var(--elektrisola-logo-color);
  cursor: pointer;
  font-weight: bold;
  font-size: x-large;
}

.elektrisola-link-left>a {
  color: var(--elektrisola-logo-color);
}

.elektrisola-link-left>a:hover {
  text-decoration: underline;
}

.elektrisola-link-left::before {
  content: "\f177";
  font-family: 'Font Awesome 5 Free';
  padding-right: 10px;
  display: inline-block;
  color: var(--elektrisola-logo-color);
}

.elektrisola-photo-caption {
  font-size: small;
  margin-top: 10px;
}

.elektrisola-photo-caption::before {
  content: "\f10d";
  font-family: 'Font Awesome 5 Free';
  padding-right: 10px;
  display: inline-block;
}

.elektrisola-photo-caption::after {
  content: "\f10e";
  font-family: 'Font Awesome 5 Free';
  padding-left: 10px;
  display: inline-block;
}


.elektrisola-home-montage {
  position: relative;

  >div {
    position: absolute;
    color: var(--elektrisola-logo-color);
    font-size: 20px;
    top: 30%;
    text-align: right;
    right: 25%;

    >div:first-child {
      font-family: 'eurostile_extendedbold';
      text-transform: uppercase;
      font-size: 30px;
      animation: elektrisola-animate-first-line 5s;
      animation-fill-mode: backwards;
    }

    >div:nth-child(2) {
      font-weight: bold;
      translate: -10% 0;
      animation: elektrisola-animate-other-line 5s;
      animation-delay: 1s;
      animation-fill-mode: backwards;
    }

    >div:nth-child(3) {
      font-weight: bold;
      translate: -10% 0;
      animation: elektrisola-animate-other-line 5s;
      animation-delay: 2s;
      animation-fill-mode: backwards;
    }

  }
}

@media screen and (max-width: 900px) {
  .elektrisola-home-montage>div>div:first-child {
    font-size: medium;
  }

  .elektrisola-home-montage>div>div:nth-child(n+1) {
    font-size: small;
  }
}


.elektrisola-home-menu {
  display: flex;
  flex-direction: row;

  >div {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    font-family: eurostile_extendedbold;
    font-size: 15px;
    text-transform: uppercase;
    flex: 1 1 0%;
    margin: 5px;

    >a {
      position: relative;
      text-align: center;


      >img:first-child {
        opacity: 1;
        transition: 0.5s ease-in-out;
      }

      >img:last-child {
        opacity: 0;
        position: absolute;
        left: 50%;
        top: 50%;
        scale: 0.1;
        rotate: -90deg;
        translate: -50% -50%;
        transition: 0.3s ease-in-out;
      }

    }


    a:hover img:first-child {
      opacity: 0.4;
    }

    a:hover img:last-child {
      opacity: 0.7;
      scale: 0.5;
      rotate: 0deg;
    }

  }
}


@media screen and (max-width: 900px) {
  .elektrisola-home-menu {
    flex-direction: column;
    max-width: 600px;
    margin: auto;
  }

  .elektrisola-home-menu>div {
    justify-content: center;
    align-items: center;
  }
}

.elektrisola-page-title {
  font-family: 'eurostile_extendedbold' !important;
  text-transform: uppercase;
  font-size: var(--elektrisola-h2-font-size);
}

.elektrisola-section-title {
  font-family: 'eurostile_extendedbold' !important;
  text-transform: uppercase;
  font-size: var(--elektrisola-h3-font-size);
  padding-bottom: 10px;
}

.elektrisola-container {
  width: 100%;
  height: calc(100vh - 300px);
  overflow: scroll;
  border: var(--elektrisola-table-border) 3px solid;
}


.elektrisola-section-alternate-background {
  background-color: var(--elektrisola-section-alternate-background);
}

.elektrisola-button-red>* {
  padding: 10px 20px !important;
  background-color: var(--elektrisola-logo-color);
  border: none;
  color: whitesmoke;
  outline: none;
  display: inline-block;
  font-size: 15px !important;
}

.elektrisola-button-gray>* {
  padding: 5px !important;
  background-color: #555555;
  border: none;
  color: whitesmoke;
  outline: none;
  display: inline-block;
  font-size: 20px !important;
}

.elektrisola-arrowdown {
  margin: auto;
  padding-top: 20px;
  display: flex;
  justify-content: center;
  cursor: pointer;
}

.elektrisola-image {
  position: relative;
  margin-top: 20px;
}

.elektrisola-image-formula {
  margin-top: 0 !important;
}

.elektrisola-image-small {
  max-width: 200px;
}

.elektrisola-image-medium {
  max-width: 75%;
}

.elektrisola-image-zoom {
  position: absolute;
  display: block;
  left: 10px;
  top: 10px;
  color: var(--elektrisola-link-color);
  background-color: whitesmoke;
  padding: 5px 10px;
  opacity: 0;
  -webkit-transition: .3s ease-in-out;
  -moz-transition: .3s ease-in-out;
  -o-transition: .3s ease-in-out;
  -ms-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
  cursor: pointer;
  font-size: small;
}

.elektrisola-image:hover .elektrisola-image-zoom {
  opacity: 1;
}

.elektrisola-image-zoom::before {
  content: "\f00e";
  font-family: 'Font Awesome 5 Free';
  padding-right: 10px;
  display: inline-block;
  color: var(--elektrisola-link-color);
}




/* HISTORY PAGE */

.cont {
  width: 100px;
  margin: 0px;
  margin-bottom: 30px;
  align-self: center;
  justify-self: center;
}

.elektrisola-history-container {
  margin-top: 50px;
  \\margin-bottom: 50px;
  padding-bottom: 50px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-auto-flow: row;

  background-image: linear-gradient(90deg, transparent Calc(50% - 2px), gold Calc(50% - 2px), gold Calc(50% + 3px), transparent Calc(50% + 3px));
}

@media screen and (max-width: 768px) {
  .elektrisola-history-container {
    background-image: linear-gradient(90deg, gold 0, gold 5px, transparent 5px);
    background-position: left center;
    grid-template-columns: auto 1fr;
  }

  .elektrisola-history-timeline {
    grid-column: 1 !important;
    margin-left: -50px;
  }

  .elektrisola-history-content {
    grid-column: 2 !important;
    grid-row-end: auto !important;
  }

  .elektrisola-history-content {
    &:nth-of-type(4n+2) {
      justify-self: left !important;
      padding-left: 20px;
      padding-right: 0px !important;
    }
  }

  .cont {
    display: flex;
    justify-self: flex-start;
    margin-left: -48px;
  }
}

.elektrisola-history-timeline {
  grid-column: 2;
  grid-row: var(--row-no);

  margin-bottom: 20px;
  background-image: radial-gradient(circle, #6d767a 50px, transparent 50px);
  height: 100px;
  width: 100px;
  text-align: center;
  align-content: center;
  color: white;

  font-size: x-large;
  font-weight: bold;
}

.elektrisola-history-content {
  grid-column: var(--col-no);
  grid-row-start: var(--row-no);
  grid-row-end: Calc(var(--row-no) + 2);

  &:nth-of-type(4n+2) {
    justify-self: right;
    padding-right: 20px;
  }

  &:nth-of-type(4n) {
    justify-self: left;
    padding-left: 20px;
  }

  background-image: linear-gradient(transparent 18px, #6d767a 18px, #6d767a 22px, transparent 22px);
  margin-top: 30px;
  align-content: start;
  width: 400px;
  height: fit-content;

  >* {
    border-left: solid 1px #6d767a;
    border-right: solid 1px #6d767a;
  }

  >*:last-child {
    border-bottom: solid 1px #6d767a;
  }


  .title {
    background-color: #6d767a;
    color: white;
    padding: 10px;
    font-size: large;
  }

  .caption {
    padding: 10px;
    font-size: small;
    color: #6d767a;
  }

  .content {
    padding: 10px;
    text-align: justify;
    color: #6d767a;
    font-size: medium;
  }
}



/* INNOVATION PAGE */

.elektrisola-innovation-container {
  margin-top: 50px;
  padding-bottom: 50px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-auto-flow: row;

  background-image: linear-gradient(90deg, transparent Calc(50% - 2px), gold Calc(50% - 2px), gold Calc(50% + 3px), transparent Calc(50% + 3px));
}

.elektrisola-innovation-timeline {
  grid-column: 2;
  grid-row: var(--row-no);

  margin-bottom: 20px;
  background-image: radial-gradient(circle, #6d767a 50px, transparent 50px);
  height: 100px;
  width: 100px;
  text-align: center;
  align-content: center;
  color: white;

  font-size: x-large;
  font-weight: bold;
}

.elektrisola-innovation-content {
  grid-column: var(--col-no);
  grid-row-start: var(--row-no);
  grid-row-end: Calc(var(--row-no) + 2);

  background-image: linear-gradient(transparent 18px, #6d767a 18px, #6d767a 22px, transparent 22px);
  margin-top: 30px;
  align-content: start;
  width: 400px;
  height: fit-content;

  >* {
    border-left: solid 1px #6d767a;
    border-right: solid 1px #6d767a;
  }

  >*:last-child {
    border-bottom: solid 1px #6d767a;
  }


  .title {
    background-color: #6d767a;
    color: white;
    padding: 10px;
    font-size: large;
  }
}



.elektrisola-brochure-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2rem;

  >div {
    margin: 2rem;
    padding-inline: 2rem;

    >div:first-child {
      >h2 {
        font-weight: 400 !important;
      }
    }

  }
}

@media screen and (max-width: 900px) {
  .elektrisola-brochure-container {
    flex-direction: column;
    align-items: center;
  }
}




.elektrisola-contact-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.elektrisola-contact-container>label {
  flex: calc(33% - 100px);
}

.elektrisola-contact-container>div {
  flex: calc(100%);
}

.elektrisola-countact-country {
  font-size: var(--elektrisola-h4-font-size);
  padding: 10px 10px 10px 30px;
  cursor: pointer;
  margin-right: 100px;
  position: relative;
  -webkit-transition: .3s ease-in-out;
  -moz-transition: .3s ease-in-out;
  -o-transition: .3s ease-in-out;
  -ms-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}

.elektrisola-countact-country:has(input:checked) {
  background-color: var(--elektrisola-table-header-background);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.elektrisola-contact-address {
  opacity: 0;
  max-height: 50vh;
  overflow: auto;
  background-color: var(--elektrisola-table-header-background);
  padding: 30px 30px 0px 30px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  display: none;
  flex-direction: row;
  flex-wrap: wrap;
  -webkit-transition: .6s ease-in-out;
  -moz-transition: .6s ease-in-out;
  -o-transition: .6s ease-in-out;
  -ms-transition: .6s ease-in-out;
  transition: .6s ease-in-out;
}

.elektrisola-contact-address>* {
  flex: 33%;
  padding: 0 30px 30px 0;
}

.elektrisola-contact-address .elektrisola-image {
  width: 300px;
  padding: 0 0 10px 0;
}

.elektrisola-countact-country:has(input:checked)+.elektrisola-contact-address {
  display: flex;
  opacity: 1;
}

.elektrisola-contact-info-remark {
  font-size: medium;
}

.elektrisola-contact-info-name {
  font-size: medium;
  font-weight: bold;
}

.elektrisola-contact-info-telephone::before {
  content: "\f095";
  font-family: 'Font Awesome 5 Free';
  padding-right: 10px;
  display: inline-block;
}

.elektrisola-contact-info-fax::before {
  content: "\f1ac";
  font-family: 'Font Awesome 5 Free';
  padding-right: 10px;
  display: inline-block;
}

.elektrisola-contact-info-email::before {
  content: "\f0e0";
  font-family: 'Font Awesome 5 Free';
  padding-right: 10px;
  display: inline-block;
}

.elektrisola-contact-info-website::before {
  content: "\f0ac";
  font-family: 'Font Awesome 5 Free';
  padding-right: 10px;
  display: inline-block;
}

.elektrisola-contact-container>*:nth-child(1) {
  order: 1;
}

.elektrisola-contact-container>*:nth-child(2) {
  order: 4;
}

.elektrisola-contact-container>*:nth-child(3) {
  order: 2;
}

.elektrisola-contact-container>*:nth-child(4) {
  order: 5;
}

.elektrisola-contact-container>*:nth-child(5) {
  order: 3;
}

.elektrisola-contact-container>*:nth-child(6) {
  order: 6;
}

.elektrisola-contact-container>*:nth-child(7) {
  order: 7;
}

.elektrisola-contact-container>*:nth-child(8) {
  order: 10;
}

.elektrisola-contact-container>*:nth-child(9) {
  order: 8;
}

.elektrisola-contact-container>*:nth-child(10) {
  order: 11;
}

.elektrisola-contact-container>*:nth-child(11) {
  order: 9;
}

.elektrisola-contact-container>*:nth-child(12) {
  order: 12;
}

.elektrisola-contact-container>*:nth-child(13) {
  order: 13;
}

.elektrisola-contact-container>*:nth-child(14) {
  order: 16;
}

.elektrisola-contact-container>*:nth-child(15) {
  order: 14;
}

.elektrisola-contact-container>*:nth-child(16) {
  order: 17;
}

.elektrisola-contact-container>*:nth-child(17) {
  order: 15;
}

.elektrisola-contact-container>*:nth-child(18) {
  order: 18;
}

.elektrisola-contact-container>*:nth-child(19) {
  order: 19;
}

.elektrisola-contact-container>*:nth-child(20) {
  order: 22;
}

.elektrisola-contact-container>*:nth-child(21) {
  order: 20;
}

.elektrisola-contact-container>*:nth-child(22) {
  order: 23;
}

.elektrisola-contact-container>*:nth-child(23) {
  order: 21;
}

.elektrisola-contact-container>*:nth-child(24) {
  order: 24;
}

.elektrisola-contact-container>*:nth-child(25) {
  order: 25;
}

.elektrisola-contact-container>*:nth-child(26) {
  order: 28;
}

.elektrisola-contact-container>*:nth-child(27) {
  order: 26;
}

.elektrisola-contact-container>*:nth-child(28) {
  order: 29;
}

.elektrisola-contact-container>*:nth-child(29) {
  order: 27;
}

.elektrisola-contact-container>*:nth-child(30) {
  order: 30;
}

.elektrisola-contact-container>*:nth-child(31) {
  order: 31;
}

.elektrisola-contact-container>*:nth-child(32) {
  order: 34;
}

.elektrisola-contact-container>*:nth-child(33) {
  order: 32;
}

.elektrisola-contact-container>*:nth-child(34) {
  order: 35;
}

.elektrisola-contact-container>*:nth-child(35) {
  order: 33;
}

.elektrisola-contact-container>*:nth-child(36) {
  order: 36;
}

.elektrisola-contact-container>*:nth-child(37) {
  order: 37;
}

.elektrisola-contact-container>*:nth-child(38) {
  order: 40;
}

.elektrisola-contact-container>*:nth-child(39) {
  order: 38;
}

.elektrisola-contact-container>*:nth-child(40) {
  order: 41;
}

.elektrisola-contact-container>*:nth-child(41) {
  order: 39;
}

.elektrisola-contact-container>*:nth-child(42) {
  order: 42;
}

.elektrisola-contact-container>*:nth-child(43) {
  order: 43;
}

.elektrisola-contact-container>*:nth-child(44) {
  order: 46;
}

.elektrisola-contact-container>*:nth-child(45) {
  order: 44;
}

.elektrisola-contact-container>*:nth-child(46) {
  order: 47;
}

.elektrisola-contact-container>*:nth-child(47) {
  order: 45;
}

.elektrisola-contact-container>*:nth-child(48) {
  order: 48;
}


.elektrisola-hide {
  display: none;
}

.elektrisola-bottom-menu {
  padding: 1rem;
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  color: white;
  z-index: 500;

  >div:first-child {
    background-color: rgba(184, 184, 184, 0.9);
    color: var(--elektrisola-logo-color);
    \\padding: .5rem;
    text-align: right;
    margin: .25rem;
    color: black;
    border-radius: .75rem;
    display: none;

    >div {
      padding: .25rem .5rem;
      border-radius: .75rem;
    }

    >div:hover {
      background-color: #6d767a;
      cursor: pointer;
      color: white;
    }

    >div::after {
      content: "\f3e5";
      font-family: 'Font Awesome 5 Free';
      padding-left: 10px;
      display: inline-block;
      color: var(--elektrisola-logo-color);
    }
  }

  >div:first-child.show {
    display: block;
  }

  >div:nth-of-type(2) {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;

    >div {
      background-color: var(--elektrisola-logo-color);
      padding: .125rem .75rem;
      border-radius: .5rem;

      &:hover {
        cursor: pointer;

      }
    }

    >div:first-child::after {
      content: "\f3bf";
      font-family: 'Font Awesome 5 Free';
      padding-left: 10px;
      display: inline-block;
      color: white;
    }

    >div:nth-of-type(2)::after {
      content: "\f122";
      font-family: 'Font Awesome 5 Free';
      padding-left: 10px;
      display: inline-block;
      color: white;
    }

  }
}


.elektrisola-header-image>div>div {
  width: 66%;
}




.gm-control-active>img:first-child {
  display: block;
}

.gm-style img {
  max-width: none;
}

.gm-control-active>img {
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  display: none;
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
