:root {
    --surface: #f8f8ff;
    /*--surface: #d8e3f8;*/
    --onsurface: #191c20;
    --surfacecontainer: #E6EEF4;
    --onsurfacecontainer: #191c20;
    --primary: #3a608f;
    --onprimary: #ffffff;
    --primarycontainer: #D0E7FC;
    --onprimarycontainer: #001c39;
    --secondary: #D0BD8C;
    --onsecondary: #ffffff;
    --secondarycontainer: #F4F2F2;
    --onsecondarycontainer: #111c2b;
}

body {
    display: flex;
    flex-direction: column;
    background-color: var(--surface);
    color: #444;
    margin: 0px;
    padding: 0px;
    font-family: "Rubik", sans-serif;
    line-height: 1.5rem;
    font-weight: 300;
    min-height: 100vh;
}


h1 {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 3.5rem;
    margin: 0px;
}

h2 {
    font-size: 3rem;
    font-weight: 500;
    line-height: 3rem;
    margin: 0px;
    color: var(--primary);
}

h3 {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.8rem;;
    margin: 0px;
}

p {
    font-size: 1.0rem;
    line-height: 1.5rem;
    font-weight: 300;
    margin: 0px; 
}

.rowwrap {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.reverserow {
    flex-direction: row-reverse;
}

.col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 0;
}

.hspace {
    width: 20px;
}

.vspace {
    height: 20px;
}

.largevspace {
    height: 60px;
}

.justifystart {
    justify-content: start;
} 

.justifycenter {
    justify-content: center;
}

.alignstart {
    align-items: start;
}

.aligncenter {
    align-items: center;
}

.gradient1 {
    background-image: linear-gradient(155deg, #333, #666);
}

.surfacecolor {
    background-color: var(--surfacecontainer);
}

.primarycontainerecolor {
    background-color: var(--primarycontainer);
}

.halfwidth {
    width: 50%;
}

.flex1 {
    flex: 1 1 0;
}

.flexgrownoshrink {
    flex: 1 0 auto;
}

.margin20 {
    margin: 0px 20px;
}

.generalimage {
    width:100%;
    min-width: 250px;
    flex: 1 1 0;
    border-radius: 10px;
    box-shadow: #bbb 0px 1px 8px;
    background-color: #fafafa;
}

/*********** Menu ************/


.menusection {
    display: flex;
    flex-direction: row;
    position: relative;
    height: 0px;
}

.menupanel {
    position: fixed;
    top: 0px;
    right: 0px;
    left: 0px;
    display: flex;
    direction: row;
    justify-content: center;
    z-index: 3;
    white-space: nowrap;
    transition: all 500ms;
}

.menupanelon {
    /*background-color: #365977;*/
    background-color: #1e415f;
    box-shadow: #1e415f 0px 1px 10px;
}

.menucontainer {
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    max-width: 1600px;
}

.menulogo{
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    color: var(--onprimarycontainer);
    margin: 0px 20px;
}

.menulogo p {
    font-size: 1.8rem;
    margin: 0px 0px 0px 15px;
    font-weight: 500;
    color: white;
}

.menulinks {
    display: flex;
    flex-direction: row;
}

.menucontacts {
    display: flex;
    flex-direction: row;
}

.menuitem {
    margin: 0px 30px;
    text-decoration: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    border-width: 1px;
    border-style: solid;
    border-color: transparent;
    text-shadow: -1px 0 #1e415f, 0 1px #1e415f, 1px 0 #1e415f, 0 -1px #1e415f;
}

.menuitem:hover {
    text-decoration: none;
    border-bottom-color: white;
}

/*********** Footer ************/

.prefooter {
    display: flex;
    flex: 1 0 0;
}

.footer {
    display: flex;
    flex-direction: column;
    background-color: #1e415f;
    align-items: center;
    padding: 30px 0px;
    overflow: hidden;
}

.footercontainer {
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-direction: row;
    align-items: start;
    justify-content: space-between;
    max-width: 1200px;
}

.footermaincol {
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    align-items: start;
    margin: 0px 20px;
}

.footertitlerow {
    display: flex;
    flex-direction: row;

}

.footertitlecol {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    padding-left:15px;
}

.footertitle {
    color: white;
    font-size: 1.5rem;
    font-weight: 500;
}

.footertag {
    color: white;
    font-size: 1.0rem;
}

.footercol {
    display: flex;
    flex-direction: column;
    margin: 0px 20px;
}

.footercoltitle {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
}

.footerlink {
    color: white;
    font-size: 0.9rem;
    line-height: 2.2rem;
    text-decoration: none;

}

/*********** Hero ************/

.herosection {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
    min-height: 70vh;
    padding: 60px 0px 0px 0px;
    background-image: linear-gradient(to right, #1e415f , #6789a4); 
    overflow: hidden;
}

.heropattern {
    position: absolute;
    top: -600px;
    left: 850px;
    width: 700px;
    height: 700px;
    background-color: #a6c2d7;
    border-color: #7fa3bd;
    border-width: 180px;
    border-style: solid;
    transform: rotate(45deg); /* Equal to rotateZ(45deg) */
    z-index: 1;
}

.herocontainer {
    position: relative;
    display: flex;
    flex-wrap: wrap-reverse;
    flex-direction: row;
    max-width: 1600px;
    width:100%;
    height: 100%;
    align-items: center;
    justify-content: end;
    z-index: 2;
}

.heroleftside {
    display: flex;
    flex-direction: row;
    flex: 1 1 0;
    justify-content: start;
    min-width: 350px;
    margin: 20px;
}

.herotextcol {
    display: flex;
    flex-direction: column;
    align-items: start;
}  

.herotext {
    display: table;
    width: fit-content;
    margin-bottom: 50px;
}

.heroh1 {
    font-size: 3.8rem;
    line-height: 3.8rem;;
    font-weight: 600;
    margin: 20px 0px;
    display: block;
    color: white;
}

.heroh2 {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 2.4rem;
    margin: 0px;
    display: table-caption;
    caption-side: bottom;
    color: white;
}

.herorightside {
    display: flex;
    flex-direction: row;
    flex: 1 1 0;
    justify-content: center;
    min-width: 350px;
    margin: 20px;
}

.heroimg {
    border-radius: 20px;
    width: 100%;
}


/*********** MiniHero ************/

.miniherosection {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
    min-height: 30vh;
    padding: 60px 0px 0px 0px;
    background-image: linear-gradient(to right, #1e415f , #6789a4); 
    overflow: hidden;
}


.miniherocontainer {
    position: relative;
    display: flex;
    flex-wrap: wrap-reverse;
    flex-direction: row;
    max-width: 1600px;
    width:100%;
    height: 100%;
    align-items: center;
    justify-content: end;
    z-index: 2;
}

.miniheroleftside {
    display: flex;
    flex-direction: row;
    flex: 1 1 0;
    justify-content: start;
    min-width: 350px;
    padding: 2vw;
}

.miniherotext {
    display: table;
    width: fit-content;
    margin-bottom: 50px;
    font-size: 3.8rem;
    line-height: 3.8rem;;
    font-weight: 600;
    margin: 20px 0px;
    display: block;
    color: white;
}

.miniherorightside {
    display: flex;
    flex-direction: row;
    flex: 1 1 0;
    justify-content: center;
    min-width: 350px;
    max-width: 500px;
    padding: 2vw;
}

.miniheroimg {
    border-radius: 20px;
    width: 100%;
}

/*********** Section ************/

.section {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
    min-height: 60vh;
    padding: 120px 0px 0px 0px;
}



.sectioncontainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    /*width:100%;*/
    max-width: 1200px;
    /*padding: 20px;*/
}

.sectiontitle {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.sectionheadtext {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 30px;
}

.sectionheadtext p {
    font-size: 1.3rem;
    line-height: 2.5rem;
    width: 70%;
    min-width: 350px;
    text-align: center;
}

.sectionimage {
    width: 45%;
    min-width: 300px;
    margin: 0px 20px;
    border-radius: 10px;
    box-shadow: #bbb 0px 1px 8px;
    background-color: #fafafa;
}

.sectionsmallimage {
    width: 30%;
    min-width: 250px;
}

.sectiontext {
    flex: 1 1 250px;
    min-width: 250px;
    margin: 0px 20px;
    font-size: 1.4rem;
    line-height: 2.5rem;
}


/*********** Box ************/


.box {
    display: flex;
    border-radius: 10px;
    margin: 20px 20px;
    overflow: hidden;
    background-color: white;
    box-shadow: #bbb 0px 1px 8px;

}

.vbox {
    flex-direction: column;
    flex: 1 1 0;
    max-width: 600px;
    min-width: 270px;
}

.vboximg {
    height: 300px;
    background-position: center;
    background-size: cover;
    background-color: #f0f0f0;
}

.hbox {
    flex-direction: row;
    flex-wrap: wrap;
    min-height: 230px;
}

.hboxlargemargin + .hboxlargemargin {
    margin-top: 100px;
}

.hboximg {
    min-width: 300px;
    min-height: 200px;
    flex: 1 0 0;
    background-position: center;
    background-size: cover;
    background-color: var(--secondarycontainer);
}

.boxcontent {
    display: flex;
    flex-direction: column;   
    flex: 4 1 0;
    min-width: 300px;
    padding: 20px 20px;
}

.boxtitle {
    display: flex;
    flex-direction: row;
    flex: 0 0 auto;
}

.boxtags {
    display: flex;
    flex-direction: row;
    flex: 0 0 auto;
    font-size: 0.95rem;
    margin-top: 10px;
    margin-left: -10px;
}

.boxtag {
    height: 20px;
    color: var(--primary);
    padding: 2px 10px;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 20px;
}

.boxtag + .boxtag {
    border-left: solid 1px var(--primary);
}

.boxtext {
    flex: 1 1 auto;
    margin-top: 20px;
}

.boxbuttonrow {
    margin-top: 20px;
    flex: 0 0 auto;
}

/*********** Banners ************/

.bannersection {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    width: 100%;
    background-image: linear-gradient(to right, #1e415f , #6789a4); 
}

.bannerlight {
    background-color: #5995b7;
    background-image: none;
}

.bannerleftside {
    display: flex;
    flex: 2 2 0;
    flex-direction: column;
    align-items: end;
}

.bannerleftside h1 {
    color: white;
    padding: 20px;
}

.bannerrightside {
    flex: 3 3 0;
    height: 30vh;
    flex-direction: column;
    background-position: center;
    background-size: cover;
}

/*********** Text Blocks ************/

.textblock {
    display: flex;
    flex-direction: column;   
    flex: 1 1 0;
    padding: 20px 20px;
    max-width: 600px;
    min-width: 270px;
    margin-top: -10px;
}

.texticon {
    font-size: 32px!important;
    border: 1px solid var(--primary);
    border-radius: 5px;
    background-color: var(--primarycontainer);
    color: var(--primary);
    padding: 5px;
    margin-top: 10px;
}

.text ul {
    padding-left:20px;
}

.text ul li {
    padding-left: 10px;
}

.texttitle {
    display: flex;
    flex-direction: row;
    flex: 0 0 auto;
    margin-top: 10px;
}

.textsubtitle {
    display: flex;
    flex-direction: row;
    flex: 0 0 auto;
    font-size: 0.95rem;
    color: #888;
    margin-top: 10px;
}

.text {
    flex: 1 1 auto;
    margin-top: 10px;
}

/*********** Button ************/


.processrow {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: transparent;
    justify-content: space-between;
    /*padding: 20px;
    margin: 0px 20px;*/
}

.processstep {
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    min-width: 250px;
    align-items: center;
    margin: 20px 20px;
    padding: 40px;
    background-color: white;
    border-radius: 10px;
    box-shadow: #bbb 0px 1px 8px;
}

.processstepnumber {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: var(--onprimary);
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

.processstepnumber p {
    font-size: 2.5rem;
    font-weight: 600;
}

.processsteptitle {
    color: #444;
    font-size: 1.5rem!important;
}

.processsteptext {
    line-height: 1.8rem;
}

/*********** Button ************/


.button {
    display: block;
    border: 1px solid var(--primary);
    border-radius: 5px;
    background-color: var(--primary);
    color: var(--onprimary);
    min-width: 60px;
    line-height: 38px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    padding: 0px 10px;
    cursor: pointer;
}

.bigbutton {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 5px 30px;
}

.largeroundedbutton {
    font-size: 1.4rem;
    font-weight: 600;
    padding: 10px 50px;
    border-radius: 50px;
    background-color: #5995b7;
}

.largeroundedbuttonwitharrow {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
    background-color: #5995b7;    
}

.largeroundedbuttonwitharrow .material-symbols-outlined {
    border-left: 1px solid white;
    margin-left: 20px;
    margin-right: -10px;
    padding-left: 10px;
}

.button:hover {
    filter: brightness(115%);
}

.buttondisabled {
    background-color: #ddd;
    color: #999;
    border-color: #999;
    cursor: default;
}

.buttondisabled:hover {
    filter: brightness(100%);
}


/*********** Form ************/

.form {
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    /*padding: 0px 40px;*/
}

.formlabel {
    font-weight: 600;
}

.forminput {
    min-width: 250px;
    max-width: 600px;
    height: 28px;
    margin: 5px 0px;
    padding: 5px;
    font-size: 1.1rem;
    font-weight: 500;
    border: 1px solid var(--primary);
    border-radius: 3px;
}

textarea.forminput {
    height: 150px;
    resize: none;
    font-family: "Rubik", sans-serif;
    font-weight: 400;
}



.formtext {
    font-size: 1.4rem;
    line-height: 1.8rem;
}

@media only screen and (max-width:1200px) {
    .hidemedium {
        display: none;
    }
}

@media only screen and (max-width:750px) {
    .hidesmall {
        display: none;
    }
}