body {
    padding-top: 0;
}

h1 {
    font: 400 45px/1.111 "TT Firs Neue Bold", sans-serif !important;
}

h2 {
    font: 400 35px/1.143 "TT Firs Neue Bold", sans-serif !important;
    margin-top: 0 !important;
}

h3 {
    font: 400 25px/1.28 "TT Firs Neue Bold", sans-serif !important;
}

p {
    font-family: inherit !important;
}


/* #### HEADER #### */

.header-main {
    position: relative;
}

/* Flyout Navigation */
.skip-to-content {
    display: none;
}

.static-top.navbar-dark {
    box-shadow: none;
    border-bottom: 1px solid #b3b3b3;
}


/* #### FOOTER #### */

.footer div.container {
    border-top: 1px solid #b3b3b3;
}

.footer-wave {
    padding: 0 !important;
}



/* #### CONTENT #### */

.columnBlockLayout {
    margin: 0 !important;
}


/* Form */
table {
    border-top: none !important;
}

.crmEntityFormView .section {
    margin: 0 -5px;
}

table tr:hover td {
    background-color: transparent !important;
}
table th, table td {
    border-bottom: none !important;
    padding: 0 5px 20px 5px !important;
}

.crmEntityFormView, .entitylist, .modal-content, .popover-content  {
    border: none !important;
}

.section-title h3 {
    font-size: 18px !important;
    margin-bottom: 5px !important;
    margin-top: 0;  
}

label {
    font-weight: normal!important;
}


/* RADIO CHECKBOX */
.boolean-radio {
    margin-left: 2rem;
    display: flex;
    gap: 48px;
}

.crmEntityFormView .cell.boolean-radio-cell label {
    position: relative;
}

.control input[type="radio"]~label {
   
}

.control input[type="radio"]~label::before {
    content: "";
    top: 0;
    left: -32px;
    width: 22px;
    height: 22px;
    border: 0;
    pointer-events: auto;
    box-shadow: inset 0 0 0 1px #999;
    border-radius: 50%;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    position: absolute;
}
.control input[type="radio"]~label::after {
    content: "";
    top: 5px;
    left: -27px;
    width: 12px;
    height: 12px;
    pointer-events: none;
    -ms-transform-origin: 50% 50%;
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    display: inline-block;
    position: absolute;
    background-color: transparent;
    border-radius: 50%;
}

.control input[type="radio"]:checked+label::after {
    background-color: black;
}

/* GDPR to Checkbox */
label[for="sea_gdpr_0"] {
    display: none !important;
}

label[for="sea_gdpr_1"]::before {
    border-radius: 0 !important;
}

label[for="sea_gdpr_1"]::after {
    border-radius: 0 !important;
    content: "C" !important;
    background-color: transparent !important;
    color: transparent;
    font-family: "SEA Icons", sans-serif;
    top: 1px !important;
    left: -29px !important;
}

.control input#sea_gdpr_1:checked+label::after {
    color: #666;
}


/* SINGLE-SELECT */
.form-select, .crmentityformview select {
    border: 0;
    border-radius: 8px;
    height: 48px;
    font-size: 16px;
    padding: 0 20px;
}

.form-control:focus {
    box-shadow: inset 0 0 0 1px #999;
}

/* MULTI-SELECT */
.msos-container {
    border-radius: 8px;
    font-size: 16px !important;
}

.msos-inner-container,
.msos-selecteditems-container {
    height: 48px;
    align-items: center;
}
.msos-input-container {
    padding: 0 20px;
}

.control input[type="text"].msos-input:hover {
    box-shadow: none;
}
div.msos-container:not(.msos-disabled).msos-focused {
    box-shadow: none !important;
    border-color: #999 !important;
}

.msos-label .msos-label-text {
    padding: 5px 0px 5px 20px !important;
}

.msos-option .msos-label,
.msos-action-buttons .msos-label {
    background-color: transparent;
}

li.msos-option:hover {
    background-color: transparent !important;
}

label.msos-label:hover {
    background-color: #767676 !important;
}

label.msos-option:hover .msos-optionitem-text, 
label.msos-label:hover .msos-optionitem-text {    
    padding: 6px 0px 6px 20px !important;
    color: white;
}

/* : Select Carret */
.msos-caret-button {
    margin-right: 10px;
    margin-top: 2px;
}

.msos-msos-caret-button .msos-glyph:after {
    content: url("data:image/svg+xml;charset=utf8, %3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
    width: 12px;
    height: 16px;
    background-position: right, 0.75rem center;
    background-repeat: no-repeat;
}


/* : Special handling "Select All" */
.msos-action-buttons:hover .msos-label-text,
.msos-action-buttons:hover div.msos-itemcount-text {
    color: white;
}

.msos-label .msos-label-text div.msos-optionitem-text {
    padding: 0 !important;
}

.msos-action-buttons {
    box-shadow: 0 1px 1px 0px rgb(36 22 0 / .25);
}



/* : Upload area */
.entity-form fieldset:last-of-type {
    margin-bottom: 0;
}

.tr .file-cell {
    padding-left: 0 !important;
    margin-top: -16px;
}

.tr .table-info {
    background: transparent;
    padding-bottom: 1rem;
}


/* Hacky cleanup spacing around Upload*/

fieldset[aria-label~="Upload"] {
    height: 2rem;
}
fieldset[aria-label~="Kontaktdaten"] table tr:last-of-type {
    display: none;
}


/* Actions area */
#EntityFormPanel .actions {
    border-top: none;
}


/* BUTTONS */
.btn {
    font-family: "TT Firs Neue Bold", sans-serif !important;
    font-size: 16px !important;
    position: relative;
    z-index: 10;
}

/* Primary */

.actions input[type="button"] {
    background: linear-gradient(45deg, #00a9c1 0%, #312783 50%, #e30613 100%);
}


/* Secondary - Upoload */
button.btn-secondary {
    color: black;
    border: none;
    outline: none;
    background: transparent;
}


button.btn-secondary::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
    background: #fff;
    -webkit-transition: .3s all cubic-bezier(.215, .61, .355, 1);
    transition: .3s all cubic-bezier(.215, .61, .355, 1);
    -webkit-clip-path: inset(2px round 6px);
    clip-path: inset(2px round 6px);
}

button.btn-secondary:hover {
    color: black;
}
button.btn-secondary:hover::before {
    clip-path: inset(3px round 6px);
}


button.btn-secondary::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    z-index: -2;
    border-radius: 8px;
    background: linear-gradient(135deg, #00a9c1 0%, #312783 50%, #e30613 100%);
}

/* ### VALIDATION ### */
.alert-block {
    background: #ffebeb !important;
    border-radius: 16px !important;
    padding: 24px;
    margin-bottom: 32px;
}

.alert-block h2 {
    font-size: 24px !important;
}

.alert-block uli {
    list-style: disc;
    padding-left: 32px;
}

.alert-block a {
    color: black !important;
}