/* The Modal (background) */
  .modal-language {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    padding-top: 250px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }

  /* Modal Content */
  .modal-content-language {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
  }

  /* Add Animation */
  @-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
  }

  @keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
  }

  /* The Close Button */
  .close-language {
    /* color: white; */
    color: #BAC0C5;
    float: right;
    font-size: 40px;
    font-weight: 500;
  }

  .close-language:hover,
  .close-language:focus {
    color: #DE9726;
    text-decoration: none;
    cursor: pointer;
  }

  .modal-header-language {
    padding: 2px 16px;
    /* background-color: #643D0E; */
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 45px;
  }

  .modal-header-language p {
    font-size: 20px !important;
    font-weight: 600;
    letter-spacing: 0em;
    color: #643D0E;
  }

  .modal-body-language {
    text-align: center;
    margin-bottom: 20px;
    /* margin: 10px;
    padding: 0 15px; */
  }

  
  .detail-list-language {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    margin-top: 20px;
  }

  .item-detail-list-language {
    background-color: #DE9726;
    color : white;
    flex: 1 1 auto;
    text-align: center;
    border-radius: 80px;
    display: block;
    padding: 10px 12px;
    margin: 6px;
    width: 38%
  }

  @media (max-width:1024px) {
    .detail-list-language {
      display: grid;
    }

    .item-detail-list-language {
      width: 100%
    }
  }

  @media (max-width: 768px) {
    .modal-content-language {
      width: 80%;
    }
  }