:root {
    --red: #c00c22;
    --yellow: #feac0a;
    --antrasit: #2b2b2b;
    --icon1: #00c452;
    --icon2:
    var(--yellow);
    --icon3: #0069c4;
    --icon4:
    var(--red);
}

.navbar .navbar-nav .nav-item {
    transition: none !important;
}

.navbar .navbar-nav .nav-item:hover {
    background-color: transparent !important;
    border-top: none !important;
    border-bottom: 2px solid var(--red);
}

.navbar .navbar-nav .nav-item:hover a {
    color: var(--red) !important;
}

.navbar .navbar-nav .nav-item:hover .dropdown-menu a {
    color: white !important;
}

.navbar .navbar-nav .nav-item:hover .dropdown-menu a:hover {
    background-color: var(--red) !important;
}

.navbar .navbar-nav .nav-item.dropdown:hover {
    border: none !important;
}

.menu-state-changer {
    font-size: 1.5rem;
    color: white;
    background-color: transparent;
}

.navbar.sticky-top .menu-state-changer {
    color: #212121;
}

.menu-state-changer:hover {
    color: var(--red);
}

.menu-state-changer+form input {
    border-radius: 0;
    border: none;
}

.navbar-search {
    background-color: rgba(0, 0, 0, 0.4);
    position: absolute;
    right: 0;
    top: 0;
    display: none;
    align-items: center;
    padding: 25px 30px;
}

.navbar.sticky-top .navbar-search {
    padding: 5px 20px;
}

.navbar-search input {
    height: 60px;
}

.navbar-search button {
    background-color: transparent;
    font-size: 2rem;
    color: white;
}

.navbar-search button:hover {
    color: var(--red);
}

.navbar-search .menu-state-close {
    margin-left: 2rem;
    color: #fff!important;
}

.menu-state-close {
    cursor: pointer;
}

.content-wrapper {
    top: 0;
    width: 100%;
}

.allCarousel {
    height: 500px;
}

.allCarousel .carousel-inner,
.allCarousel .carousel-inner .carousel-item,
.allCarousel .carousel-inner .carousel-item img {
    height: 100%;
}

.allCarousel .carousel-inner .carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    display: block;
    background-color: rgba(0, 0, 0, 0.4);
}

.allCarousel .carousel-inner .carousel-item img {
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.allCarousel .allCarousel-caption {
    position: absolute;
    z-index: 2;
    bottom: 20%;
    color: var(--yellow);

    padding: 0 2rem 0 6rem;
}

.allCarousel .allCarousel-caption p {
    color: white;
    font-weight: 200;
}

.allCarousel .allCarousel-bullets {
    height: 100%;
    position: absolute;
    left: 2rem;
    z-index: 2;
}

.allCarousel .allCarousel-bullets .bullets-inner-wrapper {
    position: absolute;
    left: -7px;
    z-index: 1;
    bottom: 40%;
}

.allCarousel .allCarousel-bullets::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
}

.allCarousel .allCarousel-bullets .bullet {
    width: 13px;
    height: 13px;
    background-color: var(--yellow);
    border: 2px solid white;
    border-radius: 100%;
    margin: 2rem 0;
    margin-left: 1px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.allCarousel .allCarousel-bullets .bullet.active {
    width: 17px;
    height: 17px;
    margin-left: -1px;
    background-color: white;
    border-color: var(--yellow);
}

.btn-custom {
    color: white;
    background: var(--red);
    padding: 1rem;
    position: relative;
    display: inline-block;
}

.btn-custom-sm {
    font-size: 0.8rem;
    padding: 0.6rem;
}

.btn-custom:not(.btn-hover-disabled)::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background-color: #feac0a;
    transition: all 0.2s ease-in-out;
    /* transform: skewY(3deg); */
}

.btn-custom.btn-hover-disabled {
    transition: all 0.2s ease-in-out;
}

.btn-custom.btn-hover-disabled:hover {
    background-color: var(--yellow);
}

.btn-custom:hover {
    color: white;
    text-decoration: none;
}

.btn-custom .btn-text {
    position: relative;
    z-index: 2;
}

.btn-custom:hover::after {
    height: 100%;
    transform: skewY(0deg);
}

.btn-custom-2 {
    background-color: white;
    color: var(--red);
}

.btn-custom-2::after {
    border: 2px solid white;
    background-color: var(--red);
    transform: unset;
}

.layout-4 {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.layout-4-item {
    /* text-align: center; */
    display: inline-flex;
    /* flex-direction: column; */
    align-items: center;
    gap: 1rem;
    font-weight: bold;
    cursor: default;
}

.layout-4-icon-wrapper {
    /* height: 100px; */
    display: flex;
    justify-content: center;
    align-items: start;
}

.layout-4-icon {
    font-size: 2rem;
    border: 4px solid;
    padding: 1rem;
    border-radius: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    aspect-ratio: 1;
    height: 80px;
}

.layout-4-item .layout-4-icon[icon="1"] {
    color: var(--icon1);
    border-color: var(--icon1);
}

.layout-4-item .layout-4-icon[icon="2"] {
    color: var(--icon2);
    border-color: var(--icon2);
}

 .layout-4-item .layout-4-icon[icon="3"] {
    color: var(--icon3);
    border-color: var(--icon3);
}

.layout-4-item .layout-4-icon[icon="4"] {
    color: var(--icon4);
    border-color: var(--icon4);
}

.layout-4-item:hover,
.layout-4-item:hover .layout-4-icon {
    /* color: var(--red); */
    /* border-color: var(--red); */
}

.section-heading .heading-title {
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-heading .heading-title::after {
    content: "";
    position: absolute;
    bottom: -7px;
    left: -7px;
    width: 50%;
    height: 3px;
    background-color: var(--red);
}

.content-wrapper section:not(:first-of-type) {
    margin: 60px 0;
}

section.textarea-layout-1 {
    background: linear-gradient(90deg, #c70728,#f27405, #fdb009);
    padding: 40px;
    color: white;
    min-height: 500px;
}

section.textarea-layout-1 .textarea-layout-1-title {
    font-size: 30px;
    padding-bottom: 20px;
    display: inline-block;
    text-transform: uppercase;
}

section.textarea-layout-1 .textarea-layout-1-title::after {
    content: "";
    display: block;
    width: 150px;
    height: 2px;
    background-color: white;
    margin-top: 5px;
}

section.textarea-layout-1 .textarea-layout-1-subtitle {
    font-size: 1rem;
    font-weight: 200;
    margin-bottom: 2rem;
    color: #ffd9d9;
}

section.textarea-layout-1 .textarea-layout-1-description {
    /* font-size: 0.8rem; */
    font-weight: 300;
    /* letter-spacing: 0.1rem; */
}

.textarea-layout-1 .textarea-layout-1-person {
    min-height: 500px;
    position: relative;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.textarea-layout-1 .textarea-layout-1-person:before {content: '';position: absolute;left: 0;top: 0;width: 30%;height: 100%;/* background: linear-gradient(90deg, #da3522, #fdb00900); */}

.textarea-layout-1 .textarea-layout-1-person:after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 30%;
    height: 100%;
    /* background: linear-gradient(90deg, #ffffff00, #eb6312); */
}



.textarea-layout-1 .textarea-layout-1-person img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sosyal-medya {
    position: fixed;
    right: 0;
    top: 20%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    background-color: white;
    box-shadow: -1px 0px 5px rgba(219, 219, 219, 0.5);
}

.sosyal-medya .sosyal-medya-ikon {
    width: 40px;
    height: 40px;
    background-color: white;
    color: var(--antrasit);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease-in-out;
}

.sosyal-medya .sosyal-medya-ikon:hover {
    background-color: var(--red);
    color: white;
    padding-right: 0.5rem;
    text-decoration: none;
}

.textarea-layout-2 .layout-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--red);
    position: relative;
    display: inline-block;
}

.textarea-layout-2 .layout-text {
    font-size: 0.8rem;
    font-weight: 400;
    color: #9d9d9d;
}

.textarea-layout-2 .textarea-layout-2-title {
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
}

.textarea-layout-2 .textarea-layout-2-title::after {
    content: "";
    position: absolute;
    bottom: -7px;
    left: -7px;
    width: 50%;
    height: 3px;
    background-color: var(--red);
}

.textarea-layout-2 .textarea-layout-2-image {
    height: 450px;
}

.textarea-layout-2 .textarea-layout-2-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.kartlar .kart {
    color: var(--antrasit);
}

.kartlar .kart .card-body {
    padding: 0;
    padding-top: 1rem;
}

.kartlar .kart:hover {
    color: var(--red);
    text-decoration: none;
}

.kartlar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.kartlar .kart .card-title {
    font-weight: 500;
}

.kartlar .kart .card-text {
    font-size: 0.8rem;
    color: #aaa;
    font-weight: 300;
}

.kartlar .card-footer {
    background-color: white;
    display: flex;
    justify-content: end;
    align-items: center;
    border: none;
}

.kartlar .slick-slide {
    margin: 0 20px;
}

.kartlar .slick-slide:first-child {
    margin-left: 0;
}

.kartlar .slick-dots {
    text-align: left;
}

.kartlar .slick-dots .slick-active button::before {
    color: var(--red);
    font-size: 1rem;
}

.custom-divider {
    opacity: 0.75;
}

footer .footer-logo img {
    max-width: 170px;
}

footer .footer-layout-title {
    font-size: 1.2rem;
}

footer .footer-layout-title {
    color: var(--red);
}

footer .footer-layout-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

footer .footer-layout-list a {
    color: #aeaeae;
    font-size: 0.8rem;
    font-weight: 600;
}

footer .footer-layout-list a:hover {
    text-decoration: none;
    color: var(--red);
}

footer .footer-layout-list .list-text {
    transition: all 0.2s ease-in-out;
}

footer .footer-layout-list li a i {
    margin-right: 0.5rem;
}

footer .footer-layout-list li a:hover>.list-text {
    padding: 0.5rem;
}

.footer-copyright .copyright {
    font-size: 0.8rem;
}

.navbar-dark {
    background-color: #2b2b2b !important;
}

.iletisim-outer-wrapper {
    display: flex;
    align-items: center;
    height: 100%;
}

.iletisim-container {
    background-color: white;
    padding: 2rem;
    position: relative;
}

.iletisim .red-bg {
    width: 25%;
    height: 100%;
    background-color: var(--red);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}

.iletisim .iletisim-title {
    font-size: 20px;
    /* color: var(--yellow); */
    font-weight: 700;
}

.iletisim .iletisim-list {
    list-style: none;
    padding: 0;
    gap: 15px;
    display: flex;
    flex-direction: column;
}

.iletisim .iletisim-list li:hover {
    color: var(--red);
}

.iletisim .iletisim-title i,
.iletisim .iletisim-list li i {
    margin-right: 0.5rem;
}

.iletisim .iletisim-harita iframe {
    width: 100%;
    height: 300px;
}

.navbar-dark .navbar-toggler {
    color: white !important;
}

.py-40 {
    padding-top: 40px;
    padding-bottom: 40px;
}

.media-project-hover {
    color: white;
}

.media-project-hover .media__body {
    height: 200px;
}

.media-project-hover .my-slide-link {
    font-size: 30px;
    font-weight: bold;
}

@media (min-width: 992px) {
    .allCarousel .allCarousel-caption {
        max-width: 50%;
    }
}

@media (max-width: 991.98px) {
    .navbar {
        /* background-color: rgba(0, 0, 0, 0.8) !important; */
    }

    .navbar-toggler {
        font-size: 1.5rem !important;
        color: #212121;
        display: flex;
        justify-content: center;
        align-items: center !important;
    }

    .navbar-toggler:focus {
        box-shadow: none !important;
    }

    .navbar-toggler:hover {
        color: var(--red);
    }

    .navbar-toggler-icon-c {
        width: unset !important;
        height: unset !important;
    }

    .navbar-toggler-icon-c.active {
        background-image: none !important;
    }

    .navbar-collapse.collapse.show {
        background-color: rgba(0, 0, 0, 0.9);
    }

    .navbar-collapse {
        width: auto;
        padding: 2rem;
    }

    .navbar-nav {
        padding: 0;
        height: auto;
    }

    .allCarousel .allCarousel-caption {
        max-width: 80%;
        bottom: 5%;
    }

    .media-project-hover .media__title a {
        font-size: 22px !important;
    }

    .media-project-hover .media__title a {
        color: rgba(255, 255, 255, 0.7) !important;
    }
}

@media (max-width: 767.98px) {
    .navbar-search {
        background-color: black;
    }

    .mobile-list {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        position: absolute;
        top: -121px;
    }

    .mobile-list .list-item {
        position: relative;
        transition: all 0.2s ease-in-out;
        width: 100%;
        height: 95px;
        color: white;
        font-size: 24px;
        font-weight: 600;
        text-align: right;
        padding-right: 20px;
        padding-top: 20px;
    }

    .mobile-list .list-item .link-text {
        position: absolute;
        z-index: 1;
        bottom: 10px;
        font-size: 2rem;
        font-weight: 400;
        color: white;
        padding-left: 1rem;
        transition: all 0.2s ease-in-out;
    }

    .mobile-list .list-item:hover .link-text {
        color: var(--red);
    }

    .mobile-list .list-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .mobile-list .list-item::after {
        content: "";
        position: absolute;
        inset: 0;
        display: block;
        background-color: rgba(0, 0, 0, 0.4);
        transition: all 0.2s ease-in-out;
    }

    .mobile-list .list-item:hover::after {
        background-color: rgba(0, 0, 0, 0.2);
    }

    .textarea-layout-1-person {
        height: 200px !important;
        min-height: 300px!important;
    }
}


/* ================ The Timeline ================ */

.timeline {
    position: relative;
    width: 660px;
    margin: 0 auto;
    margin-top: 20px;
    padding: 1em 0;
    list-style-type: none;
}

.timeline:before {
    position: absolute;
    left: 50%;
    top: 0;
    content: ' ';
    display: block;
    width: 6px;
    height: 100%;
    margin-left: -3px;
    background: rgb(80,80,80);
    background: -moz-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(30,87,153,1)), color-stop(100%,rgba(125,185,232,1)));
    background: -webkit-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
    background: -o-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
    background: -ms-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
    background: linear-gradient(to bottom, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
    z-index: 5;
}

.timeline li {
    padding: 1em 0;
}

.timeline li:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.direction-l {
    position: relative;
    width: 300px;
    float: left;
    text-align: right;
}

.direction-r {
    position: relative;
    width: 300px;
    float: right;
}

.flag-wrapper {
    position: relative;
    display: inline-block;

    text-align: center;
}

.flag {
    position: relative;
    display: inline-block;
    background: rgb(248,248,248);
    padding: 6px 10px;
    border-radius: 5px;
    font-weight: 600;
    /* white-space: nowrap; */
    text-align: left;
    /* text-overflow: ellipsis; */
    /* overflow: hidden; */
    max-width: 250px;
}

.direction-l .flag {
    -webkit-box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
    -moz-box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
    box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}

.direction-r .flag {
    -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
    -moz-box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
    box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}

.direction-l .flag:before,
.direction-r .flag:before {
    position: absolute;
    top: 50%;
    right: -36px;
    content: ' ';
    display: block;
    width: 12px;
    height: 12px;
    margin-top: -10px;
    background: #fff;
    border-radius: 10px;
    border: 4px solid var(--red);
    z-index: 10;
}

.direction-r .flag:before {
    left: -36px;
}

.direction-l .flag:after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    height: 0;
    width: 0;
    margin-top: -8px;
    border: solid transparent;
    border-left-color: rgb(248,248,248);
    border-width: 8px;
    pointer-events: none;
}

.direction-r .flag:after {
    content: "";
    position: absolute;
    right: 100%;
    top: 50%;
    height: 0;
    width: 0;
    margin-top: -8px;
    border: solid transparent;
    border-right-color: rgb(248,248,248);
    border-width: 8px;
    pointer-events: none;
}

.time-wrapper {
    display: inline;
    line-height: 1em;
    font-size: 14px;
    color: var(--orange);
    vertical-align: middle;
}

.direction-l .time-wrapper {
    float: left;
}

.direction-r .time-wrapper {
    float: right;
}

.time {
    display: inline-block;
    padding: 4px 6px;
    background: rgb(248,248,248);
}

.desc {
    margin: 1em 0.75em 0 0;

    font-size: 0.77777em;
    font-style: italic;
    line-height: 1.5em;
}

.direction-r .desc {
    margin: 1em 0 0 0.75em;
}

/* ================ Timeline Media Queries ================ */

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

    .timeline {
        width: 100%;
        padding: 4em 0 1em 0;
    }

    .timeline li {
        padding: 2em 0;
    }

    .direction-l,
    .direction-r {
        float: none;
        width: 100%;

        text-align: center;
    }

    .flag-wrapper {
        text-align: center;
    }

    .flag {
        background: rgb(255,255,255);
        z-index: 15;
    }

    .direction-l .flag:before,
    .direction-r .flag:before {
        position: absolute;
        top: -30px;
        left: 50%;
        content: ' ';
        display: block;
        width: 12px;
        height: 12px;
        margin-left: -6px;
        background: #fff;
        border-radius: 10px;
        border: 4px solid rgb(255,80,80);
        z-index: 10;
    }

    .direction-l .flag:after,
    .direction-r .flag:after {
        content: "";
        position: absolute;
        left: 50%;
        top: -7px;
        height: 0;
        width: 0;
        margin-left: -8px;
        border: solid transparent;
        border-bottom-color: rgb(255,255,255);
        border-width: 8px;
        pointer-events: none;
    }

    .time-wrapper {
        display: block;
        position: relative;
        margin: 4px 0 0 0;
        z-index: 14;
    }

    .direction-l .time-wrapper {
        float: none;
    }

    .direction-r .time-wrapper {
        float: none;
    }

    .desc {
        position: relative;
        margin: 1em 0 0 0;
        padding: 1em;
        background: rgb(245,245,245);
        -webkit-box-shadow: 0 0 1px rgba(0,0,0,0.20);
        -moz-box-shadow: 0 0 1px rgba(0,0,0,0.20);
        box-shadow: 0 0 1px rgba(0,0,0,0.20);

        z-index: 15;
    }

    .direction-l .desc,
    .direction-r .desc {
        position: relative;
        margin: 1em 1em 0 1em;
        padding: 1em;

        z-index: 15;
    }

}

@media screen and (min-width: 400px) and (max-width: 660px) {

    .direction-l .desc,
    .direction-r .desc {
        margin: 1em 4em 0 4em;
    }

}