div#home {
    max-width: 600px;
    right: 0;
    left: 0;
    margin: auto;
}

.contains_errors {
    max-width: 600px;
}

.loginfilterpage {
    max-width: 600px;
    right: 0;
    left: 0;
    margin-right: auto;
    margin-left: auto;
}

.contanier-view-stories {
    max-width: 600px;
}

.container-story-slider {
    max-width: 600px;
    right: 0;
    left: 0;
    margin: auto;
}

.top-close-stories.opcet {
    position: absolute;
}

.stories-main-page {
    max-width: 600px;
    right: 0;
    left: 0;
    margin: auto;
}

.menu-bottom {
    max-width: 600px;
    right: 0;
    left: 0;
    margin: auto;
}

.ad-time {
    width: 88%;
    position: relative;
    right: 0;
    left: 0;
    margin: auto;
    margin-top: 25px;
    justify-content: center;
    display: flex;
    margin-bottom: 25px;
}

.thread-ad {
    width: 88%;
    right: 0;
    left: 0;
    margin: auto;
    top: 0;
    margin-top: 20px;
    border-radius: 20px;
    overflow: hidden;
}

.msgs-ads {
    width: 88%;
    right: 0;
    left: 0;
    margin: auto;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 15px;
    margin-bottom: 10px;
}

.profile-ads {
    margin: auto;
    margin-top: 20px;
    margin-bottom: 0px;
    width: 88%;
    right: 0;
    left: 0;
    border-radius: 20px;
    overflow: hidden;
}

.ad-time:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: #242428;
    bottom: 0;
    margin-bottom: -22px;
}

.inner-ad-time {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    justify-content: center;
}

.page,
.mainpage {
    -webkit-overflow-scrolling: touch !important;
    -webkit-overflow-y: auto !important;
}


.loadmain {
    position: fixed;
    width: 100%;
    height: 100%;
    bottom: 0;
    padding-bottom: 8px;
    left: 0;
    top: 0;
}

.lds-roller-main {
    display: inline-block;
    position: absolute;
    width: 80px;
    height: 80px;
    bottom: 0;
    right: 0;
    transform: scale(.5) translateY(100px);
    left: 0;
    margin: auto auto 120px
}

.load,
.load a {
    height: 100%;
    width: 100%
}

.lds-roller-main div {
    animation: 1.2s cubic-bezier(.5, 0, .5, 1) infinite lds-roller-main;
    transform-origin: 40px 40px
}

.lds-roller-main div:after {
    content: '';
    display: block;
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    margin: -4px 0 0 -4px
}

.lds-roller-main div:first-child {
    animation-delay: -36ms
}

.lds-roller-main div:first-child:after {
    top: 63px;
    left: 63px
}

.lds-roller-main div:nth-child(2) {
    animation-delay: -72ms
}

.lds-roller-main div:nth-child(2):after {
    top: 68px;
    left: 56px
}

.lds-roller-main div:nth-child(3) {
    animation-delay: -108ms
}

.lds-roller-main div:nth-child(3):after {
    top: 71px;
    left: 48px
}

.lds-roller-main div:nth-child(4) {
    animation-delay: -144ms
}

.lds-roller-main div:nth-child(4):after {
    top: 72px;
    left: 40px
}

.lds-roller-main div:nth-child(5) {
    animation-delay: -.18s
}

.lds-roller-main div:nth-child(5):after {
    top: 71px;
    left: 32px
}

.lds-roller-main div:nth-child(6) {
    animation-delay: -216ms
}

.lds-roller-main div:nth-child(6):after {
    top: 68px;
    left: 24px
}

.lds-roller-main div:nth-child(7) {
    animation-delay: -252ms
}

.lds-roller-main div:nth-child(7):after {
    top: 63px;
    left: 17px
}

.lds-roller-main div:nth-child(8) {
    animation-delay: -288ms
}

.lds-roller-main div:nth-child(8):after {
    top: 56px;
    left: 12px
}

@keyframes lds-roller-main {
    0% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(360deg)
    }
}

.loadmain:before {
    content: '';
    background-position: center;
    left: 0;
    width: 88%;
    margin: auto;
    right: 0;
    position: absolute;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.0' width='1282.000000pt' height='1282.000000pt' viewBox='0 0 1282.000000 1282.000000' preserveAspectRatio='xMidYMid meet'%3E%3Cg transform='translate(0.000000,1282.000000) scale(0.100000,-0.100000)' fill='%23ffffff' stroke='none'%3E%3Cpath d='M4495 7285 c-145 -32 -258 -95 -365 -204 -152 -154 -221 -344 -207 -569 12 -190 77 -332 218 -473 70 -70 104 -95 177 -132 126 -63 212 -80 370 -75 105 4 141 10 211 33 205 70 390 254 458 459 25 74 27 94 28 241 0 154 -1 163 -31 246 -63 177 -203 334 -368 414 -51 25 -125 51 -168 59 -92 19 -240 19 -323 1z m280 -279 c156 -41 276 -158 320 -310 13 -45 16 -84 13 -160 -4 -87 -9 -110 -36 -167 -80 -168 -227 -259 -418 -259 -136 0 -236 42 -331 141 -130 134 -161 357 -72 531 30 58 119 150 178 181 98 54 240 72 346 43z'/%3E%3Cpath d='M5807 7280 c-121 -38 -231 -141 -280 -260 -22 -54 -22 -63 -25 -567 -3 -557 -3 -562 52 -598 63 -41 164 -25 203 33 17 25 18 66 23 529 5 487 6 502 26 529 39 53 70 69 137 69 75 0 120 -27 148 -89 17 -38 19 -76 19 -592 0 -330 4 -573 10 -605 24 -129 122 -253 247 -312 62 -29 77 -32 166 -32 l98 0 35 37 c20 23 34 49 35 65 5 113 -36 161 -143 171 -64 5 -107 28 -142 75 -21 28 -21 39 -26 635 l-5 607 -32 68 c-56 118 -179 218 -304 246 -68 16 -178 12 -242 -9z'/%3E%3Cpath d='M6486 7281 c-39 -26 -66 -70 -66 -108 0 -29 413 -1242 439 -1292 23 -42 71 -71 118 -71 40 0 51 5 82 38 33 35 56 97 255 675 241 702 235 675 171 737 -30 29 -43 34 -93 38 -54 4 -62 2 -91 -24 -35 -32 -40 -46 -226 -586 -55 -158 -100 -286 -102 -285 -1 2 -68 192 -147 422 -165 479 -164 475 -259 475 -34 0 -62 -7 -81 -19z'/%3E%3Cpath d='M8115 7285 c-165 -36 -313 -130 -420 -266 -97 -125 -141 -245 -152 -414 -19 -308 146 -583 429 -715 182 -85 449 -80 636 11 135 66 269 202 336 342 55 114 69 189 63 352 -4 120 -8 151 -32 219 -80 228 -304 425 -537 471 -93 18 -241 18 -323 0z m360 -308 c184 -88 280 -270 254 -481 -19 -147 -115 -279 -254 -347 -68 -33 -73 -34 -195 -34 -120 0 -128 1 -193 32 -187 89 -290 281 -260 487 14 98 51 175 118 245 99 104 200 143 357 138 86 -4 104 -8 173 -40z'/%3E%3C/g%3E%3C/svg%3E");
}

.loadmain:after {
    content: 'Loading...';
    color: #fff;
    bottom: 0;
    position: absolute;
    width: 100%;
    text-align: center;
    font-family: Gilroy-light, arabic-light;
    margin-bottom: 50px;
    line-height: 18px
}

a {
    -webkit-tap-highlight-color: transparent
}

a:active,
a:focus {
    outline: 0
}

.load {
    position: fixed;
    background: #fff;
    top: 0
}

.load a {
    bottom: 0;
    margin: auto;
    top: 0;
    content: "";
    transform: translateY(100%);
    background: #6c63ff;
    z-index: 1
}

.ar .loadmain:after {
    content: '...جاري التحميل'
}

@keyframes fill {
    0% {
        transform: translateY(100%)
    }

    100% {
        transform: translateY(-100%)
    }
}

.load span {
    width: 160px;
    height: 200px;
    -webkit-mask-position: center;
    -webkit-mask-size: 450px;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-image: url(../media/logo.svg);
    background: #f0f0f0;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    display: flex
}

.ptr--ptr {
    box-shadow: inset 0 -3px 5px rgba(0, 0, 0, 0.12);
    pointer-events: none;
    font-size: 0.85em;
    font-weight: bold;
    top: 0;
    height: 0;
    transition: height 0.3s, min-height 0.3s;
    text-align: center;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    align-content: stretch;
}

.ptr--box {
    padding: 10px;
    flex-basis: 100%;
}

.ptr--pull {
    transition: none;
}

.ptr--text {
    margin-top: .33em;
    color: rgba(0, 0, 0, 0.3);
}

.ptr--icon {
    color: rgba(0, 0, 0, 0.3);
    transition: transform .3s;
}

/* When at the top of the page, disable vertical overscroll so passive touch listeners can take over. */
.ptr--top {
    touch-action: pan-x pan-down pinch-zoom;
}

.ptr--release .ptr--icon {
    transform: rotate(180deg);
}