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

a {
    text-decoration: none;
    color: #00236b;
}

li {
    list-style: none;
}

ol,
ul,
p {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Rubik', sans-serif;
}

:root {
    --poppins: 'Poppins', sans-serif;
}

.primary-button {
    padding: 16px 45px;
    background-color: #ff4a17;
    color: white;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
}

.primary-button:hover {
    background-color: #00236b;
}

@media screen and (max-width:991px) {
    .primary-button {
        padding: 14px 35px;
    }
}

.row {
    --bs-gutter-x: 0;
}
.ingressi {
  margin-bottom: 15px;
}
/* Header */
.fg-navbar-sticky {
    position: fixed;
    top: 0;
    background-color: white;
    width: 100%;
    z-index: 2;
}
.fg-sub-menu {
    width: 100%;
    height: 45px;
    background-color: #001d57;
    color: white;
    display: flex;
    align-items: center;
}
.fg-sub-menu-container {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}
.fg-sub-menu-container i {
    font-size: 14px;
}

.fg-sub-menu-left-container {
    display: flex;
    gap: 40px;
    align-items: center;
}

.fg-sub-menu-right-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fg-sub-menu-right-container a, .fg-sub-menu-left-container a {
    color: white;
}

/* Valikko */
.fg-navbar {
    height: 100px;
    width: 100%;
    display: flex;
    align-items: center;
    background-color: #00236b;
}
.fg-navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.fg-navlist-container {
    display: flex;
    gap: 45px;
    margin-left: 300px;
}
.fg-navlist-container li a {
    font-size: 18px;
    font-weight: 300;
    color: #001d23;
    transition: 0.2s ease-in-out;
}
.fg-navlist-container li a.active {
    font-weight: 700;
}
.fg-navlist-container li a:hover {
    color: #fff;
}
.fg-navlist-container li:empty {
  display: none;
}

/* Dropdown */
.menu-dropdown-item {
    width: 250px;
    background-color: white;
    position: absolute;
    top: calc(0% + 25px);
    left: calc(0% - 35px);
    padding-top: 40px;
    padding-bottom: 10px;
    padding-left: 20px;
    z-index: 1;
    transition: 0.3s ease-in-out;
    display: none;
}
.menu-dropdown-item li {
    margin-top: 5px;
}
.menu-dropdown-item li a{
    font-weight: 300;
}
.menu-dropdown-item li a:hover {
    color: #00236b;
}
.menu-item-has-children::after{
    content:"\f107";
    font-family:"Font Awesome 6 Pro";
    color:#fff;
    margin-left: 5px;
    cursor: pointer;
}
.fg-single-navlist:hover .menu-dropdown-item {
    display: block;
}
.fg-navbar-sm {
    padding: 0 20px;
    height: 70px;
    background: #022e73;
}
.fg-navbar-sm .mobile-logo img {
    width: 100%;
    max-width: 200px;
    height: auto;
    padding: 5px;
}
.fg-navbar-fixed .mobile-logo img {
    max-width: 200px;
}
.fg-navbar-sm i {
    font-size: 25px;
}
.fg-responsive-menubar {
    height: 48px;
    width: 48px;
    border: 1px solid white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}
.fg-responsive-menubar:hover {
    cursor: pointer;
}
.fg-responsive-navbar {
    transition: 0.7s ease;
    background-color: rgba(255, 255, 255, 0.788);
    backdrop-filter: blur(30px);
    padding-top: 10px;
    display: none;
}
.fg-responsive-navbar .mobile-logo img, .fg-page-navbar img {
    width: 100%;
    max-width: 250px;
    height: auto;
    padding: 10px;
}
.fg-responsive-close-btn {
    text-align: end;
    padding-right: 15px;
    border-radius: 50%;
}

.fg-responsive-close-btn button:hover {
    background-color: #fff;
    transition: 0.3S ease;
}

.fg-responsive-close-btn button {
    padding: 10px 10px;
    border: 1px solid #000;
    border-radius: 50%;
}

.fg-responsive-nav-top {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    /*align-items: center;*/
    margin: 20px 20px 20px;
}

.fg-responsive-accordion {
    --bs-accordion-active-bg: transparent;
    --bs-accordion-btn-focus-box-shadow: 0;
    --bs-accordion-bg: #fff0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fg-responsive-list {
    padding: 0;
}

.fg-responsive-list-container {
    --bs-accordion-border-color: white;
    display: flex;
    flex-direction: column;
    font-size: 18px;
    color: #081011;
}

.fg-responsive-list-container a {
    width: 130px;
}

.fg-responsive-list-container a:hover {
    color: #00236b;
}

.fg-responsive-nav-list {
    width: 95%;
    margin: auto;
    border-bottom: 1px solid #00236b26;
    font-size: 20px;
}

.fg-responsive-nav-list a {
    font-size: 20px;
}
.fg-responsive-nav-list a.active {
    font-size: 20px;
    font-weight: 700;
}
.fg-responsive-account i {
    width: 30px;
    height: 30px;
    border: 1px solid #5f6566;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fg-responsive-contact-list {
    display: flex;
    gap: 10px;
    flex-direction: column;
    margin-top: 25px;
    margin-left: 20px;
}

@media screen and (max-width:1399px) {
    .fg-navlist-container {
        gap: 35px;
        margin-left: 0px;
    }
}

@media screen and (max-width:1199px) {
    .fg-navlist-container {
        gap: 25px;
    }
}

@media screen and (max-width:991px) {
    .offcanvas-body {
        padding-left: 10px;
    }

    .fg-sub-menu {
        display: none;
    }

    .navbar-offcanvas-lg {
        display: none;
    }

    .fg-responsive-navbar {
        display: block;
    }

    .fg-navlist-container {
        flex-direction: column;
    }

    .fg-navlist-container {
        width: 100px;
    }
}

@media screen and (max-width:767px) {
    .fg-responsive-nav-top {
        flex-direction: column;
        justify-content: center;
        gap: 20px;
    }

    .fg-banner-btn {
        padding: 8px 20px;
    }
}

@media screen and (max-width:479px) {
    .fg-navbar-sm {
        gap: 30px;
    }
    .fg-navbar-sm img {
        width: 100%;
    }
    .fg-responsive-menubar i {
        font-size: 20px;
    }
    .fg-banner-btn {
        font-size: 14px;
    }
}

@media screen and (max-width:349px) {
    .fg-banner-btn {
        font-size: 10px;
    }
}

/* Hero */
.fg-banner {
    color: white;
}
.fg-banner-bg-image img {
    width: 100%;
}
.fg-banner-container {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 7%;
    left: 0%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.fg-banner-content-container {
    display: flex;
    gap: 100px;
}
.fg-banner-text-container {
    padding-top: 50px;
}
.fg-banner-text-container h1 {
    font-size: 45px;
    font-weight: bold;
    font-family: var(--poppins);
}
.fg-banner-text-container p {
    margin-top: 25px;
}
.fg-banner-button-container {
    margin-top: 40px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.fg-banner-button-container a {
    margin-left: auto;
    margin-right: auto;
    font-weight: 700;
}
.fg-banner-button-container a:hover {
    background-color: white;
    color: black;
}
.fg-banner-content-container img {
    width: 90%;
}
.tmpl-yhteystiedot .fg-banner-button-container {
    display: none!important;
}
@media screen and (max-width: 1529px) {
    .fg-banner-content-container {
        gap: 70px;
    }

    .fg-banner-content-container img {
        width: 80%;
    }

    .fg-banner-container {
        top: 5%;
        padding-left: 8%;
    }
}

@media screen and (max-width: 1399px) {
    .fg-banner-content-container {
        gap: 50px;
    }

    .fg-banner-text-container {
        padding-top: 35px;
    }

    .fg-banner-text-container h1 {
        font-size: 45px;
    }

    .fg-banner-content-container img {
        width: 90%;
    }
}

@media screen and (max-width: 1199px) {
    .fg-banner-content-container {
        gap: 70px;
    }

    .fg-banner-text-container {
        padding-top: 10px;
    }

    .fg-banner-container {
        top: 1%;
        padding-left: 6%;
    }

    .fg-banner-text-container p {
        margin-top: 15px;
    }

    .fg-banner-button-container {
        margin-top: 20px;
    }
}

@media screen and (max-width: 991px) {
    .fg-banner-bg-image img {
        height: 500px;
    }

    .fg-banner-container {
        top: 10%;
        align-items: start;
        padding-left: 4%;
    }

    .fg-banner-content-container {
        gap: 20px;
    }

    .fg-banner-text-container h1 {
        font-size: 40px;
    }

    .fg-banner-text-container p {
        font-size: 14px;
    }

    .fg-banner-content-container {
        gap: 60px;
    }

    .fg-banner-content-container img {
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .fg-banner-bg-image img {
        height: 630px;
    }

    .fg-banner-container {
        top: 5%;
    }

    .fg-banner-content-container {
        flex-direction: column;
    }

    .fg-3-banner-heading-br {
        display: none;
    }

    .fg-banner-button-container {
        margin-top: 20px;
    }

    .fg-banner-right-image {
        padding-top: 30px;
    }

    .fg-banner-content-container img {
        width: 60%;
    }
}

@media screen and (max-width: 575px) {
    .fg-banner-bg-image img {
        height: 550px;
    }

    .fg-banner-text-container h1 {
        font-size: 35px;
    }

    .fg-banner-content-container img {
        height: 360px;
        width: 310px;
    }
}

@media screen and (max-width: 479px) {
    .fg-banner-container {
        top: 8%;
    }

    .fg-banner-bg-image img {
        height: 400px;
    }

    .fg-banner-content-container {
        gap: 40px;
    }

    .fg-banner-text-container {
        padding-right: 15px;
    }

    .fg-banner-text-container h1 {
        font-size: 26px;
    }

    .fg-banner-right-image {
        width: 100%;
    }

    .fg-banner-content-container img {
        height: 280px;
        width: 250px;

    }
}

@media screen and (max-width:349px) {
    .fg-banner-content-container img {
        width: 55%;
        height: auto;
    }
}
/* Headerimg */
.fg-headerimage.container {
  margin-left: 0px;
  margin-right: 0px;
  padding-left: 0px;
  padding-right: 0px;
  width: 100%;
  max-width: 1600px;
  margin: auto;
}
.fg-headerimage.container img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  height: auto;
  max-width: 1600px;
}
/* Sisältö */
.fg-about {
    padding-top: 60px;
    padding-bottom: 100px;
    /*display: flex;
    gap: 50px;
    align-items: center;*/
    justify-content: center;
}
.fg-3-about {
    padding-bottom: 100px;
}
.fg-about-text-container h6 {
    font-size: 24px;
    color: #ff4a17;
    font-weight: 600;
    text-transform: uppercase;
}

.fg-about-text-container h1 {
    font-size: 40px;
    color: #00236b;
    font-weight: bold;
    font-family: var(--poppins);
    margin-top: 15px;
}

.fg-about-text-container p {
    font-size: 17px;
    color: #000000;
    margin-top: 20px;
    padding-right: 20px;
}

.fg-about-list-container {
    margin-top: 20px;
    margin-bottom: 55px;
}

.fg-about-list-container i {
    height: 16px;
    width: 16px;
    border-radius: 50%;
    color: white;
    background-color: #ff4a17;
    font-size: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#fg-about-list-icon-middle {
    background-color: #00236b;
}

.fg-about-text-container span {
    font-size: 17px;
    color: #000000;
}

@media screen and (max-width:1199px) {
    .fg-about img {
        height: 420px;
        width: 420px;
    }

    .fg-about-text-container h1 {
        margin-top: 0;
        margin-bottom: 0;
    }

    .fg-about-text-container p {
        margin-top: 0px;
    }

    .fg-about-list-container {
        margin-top: 15px;
        margin-bottom: 25px;
    }
}

@media screen and (max-width:991px) {
    .fg-about {
        flex-direction: column;
    }

    .fg-about img {
        height: 100%;
        width: 100%;
    }

    .fg-about-text-container p {
        margin-top: 10px;
    }
}

@media screen and (max-width: 767px) {
    .fg-about {
        gap: 30px;
    }

    .fg-about-text-container h6 {
        font-size: 20px;
    }

    .fg-about-text-container h1 {
        font-size: 30px;
    }
}

@media screen and (max-width: 575px) {
    .fg-about {
        /*padding: 50px 50px;*/
        /*margin-top: 180px;*/
    }
}

@media screen and (max-width:479px) {
    .fg-about-text-container h6 {
        font-size: 16px;
    }

    .fg-about-text-container h1 {
        font-size: 22px;
        width: 100%;
    }

    .fg-about-text-container p {
        font-size: 15px;
    }

    .fg-about-text-container span {
        font-size: 14px;
    }
}

@media screen and (max-width: 349px) {
    .fg-about {
        margin-top: 100px;
    }
}

@media screen and (max-width:337px) {
    .fg-about-text-container h6 {
        font-size: 16px;
    }

    .fg-about-text-container h1 {
        font-size: 20px;
    }

    .fg-about-text-container button {
        width: 40%;
        font-size: 12px;
        height: 45px;
    }

    .fg-about-list-container i {
        width: 18px;
        font-size: 8px;
    }
}

/* Yhteystiedot */
/*.fg-contact {
    margin-top: 90px;
    margin-bottom: 80px;
    background-color: white;
    height: 600px;
    width: 61%;
    display: flex;
    gap: 50px;
    padding: 60px 50px 0;
    box-shadow: 20px -20px 20px #f4f7fc, -20px 20px 20px #f4f7fc;
}

.fg-contact-form {
    width: 50%;
}

.fg-contact-form input {
    width: 100%;
    height: 40px;
    border: 1px solid #dddddd;
    background-color: transparent;
    border-radius: 20px;
    margin-bottom: 30px;
    padding-left: 40px;
    outline: none;
}

.fg-contact-form textarea {
    width: 100%;
    height: 120px;
    border: 1px solid #dddddd;
    background-color: transparent;
    border-radius: 10px;
    margin-bottom: 30px;
    padding-left: 40px;
    padding-top: 20px;
    outline: none;
    resize: none;
}

.fg-contact-form button {
    width: 100%;
    height: 40px;
    background-color: #ff4a17;
    border-radius: 20px;
    border: none;
    color: white;
    font-size: 17px;
    transition: 0.3s ease-in-out;
}

.fg-contact-form button:hover {
    background-color: #00236b;
}

.fg-contact-image {
    width: 50%;
    margin-top: 20px;
}

.fg-contact-form-overlay-image {
    position: absolute;
    right: calc(0% - 25px);
    bottom: 15%;
}

.fg-contact-form-shape {
    padding-right: 0;
    height: 190px;
    width: 190px;
    background-color: #ff4a17;
    position: absolute;
    bottom: 0%;
    right: calc(0% - 49px);
    border-top-left-radius: 200px;
}

@media screen and (max-width:1529px) {
    .fg-contact {
        width: 80%;
    }
}

@media screen and (max-width:1199px) {
    .fg-contact {
        width: 90%;
    }

    .fg-contact-form {
        width: 60%;
    }

    .fg-contact-image {
        width: 40%;
        padding-top: 40px;
    }

    .fg-contact-image img {
        width: 100%;
    }

    .fg-contact-form-overlay-image {
        width: 240px;
    }

    .fg-contact-form-overlay-image {
        bottom: 24%;
        right: calc(0% - 40px);
    }
}

@media screen and (max-width:991px) {
    .fg-contact {
        width: 90%;
        height: auto;
        flex-direction: column-reverse;
        align-items: center;
        gap: 150px;
        padding-bottom: 60px;
    }

    .fg-contact-form-shape {
        display: none;
    }

    .fg-contact-form {
        width: 90%;
    }

    .fg-contact-image {
        width: 60%;
        padding-top: 0px;
    }

    .fg-contact-form-overlay-image {
        bottom: calc(0% - 90px);
        right: calc(0% - 95px);
    }
}

@media screen and (max-width:767px) {
    .fg-contact {
        width: 100%;
    }

    .fg-contact-image {
        width: 90%;
    }

    .fg-contact-form-large-image {
        width: 370px;
        height: 280px;
    }

    .fg-contact-form-overlay-image {
        bottom: calc(0% - 100px);
        right: calc(0% - 50px);
    }
}

@media screen and (max-width:575px) {
    .fg-contact-form {
        width: 100%;
    }

    .fg-contact-image {
        width: 80%;
    }

    .fg-contact-form-large-image {
        width: 320px;
        height: 260px;
    }

    .fg-contact-form-overlay-image {
        right: calc(0% - 70px);
    }
}

@media screen and (max-width:479px) {
    .fg-contact {
        gap: 40px;
    }

    .fg-contact-image {
        width: 80%;
    }

    .fg-contact-form-large-image {
        width: 220px;
    }

    .fg-contact-form-overlay-image {
        right: calc(0% - 70px);
        top: 120px;
    }

    .fg-contact-form-overlay-image img {
        width: 60%;
    }
}

@media screen and (max-width:349px) {
    .fg-contact {
        gap: 0px;
        padding: 20px;
    }

    .fg-contact-image {
        width: 80%;
        height: 200px;
    }

    .fg-contact-form-large-image {
        width: 150px;
    }

    .fg-contact-form-overlay-image {
        width: 100px;
        height: 100px;
        left: 50%;
        right: 0;
        top: 90px;
    }

    .fg-contact-form-overlay-image img {
        width: 80%;
    }
}*/

/* Footer */
.fg-footer {
    background: blue;
    height: 480px;
    width: 100%;
    color: white;
    margin-top: 40px;
    position: relative;
    z-index:1;
}
.fg-footer::after {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index:-1;
}
.fg-footer-list-container {
    padding-top: 80px;
}

.fg-footer-info {
    margin-top: calc(0% - 1px);
}

.fg-footer-info img {
    height: auto;
    width: 100%;
    max-width: 250px;
    margin-bottom: 20px;
}

.fg-footer-social-media-container {
    display: flex;
    gap: 10px;
}

.fg-footer-social-media-container div a {
    height: 40px;
    width: 40px;
    font-size: 17px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    transition: 0.3s ease-in-out;
    color: #24211a;
}

.fg-footer-social-media-container div a:hover {
    background-color: #ff4a17;
    color: #fff;
}

.fg-footer-list h5 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
}

.fg-footer-list li {
    font-family: 'Jost', sans-serif;
    font-size: 17px;
    color: #f8f8f9;
    margin-top: 15px;
}

.fg-footer-list li a {
    color: #f8f8f9;
}

.fg-footer-list li:hover {
    text-decoration: underline;
    cursor: pointer;
}

.fg-second-list {
    padding-left: 80px;
}

.fg-third-list {
    padding-left: 40px;
}

.fg-footer-last-list a {
    color: white;
}

.fg-footer-last-list i {
    color: #ff4a17;
}

.fg-footer-bottom {
    width: 90%;
    margin: auto;
    border-top: 1px solid #86807f;
    margin-top: 80px;
    text-align: center;
    padding-top: 20px;
}
.fg-footer-bottom p {
    font-size: 16px;
}
.fg-footer-bottom p a {
    color: #fff;
    font-weight: 700;
}
.fg-footer-blog-page {
    margin-top: 230px !important;
}

@media screen and (max-width:1199px) {
    .fg-footer {
        height: auto;
        padding-bottom: 10px;
    }

    .fg-footer-info {
        margin-top: calc(0% - 0px);
    }

    .fg-footer-bottom {
        width: 100%;
    }
}

@media screen and (max-width:991px) {
    .fg-second-list {
        padding-left: 0;
    }

    .fg-third-list {
        padding-left: 0;
    }

    .fg-footer-blog-page {
        margin-top: 210px !important;
    }
}

@media screen and (max-width:767px) {
    .fg-footer-list-container {
        padding-top: 40px;
    }

    .fg-footer-info {
        margin-top: calc(0% + 35px);
    }

    .fg-footer-bottom {
        margin-top: 60px;
    }
}

@media screen and (max-width:575px) {
    .fg-footer-list-container {
        row-gap: 40px;
    }

    .fg-footer-bottom {
        margin-top: 60px;
    }
}

@media screen and (max-width:479px) {
    .fg-footer-list-container {
        padding-left: 10px;
    }

    .fg-footer-social-media-container div {
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }
}

@media screen and (max-width:350px) {}

/* Header */
.tmpl-etusivu .fg-2-navbar {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 890px;
    width: 100%;
    /*padding-top: 25px;*/
    position: relative;
    z-index:1;
}
.tmpl-etusivu .fg-2-navbar::after {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 45, 118, 0.25);
    z-index:-1;
}
.fg-2-navbar {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /*height: 650px;*/
    height: 1px;
    width: 100%;
    /*padding-top: 25px;*/
    position: relative;
    z-index:1;
}
/*.fg-2-navbar::after {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 45, 118, 0.75);
    z-index:-1;
}*/
.tmpl-etusivu .fg-2-banner-content-container {
    height: 85%;
    display: flex;
    gap: 120px;
    align-items: center;
    color: white;
}
.fg-2-banner-content-container {
    height: 55%;
    display: flex;
    gap: 100px;
    align-items: center;
    color: white;
    margin-top: 20px;
}
.fg-2-navbar .logo img {
    width: 100%;
    max-width: 250px;
    height: auto;
}
.fg-2-banner-text-container {
    padding: 20px;
    width: 100%;
    text-align: center;
}
.fg-banner-right-image img {
    width: 100%;
}
.fg-banner-right-image img {
    transition: 0.5s ease-in-out;
}
.fg-banner-right-image img:hover {
    transform: scale(1.08);
}

@media screen and (max-width: 1529px) {
    .fg-2-banner-content-container {
        gap: 100px;
        justify-content: center;
    }
}

@media screen and (max-width: 1399px) {
    .tmpl-etusivu .fg-2-navbar {
        height: 750px;
    }
    .fg-2-navbar {
        /*height: 650px;*/
        height: 100px;
    }
    .fg-2-banner-content-container {
        gap: 70px;
    }

    .fg-banner-right-image img {
        width: 100%;
    }
}

@media screen and (max-width: 1199px) {
    .fg-2-navbar {
        /*height: 550px;*/
        height: 100px;
    }
    .tmpl-etusivu .fg-2-navbar {
        height: 650px;
    }
}

@media screen and (max-width: 991px) {
    .fg-2-navbar {
        /*height: 350px;*/
        height: 1px;
    }
    .fg-headerimage.container {
      margin-left: 0px;
      margin-right: 0px;
      padding-left: 0px;
      padding-right: 0px;
      width: 100%;
      max-width: 1200px;
    }
    .tmpl-etusivu .fg-2-navbar {
        height: 450px;
    }
    .fg-2-banner-content-container {
        gap: 30px;
        height: 90%;
        margin-top: 0px;
    }
}

@media screen and (max-width: 767px) {
    .fg-2-navbar {
        /*height: auto;
        min-height: 400px;*/
        height: 1px;
        /*padding: 40px 0;*/
    }
    .tmpl-etusivu .fg-2-navbar {
      height: auto;
      padding: 40px 0;
    }
    .fg-2-banner-content-container {
        flex-direction: column;
        gap: 20px;
    }
    .fg-2-banner-text-container h1 {
        font-size: 30px;
    }

    .fg-banner-right-image img {
        width: 100%;
    }
}

@media screen and (max-width: 575px) {
    .fg-2-banner-text-container h1 {
        font-size: 30px;
    }
}
@media screen and (max-width: 479px) {
    .fg-2-banner-text-container h1 {
        font-size: 22px;
    }
}
/* Nostot */
.fg-2-feature {
    margin-top: 80px;
    text-align: center;
    z-index: 1;
}
.fg-2-feature-text-container p {
    font-size: 24px;
    color: #ff4a17;
    font-weight: 600;
    text-transform: uppercase;
}
.fg-2-feature-text-container h4 {
    font-size: 40px;
    color: #00236b;
    font-family: var(--poppins);
    font-weight: bold;
    margin-top: 15px;
}
.fg-2-feature-card-container {
    margin-top: 60px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.fg-2-feature-card {
    width: 380px;
    height: auto;
    text-align: center;
    padding: 20px;
    background-color: white;
    box-shadow: -15px 15px 20px #f9f9f9, 15px -15px 20px #f9f9f9;
}
.fg-2-feature-card-icon {
    display: flex;
    justify-content: center;
}
.fg-2-feature-card i {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    color: white;
    background-color: #ff4a17;
    display: flex;
    justify-content: center;
    align-items: center;
}
.fg-2-feature-card-text-container {
    margin-top: 20px;
}
.fg-2-feature-card-text-container h5 {
    font-size: 22px;
    color: #00236b;
    font-weight: bold;
}
.fg-2-feature-card-text-container p {
    font-size: 17px;
    color: #000000;
    margin-top: 10px;
    margin-bottom: 10px;
}
.tmpl-yhteystiedot .fg-2-feature-card-text-container p a {
    font-size: 17px;
    color: #00236b;
    margin-top: 10px;
    margin-bottom: 10px;
}
.fg-2-feature-card-btn {
    font-size: 17px;
    color: #00236b;
    border: none;
    background-color: transparent;
    margin-top: 10px;
    transition: 0.3s ease;
    font-weight: 700;
}
.tmpl-palvelut .fg-2-feature {
    margin-top: 20px;
    margin-bottom: 200px;
    text-align: center;
    z-index: 1;
}
.fg-2-feature-btn {
    margin-top: 60px;
}

@media screen and (max-width:991px) {
    .fg-2-feature {
        margin-top: 60px;
    }
    .fg-2-feature-text-container h4 {
        font-size: 35px;
    }
}
@media screen and (max-width:767px) {
    .fg-2-feature-text-container p {
        font-size: 20px;
    }
    .fg-2-feature-text-container h4 {
        font-size: 30px;
        margin-top: 5px;
    }
    .fg-2-feature-card-container {
        margin-top: 30px;
    }
}
@media screen and (max-width:479px) {
    .fg-2-feature {
        margin-top: 40px;
    }
    .fg-2-feature-card-container {
        margin-top: 40px;
    }
    .fg-2-feature-text-container p {
        font-size: 16px;
    }
    .fg-2-feature-text-container h4 {
        font-size: 20px;
    }
    .fg-2-feature-card-text-container h5 {
        font-size: 18px;
    }
    .fg-2-feature-card-text-container p {
        font-size: 16px;
    }
}
/* Sisältö */
.fg-2-about {
    padding-top: 100px;
    padding-bottom: 100px;
}
.fg-2-about .left-content, .fg-2-about .right-content {
    padding: 20px;
}
.fg-2-about-container {
    padding: 100px 0;
}
.fg-2-about-container img {
    width: 100%;
    max-width: 640px;
    height: auto;
}
@media screen and (max-width:991px) {
    .fg-2-about-container {
        margin-top: 60px;
    }
}
@media screen and (max-width:767px) {
    .fg-2-about-container {
        padding: 60px 0px;
    }
}
@media screen and (max-width:575px) {
    .fg-2-about-container {
        padding: 60px 20px;
    }
}
/* Sisältö */
.fg-navbar-page-bg {
    /*background-image: url("../assets/images/service-page-bg.png");*/
    height: 520px;
    width: 100%;
    padding-top: 25px;
}
.fg-service-page-navbar {
    background-color: transparent;
    color: white;
}

.fg-page-navlist {
    margin-left: 200px;
}
.fg-page-navlist li a {
    color: white;
}
.fg-navbar-fixed {
    /*position: fixed;*/
    top: 0;
    background-color: #00236b;
    width: 100%;
    z-index: 9999!important;
}
.page-nav-dropdown-item {
    padding-top: 15px;
    padding-bottom: 15px;
}
.page-nav-dropdown-item li a {
    color: black;
}
.fg-service-page-contact-btn {
  border-radius: 50px;
  text-align: center;
  padding: 10px;
}
.fg-service-page-contact-btn i {
  font-size: 19px;
}
.fg-service-page-contact-btn:hover {
    background-color: white;
    color: black;
}

/* Footer */
.fg-service-page-footer {
    margin-top: 120px;
}

@media screen and (max-width:1399px) {
    .fg-page-navlist {
        margin-left: 0px;
    }
}
@media screen and (max-width:991px) {
    .fg-service-page {
        margin-top: 60px;
    }
    .fg-navbar-page-bg {
        height: 400px;
    }
    .fg-service-page-footer {
        margin-top: 60px;
    }
}
@media screen and (max-width:479px) {
    .fg-navbar-page-bg {
        height: 250px;
    }
    .fg-service-banner-text-container {
        margin-top: 60px;
    }
    .fg-service-banner-text-container h1 {
        font-size: 35px;
    }
}

/* Sisältö */
.fg-blog-details-aside-card {
    margin-top: 50px;
    width: 100%;
}

.fg-blog-details-aside-categories {
    margin-top: 50px;
    padding-top: 25px;
    padding-bottom: 25px;
    padding-left: 25px;
    padding-right: 25px;
    background: #fff;
    box-shadow: -15px 15px 20px #f9f9f9, 15px -15px 20px #f9f9f9;
}
.fg-blog-details-aside-categories ul li {
    background: #fff0;
    margin-bottom: 5px;
    padding: 5px;
    border-bottom: 1px solid #f2f2f2;
}
.fg-blog-details-aside-categories ul li.is-in-active-path a.active {
    font-weight: 700;
    color: #00236b;
}
.fg-blog-details-aside-categories h4 {
    font-size: 22px;
    color: #00236b;
    font-weight: bold;
    font-family: var(--poppins);
}

.fg-blog-details-categories-container {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fg-blog-details-single-category {
    display: flex;
    justify-content: space-between;
    color: #000000;
    transition: 0.3s ease-in-out;
}

.fg-blog-details-single-category i {
    font-size: 16px;
}
.fg-blog-details-single-category p {
    font-size: 17px;
}

.fg-blog-details-single-category:hover {
    color: #ff4a17;
}
@media screen and (max-width:1399px) {
    .blog-details-page-image img {
        width: 100%;
    }
    .fg-blog-details-aside-card {
        height: auto;
        padding-bottom: 15px;
    }
}
@media screen and (max-width:1199px) {
    .fg-blog-details-aside-content {
        width: 30%;
    }
}
@media screen and (max-width: 991px) {
    .fg-blog-details {
        margin-top: 60px;
    }
    .fg-blog-details-aside-card h5 {
        font-size: 20px;
    }
    .fg-blog-details-aside-card p {
        font-size: 15px;
    }
    .fg-blog-details-aside-card a {
        font-size: 15px;
    }
    .fg-blog-details-single-category p {
        font-size: 15px;
    }
}
@media screen and (max-width: 767px) {
    .fg-blog-details-container {
        flex-direction: column;
        gap: 60px;
    }
    .fg-blog-details-left-container {
        width: 90%;
        margin: auto;
    }
    .fg-blog-details-aside-content {
        width: 90%;
        margin: auto;
    }
    .fg-blog-details-aside-card h5 {
        font-size: 22px;
    }
    .fg-blog-details-aside-card p {
        font-size: 17px;
    }
    .fg-blog-details-aside-card a {
        font-size: 17px;
    }
    .fg-blog-details-single-category p {
        font-size: 18px;
    }
}
@media screen and (max-width: 479px) {
    .fg-blog-details-left-container h4 {
        font-size: 20px;
    }
    .fg-blog-details-aside-card h5 {
        font-size: 18px;
    }
    .fg-blog-details-aside-categories h4 {
        font-size: 18px;
    }
    .fg-blog-details-single-category p {
        font-size: 16px;
    }
}
/* Galleria */
.gallery {
    margin-top: 50px;
    margin-bottom: 20px;
}
.gallery .thumb {
    float: left;
}
.gallery .thumb .thumb-holder {
    margin-bottom: 5px;
    margin-right: 5px;
    padding: 5px;
    border: 1px solid #00236b26;
}
.gallery .thumb img {
    width: 100%;
    max-width: 210px;
    height: auto;
}
.gallery .thumb img:hover {
    opacity: .8;
}
/* Mobiilimenu */
a.accordion-button.fg-responsive-list.collapsed {
    background: transparent;
}
.accordion-button:focus {
    z-index: 3;
    border-color: transparent;
    outline: 0;
    box-shadow: unset;
}
.accordion-button:not(.collapsed) {
    color: #000;
    background-color: transparent;
    box-shadow: unset;
    border-bottom: 1px solid #00236b26;
}
.accordion-collapse li {
    padding-left: 15px !important;
}
.accordion-collapse li:not(:last-child) {
    border-bottom: 1px solid #00236b26;
}
div#accordionFlushExample ul li {
    padding: 5px 0;
}
.accordion-button::after {
    background-size: 12px;
}
@media only screen and (max-width: 992px) {
    .fg-2-service-card-padd {
        padding-top: 40px;
    }
}
/* Sisältökuvat */
.module-kuvia {
	margin-top:1em;
	margin-bottom:1em;
	padding:0.5em;
	float:left;
	clear:both;
	width:100%;
}
.size-large {
	clear:both!important;
	width:100%;
	margin-top:1em;
	margin-bottom:1em;
	float:left;
}
.size-large img {
	width:100%;
	height:auto;
}
.size-small {
	clear:right!important;
	width:50%;
	float:left;
	margin-top:1em;
	margin-bottom:1em;
}
.size-small img {
	width:100%;
	height:auto;
}
.size-large .img-content, .size-small .img-content {
	margin:0.5em;
}
@media screen and (max-width: 576px) {
  .size-large, .size-small {
  	width:100%;
  }
}
