body,html{
	height:100%; /*Siempre es necesario cuando trabajamos con alturas*/
}
#header-online{
	background-color: #555;
	color: white;
	padding: 5px;
	text-align: center;
	text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
	font-size: 14px;
	cursor: pointer;
}
#caja-mensaje{
	background-color: #A8DCF7;
	margin: 0 auto;
	padding: 5px;
}
#chat #mensajes .mensaje-autor img, #chat #mensajes .mensaje-amigo img{
	display: inline-block;
	vertical-align: top;
}
#chat .showhidechat #mensajes .mensaje-autor .contenido{
	background-color: white;
	border-radius: 5px;
	box-shadow: 2px 2px 3px rgba(0,0,0,0.3);
	display: inline-block;
	font-size: 13px;
	padding: 15px;
	vertical-align: top;
	width: 176px;
}
#chat #mensajes .mensaje-autor .fecha{
	color: #777;
	font-style: italic;
	font-size: 13px;
	text-align: right;
	margin-right: 35px;
	margin-top: 10px;
}
#chat #mensajes .mensaje-autor .flecha-izquierda{
	display: inline-block;
	margin-right: -6px;
	margin-top: 10px;
	width: 0; 
	height: 0; 
	border-top: 0px solid transparent;
	border-bottom: 15px solid transparent;
	border-right: 15px solid white;
}
#chat #mensajes .mensaje-amigo{
	margin-bottom: 10px;
	padding-left: 2px;
}
#chat .showhidechat #mensajes .mensaje-amigo .contenido{
	background-color: #3990BF;
	border-radius: 5px;
	color: white;
	display: inline-block;
	font-size: 13px;
	padding: 15px;
	vertical-align: top;
	width: 176px;
}
#chat #mensajes .mensaje-amigo .flecha-derecha{
	display: inline-block;
	margin-left: -6px;
	margin-top: 10px;
	width: 0; 
	height: 0; 
	border-top: 0px solid transparent;
	border-bottom: 15px solid transparent;
	border-left: 15px solid #3990BF;
}
#chat #mensajes .mensaje-amigo img, #chat #mensajes .mensaje-autor img{
	border-radius: 5px;
}
#chat #mensajes .mensaje-amigo .fecha{
	color: #777;
	font-style: italic;
	font-size: 13px;
	text-align: left;
	
	margin-top: 10px;
}

#usuariosOnline{
    background-color: white;
    display: inline-block;
    font-size: 13px;
}

#users {
    counter-reset: li; 
    list-style: none; 
    *list-style: decimal; 
    font: 15px 'trebuchet MS', 'lucida sans';
    padding: 0;
    margin-bottom: 4em;
    text-shadow: 0 1px 0 rgba(255,255,255,.5);
	cursor: pointer;
}
#users li{
    position: relative;
    display: block;
    *padding: .4em;
    margin: 0.5em 0 .5em .0em;
    background: #9ee6fc;
    color: #000;
    text-decoration: none;
    transition: all .3s ease-out;   
}

#users li:hover{
    background: #eee;
}   

#users li:before{
    content: counter(li);
    counter-increment: li;
    position: absolute; 
    left: -2.5em;
    top: 50%;
    margin-top: -1em;
    background: #58D68D;
    height: 2em;
    width: 2em;
    line-height: 2em;
    text-align: center;
    font-weight: bold;
}

#users li:after{
    position: absolute; 
    content: '';
    border: .5em solid transparent;
    left: -1em;
    top: 50%;
    margin-top: -.5em;
    transition: all .3s ease-out;               
}

#users li:hover:after{
    left: -.5em;
    border-left-color: #58D68D;             
}

#contenedorUsuarios{
    padding: 0px;
    height: 300px;
    overflow: hidden;
    overflow-y: scroll;
    background-color: rgba(1, 190, 248, 0.38);
}

/*-------------- css boton adjuntar foto ------------------*/

.clase_inputfile_js {
background-color:#A8DCF7;
width:20px;
height:20px;
position:relative;
overflow:hidden;
/*cursor:pointer;*/
background-image: url('http://foros.emprear.com/html/file-input/clip20.jpg');
background-repeat: no-repeat;
background-position: center center;
float: left;
outline: 0px;
}

/*-------------- css para agrandar la foto ------------------*/


/** LIGHTBOX MARKUP **/

.lightbox {
	/** Default lightbox to hidden */
	display: none;

	/** Position and style */
	position: fixed;
	z-index: 999;
	width: 100%;
	height: 100%;
	text-align: center;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
}

.lightbox img {
	/** Pad the lightbox image */
	max-width: 90%;
	max-height: 80%;
	margin-top: 2%;
}

.lightbox:target {
	/** Remove default browser outline */
	outline: none;

	/** Unhide lightbox **/
	display: block;
}

.cd-form {
	/* width: 90%;
	max-width: 600px;
	margin: 4em auto; */
  }
  .cd-form::after {
	clear: both;
	content: "";
	display: table;
  }
  .cd-form fieldset {
	margin: 24px 0;
  }
  .cd-form legend {
	padding-bottom: 10px;
	margin-bottom: 20px;
	font-size: 1em;
	color: white;
	border-bottom: 1px solid #ecf0f1;
  }
  .cd-form div {
	/* form element wrapper */
	position: relative;
	margin: 8px 0;
  }
  .cd-form h4, .cd-form .cd-label {
	font-size: 1.3rem;
	color: #94aab0;
	margin-bottom: 10px;
  }
  .cd-form .cd-label {
	display: block;
  }
  .cd-form input, .cd-form textarea, .cd-form select, .cd-form label {
	font-family: "Open Sans", sans-serif;
	/* font-size: 1.6rem; */
	color: #ffffff;
  }
  .cd-form input[type="text"],
  .cd-form input[type="email"],
  .cd-form textarea,
  .cd-form select,
  .cd-form legend {
	display: block;
	width: 100%;
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	-o-appearance: none;
	appearance: none;
  }
  .cd-form input[type="text"],
  .cd-form input[type="email"],
  .cd-form textarea,
  .cd-form select {
	/* general style for input elements */
	padding: 12px;
	border: 1px solid #cfd9db;
	background-color: #ffffff;
	border-radius: .25em;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.08);
  }
  .cd-form input[type="text"]:focus,
  .cd-form input[type="email"]:focus,
  .cd-form textarea:focus,
  .cd-form select:focus {
	outline: none;
	border-color: #2c97de;
	box-shadow: 0 0 5px rgba(44, 151, 222, 0.2);
  }
  .cd-form .cd-select {
	/* select element wapper */
	position: relative;
  }
  .cd-form .cd-select::after {
	/* arrow icon for select element */
	content: '';
	position: absolute;
	z-index: 1;
	right: 16px;
	top: 50%;
	margin-top: -8px;
	display: block;
	width: 16px;
	height: 16px;
	background: url("../img/cd-icon-arrow.svg") no-repeat center center;
	pointer-events: none;
  }
  .cd-form select {
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	cursor: pointer;
  }
  .cd-form select::-ms-expand {
	display: none;
  }
  .cd-form .cd-form-list {
	margin-top: 16px;
  }
  .cd-form .cd-form-list::after {
	clear: both;
	content: "";
	display: table;
  }
  .cd-form .cd-form-list li {
	/* wrapper for radio and checkbox input types */
	display: inline-block;
	position: relative;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	margin: 0 26px 16px 0;
	float: left;
  }
  .cd-form input[type=radio],
  .cd-form input[type=checkbox] {
	/* hide original check and radio buttons */
	position: absolute;
	left: 0;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
	margin: 0;
	padding: 0;
	opacity: 0;
	z-index: 2;
  }
  .cd-form input[type="radio"] + label,
  .cd-form input[type="checkbox"] + label {
	padding-left: 24px;
  }
  .cd-form input[type="radio"] + label::before,
  .cd-form input[type="radio"] + label::after,
  .cd-form input[type="checkbox"] + label::before,
  .cd-form input[type="checkbox"] + label::after {
	/* custom radio and check boxes */
	content: '';
	display: block;
	position: absolute;
	left: 0;
	top: 50%;
	margin-top: -8px;
	width: 16px;
	height: 16px;
  }
  .cd-form input[type="radio"] + label::before,
  .cd-form input[type="checkbox"] + label::before {
	border: 1px solid #cfd9db;
	background: #ffffff;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.08);
  }
  .cd-form input[type="radio"] + label::before,
  .cd-form input[type="radio"] + label::after {
	border-radius: 50%;
  }
  .cd-form input[type="checkbox"] + label::before,
  .cd-form input[type="checkbox"] + label::after {
	border-radius: .25em;
  }
  .cd-form input[type="radio"] + label::after,
  .cd-form input[type="checkbox"] + label::after {
	background-color: #2c97de;
	background-position: center center;
	background-repeat: no-repeat;
	box-shadow: 0 0 5px rgba(44, 151, 222, 0.4);
	display: none;
  }
  .cd-form input[type="radio"] + label::after {
	/* custom image for radio button */
	background-image: url("../img/cd-icon-radio.svg");
  }
  .cd-form input[type="checkbox"] + label::after {
	/* custom image for checkbox */
	background-image: url("../img/cd-icon-check.svg");
  }
  .cd-form input[type="radio"]:focus + label::before,
  .cd-form input[type="checkbox"]:focus + label::before {
	/* add focus effect for radio and check buttons */
	box-shadow: 0 0 5px rgba(44, 151, 222, 0.6);
  }
  .cd-form input[type="radio"]:checked + label::after,
  .cd-form input[type="checkbox"]:checked + label::after {
	display: block;
  }
  .cd-form input[type="radio"]:checked + label::before,
  .cd-form input[type="radio"]:checked + label::after,
  .cd-form input[type="checkbox"]:checked + label::before,
  .cd-form input[type="checkbox"]:checked + label::after {
	-webkit-animation: cd-bounce 0.3s;
	-moz-animation: cd-bounce 0.3s;
	animation: cd-bounce 0.3s;
  }
  .cd-form textarea {
	min-height: 200px;
	resize: vertical;
	overflow: auto;
  }
  .cd-form input[type="submit"] {
	/* button style */
	border: none;
	background: #2c97de;
	border-radius: .25em;
	padding: 16px 20px;
	color: #ffffff;
	font-weight: bold;
	float: right;
	cursor: pointer;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	-o-appearance: none;
	appearance: none;
  }
  .no-touch .cd-form input[type="submit"]:hover {
	background: #42a2e1;
  }
  .cd-form input[type="submit"]:focus {
	outline: none;
	background: #2b3e51;
  }
  .cd-form input[type="submit"]:active {
	-webkit-transform: scale(0.9);
	-moz-transform: scale(0.9);
	-ms-transform: scale(0.9);
	-o-transform: scale(0.9);
	transform: scale(0.9);
  }
  .cd-form [required] {
	background: url("../img/cd-required.svg") no-repeat top right;
  }
  .cd-form .error-message p {
	background: #e94b35;
	color: #ffffff;
	font-size: 1.4rem;
	text-align: center;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	border-radius: .25em;
	padding: 16px;
  }
  .cd-form .error {
	border-color: #e94b35 !important;
  }
  @media only screen and (min-width: 600px) {
	.cd-form div {
	  /* form element wrapper */
	  /* margin: 32px 0; */
	}
	.cd-form legend + div {
	  /* reduce margin-top for first form element after the legend */
	  /* margin-top: 20px; */
	}
	.cd-form h4, .cd-form .cd-label {
	  font-size: 1em;
	  margin-bottom: 10px;
	}
	.cd-form input[type="text"],
	.cd-form input[type="email"],
	.cd-form textarea,
	.cd-form select {
	  padding: 16px;
	}
  }
  
  @-webkit-keyframes cd-bounce {
	0%, 100% {
	  -webkit-transform: scale(1);
	}
	50% {
	  -webkit-transform: scale(0.8);
	}
  }
  @-moz-keyframes cd-bounce {
	0%, 100% {
	  -moz-transform: scale(1);
	}
	50% {
	  -moz-transform: scale(0.8);
	}
  }
  @keyframes cd-bounce {
	0%, 100% {
	  -webkit-transform: scale(1);
	  -moz-transform: scale(1);
	  -ms-transform: scale(1);
	  -o-transform: scale(1);
	  transform: scale(1);
	}
	50% {
	  -webkit-transform: scale(0.8);
	  -moz-transform: scale(0.8);
	  -ms-transform: scale(0.8);
	  -o-transform: scale(0.8);
	  transform: scale(0.8);
	}
  }
  /* -------------------------------- 
  
  Custom icons
  
  -------------------------------- */
  .cd-form .icon input, .cd-form .icon select, .cd-form .icon textarea {
	padding-left: 54px !important;
  }
  .cd-form .user {
	background: url("../images/cd-icon-user.svg") no-repeat 16px center;
  }
  .cd-form [required].user {
	background: url("../images/cd-icon-user.svg") no-repeat 16px center, url("../images/cd-required.svg") no-repeat top right;
  }
  .cd-form .company {
	background: url("../images/cd-icon-tel.svg") no-repeat 16px center;
  }
  .cd-form [required].company {
	background: url("../images/cd-icon-tel.svg") no-repeat 16px center, url("../images/cd-required.svg") no-repeat top right;
  }
  .cd-form .email {
	background: url("../images/cd-icon-email.svg") no-repeat 16px center;
  }
  .cd-form [required].email {
	background: url("../images/cd-icon-email.svg") no-repeat 16px center, url("../images/cd-required.svg") no-repeat top right;
  }
  .cd-form .budget {
	background: url("../images/cd-icon-budget.svg") no-repeat 16px center;
  }
  .cd-form .message {
	background: url("../images/cd-icon-message.svg") no-repeat 16px 16px;
  }
  .cd-form [required].message {
	background: url("../images/cd-icon-message.svg") no-repeat 16px 16px, url("../images/cd-required.svg") no-repeat top right;
  }
  

  /*  INICIA LOGO */

#inferiorLogoChat {
	display: block;
	padding-left: 95%;
	
}
#inferiorLogoChat img{
	cursor: pointer;
	z-index: 1;
}

#inferiorChat img { 
	background-color: yellow;
  }

body {
    margin-bottom: 0px;
	}

	/* The Modal (background) */
.modalll {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    /*padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.60); /* Black w/ opacity */
}

/* Modal Content */
.modalll-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
	width: 80%;
    position: relative;
    animation: mymove 0.5s;
	animation-fill-mode: forwards;
	
	border-radius: 30px 30px 30px 30px;
	-moz-border-radius: 30px 30px 30px 30px;
	-webkit-border-radius: 30px 30px 30px 30px;
	border: 0px solid #000000;
}

@keyframes mymove {
    from {top: 0px;}
    to {top: 200px;}
}

@keyframes mymoveloading {
    from {top: -200px;}
    to {top: 0px;}
}
/* The Close Button */
.closeee {
    color: #ffffff;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.closeee:hover,
.closeee:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.form_input
{
	font-family: Verdana;
	font-size: 12;
	color: #000000;
	border-width: 0;
	background-color: #d9edf7;
	text-align: center;
	width: 15%
}




	/* The Modal (background) */
	.modaloading {
		display: none;
		position: fixed;
		z-index: 1;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		overflow: auto;
		background-color: rgb(0,0,0);
		background-color: rgba(0,0,0,0.60);
	}
	
	/* Modal Content */
	.modaloading-content {
		right: 0;
		bottom: 0;
		left: 0;
		margin: auto;
	}

.contenedorloading{
	margin: auto;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 130px;
	height: 130px;
	animation: mymoveloading 1s;
    animation-fill-mode: forwards;
}
.loader {
	border: 10px solid #f3f3f3;
    border-radius: 50%;
    border-top: 10px solid #3498db;
    width: 100px;
    height: 100px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 1s linear infinite;
  }
  
  /* Safari */
  @-webkit-keyframes spin {
	0% { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
  }


  .chatWindowFloat {
	box-sizing: border-box;
	z-index: 100;
	position: fixed;
	top: 0;
	left: 60%;
	bottom: 0;
	right: 0;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-direction: row;
	flex-direction: row;
	background-color: #fff;
	border-left: 1px solid #333;
	box-shadow: -12px 0 18px 0 rgba(50,50,50,.3);
	transition: transform .3s cubic-bezier(0.4, 0, 1, 1);
  }

  .morphing_search {
		box-sizing: border-box;
		z-index: 100;
		position: fixed;
		width: 100%;
		left: 100%;
		height: 100%;
		top: 0;
		max-width: 100%;
		overflow: hidden;
		transition-property: all;
		transition-duration: .7s;
		/* background-color: #232364; */
		border-left: 1px solid #464a92;
		box-shadow: -12px 0 18px 0 rgba(50,50,50,.3);
		transition: all 0.5s ease;
		background-image: url(../images/fondo.png);
	}
  
  	.morphing_search.active {
	left: 75%;
	}
	.site-overlay.active{
	 display: block;
	}
	.site-overlay{
		display: none;
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 99;
		background-color: rgba(14, 14, 14, 0.5);
		-webkit-animation: fade 500ms;
		animation: fade 500ms;
	}
  
  	.close-btn {
		position: absolute;
		right: 30px;
		top: 10px;
		background: #f00;
		color: #fff;
		padding: 5px 10px;
	}

	.tool {
		cursor: help;
		position: relative;
	}
	
	
	/*== common styles for both parts of tool tip ==*/
	.tool::before,
	.tool::after {
		left: 50%;
		opacity: 0;
		position: absolute;
		z-index: -100;
	}
	
	.tool:hover::before,
	.tool:focus::before,
	.tool:hover::after,
	.tool:focus::after {
		opacity: 1;
		transform: scale(1) translateY(0);
		z-index: 100;
	}
	
	
	/*== pointer tip ==*/
	.tool::before {
		border-style: solid;
		border-width: 1em 0.75em 0 0.75em;
		border-color: #3E474F transparent transparent transparent;
		bottom: 100%;
		content: "";
		margin-left: -0.5em;
		transition: all .5s cubic-bezier(.84,-0.18,.31,1.26), opacity .65s .5s;
		transform:  scale(.6) translateY(-90%);
	} 
	
	.tool:hover::before,
	.tool:focus::before {
		transition: all .5s cubic-bezier(.84,-0.18,.31,1.26) .2s;
	}
	
	
	/*== speech bubble ==*/
	.tool::after {
		background: #3E474F;
		border-radius: .25em;
		bottom: 104%;
		color: #EDEFF0;
		content: attr(data-tip);
		margin-left: -8.75em;
		padding: 1em;
		transition: all .5s cubic-bezier(.84,-0.18,.31,1.26) .2s;
		transform:  scale(.6) translateY(50%);  
		width: 17.5em;
	}
	
	.tool:hover::after,
	.tool:focus::after  {
		transition: all .5s cubic-bezier(.84,-0.18,.31,1.26);
	}
	
	@media (max-width: 760px) {
	  .tool::after { 
			font-size: .75em;
			margin-left: -5em;
			width: 10em; 
	  }
	}

	/* pintar td editables */
	td.tool:hover {
		outline: -webkit-focus-ring-color auto 5px;
	}


	.header {
		background-color: #f1f1f1;
		padding: 30px;
		text-align: center;
	  }
	  
	  #navbar {
		z-index: 2;
		overflow: hidden;
		text-align: center
		/* background-color: #333; */
	  }
	  
	  #navbar a {
		float: left;
		display: block;
		color: #f2f2f2;
		text-align: center;
		padding: 14px 16px;
		text-decoration: none;
		font-size: 17px;
		width: 50%;
	  }
	  
	  #navbar a:hover {
		background-color: #ddd;
		color: black;
	  }
	  
	  #navbar a.active {
		background-color: #4CAF50;
		color: white;
	  }
	  
	  .content {
		padding: 16px;
	  }
	  
	  .sticky {
		position: absolute;
		top: 0;
		right: 20%;
    	left: 20%;
		padding: 5px;
		background-color: #3c448b00;
		border-bottom-left-radius: 20px;
		border-bottom-right-radius: 20px;
		animation-name: example;
		animation-duration: .5s;  
		animation-fill-mode: forwards;
		animation-delay: .1s;
	  }

	  @keyframes example {
		from {
			position: fixed;
			top: -200px;
		}
		to {
			position: fixed;
			top: 0px; background-color:#3c448b;
		}
	  }
	  
	  .sticky + .content {
		padding-top: 60px;
	  }
