﻿:root {
  --orange-500: #ff6f00;
  --orange-600: #ff6a00;
  --blue-600: #1460B8;
  --gray-200: #E0E0E0;
  --gray-300: #e0e0e0;
  --gray-400: #444;
}

#frmModify {
  margin-bottom:20px;
  .logo { max-width:80px; img { max-width:80px; max-height:150px; } }
  a { color:var(--orange-500); }
}

#CompanyHeader {
  .head { background:white; border-radius:4px; text-align:center; padding:10px 20px 0 20px; }

  .logo {
    margin:10px 10px 16px;
    .border1 { border-top:1px solid var(--gray-200); position:relative; top:58px; }
    .img {
      width:116px; height:116px; overflow:hidden; background:white; border-radius:4px; margin:auto; display:flex; align-items:center; justify-content:center; border:1px solid var(--gray-200); position:sticky; z-index:1;
      img { display:block; }
    }
  }

  a { color:var(--blue-600); font-weight:400; text-decoration:underline; cursor:pointer; }

  .name { font-size:20pt; font-weight:bold; margin-bottom:16px; text-align:center; &:first-child { padding-top:10px; } }

  .flex {
    align-items:flex-start; margin:0 auto; justify-content:center; max-width:860px; flex-wrap:wrap; display:flex; text-align:right; gap:clamp(10px,4vw,40px);
    > span {
      margin:2px 6px; color:gray; font-size:11pt; line-height:1.25; display:flex; flex-direction:column; align-items:center; gap:10px;
      &:before { display:block; font-size:17pt; line-height:42px; float:right; color:white; margin-left:10px; width:42px; height:42px; background:var(--blue-600); border-radius:50%;}
    }
    strong { display:block; font-weight:bold; font-size:12pt; color:black; }
  }

  .btn { margin-top:20px; }
  .GreenButton { padding:10px; font-weight:bold; }

  .white {
    max-width:900px; margin:20px auto 44px; border-bottom:1px solid var(--gray-200); position:relative; background:#EBF4FF; border-radius:4px;
    > div { padding:32px; position:relative; }
    .description { line-height:1.4; text-align:right; margin-bottom:20px; max-height:80px; overflow:hidden; transition:max-height ease-out .4s; &.more { max-height:999px; } &.more + span { display:none; } }
    #descmore { text-align:center; color:var(--orange-500); }
  }

  .Youtube { text-align:center; display:block; float:left; width:60%; aspect-ratio:16/9; iframe { margin:2px 10px 10px; } }

  @media all and (max-width:700px) {
    .head { padding-inline:40px; }
    .flex { flex-direction:column; > span { width:100%; flex-direction:row; } }
    .white { width:94%; }
    .Youtube iframe { width:83vw; aspect-ratio: 16/9 }
  }

  @media all and (min-width:700px) {
    .Youtube iframe { width:100%; height:340px; }
  }
}

.h4specialities { font-size:140%; max-width:900px; font-weight:bold; margin:10px auto 15px; text-align:center; }

.specialities {
  position:relative; margin:0 auto 6px;
  > div:first-child {
    line-height:34px;
    span { position:absolute; top:0; font-size:23pt; width:30px; padding:1px 0; background:white; cursor:pointer; &::before { width:auto; content:""; } &.left { left:0; } &.right { right:0; } }
  }
  &.scroll {
    #specialities {
      @media all and (max-width:600px) { padding-inline:1rem; }
    }
  }
}

#specialities {
  font-size:11pt; display:flex; overflow-x:auto; scroll-behavior:smooth;
  div:last-child { display:flex; padding-bottom:8px; gap:7px; flex-wrap:nowrap; white-space:pre; }
  a { padding:0 8px; font-size:12pt; background:white; border:2px solid var(--gray-200); border-radius:7px; color:#333;
    &.active { background:#f66d00; border-color:var(--orange-500); color:white; }
    &.red { background:#c00; color:white; }
    b { font-weight:normal; }
  }
  &:hover::-webkit-scrollbar-track { box-shadow:inset 0 0 2px grey; }
  &::-webkit-scrollbar-track { border-radius:10px; }
  &::-webkit-scrollbar { height:8px; }
  &::-webkit-scrollbar-thumb { background:var(--gray-300); border-radius:10px; }
}

.CompanyNoResults {
  margin:60px auto; text-align:center; font-size:17pt; line-height:1.4; color:gray;
  a { font-size:16pt; color:var(--orange-600); text-decoration:underline; span { text-decoration:none; } }
  > b { font-size:1.05em; color:var(--gray-400); }
}
