@media only screen and (max-width: 1600px) {
    .header .wrap-search-header {
        min-width: 500px;
        position : relative;
        display  : inline-block;
        margin   : 13px 0 12px 48px;
    }
}


@media only screen and (max-width: 1544px) {
    .header .wrap-search-header {
        min-width: 450px;
        position : relative;
        display  : inline-block;
        margin   : 13px 0 12px 48px;
    }
}

@media only screen and (max-width: 1498px) {
    .header .wrap-search-header {
        min-width: 320px;
        position : relative;
        display  : inline-block;
        margin   : 13px 0 12px 48px;
    }
}


@media only screen and (max-width: 1430px) {
    .header .wrap-search-header {
        min-width: 350px;
        position : relative;
        display  : inline-block;
        margin   : 13px 0 12px 48px;
    }
}

@media only screen and (max-width: 1395px) {
    .header .wrap-search-header {
        min-width: 400px;
        position : relative;
        display  : inline-block;
        margin   : 13px 0 12px 48px;
    }

    #header .container {
        width: 97%;
    }

}


@media only screen and (max-width: 1366px) {
    #mainnav>ul>li>a {
        margin-right: 12px;
    }

    #mainnav>ul>li>a {
        font-size: 12px;
    }

    .action-user>a {
        font-size: 12px;
    }

    .header .wrap-search-header {
        min-width  : 450px;
        margin-left: 30px;
    }
}


@media only screen and (max-width: 1310px) {
    .header .wrap-search-header {
        min-width: 400px;
        position : relative;
        display  : inline-block;
        margin   : 13px 0 12px 48px;
    }
}


@media only screen and (max-width: 1275px) {
    .header .wrap-search-header {
        min-width: 350px;
        position : relative;
        display  : inline-block;
        margin   : 13px 0 12px 48px;
    }
}

@media only screen and (max-width: 1237px) {
    .header .wrap-search-header {
        min-width: 300px;
        position : relative;
        display  : inline-block;
        margin   : 13px 0 12px 48px;
    }
}

@media only screen and (max-width: 1199px) {
    .header .wrap-search-header {
        min-width  : 350px;
        margin-left: 30px;
    }

    #mainnav>ul>li>a {
        margin-right: 10px;
    }

    .extra-menu>li {
        margin-left: 5px;
    }

    #mainnav>ul>li>a {
        font-size: 11px;
    }

    .action-user>a {
        font-size: 11px;
    }
}

@media only screen and (max-width: 1166px) {
    .header .wrap-search-header {
        min-width  : 300px;
        margin-left: 30px;
    }
}


@media only screen and (max-width: 1115px) {
    .header .wrap-search-header {
        min-width  : 250px;
        margin-left: 30px;
    }
}


@media only screen and (max-width: 1063px) {
    .header .wrap-search-header {
        min-width  : 200px;
        margin-left: 30px;
    }
}

@media only screen and (max-width: 1026px) {
    .header .wrap-search-header {
        min-width  : 90px;
        margin-left: 5px;
    }
}

@media only screen and (max-width: 991px) {
    .extra-menu>li {
        margin-left: 5px;
        float      : right;
    }

    .box-notification {
        left: 0;
    }

    #show-box-notification {
        height   : 40px;
        width    : 40px;
        font-size: 11px !important;
        display  : inline-block;
        padding  : 10px !important;
    }
}

/* Smaller than standard 992 */
@media only screen and (max-width: 991px) {
    .wrap-extra-menu {
        padding : 14px 0;
        position: absolute;
        left    : 0;
    }

    .show-search {
        margin-left: 7px;
    }

    #header .mobile-button,
    .mobi-show-search {
        display: block;
    }

    #mainnav-mobi {
        height       : 83vh;
        border-bottom: 1px solid #ECEDF2;
    }

    #header .wrap-hotline,
    #header .wrap-search-form,
    .header .wrap-search-header {
        display: none;
    }

    .logo-top.desk,
    .topbar {
        display: none;
    }

    .logo-top.mobi {
        display: block;
    }

    .wrap-btn-header-mobi {
        text-align: center;
        display   : table;
        width     : 100%;
        padding   : 15px 20px;
    }

    .wrap-btn-header-mobi .wrap-hotline,
    .wrap-btn-header-mobi .btn-register,
    .wrap-btn-header-mobi .btn-login {
        display       : table-cell;
        vertical-align: middle;
    }

    .wrap-btn-header-mobi img {
        margin-right: 7px;
        margin-top  : -4px;
    }

    .wrap-btn-header-mobi a {
        color: #0066C2;
    }

    .wrap-btn-header-mobi .wrap-hotline a {
        color      : #C21818;
        font-size  : 18px;
        line-height: 24px;
        font-weight: 700;
    }

    .wrap-btn-header-mobi .wrap-hotline {
        float: left;
    }

    .wrap-btn-header-mobi .btn-login {
        float: right;
    }

    .box-publicstatus .gallery ul {
        margin: 0 -2px;
    }

    .box-publicstatus .gallery ul li {
        float      : left;
        width      : 50%;
        padding    : 0 2px;
        margin-left: 0;
    }

    .mfp-fade-image .mfp-container {
        min-width : 100%;
        min-height: 100%;
    }

    .mfp-fade-image .mfp-counter {
        min-width: 100%;
    }

    .mfp-fade-image .popup-btn .popup-btn-left {
        float        : none;
        text-align   : center;
        margin-bottom: 15px;
    }

    .mfp-fade-image .popup-btn .popup-btn-right {
        float     : none;
        text-align: center;
    }

    .mfp-fade-image .popup-btn .popup-btn-left a,
    .mfp-fade-image .popup-btn .popup-btn-right a {
        margin: 0 10px;
    }

}

/* All Mobile Sizes */
@media only screen and (max-width: 767px) {
    .box-account-management .form-edit-account {
        padding: 15px;
    }

    .box-account-management ul li .wrap-form-edit-account .title {
        text-align   : left;
        margin-bottom: 5px;
    }

    .mobi-hide {
        display: none;
    }

    .mobi-show {
        display: block;
    }

    .box-publicstatus .videoyoutube .youtubeleft {
        width        : 50%;
        margin-bottom: 5px;
    }

    .page-login .offset-3,
    .page-register .offset-3 {
        margin-left: 0%;
    }

    .cover-wallpaper .inner-wallpaper {
        position  : relative;
        bottom    : auto;
        left      : auto;
        margin-top: -120px;
    }

    .page-community-details .cover-wallpaper .inner-wallpaper {
        margin-top: 20px;
        padding   : 0;
    }

    .inner-wallpaper .avatar,
    .inner-wallpaper .name,
    .inner-wallpaper .btn {
        display   : block;
        text-align: center;
        bottom    : 0;
        width     : 100%;
    }

    .inner-wallpaper .name {
        color        : #2C2C2C;
        margin-bottom: 10px;
    }

    .cover-wallpaper .wrap-img-cover {
        height: 302px;
    }

    .cover-wallpaper .wrap-img-cover>img {
        display: none;
    }

    .cover-wallpaper .wrap-img-cover.cover1 {
        background-image   : url(../images/cover-1.png);
        background-size    : cover;
        background-position: center;
    }

    .cover-wallpaper .wrap-img-cover.cover2 {
        background-image   : url(../images/cover-2.png);
        background-size    : cover;
        background-position: center;
    }

    .cover-wallpaper .wrap-img-cover.cover3 {
        background-image   : url(../images/cover-3.png);
        background-size    : cover;
        background-position: center;
    }

    .wrap-cover-wallpaper .tab-title {
        border-top: 1px solid #DDDFE2;
    }

    .mb-pdl15 {
        padding-left: 15px;
    }

    .mb-pdr15 {
        padding-right: 15px;
    }

    .mb-mgb15 {
        margin-bottom: 15px;
    }

    .mb-paddingtop0 {
        padding-top: 0;
    }

    .popupboxActive {
        width     : 100%;
        top       : 0;
        left      : 0;
        transform : translate(0%, 0%);
        height    : 100vh;
        overflow-y: scroll;
    }

    .box.popupboxActive .wrap-write-status {
        height: 53vh;
    }

    .box .btn-public {
        width  : 90%;
        float  : none;
        margin : 0 auto;
        display: block;
    }

    .box .btn-public .public .last {
        float: right;
    }

    .box .wrap-btn-share {
        margin-top: 10px;
        width     : 100%;
        float     : none;
    }

    .box .share-status {
        padding: 20px 0px 0px 0px;
    }

    .posted-status-successfully,
    .posted-status-failed {
        width: 100%;
    }

    .mobi-tab-title {
        display      : block;
        font-size    : 14px;
        color        : #4A4A4A;
        line-height  : 20px;
        background   : #FFFFFF;
        border       : 1px solid #DDDFE2;
        box-shadow   : 0 2px 8px 0 rgba(0, 0, 0, 0.08);
        border-radius: 2px;
        padding      : 10px 15px 8px;
        font-weight  : 500;
        position     : relative;
        cursor       : pointer;
    }

    .mobi-tab-title:after {
        content           : "\f0d7";
        font-family       : fontawesome;
        position          : absolute;
        top               : 50%;
        margin-top        : -10px;
        right             : 15px;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition   : all 0.3s ease-in-out;
        -ms-transition    : all 0.3s ease-in-out;
        -o-transition     : all 0.3s ease-in-out;
        transition        : all 0.3s ease-in-out;
    }

    .mobi-tab-title.active:after {
        transform: rotate(-180deg);
    }

    .form-study .title {
        text-align   : left;
        padding-right: 0px;
    }

    .cl-col-3,
    .cl-col-9 {
        width: 100%;
    }

    .one-three.pd10 {
        width: 50%;
    }



    .imagebox .image img {
        width: 100%;
    }

    .content-list-of-subgroupst .list li .content .title {
        line-height: 1;
    }

    .box-list-of-subgroupst ul li .edit-group {
        position : static;
        top      : 0%;
        transform: translateY(0%);
        float    : none;
        padding  : 4px 12px;
    }

    .box-search-member ul li .follow {
        float       : none;
        padding-left: 45px;
    }

    .content-general-management .inner-input .title,
    .content-list-of-subgroupst .inner-input .title {
        text-align: left;
    }

    .page-detail-news .col-md-8 .box {
        background   : #FFFFFF;
        border       : none;
        box-shadow   : none;
        border-radius: 0px;
    }

    .box-detail-news .wrap-top .avatar .right {
        float     : none;
        text-align: left;
    }

    .page-search-results .box-search-community ul li .follow {
        float      : none;
        width      : 100%;
        padding-top: 10px;
    }

    .page-search-results .box-search-community ul li .btn-follow {
        margin-top: 0;
    }

    .page-search-results .box-search-community ul li .btn-participation {
        margin-left: 0;
    }

    .page-search-results .box-search-member ul li .follow {
        float       : none;
        padding-left: 0px;
        width       : 100%;
        padding-top : 10px;
    }

    .page-search-results .box-search-member ul li .content {
        max-width: unset;
    }

}

@media only screen and (max-width: 640px) {
    .box-login .wrap-inner {
        padding: 15px;
    }

    .page-login {
        padding: 6% 0 20%;
    }
}

/* Mobile Portrait Size */
@media only screen and (max-width: 575px) {
    .one-three.pd10 {
        width: 100%;
    }

    .boxpPopupsStatus .btn-public {
        background-position: 10px;
    }

    .boxpPopupsStatus .btn-public select {
        padding-left       : 0;
        background-position: calc(100% - 10px) center;
    }

    div#hint_brand .modal-dialog,
    div#edit-post .modal-dialog {
        width: auto;
    }
}


@media (max-width: 500px) {}

@media (max-width: 480px) {
    .box-communications .first {
        width: 100%;
    }

    .box-account-management ul.check-list-info li {
        padding: 12px 0;
    }

    .check-list-info li .left,
    .check-list-info li .right {
        float: none;
    }

    .check-list-info li .left {
        margin-bottom: 8px;
    }

    .box-notification {
        right: -144px;
    }

    .box-notification:after {
        right: 43%;
    }

    .top-search {
        right: auto;
    }

    .box-notification {
        width: 330px;
    }

    .tabs.horizontal .wrap-cover-wallpaper .tab-title li {
        padding: 10px 10px;
    }

    .one-half.pd10 {
        width: 100%;
    }

    .wrap-btn-wallpaper .btn a {
        margin : 0;
        padding: 5px 10px;
    }

    .tabs.style1 .tab-title li {
        margin-right: 0px;
        padding     : 14px 5px;
    }

    .box-search-member ul li .content {
        max-width: 230px;
    }

    .page-detail-news .box-community ul li .image {
        max-width : unset;
        max-height: unset;
        min-width : unset;
    }

    .page-detail-news .box-community ul li .image,
    .page-detail-news .box-community ul li .content {
        display       : block;
        vertical-align: middle;
    }

    .page-detail-news .box-community ul li .content {
        max-width: unset;
        padding  : 0;
    }

    .page-detail-news .box-community ul li .image {
        margin-bottom: 10px;
    }

    .page-detail-news .box-community ul li .image img {
        width: 100%;
    }

    .page-search-results .box-search-news ul li .content .decs span {
        margin-right: 0px;
    }

    .page-search-results .box-search-news ul li .content .title {
        margin-top : 0;
        line-height: 1.3;
    }

    .boxpPopupsStatus .btn-public,
    .boxpPopupsStatus .wrap-btn-share {
        width: 100%;
        float: none;
    }

    .boxpPopupsStatus .btn-public {
        margin-bottom: 15px;
    }

}

@media (max-width: 400px) {

    /*.box-search-member ul li .content {
        max-width: 200px;
    }*/
    .page-search-results .tabs.horizontal .tab-title li {
        margin-right: 0;
        padding     : 14px 5px;
    }


}

@media (max-width: 991px) {
    .header .logo-top a {
        width   : 70px;
        position: absolute;
        left    : calc(50% - 40px);
    }
}

@media (max-width: 360px) {
    .header .logo-top a {
        width   : 68px;
        position: absolute;
        left    : calc(50% - 34px);
    }

    .box-writepublicstatus .wrap-btn-status .customtab-title li {
        padding: 5px 9px;
    }

    .tabs.style1 .tab-title li:first-child {
        margin-left: 0px;
    }

    .tabs.style1 .tab-title li {
        padding: 14px 2px;
    }

    .page-search-results .box-search-news ul li .image {
        min-width: 120px;
        display  : block;
    }

    /*.box-search-member ul li .content {
        max-width: 170px;
    }*/


}

@media (max-width: 330px) {
    .mobile-button {
        margin: 17px 0 17px 10px;
    }

    .box-notification {
        width: 290px;
    }

    .tabs.horizontal .wrap-cover-wallpaper .tab-title li {
        padding: 10px 3px;
    }

    .tabs.horizontal .wrap-cover-wallpaper .tab-title li:before {
        display: none;
    }

    .wrap-btn-wallpaper .btn a {
        padding: 5px 5px;
    }

    /*.box-search-member ul li .content {
        max-width: 145px;
    }*/
}