﻿body {
    background-color: #f2f4f7;
}

#header-page,
#container,
#footer-page,
#header-inner {
    width: 100%;
    clear: both;
}

#header-inner,
#container {
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

#container {
    padding-top: 50px;
    padding-bottom: 30px;
    display: table;
    min-height: 100%;
    height: 100%;
    table-layout: fixed;
    padding-right: 350px;
}

#header-page {
    height: 50px;
    position: fixed;
    top: 0px;
    background-color: #1565c0;
    z-index: 999;
}

#allSearch {
    display: inline-block;
    float: left;
    position: relative;
    padding: 10px;
    width: 450px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

#allSearch .helper {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s linear;
    position: absolute;
    top: 39px;
    left: 20px;
    line-height: 1.5;
    background-color: rgba(247, 247, 247, 1);
    border-radius: 2px;
    width: calc(100% - 60px);
    padding: 10px;
    -webkit-box-shadow: 0px 1px 2px 0px rgba(112, 112, 112, 1);
    -moz-box-shadow: 0px 1px 2px 0px rgba(112, 112, 112, 1);
    box-shadow: 0px 1px 2px 0px rgba(112, 112, 112, 1);
}

#allSearch input:focus+.helper {
    visibility: visible;
    opacity: 1;
}

#txtKeySearch {
    float: left;
    width: 100%;
    border: none;
    padding: 7px 35px 7px 10px;
    border-radius: 20px;
    outline: none;
    color: #333;
    /*-webkit-transition: width 400ms ease, background 400ms ease;
    transition: width 400ms ease, background 400ms ease;*/
    background-image: url(../img/icon-search-top.png);
    background-repeat: no-repeat;
    background-size: 16px 16px;
    background-position: right 5px center;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

/*================================================================================*/

/*================================================================================*/

#content-left-box {
    display: table-cell;
    padding: 0px 5px;
    width: 350px;
    vertical-align: top;
    background-color: #F2F2F2;
    z-index: 888;
    /*top: 50px;*/
    /* display: none; */
    /* position: fixed; */
    /* top: 50px;
    right: 0; */
    /* height: calc(100vh - 50px); */
    /* width: 350px; */
    /* padding: 0px; */
    /* border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    background-color: #fff; */
}

#content-center-box {
    display: table-cell;
    padding: 0 5px;
    width: 100%;
}

/*-------------------------------------------------------------Begin popup-----------------------------------------------------------------------------------*/

#ulGroup li {
    display: table;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-size: 1.05em;
}

/*-------------------------------------------------------------End popup-----------------------------------------------------------------------------------*/

/*-------------------------------------------------------------Begin header-----------------------------------------------------------------------------------*/

#divAjaxPost {
    display: table-cell;
}

#divAjaxPost>span {
    display: none;
    width: 50px;
    height: 10px;
    background: #EDEFF4 url(../img/loading8.gif) no-repeat 50% 50%;
}

#content-center {
    min-height: 100%;
    height: 100%;
}

#content-area {
    margin-top: 20px;
}

.meSlideBar {
    display: none;
    float: right;
    background: url(../img/UserBar.png) no-repeat;
    background-size: 108px 108px;
    width: 26px;
    height: 26px;
    cursor: pointer;
    background-clip: content-box;
    -moz-background-clip: content-box;
    -webkit-background-clip: content-box;
    cursor: pointer;
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    border-width: 12px 10px;
    border-style: solid;
    border-color: transparent;
    background-position: -1px -60px;
    margin-left: 10px;
    position: relative;
}

#iSlideBar {
    position: absolute;
    top: -5px;
    right: -5px;
    height: 10px;
    line-height: 10px;
    min-width: 10px;
    text-align: center;
    padding: 3px 2px;
    color: #FFF;
    font-size: 0.9em;
    font-weight: bold;
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.4);
    border-radius: 2px;
    box-sizing: content-box;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to bottom, #FA3C45 0%, #DC0D17 100%) repeat scroll 0% 0% transparent;
}

#header-meLogo {
    height: 20px;
    width: 150px;
    display: inline-block;
    background: url(../img/me-logo.png) no-repeat center;
    background-size: contain;
    background-position-x: left;
    float: left;
    padding: 14px 0px 0px 50px;
    margin-left: 15px;
    margin-top: 7px;
    color: white;
}

#header-right {
    position: absolute;
    right: 100px;
    top: 0;
}

ul#header-right-inner {
    float: right;
    padding-right: 10px;
    height: 50px;
    line-height: 50px;
}

ul#header-right-inner a {
    color: rgb(154, 169, 200);
    font-size: 1.5em;
    font-weight: bold;
}

ul#header-right-inner a:hover {
    color: #fff;
    text-decoration: none;
}

ul#header-right-inner li {
    display: inline-block;
    margin: 0 5px 0 5px;
}

/*-------------------------------------------------------------End header-----------------------------------------------------------------------------------*/

#content-filter {
    border-top: 1px solid #E0E0E0;
    display: block;
    margin: 30px 0;
    text-align: right;
    position: relative;
}

#labelFilter {
    color: #909090;
    position: absolute;
    display: block;
    top: -12px;
    right: 40px;
    background-color: #f2f2f2;
    font-weight: bold;
    padding: 0 8px;
    white-space: nowrap;
    text-align: center;
}

.icon-filter {
    background-image: url(../img/meMessage32.png);
    background-size: 16px 250px;
    -moz-background-size: 16px 250px;
    -o-background-size: 16px 250px;
    -webkit-background-size: 16px 250px;
    background-position: 0 -95px;
    background-repeat: no-repeat;
    background-color: #f2f2f2;
    display: inline-block;
    width: 16px;
    height: 16px;
    cursor: pointer;
    position: absolute !important;
    right: 0px;
    top: -20px;
    border-width: 0 8px;
    border-style: solid;
    border-color: #f2f2f2;
    background-clip: content-box;
    margin: 10px;
}

.icon-close-search {
    background-image: url(../img/icon-close-search.png);
    background-repeat: no-repeat;
    display: inline-block;
    height: 16px;
    width: 16px;
    position: absolute;
    right: 10px;
    top: 7px;
    cursor: pointer;
    background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -webkit-background-size: cover;
}

.content-filter-search {
    display: block;
    /*width: calc(100% - 32px);*/
    position: relative;
    margin-top: 10px;
}

.content-filter-search input {
    border: none;
    font-size: inherit;
    line-height: 1.5em;
    margin: 0;
    outline: none;
    padding: 0;
    -webkit-appearance: none;
}

.content-filter-search input[type="text"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: #fff;
    color: #42454e;
    padding: 7px 9px;
    width: calc(100% - 10px);
    width: 100%;
}

.content-filter-search input[type="text"],
.content-filter-search input.btnSearch {
    border-radius: 2px;
    font-size: 1em;
}

.content-filter-search input.btnSearch {
    background: #1bba9a;
    color: #fff;
    font-weight: bold;
    margin-left: 7px;
    padding: 6px 10px;
}

.content-filter-search input.btnSearch:hover {
    background: #189e83;
    cursor: pointer;
}

.content-filter-search input[type="text"]::-webkit-input-placeholder {
    color: #42454e;
}

.content-filter-search input[type="text"]:-moz-placeholder {
    color: #42454e;
}

.content-filter-search input[type="text"]:-ms-input-placeholder {
    color: #42454e;
}

/*-------------------------------------------------------------Begin container-----------------------------------------------------------------------------------*/

#content-right-box {
    display: none;
    position: fixed;
    top: 50px;
    right: 0;
    height: calc(100vh - 50px);
    width: 350px;
    padding: 0px;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    z-index: 10000;
    background-color: #fff;
}

.icon-newfeed {
    background-image: url(../img/iconSprites.png);
    background-repeat: no-repeat;
    background-clip: content-box;
    background-size: 60px 218px;
    background-position: 0 -153px;
    text-decoration: none !important;
    background-repeat: no-repeat;
    display: none;
    height: 20px;
    width: 20px;
    cursor: pointer;
    border-width: 3px;
    border-style: solid;
    border-color: transparent;
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.8;
}

.timeLine-box-avatar {
    margin-left: auto;
    margin-right: auto;
    margin-top: 5px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    width: 156px;
    height: 156px;
    z-index: 10;
    position: absolute;
    background-color: #fff;
    left: calc(50% - 63px);
    top: 38px;
}

.timeLine-box-avatar #iAvatar {
    width: 150px;
    height: 150px;
    margin: 3px;
}

.timeLine-box-avatar .post-box-avatar {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}

#info-box {
    padding: 10px;
}

#info-box-inner {
    width: 100%;
    clear: both;
    position: relative;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    height: 50px;
    max-height: 50px;
}

#info-box-inner .info-box-avatar {
    background-position: center center;
    width: 50px;
    cursor: pointer;
    display: inline-block;
}

#info-box-inner .info-box-avatar img:hover {
    cursor: pointer;
}

#info-box-inner .info-box-info {
    position: relative;
    float: right;
    display: inline-block;
    height: 50px;
    text-align: right;
    vertical-align: bottom;
    width: calc(100% - 55px);
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

#info-box-inner .info-box-info>a.spanUserName {
    font-size: 1em;
    font-weight: bold;
    max-width: 100%;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    position: absolute;
    bottom: 0;
    right: 0;
    line-height: 1.5em;
    padding: 2px 2px 0 2px;
    opacity: 0.8;
}

#info-box-inner .info-box-info>a:hover {
    opacity: 1;
}

.apps-box {
    position: relative;
    border-top: 1px solid #d0d0d0;
    padding: 10px 0px;
}

.apps-box .apps-box-title {
    font-size: 1.2em;
    padding: 15px 10px;
    margin: 0px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.apps-box ul.apps-list .group-list-icon {
    display: inline-block;
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    margin: 0 10px -3px 0;
    background-image: url(../img/icon-Groups.png);
    background-size: 24px auto;
    -moz-background-size: 24px auto;
    -o-background-size: 24px auto;
    -webkit-background-size: 24px auto;
}

.icon-group-df {
    background-position: 0 0;
}

.icon-group {
    background-position: -17px 0;
}

.icon-group-ban {
    background-position: -34px 0;
}

.mfIcon {
    background-position: -34px -34px;
}

.icon-help {
    background-position: -17px -153px;
}

.icon-info {
    background-position: -0px -34px;
}

.icon-changepass {
    background-position: -17px -34px;
}

.apps-list-icon {
    background-position: -34px -17px;
}

.add {
    background-image: url(../img/fbimage3.png);
    background-position: -17px -545px;
}

.invite {
    background-image: url(../img/incon-group-invite.png);
}

.icon-group-type-0 {
    background-position: 0 -144px;
}

.icon-group-type-1 {
    background-position: 0 -72px;
}

.icon-group-type-2 {
    background-position: 0 -48px;
}

.icon-group-type-6 {
    background-position: 0 -120px;
}

.icon-group-type-7 {
    background-position: 0 -96px;
}

.icon-group-type-10 {
    background-position: 0 -24px;
}

.icon-group-type-11 {
    background-position: 0 0;
}

.icon-group-type-Home {
    background-position: 0 -168px;
}

.iconsearch {
    background-position: 0 -192px;
}

.borderTop {
    border-top: 1px solid #d0d0d0;
}

.apps-box ul.apps-list li {
    text-decoration: none;
    display: block;
    table-layout: fixed;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    clear: both;
    overflow: hidden;
    cursor: pointer;
}

.apps-box ul.apps-list li.group_selected {
    background-color: rgb(216, 223, 234);
}

.apps-box ul.apps-list .apps-list-icon-private {
    display: inline-block;
    background-image: url(../img/icon-private.png);
    background-repeat: no-repeat;
    width: 20px;
    height: 16px;
    margin: 5px 0px -3px 0px;
}

.apps-box ul.apps-list .apps-list-icon-public {
    display: inline-block;
    background-image: url(../img/icon-public.png);
    background-repeat: no-repeat;
    width: 20px;
    height: 16px;
    margin: 5px 0px -3px 0px;
}

.apps-box ul.apps-list .divSqual {
    display: table-cell;
    width: 15%;
    margin-top: 15px;
    text-align: right;
    vertical-align: middle;
    line-height: 1.2em;
}

.apps-box ul.apps-list .divSqual .spanQual {
    padding: 1px 3px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    font-weight: 500;
    font-size: 0.8em;
    margin: 0px 2px;
}

.apps-box ul.apps-list .divSqual .S {
    color: #fff;
    background-color: #1469EB;
}

.apps-box ul.apps-list .divSqual .P {
    color: #fff;
    background-color: #D9442F;
}

.apps-box ul.apps-list .divSqual .U {
    color: #fff;
    background-color: #009C58;
}

.apps-box ul.apps-list li a {
    padding-right: 0;
    display: table-cell;
    color: #020202;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    -moz-binding: url('assets/xml/ellipsis.xml#ellipsis');
    text-decoration: none;
}

.apps-box li:hover {
    background-color: #fff;
}


.flaticon-logout {
    vertical-align: middle;
}

.liApp a:hover {
    text-decoration: none;
}

.liApp a {
    padding: 10px;
    display: block;
    color: #00396b;
}

.liApp a .appicon:before {
    font-size: 24px;
    margin-right: 10px;
    margin-left: 0px;
    color: #2181d2;
    vertical-align: top;
}

.event-list {
    font-size: 0.9em;
}

.calenItem {
    display: block;
    position: relative;
    padding: 10px;
    color: #333;
    text-align: justify;
    line-height: 1.5em;
}

.calenItem .calenTime {
    padding-right: 5px;
    white-space: nowrap;
}

.calenItem .calenTime .calenDayOfWeek {
    color: #9E2121;
    font-weight: bold;
}

.calenItem .calenTime .sTime {
    color: #9E2121;
    float: right;
}

.calenItem .calenDetail {
    border-bottom: 1px solid #d0d0d0;
    padding-bottom: 5px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.calenItem .calenDetail .calenTitle,
.calenItem .calenDetail .calenLoc {
    display: block;
    text-decoration: dashed;
    color: #333;
}

.calenItem .calenDetail .calenLoc {
    color: #9E2121;
}

.calenItem .calenDetail .calenSummary {
    display: block;
}

.calenItem .calenDetail .calenTime {
    display: block;
    color: #9E2121;
}

.calenMore {
    text-align: right;
    color: #9E2121;
    cursor: pointer;
}

.calenMore:hover {
    text-decoration: underline;
}

.calenMore:after {
    content: "";
    padding-left: 3px;
    border: solid #9E2121;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    margin-left: 10px;
    margin-top: 5px;
    float: right;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

#eventDetail {
    padding: 5px 10px;
    text-align: justify;
}

#eventDetail .eventDetailTitle {
    line-height: 1.5em;
}

#eventDetail .eventDetailRow {
    display: table;
    width: 100%;
    margin: 5px;
    line-height: 1.5em;
}

#eventDetail .eventDetailRow .eventDetailColLeft {
    display: table-cell;
    width: 20%;
    font-weight: bold;
    text-align: right;
    padding: 5px 10px;
}

#eventDetail .eventDetailRow .eventDetailColRight {
    display: table-cell;
    width: 80%;
    text-align: justify;
    line-height: 1.5em;
    padding: 0 10px;
}

#group-title {
    margin-top: 5px;
    position: relative;
    border-bottom: 1px solid rgb(233, 233, 233);
    background-color: #dedede;
}

#group-title .group-title-text {
    font-size: 1.2em;
    font-weight: bold;
    margin-left: 8px;
    line-height: 35px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

#group-title .group-title-inner {
    display: flex;
    position: absolute;
    z-index: 1;
    width: 100%;
    bottom: 0;
    left: 0;
    height: 35px;
    padding: 0 5px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

#group-title .group-title-inner-left {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    width: 100%;
    color: #fff;
}

#group-title .group-title-inner-right {
    display: flex;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

/*-------------------------------------------------------------End container-----------------------------------------------------------------------------------*/

i.arrow {
    border: solid #747474;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 4px;
    margin-top: 0px;
}

i.down {
    float: right;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

i.up {
    float: right;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.group_selected {
    background-color: #fff;
}

/*-------------------------------------*/

#spanInbox {
    background-repeat: no-repeat;
    display: flex;
    height: 20px;
    width: 20px;
    background-image: url(../img/iconSprites.png);
    background-repeat: no-repeat;
    background-size: 60px;
    background-clip: content-box;
    background-position: -20px -160px;
    cursor: pointer;
    border-width: 7px;
    border-style: solid;
    border-color: transparent;
    margin-right: 10px;
}

#spanHome {
    background-repeat: no-repeat;
    display: flex;
    height: 20px;
    width: 20px;
    background-image: url(../img/iconSprites.png);
    background-repeat: no-repeat;
    background-size: 60px;
    background-clip: content-box;
    background-position: 0 -180px;
    cursor: pointer;
    border-width: 7px;
    border-style: solid;
    border-color: transparent;
    margin-right: 10px;
}

#GroupFunction {
    height: 20px;
    width: 20px;
    background-image: url(../img/iconSprites.png);
    background-repeat: no-repeat;
    background-size: 60px;
    background-clip: content-box;
    background-position: -40px -160px;
    font-size: 1em;
    color: #555;
    z-index: 110;
    border-width: 7px;
    border-style: solid;
    border-color: transparent;
    text-decoration: none;
    cursor: pointer;
    display: flex;
}

#div-post-0 {
    margin-top: 15px;
}

#GroupFunction:hover {
    opacity: 1;
}

.centerBold {
    text-align: center;
    font-weight: bold;
}

.banGroup {
    color: #999 !important;
}

#imgTimeline {
    height: 200px;
    position: relative;
    background-color: #dedede;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#imgTimeline p {
    font-weight: bold;
    font-size: 1.5em;
    color: #fff;
}

.spannoticeGroup {
    color: #ffffff;
    background-color: #009c58;
    padding-right: 10px;
    margin-top: 15px;
    text-align: right;
    cursor: pointer;
    height: 32px;
    display: inline-block;
    line-height: 32px;
    float: right;
    font-size: 1em;
    white-space: nowrap;
}

.spannoticeGroup:before {
    display: inline-block;
    content: " ";
    background: url(../img/comment_alert.png) no-repeat;
    width: 16px;
    height: 13px;
    margin-right: 5px;
    margin-left: 10px;
}

.spannoticeGroup:hover {
    text-decoration: underline;
}

/*----------------------file--------------------*/

#titlePage {
    color: #FFFFFF;
    font-size: 1.3em;
    font-weight: bold;
    position: absolute;
    top: calc(50% - 8px);
    z-index: 999;
    left: calc(50% - 50px);
}

/*---------------------*/

/*-------------------------------------------------------*/

@media only screen and (max-width: 1360px) {
    #content-left-box {
        width: 300px;
    }
}

@media only screen and (max-width: 1200px) {
    body {
        font-size: 0.9em;
    }
    #header-right {
        right: 5px
    }
    #header-inner,
    #container {
        max-width: 1000px;
        padding-right: 0;
    }
    #content-right-box {
        display: none;
    }
}

/* iPads (portrait and landscape) ----------- */

@media only screen and (max-width: 768px) {
    
    #container {
        height: auto;
    }
    .info-box-info {
        padding-right: 5px;
    }
    .mobileHide {
        display: none;
    }
    #allSearch {
        width: calc(100% - 345px);
    }
    
}

/* Smartphones (portrait and landscape) ----------- */

@media only screen and (max-width: 568px) {
    .hiddenforce {
        display: none !important;
    }
    #group-title {
        margin-top: 0px;
    }
    .meSlideBar {
        display: inline-block;
    }
    #header-right {
        right: 50px
    }
    #container {
        display: block;
        height: auto;
        padding-bottom: 0px;
    }
    #content-left-box {
        position: absolute;
        left: -100%;
        width: 100%;
        z-index: 100;
        padding: 50px 0 0 0;
    }
    #content-center-box {
        padding: 0px;
        display: block;
    }
    
    .info-box-info {
        padding-right: 5px;
    }
    .mobileHide {
        display: none;
    }
    #imgTimeline {
        height: 150px;
    }
    .timeLine-box-avatar {
        width: 126px;
        height: 126px;
        left: calc(50% - 63px);
        top: 18px;
    }
    .timeLine-box-avatar #iAvatar {
        width: 120px;
        height: 120px;
    }
    #allSearch {
        display: none;
        width: calc(100% - 80px);
    }
}
