#header-network{
	position: fixed;
	top: var(--header-height);
	right: 0px;
	bottom: 0px;
	left: 0px;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards; 
    animation-delay: 0s;
	}
#header-network[data-active="0"]{
    pointer-events: none !important;
    animation-duration: 200ms;
    animation-name: header_animate_out;
	opacity: 0;
	}
#header-network[data-active="1"]{
    animation-duration: 350ms;
    animation-name: header_animate_in;
	pointer-events: all;
	}
#user-network-create-chat-modal{
    width: 280px;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
    gap: 20px;
    }
#user-network-create-chat-modal > div:nth-child(1) > div{
    width: 180px;
    height: 180px;
    -moz-border-radius: 100px;
    -webkit-border-radius: 100px;
    background-repeat:no-repeat;
    background-position:center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    margin: auto;
    }
#user-network-create-chat-modal > div:nth-child(2) > p{
    text-align: center;
    font-family: var(--font-default);
    }
#user-network-create-chat-modal > div:nth-child(3){
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    gap: 10px;
    }
#user-network-chat{
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    padding: 5px 10px 10px 10px;
    /* border: solid 3px #F00; */
    display: grid;
    grid-template-rows: 50px 1fr 100px;
    grid-gap: 0px;
    gap: 0px;
    }
#user-network-chat-header{
    display: grid;
    grid-template-columns: 50px 60px 1fr;
    grid-gap: 0px;
    gap: 0px;
    background-color: rgba(0, 0, 0, 0.05);
    border-bottom: solid 1px rgba(0, 0, 0, 0.2);
    }
#user-network-chat-header > div{
    /* border: solid 1px #F60; */
    }
#user-network-chat-header > div:nth-child(1){
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 5px;
    cursor: pointer;
    }
#user-network-chat-header > div:nth-child(1) > div{
    aspect-ratio: 1 / 1;
    background-color: #EEE;
    border: solid 1px rgba(0, 0, 0, 0.2);
    width: 30px;
    height: 30px;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    }
#user-network-chat-header > div:nth-child(1):hover > div{
    background-color: #FFF;
    border: solid 1px rgba(0, 0, 0, 0.3);
    }
#user-network-chat-header > div:nth-child(1) > div > svg{
    width: 18px;
    height: 18px;
    }
#user-network-chat-header > div:nth-child(2){
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    }
#user-network-chat-header > div:nth-child(2) > div{
    width: 40px;
    height: 40px;
    aspect-ratio: 1 / 1;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
    -webkit-box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
    box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
    background-repeat:no-repeat;
    background-position:center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    }
#user-network-chat-header > div:nth-child(3){
    display: flex;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    }
#user-network-chat-header > div:nth-child(3) > div > strong{
    display: block;
    font-size: 0.875rem;
    font-family: var(--font-ui);
    }
#user-network-chat-header > div:nth-child(3) > div > label{
    display: block;
    font-size: 0.75rem;
    font-family: var(--font-ui);
    }
#user-network-chat-stage{
    /* border: solid 2px rgba(0, 0, 0, 0.2); */
    overflow: auto;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    transition: all 0.4s ease;
    }
.user-network-chat-message{
    display: flex;
    width: 100%;
    padding: 3px;
    }
.user-network-chat-message > div{
    display: block;
    width: 85%;
    padding: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    }
.user-network-chat-message > div > p{
    font-family: var(--font-default);
    font-size: 0.9rem;
    line-height: 130%;
    }
.user-network-chat-message > div > span{
    display: block;
    font-family: var(--font-ui);
    font-size: 0.7rem;
    color: rgba(0, 0, 0, 0.7);
    margin-top: 2px;
    }
.user-network-chat-message[data-author='me']{
    justify-content: flex-end;
    }
.user-network-chat-message[data-author='me'] > div{
    background-color: #BEC;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    }
.user-network-chat-message[data-author='me'] > div > *{
    text-align: right;
    }
.user-network-chat-message[data-author='other'] > div{
    background-color: #EEE;
    }
.user-network-chat-message[data-author='other'] > *{
    text-align: left;
    }
#user-network-chat-form{
    border: solid 3px var(--color-primary);
    display: grid;
    grid-template-columns: 1fr 40px;
    grid-gap: 0px;
    gap: 0px;
    }
#user-network-chat-form > div:nth-child(1) > textarea{
    width: 100%;
    height: 100%;
    }
#user-network-chat-form > div:nth-child(2){
    background-color: var(--color-primary);
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    }
@keyframes header_animate_out {
    from {
        transform: translatey(0px);
        opacity: 1;
        }
    to {
        transform: translatey(20px);
        opacity: 0;
        }
    }
@keyframes header_animate_in {
    from {
        transform: translatey(100px);
        opacity: 0;
        }
    to {
        transform: translatey(0px);
        opacity: 1;
        }
    }
#header-network-content{
	position: absolute;
	width: 380px;
	max-width: 96vw;
	top: 0px;
	right: 0px;
	bottom: 0px;
	}
#header-network-pointer{
	display: block;
	width: 15px;
	height: 15px;
	transform: rotate(45deg);
	position: absolute;
	top: 3px;
	right: calc(var(--header-height) + calc(var(--header-height)/2) - 10px);
	background-color: #FFF;
	}
#header-network-stage{
	position: absolute;
	top: 10px;
	right: 10px;
	bottom: 10px;
	left: 10px;
    display: grid;
    grid-template-rows: 50px auto;
    grid-gap: 0px;
    gap: 0px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
	-webkit-box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
	box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
	background-color: #FFF;
    overflow: hidden;
	}
#header-network-stage-menu{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 5px;
    gap: 5px;
    padding: 10px 10px 0px 10px;
    border-bottom: solid 1px rgba(0, 0, 0, 0.2);
    }
.header-network-stage-menu-item{
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    font-family: var(--font-ui);
    font-size: 0.875rem;
    -moz-border-top-left-radius: 10px;
    -webkit-border-top-left-radius: 10px;
    -moz-border-top-right-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    border: solid 1px rgba(0, 0, 0, 0);
    cursor: pointer;
    }
.header-network-stage-menu-item[data-active='0']{
    background-color: rgba(0, 0, 0, 0.05);
    color: #666;
    }
.header-network-stage-menu-item[data-active='1']{
    background-color: var(--color-primary);
    color: #FFF;
    }
.header-network-stage-menu-item:hover{
    border: solid 1px rgba(0, 0, 0, 0.2);
    }
.header-network-stage-menu-item[data-notify='1'] > div{
    display: table;
    width: 10px;
    height: 10px;
    margin-right: 5px;
    background-color: var(--color-alert);
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    }
.header-network-stage-menu-item[data-notify='0'] > div{
    display: none;
    }
.header-network-stage-areas{
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    padding: 10px;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    transition: all 0.4s ease;
    }
.header-network-stage-areas[data-active='0']{
    opacity: 0;
    pointer-events: none;
    }
.header-network-stage-areas[data-active='1']{
    opacity: 1;
    }
#header-network-stage > div{
    position: relative;
    }
#header-network-stage-list{
    /* border: solid 1px #F60; */
    display: grid;
    grid-template-rows: 40px 1fr;
    grid-gap: 10px;
    gap: 10px;
    }
#header-network-stage-list-find{
    position: relative;
    }
#header-network-stage-list-find > input{
    width: 100%;
    height: 100%;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    border: solid 2px rgba(0, 0, 0, 0.2);
    background-color: #F3F3F3;
    text-indent: 10px;
    -moz-box-shadow: inset 1px 1px 3px rgba(0,0,0,0.1);
    -webkit-box-shadow: inset 1px 1px 3px rgba(0,0,0,0.1);
    box-shadow: inset 1px 1px 3px rgba(0,0,0,0.1);
    }
#header-network-stage-list-find-icon{
    position: absolute;
    top: 5px;
    right: 5px;
    bottom: 5px;
    width: 30px;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    background-color: var(--color-secondary);
    cursor: pointer;
    }
#header-network-stage-list-find-icon > svg{
    fill: #FFF;
    width: 16px;
    height: 16px;
    }
#header-network-stage-list-results{
    border: solid 1px rgba(0, 0, 0, 0.1);
    padding: 5px;
    overflow: auto;
    }
.header-network-list-item{
    display: grid;
    grid-template-columns: 15px 70px 1fr;
    grid-gap: 5px;
    gap: 5px;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.05);
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    margin-bottom: 5px;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    transition: all 0.4s ease;
    }
.header-network-list-item:hover{
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    }
.header-network-list-item-status{
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    }
.header-network-list-item[data-alert='1'] > .header-network-list-item-status > div{
    display: block;
    width: 10px;
    height: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    background-color: var(--color-alert);
    }
.header-network-list-item[data-alert='0'] > .header-network-list-item-status > div{
    display: none;
    }
.header-network-list-item-photo{
    display: block;
    aspect-ratio: 1 / 1;
    background-color: rgba(0, 0, 0, 0.2);
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    margin-right: 5px;
    background-repeat:no-repeat;
    background-position:center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    }
.header-network-list-item-name{
    display: flex;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    font-family: var(--font-default);
    font-size: 0.9rem;
    pointer-events: none;
    }
.header-network-list-item-name > div > label{
    font-weight: bold;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    }
.header-network-list-item-name > div > span{
    display: block;
    font-size: 0.8rem;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    }
.header-network-stage-list-results-fail{
    display: block;
    padding: 5px;
    margin: 5px;
    text-indent: 5px;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    border-left: solid 5px #F00;
    }
.header-network-stage-list-results-loading{
    display: block;
    width: 100%;
    padding: 10px;
    }
.header-network-stage-list-results-loading > div{
    margin: auto;
    width: 24px;
    height: 24px;
    animation-duration: 2200ms;
    animation-name: header_network_loading_animate;
    animation-timing-function: linear;
    animation-fill-mode: forwards; 
    animation-iteration-count: infinite;
    }
.header-network-stage-list-results-loading > div > svg{
    width: 100%;
    height: 100%;
    }
@keyframes header_network_loading_animate {
      0% {
          transform: rotate(0deg);
          }
      50% {
        transform: rotate(179deg);
      }
      100% {
        transform: rotate(359deg);
      }
  }