body {
    background-color: #F9F9F9;
    font-family: 'Lato', sans-serif;
    font-size: 1em;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    margin-bottom: 1em;
}

h2,
h3,
h4 {
    font-size: 1.4em;
    margin-top: 1em;
}

h1 {
    font-size: 2.4em;
}

h2 {
    font-size: 1.4em;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1em;
}


p {
    font-weight: 400;
}

a:hover {
    text-decoration: none;
}

.orange {
    background-color: #F4BB3A;
}

.text-red {
    color: #E44F50;
}

.text-grey {
    color: #707278;
}

.breadcrumbs {
    color: #707278;
    margin: 1.5em 0;
}

.breadcrumbs a {
    color: #707278;
}

/* Wordpress content classes */

.aligncenter {
    text-align: center;
}

.lang-selector {
    margin-bottom: 0;
    font-weight: bold;
}

/* Cookie popup from GDPR Cookie plugin*/
#wt-cli-cookie-banner .cli-bar-container{
    flex-direction: column;
}
#wt-cli-cookie-banner .cli-bar-container .cli-bar-message{
    width: 100%;
}
.cli-tab-container a{
    color: black !important;
    text-decoration: underline !important;
}
.cli-bar-btn_container {
    display: flex;
    justify-content: space-between;
}

.cli-bar-btn_container a {
    margin-left: 0 !important;
}

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

.cooke-info a {
    color: black !important;
    background: transparent !important;
    background-color: transparent !important;
    text-decoration: underline;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.cli-bar-message {
    font-size: 18px;
    margin-bottom: 1rem;
}

.cli-tab-footer .cli-btn {
    background-color: rgb(0, 105, 217) !important;
}

.footer-container .row .col-md-3 .cli_settings_button{
    color: #FFFFFF !important;
}

/* End of cookie popup*/
@media(max-width: 768px) {
    #cookie-law-info-bar h5 {
        text-align: left !important;
    }

    .cli-bar-btn_container {
        flex-direction: column;
    }
}

/* Secondary modal - Bootstrap */
.modal-content {
    background-color: #f3bb38;
    color: #fff;
    padding: 1em;
}

.modal-title {
    font-size: 26px;
    text-align: center;
}

.modal-footer,
.modal-header {
    border: none;
}

.social-media-share {
    float: right;
}

.social-media-share img {
    width: 32px;
}

.some img {
    width: 40px;
    margin-right: 0.5rem;
}

/* Hero */
.hero-image {
    padding: 0;
    position: relative;
    height: 62.5vh;
    background-position: bottom center;
    background-size: cover;
    text-align: center;
}

@media(max-width:768px) {
    .hero-image {
        height: 40vh;
    }
}

.hero-bend {
    position: absolute;
    width: 100%;
    height: auto;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero-arrow {
    position: absolute;
    width: 40px;
    height: auto;
    bottom: 40px;
    margin: 0 auto;
}


/* Navi */
.navi {
    display: flex;
    align-items: flex-start;
    height: 75px;
    width: 100%;
}

.menu-kopiraitti-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 2rem 0 0;
}

.menu-kopiraitti-container a {
    color: #221E1F;
    font-weight: 700;
}

.menu {
    display: flex;
    width: 1024px;

}

.menu:hover .sub-menu,
.menu:focus .sub-menu,
.menu:focus-within .sub-menu,
.menu:active .sub-menu {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    width: auto;
}

.menu .menu-item-has-children:focus-within,
.menu .menu-item-has-children:focus-within .sub-menu {
    background: #F8D689;
}

.menu .menu-item-has-children:focus-within .sub-menu .menu-item:focus-within {
    background: #f8eed6;
}

.menu li {
    width: 100%;
}

.menu {
    margin: 0;
    padding: 0;
}

.menu li {
    display: inline-block;
    list-style: none;
}

.menu .wpml-ls-item-en {
    /* hide eng language slector if it pops up somehow */
    display: none;
}

.menu-item {
    position: relative;
}

.menu-item a {
    display: block;
    line-height: 75px;
    padding: 0 1.4rem;
    text-decoration: none;
    color: #221E1F;
    font-weight: 700;
    font-size: 0.9em;
}

.sub-menu .menu-item a {
    line-height: 1.6;
    padding: 0.5rem 1.4rem;
}

.navi li.menu-item:hover {
    background-color: #F8D689;
}

.navi li.menu-item:hover .sub-menu {
    background-color: #F8D689;
}

.navi li.menu-item:hover .sub-menu li:hover {
    display: block;
    background-color: #f8eed6;
}

.navi .sub-menu {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    /*display: none;*/
    /*min-height:610px;*/
    position: absolute;
    z-index: 200;
    left: 0;
    top: 75px;
    list-style: none;
    background: #f8eed6;
    padding: 0;
}

#menu-kopiraitti-ruotsi .sub-menu {
    min-height: 650px;
}

.sub-menu {
    /*width:300px;*/
}

.sub-menu li {
    width: 100%;
}

.logo-container {
    position: absolute;
    z-index: 100;
    display: flex;
    margin: 0 auto;
    background-image: url('../images/kopiraitti/kopiraitti-ribbon.png');
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
    height: 250px;
    width: 220px;
    align-items: center;
    justify-content: center;
}

.logo-container img {
    width: 80%;
    height: auto;
    margin: 0 auto 1em auto;
}

.drawer-contents .wpml-ls-legacy-list-horizontal.wpml-ls-statics-footer {
    margin-bottom: 0;
}

#drawerMenu {
    display: none;
}

.drawer {
    position: absolute;
}

.drawer-heading {
    padding: 2em 0 1em 0;
}

.drawer-contents {
    padding-bottom: 1em;
}

.drawer .menu-item {
    display: inline-block;
}

.drawer .menu-item a {
    line-height: 1em;
    color: #FFFFFF;
    font-size: 1.2em;
    line-height: 1.5em;
}

.drawer .sub-menu {
    padding-left: 1em;
    padding-bottom: 1em;
}

.drawer .sub-menu .menu-item a {
    font-size: 1em;
    font-weight: 300;
    line-height: 1.2em;
}

.drawer .wpml-ls li {
    width: auto;
}

.drawer-controls {
    padding: 10px 0 0 0;
}

@media only screen and (max-width: 1024px) {
    .logo-container {
        height: 120px;
        width: 100px;
    }

    .navi {
        display: none;
    }

    #drawerMenu {
        display: block;
    }

    .menu .menu-item-has-children:focus-within,
    .menu .menu-item-has-children:focus-within .sub-menu {
        background: none;
    }

    .drawer .sub-menu .menu-item a:focus,
    .drawer .sub-menu .menu-item a:active {
        background: #2d6240;
    }

    .search {
        top: 0;
    }
}


.link-navbar {
    width: 240px;
    margin: 0 0 0 2em;
    position: relative;
    height: 75px;
    flex-shrink: 0;
}

.logo-navbar {
    position: absolute;
    top: 0;
}

.lang-switcher {
    position: absolute;
    width: 200px;
    right: 0;
    top: 18px;
}

.lang-switcher a {
    color: #221E1F;
    font-size: 0.9em;
    z-index: 100;
}

.sub-menu .menu-item.line-above {
    padding: 0 1.4rem;
}

.sub-menu .menu-item.line-above a {
    margin-top: 0.5rem;
    padding-left: 0;
    padding-top: 1rem;
    border-top: 1px solid white;

}

/* Drawer menu */
.drawerToggleBtn {
    width: 54px;
    height: 46px;
    padding: 0;
    margin: 0;
    background-color: transparent;
    background-image: url('../images/drawer_close.png');
    border: none;
}

.folded .drawerToggleBtn {
    background-image: url('../images/drawer_open.png');
}

.drawerBackBtn {
    background-image: url('../images/drawer_home.png');
}

.drawer-nav {
    padding: 0;
}

.drawer li {
    margin-top: 5px;
}

.drawer-nav li a {
    padding: 0;
    color: #ffe4a7;
}

.drawer-nav li a:hover,
.drawer-nav li a:focus,
.drawer-nav li a:active {
    color: #ffe4a7;
    text-decoration: underline;

}

#drawer-score-area div.data {
    padding: 6px;
}

.drawer-heading a {
    color: white;
    text-decoration: none;
}

.drawer-heading h2 {
    font-family: "rosewood-std-fill";
    font-style: normal;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 26px;
}

.drawer-footer.locked {
    pointer-events: none;
    /*prevents this element from blocking other elements, needed especially for IE*/
}

/* Search */
#s::placeholder {
    color: black;
    opacity: 1;
}

.search-bar {
    z-index: 999;
    position: absolute;
    width: 320px;
    right: 0;
    padding: 1em 2em;
    background-color: hsl(42, 89%, 75%);
    transition: width 0.3s;
}

.searchToggleBtn {
    display: none;
}

.search-closed {
    width: 80px;
}

.searchform {
    position: relative;
    overflow: hidden;
}

.search-closed .searchform {
    display: none;
}

.search-closed .searchToggleBtn {
    display: block;
}

.search input[type=text] {
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #F4BB3A;
}

.search input[type=text]:focus,
.search input[type=text]:active {
    background-color: transparent;
    border: none;
}

.search input[type=image] {
    position: absolute;
    right: 0px;
    opacity: 0.75;
}

::placeholder {
    color: rgb(80, 80, 80);
}

/* Sidebar */

.top-level-link {
    text-transform: uppercase;
}

.top-level-link.current_page_item {
    color: black;
}

.menu-sidebar {
    margin-top: 85px;
    background-color: hsla(42, 89%, 75%, 0.3);
    list-style: none;
    padding-bottom: 0.5em;
}

.menu-sidebar h2 {
    padding: 2rem 1.5rem 1rem;
    margin: 0;
}

.menu-sidebar h2 a {
    color: black;
}

.menu-sidebar li {
    list-style: none;
    padding: 0.5rem 1.5rem;
}

.menu-sidebar li.current_page_item {
    background-color: #F8D689;
}

.menu-sidebar ul {
    padding: 0;
}

.menu-sidebar .children {
    padding: 0;
}

.menu-sidebar .children li {
    padding-left: 1rem;
}

.page_item_has_children ul {
    display: none;
}

.menu-sidebar .current_page_item>ul,
.menu-sidebar .current_page_ancestor>ul {
    display: block;
}

.menu-sidebar a {
    color: #3A6AB3;
    text-decoration: none;
}

.menu-sidebar .current_page_item>a {
    font-weight: 700;
    color: #221E1F;
}

.menu-sidebar h4,
.sidebar-nosto h4 {
    font-weight: 700;
    font-size: 1em;
    text-transform: uppercase;
}

.menu-sidebar .child {
    padding-left: 1em;
    font-size: 0.9em;
}

.sidebar-nosto {
    background-color: hsla(42, 89%, 75%, 0.3);
    padding: 0.5em 1em 1em 1em;
    margin-top: 1em;
}

.hide-bullets ul,
.hide-bullets ol,
.hide-bullets li {
    list-style: none;
}

/* Feedback button */
#feedbackMenu {
    position: fixed;
    right: 0;
    top: 45vh;
    z-index: 300;
}

.feedback-contents {
    display: none;
}

.feedback-contents-open {}

@media(max-width:768px) {
    #feedbackMenu {
        display: none;
    }
}

/* New styles for front-page */
.front-content {
    text-align: center;
}

.front-links {
    border-left: 6px solid #F9F9F9;
    border-right: 6px solid #F9F9F9;
    width: 100%;
    padding-bottom: 63%;
    background-size: cover;
}

.front-lift-wide .front-links {
    padding-bottom: 31%;
}

.front-link-heading::before {
    border: 20px solid #fff0;
    border-bottom: 20px solid #F9F9F9;
    content: "";
    width: 20px;
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.front-link-heading {
    padding: 0;
    width: 100%;
    position: relative;
}

.front-link-heading h4 {
    text-align: center;
    color: black;
    font-size: 1.125rem;
    font-weight: bold;
}

h1.front-heading {
    margin-top: 4rem;
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: none;
    color: black;
}

h2.front-heading {
    width: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 1.75rem;
}

.front-content p {
    max-width: 600px;
    display: block;
    margin: 0 auto;
    line-height: 1.6;
}

.btn.btn-front {
    border-radius: 30px;
    color: white;
    background-color: #E44F50;
    padding: 0.75rem 5rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.link-lift-container {
    display: flex;
    flex-direction: column;
}

.link-lift-container:nth-child(even) .front-lift-row,
.front-popular-row {
    padding-left: 1.5rem
}

.link-lift-container:nth-child(odd) .front-lift-row {
    padding-right: 1.5rem;
}

.front-lift-row {
    margin-bottom: 0;
    margin-top: auto;
}

.front-lift {
    padding: 0;
}

.front-lift a {
    text-decoration: none;
}

.etusivu-video-container {
    margin-top: 5rem;
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

.etusivu-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.front-video {
    margin: 2rem auto 4rem;
}

.front-popular-container {
    padding: 2rem 0 4rem;
    background-color: #BDE6F2;
}

.front-popular {
    padding: 0;
    border: 6px solid #F9F9F9;
}

.front-popular a {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #3A6AB3;
    width: 100%;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    padding: 1.5rem 1rem;
    min-height: 148px;
}

.front-popular a:hover {
    background-color: #3B95D2;
    text-decoration: none;
}

.front-cta {
    padding: 2rem 0;
    background-image: url("../assets/tapeeti.png");
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.front-cta-box {
    max-width: 1140px;
    width: 100%;
    margin: 0 100px;
    padding-left: 1rem;
}

.front-btn-cta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.front-btn-cta .btn {
    margin: 0 1rem;
}

/* Frontpage news lifts */
.news-box,
.some-box {
    background-color: #FFFFFF;
    margin: 0 1em;
}

.some-box {
    background-color: transparent;
}

.box-header h2 {
    width: 100%;
    line-height: 80px;
    background-color: #E44F50;
    color: #FFFFFF;
    text-align: center;
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.box-wrapper {
    padding: 3rem 6rem 0;
}

.news-box .box-wrapper {
    padding: 1rem 6rem 0;
}

.some-box .box-header {
    background-color: #3A6AB3;
}

.news-item {
    margin-bottom: 1em;
}

.news-item h3 {
    font-size: 1.125rem;
    margin: 0;
}

.news-item h3 span {
    font-weight: normal;
}

.news-item p {
    font-size: 1.125rem;
    font-weight: 300;
}

.news-item a {
    color: #221E1F;
    text-decoration: none;
}

/* New styles for front-page END*/
/* Page content */
.content-container {
    padding: 120px 0 3em 0;
}

.muistilista-content {
    background: white;
    /* box-shadow: 0 0 4px #BBB;*/
    margin-top: 1rem;
    padding: 2rem;
}

.muistilista-content h1 {
    margin-bottom: 0;
    font-family: "rosewood-std-fill", sans-serif;
}

.muistilista-secondary {
    font-family: "rosewood-std-fill", sans-serif;
    margin-top: 0.5rem;
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 0;
}

.muistilista-third {
    font-family: "rosewood-std-fill", sans-serif;
    margin-top: 0.5rem;
    text-align: center;
    font-size: 1.25rem;
}

.muistilista-margins {
    margin-top: 3rem;
}

/*
.content-container ol{
    margin: 0;
    margin-right: 45px;
    padding: 0;
    list-style-type: none;

    padding-right: 13px;
}

.content-container ul{
    display: table;
    margin-right: 45px;
}

.content-container ul>li{
    display: table-row;
    line-height: 23px;
}

.content-container ul>li::before {
    display: table-cell;
    text-align: right;
}

.content-container ol>li{
    counter-increment: step-counter 1;
    margin-top: 35px;
    margin-bottom: 35px;
    line-height: 20px;
    text-indent: -3.4em;
    margin-left: 3.4em;
}

.content-container ol>li::before {
    content: counter(step-counter);
    margin-right: 13px;
    font-size: 20px;
    background-color: #ba2027;
    color: white;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 50%;
}
*/
.content-column {
    padding: 0 0 0 2em;
}

.content-column img {
    width: 100%;
    height: auto;
    margin: 1em 0;
}

.nosto-boksi,
.esimerkki {
    padding: 1.5em;
    background-color: hsla(42, 89%, 75%, 0.3);
}

.nosto-boksi {
    font-style: italic;
    padding: 1.5em 1em 1.5em 4em;
    background-color: #BDE6F2;
    background-image: url('../images/kopiraitti/bulb.png');
    background-repeat: no-repeat;
    background-position: 20px center;
    margin: 1rem auto;
}

.hahmo-container {
    width: 250px;
    border-radius: 50%;
    background-color: #f8d689;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem auto;
}

.hahmo-container .hahmo-blokki {
    display: block;
    margin: 1rem auto;
    width: auto;
    height: 150px;
}

.block-materiaalit .pdf-icon {
    max-width: 180px;
}

@media only screen and (max-width: 576px) {
    .block-materiaalit .pdf-icon {
        max-width: 100px;
    }
}

.pdf-linkit {}

.pdf-container {
    background: black;
    margin-bottom: 1rem;
}

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

.btn.btn-lataa {
    border-radius: 30px;
    color: white;
    background-color: #E44F50;
    padding: 0.75rem 5rem;
    margin: 2rem auto;
    font-weight: bold;
}

.aftercontent {
    padding: 0.5em 1.5em 1.5em 1.5em;
    background-color: hsla(42, 89%, 75%, 0.3);
}

.hahmo-ja-lainaus {
    margin: 2rem auto;
    /*background-color:#f8d689;*/
}

.hahmo-ja-sisalto {
    margin-bottom: 1rem;
}

.hahmo-blokki {
    width: 100%;
    max-width: 200px;
    display: block;
    margin: 1rem auto;
}

.lainaus {
    display: flex;
    align-items: center;
}

.lainaus h2 {
    color: #E44F50;
    font-size: 20px;

}

@media (max-width: 1440px) {
    .menu {
        display: flex;
        width: 100%;
    }
}

@media (max-width: 1280px) {
    .link-navbar {
        width: 120px;
    }

    .logo-container {
        height: 130px;
        width: 120px;
    }

    .menu {
        display: flex;
        width: 100%;
    }
}

@media only screen and (max-width: 1024px) {
    .drawer ul {
        display: block;
    }

    .content-container {
        padding: 5em 1em 0 1em;
    }

    .content-column {
        padding: 1em;
    }

    .menu-sidebar {
        margin-top: 1em;
    }

    .box-wrapper {
        padding: 2rem 1rem 0;
    }
}

@media only screen and (max-width: 768px) {
    .link-lift-container:nth-child(even) .front-lift-row {
        padding-left: initial;
    }

    .link-lift-container:nth-child(odd) .front-lift-row {
        padding-right: initial;
    }

    .link-lift-container:nth-child(even) .front-lift-row,
    .front-popular-row {
        padding-left: initial;
    }

    .muistilista-content {
        padding: 2rem 1rem;
    }
}

@media only screen and (max-width: 576px) {
    .hahmo-container {
        width: 200px;
        height: 200px;
    }

    .content-column .hahmo-blokki {
        max-width: 150px;
    }

    .block-materiaalit .pdf-icon-container {
        text-align: center;
    }
}

/* Footer */
.footer-container a {
    color: #FFFFFF;
}

/* Category */
.cat-item-container {
    padding-bottom: 2em;
}

.cat-item-container h2 {
    margin-top: 0.5em;
}

.sidebar-nosto a {
    color: #3A6AB3;
    text-decoration: none;
}

/*.sidebar-nosto li{
    list-style: none;
}*/


/* FAQ */
.questions-container h2 {
    color: #707278;
}

.question {
    text-align: left;
    background: none;
    border: none;
    padding: 0;
}

.question h3 {
    font-size: 1.4em;
    margin: 1em 0 0.5em 0;
    cursor: pointer;
}

.question h3::before {
    content: "+ ";
}

.active h3::before {
    content: "- ";
}

.answer {
    display: none;
}

.active .answer {
    display: block;
}

/* Footer */
.footer-container {
    background-color: #231F20;
    color: #FFFFFF;
    padding: 2em;
}

.logo-footer {
    width: 50%;
    height: auto;
    margin: 0 auto;
}

.footer-container h4 {
    font-size: 1em;
    font-weight: 700;
}

.footer-bottom {
    margin-top: 2em;
}

@media(max-width:768px) {
    .front-cta {
        text-align: center;
    }

    .front-btn-cta {
        justify-content: center;
        margin-top: 1rem;
    }
}

/*
* Oman tuottamisen polku template styles
*/
.page-template-template-oman-tuottamisen-polku .otp-child {
    max-width: 121px;
}

.page-template-template-oman-tuottamisen-polku .otp-child p {
    color: black;
    font-weight: bold;
}

.page-template-template-oman-tuottamisen-polku .otp-child img:first-child {
    opacity: 0.35;
}

.page-template-template-oman-tuottamisen-polku .otp-child img:first-child:hover {
    opacity: 1;
    transition: 250ms;
}

.page-template-template-oman-tuottamisen-polku .otp-child img.active:first-child {
    opacity: 1;
}

.page-template-template-oman-tuottamisen-polku ol li {
    margin-bottom: 4rem;
}

.page-template-template-oman-tuottamisen-polku ol li strong {
    font-size: 20px;
}

.page-template-template-oman-tuottamisen-polku ol li strong::after {
    content: '\A';
    white-space: pre;
}

.page-template-template-oman-tuottamisen-polku .otp-back a {
    position: relative;
    color: black;
}

.page-template-template-oman-tuottamisen-polku .otp-back a {
    position: relative;
    color: black;
    text-transform: uppercase;
}

.page-template-template-oman-tuottamisen-polku .otp-pagination a {
    font-size: 40px;
    padding: 1rem;
}

.page-template-template-oman-tuottamisen-polku .otp-back a img {
    max-width: 250px;
}

.page-template-template-oman-tuottamisen-polku .otp-back a span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%);
    -webkit-transform: translate(-50%);
}

.page-template-template-oman-tuottamisen-polku .otp-path {
    position: relative;
    max-width: 380px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
}

.page-template-template-oman-tuottamisen-polku .otp-path>img {
    width: 100%;
}

.page-template-template-oman-tuottamisen-polku .otp-path .otp-path-child {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    width: 100%;
}

.page-template-template-oman-tuottamisen-polku .otp-path .otp-child-link {
    position: absolute;
    color: black;
    text-transform: uppercase;
    max-width: 180px;
}

@media(max-width:768px) {
    .page-template-template-oman-tuottamisen-polku .otp-path .otp-child-link {
        max-width: 150px;
        font-size: 14px;
    }
}

@media(max-width:640px) {
    .page-template-template-oman-tuottamisen-polku .otp-path .otp-child-link {
        max-width: 140px;
        font-size: 12px;
    }
}

.page-template-template-oman-tuottamisen-polku .otp-path .otp-child-link-1 {
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
}

.page-template-template-oman-tuottamisen-polku .otp-path .otp-child-link-2 {
    left: 100%;
    top: 28%;
    text-shadow: 1px 1px white;
}

@media(max-width:640px) {
    .page-template-template-oman-tuottamisen-polku .otp-path .otp-child-link-2 {
        left: 65%;
        top: 13%;
        text-shadow: 1px 1px white;
    }
}

.page-template-template-oman-tuottamisen-polku .otp-path .otp-child-link-3 {
    left: 75%;
    top: 100%;
}

@media(max-width:640px) {
    .page-template-template-oman-tuottamisen-polku .otp-path .otp-child-link-3 {
        left: 50%;
        top: 103%;
    }
}

.page-template-template-oman-tuottamisen-polku .otp-path .otp-child-link-4 {
    left: -15%;
    top: 100%;
}

@media(max-width:640px) {
    .page-template-template-oman-tuottamisen-polku .otp-path .otp-child-link-4 {
        left: 0%;
        top: 103%;
    }
}

.page-template-template-oman-tuottamisen-polku .otp-path .otp-child-link-5 {
    left: 0%;
    transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    top: 28%;
    text-shadow: 1px 1px white;
}

@media(max-width:640px) {
    .page-template-template-oman-tuottamisen-polku .otp-path .otp-child-link-5 {
        left: 2%;
        transform: translateX(0);
        -webkit-transform: translateX(0);
        top: 20%;
    }
}

.page-template-template-oman-tuottamisen-polku .otp-path .otp-path-child-1 {
    left: 49.8%;
    top: 0.7%;
    width: 26.5%;
}

.page-template-template-oman-tuottamisen-polku .otp-path .otp-path-child-2 {
    left: 86.3%;
    top: 28%;
    width: 26.5%;
}

.page-template-template-oman-tuottamisen-polku .otp-path .otp-path-child-3 {
    left: 73.5%;
    top: 71.9%;
    width: 29.1%;
}

.page-template-template-oman-tuottamisen-polku .otp-path .otp-path-child-4 {
    left: 27.8%;
    top: 71.8%;
    width: 26.5%;
}

.page-template-template-oman-tuottamisen-polku .otp-path .otp-path-child-5 {
    left: 14%;
    top: 28%;
    width: 26.5%;
}

/*
* Step counter
*/
.bold-red li strong:first-child {
    color: #E44F50;
    font-size: 1.2em;
}

ol.custom-numbers,
.muistilista-content ol {
    margin: 0;
    margin-right: 45px;
    padding: 0;
    list-style-type: none;

    padding-right: 13px;
}

ol.custom-numbers ul,
.muistilista-content ol ul {
    display: table;
    margin-right: 45px;
}

ol.custom-numbers ul>li,
.muistilista-content ol ul>li {
    display: table-row;
    line-height: 23px;
}

ol.custom-numbers ul>li::before,
.muistilista-content olul>li::before {
    display: table-cell;
    text-align: right;
}

ol.custom-numbers>li,
.muistilista-content ol>li {
    counter-increment: step-counter 1;
    margin-top: 35px;
    margin-bottom: 35px;
    line-height: 24px;
    text-indent: -3.4em;
    margin-left: 3.4em;
}

ol.custom-numbers>li::before,
.muistilista-content ol>li::before {
    content: counter(step-counter);
    margin-right: 13px;
    font-size: 20px;
    background-color: #ba2027;
    color: white;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 50%;
}

/* Opetusvinkit */
.btn-vinkit {
    font-size: 0.9em;
    padding: 0 0.5em;
    margin: 0.5em;
}

.btn-vinkit.on {
    font-weight: bold;
}

.btn-vinkit:focus {
    box-shadow: none;
}

.btn-vinkit.all:focus {
    font-weight: bold;
}

@media(max-width:576px) {
    .vinkki img {
        object-fit: cover;
        object-position: top center;
        width: 100%;
        height: 200px;
    }
}


@media screen and (max-width: 500px) {
    div#cookie-law-info-bar {
        padding: 20px !important;
    }

    #cookie-law-info-bar .cli-bar-message {
        font-size: 14px !important;
    }

    #cookie-law-info-bar a#CONSTANT_OPEN_URL {
        font-size: 14px !important;
    }

}
