﻿.horoscopSection {
    display: flex;
    flex-direction: column;
    width: calc(100% - 300px);
    align-items: center;
    justify-content: center;
    gap: 64px;
    background: none; 
    padding-left:16px;
}

.horoscopDataSection {
    display: flex;
    flex-direction: column;
    width: calc(100% - 300px);
    align-items: center;
    justify-content: center;
    gap: 64px;
    background: none;
    padding-left: 24px;
}


.towerSpecifications {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 944px;
    width: 100%;
}

.contentTower {
    display: flex;
    max-width: 944px;
    width: 100%;
    flex-direction: column;
    gap: 32px;
    justify-content: center;
    border: 1px solid #e8e8e8;
    background-color: #ffffff;
    padding: 40px 20px;
}



/********** Akhbar Themak **********/
.leftSide {
    display: inline-block;
    float: left;
    width: 300px
}


.akhbarthemak {
    display: inline-block;
    float: left;
    width: 100%;
    height: 655px;
}

.akhbarThemak {
    float: right;
    width: 300px;
    height: 625px;
    box-shadow: none;
    overflow: hidden;
    position: relative;
    border: 1px solid #e8e8e8;
    background: #fff
}

    .akhbarThemak .ttl {
        display: inline-block;
        float: right;
        width: 100%;
        height: 48px;
        overflow: hidden;
        padding: 0 12px;
        background: #E03322;
        border-bottom: none !important
    }

        .akhbarThemak .ttl .inTtl {
            float: right;
            display: inline-block;
            padding: 0px;
            font-family: DroidKufiBold, Arial;
            font-size: 18px;
            background: none !important;
            color: #fff;
            display: block;
            line-height: 48px;
        }

            .akhbarThemak .ttl .inTtl:after {
                display: none
            }

            .akhbarThemak .ttl .inTtl a {
                color: #fff
            }

        .akhbarThemak .ttl .icons {
            display: inline-block;
            float: left;
        }

            .akhbarThemak .ttl .icons .cd-popup-setting, .akhbarThemak .ttl .icons .cd-popup-notify {
                display: inline-block;
                float: right;
            }

            .akhbarThemak .ttl .icons .cd-popup-notify {
                margin-right: 10px
            }

            .akhbarThemak .ttl .icons .icon-setting:before {
                content: "p";
                color: #fff;
                font-size: 20px;
                line-height: 48px
            }

            .akhbarThemak .ttl .icons .icon-notify:before {
                content: "i";
                color: #fff;
                font-size: 22px;
                line-height: 48px
            }

    .akhbarThemak .popupSetting, .akhbarThemak .popupNotify {
        position: fixed;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        opacity: 0;
        visibility: hidden;
        -webkit-transition: opacity 0.2s 0s, visibility 0s 0.2s;
        -moz-transition: opacity 0.2s 0s, visibility 0s 0.2s;
        transition: opacity 0.2s 0s, visibility 0s 0.2s;
    }

        .akhbarThemak .popupSetting.is-visible, .akhbarThemak .popupNotify.is-visible {
            opacity: 1;
            visibility: visible;
            z-index: 10;
            -webkit-transition: opacity 0.2s 0s, visibility 0s 0s;
            -moz-transition: opacity 0.2s 0s, visibility 0s 0s;
            transition: opacity 0.2s 0s, visibility 0s 0s;
        }

    .akhbarThemak .cd-popup-container {
        position: absolute;
        padding: 24px;
        width: 1000px;
        height: 500px;
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%);
        background: #FFF;
        text-align: center;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
        -webkit-backface-visibility: hidden;
        -webkit-transition-property: -webkit-transform;
        -moz-transition-property: -moz-transform;
        transition-property: transform;
        -webkit-transition-duration: 0.2s;
        -moz-transition-duration: 0.2s;
        transition-duration: 0.2s;
    }

        .akhbarThemak .cd-popup-container h2 {
            display: inline-block;
            width: 100%;
            font-family: DroidKufiBold, Arial;
            font-size: 22px;
            color: #1d1d1d;
            margin-bottom: 0;
            padding: 0;
            background: none;
        }

            .akhbarThemak .cd-popup-container h2:after {
                display: none
            }

        .akhbarThemak .cd-popup-container h4 {
            display: inline-block;
            float: right;
            width: 100%;
            font-size: 13px;
            color: #666;
            margin-bottom: 12px;
            padding: 0;
            text-align: right
        }

        .akhbarThemak .cd-popup-container .sectionContainer {
            display: inline-block;
            float: right;
            width: 100%;
            position: relative
        }

        .akhbarThemak .cd-popup-container .sec {
            display: inline-block;
            width: calc((100% - 160px) / 5);
            float: right;
            margin-left: 12px
        }

            .akhbarThemak .cd-popup-container .sec:last-child {
                margin-left: 0;
                width: 100px
            }

        .akhbarThemak .cd-popup-container h3 {
            display: inline-block;
            width: 100%;
            font-family: DroidKufiBold, Arial;
            font-size: 14px;
            color: #1d1d1d;
            margin-bottom: 12px;
            padding-right: 0;
            background: #eee
        }

        .akhbarThemak .cd-popup-container .cd-buttons {
            position: absolute;
            left: 50%;
            bottom: 20px;
            width: 410px;
            height: 50px;
            transform: translateX(-50%)
        }

            .akhbarThemak .cd-popup-container .cd-buttons a {
                position: relative;
                top: 0;
                left: 0;
                float: right;
                background: #ddd;
                margin-left: 10px;
                width: 200px;
                height: 50px;
                font-size: 14px;
                color: #1d1d1d;
                text-align: center;
                display: inline-block;
                line-height: 50px;
            }

                .akhbarThemak .cd-popup-container .cd-buttons a:before, .akhbarThemak .cd-popup-container .cd-buttons a:after {
                    display: none
                }

                .akhbarThemak .cd-popup-container .cd-buttons a:first-child {
                    background: #E03322;
                    color: #fff
                }

                .akhbarThemak .cd-popup-container .cd-buttons a:hover {
                    background: #ccc
                }

                .akhbarThemak .cd-popup-container .cd-buttons a:first-child:hover {
                    background: #E03322
                }

                .akhbarThemak .cd-popup-container .cd-buttons a:last-child {
                    margin-left: 0
                }
    /** Notify **/
    .akhbarThemak .cd-popup-notify {
        position: relative
    }

        .akhbarThemak .cd-popup-notify .ntfyNum {
            position: absolute;
            top: 8px;
            right: -10px;
            width: 17px;
            height: 17px;
            background: red;
            border-radius: 50%;
            color: #fff;
            text-align: center;
            font-family: Arial;
            font-size: 12px;
            line-height: 1.5
        }

    .akhbarThemak .cd-popup-container.notify {
        width: 700px;
        height: 150px
    }

        .akhbarThemak .cd-popup-container.notify p {
            display: inline-block;
            width: 100%;
            font-size: 15px;
            text-align: center;
            color: #1d1d1d;
            margin-bottom: 0;
            padding: 0;
            line-height: 102px
        }

    .akhbarThemak .cd-popup-container .cd-popup-close {
        position: absolute;
        top: 12px;
        left: 12px;
        width: 36px;
        height: 36px;
    }

        .akhbarThemak .cd-popup-container .cd-popup-close::before, .akhbarThemak .cd-popup-container .cd-popup-close::after {
            content: '';
            position: absolute;
            top: 0;
            width: 2px;
            height: 100%;
            background-color: #1d1d1d;
            opacity: 0.2;
            transition: opacity 0.2s ease-in-out 0s;
            -webkit-transition: opacity 0.2s ease-in-out 0s;
            -moz-transition: opacity 0.2s ease-in-out 0s;
            -ms-transition: opacity 0.2s ease-in-out 0s;
            -o-transition: opacity 0.2s ease-in-out 0s;
        }

        .akhbarThemak .cd-popup-container .cd-popup-close:hover::before, .akhbarThemak .cd-popup-container .cd-popup-close:hover::after {
            opacity: 1
        }

        .akhbarThemak .cd-popup-container .cd-popup-close::before {
            -webkit-transform: rotate(45deg);
            -moz-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
            -o-transform: rotate(45deg);
            transform: rotate(45deg);
        }

        .akhbarThemak .cd-popup-container .cd-popup-close::after {
            -webkit-transform: rotate(-45deg);
            -moz-transform: rotate(-45deg);
            -ms-transform: rotate(-45deg);
            -o-transform: rotate(-45deg);
            transform: rotate(-45deg);
        }

body.popupOverlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.akhbarThemak ul {
    display: inline-block;
    float: right;
    width: 100%;
    padding: 0 10px;
}

.akhbarThemak li {
    width: 100%;
    display: inline-block;
    float: right;
    padding: 10px 0;
    position: relative;
    border-bottom: 1px solid #e8e8e8
}

    .akhbarThemak li:last-child {
        border-bottom: none
    }

.akhbarThemak ul li .item .imageCntnr {
    position: relative;
    overflow: hidden;
    padding-bottom: calc((100px * 75) / 100);
    float: right;
    width: 100px;
}

.akhbarThemak li img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 auto;
    float: right;
    width: auto;
    max-width: unset;
    height: 100%;
    object-fit: cover;
}

.akhbarThemak li .cnts {
    display: inline-block;
    float: right;
    width: calc(100% - 100px);
    padding-right: 10px
}

.akhbarThemak li h2 {
    float: right;
    width: 100%;
    color: #000;
    font-size: 13px;
    line-height: 1.6;
    height: 42px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.akhbarThemak li .secName {
    display: inline-block;
    float: right;
    margin-bottom: 6px;
    font-family: DroidKufiBold, Arial;
    color: #fff;
    font-size: 12px;
}
/*.akhbarThemak li .secName:before{content:"";float:right;margin-left:5px;width:4px;height:12px;background:#E03322;margin-top:4px}*/
.akhbarThemak li.native {
    padding: 0;
    border-bottom: none;
}

.akhbarThemak.fixed {
    position: fixed
}
.leftDtlsSc .akhbarThemak {
    margin-bottom: 30px
}

@media screen and (max-width: 1023px) {

    .akhbarThemak.fixed {
        position: relative;
    }

    .akhbarThemak {
        width: 100%;
        top: 0 !important;
        height: auto !important;
    }

        .akhbarThemak .cd-popup-container {
            width: 700px;
            height: 400px;
        }

            .akhbarThemak .cd-popup-container .sectionContainer {
                overflow-y: scroll;
                overflow-x: hidden;
                height: 200px
            }

            .akhbarThemak .cd-popup-container h4 {
                margin-bottom: 20px
            }

            .akhbarThemak .cd-popup-container h3 {
                line-height: 36px
            }

            .akhbarThemak .cd-popup-container .sec {
                width: 100%;
                margin-left: 0;
                margin-bottom: 24px;
                float: none;
            }

                .akhbarThemak .cd-popup-container .sec:nth-child(6n+1) {
                    margin-left: 0
                }

        .akhbarThemak input[type="checkbox"] + label {
            margin: 0 0 10px 20px;
            width: auto
        }

        .akhbarThemak .cd-popup-container .sec:last-child {
            width: 100%
        }
}

@media screen and (min-width: 320px) and (max-width: 767px) {
    .horoscopSection,
    .horoscopDataSection {
        gap: 54px;
        width: 100%;
        padding: 0 10px;
    }

    .contentTower {
        padding: 24px 10px;
    }

    .akhbarThemak .cd-popup-container {
        width: 300px;
        height: 400px;
        padding: 24px 10px
    }

        .akhbarThemak .cd-popup-container h2 {
            font-size: 18px
        }

        .akhbarThemak .cd-popup-container h4 {
            font-size: 12px
        }

        .akhbarThemak .cd-popup-container .sec {
            width: 100%;
            margin-left: 0;
            margin-bottom: 24px
        }

            .akhbarThemak .cd-popup-container .sec:nth-child(6n+1) {
                margin-left: 0;
                margin-bottom: 0
            }

    .akhbarThemak input[type="checkbox"] + label {
        margin: 0 0 12px;
        width: 100%
    }

    .akhbarThemak .cd-popup-container.notify {
        width: 300px;
        height: 150px;
    }

    .akhbarThemak .cd-popup-container .cd-buttons {
        width: 280px;
        height: 40px;
    }

        .akhbarThemak .cd-popup-container .cd-buttons a {
            width: 135px;
            height: 40px;
            line-height: 40px;
            font-size: 13px;
        }

    .akhbarThemak li img{
        width: 100%;
        height: auto;
        top: 50%;
        left: 50%;
        right: auto;
        bottom: auto;
        transform: translate(-50%, -50%)
    }
    .akhbarthemak {
        height: 626px
    }

    .akhbarThemak {
        width: calc(100% - 20px);
        top: 0 !important;
        margin: 0 10px 40px;
        height: 590px
    }

        .akhbarThemak li .secName {
            margin-bottom: 2px;
            font-size: 13px
        }

        .akhbarThemak ul li .item .imageCntnr {
            padding-bottom: calc((130px * 56.25) / 100);
            width: 130px
        }

        .akhbarThemak li .cnts {
            width: calc(100% - 130px);
        }

        .akhbarThemak li h2 {
            font-size: 13px;
            height: auto
        }
    .leftSide {
        width: 100%
    }

}