@import url("https://fonts.googleapis.com/css2?family=Afacad:ital,wght@0,400..700;1,400..700&family=Fjalla+One&display=swap");

:root {
    --main-bg-color: #232323;
    --html-color: #373737;
    --main-font-color: #ffffff;
    --accent-color: #ffaf38;

    --breakpoint-tablet: 768px;
    --breakpoint-mobile: 480px;


    --color_header_bg: #fff;
    --color_header_text: #111;

    --color_header_upper_bg: #222;
    --color_header_upper_text: #fff;
    --color_header_upper_link: #fff;
    --color_header_upper_link_hover: #ffaf38;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a:hover {
    color: #ffaf38;
}

a {
    color: #222;
    color: #271500;
    text-decoration: none;
}

html {
    background-color: #fff;
    font-family: "Inter", sans-serif;
    color: #222;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
}

img.border {
    border: solid 1px #222;
}

img+h4,
img+h5 {
    margin-top: 1.2rem;
}

hr {
    border: 0;
    border-bottom: 1px dashed #ccc;
    border-bottom: 1px solid #aaa;
    background: #fff;
    margin: 25px 0;
}

hr.clear {
    border-bottom: 0px solid #aaa;
    margin: 1.5rem 0;
}

hr.space {
    margin: 50px 0;
}

hr.semi {
    border-bottom: 1px dotted #ccc;
    border-bottom: 1px solid #ccc;
    width: 80%;
    margin: 20px auto;
}

hr.dash2 {
    border-bottom: 1px solid #333;
    margin: 25px auto;

    border-bottom: 1px solid #ccc;
}

@media screen and (max-width: 1200px) {
    hr.dashx2 {
        max-width: 80vw;
    }

}

h1 {
    /*
    font-family: "Inter" "Roboto Flex", "Fjalla One", "DM Serif Text", "Faculty Glyphic", "Brawler", "Quicksand", "Faculty Glyphic", "Nunito", "Afacad", "Alegreya Sans", sans-serif;
    */
    color: #333;
    font-family: "Source Sans 3", "Alegreya Sans";
    font-weight: 900;
    letter-spacing: -0.05rem;
    font-size: 2.4rem;
    line-height: 2.4rem;
    text-transform: uppercase;
    text-align: center;
    text-align: left;
}

h1+* {
    margin-top: 1.2rem;
}

h1+p {
    margin-top: 0.9rem;
}

h1+h3 {
    margin-top: 2.4rem;
}

h2 {
    color: #444;
    font-family: "Source Sans 3", "Alegreya Sans";
    font-size: 1.95rem;
    font-weight: 500;
    line-height: 2rem;
    text-transform: uppercase;
    text-align: center;
    text-align: left;
}

h2+* {
    margin-top: 1.2rem;
}

h3 {
    color: #444;
    font-family: "Source Sans 3", "Alegreya Sans";
    font-size: 1.65rem;
    font-weight: 500;
    /*letter-spacing: -0.05rem;*/
    line-height: 2rem;
    text-transform: uppercase;
    text-align: center;
    text-align: left;
}

h3 svg {
    margin-bottom: -2px;
    margin-right: 5px;
}

h3+* {
    margin-top: 1.2rem;
}

h3+p {
    margin-top: 1.05rem;
}


h4 {
    color: #444;
    font-family: "Source Sans 3", "Alegreya Sans";
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.85rem;
    text-transform: uppercase;
    text-align: center;
    text-align: left;
}

h4+* {
    margin-top: 1rem;
}

h4+p.close {
    margin-top: 0.65rem;
}

h5 {
    color: #555;
    font-family: "Source Sans 3", "Alegreya Sans";
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.65rem;
    text-transform: uppercase;
    text-align: center;
    text-align: left;
}

h5+* {
    margin-top: 1rem;
}

p {
    color: #666;
    color: #444;
    font-family: "Source Sans 3", "Alegreya Sans";
    font-size: 1.15rem;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.75rem;
    text-align: center;
    text-align: left;
}

p+* {
    margin-top: 1.2rem;
}

p+h3 {
    margin-top: 2.4rem;
}

p+table {
    margin-top: 1.2rem;
}

p.weaker {
    font-size: 1em;
    font-weight: 400;
    font-style: italic;
    margin-top: 0.65rem;
}

p.close+p.close {
    margin-top: 0.8rem;
}

p+p.close {
    margin-top: 0.5rem;
}


p.smaller {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3rem;
}

span.weaker {
    display: block;
    font-size: 0.75em;
    font-family: 400;
    line-height: 1.2;
    color: #111;
}


strong {
    font-weight: 700;
}

@media screen and (max-width: 1200px) {
    h1 {
        font-size: clamp(1.8rem, 4vw + 0.5rem, 2.4rem);
        line-height: clamp(2.0rem, 3.2vw, 2.4rem);
    }

    h1+* {
        margin-top: clamp(0.7rem, 1.467vw, 1.1rem);
    }

    h2 {
        font-size: clamp(1.6rem, 3vw + 0.2rem, 1.95rem);
        line-height: clamp(1.8rem, 2.667vw, 2rem);
    }

    h2+* {
        margin-top: clamp(0.7rem, 1.467vw, 1.1rem);
    }

    h3 {
        font-size: clamp(1.2rem, 2.2vw + 0.1rem, 1.65rem);
        line-height: clamp(1.55rem, 2.667vw, 2rem);
    }

    h3+* {
        margin-top: clamp(0.7rem, 1.467vw, 1.1rem);
    }

    h4 {
        font-size: clamp(1.1rem, 1.667vw, 1.25rem);
        line-height: clamp(1.55rem, 2.467vw, 1.85rem);
    }

    h4+* {
        margin-top: clamp(0.7rem, 1.333vw, 1rem);
    }

    h5 {
        font-size: clamp(1rem, 1.8vw + 0.1rem, 1.35rem);
    }

    p {
        font-size: clamp(0.95rem, 1.4vw, 1.05rem);
        line-height: clamp(1.45rem, 2.333vw, 1.75rem);
    }

    p+* {
        margin-top: clamp(0.7rem, 1.467vw, 1.1rem);
    }

    p+h4 {
        margin-top: clamp(0.7rem, 1.467vw, 1.2rem);
    }


    h3+* {
        margin-top: clamp(0.7rem, 1.467vw, 1.2rem);
    }

    h3+p {
        margin-top: 1.05rem;
        margin-top: clamp(0.7rem, 1.467vw, 1.05rem);
    }

    img+h4,
    img+h5 {
        margin-top: clamp(0.7rem, 1.467vw, 1.1rem);
    }
}

.dash {
    height: 50px;
    margin-top: 2rem;
    background-color: #fff;
}


ul {
    list-style-type: disc;
    list-style-position: inside;
    margin: 10px 0px 15px 0px;

}

li {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.3;
    text-indent: 20px;
}

li span {
    /*display: block;*/
    margin-top: 4px;
    font-weight: 400;
    font-style: italic;
    color: #aaa;
}

li+li {
    margin-top: 8px;
}

.adapt_medium_show {
    display: none;
}

@media screen and (max-width: 768px) {
    .adapt_medium_show {
        display: block;
    }
}





table {
    width: 100%;
}

table+table {
    margin-top: 1.2rem;
}

@media screen and (max-width: 1200px) {
    table+table {
        margin-top: clamp(0.7rem, 1.467vw, 1.2rem);
    }
}

tr.space th {
    padding-top: 30px;
}

tr:nth-child(even) {
    background-color: #f8f8f8;
}


th {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 1.1rem;
    text-align: left;
    vertical-align: middle;
}


th+th {
    text-align: center;
}

td {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 1.1rem;
    text-align: left;
    text-transform: uppercase;
    vertical-align: middle;
}

td a {
    font-weight: 700;
}

td.td_lowercase {
    text-transform: none;
}

td span {
    display: block;
    font-size: 0.85em;
    margin-bottom: 6px;
    text-transform: none;
}

td span.td_below {
    margin-top: 3px;
    margin-bottom: 0px;
}



td+td {
    font-weight: 400;
    text-align: center;
    text-transform: none;
}

table.quad th+th {
    width: 15%;
}

table.quad td+td {
    width: 15%;
}

table.narrow {
    width: 70%;
    margin: 20px auto;
}

table.times td {
    text-align: center;
    line-height: 1;
}

table.times td span {
    font-weight: 700;
}

table.times th {
    text-align: center;
    font-size: 1rem;
}

table.times td {
    font-size: 0.8rem;
    font-weight: 500;
    width: 33%;
    padding: 1.1rem;
    text-transform: none;
    vertical-align: middle;
}

@media screen and (max-width: 1200px) {
    :nth-child(1 of .td_adapt_hide) {
        display: none;
    }

    :nth-child(1 of .td_canvas_adapt_hide) {
        display: none;
    }

    th {
        font-size: clamp(0.75rem, 1.133vw, 0.85rem);
        padding: clamp(0.5rem, 1.467vw, 1.1rem);
    }

    td {
        font-size: clamp(0.75rem, 1.067vw, 0.8rem);
        padding: clamp(0.5rem, 1.467vw, 1.1rem);
    }
}

@media screen and (max-width: 900px) {
    :nth-child(2 of .td_canvas_adapt_hide) {
        display: none;
    }

}

@media screen and (max-width: 800px) {
    :nth-child(2 of .td_adapt_hide) {
        display: none;
    }
}

@media screen and (max-width: 720px) {
    th span {
        display: none;
    }

    table.narrow {
        width: 100%;
    }

    table.times td {
        width: auto;
    }
}

@media screen and (max-width: 580px) {
    .td_canvas_adapt_hide {
        display: none;
    }
}

@media screen and (max-width: 550px) {
    .td_adapt_hide {
        display: none;
    }
}






/*
    BLOCK - LIMITS FROM VERTICAL
*/
.root_heal_bleed {
    padding: 0px clamp(3vw, 4vw, 35px);
}

.root_dark {
    background-color: #f8f8f8;
    color: #222;
}

.root_dark h2 {
    color: #222;
}

.root_very_dark {
    background-color: #333;
}

.root_very_dark h3 {
    color: #eee;
}

.root_very_dark p {
    color: #eee;
}

.root_light_dark {
    background-color: #fafafa;
    color: #222;
}

.root_border_top {
    border-top: solid 1px #ddd;
}

.root_border_bottom {
    border-bottom: solid 1px #666;
}


.root_space {
    padding-top: 2.9rem;
    padding-bottom: 2.9rem;
}


.root_space_header {
    padding-top: 1.625rem;
    padding-bottom: 2.5rem;
}

.root_space_top_close {
    padding-top: 0.2rem;
    padding-bottom: 2.5rem;
}

.root_space_top_title {
    padding-top: 2.6rem;
    padding-bottom: 2.9rem;
}

.root_space_above {
    margin-top: 3rem;
}

@media screen and (max-width: 1200px) {
    .root_space {
        padding-top: clamp(1.5rem, 3.867vw, 2.9rem);
        padding-bottom: clamp(1.5rem, 3.867vw, 2.9rem);
    }

    .root_space_top_close {
        padding-top: clamp(0rem, 0.267vw, 0.2rem);
        padding-bottom: clamp(1.5rem, 3.333vw, 2.5rem);
    }

    .root_space_header {
        padding-top: clamp(1rem, 2.167vw, 1.625rem);
        padding-bottom: clamp(1.5rem, 3.333vw, 2.5rem);
    }

    .root_space_top_title {
        padding-top: clamp(1.3rem, 3.467vw, 2.6rem);
        padding-bottom: clamp(1.5rem, 3.467vw, 2.9rem);
    }
}



/*
    BLOCK - LIMITS FROM SIDES
*/
.block {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px clamp(3vw, 4vw, 35px);
}

.block_bleed {
    padding: 0px 0px;
}

.block_center p,
.block_center h1,
.block_center h2,
.block_center h3,
.block_center h4,
.block_center h5 {
    text-align: center;
}

.block+.block {
    margin-top: 3rem;
}

@media screen and (max-width: 1200px) {
    .block+.block {
        margin-top: clamp(2vw, 4vw, 3rem);
    }
}





.block_banner_student {
    display: flex;
    gap: 40px;
}

.block_banner_student_item_text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 40%;
}

.block_banner_student_item_text * {
    min-width: 0;
    align-self: center;
}

.block_banner_student_item_text div {
    font-family: "Source Sans 3";
    font-size: 2.4rem;
    font-weight: 900;
    text-transform: uppercase;
    /*letter-spacing: -0.085rem;*/
}

.block_banner_student_item_text div+div {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 10px;
}

.block_banner_student_item_images {
    display: flex;
    width: 58%;
    flex-wrap: nowrap;
    justify-content: space-around;
    gap: 15px;
}

.block_banner_student_item_images * {
    min-width: 0;
    align-self: center;
}

.block_banner_student img {
    box-shadow: 0px 1px 2px #aaa;
}

.block_banner_button:hover {
    background-color: #ffaf38;
}

.block_banner_button {
    font-family: "Source Sans 3", "Alegreya Sans";
    text-transform: uppercase;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    background-color: #333;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 900;
    border: none;
    max-width: 400px;
    margin: 0 auto;
    margin-top: 2.2rem;
    cursor: pointer;
}

@media screen and (max-width: 1200px) {
    .block_banner_student_item_text div {
        font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    }

    .block_banner_student_item_text div+div {
        font-size: clamp(1rem, 1.6vw, 1.2rem);
    }

    .block_banner_button {
        font-size: clamp(1.2rem, 2vw, 1.5rem);
        margin-top: clamp(1.1rem, 2.933vw, 2.2rem);
        padding: clamp(0.6rem, 1.333vw, 1rem) clamp(0.8rem, 1.6vw, 1.2rem);
    }
}

@media screen and (max-width: 800px) {
    .block_banner_button {
        border-radius: 5px;
    }

    .block_banner_button span {
        display: none;
    }

    .block_banner_button:after {
        content: 'Beställ här';
    }

    .block_banner_student_item_images a:nth-child(2) {
        display: none;
    }
}

@media screen and (max-width: 550px) {
    .block_banner_student_item_text div+div {
        display: none;
    }
}





.block_link_text {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: center;
    margin-top: 1.8rem;
    color: #fff;
}

.block_link_text.light {
    color: #000;
    font-weight: 500;
    margin-top: 1.5rem;
}

a.block_link_text.light:hover {
    color: #ffaf38;
}

.block_link_text div {
    padding-top: 2px;
}

.block_link_text svg {
    flex: 0 0 24px;
}

.block_link_text.light svg {
    fill: #000;
}

@media screen and (max-width: 1200px) {
    .block_link_text {
        font-size: clamp(0.9rem, 1.133vw, 0.85rem);
        margin-top: clamp(1.2rem, 2.4vw, 1.8rem);
    }
}

@media screen and (max-width: 550px) {
    .block_link_text svg {
        display: none;
    }
}


.block_tricon {
    max-width: 1200px;
    display: flex;
    justify-content: space-around;
    gap: 40px;
    text-align: center;
}

.block_tricon div {
    font-size: 1rem;
    font-weight: 600;
    padding-top: 0.5rem;
}

@media screen and (max-width: 768px) {
    .block_tricon svg {
        width: 40px;
        height: 40px;
    }

    .block_tricon div {
        font-size: 0.9rem;
        padding-top: 0.35rem;
    }
}

@media screen and (max-width: 550px) {
    .block_tricon div {
        font-size: 0.85rem;
    }
}



.block_tripod {
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    text-align: center;
}

.block_tripod>div {
    width: 33.33%;
    width: calc(100% / 3);
}

svg.spaced {
    margin-bottom: 15px;
}

@media screen and (max-width: 1200px) {
    .block_tripod {
        gap: 30px;
    }
}

@media screen and (max-width: 768px) {
    .block_tripod {
        display: block;
        width: 100%;
    }

    .block_tripod>div {
        width: 100%;
    }

    .block_tripod>div+div {
        margin-top: 15px;
    }
}

/*
.image_square {
    position: relative;
    width: 33.33%;
    text-align: center;
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    text-transform: uppercase;
    text-shadow: 0px 1px 2px black;
}

.image_square:hover {
    filter: brightness(105%);
}

.image_square a {
    color: white;
}

.image_square a:hover {
    color: #ffaf38;
}

@media screen and (max-width: 1200px) {
    .image_square {
        font-size: clamp(1.1rem, 2.4vw, 1.8rem);
    }
}

.image_square div {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media screen and (max-width: 550px) {
    .image_square {
        width: 100%;
        font-size: clamp(1.4rem, 4.655vw, 1.6rem);
    }

    .image_square img {
        object-fit: cover;
        width: 100vw;
        height: 140px;
    }
}
*/






.image_border {
    border: solid 1px #666;
}

.image_border_light {
    border: solid 1px #ddd;
}

.image_center {
    display: block;
    margin: 0 auto;
}




.image_banner_text {
    position: relative;
    color: white;
    text-align: center;
    font-size: 2.4rem;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0px 1px 2px black;
}
.image_banner_text:hover {
    filter: brightness(95%);
}

.image_banner_text_text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.image_banner_text a {
    color: white;
}
.image_banner_text a:hover {
    color: #ffaf38;
}



.row {
    display: flex;
}

.row+.row {
    margin-top: 1rem;
}

.item_di {
    width: 50%;
}

.item_tri {
    width: 33.33%;
    width: calc(100% / 3);
}

.item_tetra {
    width: 25%;
}



















/*
    BUTTON
*/
button:hover {
    background: linear-gradient(180deg, #ffb443 0%, #ffaf38 100%);
    background: linear-gradient(180deg, rgba(235, 235, 235, 1) 0%, rgba(180, 180, 180, 1) 100%);
}

button {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.8rem;
    font-family: "Source Sans 3";
    padding: 1rem 2.5rem;
    background-color: #ffaf38;
    background-color: #ddd;

    background: #ffffff;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(200, 200, 200, 1) 100%);
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    color: #000;
    box-shadow: 0px 1px 3px #000;
}

button+* {
    margin-top: 1.2rem;
}

@media screen and (max-width: 1200px) {
    button {
        margin-top: clamp(1.2rem, 2.4vw, 1.8rem);
        font-size: clamp(1.0rem, 1.867vw, 1.4rem);
    }
}