/*General body style */
* {
	box-sizing: border-box;
}

body {
	font-family:"Segoe UI",sans-serif;
    /*font-size:17px;*/
    /*font-family: "Segoe UI", Arial; */
	width:98%;
	height:100%;
	margin-left: auto;
	margin-right: auto;
}

.container {
   height: 100vh;
}

hr{ 
  display: block;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  margin-left: auto;
  margin-right: auto;
  border-style: inset;
  border-width: 1px;
} 

/*---------------------------------------------------------------*/
/* The side navigation menu */
.sidenav {
  height: 100%; /* 100% Full-height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 1; /* Stay on top */
  top: 0; /* Stay at the top */
  left: 0;
  background-color: #111; /* Black*/
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 60px; /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}

/* The navigation menu links */
.sidenav a {
  padding: 8px 8px 8px 30px;
  text-decoration: none;
  font-size: 14px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
  transition: margin-left .5s;
  padding: 10px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

.header {
 /*background-color: #9933cc;
 color: #0099cc;*/
 padding: 10px;
}

/* Clear floats after the columns */
.row:after {
 content: "";
 clear: both;
 display: block;
}

.footer {
	/*background-color: #0099cc;
	color: #ffffff;
	text-align: center;*/
	font-size: 8px;
	padding: 5px;
}

.btn {
	float: right;
    border: none; 
	border-radius: 4px;
	font-size: 16px;
	font-weight:bold;
    color: white; 
    padding: 10px 30px; 
    cursor: pointer; 
}
.success {background-color: #4CAF50;} /* Green */
.success:hover {background-color: #46a049;}

textarea {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	font-family: Helvetica, 'Helvetica Neue', Arial, "Segoe UI", sans-serif;
    font-size: 20px;
	box-sizing: border-box;
	width: 100%;
	resize: vertical;	
	margin-top: 5px;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 5px;
}

input[type=checkbox] {
    vertical-align: bottom;
    position: relative;
	width: 15px;
    height: 15px;
	padding: 0;
	margin: 0;
    /*bottom: 1px;*/
	top: -1px;
}
		
label {
	display: block;
}

[class*="col-"] {
	 float: left;
	 padding: 5px;
}

/* For desktop: */
.col-left {width: 50%;}
.col-right {width: 50%;}
.col-full {width: 98%;}
.col-messages {
	margin-top: 7px;
	display: block;
	height: 350px;
	width: 50%;	
	box-sizing: border-box;
	//border: 1px solid #ccc;
	padding:0;
	margin-bottom: 10px;    
}

#messages {
	display:block;
	max-height:450px;
	overflow-y: auto;
	box-sizing: border-box;
	border: 1px solid #ccc;
	padding: 10px;
	width:100%;
	height:93%;		
	padding: 10px;
	align-items: center;
	border-radius: 5px;
	justify-content: center;
}

.message {
	background-color: #9E9E9E; 
	//border-radius: 5px;
	color: white;
	padding: 5px; 
}
	
.reply {
	background-color: #BDBDBD; 
	//border-radius: 5px; 
	margin-bottom: 5px; 
	padding: 10px;
}

.reply_intro {
	background-color: #BDBDBD; 
	margin-bottom: 5px; 
	padding: 10px; 
	//font-size: 14px;
}

/* Style the close button (span) */
.close {
	cursor: pointer;  
	float:right;
    display:inline-block;
    padding:2px 5px;
    background:#fff;
}

.close:hover {background: #ccc;}

.dot {
	display: inline-block;
	animation: animate 1s infinite;
}
@keyframes animate {
	0% { transform: scale(1); }
	50% { transform: scale(1.5); }
	100% { transform: scale(1); }
}

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

@media only screen and (max-width: 1024px) {
 /* For mobile phones: */
 [class*="col-"] {
 width: 98%;
 }
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media only screen and (max-width: 600px) {
  body{width:98%;}
 /* For mobile phones: */
 [class*="col-"] {
 width: 100%;
 } 
 .img_scale{
		width: 50%;	
  }
}

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
  
  .col-messages {
	  height: 250px;
  }
  .btn {
	padding: 10px 10px;
}
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

div.scroll { 
		margin:4px, 4px; 
		padding:4px; 
		//background-color: green; 
		width: 100%px; 
		max-height: 150px;
		height: auto;
		overflow-x: auto; 
		overflow-y: auto; 
		text-align:justify;		
	} 

	.words {
		width: 100%;
	}

	.word {
		display: inline-block;
		padding: 2px 5px 1px 5px;
		border-radius: 2px;
		background: #00B1E6;
		color: white;
		margin: 2px;
		cursor: pointer;
	}
		
	.divnullblock{
		display: inline-block;
		padding: 2px 5px 1px 5px;
		background: #fc0303;
		color: white;
		margin: 2px;
		font-weight: bold;
		cursor: pointer;
	}
		
	.divnowordblock{
		display: inline-block;
		padding: 2px 5px 1px 5px;
		background: #ff7700;
		color: white;
		margin: 2px;
		font-weight: bold;
		cursor: pointer;	
	}

	.fa-exchange:hover {
		/*background: #d60e96;*/
		color: red !important;
		cursor:pointer;
	}
	
	.fa-times:hover {
		/*background: #d60e96;*/
		color: red !important;
		cursor:pointer
	}
	
	.tab_left {
	  //width:70%;
	  overflow: hidden;
	  float: left;
	  padding: 0px 2px;
	}

	.tab_right {
	  overflow: hidden;
	  float: right;
	  
	}
	.tab_out {
	  overflow: hidden;
	  float: right;
	  padding: 1px 2px;
	}

.img_scale {
	  max-width: 50%;
	  height: auto;
}