.page-wrapper {
    padding-bottom: 64px;
}

.box-links.more {
    display: none;
}

.mayor-widget .widget-body .mayor-picture {
    background-position: top left;
    background-position-x: 100px;
}

.sub-menu .widget-body .mayor-picture {
    background-position: top right;
}

.mayor-text {
    z-index: 99;
    left: 450px;
    position: absolute;
    top: 100px;
    font-size: 28px;
    width: 420px;
    font-weight: 800;
}

.mayor-text span {
    margin-bottom: 32px;
    display: inline-block;
}

.content-box.mayor-widget {
    background-color: #edefee;
    margin-bottom: 32px;
    height: auto !important;
    padding: 25px !important;
}

.about-mayor-btn {
    background-color: #de5251;
    color: #fff;
    position: absolute;
    bottom: 0;
    left: 75%;
    padding: 24px;
    cursor: pointer;
    z-index: 99;
}

.about-mayor-btn .arrow {
    width: 16px;
    height: 16px;
    border-top: 6px solid #fff;
    border-right: 6px solid #fff;
    display: inline-block;
    transform: rotate(45deg);
}

#journal-slider .slide {
    display: none;
}

#journal-slider .slide.show {
    display: block;
}

.mayor-text img {
    float: right;
}

.video-img-C {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 16px;
    width: 50%;
}

.video-img-C img {
    width: 100%;
}

.slide-video {
    display: flex;
    background-color: #ddd;
    color: #333;
    width: 100%;
    padding: 12px 20px 12px 12px;
}

.video-img-C figure {
    position: absolute;
}

.social-links.mobile-social {
    display: none;
}

.main-baskan-widget {
    display: flex;
    justify-content: center;
    background-color: #d7d7d7;
    padding: 0;
    position: relative;
}

.main-baskan-widget img {
    max-width: 100%;
}

.events-slider-C {
    max-height: 367px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.event-img-mobil {
    display: none;
}

.video-btn-tumu {
    width: 100%;
    padding: 12px;
    text-align: center;
    background-color: #333;
    color: #fff;
    display: flex;
    justify-content: center;
    height: 46px;
}

.main-slide-mobile {
    display: none !important;
    min-width: 100%;
}

.baskan-foto-mobile {
    display: none;
}

.search-wrap {
    display: none;
}

.menu-container .content-box.mayor-widget .mayor-links {
    bottom: 0;
    right: 0;
    position: absolute;
    width: 100%;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    padding: 0;
}

.menu-container .content-box.mayor-widget .mayor-links a {
    z-index: 6;
    margin-right: 2%;
    white-space: nowrap;
    margin-bottom: 15px;
    box-shadow: 0 1px 20px 0 rgba(0, 0, 0, .2);
    padding: 20px 0;
    height: auto;
    width: 49%;
}

.menu-container .mayor-widget .widget-header {
    display: flex;
    flex-direction: column;
    position: relative !important;
    padding: 0;
    padding-bottom: 15px;
}

.menu-container .mayor-widget .widget-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 15px;
}

.menu-container .content-box.mayor-widget .mayor-picture {
    background-size: contain;
    width: 167px;
    height: 105%;
    right: 0;
    bottom: 0;
    z-index: 2;
    background-repeat: no-repeat;
}

@media (max-width:1400px) {
    .mayor-widget .widget-body .mayor-picture {
        background-size: contain;
        background-position-x: 0;
    }

    .mayor-text {
        left: 300px;
        top: 40px;
        width: 440px;
    }
}

@media (max-width:1024px) {
    .mayor-widget .widget-body {
        float: none;
    }

    .mayor-widget .widget-body {
        width: 100%;
    }


    .mayor-text {
        left: 216px;
        top: 10px;
    }

    #calendar-container table {
        font-size: 18px;
    }

    .main-baskan-widget img {
        max-width: 120%;
    }

    .main-calender-C {
        padding-right: 0;
    }

    .main-baskan-widget {
        overflow: hidden;
    }
}

@media (max-width:768px) {
    #main-slide .slide a,
    #main-slide .owl-item {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .about-mayor-btn {
        right: 0;
        left: auto;
    }

    .mayor-text img {
        float: left;
    }

    .mayor-text {
        width: calc(100% - 240px);
    }

    #calendar-container table {
        font-size: 24px;
    }

    .main-baskan-widget img {
        max-width: 130%;
    }

    .search-wrap {
        height: auto;
    }

    .search-wrap .search-box form button {
        display: flex;
        position: absolute;
        right: 0;
        width: 64px;
    }
}

@media (max-width:640px) {
    .page-header .header-top .social-links a:not(.e-belediye){
        display: none;
    }

    .social-links.mobile-social {
        display: flex;
        margin-top: 16px;
        width: 100%;
        justify-content: center;
    }
    .social-links.mobile-social .icon{
        width: 32px;
        height: 32px;
    }
    .mayor-widget .widget-body .mayor-picture {
        background-size: 46%;
        background-position-x: -25px;
        background-position-y: bottom;
    }

    .mayor-text {
        left: 180px;
        top: 60px;
        width: calc(100% - 220px);
        font-size: 16px;
    }

    .about-mayor-btn {
        padding: 12px;
    }

    .mayor-text img {
        float: right;
    }

    #calendar-container {
        padding-right: 8px;
    }

    #calendar-container table {
        font-size: 16px;
    }

    .event-img-mobil {
        display: block !important;
    }

    .event-img-normal {
        display: none !important;
    }
}

@media (max-width:480px) {
    .mayor-widget .widget-body .mayor-picture {
        background-size: 60%;
    }

    .mayor-text {
        left: 160px;
        top: 20px;
        width: calc(100% - 180px);

    }

    .mayor-text span {
        margin-bottom: 16px;
    }

    .quick-municipality-links .box-links,
    .services .box-links {
        width: 50% !important;
    }

    .main-slide-normal {
        display: none !important;
    }

    .main-slide-mobile {
        display: block !important;
    }

    .main-baskan-widget img {
        max-width: 100%;
    }

    .baskan-foto-normal {
        display: none;
    }

    .baskan-foto-mobile {
        display: block;
    }
}

@media (max-width:360px) {
    .mayor-text {
        left: 120px;
        top: 10px;
        width: calc(100% - 140px);

    }
}