/* =Typography
-----------------------------------------------------------------------------*/
body {
	font-family: 'Verdana', verdana, sans-serif;
}
	
/* =Links
-----------------------------------------------------------------------------*/


/* =Layout
-----------------------------------------------------------------------------*/

body {
	/* background: url(img/body_bg.png) 50% -19px no-repeat; */
	margin-top: 0 !important;
	background: #ECECEC;
}


body.home {
	/* background: url(img/body_bg.png) 50% 45px no-repeat; */
}

#folder {
	width: 100%;
}


#wrapper {
    margin: 0px auto;
    width: 920px;
    background: white;
    padding: 20px 20px;
}


.wrapper {
    margin: 0px auto;
    width: 960px;
    position: relative;
    clear: both;
    /*overflow: hidden;*/
}

#main {
	min-height: 350px;
}

#main aside {
    background-color: #F6F6F6;
}

article {
    position: relative;
}

/* =Top
-----------------------------------------------------------------------------*/

#top {
	background: #006184;
	height: 45px;
}

#top h1, #top h1 a {
	color: #fff;
    line-height: 45px;
    font-weight: 300;
    text-decoration: none;
    font-size: 26px;
    float: left;
	text-shadow: 1px 1px 2px #555;
    margin-bottom: 0;
}

#top .right {
	float: right;
}

#access {
	color: #fff;
    width: 400px;
    display: block;
    text-align: right;
    line-height: 15px;
    padding-top: 7px;
    padding-right: 60px;
    background: url(img/user.png) no-repeat right;
    height: 38px;
	text-shadow: 1px 1px 2px #555;
	font-size: 12px;
	margin-right: 12px;
}
a#access {
    cursor: pointer;
}

#access a {
	color: #fff;	
}

#access_login {
    width: 260px;
    background: #006184;
    display: block;
    position: absolute;
    right: 0;
    padding: 20px;
    top: 45px;
	display: none;
	border-radius: 0 0 15px 15px;
	z-index: 200;
}

#access_login input[type="text"],
#access_login input[type="password"] {
	width: 98%;
}

#access_login input[type="submit"] {
	float: right;
    font-weight: bold;
    color: #006184;
    border-radius: 8px;
    background: #fff;
    background-color: #fff;
    font-size: 15px;
    margin-top: 5px;
    padding: 7px 17px;
	border: 0;
}

#access_login label, #access_login a, #access_login a:hover {
	color: #fff;
	font-size: 12px;
}







/* =Header
-----------------------------------------------------------------------------*/

#header {
	position: relative;
	margin: 0px auto;
	width: 960px;
	text-align: center;
}

#header.home {
	height: 240px;
	background: #fff url(img/header.jpg) no-repeat 0px -30px;
	padding-top: 210px;
}

#header.sub {
    height: 130px;
    background: url(img/header_sub.jpg) no-repeat top left;
    padding-top: 0;
}

#header h2 {
    font-size: 35px;
	color: #fff;
	text-shadow: 1px 2px 4px #555;
    margin: 0px;  
}

#header h3 {
    font-size: 15px;
    font-weight: 300;
	color: #fff;
	text-shadow: 1px 2px 4px #555;
    margin: 55px; 
}

.subheader {
    font-style: italic;    

}

#selector_idioma {
    position: absolute;
    top: 9px;
    text-align: left;
    left: 10px;
}


.selectores .user_panel {float: left;}

.selectores {
    border-bottom: 1px dashed #006184;
    overflow: hidden;
    background: #E3E3E3;
}

.indicador_lang {
	background: #006184;
	line-height: 28px;
	margin-top: 20px;
	display: block;
	text-align: center;
	width: 28px;
	border-radius: 5px;
	color: #fff;
}




/* =Sidebar
-----------------------------------------------------------------------------*/

#sidebar .user_panel {
    background: #DDD;
    padding: 10px;
    color: #666;
    border-radius: 5px;
    margin-bottom: 20px;
}

#sidebar .user_panel a {
    color: #da3e5a;
}


#sidebar nav {
    margin-bottom: 20px;
}

#sidebar nav a {
    display: block;
    text-decoration: none;
    padding: 5px 0;
    border-bottom: 1px solid #BBB;
}

#sidebar nav a:hover {
    background: #fff;
}

#sidebar h4 {
    margin-top: 30px;
    margin-bottom: 0;
}

/* =Misc
-----------------------------------------------------------------------------*/
.sgg {
    font-size: 0.7em;
}
.aviso {
    position: absolute;
    top: 0;
    right: 0;
    padding: 20px;
    background: #ededed;
    border-radius: 5px;
    color: #da3e5a;
    text-shadow: 1px 1px white;
    font-weight: normal;
    font-size: 18px;    
}

th {
    white-space: nowrap;
}

.nowrap {
    white-space: nowrap;
}

.pagination .current {
    background: #ededed;
}

#tyc {
	cursor: pointer;
}

.error_alert {
    color: #ededed;
    background: #da3e5a;
    padding: 3px 11px;
    border-radius: 4px;
    margin-bottom: 6px;
}

.sucess_alert {
    color: #ededed;
    background: #18a011;
    padding: 3px 11px;
    border-radius: 4px;
    margin-bottom: 6px;
}

h2 {
	margin-bottom: 1.5em;
}



/* =Footer
-----------------------------------------------------------------------------*/

#footer {
    padding-top: 20px;
    color: #555;
    text-align: center;
}

#footer ul {
	margin-top: 5px
}

#footer ul li{
	display: inline;
}

#footer ul li a {
    margin: 0 8px;
    font-size: 12px;
    color: #808285;
}






/* =Forms 
------------------------------------------------------------------------------*/

.forms ul.multicolumn li {
    margin-bottom: 10px;
}

input[type="text"].error, input[type="password"].error, input[type="email"].error, input[type="phone"].error, textarea.error, select.error {
    border-color: #da3e5a;
}

.error2 {
	border-color: #da3e5a !important;
}

p#cif_error {
	margin-bottom: 0;
	color: #da3e5a;
	margin-left: 5px;
    font-weight: normal;
    font-size: 0.85em;
}






/* =Resultados
-------------------------------------------------------------------------------*/

#paginacion ul {
    margin: 0;
    padding: 0;
}

#paginacion ul li {
    float: left;
}


#paginacion ul li a {
    background: #ededed;
    text-decoration: none;
    text-align: center;
    width: 30px;
    display: block;
    margin: 3px;
}

#paginacion ul li a:hover {
    background: #999;
    color: #fff;
}

.link_doc {
    display: block;
    float: left;
    padding: 0px 4px;
}

#resultados .row {
    margin-bottom: 0;
}

#resultados #tabla_cabecera {
    border-bottom: 1px solid #ededed;
    background: #ededed;
    margin-bottom: 0;
}

#resultados #tabla_cabecera div {
    padding: 1em;
}


.primer {
    width: 22%;
}

.second {
    /* width: 40%; */
}

.tercer {
    width: 24%;
}

.cuart {
    width: 15%;
}

.contenedor_resultados {
    overflow: scroll;
    max-height: 300px;
    width: 102.5%;
}



/*

    simple grid

*/


.row {
    width: 100%;
    clear: both;
    overflow: hidden;
}

.mitad {
    width: 47%;
    margin: 5px 1.5%;
    float: left;
}

.tercio {
    width: 31.83%;
    margin: 5px 1.5%;
    float: left;
} 

.cuarto {
    width: 22%;
    margin: 5px 1.5%;
    float: left;
}

.trescuartos {
    width: 72%;
    margin: 5px 1.5%;
    float: left;
}


.dostercios {
    width: 62%;
    margin: 5px 1.5%;
    float: left;
}

.selectores .tercio,
.selectores .mitad,
.selectores .cuarto,
.selectores .trescuartos,
.selectores .dostercios {
    margin: 5px 1.5%;
}

.mitad input[type="text"],
.mitad input[type="password"],
.mitad input[type="email"],
.mitad textarea,
.mitad select,

.tercio input[type="text"],
.tercio input[type="password"],
.tercio input[type="email"],
.tercio textarea,
.tercio select,

.cuarto input[type="text"],
.cuarto input[type="password"],
.cuarto input[type="email"],
.cuarto textarea,
.cuarto select {
    width: 98%;
}

select {
	font-family: 'Source Sans Pro', 'PT Sans', Arial, "Helvetica Neue", Helvetica, Tahoma, sans-serif;
    height: 27px;
    border: 1px solid #ccc;
    margin: 0;
    padding: 1px 2px;
    background-color: white;
    color: #333;
    font-size: .95em;
    line-height: 1;
    border-radius: 0px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
    -webkit-transition: border ease 0.5s;
    -moz-transition: border ease 0.5s;
    -ms-transition: border ease 0.5s;
    -o-transition: border ease 0.5s;
    transition: border ease 0.5s;
}


#addf {
    cursor: pointer;
    background: transparent url(img/mas.png);
    width: 28px;
    height: 27px;
    display: block;
    float: right;
    margin-top: -27px;
    margin-right: -40px;
}

ul#codigos {
	margin: 0;
    padding: 0;
}
ul#codigos li {
	margin: 0;
    padding: 0;
	list-style-type: none;
	margin-top: 5px;
}




