* {
  margin: 0;
  padding: 0;
}
html, body {
  max-width: 959px;
  height: 100%;
  display: block;
  margin: 0 auto;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  text-align: justify;
  font-size: 14px;
}
.clear {
  clear: both;
}
/*****MENU********/
#idioma {
  text-align: left;
}
#idioma a {
  color: #000;
  text-decoration: none;
  font-size: 12px;
  padding: 5px 0;
  display: inline-block;
}
nav img {
  display: block;
  margin: 0 auto;
}
#menu {
  width: 956px;
  margin: 0 auto;
  text-align: right;
  font-size: 0;
  padding: 0;
}
#menu:after{
	content:"";
	display:block;
	padding:2px 0;
	background:#c1272d;
  margin: 4px 0;
}
#menu li {
  display: inline-block;
  font-size: 16px;
}
#menu a {
  width: 225px;
  /* height: 40px; */
  display: block;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 20px 14px 6px 0;
}
#menu #basauri {
  background: #C2DA20 url(../img/menu-basauri.png) no-repeat 62% 40%;
}
#menu #ayuntamiento {
  background: #B0C5E0 url(../img/menu-ayuntamiento.png) no-repeat 30% 40%;
}
#menu #ciudadania {
  background: #F6B535 url(../img/menu-ciudadania.png) no-repeat 46% 40%;
}
#menu #canaldirecto {
  background: #c1272d url(../img/menu-canal-directo.png) no-repeat 24% 40%;
}
/***************ACABA MENU*****************/

a {
	text-decoration: none;
  display: inline-block;
  
}

a:hover {
  background-color: #ddd;
  color: black;
}

.previous {
  background-color: #f1f1f1;
  color: black;
}

.next {
  background-color: #c1272d;
  color: white;
}

.round {
  border-radius: 50%;
}

/***************BUSCADOR DE CURSOS*****************/
.inputformulario {
	padding: 10px;
	border-radius: 25px;
	border: 1px Solid #999;
	margin: 0 0 15px 15px;
	/*width: 250px;*/
}
.selectformulario {
	padding: 5px 10px;
	margin: 0 0 15px 15px;
	border-radius: 25px;
}
.botonformulario {
    padding: 0 20px;
    border: 0;
    background: #c1272d;
    color: #fff;
    min-width: 100px;
    height: 30px;
    border-radius: 20px;
    border: none;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
    cursor: pointer;
    background: rgba(145,29,34,1);
    background: -moz-linear-gradient(top, rgba(145,29,34,1) 0%, rgba(193,39,45,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(145,29,34,1)), color-stop(100%, rgba(193,39,45,1)));
    background: -webkit-linear-gradient(top, rgba(145,29,34,1) 0%, rgba(193,39,45,1) 100%);
    background: -o-linear-gradient(top, rgba(145,29,34,1) 0%, rgba(193,39,45,1) 100%);
    background: -ms-linear-gradient(top, rgba(145,29,34,1) 0%, rgba(193,39,45,1) 100%);
    background: linear-gradient(to bottom, rgba(145,29,34,1) 0%, rgba(193,39,45,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#911d22', endColorstr='#c1272d', GradientType=0 );
}
#busquedacursos{
  position:relative;
}
#busquedacursos h1 {
  font-size: 24px;
  border-bottom: 1px solid #c1272d;
  margin: 20px 0;
}
#busquedacursos h2 {
  margin-bottom: 20px;
  color: #444;
  font-size: 17px;
}
#busquedacursos div{
  display:block;
}
#busquedacursos div:nth-child(4){
  display:block;
}
#busquedacursos input {
  padding: 10px;
  border-radius: 25px;
  border: 1px solid #999;
  margin: 0 0 15px 15px;
}
#busquedacursos input.datepickerc{
  width:70px;
}
button:focus {
  outline: 0;
}
input:focus {
  outline: 0;
}
select:focus {
  outline: 0;
}
#busquedacursos select {
  padding: 5px 10px;
  margin: 0 0 15px 15px;
  border-radius: 25px;
}

#busquedacursos .fa {
  font-size: 28px;
  color: #bbd94a;
  position: relative;
  top: 4px;
}
#busquedacursos #botones{
  display:block;
  text-align: left;
}
#busquedacursos input.boton {
    padding: 0 20px;
    border: Solid #bbd94a 1px;
    background: #bbd94a;
    color: #696971;
    min-width: 100px;
    height: 30px;
    border-radius: 20px;
    border: none;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
    cursor: pointer;    
}
#busquedacursos input.boton:hover {
	background: #696971;
    color: #bbd94a;
}

#actividades{
  position:absolute;
  top:90px;
  right:0;
  text-align: right;
  font-size:14px;
}
#actividades ul:first-of-type{
  float: left;
    padding-right: 10px;
    border-right: 1px solid #444;
}
#actividades ul:last-of-type{
  float:right;
  padding-left:10px;
}
#actividades li{
  list-style:none;
}


/***************GRUPOS DE CURSOS*****************/

#grupocursos {
  min-height:420px;
  display:table;
}
#grupocursos figure {
  position: relative;
  width: 218px;
  padding: 0;
  float: left;
  line-height: 0;
  border: 1px solid #000;
  overflow: hidden;
  margin: 26px 26px 0 0 !important;
}
#grupocursos .fototamano {
    display: block;
    overflow: hidden;
    height: 220px;
  width:220px;
}
#grupocursos a{
  color:#000;
  text-decoration:none;

}
#grupocursos figure:nth-child(4n+4) {
  margin-right: 0;
}
#grupocursos figcaption {
  background: #fff;
  width: 100%;
  height: 150px;
}
#grupocursos dl {
  height: 120px;
  margin: 0;
  line-height: 15px;
}
#grupocursos dd {
  padding: 0;
  margin: 0;
}
#grupocursos dt {
text-align: left;
    font-size: 20px;
    line-height: 20px;
    padding: 8px 8px 0 8px;
    display: inline-block;
}
#grupocursos .cursoidioma {
    background: #696971;
    color: #fff;
    line-height: 20px;
    height: 20px;
    padding: 3px 8px;
}
#grupocursos .cursoidioma span {
  float: right;
}
#grupocursos .cursodonde {
  margin-left: 8px;
  line-height: 30px;
}
#grupocursos .cursostipo {
    margin-left: 8px;
    line-height: 30px;
    position: absolute;
    bottom: 5%;
    font-size: 13px;
    font-weight: 700;
}
#grupocursos .cursoprecio {
  background: #bbd94a;
    bottom: 0;
    padding: 3px 8px;
    width: 100%;
    position: absolute;
}
#grupocursos .cursoprecio span {
  float: right;
    margin-right: 20px;
}
#paginado {
    position: relative;
    top: 20px;
  margin-bottom: 50px;
}

#paginado a{
  color: #444;
    padding-left: 5px;
    padding-right: 5px;
    text-decoration: none;
}
#paginado strong {
  color: #bbd94a;
  font-weight: 600;
}
#paginado a:hover {
  color: #bbd94a;
}
#paginado .fa {
  font-size: 11px;
}
#paginado .selected{
  background: #bbd94a;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  padding-left: 5px;
    padding-right: 5px;
    color: #696971!important;
    text-decoration: none;
}


/***********FOOTER***********/
/***********FOOTER***********/
/***********FOOTER***********/

/*#footerindex {
  position: inherit !important;
}*/

footer {
    width: 100%;
    /* height: 70px; */
    position: relative;
    border-top: 1px solid #bbd94a;
    bottom: -50px;
    left: 0;
    margin-top: 30px;
    padding: 0;
}
#info {
  font-size: 13px;
  line-height: .8em;
}
#info p {
  line-height: 1em;
  text-align: right;
  margin-bottom: 10px;
}
#info a {
  color: #000;
}
#info a:hover {
  color: #c1272d;
}
#info .fa {
  font-size: 14px;
  color: #c2172d;
  padding-right: 5px;
}
#info img {
    float: left;
    padding-top: 20px;
  margin: 0 2% 0 2%;
}
#footerlegal {
  float: right; 
    /*text-align: right;*/
    display: inline-block;
    padding: 1% 0 0 2%;
}
#footerlegal ul li {
  display: inline-block;
  list-style: none;
  padding-left: 3px;
}
.borderojo {
  border-left: 1px solid #c1272d;
}
#footerdireccion {
    float: left;
    border-left: 1px solid #c1272d;
    border-right: 1px solid #c1272d;
    padding: 1% 1% 0 1%;
}
