body {
	margin: 0;
	background-color: #DDD;
	font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", sans-serif;
	font-size: 1em;
}



/*---WRAPPER---*/

.wrapper {
	min-height: calc(100vh - 5em - 30px);
}



/*---MENU-TOP---*/

.menu-top {
	list-style-type: none;
	margin: 0;
	padding: 0;
	background-color: #333;
	position: fixed;
	top: 0;
	width: 100%;
}
.menu-top li {
	float: left;
}
.menu-top a {
	border: none;
	outline: none;
	display: block;
	color: white;
	text-align: center;
	text-decoration: none;
	background-color: #333;
	cursor: pointer;
}
.menu-top a:not(.img) {
	padding: 14px 16px;
}
.menu-top a:hover:not(.active) {
	background-color: #111;
}
.menu-top a:hover:not(.active) i.zoom {
    transition: .2s;
    transform: scale(1.2);
}
.menu-top a:hover:not(.active) i.rotate {
    transition: .5s;
    transform: rotate(-180deg);
}
.menu-top a:hover:not(.active) i.rotatezoom {
	transition:.5s;
	transform: rotate(-180deg) scale(1.2);
}
.menu-top a.active {
	background-color: #4CAF50;
}
.menu-top a.img {
	padding: 3.4px 16px;
}
.menu-top .dropdown-content {
	display: none;
	position: absolute;
}
.menu-top .dropdown:hover > .dropdown-content {
	display: block;
}
.menu-top .dropdown:hover i.rotate {
	transition: .5s;
    transform: rotate(-180deg);
}
.menu-top a img {
	vertical-align: middle;
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 50px;
}




/*---MODAL---*/

.modal {
  	display: none;
  	position: fixed;
  	z-index: 1;
  	left: 0;
  	top: 0;
  	width: 100%;
  	height: 100%;
  	overflow: auto;
  	background-color: rgba(0,0,0,0.4);
  	padding-top: 60px;
}
.modal form {
  	background-color: #fefefe;
  	margin: 5% auto 15% auto;
  	border: 1px solid #888;
	border-radius: 12px;
  	width: 80%;
}
.modal .header {
  	text-align: center;
  	margin: 24px 0 12px 0;
  	position: relative;
}
.modal .container {
    padding: 16px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}
.modal .error {
	padding: 8px 20px;
	margin: 16px;
	background-color: rgba(200,0,0,0.2);
	border: 1px solid #C80000;
	border-radius: 4px;
	outline: none;
	color: #C80000;
	font-size: 30px;
  	font-weight: bold;
}
.modal .success {
	padding: 8px 20px;
	margin: 16px;
	background-color: rgba(0,200,0,0.2);
	border: 1px solid #00C800;
	border-radius: 4px;
	outline: none;
	color: #00A800;
	font-size: 30px;
  	font-weight: bold;
}
.modal dl {
	margin: 0;
}
.modal dt {
	float: left;
    	width: 40%;
}
.modal dt.input {
	margin-top: 18px;
}
.modal dd {
	margin-bottom: 3px;
}
.modal img {
	width: 100px;
	height: 100px;
	object-fit: cover;
	float: left;
	margin-right: 20px;
}
.modal input[type=text], .modal input[type=password], .modal input[type=file] {
	width: 100%;
	padding: 15px 20px;
	margin: 8px 0;
	display: inline-block;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	outline: none;
}
.modal input[type=text]:hover, .modal input[type=password]:hover, .modal input[type=file]:hover, .modal input[type=text]:focus, .modal input[type=password]:focus, .modal input[type=file]:focus {
	border: 1px solid gray;
	border-radius: 8px;
}
.modal button {
	background-color: #4CAF50;
	border: none;
	border-radius: 4px;
	color: white;
	padding: 14px 20px;
	margin-top: 8px;
	cursor: pointer;
	outline: none;
}
.modal button:hover, .modal button:focus {
	background-color: #3C9F40;
	border-radius: 6px;
	outline: none;
}
.modal button.deletebtn {
	background-color: #E43326;
}
.modal button.deletebtn:hover, .content button.deletebtn:focus {
	background-color: #D42316;
}
.modal button.cancelbtn {
  	padding: 10px 18px;
  	background-color: #F44336;
	margin: 0;
}
.modal button.cancelbtn:hover, .modal button.cancelbtn:focus {
  	background-color: #E43326;
}
.modal .bottom {
	width: 33%;
	float: left;
	padding-top: 8px;
}
.modal .close {
  	position: absolute;
  	right: 25px;
  	top: 0;
  	color: #000;
  	font-size: 35px;
  	font-weight: bold;
}
.modal .close:hover, .modal .close:focus {
  	color: #E43326;
  	cursor: pointer;
}
.modal .animate {
  	-webkit-animation: animatezoom 0.6s;
  	animation: animatezoom 0.6s
}
@-webkit-keyframes animatezoom {
  	from {-webkit-transform: scale(0)} 
  	to {-webkit-transform: scale(1)}
}  
@keyframes animatezoom {
  	from {transform: scale(0)} 
  	to {transform: scale(1)}
}
@media screen and (max-width: 300px) {
  	span.psw {
     		display: block;
     		float: none;
  	}
  	.cancelbtn {
     		width: 100%;
  	}
}




/*---CONTENT---*/

.content {
	padding: 20px;
	margin-top: 30px;
	padding-top: 17px;
}
.content a {
	color: #C80000;
	text-decoration: none;
}
.content a:hover {
	color: #900000;
}
.content table {
	border-collapse: collapse;
	width: 50%;
	overflow-x: auto;
}
.content table, .content th, .content td {
	border: 1px solid black;
	text-align: left;
}
.content th, td {
	padding: 8px;
}
.content th {
	background-color: #7D7D7D;
	color: white;
	font-weight: bold;
	text-align: center;
}
.content input[type=text], .content select, .content input[type=password], .content input[type=color], .content input[type=date], .content input[type=file], .content input[type=range], .content input[type=number], .content textarea {
	width: 100%;
	padding: 15px 20px;
	margin: 8px 0;
	display: inline-block;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	outline: none;
	height: auto;
}
.content input[type=color] {
	height: 50px;
}
.content textarea {
	resize: none;
	overflow: auto;
}
.content input[type=text]:hover, .content select:hover, .content input[type=password]:hover, .content input[type=color]:hover, .content input[type=date]:hover, .content input[type=file]:hover, .content input[type=range]:hover, .content input[type=number]:hover, .content textarea:hover,
.content input[type=text]:focus, .content select:focus, .content input[type=password]:focus, .content input[type=color]:focus, .content input[type=date]:focus, .content input[type=file]:focus, .content input[type=range]:focus, .content input[type=number]:focus, .content textarea:focus {
	border: 1px solid gray;
	border-radius: 8px;
}
.content input[type=submit], .content input[type=button], .content input[type=reset], .content button:not(.animated-button) {
	background-color: #4CAF50;
	border: none;
	border-radius: 6px;
	color: white;
	padding: 14px 20px;
	margin: 8px 0;
	cursor: pointer;
	outline: none;
}
.content input[type=submit]:hover, .content input[type=button]:hover, .content input[type=reset]:hover, .content button:not(.animated-button):hover {
	background-color: #3C9F40;
	border-radius: 8px;
	outline: none;
}
.content input.deletebtn {
	background-color: #E43326;
}
.content input.deletebtn:hover, .content input.deletebtn:focus {
	background-color: #D42316;
}
.content fieldset {
	width: 90%;
}
.content .users {
	width: auto;
	margin: 30px 10px;
}
.content .users img {
	float: left;
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 0;
}
.content fieldset.usrmod {
	width: auto;
	margin: 30px 10px;
}
.content .animated-button {
    width: 200px;
    height: 60px;
    font-size: 24px;
    background-color: #00b3b4;
    border: 1px solid #555;
    border-radius: 8px;
    color: #fff;
    font-family: 'Comic Sans MS', sans-serif;
    outline: none;
}

.content button.animate {
    transition: all 0.3s ease;
}

.content .button {
    display: inline-block;
}

.content .button:hover .hover {
    cursor: pointer;
    background-color: #4CAF50;
    border-radius: 30px;
}



/*---FOOTER---*/

.footer {
	position: relative;
	display: table-cell;
	vertical-align: middle;
	width: 100vw;
	height: 5em;
	background-color: #333;
	text-align: center;
	color: white;
}
.footer a {
	color: #FFFFFF;
}
.footer a:hover {
	color: #CCCCCC;
}


#chat-wrap {
	margin: 0 0 15px 0;
	
	overflow: auto;
	background: white;
	position: relative;
	width: 50%;
	margin: 0 auto -20px;
	position: relative;
	height: calc(100vh - 127px);
}
#chat-area {
	height: 200px;
}
.message {
	position: relative;
	padding: .125rem 48px .125rem 72px;
	min-height: 2.75rem;
	margin-top: 1.0625rem;
}

.message-img {
	position: absolute;
    left: 16px;
    margin-top: calc(4px - .125rem);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.message-header {
	margin: 0;
    padding: 0;
    border: 0;
    font-weight: inherit;
    font-style: inherit;
    font-family: inherit;
    font-size: 100%;
    vertical-align: baseline;
}

.message-name {
	font-size: 1rem;
    font-weight: 500;
    line-height: 1.375rem;
    color: #000;
}

.message-time {
	font-size: 0.75rem;
    line-height: 1.375rem;
    color: #777;
    margin-left: .25rem;
}

.message-text {
	font-size: 1rem;
    line-height: 1.375rem;
    font-weight: 400;
}

#send-area {
	overflow: hidden;
	max-height: 10vh;
	padding-left: 16px;
    padding-right: 16px;
    margin-top: -8px;
	border-radius: 8px;
	margin-bottom: 24px;
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 0;
	background: rgba(0,0,0,0.4);
}

#chat-placeholder {
	padding: 11px 10px 11px 0;
	position: absolute;
}

#sendie {
    box-sizing: border-box;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.375rem;
    width: 100%;
    height: 44px;
	min-height: 44px;
	padding: 11px 10px 11px 0;
	outline: none;
	height: 44px;
	overflow: hidden;
}