:root {
    /*Colors*/
    --black: #202020;
    --white: #ffffff;
    --blue: #106ACB;
    --red: #DC2625;
    --yellow: #F49E0B;
    --green: #17A34A;
    --surface: #F7F7F7;
    --surface-secondary: #CFE1F5;
    --surface-tertiary: #E3EEF9;
    --surface-quartary: #F7FAFD;
    --surface-destructive: #FEE1E3;
    --surface-warning: #FCF7DD;
    --surface-success: #DCFCE7;
    --gradient: linear-gradient(213deg, #4690E0 0%, #106ACB 100%);
    --blue-hover: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), var(--blue);
    --secondary-hover: linear-gradient(0deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.20) 100%), var(--surface-secondary);
    --grey1: #F2F4F8;
    --text-secondary: #5f5f5f;
    --text-tertiary: #9e9e9e;
    --border-subtle: #ECECEC;
    --border-default: #D8D8D8;
    --border-disabled: #B1B1B1;
    --border-focus: #70A6E0;
}

* {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

body {
    background-color: var(--surface)!important;
}

h1, h2, h3, h4 {
    color: var(--black);
    margin-bottom: 0;
    margin-top: 0;
    text-decoration: none;
    font-weight: 700!important; 
}

h1 {
    font-size: 26px;
    line-height: 32px;
}

h2 {
    font-size: 20px;
    line-height: 28px;
}

/* Buttons */

.btn,
.btn-white,
.btn-transparent,
.sf-buttons-bar input {
    padding: 10px 12px;
    border-radius: 8px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    line-height: 23px;
    font-weight: 500;
}

.sf-buttons-bar input {
    background: none;
    color: var(--white);
    background-color: var(--blue);
    border: 2px solid var(--blue);
}

.btn {
    color: var(--white);
    background-color: var(--blue);
    border: 2px solid var(--blue);
}

.btn-white {
    color: var(--blue);
    background-color: var(--white);
    border: 2px solid var(--white);
}

.btn-transparent {
    color: var(--blue);
    border: 2px solid var(--blue);
    background: var(--white);
}

.btn::after,
.btn-white::after,
.btn-transparent.arrow-back::before {
    width: 14px;
    height: 12px;
    content: '';
    display: inline-block;
}

.btn::after {
    background: url("data:image/svg+xml,%3Csvg width='14' height='12' viewBox='0 0 14 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 5.99079C13.9951 5.46468 13.7832 4.96168 13.41 4.59079L9.12 0.290793C8.93264 0.104542 8.67919 0 8.415 0C8.15081 0 7.89736 0.104542 7.71 0.290793C7.61627 0.383756 7.54188 0.494356 7.49111 0.616215C7.44034 0.738075 7.4142 0.86878 7.4142 1.00079C7.4142 1.1328 7.44034 1.26351 7.49111 1.38537C7.54188 1.50723 7.61627 1.61783 7.71 1.71079L11 4.99079H1C0.734784 4.99079 0.48043 5.09614 0.292893 5.28368C0.105357 5.47122 0 5.72557 0 5.99079C0 6.256 0.105357 6.51036 0.292893 6.69789C0.48043 6.88543 0.734784 6.99078 1 6.99078H11L7.71 10.2808C7.5217 10.4678 7.41538 10.7219 7.41444 10.9872C7.41351 11.2526 7.51802 11.5075 7.705 11.6958C7.89198 11.8841 8.1461 11.9904 8.41146 11.9913C8.67683 11.9923 8.9317 11.8878 9.12 11.7008L13.41 7.40078C13.7856 7.02743 13.9978 6.52036 14 5.99079Z' fill='%23ffffff'/%3E%3C/svg%3E%0A") no-repeat center center / cover;
}

.btn-white::after {
    background: url("data:image/svg+xml,%3Csvg width='14' height='12' viewBox='0 0 14 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 5.99079C13.9951 5.46468 13.7832 4.96168 13.41 4.59079L9.12 0.290793C8.93264 0.104542 8.67919 0 8.415 0C8.15081 0 7.89736 0.104542 7.71 0.290793C7.61627 0.383756 7.54188 0.494356 7.49111 0.616215C7.44034 0.738075 7.4142 0.86878 7.4142 1.00079C7.4142 1.1328 7.44034 1.26351 7.49111 1.38537C7.54188 1.50723 7.61627 1.61783 7.71 1.71079L11 4.99079H1C0.734784 4.99079 0.48043 5.09614 0.292893 5.28368C0.105357 5.47122 0 5.72557 0 5.99079C0 6.256 0.105357 6.51036 0.292893 6.69789C0.48043 6.88543 0.734784 6.99078 1 6.99078H11L7.71 10.2808C7.5217 10.4678 7.41538 10.7219 7.41444 10.9872C7.41351 11.2526 7.51802 11.5075 7.705 11.6958C7.89198 11.8841 8.1461 11.9904 8.41146 11.9913C8.67683 11.9923 8.9317 11.8878 9.12 11.7008L13.41 7.40078C13.7856 7.02743 13.9978 6.52036 14 5.99079Z' fill='%23106ACB'/%3E%3C/svg%3E%0A") no-repeat center center / cover;
}

.btn-transparent.arrow-back::before {
    transform: rotate(180deg);
    background: url("data:image/svg+xml,%3Csvg width='14' height='12' viewBox='0 0 14 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 5.99079C13.9951 5.46468 13.7832 4.96168 13.41 4.59079L9.12 0.290793C8.93264 0.104542 8.67919 0 8.415 0C8.15081 0 7.89736 0.104542 7.71 0.290793C7.61627 0.383756 7.54188 0.494356 7.49111 0.616215C7.44034 0.738075 7.4142 0.86878 7.4142 1.00079C7.4142 1.1328 7.44034 1.26351 7.49111 1.38537C7.54188 1.50723 7.61627 1.61783 7.71 1.71079L11 4.99079H1C0.734784 4.99079 0.48043 5.09614 0.292893 5.28368C0.105357 5.47122 0 5.72557 0 5.99079C0 6.256 0.105357 6.51036 0.292893 6.69789C0.48043 6.88543 0.734784 6.99078 1 6.99078H11L7.71 10.2808C7.5217 10.4678 7.41538 10.7219 7.41444 10.9872C7.41351 11.2526 7.51802 11.5075 7.705 11.6958C7.89198 11.8841 8.1461 11.9904 8.41146 11.9913C8.67683 11.9923 8.9317 11.8878 9.12 11.7008L13.41 7.40078C13.7856 7.02743 13.9978 6.52036 14 5.99079Z' fill='%23106ACB'/%3E%3C/svg%3E%0A") no-repeat center center / cover;
}

.btn:hover, .btn-white:hover, .btn-transparent:hover {
    text-decoration: none;
}
.btn:hover {
    color: var(--white);
    background: var(--blue-hover);
    border: 2px solid var(--blue)!important;
}

.btn-white:hover {
   color: var(--blue);
   background-color: var(--surface);
}

.btn.noarrow::after {
    display: none;
}

/* Forms */
.form-control {
    padding: 12px 16px;
    color: var(--text-tertiary);
    border-radius: 8px;
    background-color: var(--surface);
    border: none;
    height: 48px;
}

.sf-form-element, .sf-group-element, .sf-tab-element {
    padding: 8px 0;
}

.sf-validations-messages.sf-error-message.text-danger {
    color: #C33!important;
    border-radius: 8px;
    line-height: 20px;
    padding-left: 8px;
    background-color: #FEE1E3;
    border: 1px solid #FEE1E3;
}

.sf-label .notice.alert.alert-default-danger {
    background-color: #FEE1E3;
    color: #C33;
    border-radius: 8px;
}

.lostPass {
    color: var(--black);
    text-decoration: underline;
}

.lostPass:hover {
    color: var(--blue);
}

iframe.emailbuilder {
    width: 100%;
    min-height: 100%;
    border: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#newsletter-preview-frame {
    width: 100%;
    min-height: 640px;
    overflow: auto;
    background: #fff;
    border: 1px solid #d9dde3;
}

body.emailbuilder-image-picker-open {
    overflow: hidden;
}

.emailbuilder-image-picker-modal {
    position: fixed;
    inset: 0;
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.55);
}

.emailbuilder-image-picker-dialog {
    display: flex;
    flex-direction: column;
    width: min(1120px, calc(100vw - 48px));
    height: min(760px, calc(100vh - 48px));
    overflow: hidden;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.emailbuilder-image-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #dee2e6;
    font-weight: 500;
}

.emailbuilder-image-picker-close {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #343a40;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.emailbuilder-image-picker-frame {
    flex: 1;
    width: 100%;
    border: 0;
}

#content #toc #notifications .notif,
#user-info #notifications .notif.notif_report {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    border: none;
    text-align: center;
    background-image: none;
    margin: 0;
    padding: 10px;
}

#content #toc #notifications .notif_error{
    background-color: #FEE1E3;
    color: #DC2625;
}



/* Small phones */
@media only screen and (min-width: 576px) {
 
}

/* Mobile */
@media only screen and (min-width: 768px) {
    h1 {
        font-size: 32px;
        line-height: 44px;
    }
}

/* Tablets */
@media only screen and (min-width: 992px) {

}

/* Large screens (laptops smaller) */
@media only screen and (min-width: 1200px) {
 
}

