body {
    background-color: #838882;
    margin: 0;
}

.header {
    border-top: 12px solid;
    border-color: white;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header.fixed {
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);

    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    transform: translate3d(0, 0, 0);
}

.header.active {
    background-color: #eb8b8d;
}

.header__inner {
    margin: 0 40px 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/*container*/

.container {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
}

section {
  grid-gap: 32px;
  display: grid;
  padding-top: 100px;
}

/* Nav */

.nav__link {
    text-align: left;
    padding: 20px 15px 20px 15px;    
    position: relative;
    font-family: 'Helvetica', serif;
    font-size: 15px;
    line-height: 135%;
    letter-spacing: 0.2px;
    color: #fff;
    text-decoration: none;
    transition: color .1s linear;
}


.nav__link:hover {
    background-color: #c2c2bb;
}

.nav__link:hover:after,
.nav__link.active:after {
    opacity: 1;
}

.nav__link.active {
    color: #666666;
}

.nav-toggle.active {
  position: absolute;
}

.nav.active {
  position: absolute;
}

.li {
  border: solid;
    border-color: antiquewhite;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 2em;
    border-radius: 60px;
    background: white;
    margin: -12px;
    display: block;
    color: white;
    position: initial;
}


.class-link{
  color:#333333;
  text-decoration:none;
}

.class-link:hover{
 color:#ffbb00; 
}

/*select*/

.select {
  position: relative;
  display: block;
  min-width: 220px;
  width: 100%;
  margin-bottom: 20px;
  border-bottom: solid rgba(66, 67, 72, 0.8)2px;
}

.select__head {
  font-family: sans-serif;
  height: 27px;
  width: 320px;
  font-size: 16px;
  line-height: 25px;
  color: rgba(66, 67, 72, 0.8);
  cursor: pointer;
}

.select__head__second {
  font-family: sans-serif;
  height: 27px;
  width: 450px;
  font-size: 16px;
  line-height: 25px;
  color: rgba(66, 67, 72, 0.8);
  cursor: pointer;
}

.select__list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: solid 2px;
  border-radius: 5px;
  margin-top: 5px;
  max-height: 205px;
  overflow-x: hidden;
  overflow-y: auto;
  z-index: 100;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: #ffd01c;
}

.select__list::-webkit-scrollbar {
  width: 7px;
  background-color: #F8F9FA;
  padding: 5px;
}

.select__list::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #D9D9D9;
}

.select__list .select__item {
  position: relative;
  border-top: 1px solid rgba(224, 229, 231, 0.5);
  padding: 10px 15px;
  cursor: pointer;
  list-style-type: none;
}

.select__list .select__item:hover {
  background-color: rgba(224, 229, 231, 0.5);
}

/* all application form */

.title {
  font-family: sans-serif;
  font-weight: 600;
  font-size: 16px;
}

.required {
  font-family: system-ui;
}

.form__label__first {
  grid-gap: 46px;
  display: flex;
  flex-direction: column;
}

.form__label__second {
  display: flex;
  grid-gap: 24px;
  flex-direction: column;
  align-items: flex-start;
}

.label {
  display: flex;
  grid-gap: 10px;
  flex-direction: column-reverse;
  cursor: pointer;
}

.all__part__form {
  display: flex;
  flex-direction: column;
  grid-gap: 42px;
  align-items: flex-start;
}

.text_second {
  border-left: none;
  border-top: none;
  height: 25px;
  width: 450px;
  border-right: none;
  font-size: 16px;
}

.title__second {
  font-family: sans-serif;
}

.checkbox__container {
  font-family: sans-serif;
  padding: 4px;
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 14px;

}

.checkbox__container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  border: solid 1px #c7c7c7;
  background-color: #ffffff;
}

.checkbox__container:hover input ~ .checkmark {
  border: solid 1px #c7c7c7;
  background-color: #fff;
}

.checkbox__container input:checked ~ .checkmark {
  border: solid 1px #c7c7c7;
  background-color: #ffffff;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox__container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox__container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid rgb(0, 0, 0);
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.submit__button {
  border: solid 1px black;
  background-color: white;
  height: 40px;
  width: 200px;
  font-weight: 600;
  font-size: 16px;
}

.submit__button:hover {
  border: solid 1px #aa5646;
  background-color: rgb(255, 255, 255);
  color: #aa5646;
}

input:focus {outline: none;}

#file {  display: none}

#file__second {  display: none}


.file_label, .file_label_second {
  display: block;
  font-size: 16px;
  font-family: Arial;
  width: 700px;
  height: 30px;
  line-height: 40px;
  color: black;
  text-align: center;
  padding: 0px 10px 10px;
  border: 1px solid #CCC;
  border-radius: 5px;
  transition: all 0.3s ease-in-out
}

.file_label:hover, .file_label_second:hover {
  background-color: #7d7d7d;
  color: #ffffff;
}

.form {
  padding: 50px;
  display: flex;
  flex-direction: column;
  grid-gap: 20px;
  align-items: flex-start;
}

.text {
    border-left: none;
    border-top: none;
    height: 25px;
    width: 320px;
    border-right: none;
    font-size: 16px;
}

.label__form {
  display: flex;
    grid-gap: 46px;
    justify-content: center;
}

.date__icon {
  position: absolute;
  width: 20px;
  margin-left: -31px;
}

.calendar {
  background: #ffffff;
  font-size: 16px;
}

.calendar__second {
  background: #ffffff;
  font-size: 16px;
}
.ui-datepicker {
  background: #ffffff;
  border: solid rgb(241, 241, 241);
}
.ui-datepicker-header {
  height: 50px;
  line-height: 50px;
  color: #9c9c9c;
  background: #ffffff;
  margin-bottom: 10px;
}
.ui-datepicker-prev,
.ui-datepicker-next {
  width: 20px;
  height: 20px;
  text-indent: 9999px;
  border-radius: 100%;
  cursor: pointer;
  overflow: hidden;
  margin-top: 12px;
}
.ui-datepicker-prev {
  float: left;
  margin-left: 12px;
}
.ui-datepicker-prev:after {
  transform: rotate(45deg);
  margin: -43px 0px 0px 8px;
}
.ui-datepicker-next {
  float: right;
  margin-right: 12px;
}
.ui-datepicker-next:after {
  transform: rotate(-135deg);
  margin: -43px 0px 0px 6px;
}
.ui-datepicker-prev:after,
.ui-datepicker-next:after {
  content: '';
  position: absolute;
  display: block;
  width: 8px;
  height: 8px;
  border-left: 2px solid #9c9c9c;
  border-bottom: 2px solid #9c9c9c;
}
.ui-datepicker-prev:hover,
.ui-datepicker-next:hover,
.ui-datepicker-prev:hover:after,
.ui-datepicker-next:hover:after {
  border-color: #333333;
}
.ui-datepicker-title {
  border-bottom-style: inset;
  text-align: center;
  font-size: 20px;
  font-family: sans-serif;
}
.ui-datepicker-calendar {
  width: 100%;
  text-align: center;
}
.ui-datepicker-calendar thead tr th span {
  font-weight: 400;
  display: block;
  width: 40px;
  color: #6d6d6d;
  margin-bottom: 5px;
  font-size: 16px;
  font-family: sans-serif;
}
.ui-state-default {
  display: block;
  text-decoration: none;
  color: #333333;
  line-height: 40px;
  font-size: 16px;
}
.ui-state-default:hover {
  color: #ffffff;
  background:#a2a2a2;
  border-radius:50px;
  transition: all 0.25s cubic-bezier(0.7, -0.12, 0.2, 1.12);
}
.ui-state-highlight {
  color: #ffffff;
  background-color:#8f8f8f;
  border-radius:50px;
}

.ui-state-active {
  color: #ffffff;
  background-color:#555555;
  border-radius:50px;
}
.ui-datepicker-unselectable .ui-state-default {
  color: #eee;
  border: 2px solid transparent;
}

.icon {
    margin-left: -30px;
    margin-top: -26px;
    position: relative;
    color: #31639c;
    font-size:20px;
}

/* Nav toggle */
.nav-toggle {
    width: 29px;
    padding: 10px 0;
    display: none;
    font-size: 0;
    color: transparent;
    border: 0;
    background: none;
    cursor: pointer;
    position: fixed;
    right: 24px;
    z-index: 1;
}

.nav-toggle:focus {
    outline: 0;
}

.nav-toggle__item {
    display: block;
    width: 100%;
    height: 2px;

    background-color: black;

    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;

    transition: background .2s linear;
}

.nav-toggle.active .nav-toggle__item {
    background: none;
    margin-left: 4px;
}

.nav-toggle__item:before,
.nav-toggle__item:after {
    content: "";
    width: 100%;
    height: 2px;

    background-color: black;

    position: absolute;
    left: 0;
    z-index: 1;

    transition: transform .2s linear;
}

.nav-toggle__item:before {
    top: -8px;
}

.nav-toggle__item:after {
    bottom: -8px;
}

.nav-toggle.active .nav-toggle__item:before {
    transform-origin: left top;
    transform: rotate(45deg) translate3d(0px, -2px, 0)
}

.nav-toggle.active .nav-toggle__item:after {
    transform-origin: left bottom;
    transform: rotate(-45deg) translate3d(0px, 3px, 0);
}

.text_logo {
    font-family: eb garamound, serif;
    font-weight: lighter;
    color: #ffffff;
    text-decoration: none;
    font-size: 36px;
}


/*application*/

.title__form {
  padding-bottom: 20px;
  margin: 0;
  margin-left: 10%;
    font-size: 62px;
    color: white;
    font-weight: 400;
}

.application {
    height: 100%;
    display: flex;
}

.white__part {
  background-color: #838882;
  width: 20%;
}

.app__form {
  width: 80%;
  background-color: white;
  display: flex;
  justify-content: center;
}

/*footer*/

footer {
    font-size: 16px;
    font-weight: 400;
    font-family: 'Montsserat', sans-serif;
    position: relative;
    z-index: 1;
    padding: 100px 0 40px;
    background: #222a29;
    color: #fff;
  }
  
  
  footer .wrapper {
    margin: 0 50px 0 50px;
}
  
  footer nav {
  display: flex;
  flex-direction: column;
  }
  
  footer nav a {
  font-size: 1rem;
  line-height: 2.2rem;
  text-decoration: underline;
  }
  
  
  .text_footer {
    line-height: normal;
    font-size: 42px;
    color: #d7dbd6;
    font-family: "Garamond", sans-serif;
    letter-spacing: normal;
    font-weight: 400;
  }

  .contact_button {
    height: 45px;
    margin-top: 10px;
    font-family: "Montsserat", sans-serif;
    text-transform: uppercase;
    outline: 0;
    background: #a65b4c;
    width: 229px;
    border: 0;
    color: #FFFFFF;
    font-size: 12px;
    cursor: pointer;
  }
  
  a.contact_button {
    display: block;
    height: 30px;
    margin-top: 10px;
    font-family: "Montsserat", sans-serif;
    text-transform: capitalize;
    outline: 0;
    background: #a65b4c;
    width: 150px;
    border: 0;
    color: #FFFFFF;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    padding-top: 12px;
   }
  
  a.contact_button:hover {
    background: #aa5646;
  }
  
  .info_footer {
    grid-gap: 24px;
    display: flex;
    flex-direction: column;
  }
  
  .footer {
    display: flex;
    grid-gap: 16px;    
    flex-direction: column;
  }

  @media (max-width: 1100px) {
    .white__part{
      width: 0%;
    }

    .app__form {
      width: 100%;
    }
  }

  @media (max-width: 900px) {
    .nav-toggle__item {
      display: block;
    }
  
    .text_logo {
      padding-left: 0;
    }
  
    .nav {
      padding-right: 0px;
      margin-top: 10px;
      position: relative;
      text-align: center;
    }
  
    .header_inner {
      justify-content: end;
      align-items: center;
      justify-items: center;
    }
  
  }

  @media (max-width: 830px) {
    .header {
      border-top: none;
      border-color: none;
    }

    .label__form {
      flex-direction: column;
    }

    .file_label, .file_label_second {
      width: 400px;
    }

    
 }


  
  
  @media (max-width: 736px) {
  
  footer {
      padding: 20px 0 30px;
      text-align: center;
  }
  
   /* Nav */
   .nav {
    padding-top: 22px;
    height: 300px;    
    display: none;
    width: 100%;
    position: absolute;
    top: -10px;
    left: 0;
    box-shadow:  4px 4px 4px rgba(0, 0, 0, 0.20);
    background-color: #000c05;
}

.nav.active {
    display: block;
}

.nav__link {
    font-size: 16px;
    display: block;
    margin: 0;
    padding: 8px 20px;
}

.nav-toggle {
    display: block;
}

.header__inner {
  margin: 0 20px 0 20px;
}

.white__part {
  width: 0%;
}

.app__form {
  width: 100%;
}

  
  }
  
  
  @media (max-width: 600px) {
    .icon {
        width: 85px;
    }
    
    
    .content {
        font-size: 26px;
        margin-top: 200px;
    }
    
    .text {
        font-size: 15px;
    }
    
    .text_footer {
      font-size: 32px;
    }
    
    .icon {
      width: 85px;
    }
    
    .content {
      font-size: 26px;
      margin-top: 200px;
    }
    
    .info_footer {
    align-items: center;
    }
  
    footer .wrapper {
      padding-left: 0;
    }

    .title__form {
      margin-left: 5%;
      font-size: 32px;
    }

    section {
      grid-gap: 24px;
      padding-top: 0px;
    }

    .text_logo {
      font-size: 32px;
    }
    
    }
    
    
    @media (max-width: 550px) {
      .title {
        font-size: 30px;
      }
    
      .trans-item {
        width: 280px;
      }
    
      .icons {
      padding-right: 0px;
    }
  
    .footer {
      grid-gap: 12px;
    }

    .file_label, .file_label_second {
      width: 320px;
    }

    .text_second {
      width: 320px;
    }
    
    .select__head__second {
      width: 320px;
    }

    .form {
      padding: 20px 10px 35px;
    }

    }

    .form-container {
      display: flex;
      justify-content: center;
    }
    .label__form1 {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }