@charset "UTF-8";

.wp-admin .talenstorm__api {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 700px;
    margin: 0 auto;
    --mainColor: #ff8e0d;
    --secColor: #e27e0c;
    --lightGrey: #eee;
    --mediumGrey: #ddd;
    --radius: 4px;
}

.wp-admin .talentstorm__inner {
    padding: 12px;
}

.wp-admin .talentstorm__inner .talentstorm__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
}

.wp-admin .talentstorm__inner .talentstorm__header .notice.is-dismissible {
    width: 100%;
    order: -1;
}

.wp-admin .talentstorm__inner .talentstorm__logo {
    display: block;
    height: auto;
    margin: 0;
}
.wp-admin .talentstorm__inner .talentstorm__logo img {
    max-width: 100%;
    height: auto;
}
.wp-admin .talentstorm__inner h1 {
    display: inline-block;
    padding: 0;
}

.wp-admin .talenstorm__attributes__table {
    --talentstorm-table-bg: transparent;
    --talentstorm-table-accent-bg: transparent;
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
    color: #212529;
    vertical-align: top;
    border-color: var(--mainColor);
}

.wp-admin .talentstorm__toggle__table {
    -webkit-appearance: none;
    appearance: none;
    padding: 0;
    border: 0 none;
    font-weight: bold;
    cursor: pointer;
    color: var(--mainColor);
    margin: 0 0 12px;
}

.wp-admin .talentstorm__toggle__table:focus {
    outline: none;
}

.wp-admin .talentstorm__table__wrapper {
    box-sizing: border-box;
}

.wp-admin .collapse {
    max-height: 0;
    overflow: hidden;
    transition: 350ms max-height ease;
}

.wp-admin .talenstorm__attributes__table > thead {
    vertical-align: bottom;
    text-align: left;
}

.wp-admin .talenstorm__attributes__table tbody,
.wp-admin .talenstorm__attributes__table td,
.wp-admin .talenstorm__attributes__table th,
.wp-admin .talenstorm__attributes__table thead,
.wp-admin .talenstorm__attributes__table tr {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
}

.wp-admin .talenstorm__attributes__table>:not(caption)>*>* {
    padding: .5rem;
    background-color: var(--talentstorm-table-bg);
    border-bottom-width: 1px;
    vertical-align: text-top;
    box-shadow: inset 0 0 0 9999px var(--talentstorm-table-accent-bg);
}

.wp-admin .talentstorm__inner hr {
    margin: 24px 0;
}

.wp-admin .talentstorm__inner p.submit {
    text-align: right;
}

.wp-admin .talentstorm__inner input[type="submit"] {
    padding: 5px 15px;
    background-color: var(--mainColor);
    border-color: var(--mainColor);
}

.wp-admin .talentstorm__inner input[type="submit"]:hover,
.wp-admin .talentstorm__inner input[type="submit"]:focus {
    background: var(--secColor);
    border-color: var(--secColor);
}

.wp-admin .talentstorm__inner input[type="submit"]:focus {
    box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--secColor);
}

.wp-admin .talentstorm__inner legend {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 18px;
}

.wp-admin .talentstormAdminNav {
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.wp-admin .talentstormAdminNav li {
    flex: 0 0 calc(50% - 12px);
}
.wp-admin .talentstormAdminNav button {
    width: 100%;
    padding: 18px 24px;
    background-color: var(--lightGrey);
    border: 1px solid var(--mediumGrey);
    border-radius: var(--radius);
    transition: 200ms all ease;
}

.wp-admin .talentstormAdminNav button:hover,
.wp-admin .talentstormAdminNav button:focus {
    background-color: var(--mediumGrey);
}

.wp-admin .talentstormAdminNav button:focus {
    outline: none;
}

.wp-admin .talentstormAdminNav button.active {
    background-color: var(--mainColor);
    border-color: var(--mainColor);
    color: #fff;
}

.wp-admin .talentstormAdminContent > div {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: 500ms opacity ease;
}

.wp-admin .talentstormAdminContent > div.active {
    display: block;
    opacity: 1;
    visibility: visible;
}

.wp-admin .talentstorm__form__row:not(:last-of-type) {
    margin: 0 0 24px;
}

.wp-admin .talentstorm__form__field {
    display: flex;
    align-items: center;
}


.wp-admin .talentstorm__form__field.targetIsActive {
    display: flex;
}

.wp-admin .talentstorm__form__field.targetIsNotActive {
    display: none;
}

.wp-admin .talentstorm__form__row > .talentstorm__form__field:not(:last-of-type) {
    margin: 0 0 12px;
}

.wp-admin .talentstorm__form__field label {
    flex: 0 0 30%;
}

.wp-admin .talentstorm__form__field .talentstorm__form__input {
    flex: 1;
}

.wp-admin .talentstorm__form__field .talentstorm__form__input > * {
    width: 100%;
    max-width: 100%;
}

.wp-admin .talentstorm__form__info.talentstorm__form__field {
    align-items: flex-start;
}

.wp-admin .talentstorm__form__input.mediaFileBox {
    display: flex;
    gap: 12px;
}

.wp-admin .talentstorm__form__input.mediaFileBox input[type="text"] {
    flex: 1;
}

.wp-admin .talentstorm__form__input.mediaFileBox input[type="button"] {
    flex: 0 0 auto;
    width: auto;
}

.wp-admin .talentstorm__form__info.talentstorm__form__field .talentstorm__form__input > p {
    white-space: normal;
    word-wrap: break-word;
    max-width: fit-content;
    margin: 0;
}

.wp-admin .switcher {
    height: 28px;
    margin: 0;
    position: relative;
    width: 18rem;
}
.wp-admin .switcher input {
    cursor: pointer;
    height: 28px;
    inset-inline-start: 0;
    margin: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 62px;
    z-index: 2;
}
.wp-admin .switcher input:not(:checked)+label {
    opacity: 0;
    z-index: 3;
}
.wp-admin .switcher input:checked {
    z-index: 1;
}
.wp-admin .switcher input:checked+label {
    opacity: 1;
    z-index: 0;
}
.wp-admin .switcher .toggle-outside, .switcher label {
    height: 100%;
    inset-inline-start: 0;
    position: absolute;
}
.wp-admin .switcher label {
    -webkit-margin-start: 70px;
    display: inline-block;
    line-height: 28px;
    margin-bottom: 0;
    margin-inline-start: 70px;
    min-width: 6rem;
    text-align: start;
    transition: opacity .25s ease;
    width: auto;
}
.wp-admin .switcher input~input:checked~.toggle-outside .toggle-inside {
    left: 30px;
}
.wp-admin .switcher .toggle-inside {
    background: #fff;
    height: 28px;
    left: 0;
    position: absolute;
    transition: all .4s ease;
    width: 28px;
}
.wp-admin .switcher input~input:checked~.toggle-outside {
    background: #2f7d32;
}
.wp-admin .switcher .toggle-outside {
    border: 1px solid var(--template-bg-dark-20);
    border-radius: 0.25rem;
}
.wp-admin .switcher .toggle-outside {
    background: #d3d3d3;
    border: 1px solid rgba(0,0,0,.18);
    box-sizing: border-box;
    overflow: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    transition: all .2s ease;
    width: 58px;
}

.wp-admin .talentstormSupport svg {
    max-width: 100px;
    margin: 0 0 12px;
}

.wp-admin .talentstormSupport .talentstormSupport__buttons {
    margin: 0 0 32px;
}

.wp-admin .talentstormSupport .talentstormSupport__buttons a {
    display: inline-block;
    padding: 12px;
    margin: 0 6px 0 0;
    background-color: var(--mainColor);
    border-radius: var(--radius);
    color: #fff;
    text-decoration: none;
}


/* Frontend */
.talentstormApi {
    --talentstorm--color--primary: #e27e0c;
    --talentstorm--color--white: #ffffff;
    box-sizing: border-box;
    display: grid;
    gap: 32px;
}

.talentstormApi .talentstormAlert {
    padding: 24px;
    background-color: var(--talentstorm--color--primary);
    color: var(--talentstorm--color--white);
}

.talentstormApi.mediaAlignTop .talentstormItemRow,
.talentstormApi.mediaAlignLeft .talentstormItemRow,
.talentstormApi.mediaAlignRight .talentstormItemRow {
    display: grid;
    gap: 32px;
}

.talentstormApi .talentstormItemMedia {
    margin-bottom: 0;
}

@media screen and (min-width: 992px) {
    .talentstormApi.mediaAlignLeft .talentstormItemRow,
    .talentstormApi.mediaAlignRight .talentstormItemRow {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .talentstormApi.mediaAlignRight .talentstormItemRow .talentstormItemMedia {
        order: 2;
    }  

    .talentstormApi.mediaAlignRight .talentstormItemRow .talentstormItemBody {
        order: 1;
    }  
}