#cabecera {
    background: #B71234 url(../img/grad_cabecera1.png);
    background-position: bottom;
    background-repeat: repeat-x;
    float: left;
    width: 100%;
    height: 185px;
    margin: auto;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    border-bottom: #9B8942 solid 5px;
    clear: both;
}
#divCisneUCM {
	position:absolute;
	top: 18px;
	left: 20px;
	float:left;
}
#loginSSO {
	color: #FFFFFF; text-align:right; margin-top:10px; margin-right:10px;
}

#loginSSO a{
	color: #FFFFFF;
	text-decoration: none;
}
#loginSSO a:focus{
	text-decoration-line:discrete;

}
#titulo {
    color: #DDAAB4;
    float: right;
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    font-size: 2.2em;
    font-weight: bold;
    /* margin-top: 95px;
    */
    margin-top: 65px;
    padding-right: 12px;
    text-align: right;
    width: 8em;
}

.spinner {
    position: fixed;
    top: 0;
    left: 0%;
    text-align: center;
    z-index: 123400;
    overflow: auto;
    height: 100%;
    width: 100%;
    background: rgba( 255, 255, 255, .8 );
/*     background: rgba( 255, 255, 255, .8 )  */
/*                 url('../img/ajax-loader.gif')  */
/*                 50% 50%  */
/*                 no-repeat; */
}

#spinner-cont {
	background-color: #FFF;
	border: 1px solid #AD6161;
	padding: 1.5em;
	position: fixed;
	left: -1px;
	top: 50%;
	width: 100%;
}

#spinner-icon {
	background: url('../img/ajax-loader.gif');
	background-position: center top;
	background-repeat: no-repeat;
	height: 33px;
	width: 100%;
}

#spinner-text {
	color: #AD6161;
	font-size: 1em;
	padding-top: 20px;
	margin: 0 auto;
}


/* MENU SUPERIOR */
/* Remove margins and padding from the list, and add a black background color */
ul.topnav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
/*  background-color: #333; */
    background-color: #cbc09a;
    border-bottom: 1px solid #5F5A59;
    border-top: 1px solid #5F5A59;
}
/* Float the list items side by side */
ul.topnav li {float: left;}
/* Style the links inside the list items */
ul.topnav li a {
    display: inline-block;
/*  color: #f2f2f2; */
    color: #5f5a59;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: 0.1s;
    font-size: 0.9em;
    font-weight: bold;
}
/* Change background color of links on hover */
ul.topnav li a:hover {
/* 	background-color: #111; */
	background-color: #5F5A59;
	color: #f2f2f2;
}
/* Hide the list item that contains the link that should open and close the topnav on small screens */
ul.topnav li.icon {display: none;}

/* PIE DE PÁGINA */
#pie {
	box-sizing: border-box;
	background-color: #4d4b4b;
	background-image: url("../img/logoucmpie.png");
	background-position: center 12px;
	background-repeat: no-repeat;
	border-bottom: 1px solid #000;
	border-top: 1px solid #000;
	margin: 1% 0 0% 0%;
	height: 140px;	
	padding: 12px 14px 18px 14px;
	width: 100%;
	position: absolute;
	right: 0;
	bottom: 20px;
	left: 0;
	z-index: 1000;
}
#disclaimer {
	background-color: #9B8942;
	box-sizing: border-box;
	display: block;
	margin: 1% 0 0% 0%;
	padding: 2px 0 0 0;
	position: absolute;
	width: 100%;
	bottom: 0;
	right: 0;
	left: 0;
	z-index: 1001;
}
#disclaimerInt {
	background-color: #353535;
	box-sizing: border-box;
	color: #FFF;
	font-size: 12px;
	padding: 5px;
	text-align: center;
	width: 100%;
}
#redsocial {
	background-color: #7A7A7A;
	border: 1px solid #000;
	box-sizing: border-box;
	float:right;
	padding: 4px 3px 2px 15px;
	text-align: right;	
}
#dvNota {
	background-color: #7A7A7A;
	border: 1px solid #000;
	color: #FFF;
    float: right;
    font-size: 0.8em;
    margin: 1em 0 0 0;
    padding: 0.5em 0.6em;
    text-align: center;
}
.pie {
	display:block;
	font-family: Lucida Sans Unicode, Lucida Grande, sans-serif;
	font-size:1em;
	color:#FFF;
	padding:3% 1% 0% 1%;	
}

@media (max-width: 1024px) {
	ul.topnav {
		font-size: 0.8em;
	}
	
	
}

@media (max-width: 768px) {
	#titulo { display:none;}
	/* 	ul.topnav li:not(:first-child) {display: none;} */
	ul.topnav li { display: none; }
	ul.topnav li.icon {
		float: right;
		display: inline-block;
	}
	/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens */
	ul.topnav.responsive { 
		font-size: 0.7em;
		position: relative; 
	}
	ul.topnav.responsive li.icon {
	  position: absolute;
	  right: 0;
	  top: 0;
	}
	ul.topnav.responsive li {
	  float: none;
	  display: inline;
	}
	ul.topnav.responsive li a {
	  display: block;
	  text-align: left;
	}
}

@media only screen and (max-width: 640px) {
	#cabecera{
		/*background:#B71234 url(../img/logoucmmovil_v3.png);
		background-repeat:no-repeat;
		background-position:center;
		height:75px;
		*/
	}
	#divCisneUCM {
	display: none;
		visibility: hidden;
	}
	#divCisneUCMMovil {
	
	    background:#B71234 url(../img/logoucmmovil_v3.png);
		background-repeat:no-repeat;
		background-position:center;
		height:75px;
		
	
	}
	#pie { 
		background-position: 14px 12px;
		padding: 12px 6px 18px 14px; 
	}
	#disclaimerInt { font-size: 10px; }
	#dvNota { font-size: 10px; }
	#loginSSO { 	margin-top:10px; margin-right:10px;}
}