@charset "utf-8";
@import url('https://fonts.cdnfonts.com/css/halimun');
* {
	margin: 0px;
	padding: 0px;
	border: 0px;
	background-repeat: no-repeat;
}
body {
	height: 100%;
	background-color: #e8e9e3;
}
#Global {
	background-color: #87b4b6;
	width: 100%;
	margin-right: auto;
	margin-bottom: auto;
	margin-left: auto;
}
#Cabecera {
	height: 200px;
	width: 100%;
	background-image: url(../Objetos/Logo_Narcis.png);
	background-position: 3%;
	background-color: #507d80;
	overflow:hidden;
}
#titulo {
	width:60%;
	position: relative;	
	float:left;
}
#enlaces {
	width:40%;
	position: relative;	
	float:left;
}
#Cabecera h1{
	color:#FFF;
	font-family: 'Halimun', sans-serif;
	font-size: 1.6em;
	top: 40px;
	padding-left: 10em;
	position: relative;
}
#Cabecera h2{
	color:#BEFCFF;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	font-size: 1.6em;
	top: 40px;
	padding-left: 10em;
	position: relative;
}
#Cabecera h3{
	color:#BEFCFF;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	font-size: 1.6em;
	top: 40px;
	padding-left: 10em;
	position: relative;
}
#Cabecera ul {
	position: relative;
	float:right;
	width:auto;
	padding-top: 160px;
	padding-right: 2em;
}
#Cabecera ul li {
	float: left;
	list-style-type: none;
	font-family: "Times New Roman", Times, serif;
	font-size: 16px;
	font-weight: bold;
	position: relative;
	margin-left: 20px;
}
#Cabecera ul li a {
	text-decoration: none;
	color: #FFF;
	position: relative;
	display: block;
}
#pie {
	height: 120px;
	width: 100%;
	background-color: #507d80;
	border-top:1px solid #BEFCFF;
	overflow: hidden;
	position:relative;
}
#pie-cont {
  	position: absolute;
  	top: 50%;
  	left: 50%;
  	transform: translate(-50%, -50%);
  	width: 60%;
  	height: 80px;	
}
#pie-txt {
	width:35%;
	position: relative;	
	float: left;
	border-right: 1px solid #BEFCFF;
	min-height:80px;
}
#pie-enlaces {
	width:30%;
	position: relative;	
	float:left;
	border-right: 1px solid #BEFCFF;
	min-height:80px;
}
#pie-legal {
	width:30%;
	position: relative;	
	float:left;
	min-height:80px;
}
#pie-txt p {
	color:#BEFCFF;
	font-family:"Comic Sans MS", cursive;
	font-size: 0.8em;
	text-align:center;
}
#pie-txt p.pie-tit {
	margin-top:0.4em;
	font-family:"Comic Sans MS", cursive;
	font-size: 1.6em;
}
#pie-enlaces p {
	color:#BEFCFF;
	font-family:"Comic Sans MS", cursive;
	font-size: 1.2em;
	text-align:center;
}
#pie-enlaces p.seg {
	padding-bottom: 5px;
}
#pie-legal p {
	color:#BEFCFF;
	font-family:"Comic Sans MS", cursive;
	font-size: 1em;
	text-align:center;
}
#pie-legal p.avis {
	padding-top: 5px;
}
#pie-legal a {
	color: #BEFCFF;
	text-decoration: none;
}
#my_popup {
	background-color:#507d80;
	padding: 1em 2em 1em;
}
#my_popup label{
	display: block; 
	font-weight: bold;
	color:#FFF;
}
#my_popup input[type='text'], #my_popup textarea{
	padding: 0.7em 0.6em;
	width: 25em;
	border: 1px solid #CED5D7;
	resize: none;
	box-shadow:0 0 0 3px #EEF5F7;
	margin: 0.5em 0;
}
#my_popup input[type='text']:focus, #my_popup textarea:focus{
	outline: none;
	box-shadow:0 0 0 0.3em #dde9ec;
}
#my_popup input[type='text'].invalido, #my_popup textarea.invalido{
	box-shadow:0 0 0 0.3em #FFC9C9;
}
#my_popup input[type='submit'], #my_popup .my_popup_close{
	border: 0.1em solid #CED5D7;
	box-shadow:0 0 0 0.3em #EEF5F7;
	padding: 0.8em 1.6em;
	border-radius: 1em;
	font-weight: bold;
	text-shadow: 0.1em 0.1em 0px white;	
	background: #e4f1f6; 
	background: -moz-linear-gradient(top, #e4f1f6 0%, #cfe6ef 100%);
	background: -webkit-linear-gradient(top, #e4f1f6 0%,#cfe6ef 100%); 
	margin-top:2em;
	margin-left:2em;
	float:left;
}
#my_popup input[type='submit']:hover{
	background: #edfcff; 
	background: -moz-linear-gradient(top, #edfcff 0%, #cfe6ef 100%);
	background: -webkit-linear-gradient(top, #edfcff 0%,#cfe6ef 100%); 
}
#my_popup input[type='submit']:active{
	background: #cfe6ef; 
	background: -moz-linear-gradient(top, #cfe6ef 0%, #edfcff 100%);
	background: -webkit-linear-gradient(top, #cfe6ef 0%,#edfcff 100%);
}
.error{
    background-color: #BC1010;
    border-radius: 4px 4px 4px 4px;
    color: white;
    font-weight: bold;
    margin-left: 1.6em;
    margin-top: 0.6em;
    padding: 0.6em 1.2em;
    position: absolute;
}
.error:before{
    border-color: transparent #BC1010 transparent transparent;
    border-style: solid;
    border-width: 0.6em 0.8em;
    content: "";
    display: block;
    height: 0;
    left: -1.6em;
    position: absolute;
    top: 0.8em;
    width: 0;
}
.result_fail{
    background: none repeat scroll 0 0 #BC1010;
    border-radius: 0.4em 0.4em 0.4em 0.4em;
    color: white;
    font-weight: bold;
    padding: 1em 2em;
    text-align: center;
}
.result_ok{
    background: none repeat scroll 0 0 #1EA700;
    border-radius: 0.4em 0.4em 0.4em 0.4em;
    color: white;
    font-weight: bold;
    padding: 1em 2em;
	margin-top:1em;
    text-align: center;
}
@media only screen and (min-device-width: 820px) and (max-device-width: 1180px) { 
#titulo {
	width:75%;
}
#enlaces {
	width:25%;
}
#Cabecera h1, #Cabecera h2, #Cabecera h3 {
	font-size:1.4em;
}
#pie-cont {
  	transform: translate(-50%, -50%);
  	width: 90%;
}
}
@media screen and (max-width:800px) {
#Global {
	margin-top: 0px;
}
#Cabecera {
	height: 120px;
	width: 100%;
    background-image: url(../Objetos/m_Logo_Narcis.png);
	background-position: 3%;
}
#titulo {
	width:100%;
	height: 90px;
	float:none;
	line-height:normal;
}
#enlaces {
	width:100%;
	height:30px;
	float:none;
}
#Cabecera h1, #Cabecera h2, #Cabecera h3{
	font-size:1em;
	width:100%;
	position: relative;
	top: 20px;
	padding-left:9em;
}
#Cabecera ul {
	padding-top:0px;
	padding-right: 0.8em;
}
#Cabecera ul li {
	font-size: 0.8em;
}
#pie {
	height:340px;
}
#pie-cont {
  	position: absolute;
  	top: 50%;
  	left: 50%;
  	transform: translate(-50%, -50%);
  	width: 80%;
	height:300px;	
}
#pie-txt {
	width:100%;
	position: relative;	
	border-right:none;
	border-bottom: 1px solid #BEFCFF;
	float:none;
}
#pie-enlaces {
	width:100%;
	position: relative;
	border-right:none;
	border-bottom: 1px solid #BEFCFF;
	float:none;
}
#pie-legal {
	width:100%;
	position: relative;
	float:none;
}
#pie-enlaces p {
	padding: 0.5em 0em 0.5em 0em;
}
#pie-txt p.pie-tit {
	padding-top:1em;
	margin-top:0;
}
#pie-txt p.pie-dir {
	padding-bottom:2em;
}
#my_popup {
	padding: 0.5em 1em 0.5em;
}
#my_popup input[type='text'], #my_popup textarea{
	padding: 0.3em 0.2em;
	width: 15em;
	border: 0.1em solid #CED5D7;
	resize: none;
	box-shadow:0 0 0 0.3em #EEF5F7;
	margin: 0.2em 0;
}
#my_popup input[type='submit'], #my_popup .my_popup_close{
	border: 0.1em solid #CED5D7;
	box-shadow:0 0 0 0.1em #EEF5F7;
	padding: 0.2em 0.4em;
	border-radius: 0.3em;
	font-weight: bold;
	text-shadow: 0.1em 0.1em 0px white;
	margin-top:1em;
	float:left;
	margin-left:0.5em;
}
.error{
    border-radius: 0.4em 0.4em 0.4em 0.4em;
    margin-left: 0.6em;
    margin-top: 0.6em;
    padding: 0.3em 0.6em;
}
.error:before{
    border-width: 0.3em 0.4em;
    left: -0.6em;
    top: 0.4em;
}
.result_fail{
    border-radius: 0.5em 0.5em 0.5em 0.5em;
    color: white;
    font-weight: bold;
    padding: 0.5em 1em;
    text-align: center;
}
.result_ok{
    border-radius: 0.5em 0.5em 0.5em 0.5em;
    color: white;
    font-weight: bold;
    padding: 0.5em 1em;
    text-align: center;
	float:none;
}
}