﻿#history-main-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-size: 40px;
    /*    text-shadow: 0px 0px 3px rgba(0,0,0,1);*/
    text-shadow: -1px 0 0 rgba(0, 0, 0, 0.1), 1px 0 0 rgba(0, 0, 0, 0.1), 0 -1px 0 rgba(0, 0, 0, 0.1), 0 1px 0 rgba(0, 0, 0, 0.1), -1px -1px 0 rgba(0, 0, 0, 0.1), 1px -1px 0 rgba(0, 0, 0, 0.1), -1px 1px 0 rgba(0, 0, 0, 0.1), 1px 1px 0 rgba(0, 0, 0, 0.1);
}

.first-letter {
    font-size: 80px;
    line-height: 65px;
}

p{
    line-height:1.8;
}

.paragraph-xl {
    font-size: 18px;
    line-height: 1.8;
    color: #505050;
}

.history-item-description{
    font-size:18px;
    text-align:justify;
    text-justify: inter-word !important;
    hyphens:none !important;
    color:#505050;
}

@media( min-width: 768px ){
    #history-main-title {
        font-size: 100px;
    }
}

@media( min-width: 991px ) {

    .history-item-description {
        font-size: 16px;
    }

    .swiper-title-facade {
        font-size: 30px;
    }

    .swiper-title-facade-date {
        font-size: 30px;
    }

    .first-letter {
        font-size: 80px;
        line-height: 60px;
    }

}

img {
    vertical-align: middle;
    max-width: 100%;
    display: inline-block;
}

h2 {
    color: #232323;
    font-size: 50px;
}

.inline-block {
    max-width: 100%;
    display: inline-block;
}

.page-wrapper {
    z-index: 0;
    position: relative;
    padding-left: 0px;
}

.container-timeline {
    width: 90vw;
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
}

.margin-bottom-medium {
    margin-bottom: 32px;
}

.paragraph-large {
    letter-spacing: -0.02em;
    font-size: 18px;
}

.section-timeline-heading {
    background-color: white;
}

.padding-vertical-xlarge {
    padding-top: 120px;
    padding-bottom: 120px;
}

.timeline-main_heading-wrapper {
    color: #232323;
    text-align: justify;
    margin-left: auto;
    margin-right: auto;
}

.timeline_component {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    position: relative;
}

.timeline_item {
    z-index: 2;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    grid-template-rows: auto;
    grid-template-columns: 1fr 180px 1fr;
    grid-auto-columns: 1fr;
    padding-top: 80px;
    padding-bottom: 80px;
    display: grid;
    position: relative;
}

.timeline_left {
    text-align: right;
    justify-content: flex-end;
    align-items: stretch;
}

.timeline_centre {
    justify-content: center;
    display: flex;
}

.timeline_date-text {
    color: #232323;
    letter-spacing: -0.03em;
    font-size: 48px;
    font-weight: 500;
    line-height: 1.2;
    position: sticky;
    top: 50vh;
}

.timeline_text {
    color: #232323;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
}

.timeline_circle {
    background-color: black;
    border-radius: 100%;
    width: 15px;
    min-width: 15px;
    max-width: 15px;
    height: 15px;
    min-height: 15px;
    max-height: 15px;
    position: sticky;
    top: 50vh;
    box-shadow: 0 0 0 8px #0a0a0a;
}

.timeline_progress {
    z-index: -2;
    background-color: black;
    width: 3px;
    height: 100%;
    position: absolute;
}

/* timeline_progress-bar için position fixed'dan absolute'a çekildi. Sorun yaşarsan geri al. */
.timeline_progress-bar {
    z-index: -1;
    background: white;
    background: -webkit-linear-gradient( to bottom, white, gray );
    background: linear-gradient( to bottom, white, gray );
    width: 3px;
    height: 50vh;
    position: fixed;
    inset: 0 auto 50vh;
}

.section-timeline {
    z-index: -3;
    background-color: white;
    position: relative;
}

.margin-bottom-xlarge {
    margin-bottom: 56px;
}

.timeline_link {
    opacity: 0.6;
    color: #232323;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-radius: 8px;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    transition: opacity 0.3s;
    display: block;
}

    .timeline_link:hover {
        opacity: 1;
    }

.link-icon {
    width: 20px;
    height: 20px;
    margin-left: 8px;
}

.inline-block {
    display: inline-block;
}

.text-colour-lightgrey {
    color: #232323;
}

.overlay-fade-bottom {
    background-image: linear-gradient( to top, #ffffff, #ffffff00 );
    height: 80px;
    position: absolute;
    inset: auto 0% 0%;
}

/* 2., 4., 6. ... timeline item'ları (yani 2. itemden itibaren) karşı tarafa al */
.timeline_component .timeline_item:nth-child(2n + 3) {
    position: relative;
}

    /* içerik normalde sağ kolonda (3. kolon) duruyor.
    biz onu görünüşte sola alıyoruz ama grid yerini değiştirmiyoruz */
    .timeline_component .timeline_item:nth-child(2n + 3) .timeline_right {
        position: relative;
        left: calc(-100% - 180px); /* kendi genişliği + orta kolon genişliği kadar sola kaydır */
        text-align: left;
    }

    /* tarih normalde sol kolonda (1. kolon) duruyor.
    bunu da görünüşte sağa alıyoruz */
    .timeline_component .timeline_item:nth-child(2n + 3) .timeline_left {
        position: relative;
        left: calc(100% + 180px); /* karşı tarafa kaydır */
        text-align: left;
    }

@media screen and ( max-width: 767px ) {
    h2 {
        font-size: 18px;
    }

    .paragraph-large {
/*        font-size: 18px;*/
    }

    .padding-vertical-xlarge {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .timeline_item {
        grid-template-columns: 64px 1fr;
        width: 100%;
    }

    .timeline_left {
        text-align: left;
        grid-area: 1 / 2 / 2 / 3;
    }

    .timeline_centre {
        justify-content: flex-start;
        grid-area: 1 / 1 / 3 / 2;
    }

    .timeline_right {
        grid-area: span 1 / span 1 / span 1 / span 1;
    }

    .timeline_date-text {
        margin-bottom: 24px;
        font-size: 36px;
    }

    .timeline_text {
        font-size: 20px;
    }

    .timeline_progress {
        left: 6px;
    }

    .margin-bottom-xlarge {
        margin-bottom: 48px;
    }

    .timeline_component .timeline_item:nth-child(2n + 3) .timeline_right,
    .timeline_component .timeline_item:nth-child(2n + 3) .timeline_left {
        position: static;
        left: auto;
        text-align: left;
    }
}

/* overlay içindeki owl okları beyaz olsun */
.owl-nav button.owl-prev,
.owl-nav button.owl-next {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(35,35,35,0.8) !important;
    color: #fff;
    border: 0;
    width: 44px;
    height: 44px;
    font-size: 28px;
}

    .owl-nav button.owl-prev:hover,
    .owl-nav button.owl-next:hover {
        background: white !important;
    }

    .owl-nav button.owl-prev:hover svg,
    .owl-nav button.owl-next:hover svg {
        fill: #232323;
    }

.owl-nav button.owl-prev {
    left: 0px;
}

.owl-nav button.owl-next {
    right: 0px;
}

/* Grid item’ların içindeki carousel küçülebilsin, taşmasın */
.timeline_item > * {
    min-width: 0;
}

/* Owl’ı koyacağın sarmalayıcı: genişlik %100 ve taşanı kes */
.timeline_image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden; /* taşıma görüntüsünü keser */
    position: relative; /* nav okları bunun içinde kalsın */
}

/* Owl her zaman wrapper kadar olsun */
.timeline_image-wrapper .owl-carousel {
    width: 100%;
    max-width: 100%;
    position:relative;
}

.owl-dots{
    position:absolute;
    bottom:0;
    left:0px;
    text-align:center;
    z-index:10;
    width:100%;
    background: linear-gradient(to top, rgba(0,0,0,.5) 0%, rgba(0,0,0,0.1) 70%, rgba(0,0,0,0) 100%);
}

.owl-dots .owl-dot {
    display: inline-block;
}

.owl-dots .owl-dot span{
  width:10px;
  height:10px;
  margin:0 6px;
  background:#fff;          /* noktanın rengi */
  border-radius:50%;
  display:block;
  opacity:.5;
}

.owl-dots .owl-dot.active span{
  opacity:1;
}

.history-1-owl .item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media( min-width: 991px ){
.history-item-description{
    font-size: 16px;
}

@media( min-width: 1199px ){
    .history-item-description{
        font-size: 17px;
    }
}

@media( min-width: 1440px ){
    .history-item-description{
        font-size: 18px;
    }
}

@media( min-width: 1800px ) {
    .swiper-title-facade {
/*        font-size: 25px;*/
        word-break: break-word;
    }

    .timeline_date-text {
        padding-right: 58px;
    }

    .history-item-description {
/*        font-size:21px;*/
    }

    .paragraph-xl {
        
/*        line-height: 1.6;*/
    }

    .timeline_component {
        max-width: 1180px;
    }

    .container-timeline {
        max-width: 1180px;
    }
}


@media( min-width: 2300px ){
    .swiper-title-facade{
/*        font-size:31px;*/
        word-break:break-word;
    }

    .timeline_date-text{
        padding-right:58px;
    }

    .timeline_component{
        max-width:1200px;
    }

    .container-timeline{
        max-width:1200px;
    }

}

h5{
    line-height:1.5;
}

.history-item-description{
    font-weight:400;
    text-align: justify;
    text-justify:inter-word;
    hyphens:auto;
/*    line-height:1.6;*/
}