@import 'icons/fontawesome/font-awesome.min.css';

@import 'icons/icomoon/style.css';

:root {
    --sanosil-blue: #1B689F;
    --sanosil-blue-bright: #2579C0;
}

/*
 *
 * FONTS
 *
 */

@font-face {
    font-family: 'Manrope-Regular';
    src: url('fonts/manrope/Manrope-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope-Medium';
    src: url('fonts/manrope/Manrope-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope-Light';
    src: url('fonts/manrope/Manrope-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope-Bold';
    src: url('fonts/manrope/Manrope-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* GENERAL / BASE */

address {
    font-style: normal;
}

body {
    color: #32353D;
    font-family: 'Manrope-Regular';
    font-size: 20px;
}

button {
    font-family: 'Manrope-Medium';
    font-size: 20px;
}

div, a, li, span {
    color: var(--override-color, revert);
}

p, ul, ol {
    color: var(--override-color, revert);
    margin-top: 0;
    margin-bottom: 24px;
    line-height: 28px;
}

h1, .h1 {
    color: var(--override-color, revert);
    margin-top: 0;
    margin-bottom: 28px;
    font-family: 'Manrope-Light';
    font-weight: normal;
    font-size: 44px;
    line-height: 50px;
    hyphens: manual;
}

h2, .h2 {
    color: var(--override-color, revert);
    margin-top: 0;
    margin-bottom: 18px;
    font-family: 'Manrope-Light';
    font-weight: normal;
    font-size: 38px;
    line-height: 46px;
    hyphens: manual;
}

h3, .h3 {
    color: var(--override-color, #757781);
    margin-top: 0;
    margin-bottom: 20px;
    font-family: 'Manrope-Regular';
    font-weight: normal;
    font-size: 30px;
    line-height: 42px;
    hyphens: manual;
}

.subtitle {
    color: var(--override-color, #4D4D4D);
    margin-top: 0;
    margin-bottom: 32px;
    font-family: 'Manrope-Regular';
    font-size: 26px;
    line-height: 32px;
}

.sanosil-blue {
    color: var(--sanosil-blue) !important;
}

img.rounded-image {
    border-radius: 20px;
}

hr {
    background: #C9D2E6;
    border: none;
    height: 3px;
    margin: 0;
}

blockquote {
    position: relative;
    border: 4px solid #DEDEDE;
    border-radius: 8px;
    margin: 80px 0 40px;
    padding: 64px 42px 42px;
    font-family: 'Manrope-Regular';
    font-size: 24px;
    line-height: 34px;
}

blockquote::before,
blockquote::after {
    position: absolute;
    top: 0;
    background: #FFF;
    border-radius: 50%;
    box-shadow: 0 10px 20px #00000029;
    transform: translateY(-50%);
}

blockquote::before {
    content: '';
    left: 32px;
    width: 102px;
    height: 102px;
    box-shadow: 0 10px 20px #00000029;
    transform: translateY(-50%);
    opacity: 30%;
}

blockquote::after {
    content: '\ea30';
    display: flex;
    justify-content: center;
    align-items: center;
    left: 42px;
    color: var(--sanosil-blue);
    width: 82px;
    height: 82px;
    font-family: 'icomoon' !important;
    font-size: 42px;
}

blockquote :last-child {
    margin-bottom: 0;
}

a:not(.link-button, .clear-link-style) {
    display: inline-block;
    color: var(--override-color, var(--sanosil-blue));
    text-decoration: none;
    font-family: 'Manrope-Bold';
    transform-origin: center center;
    transition: color 0.2s, transform 0.125s ease;
}

a.isolated-link:not(.link-button, .clear-link-style) {
    display: flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    margin: 32px 0;
    font-size: 20px;
    line-height: 24px;
}

a.isolated-link:not(.link-button, .clear-link-style)::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--override-color, var(--sanosil-blue));
}

a:not(.link-button, .clear-link-style):is(:hover, :focus) {
    color: var(--override-color, var(--sanosil-blue-bright));
    text-decoration: solid underline;
}

a:not(.link-button, .clear-link-style):active {
    transform: scale(0.95);
}

ul.arrow-list {
    padding-left: 0;
    margin: 32px 0;
    list-style: none;
}

ul.arrow-list li {
    position: relative;
    border-top: 1px solid #E8E8E8;
    padding: 16px 0 16px 42px;
}

ul.arrow-list li::before {
    content: '\ea29';
    position: absolute;
    left: 0;
    color: var(--sanosil-blue);
    font-family: 'icomoon' !important;
    font-size: 26px;
}

ul.arrow-list li:last-child {
    border-bottom: 1px solid #E8E8E8;
}

ul.check-list {
    padding-left: 0;
    margin: 32px 0;
    list-style: none;
}

ul.check-list li {
    position: relative;
    padding: 12px 0 12px 64px;
}

ul.check-list li:not(:last-child) {
    margin-bottom: 16px;
}

ul.check-list li::before {
    content: '\ea00';
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    color: var(--sanosil-blue-bright);
    background: #FFF;
    border: 1px solid #E5E5E5;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    font-family: 'icomoon' !important;
    font-size: 18px;
}

ul.angle-bracket-list {
    padding-left: 0;
    margin: 32px 0;
    list-style: none;
}

ul.angle-bracket-list li {
    position: relative;
    padding: 0 0 16px 20px;
}

ul.angle-bracket-list li::before {
    content: '\e904';
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    color: var(--sanosil-blue-bright);
    font-family: 'icomoon' !important;
    font-size: 14px;
}

:is(a, button).link-button:not(.clear-link-style) {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: #FFF;
    background: var(--sanosil-blue-bright);
    border: 1px solid var(--sanosil-blue-bright);
    border-radius: 8px;
    margin-right: 10px;
    margin-bottom: 16px;
    padding: 12px 24px;
    box-sizing: border-box;
    font-family: 'Manrope-Bold';
    font-size: 20px;
    line-height: 28px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, border 0.2s, transform 0.125s ease;
}

:is(a, button).link-button.link-button-outlined:not(.clear-link-style) {
    color: var(--sanosil-blue);
    background: transparent;
    border-color: var(--sanosil-blue);
}

:is(a, button).link-button:not(.clear-link-style)[disabled] {
    filter: grayscale(1);
}

:is(a, button).link-button:not(.clear-link-style, [disabled]):is(:hover, :focus) {
    color: #FFF;
    background: var(--sanosil-blue);
    border-color: var(--sanosil-blue);
}

:is(a, button).link-button:not(.clear-link-style, [disabled]):active {
    transform: scale(0.95);
}

/* ICOMOON */

[class^="icon-"], [class*=" icon-"] {
    position: relative;
}

:is([class^="icon-"], [class*=" icon-"]) :is([class^="path"], [class*=" path"])::before {
    color: inherit;
    margin-left: 0;
}

:is([class^="icon-"], [class*=" icon-"]) :is([class^="path"], [class*=" path"]):not(:first-child)::before {
    position: absolute;
    top: 0;
    left: 0;
}

/* FIX FOR ALIGNED IMAGES IN CONTENT */

.wp-caption {
    max-width: 100%;
    height: auto;
    position: relative;
    margin-bottom: 25px;
}

.wp-caption.aligncenter {
    margin-left: auto;
    margin-right: auto;
}

.wp-caption.alignleft {
    float: left;
}

.wp-caption.alignright {
    float: right;
}

.wp-caption-text,
.wp-caption-dd {
    color: #fff;
    background-color: rgb(57 56 55 / 50%);
    padding: 10px 15px;
    margin: 0;
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    text-align: right;
    font-size: 1.6rem;
}

.wp-caption.aligncenter .wp-caption-text,
.wp-caption.aligncenter .wp-caption-dd {
    text-align: center;
}

.wp-caption.alignleft .wp-caption-text,
.wp-caption.alignleft .wp-caption-dd {
    text-align: left;
}

.wp-caption.alignright .wp-caption-text,
.wp-caption.alignright .wp-caption-dd {
    text-align: right;
}



/* .wp-caption.alignright .wp-caption-text,
.wp-caption.alignleft .wp-caption-text,
.wp-caption.alignright .wp-caption-dd,
.wp-caption.alignleft .wp-caption-dd {
    margin-bottom: 0 !important;
} */



img.alignright {width: auto !important; max-width: 100%; float:right; margin:0 0 1em 1em}
img.alignleft {width: auto !important; max-width: 100%; float:left; margin:0 1em 1em 0}
img.aligncenter {width: auto !important; max-width: 100%; display: block; margin-left: auto; margin-right: auto}
a img.alignright {width: auto !important; max-width: 100%; float:right; margin:0 0 1em 1em}
a img.alignleft {width: auto !important; max-width: 100%; float:left; margin:0 1em 1em 0}
a img.aligncenter {width: auto !important; max-width: 100%; display: block; margin-left: auto; margin-right: auto}


/*
 *
 * Set default styles
 *
 */

/* * {
    word-break: break-word;
} */

body#tinymce {
    margin: 10px !important;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

/*
 *
 * Text sizes
 *
 */

.ts_50 {
    font-size: min(2.8vw, 7rem);
    line-height: 1em;
}

.mce-content-body :is(.ts_50) {
    font-size: 5rem;
}

.ts_35 {
    font-size: min(2vw, 5.5rem);
    line-height: 1.25em;
}

.mce-content-body :is(.ts_35) {
    font-size: 3.5rem;
}

.ts_25 {
    font-size: min(1.45vw, 4.5rem);
    line-height: 1.5em;
}

.mce-content-body :is(.ts_25) {
    font-size: 2.5rem;
}

.ts_22 {
    font-size: 2.2rem;
    line-height: 1.45em;
}

.ts_19 {
    font-size: 1.9rem;
    line-height: 1.45em;
}

.ts_18 {
    font-size: 1.8rem;
    line-height: 1.5em;
}

.ts_16 {
    font-size: 1.6rem;
    line-height: 1.5em;
}

.ts_14 {
    font-size: 1.4rem;
    line-height: 1.35em;
}


/*
 *
 * Margins
 *
 */

.mt_0 {
    margin-top: 0;
}

.mt_5 {
    margin-top: 5px;
}

.mt_10 {
    margin-top: 10px;
}

.mt_15 {
    margin-top: 15px;
}

.mt_20 {
    margin-top: 20px;
}

.mb_0 {
    margin-bottom: 0;
}

.mb_5 {
    margin-bottom: 5px;
}

.mb_10 {
    margin-bottom: 10px;
}

.mb_15 {
    margin-bottom: 15px;
}

.mb_20 {
    margin-bottom: 20px;
}

.mb_25 {
    margin-bottom: 25px;
}

.mb_30 {
    margin-bottom: 30px;
}

b, strong {
    font-weight: bold;
}

.mce-content-body img {
    width: auto;
}

#tinymce .editor_ui_left img,
#tinymce .editor_ui_right img {
    max-width: 100%;
    height: auto;
}

.img50 {
    width: 50% !important;
    height: auto;
}

.img100 {
    width: 100% !important;
    height: auto;
}

.relative {
    position: relative;
}

/*
 *
 * Text color
 *
 */


/*
 *
 * Text transform
 *
 */

.uppercase {
    text-transform: uppercase;
}

/*
 *
 * Margin spacing
 *
 */

.remove_margin_top {
    margin-top: 0 !important;
}

.remove_margin_bottom {
    margin-bottom: 0 !important;
}

.wpview .gallery .gallery-item {
    position: relative;
}

/* MEDIA QUERIES */

