a.download-button {
    font-size: 1rem;
    vertical-align: middle;
    cursor: pointer;
    margin-top: 10px;
    font-weight: 400;
    line-height: 100%;
}

.grecaptcha-badge {
    z-index: 4;
}

.modal {
    display: none;
    position: fixed;
    z-index: 3;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.modal-content {
    border: 1px solid rgba(var(--theme-color), 0.3);
    position: relative;
    background: var(--primary-bg-color, #f2f8f9);
    height: 340px;
    margin: 15% auto;
    padding: 20px;
    width: 60%;
    max-width: 500px;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

.modal-header {
    padding-left: 10px;
    margin-top: 0;
}

#download-plugin-close {
    position: absolute;
    right: 5%;
    top: 4%;
    color: var(--theme-color, #aaa);
    opacity: 0.6;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

#download-plugin-close:hover,
#download-plugin-close:focus {
    color: var(--theme-color);
    opacity: 1;
    text-decoration: none;
    cursor: pointer;
}

.row {
    margin: 10px;
    display: flex;
    align-items: stretch;
    /*border: 1px solid var(--theme-color);
  */
    border-radius: 10px;
}

.row > label {
    color: var(--primary-bg-color, #f2f8f9);
    padding: 10px;
    background-color: var(--theme-color);
    text-align: center;
    width: 2.5rem;
    height: auto;
    display: block;
    justify-content: center;
    align-items: center;
    border-radius: 10px 0 0 10px;
    -webkit-border-radius: 10px 0 0 10px;
    -moz-border-radius: 10px 0 0 10px;
    -ms-border-radius: 10px 0 0 10px;
    -o-border-radius: 10px 0 0 10px;
}

.download-plugin-submit {
    width: 100%;
    text-align: center;
    padding: 10px;
    outline: none;
    border: none;
    font-size: 0.9rem;
    color: var(--theme-color);
    vertical-align: middle;
    cursor: pointer;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.download-plugin-submit:hover,
.download-plugin-submit:focus,
.download-plugin-submit:active {
    background-color: var(--theme-color);
    color: var(--primary-bg-color, white);
    transition: all 0.25s ease-in-out;
    overflow: hidden;
    outline: none;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
}

.download-plugin-submit:hover > i,
.download-plugin-submit:focus > i,
.download-plugin-submit:active > i {
    /* animation: flout 2s ease-in-out 1s infinite;
  -webkit-animation: flout 2s ease-in-out 1s infinite; */
}

.fa-circle-o-notch {
    animation: rotate 1s ease-in-out infinite;
}

@keyframes flout {
    from {
        transform: translate(-26px, 26px);
        -webkit-transform: translate(-26px, 26px);
        -moz-transform: translate(-26px, 26px);
        -ms-transform: translate(-26px, 26px);
        -o-transform: translate(-26px, 26px);
    }
    to {
        transform: translate(20px, -25px);
        -webkit-transform: translate(20px, -25px);
        -moz-transform: translate(20px, -25px);
        -ms-transform: translate(20px, -25px);
        -o-transform: translate(20px, -25px);
    }
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

#email-for-wrapper,
#name-for-wrapper,
#organisation-for-wrapper,
#which-wrapper,
#which-file,
#which-version {
    outline: none;
    border: 1px solid var(--theme-color);
    padding: 10px;
    border-left: none;
    flex: 1 2 auto;
    border-radius: 0 10px 10px 0;
    -webkit-border-radius: 0 10px 10px 0;
    -moz-border-radius: 0 10px 10px 0;
    -ms-border-radius: 0 10px 10px 0;
    -o-border-radius: 0 10px 10px 0;
}

#which-version,
#which-file {
    background-color: white;
}

#which-wrapper {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
}

#which-wrapper:disabled {
    font-weight: bold;
    color: var(--theme-color);
}

.fa-envelope {
    margin-right: 5px;
}

.fa-paper-plane {
    margin-right: 5px;
}

#email-for-wrapper.required:invalid,
#name-for-wrapper.required:invalid,
#organisation-for-wrapper.required:invalid {
    /* outline: 1px solid rgb(228, 51, 51); */
    border: 1px solid rgb(228, 51, 51);
}

.disabled-submit {
    pointer-events: none;
    cursor: not-allowed;
    background-color: var(--theme-color);
    /* filter:brightness(0.85); */
    color: var(--primary-bg-color, white);
    transition: all 0.25s ease-in-out;
    overflow: hidden;
    outline: none;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
}

.row:last-child:hover > .fa-envelope {
    color: var(--primary-bg-color);
}

.status-modal {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.status-modal > p:last-child {
    margin: 0;
}

.status-modal > p:not(:first-child, :last-child) {
    font-weight: 600;
}

.status-logo {
    font-size: 8em;
}

.success-body {
    color: #43bd52;
}

.pending-body {
    color: #ffbb56;
}

.error-body {
    color: red;
}

.row .row {
    margin: 0;
}

.in-row {
    flex: 2;
    margin-right: 10px !important;
}

.in-row:last-of-type {
    flex: 1;
    margin-right: 0 !important;
}

.in-row:last-of-type select {
    background: white;
}

select::-ms-expand {
    display: none;
}

select {
    /* for Firefox */
    -moz-appearance: none;
    /* for Chrome */
    -webkit-appearance: none;
}

@media (max-width: 510px) {
    .modal-content {
        height: auto;
        width: 96vw;
        margin: 20vh 2% auto 2%;
        padding: 2px;
    }
}
