@font-face {
    font-family: 'open_sanslight';
    src: url('fonts/opensans-light-webfont.eot');
    src: url('fonts/opensans-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/opensans-light-webfont.woff2') format('woff2'),
         url('fonts/opensans-light-webfont.woff') format('woff'),
         url('fonts/opensans-light-webfont.ttf') format('truetype'),
         url('fonts/opensans-light-webfont.svg#open_sanslight') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'open_sansbold';
    src: url('fonts/opensans-bold-webfont.eot');
    src: url('fonts/opensans-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/opensans-bold-webfont.woff2') format('woff2'),
         url('fonts/opensans-bold-webfont.woff') format('woff'),
         url('fonts/opensans-bold-webfont.ttf') format('truetype'),
         url('fonts/opensans-bold-webfont.svg#open_sansbold') format('svg');
    font-weight: normal;
    font-style: normal;
}
/*body {
    background-color: black;
}*/
.barra {
    display: flex;
    flex-direction: row;
    height: 100px;
    width: inherit;
    background: black;
    align-items: center;
    margin: 0;
}
.inicio {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: flex-start;
    background-image: url(../img/fadubienvenido.jpg);
    background-repeat: no-repeat;
    height: 600px;
    background-position: center;
    background-size: cover;
    min-height: 600px;
}
.quien {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: flex-start;
    background-image: url(../img/fadumitad3.jpg);
    background-repeat: no-repeat;
    height: 600px;
    background-position: center;
    background-size: cover;
    min-height: 600px;
}
.que {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: flex-start;
    background-image: url(../img/fadumesas.jpg);
    background-repeat: no-repeat;
    height: 600px;
    background-position: center;
    background-size: cover;
    min-height: 600px;
}
.fadu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: flex-start;
    background-image: url(../img/pasillocolor.jpg);
    background-repeat: no-repeat;
    height: 600px;
    background-position: center;
    background-size: cover;
    min-height: 600px;
}
.contacto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: flex-start;
    background-image: url(../img/fadumesas.jpg);
    background-repeat: no-repeat;
    height: 600px;
    background-position: center;
    background-size: cover;
    min-height: 600px;
}

.datos {
    display: flex;
    flex-direction: column;
    border-left: 1px solid grey;
    border-right: 1px solid grey;
    margin: 1em;
    padding-bottom: 1em;
    margin-top: -1em;
    width: 300px;
}
.integrantes{
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 1em;
    margin-top: 2.5em;
}
li {
    list-style: none;
    margin: auto;
    text-align: center;
    font-family: 'open_sanslight';
    line-height: 1.5em;
}
.alumnos {
    text-decoration: none;
    color: black;
    font-size: 1.5em;
    text-align: center;
    font-family: 'open_sanslight';
}
img {
    width: 120px;
    margin:auto;
    margin-bottom: 1em;
}
.items {
    border-top: solid 1px white;
    border-bottom: solid 1px white;
    width: 200px;
    height: 20px;
    margin: 1em;
    padding-bottom: 0.5em;
    padding-top: 0.5em;
    text-decoration: none;
    list-style: none;
    text-align: center;
    font-family: 'open_sanslight';
}
.items:hover {
    border-bottom: solid 1px #F75f1a;
    border-top: solid 1px #F75f1a;
    color: white;
}
.linksdescarga {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: flex-end;
}
.linkdescarga {
    margin: 1em;
    margin-right: 4em;
    width: 200px;
}
.descarga {
    background-image: url(../img/fondodescarga.jpg);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    height: 600px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.linksdescarga {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 2em;    
    
}
.logouba {
    display:flex;
    flex-direction: column;
    justify-content: center;
    margin:auto;
    width: 300px;
 }
a {
    list-style: none;
    color: white;
    text-decoration: none;
}
a:hover {
    color: #F75f1a;
}
h3 {
    text-align: center;
    font-size: 5em;
    font-family: 'open_sansbold';
    letter-spacing: 0.3em;
    color: white;
    text-shadow: 0px 0px 5px #e8e8e8;
    vertical-align: middle;
    /*margin: auto;
    margin-top: 1em;*/
}
h2 {
    text-align: center;
    font-size: 5em;
    font-family: 'open_sansbold';
    letter-spacing: 0.3em;
    color: white;
    text-shadow: 0px 0px 5px #e8e8e8;
    vertical-align: middle;
}
h4 {
    text-align: left;
    font-size: 2em;
    margin-left: 3em;
    font-family: 'open_sanslight';
    letter-spacing: 0.3em;
    color: white;
    vertical-align: middle;
}
H5 {
    text-align: center;
    color: black;
    font-size: 2em;
    font-family: 'open_sanslight';
    letter-spacing: 0.3em;
    vertical-align: middle;
    margin-top: 1em;;
}
H6 {
    text-align: center;
    color: black;
    font-size: 2em;
    font-family: 'open_sanslight';
    letter-spacing: 0.3em;
    vertical-align: middle;
    margin-bottom: 0;
     }
.dwld {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    font-size: 1em;
    font-family: 'open_sansbold'; 
    letter-spacing: 0.3m;
    color: white;
    /*border-left: solid 1px grey;
    border-right: solid 1px grey;*/
}
p {
    /*border-left: solid 1px grey;
    border-right: solid 1px grey;
    padding: 1em;*/
    width: 800px;
    margin: auto;
    color: white;
    font-family: 'open_sanslight'; 
    font-size: 1.5em;
    text-align: center;
    text-shadow: 0px 0px 5px #e8e8e8;
}
.pie {
    color: white;
    text-shadow: 0 0 0;
}
.datosfadu {
    color: black;
    margin-top: 1em;
}
.welcome {
    color: white;
}
#pato {
    width: 200px;
    margin: auto;
}
#pato:hover {
    width: 200px;
    margin: auto;
    src: url(../img/logofdb2.png);
}
footer {
    text-align: center;
    font-size: 0.6em;
    font-family: 'open_sanslight';
    letter-spacing: 0.1em;
    line-height: 2em;
    /*color: white;*/
    background-color: black;
    padding: 2em;
}
hr {
    color: black;
    margin: 0;
}






* {
	/*box-sizing: border-box;
	-webkit-box-sizing: border-box;*/
}


/*
PURE RESPONSIVE CSS3 SLIDESHOW GALLERY by Roko C. buljan
http://stackoverflow.com/a/34696029/383904
*/

.CSSgal {
	position: relative;
	overflow: hidden;
	height: 100%;
	/* Or set a fixed height */
}


/* SLIDER */

.CSSgal .slider {
	height: 100%;
	white-space: nowrap;
	font-size: 0;
	transition: 0.8s;
}

/* SLIDES */

.CSSgal .slider > * {
	font-size: 1rem;
	display: inline-block;
	white-space: normal;
	vertical-align: middle;
	height: 100%;
	width: 100%;
	background: none 50% no-repeat;
	background-size: cover;
}


/* PREV/NEXT, CONTAINERS & ANCHORS */

.CSSgal .prevNext {
	position: absolute;
	z-index: 1;
	top: 50%;
	width: 100%;
	height: 0;
}

.CSSgal .prevNext > div+div {
	visibility: hidden;
	/* Hide all but first P/N container */
}

.CSSgal .prevNext a {
	background: #fff;
	position: absolute;
	width: 60px;
	height: 60px;
	line-height: 60px;
	/* If you want to place numbers */
	text-align: center;
	opacity: 0.7;
	-webkit-transition: 0.3s;
	transition: 0.3s;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	left: 0;
}

.CSSgal .prevNext a:hover {
	opacity: 1;
}

.CSSgal .prevNext a+a {
	left: auto;
	right: 0;
}


/* NAVIGATION */

.CSSgal .bullets {
	position: absolute;
	z-index: 2;
	bottom: 0;
	padding: 10px 0;
	width: 100%;
	text-align: center;
}

.CSSgal .bullets > a {
	display: inline-block;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-decoration: none;
	text-align: center;
	background: rgba(255, 255, 255, 1);
	-webkit-transition: 0.3s;
	transition: 0.3s;
}

.CSSgal .bullets > a+a {
	background: rgba(255, 255, 255, 0.5);
	/* Dim all but first */
}

.CSSgal .bullets > a:hover {
	background: rgba(255, 255, 255, 0.7) !important;
}


/* NAVIGATION BUTTONS */


/* ALL: */

.CSSgal >s:target ~ .bullets >* {
	background: rgba(255, 255, 255, 0.5);
}


/* ACTIVE */

#s1:target ~ .bullets >*:nth-child(1) {
	background: rgba(255, 255, 255, 1);
}

#s2:target ~ .bullets >*:nth-child(2) {
	background: rgba(255, 255, 255, 1);
}

#s3:target ~ .bullets >*:nth-child(3) {
	background: rgba(255, 255, 255, 1);
}

#s4:target ~ .bullets >*:nth-child(4) {
	background: rgba(255, 255, 255, 1);
}


/* More slides? Add here more rules */


/* PREV/NEXT CONTAINERS VISIBILITY */


/* ALL: */

.CSSgal >s:target ~ .prevNext >* {
	visibility: hidden;
}


/* ACTIVE: */

#s1:target ~ .prevNext >*:nth-child(1) {
	visibility: visible;
}

#s2:target ~ .prevNext >*:nth-child(2) {
	visibility: visible;
}

#s3:target ~ .prevNext >*:nth-child(3) {
	visibility: visible;
}

#s4:target ~ .prevNext >*:nth-child(4) {
	visibility: visible;
}


/* More slides? Add here more rules */


/* SLIDER ANIMATION POSITIONS */

#s1:target ~ .slider {
	transform: translateX( 0%);
	-webkit-transform: translateX( 0%);
}

#s2:target ~ .slider {
	transform: translateX(-100%);
	-webkit-transform: translateX(-100%);
}

#s3:target ~ .slider {
	transform: translateX(-200%);
	-webkit-transform: translateX(-200%);
}

#s4:target ~ .slider {
	transform: translateX(-300%);
	-webkit-transform: translateX(-300%);
}


/* More slides? Add here more rules */


/* YOU'RE THE DESIGNER! 
   ____________________
   All above was mainly to get it working :)
   CSSgal CUSTOM STYLES / OVERRIDES HERE: */

.CSSgal {
	color: #fff;
	text-align: center;
    vertical-align: center;
}

.CSSgal .slider h3 {
	/*font-weight: 200;
	letter-spacing: -0.06em;*/
	word-spacing: 0.1em;
	font-size: 3em;  
    vertical-align: middle;
    color: white;
    margin-top: 15%;
}
.CSSgal .slider h2 {
	/*font-weight: 200;
	letter-spacing: -0.06em;*/
	word-spacing: 0.2em;
	font-size: 5em;
    vertical-align: sub;
    margin-top: 15%;
}

.CSSgal a {
	border-radius: 50%;
	/*margin: 0 3px;*/
	color: rgba(0, 0, 0, 0.8);
	text-decoration: none;
}








/* Form */
form {
  font-family: 'open_sanslight';
  margin: auto;
    margin-top: 3em;
    margin-bottom: 2em;
  padding: 1em;
  width: 320px;
  color: #aaa;
 border: .1em solid black;
  border-radius: $radius;
}
.name {width: 100%;}
.name input,
.submit input,
select,
textarea {
  width: 47%;
  height: 3em;
  text-indent: .5em;
  border-top: 0;
  border-bottom: solid 1px black;
    border-left: 0;
    border-right: 0;
}
.name input[name="surname"] {float: left;}
.name input[type="mail"] {
  margin-top: 1em;
  width: 100%;
    border-bottom: solid 1px black;
}
.radio,
.dropdown,
.message,
.check,
.submit {margin-top: 1em;
color: black;}
.dropdown select,
.message textarea,
.submit input {width: 100%;}
.dropdown select {color: #aaa;}
.message textarea {height: 8em;}
.radio input,
.check input {position: relative;top: 1px;}
.radio input:before,
.check input:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1em;
  height: 1em;
  background: #e9e9e9;
  border-radius: $radius;
  transition: all .35s ease;
}
.radio {
    display: flex;
    flex-direction: row;
    color: black;
}
label {
    margin: 1em;
}
/*.name {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}*/
.radio input:before {
  border-radius: 50%;
}
.radio input:checked:before {
  top: -.1em;
  left: -.1em;
  width: .5em;
  height: .5em;
  border: .35em solid #e9e9e9;
  background: #000000;
}
.check input:checked:before {
  content: "\f00c";
  font-family: 'fontAwesome';
  color: #1abc9c;
}
.check input:before {left:-.1px;}
.submit input {
  //display: block;
  //margin: auto;
  //width: 99.5%;
  background: #ffffff;
  color: #000000;
  border: 0;
  border-bottom: solid 1px black;
  border-top: solid 1px black;
  font-size: 1em;
  font-weight: bold;
  &:focus,
  &:hover {
    background: #16a085;
    border-bottom-color: darken(#16a085, 7%);
  }
  &:active {
    background: #1bc2a2;
    border-bottom-color: darken(#1bc2a2, 7%);
  }






