.mahlaka_menu {
    float: right;
    height: auto;
}

.modal-content .modal-footer a img {
    max-width: 350px;
}
.modal-content .modal-header button {
    width: 35px;
    background-color: red;
}

@media (max-width: 1000px) {
    .modal-content .modal-footer a img {
        max-width: 150px;
    }
}

.mahlaka_img {
    float: left;
    width: 40%; /* Adjusted to balance the total width to 100% with the menu */
    overflow: hidden;
    height: 200px;
}

.main_container_center .left_center {
    float: left;
    width: 35%;
}

.mahlaka_img img {
    height: 100%;
    width: 100%; /* Ensure the image fills the div */
    object-fit: contain; /* This will make sure the image keeps its aspect ratio */
    position: relative; /* Changed from absolute to relative for better control in this context */
}
.as-header-logo {
    width: 100%;
    height: unset;
    margin-top: 30px;
}

@media (max-width: 1200px) {
    .as-header-logo {
        height: 100% !important;
        margin-top: unset !important;
    }
}

.as-menu {
    margin-top: 0;
}

.as-menu__item__link {
    color: #723816;
}

.as-menu__item__color-strip {
    background: #723816;
}

.as-menu__submenu {
    background: #f68a01;
}

.as-main {
    padding: unset !important
}

.as-classes-menu-item {
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    width: 170px;
    height: 170px;
    margin: 0;
}

.as-classes-menu-item:hover {
    -webkit-transform: translate(0, -10px);
    transform: translate(0, -10px);
    box-shadow: none;
}

.as-classes-menu-item__label {
    padding: 0px 45px;
}

.as-classes-menu-item__icon {
    width: 30%;
}

.as-search-panel__title,
.as-strip-header__title,
.as-item-card__title,
.cld-labels,
.as-form__label {
    color: #f68a01;
}

.as-search-panel__box,
.as-calendar-box__header {
    background: #f68a01;
}

.as-button_primary,
.as-button_primary:hover {
    background: #723816;
}

.cld-number,
.as-newsletter-box__title,
.as-newsletter-box__content,
.as-form__link,
.as-footer-title {
    color: #723816;
}

.as-newsletter-box {
    background: #ffebd8;
}

.bootstrap-iso h1,
h1 {
    margin: -5px 70px 0 0;
}

.mahlaka_menu li a span {
    margin-top: 0;
    line-height: 25px;
}

.mahlaka_menu ul li {
    margin: 5px;
}

.mahlaka_menu ul li a {
    border: 1px solid black;
    text-align: center;
    color: black;
    text-decoration: none;
    width: 190px;
    height: 130px;
    padding: 0 20px;
    margin: 20px 5px 5px;
    font-size: 14px;
    float: right;
    -webkit-transition: ease 0.15s;
    -moz-transition: ease 0.15s;
    -o-transition: ease 0.15s;
    -ms-transition: ease 0.15s;
    transition: ease 0.15s;
}

.mahlaka_menu li a:hover {
    color: #000;
}

.mahlaka_menu li a:hover > i,
.mahlaka_menu li a:hover > .line_hover {
    background: #000;
}

.mahlaka_menu li a img {
    width: 100%;
    margin: 20px auto 0 auto;
    height: 150px;
}

.mahlaka_menu ul li a {
    width: 250px;
    height: 250px;
}

.mahlaka_menu li a i {
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

.icon-2:before {
    font-size: 100px;
    line-height: 150px;
}

.right_center ul li a .fa {
    display: inline;
}

.addsStrip {
    display: none;
}

/* Clearfix to handle floating elements */
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

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

    .mahlaka_img, .mahlaka_menu {
        float: none;
        width: 100%;
    }


    .mahlaka_img img {
        object-fit: contain;
    }

    .as-hobbies-list__th,
    .as-hobbies-list__td {
        padding: unset !important
    }
}

.category_list.big_event .flex .as-button_primary a{
    color: white !important;
}