@font-face {
    font-family: Lora;
    font-style: normal;
    font-weight: normal;
    src: url(../fonts/Lora-Regular.ttf);
    font-display: block;
}

@font-face {
    font-family: PatuaOne;
    font-style: normal;
    font-weight: normal;
    src: url(../fonts/PatuaOne-Regular.ttf);
    font-display: block;
}

@font-face {
    font-family: Raleway;
    font-style: normal;
    font-weight: normal;
    src: url(../fonts/Raleway-Regular.ttf);
    font-display: block;
}

:root {
    --black: #000000;
    --bodyTextFont: Raleway;
    --mainDarkBlue: #e6ac00;
    --subDarkBlue: #e6ac00;
    --subsubDarkBlue: #e6ac00;
    --navFont: PatuaOne; 
    --teaserTextFont: Lora;
    --white: #ffffff;
}

* {
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    word-wrap: break-word;
}

a {
    color: var(--mainDarkBlue);
    font-weight: 500;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:active {
    text-decoration: underline;
}

.arm_icon_footer {
    height: auto;
    vertical-align: middle;
    width: 2em;
}

.arm_icon_header {
    display: none;
}

.bar {
    background-color: var(--mainDarkBlue);
    height: 0.21em;
    margin-top: 0.35em;
    transition: transform 0.3s, opacity 0.3s;
    width: 100%;
}

.open .bar:nth-of-type(1) {
  transform: translate(0, 9px) rotate(45deg);
}

.open .bar:nth-of-type(2) {
  opacity: 0;
}

.open .bar:nth-of-type(3) {
  transform: translate(0, -9px) rotate(-45deg);
}

.bar_top {
    margin-top: 0;
}

.basic_style_h1 {
    background-color: var(--white);
    color: var(--black);
    border-radius: none;
    display: block;
    font-family: var(--navFont);
    font-size: 1.35em;
    font-weight: 500;
    padding: 0.25em 0 0.25em 0;
}

body {
    opacity: 0;
    overflow-y: scroll;
}

.burger_menu_main {
    border: 0.0625em solid var(--white);
    margin: 1em auto 0 auto;
    padding: 0.35em;
    vertical-align: bottom;
    width: 2.41em;
}

.burger_menu_main:hover {
    cursor: pointer;
}

.burger_menu_main:active {
    border: 0.0625em solid #ffffff;
}

.contact_link {
    color: var(--black);
    display: block;
    font-family: var(--bodyTextFont);
    font-size: 1em;
    font-weight: normal;
    margin-left: 1em;
    margin-top: 0.35em;
    text-decoration: none;
}

.contact_link:hover {
    text-decoration: underline;
}

.contact_link:active {
    text-decoration: underline;
}

.contact_link_margin_top {
    margin-top: 1.35em;
}

.contact_text {
    font-family: var(--bodyTextFont);
    font-size: 1em;
    margin-left: 1em;
    margin-top: 0.35em;    
}

.contact_text_margin_top {
    margin-top: 1.35em;    
}

.contact_text_top {
    font-weight: bold;
    margin-top: 1.35em;    
}

.footer_contact_info_list_main {
    list-style-type: none;
    margin: 0;
}

.footer_contact_info_list_sub {
    color: var(--white);
    font-family: var(--bodyTextFont);
    font-size: 1em;
    margin: 0.3215em 0 0.3215em 0;
}

.footer_contact_info_list_sub:before {
    content: '';
}

.footer_contact_info_list_sub:first-of-type {
    margin-top: 1em;
}

.footer_contact_line_break {
    display: none;
}

.footer_contact_link {
    color: var(--white);
    font-weight: normal;
    text-decoration: none;
}

.footer_contact_link:hover {
    text-decoration: underline;
}

.footer_contact_link:active {
    text-decoration: underline;
}

.footer_fixed_bottom {
    position: fixed;
        bottom: 0;
        left: 0;
}

.footer_main {
    background-color: var(--mainDarkBlue);
    background-image: linear-gradient(to top,  var(--mainDarkBlue), #ffbf00);
    margin-top: 7em;
    padding: 1.65em 2em 7em 2em;
    text-align: center;
    width: 100%;
}

h1 {
    background-color: var(--mainDarkBlue);
    border-radius: 5px;
    color: var(--white);
    display: inline;
    font-family: var(--navFont);
    font-size: 1.35em;
    font-weight: 500;
    padding: 0.25em 0.5em 0.25em 0.5em;
    width: auto;
}

h1 {
    background-color:  var(--white);
    border-radius: none;
    color: var(--mainDarkBlue);
    display: inline;
    font-family: var(--navFont);
    font-size: 1.35em;
    font-weight: 500;
    padding: 0.25em 0.5em 0.25em 0;
    width: auto;
}

.h1_main {
    margin-left: 0.7em;
    margin-top: 2.5em;
}

h2 {
    background-color: var(--mainDarkBlue);
    border-radius: 5px;
    color: var(--white);
    display: inline;
    font-family: var(--navFont);
    font-size: 1.15em;
    font-weight: 500;
    padding: 0.25em 0.5em 0.25em 0.5em;
    width: auto;
    margin-top: 0.25em;   
}

h2 {
    background-color: var(--white);
    border-radius: 5px;
    color: var(--mainDarkBlue);
    display: inline;
    font-family: var(--navFont);
    font-size: 1.15em;
    font-weight: 500;
    padding: 0.25em 0.5em 0.25em 0;
    width: auto;
    margin-top: 0.25em;   
}

h3 {
    background-color: var(--mainDarkBlue);
    border-radius: 5px;
    color: var(--white);
    display: inline;
    font-family: var(--navFont);
    font-size: 1em;
    font-weight: 500;
    padding: 0.25em 0.5em 0.25em 0.5em;
    width: auto;
}

h3 {
    background-color: var(--white);
    border-radius: 5px;
    color: var(--mainDarkBlue);
    display: inline;
    font-family: var(--navFont);
    font-size: 1em;
    font-weight: 500;
    padding: 0.25em 0.5em 0.25em 0.5em;
    width: auto;
}

.header_company_name {
    color: var(--mainDarkBlue);
    display: block;
    font-family: var(--navFont);
    font-size: 1.92em;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1.45em;

}

.header_main {
    padding: 1em 1em 0 1em;
    text-align: center;
    width: 100%;
}

.icon_envelope {
    margin-right: 0.3125em;
}

.icon_envelope_footer {
	margin-right: 0.38em;
  	position: relative;
  	top: 0.05em;
}

.icon_house_nav {
    display: inline-block;
    height: auto;
    position: relative;
        top: 0.0625em;
    width: 0.875em;
}

.icon_telephone {
    margin-right: 0.3125em;
    position: relative;
  	top: 0.18em;
}

.icon_telephone_footer {
    margin-right: 0.28em;
	position: relative;
  	top: 0.18em;
}

li {
    font-family: var(--bodyTextFont);
    font-size: 1em;
    margin-top: 1em;
}

.margin_top_0 {
    margin-top: 0;
}

.main_main {
    margin: 2.5em auto 0 auto;
    padding: 0 1em 0 1em;
    width: 100%;
}

.nav_main {
    display: none;
}

.nav_mobile_link {
    text-decoration: none;
}

.nav_mobile_link:hover {
    text-decoration: underline;
}

.nav_mobile_link:active {
    text-decoration: underline;
}

.nav_mobile_sub_sub {
    border-bottom: 0.0625em solid var(--mainDarkBlue);
    color: var(--mainDarkBlue);
    font-family: var(--navFont); 
    font-size: 1.22em;
    font-weight: 500;
    letter-spacing: 0.0625em;
    margin: 0 auto 0 auto;
    padding: 1em 0 1em 0;
    text-align: center;
    text-decoration: none;
    width: 80%;
}

.nav_mobile_sub_sub_links {
    display: none;
}

p {
    font-family: var(--bodyTextFont);
    font-size: 1em;
    margin-top: 1.35em;
    margin-left: 1em;
}

.p_list_like {
    color: var(--black);
    display: block;
    font-family: var(--bodyTextFont);
    font-size: 1em;
    font-weight: normal;
    margin-top: 0.35em;
}

.p_list_like_top {
    margin-top: 1.35em;
}

.space_divider_dashed_line {
    border-top: 1px dashed #1d4a8a;
    margin: 2em 0 2em 0;
}

.teaser_edge_lower {
    display: none;
}

.teaser_edge_upper {
    background-image: url("../images/teaser-edge-upper.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;    
    height: 17px;
    width: 100%;
}

.teaser_sub {
    font-size: 0;
}

.teaser_sub_sub {
    vertical-align: top;
}

.teaser_sub_sub_image {
    margin-top: 1em;
    width: 100%;
}

.teaser_sub_sub_text {
    height: auto;
    width: 100%;
}

.teaser_sub_sub_sub {
    font-size: initial;
}

.teaser_sub_sub_sub_image {
    background-color: #e9ecf3;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 10px 0 10px #ffffff inset, /* blur vasemmalle */
  			    -10px 0 10px #ffffff inset; /* blur oikealle */
  			    /* 0 12px 28px #ffffff inset; blur ylös */
    height: 0;
    padding-top: 100%;
    width: 100%;
}

.teaser_sub_sub_sub_text {
    padding: 1.2em 1em 1em 0;
}

.teaser_text {
    font-family: Lora;
    font-size: 1.4em;
    font-weight: 550;
    line-height: 1.35em;
    margin-top: 0;
}

.teaser_text_stand_out {
    color: #f17100;
}

ul, ol {
    margin: 1.5em 0 0 2em;
}

@media screen and (min-width: 28em) {

    .header_company_name {
        font-size: 2.42em;
        font-weight: 600;
        letter-spacing: 2px;
        line-height: 1.45em;
    }
    
    ul, ol {
        margin-left: 3em;
	}    
    
}

@media screen and (min-width: 37.5em) {

    .header_company_name {
        font-size: 2.72em;
        font-weight: 600;
        letter-spacing: 2px;
        line-height: 1.45em;
    }
    
}

@media screen and (min-width: 43.75em) {

    .teaser_edge_lower {
        background-image: url("../images/teaser-edge-lower.jpg");
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        display: block;
        height: 17px;
        width: 100%;
    }

    .teaser_sub_sub {
        display: inline-block;
        height: 258px;
    }
    
    .teaser_sub_sub_image {
        width: 40%;
    }
    
    .teaser_sub_sub_text {
        width: 60%;
    }

    .teaser_sub_sub_sub_image {
        background-size: contain;
        padding-top: 0;
        height: inherit;
        width: auto;
    }

}

@media screen and (min-width: 47.5em) {

    .arm_icon_header {
        display: inline-block;
        height: auto;
        position: absolute;
            left: 1.7em;
            top: 0.4em;
        width: 4.5em;
    }

    .header_company_name {
        font-size: 2.60em;
        font-weight: 600;
        margin-left: 130px;
        letter-spacing: 2px;
        line-height: 1.45em;
        padding-top: 0.15em;
        text-align: left;
    }    

    .header_main {
        margin: 0 auto 0 auto;
        padding: 2em 0 1em 0;
        width: 43.5em;
    }
    
    .header_sub {
        position: relative;
    }    
    
    .main_main {
        width: 43.5em;
    }    
    
    .nav_current_page_pointer {
        border-bottom: 10px solid #f17100;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        height: 0;
        opacity: 0;
        position: absolute;
            bottom: -20px;
            left: 50%;
        transform: translateX(-50%);
        width: 0;
    }
    
    .nav_main {
        display: block;
        margin: 0.65em auto 0 auto;
        width: 43.5em;

    }
    
    .nav_mobile_main {
        display: none;
    }
    
    .nav_sub {
        font-size: 0;
        
    }
    
    .nav_sub > :first-child > .nav_sub_sub:first-of-type {
        border-radius: 5px 0 0 5px;
    }
    
    .nav_sub > :last-child > .nav_sub_sub:first-of-type {
        border-radius: 0 5px 5px 0;
        border-right: none;
    }
    
    .nav_sub_sub {
        background-color: var(--mainDarkBlue);
        border-right: 3px solid #d3b7ab;
        display: inline-block;
        position: relative;
        text-align: center;
        width: 20%;
    }
    
    .nav_sub_sub:hover {
        background-color: #b38600;
    }
    
    .nav_sub_sub:active {
        background-color: #b38600;
    }
    
    .nav_sub_sub_long {
        width: 30%;
    }
    
    .nav_dropdown_parent {
        background-color: var(--mainDarkBlue);
        color: #ffffff;
        border-right: 3px solid #d3b7ab;
        display: inline-block;
        position: relative;
        text-align: center;
        width: 20%;
    }
    
    .nav_dropdown_parent:hover {
        background-color: #b38600;
        cursor: pointer;
    }    
    
    .nav_dropdown_parent > div:nth-child(3) {
        display: none;
        position: absolute;
            left: 0;
            top: 26px;
        width: 135%;
    }
    
    .nav_dropdown_parent > div:nth-child(3) > a:hover {
        text-decoration: none;
    }    
    
    .nav_dropdown_parent > div:nth-child(3) > a > div {
        border-right: none;
        display: block;
        padding: 8px 0 8px 8px;
        text-align: left;
        width: 100%;
    }
    
/*    
    .nav_sub_sub_short_1 {
        width: 13%;
    }
    
    .nav_sub_sub_short_2 {
        width: 17%;
    }
*/

    .nav_sub_sub_short_1 {
        width: 20%;
    }
    
    .nav_sub_sub_short_2 {
        width: 20%;
    }

    .nav_sub_sub_sub {
        font-size: initial;
        padding: 0.100em 0 0.100em 0;
    }
    
    .nav_text {
        color: var(--white);
        font-family: var(--navFont); 
        font-size: 1.22em;
        font-weight: 400;
        letter-spacing: 0.0625em;
        text-shadow: 0 2px #806000;
    }
    
    .h1_main, p, .contact_text, .contact_link {
    	margin-left: 0;
    }
    
    ul, ol {
        margin-left: 2em;
	}    
    
}

@media screen and (min-width: 48em) {

    .arm_icon_footer {
        display: inline-block;
        margin-right: 0em;
        padding-bottom: 0.4em;
    }

    .footer_contact_line_break {
        display: block;
    }

    .footer_contact_info_list_sub {
        display: inline-block;
    }
    
    .footer_contact_info_list_sub:before {
        content: '\2022';
        margin: 0 0.3215em 0 0.3215em;
    }
    
    .footer_contact_info_list_sub:first-of-type:before {
        content: '';
    }
    
    .footer_contact_info_list_sub:nth-of-type(4):before {
        content: '';
    }

    .footer_main {
        height: 12em;
        padding-bottom: 2em;
    }

}

@media screen and (min-width: 50.625em) {

    .footer_contact_line_break {
        display: none;
    }
    
    .footer_contact_info_list_sub:nth-of-type(4):before {
        content: '\2022';
    }
    
}