* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    -webkit-font-smoothing: antialiased; 
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    color: #555;
    background-color: #f5f5f5;
}

html,
body {
    height: 100%;
}

a,
a:link,
a:visited {
    text-decoration: none;
    color: #566E9C;

    -o-transition: all .2s ease-in;
    -ms-transition: all .2s ease-in;
    -moz-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
}

a:hover {
    color: #555;
}

a img {
	border: 0;
}


.clearfix {
    clear: both;
}

.center {
	text-align: center;
}

h1 {
    font-size: 25px;
    color: #777;
    text-align: center;
    font-weight: 300;
    margin-bottom: 20px;
}

h2 {
    font-size: 22px;
    color: #444;
    font-weight: 300;
    margin-bottom: 15px;
}

h2.azul {
    color: #566e9c;
}

h2.mgtop {
    margin-bottom: 5px;
    margin-top: 15px;
}

h2 span {
    padding: 3px 12px;
    background-color: #566e9c;
    color: #fff;
    font-size: 11px;
    border-radius: 8px;
    margin-right: 15px
}

h3 {
    color: #566E9C;
    font-weight: 700;
    font-size: 14px;
}

header {
    width: 100%;
    height: 150px;
    background-color: #fff;
    text-align: center;
}

header.login {
    border-bottom: 6px solid #566e9c;
    color: #444;
    font-size: 16px;
    font-weight: 400;
}

header #dv-user {
    background-color: #7D95C0;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    color: #fff;
}

header #dv-user span {
    margin-left: 20px;
}

header #dv-user a,
header #dv-user a:link,
header #dv-user a:visited {
    color: #fff;
    margin: 0 10px;
}

header #dv-user a:hover {
    text-decoration: underline;
}

header nav {
    background-color: #566e9c;
    height: 40px;
}

#header-menu li {
    list-style-type: none;
    display: inline;
    line-height: 40px;
}

#header-menu li a,
#header-menu li a:link,
#header-menu li a:visited {
    font-size: 18px;
    margin: 0 10px;
    padding: 8px 15px;
    color: #fff;
}

#header-menu li a:hover {
    color: #AECAFF;
}

#header-menu li.active a,
#header-menu li.active a:link,
#header-menu li.active a:visited {
    background-color: #34476D;
    color: #fff;
}

#login {
    width: 395px;
    margin: 100px auto 0 auto;
}

#login form {
    width: 350px;
    background-color: #FFF;
    padding: 20px;
    border-radius: 3px;
    box-shadow: 0 1px 2px #AAA;
    border-top: 1px solid #D1D1D1;
}

#login label {
    margin-bottom: 15px;
    display: block;
}

#login form input {
    width: 340px;
    display: block;
    margin-top: 5px;
    font-size: 18px;
    border: 1px solid #CCC;
    padding: 5px;
    color: #444;
    border-radius: 4px;
    -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

#login form input:focus {
    outline: none;
    border-color: #BBB;    
    box-shadow: 0 0 6px #CCC;
}

#login .reminder-link {
    margin-top: 10px;
    text-align: center;
    font-size: 11px;
}

.captcha {
    margin: 10px 0;
}

section#main {
    margin: 30px;
}


.caja {    
    background-color: #fff;
    border: 1px solid #d1d1d1;    
    min-height: 500px;
    position: relative;
    box-shadow: 0 1px 1px #ccc;
    width: 990px;
    margin: 0 auto;
    padding: 20px;
    font-size: 14px;
}

.calendario {
    width: 550px;
    float: left; 
}  

.calendario .flecha {
    float: left;
    display: block;
    width: 40px;
    height: 40px;
    margin-top: 212px;
}

.calendar {
    float: left;
    margin: 0 15px;
}

.calendar h2 {    
    text-align: center;
}

.calendar th {
    background-color: #ddd;
}

.calendar td {
    height: 35px;
    width: 35px;
    background-color: #f5f5f5;
}

.calendar td div {
    padding: 15px 10px;
    width: 35px;
    height: 35px;
}

.calendar td.vacio {
    background-color: #fff;
}

.calendar td.hoy {
    background-color: #DDD;
}

.calendar td.evento a,
.calendar td.evento a:link,
.calendar td.evento a:visited {
    background-color: #566e9c;
    color: #fff;
    display: block;
    width: 35px;
    height: 35px;
    padding: 15px 10px;
}

.calendar td.evento a:hover {
    background-color: #748bb7;
}

.eventos {
    float: left;
    font-size: 14px;
    width: 430px;
}

.eventos a.evento,
.eventos a.evento:link,
.eventos a.evento:visited {
    display: block;
    padding: 15px 10px;
    color: #444;
    border-bottom: 1px solid #d1d1d1;
}

.eventos a.evento:hover {
    background-color: #f5f5f5;
}

.eventos a.evento .fecha {
    color: #566e9c;
}

.contenido {
    width: 57%;
    padding: 20px;
}

.contenido p {
    line-height: 20px;
}

aside {
    position: absolute;
    right: 0;
    top: 0;
    background: #eaeaea url(../img/aside.jpg) repeat-y left;
    float: right;
    width: 40%;
    height: 100%;
}

aside ul li {
    list-style-type: none;
}

aside ul li.activo {
    background: url(../img/flecha.jpg) no-repeat left center;
}

aside ul li a,
aside ul li a:link,
aside ul li a:visited {
    display: block;
    color: #444;
    font-size: 14px;
    padding: 10px;
    text-shadow: 1px 1px #F7F7F7;
    margin-left: 11px;
    border-bottom: 1px solid #ccc;
}

aside ul li a:hover,
aside ul li.activo a {
    background-color: #DAE3F1;
}

aside ul li a span {
    color: #566e9c;
    font-size: 11px;
}

a.boton,
a.boton:link,
a.boton:visited,
button {
    font-size: 12px;
    line-height: 18px;
    height: 18px;
    display: inline-block;
    padding: 6px 12px;
    text-align: center;
    border-radius: 4px;
    margin-right: 10px;
    cursor: pointer;
    color: #fff;
    text-shadow: none;
    border: 1px solid #566E9C !important;
    background: #566E9C;
    background-image: -webkit-gradient(linear,left top,left bottom,from(#7389b2),to(#566E9C));
    background-image: -webkit-linear-gradient(top,#7389b2,#566E9C);
    background-image: -moz-linear-gradient(top,#7389b2,#566E9C);
    background-image: -o-linear-gradient(top,#7389b2,#566E9C);
    background-image: linear-gradient(to bottom,#7389b2,#566E9C);
}

a.boton:hover,
button:hover {
  color: #fff;
  border: 1px solid #7389b2 !important;
  background: #7389b2;
  text-shadow: none;
  background-image: -webkit-gradient(linear,left top,left bottom,from(#94a4c4),to(#7389b2));
  background-image: -webkit-linear-gradient(to bottom,#94a4c4,#7389b2);
  background-image: -moz-linear-gradient(to bottom,#94a4c4,#7389b2);
  background-image: -o-linear-gradient(to bottom,#94a4c4,#7389b2);
  background-image: linear-gradient(to bottom,#94a4c4,#7389b2);
}

button {
    width: auto;
    height: auto;
}


.persona {
    width: 475px;
    float: left;
    margin: 10px;
}

.persona .foto {
    float: left;
    width: 120px;
    border: 1px solid #ccc;
}

.persona .datos {
    float: left;
    margin-left: 15px;
}

.alert-error {
    color: #A94442;
    background-color: #F2DEDE;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #EBCCD1;
    border-radius: 4px;
    text-align: center;
    text-shadow: 0 1px #FFF;
}

.comisiones strong {
    color: #566E9C;
}

form .row {
    margin-bottom: 10px;
}

form input {
    padding: 5px;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-top: 4px;
    border-radius: 5px;
    width: 220px;
    font-size: 12px;
}

form .row .image {
    margin-top: 4px;
}

form .row .descripcion {
    font-size: 11px;
    color: #999;
    margin-left: 10px;
    font-style: italic;
}

.message-ok {
    padding: 5px;
    background-color: #dff0d8;
    color: #277A31;
    font-size: 12px;
    margin-bottom: 20px;
    text-align: center;
}