﻿:root {
}

.tab-list {
  list-style-type: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  margin: 0;
  padding: 0;
}

  .tab-list li {
    flex-basis: 24%;
    padding: 10px;
    flex-grow: 1;
    display: block;
    box-sizing: border-box;
    border: 2px solid green;
  }

    .tab-list li a {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      height: 100%;
    }

.buttons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

  .buttons li {
    flex-basis: 15%;
    margin-left: 10px;
  }

    .buttons li:hover,
    .buttons li.active {
      background-color: darkgreen;
    }


      .buttons li:hover a span,
      .buttons li.active a span {
        color: white;
      }

    .buttons li:first-child {
      margin-left: 0;
    }

    .buttons li a {
      box-sizing: border-box;
      border: 2px solid green;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 5px;
      min-height: 130px;
      justify-content: space-around;
    }

      .buttons li a span::first-letter {
        text-transform: capitalize;
      }

      .buttons li a span {
        color: darkgreen;
      }



.ban-img {
  height: 150px;
  margin-top: 20px;
}

.ab-cont {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

  .ab-cont .text {
    flex-basis: 50%;
    order: -1
  }

    .ab-cont .text a {
      display: inline-block;
      margin-top: 30px;
      font-style: normal;
      font-weight: 500;
      font-size: 14px;
      line-height: normal;
      color: #23AF47;
      border: 1px solid #23AF47;
      border-radius: 5px;
      padding: 10px 20px;
      transition: var(--transition);
    }

      .ab-cont .text a:hover {
        background-color: darkgreen;
        color: white;
      }

  .ab-cont .for-img {
    display: block;
    flex-basis: 48%
  }

    .ab-cont .for-img .big.img {
      height: 250px;
      margin-bottom: 15px
    }

    .ab-cont .for-img .lit-img {
      display: flex;
      justify-content: space-between
    }

      .ab-cont .for-img .lit-img .img {
        flex-basis: 31%;
        height: 125px
      }

/**Welcome*/
.welcome{
  line-height:var(--line-height);
}
.welcome p{
  text-indent:20px;
}
.welcome span{
  font-weight:600;
}


.welcome ul li p{
  font-style:italic;
}
/**End welcome*/

.mes {
  background: #23AF47;
  padding: 20px 25px;
  text-align: center;
  position: relative;
  margin: 50px 0;
}

  .mes p {
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 30px;
    text-align: center;
    color: #FFFFFF;
  }

  .mes .fs-d {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 20px;
  }

  .mes .sec-d {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 20px;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
  }

.doctors {
  position: relative;
}

  .doctors .all {
    top: 20px;
  }

  .doctors .title span {
    font-size: 20px;
  }

  .doctors .title::after {
    top: -10px;
  }

.main-doc .fl {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

  .main-doc .fl .img {
    flex-basis: 30%;
    text-align: center;
  }

    .main-doc .fl .img img {
      width: 70%;
    }

  .main-doc .fl .text {
    flex-basis: 70%;
    line-height: 32px;
  }

    .main-doc .fl .text span {
      font-size: 24px;
    }

    .main-doc .fl .text .l-name {
      font-size: 20px;
      text-transform: uppercase;
    }

    .main-doc .fl .text .f-name {
      font-size: 18px;
    }

    .main-doc .fl .text .spec {
      font-style: italic;
    }

.vacancies {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 20px 0 0 0;
}

  .vacancies .vacancy {
    flex-basis: 48%;
    border: 1px solid green;
    padding: 5px;
  }

/**Question*/
.row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 50px;
}

  .row .form {
    border: 1px solid #23AF47;
    flex-basis: 30%;
  }

    .row .form form {
      padding: 20px;
    }

    .row .form p {
      font-style: normal;
      font-weight: bold;
      font-size: calc(var(--font-size) * 1.2);
      line-height: var(--line-height);
      text-align: center;
      color: #23AF47;
      margin-bottom: 20px;
    }

      .row .form p:first-letter {
        text-transform: capitalize;
      }

    .row .form form div {
      margin-bottom: 10px;
    }

      .row .form form div label {
        font-style: normal;
        font-weight: 500;
        font-size: var(--font-size);
        line-height: 20px;
        color: #222222;
        display: block;
        margin-bottom: 5px;
      }

      .row .form form div input {
        width: 100%;
        padding: 10px;
        background: #FFFFFF;
        border: 1px solid #C4C4C4;
        box-sizing: border-box;
        border-radius: 5px;
        font-style: normal;
        font-weight: normal;
        font-size: var(--font-size);
        line-height: normal;
        color: #222222;
      }

        .row .form form div input:focus,
        .row .form form div textarea:focus {
          outline-color: darkgreen;
          outline-style: solid;
          outline-width: 1px;
        }

        .row .form form div input:user-invalid,
        .row .form form div textarea:user-invalid {
          box-shadow: 0 0 1px 2px red;
        }

        .row .form form div input:focus:invalid,
        .row .form form div textarea:focus:invalid {
          box-shadow: none;
        }

        .row .form form div input:valid,
        .row .form form div textarea:valid {
          outline-color: darkgreen;
          outline-style: solid;
          outline-width: 2px;
        }

      .row .form form div textarea {
        width: 100%;
        padding: 10px;
        background: #FFFFFF;
        border: 1px solid #C4C4C4;
        box-sizing: border-box;
        border-radius: 5px;
        font-style: normal;
        font-weight: normal;
        font-size: var(--font-size);
        line-height: normal;
        color: #222222;
        height: 100px;
        resize: none;
      }


input::placeholder {
  font-style: normal;
  font-weight: normal;
  font-size: var(--font-size);
  line-height: normal;
  color: #838383;
}

textarea::placeholder {
  font-style: normal;
  font-weight: normal;
  font-size: var(--font-size);
  line-height: normal;
  color: #838383;
}

.row .form form input[type="submit"] {
  cursor: pointer;
  background: #23AF47;
  border: 1px solid #23AF47;
  font-style: normal;
  font-weight: bold;
  font-size: var(--font-size);
  line-height: normal;
  color: #FFFFFF;
  padding: 5px 10px;
  width: 60%;
  min-width: min-content;
  margin: 20px auto 0;
  display: block;
  border-radius: 5px;
  transition: var(--transition);
}

  .row .form form input[type="submit"]:hover {
    background-color: red;
  }

/**End question*/
@media screen and (max-width:800px) {
  .buttons li {
    flex-basis: 20%;
  }

  .ban-img {
    height: 100px;
  }
}
