.download-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

/*.file-download .form-title, .hs-form-field>label, .hs-form-field>label span {
  color: #666666 !important;
}

.file-download form .hs-richtext h1, form .hs-richtext h2,
form .hs-richtext h3, form .hs-richtext h4, form .hs-richtext h5, form .hs-richtext h6 {
  color: #666666 !important;
  font-size: 20px;
  font-weight: bold;
}*/
  
/* Button styling */
     .file-download, .file-download .file-button {
        margin-top: 20px;
        max-width: 180px;
        font-size: 16px;
        border:none;
        text-align: center;
        border-radius:35px;
        cursor:pointer;
        padding:10px 20px;
        box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 4px -1px, rgba(0, 0, 0, 0.3) 0px 1px 2px -1px;
      }

 .big-file-download, .big-file-download .file-button {   
        display:flex;
        justify-content: center;
        align-items: center;
        font-size: 16px;
        border:none;
        text-align: center;
        border-radius:35px;
        cursor:pointer;
        box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 4px -1px, rgba(0, 0, 0, 0.3) 0px 1px 2px -1px;
      }
.file-download .card:hover, .big-file-download .card:hover{
  transform: scale(1.005)
}

/* End button styling */


/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  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/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 30px;
  border: 1px solid #888;
  width: 30%; /* Could be more or less, depending on screen size */
  border-radius: 20px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 4px -1px, rgba(0, 0, 0, 0.3) 0px 1px 2px -1px;
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Form custom styling 
.file-download form {
  display: flex !important;
  align-items: center !important;
  flex-direction: column;
  box-sizing: border-box;
}

/* Error msg text 
.file-download li {
  font-size: 12px !important;
  position: absolute;
  margin-top: 2px;
  margin-left: 0px;
}
.file-download li label {
  color: #060606 !important;
}

.file-download .legal-consent-container  {
 font-size: 12px !important;
 max-width: 400px;
 margin-top: 20px;
}

.file-download form .legal-consent-container, .file-download form .legal-consent-container .hs-richtext, .file-download form .legal-consent-container .hs-richtext p {
  font-size: 12px !important;
}

/* Input fields 
.file-download form input[type='submit'],
.file-download form .hs-button {
    background-color: #E68675 !important;
    border-radius: 10px !important;
    color: white !important;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px !important;
    padding: 12px;
    margin-left: 5px;
    width: 400px !important;
}

.file-download form input[type='email']{
    background-color: white !important;
    border-radius: 10px !important;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px !important;
    color: #666666 !important;
    width: 400px !important;
    outline: none !important;;
}

.file-download form input[type='submit']:focus,
.file-download form input[type='email']:focus {
    border:none !important;
    outline: none !important;
}


.file-download form input[type='submit']:active{
    transform: scale(1.02) 
}

.hs-input.invalid.error {
    border-color: #E68675 !important;
}
/* End form custom styling */


/* Queries less than 800px */
@media only screen and (max-width: 800px) {
/* Big card styling */
    .big-file-download {
      flex-direction: column !important;
       margin-top: 20px;
        font-size: 18px !important;
        border:none !important;
        text-align: center !important;
        border-radius:35px;
        cursor:pointer;
        padding:10px 25px;
        box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 4px -1px, rgba(0, 0, 0, 0.3) 0px 1px 2px -1px;
  }
  
   /* Modal Content/Box */
  .modal-content {
    margin: 15% auto; /* 15% from the top and centered */
    padding: 30px;
    border: 1px solid #888;
    width: 70%; /* Could be more or less, depending on screen size */
    border-radius: 20px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 4px -1px, rgba(0, 0, 0, 0.3) 0px 1px 2px -1px;
  }
}

@media only screen and (max-width: 500px) {
  .file-download {
    display:none;
  }
}

