/* For future studies */
html {
    scroll-behavior: smooth;
}

/* Css for body, potential change for it depending on what other coworker says */
#body {
    padding-top: 13rem;
    color: black;
}

.container {
    position: relative;
    width: 100%;
}

.image {
    display: block;
    width: 100%;
    height: auto;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;   
    background: rgba(0, 0, 0, 0.5);
    transition: height 0.5s ease;
    display: flex;
    color: #f1f1f1;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.image-text-carousel {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 20px;
    /* Add padding to prevent text from reaching the edges */
    box-sizing: border-box;
    /* Ensures padding doesn't affect width calculation */
    width: calc(100% - 235px);
    /* Ensure the text stays within the image, subtracting the padding */
    white-space: normal;
    /* Allow text wrapping */
    text-align: center;
    /* Center the text */
}

.item-info-mobile {
    display: none;
    /* Hide the mobile info by default */
}


.additional-content {
    margin-top: 20px;
    padding: 20px;
}

.additional-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.additional-content p {
    font-size: 16px;
    line-height: 1.5;
}

#backToTop {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
    background-color: #555;
    color: white;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
}

#backToTop:hover {
    background-color: #333;
}

.footer .footer-items {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; 
}

.footer .footer-module {
    flex: 1;   
    box-sizing: border-box;   
    padding-right: 0rem;
}

.footer .footer-module:first-child {
    text-align: left; 
}

.footer .footer-module:nth-child(2),
.footer .footer-module:nth-child(3) {
    text-align: center; /* Keep the text alignment for the module itself centered */
}


.footer .footer-module:nth-child(2) p {  
    text-align: left; /* Align text to the left */
    margin: 0 auto; /* Center the paragraph block */
    width: 100%; /* Make the paragraph take up the full width */
    max-width: 135px; /* Optionally, you can set a max-width for better control */
}

.footer .footer-module:nth-child(3) p {  
    text-align: left; /* Align text to the left */
    margin: 0 auto; /* Center the paragraph block */
    width: 100%; /* Make the paragraph take up the full width */
    max-width: 95px; /* Optionally, you can set a max-width for better control */
}
.footer .footer-module:nth-child(2) h4,
.footer .footer-module:nth-child(3) h4
{
    text-align: center;    
}

.footer .footer-module:nth-child(4) {
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    padding-right: 0rem;  
} 

.social-icons-wrapper {
    display: flex;
    justify-content: flex-end; 
    width: 100%;  
    margin-bottom: 20px;   
}

.social-icons {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5vw; 
    color:white;
}

.social-icons li {
    display: inline-block;
}

.social-icons a {
    text-decoration: none;
    color: inherit;
}

.footer .footer-bottom.footer-copyright {
    width: 100%; 
    text-align: left; 
    margin-top: 10px;
}

.filter-container {
    display: flex;
    justify-content: flex-start; 
    gap: 20px; 
}

.thumbnail {
    object-fit: cover;
}

.thumbnail:hover {
    transform: scale(1.1);
}

.thumbnail-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0;
}

.thumbnail-row a {
    flex: 1 1 30%;
    max-width: 30%;
    box-sizing: border-box;
}

.owl-carousel .owl-item img {
    margin-bottom: 1.5%;
}

.thumbnail-row img {
    width: 100%;
    height: 200px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 10px;
    transition: transform 0.2s;
}

.desktop-image {
    display: block;
}

.mobile-image {
    display: none;
}

.top-image {
    width: 100%;
    height: 500px;
    /* Adjust the height as needed */
    object-fit: cover;
    overflow: hidden;
}



#header .fa {
    color: #161d72;
}

.logo ul.social-icons li a {
    color: #161d72 !important;
    display: block;
    margin-top: 0.2rem;
    margin-left: 0.0rem;
}

.social-icons li a {
    text-decoration: none;
    /* Remove underline from links */
    color: inherit;
    /* Use the inherited text color */

}

.social-icons li a:hover {
    color: #007BFF;
    /* Change color on hover */
}

.social-icons li i {
    font-size: 20px;
    /* Adjust the size of the icons */
}

.footer .copyright {
    margin-top: -20px;
    padding-bottom: 20px;
}
.filter-group {
    margin-bottom: 10px;
    padding-right: 50px;
}

.filter-group h3 {
    margin-bottom: 5px; 
    
}

.filter-group label {
    display: block; 
    margin-bottom: 5px; 
    font-size: 14px; 
}
.product-list {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;    
    gap: 20px;
    justify-content: flex-start;
}

.col-4 {
    flex: 0 1 calc(33.33% - 20px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;

    margin-bottom: 20px;
}

.product-item {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    background-color: white;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.product-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    max-height: 50px;
    max-width: 100px;
    height: auto;
    width: auto;
}

.product-thumbnail {  
    height:150px;
    max-width: 430px;
    margin-top: 20px;
    /* Add margin to avoid overlap with icon */
}

/* custom.css */
#contact_form_section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

#contact_form_section .col-md-6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Add these styles for the box effect */
    max-width: 500px; /* Adjust as needed */
    width: 100%;
    border: 1px solid #ddd; /* Light border */
    border-radius: 8px; /* Rounded corners */
    padding: 2rem; /* Padding inside the box */
    background-color: #fff; /* White background */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Slight shadow */
}

#contact_form_section .contact-text-container {
    display: block;
    width: 100%;
}

.g-recaptcha {
    margin-bottom: 15px;
}

#contact_form_section h2,
#contact_form_section p {
    text-align: left;
    margin-bottom: 1rem;
}

#contact_form_section form {
    width: 100%;
}

#contact_form_section .form-group {
    margin-bottom: 1.5rem;
}

#contact_form_section .form-control-lg {
    font-size: 1.25rem;
    padding: 1rem;
}

#contact_form_section .btn-lg {
    font-size: 1.25rem;
    padding: 1rem 1.5rem;
}


.product-info {
    list-style-type: none;
    padding: 0;
}

ul.product-info {
    margin-left: 0;
    /* Reset the left margin for ul elements */
}

.read-more {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 5px;
}

.read-more:hover {
    background-color: #0056b3;
    color: white;
    /* Change text color on hover */
}

.filter-button,
.filter-sidebar {
    display: none;
}

.carousel-image {
    width: 100%;
    height: auto;
}

.overlay-images-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.small-image {
    position: absolute;
    z-index: 0;
    max-width: 20vw;
    /* Adjust based on your design */
    border: 1px solid black;
    box-sizing: border-box;
    height: auto;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
}



.small-image[data-image-key="start04.jpg-1"] {
    top: 7%;
    left: 1%;
    max-width: 22%;
    border-color: black;
}

.small-image[data-image-key="start04.jpg-2"] {
    top: 40%;
    left: 25%;
    max-width: 35%;
    border-color: black;
}

.small-image[data-image-key="start04.jpg-3"] {
    top: 30%;
    left: 62%;
    max-width: 37%;
    border-color: black;
}
.phone-link {
    pointer-events: none; /* Prevent clicks on the link */
    color: inherit; /* Inherit color from parent */
    text-decoration: none; /* Remove underline */
}

/* Removes the nav buttons in the carousel on touch formats */
@media (max-width: 767px) {

    .phone-link {
        display: inline; /* Show the link on mobile */
    }
    
    .phone-number {
        display: none; /* Hide the plain text number on mobile */
    }
    .small-image {
        display: none !important;
    }
    .footer .footer-items {
        display:block;
    }
    .additional-content {
        margin-top: 0px;       
    }
    .footer .footer-module {      
        padding: 10px 0;
    }
    .footer .footer-module:nth-child(2) p,
    .footer .footer-module:nth-child(3) p{
        margin:0;
    }
    
    .footer .footer-module:first-child,
    .footer .footer-module:nth-child(2),
    .footer .footer-module:nth-child(3),
    .footer .footer-module:nth-child(4) {
        display: block;       
        text-align: left !important;       
        padding-right: 0;
    }
    .footer .footer-module:nth-child(2) h4,
    .footer .footer-module:nth-child(3) h4 {
        text-align: left !important; 
    }
    .social-icons-wrapper {
        justify-content: left;
        width: 100%;
    }
    
   .footer .social-icons {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        color: white;
        gap: 7.5vw;     
        padding-top: 0rem;   
    }
    
    .social-icons li {
        display: inline-block;
    }
    .footer .social-icons li i {
        font-size: 20px;
        /* Adjust the size of the icons */
    }
    
    .social-icons li i {
    font-size: 15px;
    /* Adjust the size of the icons */
    }
    .social-icons a {
        text-decoration: none;
        color: inherit;
    }
    
    .footer .footer-bottom.footer-copyright {
        width: 100%;
        text-align: left;
        margin-top: 10px;
    } 
    .footer .copyright {
        padding-bottom: 0;
    }
   
    .filter-group {
        margin-left: 10px; /* Remove left margin to ensure full width */
        margin-bottom: 10px; /* Add bottom margin for spacing between groups */
        width: 100%; /* Ensure full width */
        box-sizing: border-box;
    }
    .filter-sidebar .close-filter-button {
        position: absolute;

        right: 10px;
        background: none;
        border: none;
        font-size: 2em;
        /* Make the close button larger */
        cursor: pointer;
    }

    .filter-sidebar {
        position: fixed;
        top: 0;
        left: -250px;
        width: 250px;
        height: 100%;
        background-color: white;
        z-index: 10000;
        transition: left 0.3s ease-in-out;
        overflow-y: auto;
        display: block;
    }

    .logo ul.social-icons li a {
        color: #161d72 !important;
        display: block;
        margin-top: -0.2rem;
        margin-left: 0.0rem;
    }

    .logo ul.social-icons li {
        float: left;
        width: 1.5rem;
        height: 1.5rem;
        background: #fff;
        border-radius: 100%;
        text-align: center;
        margin-right: 0.8rem;
    }

    .row-info {
        display: block !important;
    }

    .col-4 {
        flex: 0 0 100%;
        margin-bottom: 10px;
    }

    .product-item {
        width: 90vw;
        padding: 35px;
    }

    .product-thumbnail {
        height: auto;
        max-width:320px;
        margin-top: 10px;
    }
      
    .filter-sidebar.open {
        left: 0;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
        /* Slide in when open */
    }

    /* Styles for the filter button and sidebar */
    .filter-button {
        display: block;
        background-color: #007bff;
        color: #fff;
        padding: 6px 10px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        margin: 20px 0;
    }

    .filter-button i {
        font-size: 1.5em;
    }
    .filter-container {
        display: flex;
        flex-direction: column; 
        gap:0px;
    }
    .filter-container-desktop {
        display: none;
    }

    .filter-sidebar {
        display: none;
        /* Hide sidebar by default */
    }

    .product-list {
        padding: 0 5px;
        /* Adjust padding for smaller screens */
        gap: 10px;
        /* Adjust gap for smaller screens */
    }

    .col-4 {
        flex: 0 1 calc(100% - 10px);
        /* Full width for mobile */
    }

    #body {
        padding-top: 11rem;
    }

    #header {
        height: 150px !important;
    }

    #header #navbar .panel-activation {
        font-size: 2.5rem;
    }

    .owl-carousel .owl-nav {
        display: none;
    }

    .nav.nav-pills-alt {
        display: block !important;
    }

    .nav-pills-alt {
        display: flex;
        flex-wrap: wrap;
    }

    .nav-pills-alt .nav-item {
        display: inline-block !important;
        margin-bottom: 20px;
    }

    .primary.nav-item {
        margin-left: 0;
        margin-top: 10px;
    }

    .container-employees .col-md-4 {
        width: 100%;
        max-width: 100%;
    }

    .container-employees .row {
        display: block !important;
        margin-bottom: 20px;
    }

    .card {
        position: relative;
        margin-top: 20px;
        width: 92vw !important;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        background-color: rgb(246, 249, 255);
    }

    .card-body {
        position: relative;
        width: 90vw !important;
        height: 190px;
    }

    .card-content {
        display: flex;
        justify-content: space-between;
        width: 90vw !important;
        height: 190px;
    }

    .feature-box-row {
        display: block !important;
    }

    .feature-box {
        max-width: 100vw !important;
    }

    .thumbnail-row img {
        height: 80px;
    }

    .thumbnail-row a {
        flex: 1 1 45%;
        max-width: 45%;
    }

    .content {
        max-width: 800px;
        margin: 0 auto;
    }

    .image-wrapper {
        text-align: center;
        width: 100%;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .section-header {
        font-size: 1.5em;
        margin: 20px 0;
    }

    .navigation li a i {
        display: inline-block;
        margin-left: 10px;
        /* Adjust spacing as needed */
    }

    .navigation li a i.mobile-only {
        font-size: 18px;
        margin-left: 0;
    }

    .desktop-image {
        display: none;
    }

    .mobile-image {
        display: block;
        width: 100%;
        height: auto;
    }

    .overlay {
        display: none;
    }

    .item-info-mobile {
        display: block;
    }
    .g-recaptcha iframe {
        width: 335px !important;
        height: 85px !important;
    }
}

/* Hide icons on larger screens */
@media (min-width: 767px) {
    .navigation li a i.mobile-only {
        display: none;
    }
}

@media only all and (max-width: 1024px) {
    #header #navbar ul.navigation {
        display: none;
    }

    #header #navbar .panel-activation {
        display: inline-block;
        position: absolute;
        left: 0;
        top: 50%;
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }
}

/*Specific adjustment up to ipad*/
@media only all and (max-width: 1366px) {

    .padding-horiz,
    .fullwidth #header,
    .fullwidth #breadcrumbs,
    .fullwidth .blog-header,
    .fullwidth .blog-content-item,
    .fullwidth .content-wrapper,
    .fullwidth ul.pagination,
    .fullwidth #body>.modular-row,
    #body,
    #header,
    .footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .footer .social-icons{
        padding-top: 0;
        width:auto;
    }
    #header #navbar .panel-activation {
        font-size: 2.5rem;
    }
    .footer .footer-module h4
    {
        font-size: 1.2rem; /* Reinforce the font size for consistency on smaller screens */
    }
    #header {
        height: 150px !important;
    }

    .g-recaptcha iframe {
        width: 335px !important;
        height: 85px !important;
    }

}

/* Changes the standard font for the website, need to download other fonts first before trying to change this one */
@font-face {
    font-family: 'nunito';
    src: url('../fonts/Nunito-Medium.ttf') format("truetype");
    font-weight: normal;
    font-style: normal;
}

/* .featherlight-content {
    display: flex;
    align-items: center;
    justify-content: center;
} */

/* .featherlight-image {
    width: 1000px !important;
    height: 750px !important;
    object-fit: cover;
} */
.footer h4 {
    color: white;
}

#header #navbar .panel-activation,
#header #navbar ul.navigation li a {
    color: white;
}

#header #navbar ul.navigation li a.active,
#header #navbar ul.navigation li a:hover {
    color: #d3d3d3;
}

#panel .navigation li {
    border-bottom: 1px solid #181450;
}

#panel .navigation li a:hover {
    color: white;
    background-color: #161d72 !important;
}

h1,
h2,
h3,
h4,
h5 {
    color: black;
}

.item {
    position: relative;
}

.item-info {
    display: block;
}

#header {
    background-color: #161d72;
}

/* Customizing Owl Carousel navigation buttons */
.owl-prev,
.owl-next {
    background-color: #D6D6D6;
    color: #FFF;
    font-size: 14px;
    margin: 5px;
    padding: 4px 7px;
    border-radius: 3px;
    cursor: pointer;
    text-align: center;
}

.modular-row.footer {
    background-color: #161d72;
}

a {
    color: rgb(41, 101, 230);
}

.footer a {
    color: white;
}

.footer a:hover {
    color: #d3d3d3;
}

.footer-module p {
    color: white;
    /* Set the color for the text within <p> tags inside .footer-module */
    margin: 0;
}

.titlePage {
    text-align: left;
}

.listChange {
    text-align: left;
}

.timeline-marker:before {
    background: rgb(0, 4, 255) !important;
}

.card {
    position: relative;
    width: 400px;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: rgb(246, 249, 255);
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/logo/logomini.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.04;
    z-index: 1;
}

.card-subtitle.mb-2.text-muted {
    font-size: 16px;
    margin-left: 8px;
    margin-top: -20px;
}

.card-body {
    position: relative;
    width: 400px;
    height: 190px;
}

.card-content {
    display: flex;
    justify-content: space-between;
    width: 400px;
    height: 190px;
}

.card-icon {
    font-size: 50px;
    opacity: 0.5;
    margin-right: 10px;
    color: rgb(38, 132, 219);
}

.card-title {
    margin-left: 10px;
}

.container-employees .row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    justify-content: space-between;
}

.office-image {
    height: 190px;
    width: 100%;
    object-fit: cover;
}

.detail-list dt,
.detail-list dd {

    display: block;
    float: left;
    margin: 0;
}

.sb-slidebar {
    background-color: #161d72 !important;
}

.detail-list-offices {
    margin: 0;
    padding: 0;
    list-style: none;
}

.detail-list-offices dt {
    float: left;
    clear: left;
    width: 60px;
    margin-right: 10px;
}

.detail-list-offices dd {
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
}

.detail-list dt {
    float: left;
    clear: left;
    width: 50px;
    margin-right: 10px;
}

.detail-list {
    position: absolute;
    margin-top: 120px;
    margin-left: 10px;
}

.address-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    font-size: 15px;
}

.info-list {
    list-style-type: none;
    margin: 0;
    font-size: 15px;
}

.services-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    font-size: 15px;
}

.feature-box {
    -webkit-transition: box-shadow 0.25s;
    -moz-transition: box-shadow 0.25s;
    transition: box-shadow 0.25s;
    position: relative;
    padding: 20px 0 40px;
    background-color: white;
    text-align: center;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 30%;
    margin: 20px 0;
}

.feature-box:nth-child(1) {
    margin-right: auto;
}

.feature-box:nth-child(2) {
    margin: auto;
}

.feature-box:nth-child(3) {
    margin-left: auto;
}

.feature-box:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

.feature-box-icon {
    font-size: 72px;
    color: #1d8ae2;
}

.feature-box h2 {
    font-weight: 400;
    font-size: 24px;
    margin: 0;
    color: #253c4f;
}

.feature-box-row {
    display: flex;
}

.nav-pills-alt {
    font-size: 16px;
}

.nav-pills-alt .nav-item {
    margin-right: 5px;
}

.nav-pills-alt .nav-link {
    background-color: #e5e7e7;
    color: inherit;
    border-radius: 0;
    padding: 5px 8px;
}

.nav-pills-alt .nav-link.active,
.nav-pills-alt .nav-link:hover {
    background-color: #264154;
    color: #fff;
}

.nav-pills-alt .primary .nav-link {
    background-color: #e5e7e7;
    color: black;
}

.nav-pills-alt .primary .nav-link:hover {
    background-color: #264154;
    color: white;
}

.button-primary {
    background-color: #025aa5;
    color: #fff;
    border: none;
}

/*For "service-avtal page, have a potential check for later changes */
.button {
    background-color: #025aa5 !important;
    color: #fff;
    border: none;
    margin-bottom: 20px;
}

.btn-primary:hover {
    background-color: #04355f !important;
    color: white;
}

.btn-secondary:hover {
    background-color: #04355f !important;
    color: white;
}

/* This TODO ends here */
.button-primary:hover {
    background-color: #04355f;
    color: white;
}

.button-primary::after {
    background-color: #04355f;
}

.row-info {
    display: flex;
    justify-content: space-between;
}

.nav.nav-pills-alt {
    display: flex;
    list-style-type: none;
    margin: 0;
}

.nav-pills-alt .nav-item {
    display: flex;
}

.primary.nav-item {
    margin-left: auto;
}

.container-support {
    margin-bottom: 50px;
}

.form-summary {
    background-color: #fff;
    border-top: 1px solid #d5d5d5;
    padding: 20px 0;
}

.form-summary .form-summary-calc {
    display: inline-block;
    font-weight: 600;
    font-size: 20px;
}

.form-label {
    font-weight: 600;
}

.radio {
    margin-right: 15px;
}

.radio:last-child {
    margin-right: 0;
}

.text-center {
    text-align: center !important;
}

.form-extra-wrapper {
    margin-bottom: 15px;
    color: #888;
    font-size: 16px;
}

textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus {

    border-color: #04355f !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06), 0 0 5px rgba(2, 90, 165, 0.7) !important;
}


form hr {
    border-width: 4px;
    margin: 30px 0;
}

.fixed-bottom {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
}

.form-terms .form-data {
    width: 100%;
    height: 300px;
    overflow-y: scroll;
    font-size: 14px;
    border: 1px solid #ddd;
    padding: 15px;
}


/*For timline css only*/
/* Based on https://codepen.io/brady_wright/pen/NNOvrW */
.timeline-page body {
    color: #768390;
    background: #fff;
    font-family: "Effra", Helvetica, sans-serif;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

.timeline-page h1,
.timeline-page h2,
.timeline-page h3,
.timeline-page h4,
.timeline-page h5,
.timeline-page h6 {
    color: #3d4351;
    margin-top: 0;
}

.timeline-page .header {
    text-align: center;
}

.timeline-page .header .title,
.timeline-page .header .subtitle {
    margin: 0.35em 0;
    line-height: 1.2;
    overflow-wrap: break-word;
    overflow: visible;
    word-break: break-word;
    white-space: normal;
}

.timeline-page .header p {
    margin: 1em auto;
}

.timeline-page .header p:last-child {
    margin-bottom: 0;
}

.timeline-page figure {
    position: relative;
    overflow: hidden;
}

.timeline-page figure a {
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

.timeline-page figure img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    max-height: 200px;
}

.timeline-page figure figcaption p {
    margin: 0;
}

.timeline {
    list-style: none !important;
    margin: 0;
    padding: 0;
    width: 100%;
}

.timeline h1,
.timeline h2,
.timeline h3,
.timeline h4,
.timeline h5,
.timeline h6 {
    line-height: 1;
}

/* .timeline a,
.timeline a:link,
.timeline a:visited {
    color: black !important;
}

.timeline a:hover,
.timeline a:active {
    color: #262626 !important;
}

.timeline p a,
.timeline p a:link,
.timeline p a:visited {
    text-decoration: underline;
}

.timeline p a:hover,
.timeline p a:active {
    text-decoration: none;
} */

.timeline-item {
    padding-left: 40px !important;
    position: relative;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item figure {
    width: calc(50% - 30px);
}

.timeline-item .timeline-content {
    padding-bottom: 40px;
}

.timeline-item .timeline-content * {
    max-width: 100%;
}

.timeline-item .timeline-content p:last-child {
    margin-bottom: 0;
}

.timeline-item .timeline-content ol,
.timeline-item .timeline-content ul {
    list-style-position: inside;
}

.timeline-item .timeline-content .timeline-title {
    margin-top: 0px;
    overflow-wrap: break-word;
    overflow: visible;
    word-break: break-word;
    white-space: normal;
}

.timeline-item .timeline-content .footnotes ol li {
    text-align: left !important;
}

.timeline-item .timeline-content iframe {
    width: 640px;
    height: 360px;
}

.timeline-item.odd .timeline-content ul,
.timeline-item.odd .timeline-content ol {
    width: fit-content;
    margin-left: auto;
    text-align: left;
}

.timeline-item.odd figure {
    width: calc(50% - 36px);
    margin-right: calc(50% - 24px);
    text-align: right;
}

.timeline-item.even .timeline-content ul,
.timeline-item.even .timeline-content ol {
    width: fit-content;
    margin-right: auto;
    text-align: right;
}

.timeline-item.even figure {
    width: calc(50% - 12px);
    margin-left: calc(50% + 12px);
    text-align: left;
}

.timeline-item.period {
    padding: 0;
}

.timeline-item.period .timeline-info {
    display: none;
}

.timeline-item.period .timeline-marker:before {
    background: transparent;
    content: "";
    width: 15px;
    height: auto;
    border: none;
    border-radius: 0;
    top: 0;
    bottom: 30px;
    position: absolute;
    border-top: 3px solid #ccd5db;
    border-bottom: 3px solid #ccd5db;
}

.timeline-item.period .timeline-marker:after {
    content: "";
    height: 32px;
    top: auto;
}

.timeline-item.period .timeline-content {
    padding: 40px 0 70px;
}

.timeline-info {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin: 0 0 0.5em 0;
    text-transform: uppercase;
    white-space: nowrap;
}

.timeline-info .timeline-content {
    padding-bottom: 40px;
}

.timeline-info .timeline-content p:last-child {
    margin-bottom: 0;
}

.timeline-info .timeline-content * {
    max-width: 100%;
}

.timeline-info.odd .timeline-content ul,
.timeline-info.odd .timeline-content ol {
    width: fit-content;
    margin-left: auto;
    text-align: left;
}

.timeline-info.odd figure {
    margin-right: 50%;
    text-align: right;
}

.timeline-info.even .timeline-content ul,
.timeline-info.even .timeline-content ol {
    width: fit-content;
    margin-right: auto;
    text-align: right;
}

.timeline-info.even figure {
    margin-left: calc(50% + 30px);
    text-align: left;
}

.timeline-info.period {
    padding: 0;
}

.timeline-info.period .timeline-info {
    display: none;
}

.timeline-info.period .timeline-marker:before {
    background: transparent;
    content: "";
    width: 15px;
    height: auto;
    border: none;
    border-radius: 0;
    top: 0;
    bottom: 30px;
    position: absolute;
    border-top: 3px solid #ccd5db;
    border-bottom: 3px solid #ccd5db;
}

.timeline-info.period .timeline-marker:after {
    content: "";
    height: 32px;
    top: auto;
}

.timeline-info.period .timeline-content {
    padding: 40px 0 70px;
}

.timeline-info figure {
    position: relative;
    width: calc(50% - 30px);
    height: 200px;
    max-height: 200px;
    min-height: 200px;
    overflow: hidden;
}

.timeline-info figure a {
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

.timeline-info figure img {
    bottom: 0;
    height: 100%;
    left: 0;
    object-fit: cover;
    object-position: center;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

.timeline-marker {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 15px;
}

.timeline-marker:before {
    background: #ff6b6b;
    border: 3px solid transparent;
    border-radius: 100%;
    content: "";
    display: block;
    height: 15px;
    position: absolute;
    top: 4px;
    left: 0;
    width: 15px;
    transition: background 0.3s ease-in-out, border 0.3s ease-in-out;
}

.timeline-marker:after {
    content: "";
    width: 3px;
    background: #ccd5db;
    display: block;
    position: absolute;
    top: 24px;
    bottom: 0;
    left: 6px;
}

.timeline-item:last-child .timeline-marker:after {
    content: none;
}

.timeline-centered .marker-outline .timeline-marker:before {
    background: transparent;
    border-color: #ff6b6b;
}

.timeline-centered .marker-outline .timeline-item:hover .timeline-marker:before {
    background: #ff6b6b;
}

@media (min-width: 992px) {

    .timeline-centered .timeline-item,
    .timeline-centered .timeline-info,
    .timeline-centered .timeline-marker,
    .timeline-centered .timeline-content {
        display: block;
        margin: 0;
        padding: 0;
    }

    .timeline-centered .timeline-item {
        padding-bottom: 40px;
        overflow: hidden;
    }

    .timeline-centered .timeline-marker {
        position: absolute;
        left: 50%;
    }

    .timeline-centered .timeline-info,
    .timeline-centered .timeline-content {
        width: 50%;
    }

    .timeline-centered>.timeline-item.odd .timeline-info {
        float: right;
        text-align: left;
        padding-left: 30px;
    }

    .timeline-centered>.timeline-item.odd .timeline-content {
        float: left;
        text-align: right;
        padding-right: 36px;
    }

    .timeline-centered>.timeline-item.even .timeline-info {
        float: left;
        text-align: right;
        padding-right: 30px;
    }

    .timeline-centered>.timeline-item.even .timeline-content {
        float: right;
        text-align: left;
        padding-left: 12px;
    }

    .timeline-centered>.timeline-item.period .timeline-content {
        float: none;
        padding: 0;
        width: 100%;
        text-align: center;
    }

    .timeline-centered .timeline-item.period {
        padding: 3em 0 5em;
    }

    .timeline-centered .period .timeline-marker:after {
        height: 30px;
        bottom: 0;
        top: auto;
    }

    .timeline-centered .period .timeline-title {
        left: auto;
    }
}


@media (max-width: 992px) {
    .timeline-centered .timeline-item {
        display: list-item;
    }

    .timeline-centered .timeline-item .timeline-info {
        padding-right: 0;
    }

    .timeline-centered .timeline-item .timeline-marker {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 15px;
    }

    .timeline-centered .timeline-item.odd figure,
    .timeline-centered .timeline-item.even figure {
        width: 100%;
        margin-left: 0;
    }
}

/* Print-style: Pure text */
@media print {
    @page {
        margin: 2cm 1cm;
    }

    html {
        font-size: 16px;
    }

    body {
        font-size: 1em;
        font-weight: 400;
        line-height: 1.45;
    }

    body h1,
    body h2,
    body h3,
    body h4 {
        margin: 0.35em 0;
        font-weight: inherit;
        line-height: 1.2;
    }

    body h1 {
        margin-top: 0;
        font-size: 2.44141em;
    }

    body h2 {
        font-size: 1.95313em;
    }

    body h3 {
        font-size: 1.5625em;
    }

    body h4 {
        font-size: 1.25em;
    }

    body h5,
    body h6,
    body .timeline-info {
        margin: 0.35em 0 0.125em;
        font-weight: inherit;
        font-size: 1em;
        line-height: 1;
    }

    body p {
        margin-bottom: 1.3em;
    }

    a.footnote-ref::after {
        content: "" !important;
    }

    a[rev="footnote"] {
        display: none !important;
    }

    iframe {
        display: none !important;
    }

    .header,
    .timeline-wrapper {
        width: 95% !important;
        max-width: 95% !important;
        flex: 0 0 95% !important;
        margin: 0 auto !important;
    }

    .timeline .timeline-item {
        margin: 2.44141em 0;
        padding: 0 !important;
        text-align: left !important;
    }

    .timeline .timeline-item.odd .timeline-marker,
    .timeline .timeline-item.even .timeline-marker,
    .timeline .timeline-item.period .timeline-marker {
        display: none !important;
    }

    .timeline .timeline-item.odd .timeline-info,
    .timeline .timeline-item.even .timeline-info,
    .timeline .timeline-item.period .timeline-info {
        display: block;
        width: 15%;
        float: right !important;
        margin-top: 0.6em !important;
        padding: 0 !important;
        text-align: right !important;
    }

    .timeline .timeline-item.odd .timeline-info span,
    .timeline .timeline-item.even .timeline-info span,
    .timeline .timeline-item.period .timeline-info span {
        display: block;
        width: 100%;
        overflow-wrap: break-word;
        overflow: visible;
        word-break: break-word;
        white-space: normal;
        line-height: 1.4;
    }

    .timeline .timeline-item.odd .timeline-content,
    .timeline .timeline-item.even .timeline-content,
    .timeline .timeline-item.period .timeline-content {
        display: block;
        width: 85%;
        padding: 0 !important;
        text-align: left !important;
    }

    .timeline .timeline-item.odd .timeline-content a,
    .timeline .timeline-item.even .timeline-content a,
    .timeline .timeline-item.period .timeline-content a {
        text-decoration: none !important;
    }

    .timeline .timeline-item.odd .timeline-content h2,
    .timeline .timeline-item.odd .timeline-content h3,
    .timeline .timeline-item.odd .timeline-content h4,
    .timeline .timeline-item.even .timeline-content h2,
    .timeline .timeline-item.even .timeline-content h3,
    .timeline .timeline-item.even .timeline-content h4,
    .timeline .timeline-item.period .timeline-content h2,
    .timeline .timeline-item.period .timeline-content h3,
    .timeline .timeline-item.period .timeline-content h4 {
        text-align: left;
    }

    .timeline .timeline-item.odd .timeline-content ul,
    .timeline .timeline-item.odd .timeline-content ol,
    .timeline .timeline-item.even .timeline-content ul,
    .timeline .timeline-item.even .timeline-content ol,
    .timeline .timeline-item.period .timeline-content ul,
    .timeline .timeline-item.period .timeline-content ol {
        width: 100% !important;
        margin: 0 !important;
        text-align: left !important;
    }

    .timeline .timeline-item.odd .timeline-content p a:after,
    .timeline .timeline-item.even .timeline-content p a:after,
    .timeline .timeline-item.period .timeline-content p a:after {
        content: " (" attr(href) ") ";
    }

    .timeline .timeline-item.odd figure[itemprop="image"],
    .timeline .timeline-item.even figure[itemprop="image"],
    .timeline .timeline-item.period figure[itemprop="image"] {
        margin: 0 !important;
        display: none !important;
    }

    .timeline .timeline-item.odd,
    .timeline .timeline-item.even {
        margin-left: 1em !important;
    }

    .timeline .timeline-item.period {
        margin: 1em 0 !important;
    }
}

/* Print-style: Including graphics */
@media print {
    .print.timeline-wrapper .timeline .timeline-item {
        margin: 2.44141em 0;
        padding: 0 !important;
        text-align: left !important;
    }

    .print.timeline-wrapper .timeline .timeline-item.odd .timeline-marker,
    .print.timeline-wrapper .timeline .timeline-item.even .timeline-marker,
    .print.timeline-wrapper .timeline .timeline-item.period .timeline-marker {
        display: block !important;
    }

    .print.timeline-wrapper .timeline .timeline-item.odd .timeline-info,
    .print.timeline-wrapper .timeline .timeline-item.even .timeline-info,
    .print.timeline-wrapper .timeline .timeline-item.period .timeline-info {
        display: block;
        width: 15%;
        float: none !important;
        margin-top: 0 !important;
        padding-left: 30px !important;
        text-align: left !important;
    }

    .print.timeline-wrapper .timeline .timeline-item.odd .timeline-content,
    .print.timeline-wrapper .timeline .timeline-item.even .timeline-content,
    .print.timeline-wrapper .timeline .timeline-item.period .timeline-content {
        width: calc(100% - 30px);
        padding-left: 30px !important;
    }

    .print.timeline-wrapper .timeline .timeline-item.odd figure[itemprop="image"],
    .print.timeline-wrapper .timeline .timeline-item.even figure[itemprop="image"],
    .print.timeline-wrapper .timeline .timeline-item.period figure[itemprop="image"] {
        display: block !important;
        width: calc(100% - 30px);
        margin-left: 30px !important;
    }

    .print.timeline-wrapper .timeline .timeline-item.period .timeline-marker {
        display: none !important;
    }

    .no-print,
    .no-print * {
        display: none !important;
    }
}

/*# sourceMappingURL=timeline.css.map */