.tx-adkauploadform {
    
    .form-group {
        margin-bottom: 2rem;
    }
    
    .control-label {
        font-weight: 600;
    }
        
    .panel-group {
        border-bottom: none;
    }
    
    .panel-group .panel .panel-heading {
        border-top: none;
        
        .panel-title > a {
            border-top: 1px solid #9D8964;
            
            &.collapsed {
                border-bottom: 1px solid #9D8964;
            }
        }
    }
    
    .tx-adkauploadform-panel-heading {
        background: #E6DFD1;
        padding-top: 12px;
        padding-bottom: 12px;
        margin-bottom: 38px;
    }
    
    .validation-error {
        color: red;
        padding-left: 20px;
    }
    
    .field-description {
        font-size: 13px;
        margin-top: 5px;
        line-height: 1.3em;
        margin-bottom: 5px;
        padding-right: 20px;
        
        &.intended {
            padding-left: 20px;
        }
    }
    
    .form-group .tx-adkauploadforms-akadtitle label {
        @media (min-width: 768px) {
            display: block;
            text-align: right;
        }
    }
    
    .tx-adkauploadform_add-button {
        background: #19296B;
        color: #fff;
        position: relative;
        font-size: 1.8rem;
        display: block;
        text-align: left;
        padding: 1.4rem 5rem 1.1rem 2rem;
        border: none;
        border-radius: 0;
        cursor: pointer;
        outline: none;
        width: 100%;
        line-height: 1.1em;
    }
    
    .tx-adkauploadform_add-button-wrap {
        position: relative;
        margin: 0 0 50px;
        display: inline-block;
        overflow: hidden;
        
        button, input {
            padding-right: 70px;
            padding-left: 60px;
            display: inline-block;
            max-height: 105px;
            
            &:before {
                content: '';
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                left: 14px;
                width: 32px;
                height: 32px;
                background: url(../Icons/add-icon-adka.svg) center center no-repeat;
                background-size: contain;
            }
        }
        
        input {
            width: 100%;
        }
    }
    
    .tx-adkauploadform_upload-button-wrap {
        position: relative;
        margin: 10px 0 0;
        display: inline-block;
        overflow: hidden;
        
        label {
            padding-right: 70px;
            display: inline-block;
            background: #19296B;
            color: #fff;
            position: relative;
            font-size: 1.8rem;
            display: block;
            text-align: left;
            padding: 1.4rem 5rem 1.1rem 2rem;
            border: none;
            border-radius: 0;
            cursor: pointer;
            outline: none;
            width: 100%;
            line-height: 1.1em;
            
            &:after {
                content: '';
                display: inline-block;
                width: 20px;
                height: 20px;
                background-image: url(../Icons/upload-icon.svg);
                background-repeat: no-repeat;
                background-size: contain;
                background-position: center center;
                vertical-align: bottom;
                transform: translateY(-3px);
                margin-left: 10px;
            }
        }
    }
    
    .tx-adkauploadform_submit-wrap {
        position: relative;
        margin: 0 0 50px;
        display: inline-block;
        overflow: hidden;
        
        button, input {
            padding-right: 60px;
            display: inline-block;
        }
        
        input {
            width: 100%;
        }
    }
    
    .tx-adkauploadform_submit-overlay,
    .tx-adkauploadform_add-button-overlay,
    .tx-adkauploadform_upload-button-overlay {
        width: 100px;
        height: 150px;
        background: rgba(255,255,255,1);
        transform: rotate(45deg);
        content: '';
        position: absolute;
        top: 12px;
        right: -34px;
/*        border-bottom: 7.2rem solid #fff;
        border-left: 6.9rem solid transparent;*/
    }
    
    .first-author-fieldset + .first-author-fieldset,
    .author-fieldset + .author-fieldset,
    .supervisor-fieldset + .supervisor-fieldset {
        border-top: 1px solid #9D8964;
        padding-top: 50px;
        margin-top: 50px;
    }
    
    .supervisor-fieldset,
    .first-author-fieldset,
    .author-fieldset {
        margin-bottom: 40px;
    }
    
    fieldset {
        legend {
            display: none;
        }
    }
    
    h3 {
        margin-bottom: 10px;
        line-height: 1.3em;
        
        &.small {
            font-size: 18px;
            color: #4A4A4A;
            font-weight: 600;
            margin-bottom: 1px;
            max-width: 500px;
        }
        
        &.intended {
            padding-left: 20px;
        }
    }
    
    textarea {
        height: 180px;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-right: 20px;
    }
    
    .tx-adkauploads-field-wrapper {
        margin-bottom: 45px;
        position: relative;
        
        .charcount-data {
            position: absolute;
            top: 0;
            right: 0;
            font-size: 14px;
            color: #000;
            font-weight: 500;
            padding-right: 20px;
            
            &.warning {
                color: red;
            }
        }
    }
    
    .custom-radio-container {
        margin: 20px 0;
        
        .subfield-title {
            font-weight: 500;
            display: block;
        }

        .subfield-description {
            display: block;
            font-weight: normal;
            font-size: 16px;
            font-style: italic;
            line-height: 1.3em;
        }
        
        .subfield-title + .subfield-description {
            margin-top: 18px;
        }
    }
    
    .custom-checkbox-container {
        padding-left: 28px;
        
        .subfield-title {
            display: block;
        }

        .subfield-description {
            display: block;
            font-weight: normal;
            font-size: 16px;
            font-style: italic;
            line-height: 1.3em;
        }
        
        .subfield-title + .subfield-description {
            margin-top: 18px;
        }
    }
    
    input, textarea, select {
        &:user-invalid,
        &.invalid {
            border: 1px solid red;
            background: rgba(255,0,0,0.05);
        }
    }
    
    input:user-invalid ~ .custom-radio-element,
    input.invalid ~ .custom-radio-element,
    input:user-invalid ~ .custom-checkbox-element,
    input.invalid ~ .custom-checkbox-element {
        border: 1px solid red;
        background: rgba(255,0,0,0.05);
    }
    
    .nowrap {
        white-space: nowrap;
    }
    
    /*this style for bootstrap-select */
    .bootstrap-select {
        max-width: 100%;
        
        .dropdown-toggle {
            background: transparent;
            border: 1px solid #d9d9d9;
            box-shadow:none;
            display: flex;
            border-radius: 50px;
            align-items: center;
            padding: 5.5px 20px;
            
            &.bs-invalid {
                border: 1px solid red;
                background: rgba(255,0,0,0.05);
            }
        }
        .dropdown-menu {
            border-radius: 20px;
            padding: 6px 14px;
            z-index: 1;
            
            li {
                padding: 2px 0;
                margin-bottom: 5px;
                
                &:before{
                    content: "" !important;
                }
            }
            
            li.selected:after {
                content: "\f00c";
                font-family: 'adka' !important;
                font-size: 1.8rem;
                color: #9D8964;
                position: absolute;
                right: 0;
                top: 1px;
            }
        }
    }
    
    .js-adkauploadform-remove-first-author,
    .js-adkauploadform-remove-author,
    .js-adkauploadform-remove-supervisor
    {
        width: 100%;
        border: none;
        background: #dddfe9;
        color: #19296B;
        padding: 10px 10px 6px;
        transform: translateY(-44px);
        
        &:hover {
            cursor: pointer;
        }
        
        &:after {
            content: '';
            display: inline-block;
            width: 12px;
            height: 12px;
            margin-left: 20px;
            background-image: url(../Icons/close.svg);
            background-size: contain;
            background-position: center center;
            background-repeat: no-repeat;
        }
    }
    
    .button-captcha-refresh {
        border: none;
        background-image: url(../Icons/refresh.svg);
        background-size: 30px auto;
        background-position: center center;
        background-repeat: no-repeat;
        background-color: transparent;
        width: 40px;
        height: 40px;
        text-indent: -9999px;
        margin-left: 20px;
        
        &:hover {
            cursor: pointer;
        }
    }
    
    .tx-adkauploads-upload-wrapper {
        text-align: center;
        padding-top: 30px;
        padding-bottom: 30px;
        padding-right: 20px;
        padding-left: 1.8rem;
        border: 1px solid #d9d9d9;
        border-radius: 20px;
        overflow: hidden;
        
        input {
            position: absolute;
            top: 0;
            left: -999px;
        }
    }
    
    form input[type="number"] {
        height: 40px;
        line-height: 37px;
        width: 100%;
        border-radius: 20px;
        border: 1px solid #d9d9d9;
        font-size: 16px;
        padding-left: 1.8rem;
    }
}
