body.modal-open {
    overflow: hidden;
}
  
.amico-modal-dialog {
  display: none; 
  position: fixed; 
  z-index: 9;
  padding: 0 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%; 
  overflow: auto; 
  margin: auto;
  place-items: center;
  background-color: rgba(0,0,0,0.8); 
}

.amico-modal-dialog-content {
  background: #FFE9B6;
  margin: auto;
  border: 1px solid #888;
  width: 75%;
  border-radius: 10px;
}

.amico-modal-dialog-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 50px 15px 50px;
}

.amico-modal-dialog-title{
    font-family: Poppins;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 0%;
}

.amico-modal-dialog-close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
}

.amico-expert-categories{
    display: flex;
    justify-content: space-between;
    margin-top: 0;
    width: 100%;
}

.amico-expert-category{
    font-family: Poppins;
    font-weight: 500;
    font-style: Medium;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #006997;
    margin-bottom: 0px;
    padding: 10px 20px 10px 50px;
}

.amico-expert-category-buttons {
    padding: 10px 10px 15px 50px;
}
  
.amico-expert-category-buttons button{
    display: block;
    background: none;
    border: none;
    padding: 15px;
    color: #4D4D4D;
    font-family: Poppins;
    font-weight: 400;
    font-style: Regular;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0%;
}

.amico-expert-category-buttons button.active {
    background: #006997;
    color: #fff;
    border-radius: 20px;
}

.amico-expert-category-list {
    position: relative;
    width: 50%;
}

.amico-modal-dialog-image {
    position: absolute;
    bottom: 0;
}

.amico-expert-category-list-details {
    width: 50%;
    z-index: 1;
    padding: 5px 50px 25px 5px;
}

.amico-expert-category-list-details label {
    margin-bottom: 5px;
}

#contact-us-modal .field-organization, #contact-us-modal .field-inquiry {
    display: none;
}

.amico-expert-category-list-details input, .amico-expert-category-list-details select, .amico-expert-category-list-details textarea {
    display: block;
    opacity: 1;
    border-radius: 3px;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    background: #FFFFFF;
    border: none;
    margin-bottom: 15px;
    width: 100%;
    outline: 0;
}

.amico-expert-category-list-details input::placeholder, .amico-expert-category-list-details textarea::placeholder {
    color: #B3B3B3;
}

.submit-btn{
    background: linear-gradient(90deg, #006997 0%, #0085AA 53.37%);
    opacity: 1;
    border-radius: 5px;
    padding: 12px 50px;
    font-family: Poppins;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #FFFFFF;
    border: none;
    float: right;
}

input.error, select.error, textarea.error {
  border: 1px solid red;
}

@media screen and (max-width: 768.99px) {
    .amico-modal-dialog {
        padding: 25px;
        overflow: hidden;
    }

    .amico-modal-dialog-content {
        width: 100%;
        height: 100%;
        overflow: auto;
    }

    .amico-modal-dialog-header{
        padding: 20px;
    }

    .amico-modal-dialog-title {
        font-size: 20px;
    }

    .amicoone-modal-dialog-body{
        height: 100%;
    }

    .amico-expert-category {
        padding: 10px 20px;
    }

    .amico-expert-categories {
        display: block;
    }

    .amico-expert-category-list {
        width: 100%;
    }

    .amico-expert-category-list-details {
        width: 100%;
        padding: 15px;
    }

    .amico-modal-dialog-image {
        display: none;
    }

    .amico-expert-category-buttons {
        display: flex;
        padding: 10px 10px 0 10px;
    }
}

@media screen and (width>=769px) and (width<991.99px) {
    .amico-modal-dialog-content {
        width: 100%;
    }
}