html,body{
    margin: 0px;
    padding: 0px;
    top: 0px;
    height: 100%;
    background-color:steelblue;
}
#main {
    height: 100%;
    width: 100%;
}
#title {
    /*background-color:cornflowerblue;
    background-color:aliceblue;
    background-color:azure;
    background-color:beige;
    background-color:bisque;
    background-color:blanchedalmond;
    background-color:cornsilk;*/
    background-color:aliceblue;
    height: 50px;
    position:relative;
}

#wrapper {
    background-color:steelblue;
    height: calc(100% - 100px);/*不够精确，最下面的内容显示不全*/
    width: 100%;
    position:fixed;
}

#tabs {
    overflow: hidden;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style:none;
    position:fixed;
    top:20px;
}

#tabs li {
    float: left;
    margin: 0 -15px 0 0;
}

#tabs a {
    float: left;
    position: relative;
    height: 0; 
    line-height: 30px;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    border-right: 30px solid transparent;
    border-bottom: 30px solid #3D3D3D;
    border-bottom-color:black;
    opacity: 0.5;
    filter: alpha(opacity=30);	  
    cursor: pointer;
    border-radius:10px 0 0 0;
}
/*手机*/
@media screen and (max-width:600px){
    #tabs a {
        padding: 0 10px;
    }
}
/*平板*/
@media screen and (min-width:600px) and (max-width:960px){
    #tabs a {
        padding: 0 30px;
    }
}
/*PC*/
@media screen and (min-width:960px){
    #tabs a {
        padding: 0 40px;
    }
}

#tabs a:hover,
#tabs a:focus {
    border-bottom-color:darkslateblue;
    opacity: 1;
    filter: alpha(opacity=100);
}

#tabs a:focus {
    outline: 0;
}

#tabs .selected {
    z-index: 3;
    border-bottom-color:darkslateblue;
    opacity: 1;
    filter: alpha(opacity=100);	  
}

.tabContent{
    display: none;
    width: 100%;
    height: 100%;
    margin-top: 0px;
    margin-left: 0px;
    overflow: auto;
    text-align:left; 
    padding:0px; 
    margin:2px;
    text-align: center;
    /*color:silver;

    background: -webkit-radial-gradient(50% 50%,black,darkslateblue,darkslateblue);     
    background: -moz-radial-gradient(50% 50%,black,darkslateblue,darkslateblue); 

    background: -webkit-linear-gradient(top,cornflowerblue,white,darkslateblue);     
    background: -moz-linear-gradient(top,cornflowerblue,white,darkslateblue); 

    background: -webkit-linear-gradient(top,white,lightsteelblue,silver);     
    background: -moz-linear-gradient(top,white,lightsteelblue,silver); */
}

.tabContentShow{
    display:inline-block;
}

/***content***/
.tabContent ul{
    /* 定宽居中 */
    margin: 0;
    padding: 0;
}

.tabContent ul li{
    list-style: none;	
    display: inline-block;
    width: 280px;/*calc((1150px - 60px) / 5);*/
    box-sizing: border-box;
    padding: 35px;
    
}

.tabContent ul li:hover{
    background-color:darkslategray;
    border-radius: 25px;
}

.tabContent ul li img{
    width: 80%;
    border-radius: 25px;
}

.tabContent ul li p {
    margin: 15px auto;
    text-align: center;
    background-color:darkslategray;
    border-radius: 25px;
}

.tabContent ul li a p label {
    cursor: pointer;
    font-size: 26px;
}

.tabContent ul li a{
    text-decoration: none;
    color: white;
    font-size: 26px;
}

#searchAdd{
    text-align: center;
    visibility: visible;
}

/*搜索框3*/
.search-container input[type=text] {
    padding: 4px;
    margin-top: 8px;
    font-size: 15px;
    width: 400px;
    border: none;
    border-radius: 25px;
}

.searchBtn {
    padding: 4px 7px;
    margin-top: 8px;
    background: transparent;
    font-size: 15px;
    border: none;
    cursor: pointer;
    border-radius: 25px;
    margin-left: -32px;
}


.addBtn{
    cursor: pointer;
    padding: 3px 6px;
    border-radius: 5px;
    border: none;
}

.addBtn:hover {
    background: #ccc;
}

@media screen and (max-width: 600px) {
    .search-container input[type=text] {
        width: 280px;
    }
}

.empty_content_family,.empty_content_friends,.empty_content_devices{
    font-size: 32px;
    color: white;
    display: none;
}

.logined_content_family,.logined_content_friends,.logined_content_devices{
    display: none;
}

.unlogin_content, .unlogin_content_me{
    display: none;
}

.logined_me{
    display: none;
}

.search_content{
    display: none;
    color: white;
    border-width: 1px; 
    border-left: none;
    border-right: none;
    border-bottom: none;
    border-color:white; 
}

.search_content legend{
    font-size: 20px;
}
.search_content legend a{
    text-decoration: none;
    color:thistle;
    background-color: black;
    font-size: 20px;
    border-radius: 5px;
}
.search_content legend a:hover{
    background-color: darkslategrey;
}
.modify_profile_btn{
    border-radius: 15px;
    background-color: cadetblue;
    color: white;
    display: inline;
    cursor: pointer;
    width: 80px;
    height: 60px;
    margin-left: 10px;
    margin-bottom: 10px;
    font-size: 26px;
}
.modify_profile_btn:hover{
    background-color:blue;
}

/**------>文字闪烁特效**/
.flashText{
    font-family: 'fangsong';
    font-size: 16px;
    color: transparent;
}
.flashText span{
   display: table-cell;
   animation: san 3s linear infinite;
}
.flashText span:nth-child(1){
    animation-delay:0s;
}
.flashText span:nth-child(2){
    animation-delay:0.1s;
} 
.flashText span:nth-child(3){
    animation-delay:0.2s;
}
.flashText span:nth-child(4){
    animation-delay:0.3s;
}
.flashText span:nth-child(5){
    animation-delay:0.4s;
}
.flashText span:nth-child(6){
    animation-delay:0.5s;
}
.flashText span:nth-child(7){
    animation-delay:0.6s;
}
.flashText span:nth-child(8){
    animation-delay:0.7s;
}
.flashText span:nth-child(9){
    animation-delay:0.8s;
}
.flashText span:nth-child(10){
    animation-delay:0.9s;
}
@keyframes san{
    0%,100%{
        color: rgb(255, 255, 255);         
        text-shadow: 0 0 5px rgb(1, 231, 247),
                    0 0 15px rgb(1, 231, 247),
                    0 0 25px rgb(1, 231, 247),
                    0 0 50px rgb(1, 231, 247),
                    0 0 80px rgb(1, 231, 247),
                    0 0 120px rgb(1, 231, 247),
                    0 0 160px rgb(1, 231, 247),
                    0 0 200px rgb(1, 231, 247),
                    0 0 300px rgb(1, 231, 247),
                    0 0 400px rgb(1, 231, 247),
                    0 0 500px rgb(1, 231, 247);
    }
    20%,80%{
       color: transparent;
       text-shadow: none;
    }
}
/**文字闪烁特效<--------**/

/**------>选项卡未读消息的闪烁特效**/
.flashText_unread{
    font-family: 'fangsong';
    font-size: 20px;
    color: transparent;
}
.flashText_unread span{
   display: table-cell;
   animation: san 1s linear infinite;
}
.flashText_unread span:nth-child(1){
    animation-delay:0s;
}
.flashText_unread span:nth-child(2){
    animation-delay:0s;
} 
.flashText_unread span:nth-child(3){
    animation-delay:0.2s;
}
.flashText_unread span:nth-child(4){
    animation-delay:0.3s;
}
.flashText_unread span:nth-child(5){
    animation-delay:0.4s;
}
.flashText_unread span:nth-child(6){
    animation-delay:0.5s;
}
.flashText_unread span:nth-child(7){
    animation-delay:0.6s;
}
.flashText_unread span:nth-child(8){
    animation-delay:0.7s;
}
.flashText_unread span:nth-child(9){
    animation-delay:0.8s;
}
.flashText_unread span:nth-child(10){
    animation-delay:0.9s;
}

/**选项卡未读消息的闪烁特效<--------**/

/**------>用户未读消息的闪烁特效**/
.flashText_unread_user{
    font-family: 'fangsong';
    font-size: 16px;
    color: transparent;
}
.flashText_unread_user span{
   display: table-cell;
   animation: san 3s linear infinite;
}
.flashText_unread_user span:nth-child(1){
    animation-delay:0s;
}
.flashText_unread_user span:nth-child(2){
    animation-delay:0.1s;
} 
.flashText_unread_user span:nth-child(3){
    animation-delay:0.2s;
}
.flashText_unread_user span:nth-child(4){
    animation-delay:0.3s;
}
.flashText_unread_user span:nth-child(5){
    animation-delay:0.4s;
}
.flashText_unread_user span:nth-child(6){
    animation-delay:0.4s;
}
.flashText_unread_user span:nth-child(7){
    animation-delay:0.5s;
}
.flashText_unread_user span:nth-child(8){
    animation-delay:0.6s;
}
.flashText_unread_user span:nth-child(9){
    animation-delay:0.7s;
}
.flashText_unread_user span:nth-child(10){
    animation-delay:0.8s;
}

/**未读消息的闪烁特效<--------**/

.newAccount {
    display: block;
}
