/* Form Wizard */

#campaign-form.wizard {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#campaign-form .iti {
    display: block;
}

/* Steps */
#campaign-form > div.steps > ul {
    position: relative;
    display: flex;
    justify-content: space-evenly;
}

#campaign-form > div.steps > ul:before {
    content: " ";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 2px;
    background: #FDE4A6;
    z-index: 0;
}

#campaign-form > div.steps > ul > li {
    position: relative;
    background: #FFD66F;
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    border: 2px solid #003F3F;
}

#campaign-form > div.steps > ul > li > a{
    color: #003F3F; /* accent */
    font-size: 20px; /* h5 */
    font-weight: 600; /* semibold */
}


#campaign-form > div.steps > ul > li.disabled {
    background: #FFF7E1; /* accent light/lighter */
    border-color:#FFF7E1;
}

#campaign-form > div.steps > ul > li.done {
    background: #FDE4A6;
    border-color:#FDE4A6;
}

#campaign-form > div.steps > ul > li.done:after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 110%;
    height: 110%;
    border: 2px solid #003F3F;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #003F3F;
    transform: translate(-50%, -50%);
    background: #FFD66F;
}

#campaign-form > div.steps > ul > li .current-info,
#campaign-form > div.steps > ul > li .number {
    display: none;
}

/* Steps */

#campaign-form > div.content > h5 {
    display: none;
}

#campaign-form > div.content > fieldset {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#campaign-form > div.content > fieldset label {
    width: 100%;
}

/* Actions */
#campaign-form > div.actions > ul {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

#campaign-form > div.actions > ul > li {
    flex: 1;
}

#campaign-form > div.actions > ul > li > a {
    display: block;
    width: 100%;
}

#campaign-form > div.actions > ul > li > a > button {
    display: block;
    width: 100%;
}

/* Start Codedropz */

.codedropz-upload-wrapper {
  margin-top: 0.5rem !important;
}

.codedropz-upload-handler {
  background-color: #FFF7E1 !important;
  border: 1px dashed #6C7781 !important;
}

.codedropz-upload-inner > h5 {
  color: #F8F8F8;
  font-weight: 300;
}

@media (max-width: 992px) {
  .codedropz-upload-inner > span {
    display: none;
  }
}
.cd-upload-btn {
  text-decoration: underline !important;
  color: #003F3F;
  font-weight: 600;
}
.cd-upload-btn:hover {
  text-decoration: underline !important;
  color: #003F3F;
  font-weight: 600;
}

.dnd-upload-counter {
  display: none;
}

/* End Codedropz */

fieldset input[type=text], 
fieldset input[type=email], 
fieldset input[type=tel], 
fieldset input[type=date], 
fieldset input[type=number], 
fieldset input[type=password], 
fieldset select{
    border-radius: 6px;
    border: 1px solid #A0AABD;
}

fieldset .text-disclaimer > p {
    font-size: 12px !important;
}

fieldset .text-disclaimer .wpcf7-list-item {
    line-height: 14px !important;
}

fieldset .text-disclaimer input[type=checkbox] {
    border-radius: 4px;
    border: 2px solid #00403F;
    margin-right: 0.25rem;
}

.wpcf7-text, .wpcf7-select{
    font-size: 14px;
}

.wpcf7-text::placeholder{
    color: #3f3f3f;
    font-weight: 400;
}

.wpcf7-form-control{
    max-width: 100%;
    padding-top: 0.5rem;
    padding-bottom:  0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border: 1px solid #CCD8D8;
    border-radius: 25px !important;
}

.wpcf7-form-control.wpcf7-acceptance{
    padding-left: 0;
    padding-right: 0;
    border: none;
}

.wpcf7-list-item{
    margin: 0;
}

.wpcf7-submit{
    background-color: #FFD66F;
    color: #003F3F;
    border: 1px solid #003F3F;
    box-shadow: 2px 2px 0px #003F3F;
}

.wpcf7-spinner{
    margin-top: .5rem !important;
}

.wpcf7 .wpcf7-submit:disabled{
    opacity: 0.5;
}

/* For Tablet and Desktop */
@media only screen and (min-width: 600px) {
    #campaign-form {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 1.5rem;
    }
    
    #campaign-form > fieldset {
        display: contents;
    }

    #campaign-form > fieldset:last-of-type > div:last-child {
        grid-column-start: 1;
        grid-column-end: span 2;
    }
    
    #campaign-form > div:last-child {
        grid-column-start: 1;
        grid-column-end: span 2;
    }
}