body {
    position: relative;
}

.display_block {
    display: block;
}

#ko_mobile_header {
    display: none;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    min-height: 50px !important;
    height: auto;
    background-color: #F8F8F8;
    z-index: 5000;
}

#ko_mobile_nav {
    width: 100%;
    direction: rtl;
    z-index: 5000;
}

#ko_mobile_nav_toggle {
    margin-right: 9px !important;
    margin-top: 1px;
    font-size: 32px !important;
    color: #7000E3;
    line-height: 46px;
}

#ko_mobile_nav ul {
    list-style: none;
    width: 100%;
    margin-bottom: 0;
}

#ko_mobile_nav ul li {
    border-top: solid 1px #CCC;
}

#ko_mobile_nav ul a {
    display: block;
    width: 100%;
    padding: 15px 10px;
    font-size: 18px !important;
    text-transform: uppercase;
    color: #7000E3;
    position: relative;
}

#ko_mobile_nav ul a.active {
    font-weight: bold;
}

#ko_mobile_nav ul a.user_profile_link span {
    font-size: 18px !important;
    color: #7000E3 !important;
    line-height: 100%;
    font-weight: normal;
}

#ko_mobile_nav ul a:hover {
    color: #7000E3;
}

#ko_mobile_nav ul i.fa {
    margin-left: 10px;
}

#ko_mobile_nav ul a .cictwo {
    position: absolute;
    left: 10px;
    top: 13px;
}

.ko_mobile_modal_form {
    display: none;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 10000;
    width: 100%;
    height: auto;
    background-color: #F7F7F7;
    border-bottom: solid 1px #333;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.ko_mobile_modal_form .modal-header {
    border-radius: 0;
}

#ko_mobile_modal_form_search select {
    width: 100% !important;
    font-size: 13px;
    font-weight: 700;
}

.mobile, .mobile_inline {
    display: none;
}

.ko_button_desc {
    text-align: center;
}

#chat_mobile, #chat_mobile_messages {
    direction: rtl;
    display: none;
}

#chat_mobile_messages .header-msg {
    height: 50px;
    position: relative;
    padding: 5px 55px;
    direction: rtl;
    width: 100%;
    text-align: center;
    z-index: 3000 !important;
}

#chat_mobile_messages .message-contsmall {
    z-index: 1 !important;
}

#chat_mobile_messages .header-msg-actions-block, #ko_modal_confirm_remove_chat_mobile {
    display: none;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(50, 50, 50, .9);
    z-index: 2000;
}

#chat_mobile_messages .header-msg-actions-block .header-msg-actions {
    position: fixed;
    width: 280px;
    height: 280px;
    border: solid 1px #FFF;
    right: 50%;
    top: 50%;
    margin-right: -140px;
    margin-top: -140px;
    text-align: center;
    background-color: #FFF;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

#ko_modal_confirm_remove_chat_mobile .ko_modal_confirm_content {
    position: fixed;
    width: 200px;
    height: 140px;
    border: solid 1px #FFF;
    right: 50%;
    top: 50%;
    margin-right: -100px;
    margin-top: -70px;
    text-align: center;
    background-color: #FFF;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

#chat_mobile_messages .header-msg-actions a, #ko_modal_confirm_remove_chat_mobile .ko_modal_confirm_content a {
    display: block;
    height: 50px;
    border-top: solid 1px #CCC;
    line-height: 50px;
}

#chat_mobile_messages .header-msg-actions a {
    height: 70px;
    line-height: 70px;
    font-size: 18px;
}

#mobile_message_user_info h4 {
    display: inline-block;
    padding-top: 0;
    line-height: 100%;
    margin-top: 0;
}

#chat_mobile_messages .header-msg-actions a:first-child {
    border-top: none;
}

#chat_mobile_messages .message-contsmall .ko_avatar {
    width: 35px !important;
    height: 35px !important;
}

#chat_mobile_messages .bubbletwo, #chat_mobile_messages .bubble {
    width: 100%;
    display: block;
}

#chat_mobile #chat_mobile_messages {
    position: relative;
}

#chat_mobile #chat_mobile_messages #mobile_message_user_info {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 5000 !important;
}

#user_chat_mobile {
    z-index: 1 !important;
}

#chat_mobile #chat_mobile_messages #mymobform {
    position: fixed;
    right: 0;
    bottom: 0;
}

#mobile_message_user_info a {
    float: left;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    margin-top: -12px;
    text-align: center;
    display: block;
    border: 1px #ccc solid;
    border-radius: 365px 365px 365px 365px;
    -moz-border-radius: 365px 365px 365px 365px;
    -webkit-border-radius: 365px 365px 365px 365px;
    line-height: 35px;
}

#ko_mobile_icons {
    width: 85%;
    float: right;
    margin: 0;
    padding: 0;
}

#ko_mobile_icons .ko_mob_icon {
    width: 20%;
    text-align: center;
    display: inline-block;
    margin: 0;
    padding: 0;
    position: relative;
    float: right;
}

#ko_mobile_icons .ko_mob_icon a {
    font-size: 28px;
    line-height: 46px;
    color: #444;
    overflow: visible;
    display: block;
}

#ko_mobile_icons .ko_mob_icon a.active {
    color: #7000E3;
}

#ko_mobile_icons .ko_mob_icon .cictwo {
    position: absolute;
    left: 50%;
    top: 3px;
}

#owl-four-mobile .ko_mobile_gallery_menu {
    position: absolute;
    right: 10px;
    bottom: 10px;
}

#owl-four-mobile .ko_mobile_gallery_menu .ko_mobile_gallery_menu_items {
    display: none;
    z-index: 5000;
}

#owl-four-mobile .ko_mobile_gallery_menu .ko_mobile_gallery_menu_content {
    background-color: transparent;
    padding: 5px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

#owl-four-mobile .ko_mobile_gallery_menu.open .ko_mobile_gallery_menu_items {
    display: block;
}

#owl-four-mobile .ko_mobile_gallery_menu.open .ko_mobile_gallery_menu_content {
    background-color: rgba(50, 50, 50, .8);
}

#owl-four-mobile .ko_mobile_gallery_menu_toggle {
    display: block;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    border: solid 1px #CCC;
    width: 30px;
    height: 30px;
    color: #FFF;
    text-align: center;
    line-height: 20px;
    font-size: 16px;
    background-color: rgba(50, 50, 50, .5);
}

#owl-four-mobile .owl-controls, #front_page_mobile .galleria-image-nav, #front_page_mobile {
    display: none;
}

#front_page_mobile .galleria-counter {
    color: #CCC !important;
    opacity: 1 !important;
    background-color: rgba(50, 50, 50, .7);
    padding: 5px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border: none;
}

#front_page_mobile .galleria-theme-classic .galleria-stage {
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
}

#front_page_mobile .galleria-layer {
    top: 0 !important;
    z-index: 2;
    height: 390px !important;
}

#front_page_mobile .galleria-image img {
    top: 0 !important;
    height: 390px !important;
}

#front_page_mobile #ko_userinfo {
    background-color: #FFF;
    padding: 10px 15px;
    position: relative;
}

#front_page_mobile #ko_userinfo h3 {
    display: inline-block;
    text-align: center;
    direction: rtl;
    color: #000;
    font-size: 20px;
}

#front_page_mobile .data-title {
    font-size: 20px;
    color: #000;
    margin-top: 10px;
    margin-bottom: 0 !important;
}

#front_page_mobile .data-value {
    color: #6a6a6a;
    font-size: 15px;
    margin-bottom: 0 !important;
}

#front_page_mobile .column_online_info {
    font-size: 15px;
    color: #6a6a6a;
    margin-top: 30px;
    margin-bottom: 0 !important;
}

#front_page_mobile .column_online_info span {
    font-size: 20px;
    color: #000;
    display: inline;
    font-weight: normal;
}

#ko_back_button_mobile {
    text-align: center;
    display: none;
    color: #FFF;
    position: fixed;
    left: 15px;
    top: 65px;
    line-height: 45px;
    border: none;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, .2);
    height: 41px;
    width: 41px;
    z-index: 900;
}

#ko_back_button_mobile .fa {
    font-size: 20px;
    font-weight: normal;
}

#mobile_message_user_info .header-msg img.ko_mob_chat_avatar {
    float: left;
    width: 40px;
    height: 40px;
    position: absolute;
    left: 10px;
    top: 4px;
    display: block;
    border: none;
    border-radius: 365px 365px 365px 365px;
    -moz-border-radius: 365px 365px 365px 365px;
    -webkit-border-radius: 365px 365px 365px 365px;
    cursor: pointer;
}

#front_page_mobile h3 {
    margin-top: 5px;
    margin-bottom: 0;
}

#visitors_mobile .ko_avatar, #matches_mobile .ko_avatar {
    position: relative;
}

#visitors_mobile .ko_avatar .fa, #matches_mobile .ko_avatar .fa {
    position: absolute;
    right: 50px;
    bottom: 5px;
    color: #F00;
    font-size: 22px;
}

#front_page_mobile #usbtn .fa {
    font-size: 16px;
    line-height: 16px;
    position: relative;
    top: -1px;
}

#matches_mobile .img-thumbnail, #visitors_mobile .img-thumbnail {
    padding: 0 !important;
}

#grid_mobile .ko_grid_item {
    position: relative;
}

@media (max-width: 1140px) {
    #superwrapper {
        width: 100%;
    }

    #wrapper {
        width: calc(100% - 240px);
    }
}

@media (max-width: 980px) {
    #wrapper {
        width: calc(100% - 200px);
    }

    #ko_fixed_cont {
        width: 200px;
    }

    #ko_fixed_cont .affix {
        width: 200px;
    }

    #sidebar-logo p {
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {
    body, #superwrapper, #wrapper, #footer {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #wrapper,
    #wrapper.ko_account_page {
        padding-top: 48px;
    }

    #wrapper.has-bottom-line {
        /*padding-bottom: 44px;*/
    }

    #wrapper + .bottom-line {
        display: block;
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        padding: 5px;
        background: #F8F8F8;
        height: 48px;
        box-shadow: 0 -2px 5px 0 rgba(182, 182, 182, .75);
        -moz-box-shadow: 0 -2px 5px 0 rgba(182, 182, 182, .75);
        -webkit-box-shadow: 0 -2px 5px 0 rgba(182, 182, 182, .75);
    }

    #wrapper + .bottom-line .pagination {
        text-align: center;
        width: 100%;
        margin: 0;
        display: block;
    }

    #wrapper + .bottom-line .pagination li {
        display: inline-block;
        margin: 0 15px;
    }

    .logged-in #wrapper + .bottom-line .pagination > li {
        display: block;
    }

    #wrapper + .bottom-line .pagination > li.next-page {
        float: left;
    }

    #wrapper + .bottom-line .pagination > li.prev-page {
        float: right;
    }

    #wrapper + .bottom-line .pagination > li > a {
        display: inline-block;
        float: none;
        padding: 5px;
        width: 34px;
        text-align: center;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        border-radius: 50%;
    }

    #wrapper + .bottom-line .pagination > li > a > i {
        font-size: 26px;
        color: #7000E3;
        display: block;
        width: 26px;
    }

    #wrapper nav {
        display: none;
    }

    #ko_mobile_header.hidden + #wrapper {
        padding-top: 0;
    }

    html, body {
        min-height: 100% !important;
        background-color: #FFF !important;
    }

    #ko_fixed_cont {
        display: none;
    }

    .message-wrapper #footer, #owl-four17, #front_page_desktop {
        display: none;
    }

    #ko_mobile_header {
        display: block;
        border-bottom: 1px solid #ccc !important;
        min-height: 45px !important;
        -moz-box-shadow: 0 1px 1px rgba(182, 182, 182, .75);
        -webkit-box-shadow: 0 1px 1px rgba(182, 182, 182, .75);
        box-shadow: 0 1px 1px rgba(182, 182, 182, .75);
        z-index: 10000;
    }

    .mobile, #owl-four-mobile, #front_page_mobile, #ko_back_button_mobile {
        display: block;
    }

    .mobile_inline {
        display: inline-block;
    }

    .desktop {
        display: none;
    }

    #grid .thumbnail {
        padding-bottom: 10px;
    }

    #ko_visitor_list ul li {
        width: 100%;
        float: none;
        margin-left: 0 !important;
        padding: 0 10px;
    }

    #ko_visitor_list .ko_avatar {
        width: 70px !important;
        height: 70px !important;
        border: none !important;
        float: right;
        padding: 0 !important;
    }

    #ko_visitor_list .ko_avatar + .desc {
        float: right;
        width: calc(100% - 85px);
        direction: rtl;
        text-align: right;
    }

    #ko_visitor_list .ko_avatar + .desc h4 {
        margin-bottom: 0;
        font-size: 16px;
        color: #7000E3;
    }

    #ko_visitor_list .ko_avatar img {
        width: 70px !important;
        height: 70px !important;
        border-radius: 150px !important;
        -webkit-border-radius: 150px !important;
        -moz-border-radius: 150px !important;
        border: none;
    }

    #ko_visitor_list ul .visitor_buttons {
        display: none !important;
    }

    #ko_visitor_list ul h4 {
        padding-top: 5px;
    }

    #chat_desktop {
        display: none;
    }

    #chat_mobile {
        display: block;
    }

    #chat_mobile .chat_message_me {
        margin-top: 20px;
        margin-bottom: 30px;
        margin-right: 1.5%;
        width: 98%;
    }

    #chat_mobile .chat_message_opponent {
        margin-top: 20px;
        margin-bottom: 30px;
        margin-left: 1.5%;
        width: 98%;
    }

    #chat_mobile .bubbletwo:after, #chat_mobile .bubble:after {
        display: none;
    }

    #chat_mobile .message_wrapper {
        width: 70%;
    }

    #matches_desktop:not(.list-mobile):not(.grid-mobile),
    #visitors_desktop:not(.list-mobile):not(.grid-mobile),
    #grid_desktop:not(.list-mobile):not(.grid-mobile) {
        display: none;
    }

    #matches_mobile, #visitors_mobile, #grid_mobile {
        display: block;
    }

    .news-wrapper li + li {
        margin-top: 20px;
    }

    .muser {
        padding-top: 0;
        padding-bottom: 0;
    }

    .muser + .muser {
        margin-top: 25px !important;
    }

    .mobile-hide {
        display: none;
    }

    .msn .message-emo-img {
        width: 25px;
        height: 25px;
    }

    #grid_mobile {
        width: 100%;
        padding: 15px 10px;
        direction: rtl;
    }

    .ko_grid_item {
        margin: 5px .5% 33px;
        width: 19%;
        text-align: center;
        float: right;
    }

    .ko_grid_item img {
        width: auto;
        height: auto;
        -moz-border-radius: 50%;
        -webkit-border-radius: 50%;
        border-radius: 50%;
        border: none;
    }

    .ko_grid_item h4 {
        /*display: inline-block;*/
        display: block;
        width: 100%;
        text-align: center;
        font-size: 13px;
        margin-bottom: 3px;
    }

    #wrapper.message-wrapper {
        box-shadow: none !important;
    }

    #chat_mobile .chat_message_opponent .ko_avatar {
        float: left;
        margin-right: 3px;
    }

    #chat_mobile .chat_message_me .ko_avatar {
        float: right;
        margin-left: 3px;
    }

    #chat_mobile .bubbletwo, #chat_mobile .bubble {
        padding-left: 7px;
        padding-right: 7px;
    }

    #mymobform textarea {
        font-size: 16px;
        line-height: 20px;
        padding: 8px 15px 0 15px;
        /*min-height: 36px;*/
        min-height: 10px;
        max-height: 100px;
        overflow: hidden;
        overflow-y: auto;
        white-space: pre-wrap;
        word-wrap: break-word;
        display: block !important;
        width: 100% !important;
        direction: rtl;
        text-align: right;
        resize: none;
        border: none !important;
    }

    #ko_visitor_list ul .visitor_date b {
        font-weight: normal;
        color: #ff4000;
        padding-right: 10px;
    }

    #ko_visitor_list ul .visitor_date span {
        font-weight: bold;
        display: inline;
    }

    .ko_account_page h3 {
        font-size: 20px;
        margin-bottom: 0 !important;
        margin-left: auto;
        margin-right: auto;
    }

    .user_list_filter {
        display: block;
    }

    .news-wrapper #usbtn .fa {
        font-size: 14px;
        line-height: 14px;
        position: relative;
        top: -1px;
    }

    #page_filter_wrapper {
        padding-bottom: 10px;
        margin-bottom: 50px;
    }

    .ko_user_list_filter_wrapper {
        width: 100%;
        margin-bottom: 10px;
        padding-top: 0;
        float: none;
        margin-left: 0;
        margin-right: 0;
    }

    .ko_user_list_filter_wrapper .ko_filter_title {
        margin-top: 5px;
        margin-bottom: 5px;
        color: transparent;
    }

    .ko_user_list_filter_wrapper.w50, .ko_user_list_filter_wrapper.w33 {
        width: 100%;
        margin: 0 !important;
    }

    .ko_user_list_filter_items .w25 {
        width: 24.14% !important;
        margin: 0 !important;
    }

    .ko_user_list_filter_items span b.ko_filter_icon.x2 {
        height: 30px;
    }

    #chat_mobile_users .ko_user_list_filter_wrapper {
        /*width: 96%;*/
        /*margin: 20px 2% 50px 2%;*/
        width: 100%;
        margin: 25px 0 50px 0;
        padding-left: 10px;
        padding-right: 10px;
    }

    .profile_settings_page .ko_settings_block .ko_settings_pf_item {
        width: 100%;
        margin: 0;
        float: none;
    }

    .profile_settings_page .ko_settings_block .ko_settings_pf_item + .ko_settings_pf_item {
        margin-top: 20px;
    }

    .profile_settings_page button[name="update_pf_request"], .profile_settings_page button[name="update_blocked_users"] {
        margin-top: 15px;
    }

    .profile_settings_page .ko_settings_block .ko_settings_pf_item a {
        font-family: Helvetica, Arial, sans-serif !important;
        font-size: 16px;
        color: #333;
    }

    .pagination {
        margin-top: 80px;
    }

    .ko_grid_item:nth-of-type(5n+1), .ko_grid_item:nth-of-type(5n+3), .ko_grid_item:nth-of-type(5n+5) {
        -webkit-transform: translateY(105px);
        -moz-transform: translateY(105px);
        -ms-transform: translateY(105px);
        -o-transform: translateY(105px);
        transform: translateY(105px);
    }
}

@media (max-width: 559px) {
    .ko_grid_item {
        margin-left: 1%;
        margin-right: 1%;
        WIDTH: 31%;
    }

    .ko_grid_item:nth-of-type(5n+1), .ko_grid_item:nth-of-type(5n+3), .ko_grid_item:nth-of-type(5n+5) {
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform: none;
        -o-transform: none;
        transform: none;
    }

    .ko_grid_item:nth-of-type(3n+2) {
        -webkit-transform: translateY(105px);
        -moz-transform: translateY(105px);
        -ms-transform: translateY(105px);
        -o-transform: translateY(105px);
        transform: translateY(105px);
    }
}

@media screen and (max-width: 480px) {
    .grid li {
        width: 100%;
        border: none;
        padding: 0;
        margin-left: 0;
        margin-right: 0;
    }

    #grid li .ko_grid_item_title {
        text-align: center;
        margin-top: 8px;
    }

    #grid li h4 {
        float: none !important;
        font-size: 18px !important;
        margin-bottom: 25px !important;
    }

    #grid li .ko_grid_item_desc {
        text-align: center;
        margin-bottom: 20px !important;
    }

    #grid li hr {
        display: none;
    }

    #grid li .ko_grid_item_buttons {
        width: 75%;
        margin: 0 auto;
        padding: 10px 0;
    }

    .grid .thumbnail:hover {
        box-shadow: none;
    }

    #grid li .ko_grid_item_buttons a.ko_circle_button {
        width: 70px;
        height: 70px;
    }

    #grid li .ko_grid_item_buttons i.fa {
        line-height: 55px;
    }

    #grid .thumbnail {
        padding-bottom: 10px;
    }

    .mobile {
        display: block;
    }

    .mobile-hide {
        display: none;
    }

    .msn .message-emo-img {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 360px) {
    #grid_mobile .ko_about {
        font-size: 12px;
    }
}