body {
	font-family: 'Open Sans', sans-serif;
	font-size: 1.1em;
	color: #fff;
	background: #777;
}


h1{
	font-size: 5em;
	font-family: arial,helvetica;
	color: #fff;
	margin:0;
	padding:0;
}
.intro p{
	color: #fff;
}


.section{
	text-align:center;
    position: relative;
}


#header {
	position:fixed;
	top: 0;
	display:block;
	width: 100%;
	background: #fff url(../img/header-bg.png) center top no-repeat;
	background-size: 100% 6px;
	z-index:9;
	text-align:center;
	color: #f2f2f2;
	padding: 14px 0 0 0;
}

#init {
    display: block;
}

.top-nav {
	list-style-type: none;
	display: table;
	margin: 0 auto;
	padding: 0;
}

.top-nav li {
	display: table-cell;
	padding: 0 12px;
}

.top-nav a {
	color: #706f6f;
	text-decoration: none;
}

.top-nav a:active,
.top-nav a:visited {
	color: #706f6f;
}

.top-nav a.current {
	color: #009fe3;
}

.logo {
	margin: 12px auto;
    width: 10%;
    min-width: 88px;
    display: inherit;
}

.social a {
	display: inline-block;
	width: 26px;
	height: 26px;
	background: url(../img/social.png) no-repeat;
	vertical-align: -6px;
	padding: 0 2px;
}

#section6 .social a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: url(../img/social1.png) no-repeat;
    vertical-align: 0px;
    padding: 0 2px;
    margin-top: 30px;
}

.social a#pr {
	background-position: -38px 0;
}

.social a#yt {
	background-position: -75px 0;
}

.social a#tw {
	background-position: -113px 0;
}

.social a#pr1 {
	background-position: -48px 0;
}

.social a#yt1 {
	background-position: -98px 0;
}

.social a#tw1 {
	background-position: -144px 0;
}

.fp-controlArrow {
	background: url(../img/nav-arrows.png) no-repeat;
    top: 51%;
}

#section1 .fp-controlArrow {
	background: url(../img/nav-arrows-w.png) no-repeat;
}

#section1 .fp-controlArrow.fp-next {
    background-position: -27px;
}

.fp-controlArrow.fp-next {
	right: 3%;
	width: 22px;
	height: 40px;
	border: none;
	background-position: -27px;
}

.fp-controlArrow.fp-prev {
	left: 3%;
	width: 22px;
	height: 40px;
	border: none;
	background-position: 0px;
}

#colaboracion {
	background: #000;
	background: rgba(0,0,0,.6);
	width: 280px;
	box-sizing: border-box;
	border-radius: 2px 2px 12px 12px;
	margin: 0 auto;
	font-size: .85rem;
	padding: 0px;
    position: absolute;
    top: 20px;
    z-index: 150;
    left: 50%;
    margin-left: -140px;
}

#colaboracion p {
	padding: 10px;
	margin: 0;
    display: none;
}

#colaboracion a {
    color: #fff;
    text-decoration: none;
}

#colabora {
	display: none;
	background: #76b729;
	text-decoration: none;
	font-weight: bold;
	color: #fff;
	border-radius: 0px 0px 12px 12px;
	font-size: 1.1rem;
	padding: 6px 0;
    width: 100%;
}

a.next {
	display: block;
	width: 38px;
	height: 38px;
	background: url(../img/arrow-dwn.png) no-repeat;
	position: absolute;
	bottom: 18px;
	left: 50%;
	margin-left: -19px;
	z-index: 10000;
}

a.next.grey {
	background: url(../img/arrow-dwn-grey.png) no-repeat;
}

a.prev {
	display: block;
	width: 38px;
	height: 38px;
	background: url(../img/arrow-up.png) no-repeat;
	position: absolute;
	bottom: 18px;
	left: 50%;
	margin-left: -19px;
	z-index: 10000;
}

a.pdf {
	display: block;
	width: 42px;
	height: 52px;
	margin: 0 auto;
	background: url(../img/pdf.png) no-repeat;
	margin-bottom: 40px;
}

a.pdf.blue {
	background: url(../img/pdf-blue.png) no-repeat;
}

.half {
	box-sizing: border-box;
	width: 50%;
    height: 100%;
	float: left;
    margin-top: 8%;
}

.widget {
	width: 416px;
	max-width: 100%;
	padding: 10px 50px;
    height: 100%;
}

.right {
	margin: 0 0 0 auto;
}

.left {
	margin: auto 0 0 0;
}

#twcontainer {
    height: 400px;
    overflow: auto;
    margin-top: 18px;
    width: 84%;
}
.mCS-pajaro.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{ background-color: #fff; width: 12px; }
.mCS-pajaro.mCSB_scrollTools .mCSB_draggerRail{ background-color: rgba(255,255,255,0.6); width: 1px; } 

#fb_feed {
    background: #009fe3;
    color: #fff;
    font-size: 14px;
    line-height: 1.1;
    /*height: 400px;*/
    height: 40%;
    overflow: auto;
    text-align: left;
    margin-top: 18px;
    width: 86%;
}

#fb_feed img {
    width: 48%;
    display: block;
    margin-bottom: 4px;
}

#fb_feed .fb_article {
    padding: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#fb_feed .thumb {
    width: 40px;
    margin-right: 4px;
    display: inline;
}

#fb_feed .name {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    vertical-align: 24px;
}

#fb_feed .date {
    font-size: 10px;
    margin-left: -102px;
    vertical-align: 6px;
}

#fb_feed .fbcontent {
    margin-top: 10px;
}

#fb_feed a {
    color: #fff;
}

img.social-icon {
    margin-top: 38px;
    margin-right: 64px;
}

.fp-tableCell {
    box-sizing: border-box;
}

#section0 {
	background: #fff;
	background-size: auto 81%;
    position: relative;
}

#section0 .fp-tableCell {
	vertical-align: top;
	box-sizing: border-box;
}

#section1 {
	background: #009fe3 url(../img/redes-bg.png) no-repeat;
	background-size: 100%;
}

#section1 .fp-tableCell {
    /*padding-top: 40px;*/
    box-sizing: border-box;
    /*vertical-align: top;*/
}

#section1 h1 {
	font-family: 'Lato', sans-serif;
	font-weight: 300;
	font-size: 2rem;
	padding-top: 94px;
    max-width: 82%;
}

h1.light {
	font-family: 'Lato', sans-serif;
	font-weight: 300;
	font-size: 3.3rem;
}

#section1 h1.fbfeed {
	background: url(../img/enciso-1.png) top center no-repeat;
}

#section1 h1.twfeed {
	background: url(../img/enciso-2.png) top center no-repeat;
}

#section2 {
	background: #fff url(../img/candidato.jpg) no-repeat;
	background-size: auto 94%;
	text-shadow: 1px 1px 4px #000;
}

#section2 .fp-tableCell {
	padding: 0px;
	box-sizing: border-box;
}

#section2 h1 {
    margin: 128px 40px 40px 40px;
}

#section2 p {
	width: 960px;
	max-width: 99%;
	font-size: 1.1rem;
	margin: 12px auto;
    line-height: 1.2;
}

#section2 br {
    line-height: 1.6;
}

#section3 {
	background: #e6007e;
}

#section3 a {
    color: #fff;
    text-decoration: none;
}

#section4 {
	background: #fff;
	color: #6d6e71;
}

#section4 h1 {
	color: #da1c5c;
	font-family: 'Lato', sans-serif;
	font-weight: 300;
	font-size: 1.75rem;
    margin-top: 5%;
}

#section4 h1.orange {
	color: #f39200;
}

#section4 h1.green {
	color: #76b729;
}

#section4 h2 {
	color: #6d6e71;
	font-family: 'Lato', sans-serif;
	font-weight: 300;
	font-size: 1.35rem;
	margin: 0;
}

#section4 p {
    margin: 0;
    padding: 0;
}

#section5 {
    background: #fff;
    color: #6d6e71;
    font-size: .9rem;
}

#section5 img {
    border: none;
    max-width: 75%;
    margin-top: 68px;
    width: 290px;
}

#section5 p {
    width: 80%;
    max-width: 920px;
    text-align: center;
    margin: 12px auto 0 auto;
}

#slide0 ul {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	margin-top: 56px;
	padding: 0 0 30px 0;
	list-style-type: none;
	background: url(../img/obras1-bg.png) center top no-repeat;
    background-size: auto 100%;
    font-size: 0.85em;
}

#slide0 ul>li {
    padding-top: 5.6%;
}

#li0-1 {
	/*padding-top: 72px;*/
	padding-left: 54%;
	text-align: left;
}
#li0-2 {
	/*padding-top: 72px;*/
	padding-right: 54%;
	text-align: right;
}
#li0-3 {
	/*padding-top: 72px;*/
	padding-left: 54%;
	text-align: left;
}
#li0-4 {
	/*padding-top: 72px;*/
	padding-right: 54%;
	text-align: right;
}

#section4 .fp-tableCell {

}

#slide1 ul {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	margin-top: 38px;
	padding: 0 0 144px 0;
	list-style-type: none;
	background: url(../img/obras2-bg.png) 19% top no-repeat;
    font-size: .9em;
}

#li1-1 {
	padding-top: 200px;
	padding-left: 54%;
	text-align: left;
}

#slide2 ul {
	width: 100%;
	max-width: 930px;
	margin: 0 auto;
	margin-top: 18px;
	padding: 0 0 50px 0;
	list-style-type: none;
	font-size: .95rem;
	color: #fff;
    background: url(../img/obras3-bg-1.png) center 33% no-repeat;
}

#slide2 ul>li {
    background: url(../img/obras3-bg.png) center top no-repeat;
    line-height: 36px;
    height: 50px;
    padding-top: 8px;
    padding-bottom: 8px;
}

#li2-1 {
	padding-left: 0;
	text-align: center;
    background-position: center -31px !important;
}

#li2-2 {
	padding-right: 54%;
	text-align: right;
    background-position: center -103px !important;
}

#li2-3 {
	padding-left: 52.5%;
	text-align: left;
    background-position: center -168px !important;
}

#li2-4 {
	padding-right: 54%;
	text-align: right;
    background-position: center -230px !important;
}

#li2-5 {
    background: none !important;
	padding-left: 54.5%;
	text-align: left;
	margin-top: -66px;
	font-weight: 700;
	color: #646464;
	font-size: 1.1rem;
}

#li2-6 {
	padding-left: 52.5%;
	text-align: left;
    background-position: center -293px !important;
}

#li2-7 {
    background: none !important;
	padding-right: 55.5%;
	text-align: right;
	margin-top: -66px;
	font-weight: 700;
	color: #646464;
	font-size: 1.1rem;
}

#li2-8 {
	padding-right: 54%;
	text-align: right;
    background-position: center -355px !important;
}

#li2-9 {
    background: none !important;
	padding-left: 54.5%;
	text-align: left;
	margin-top: -66px;
	font-weight: 700;
	color: #646464;
	font-size: 1.1rem;
}

#li2-10 {
	padding-left: 52.5%;
	text-align: left;
    background-position: center -420px !important;
}

#slide3 ul {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	margin-top: 116px;
	padding: 0 0 86px 0;
	list-style-type: none;
	background: url(../img/obras4-bg.png) center top no-repeat;
}

#slide3 ul ul {
	width: auto;
	margin: 0;
	margin-top: 8px;
	padding: 0;
	background: none;
	text-align: left;
	font-size: 0.93rem;
}

#slide3 ul ul li:before {
	content: "•";
	color: #f39200;
	font-size: 30px;
	line-height: 6px;
	display: inline-block;
	vertical-align: -8px;
	margin-right: 5px;
}

#li3-1 {
	padding-top: 36px;
	padding-left: 65%;
	text-align: left;
}

#li3-2 {
	padding-top: 22px;
	padding-right: 67%;
	text-align: right;
}

#li3-3 {
	padding-top: 0px;
	padding-left: 65%;
	text-align: left;
}

#slide4 ul {
	width: 100%;
	max-width: 846px;
	margin: 0 auto;
	margin-top: 140px;
	padding: 0 0 60px 0;
	list-style-type: none;
	font-size: 1rem;
	color: #fff;
}

#slide4 ul>li {
    height: 140px;
    padding-top: 64px;
    padding-bottom: 0px;
    margin-top: -90px;
}

#li4-1 {
    background: url(../img/obras5-bg-1.png) left center no-repeat;
	padding-right: 68%;
	text-align: right;
}

#li4-2 {
    background: url(../img/obras5-bg-2.png) 100% center no-repeat;
	padding-left: 67%;
	text-align: left;
	padding-right: 7%;
}

#li4-3 {
    background: url(../img/obras5-bg-3.png) 1px center no-repeat;
	padding-right: 68%;
	text-align: right;
	padding-left: 6%;
}

#menu-toggle {
  background: rgba(0,0,0,.4);
  display: none;
  font-size: 14px;
  margin: 0;
  padding: 12px 1px 12px 6px;
  width: 28px;
  height: auto;
  border-radius: 3px;
  position: fixed;
  top: 11px;
  right: 6px;
}

#menu-toggle span {
  background: #fff;
  display: block;
  position: relative;
  -webkit-transform: translate3d(0,0,0);
}

#menu-toggle span,
#menu-toggle span:before,
#menu-toggle span:after {
  width: 24px;
  height: 3px;
  border-radius: 4px;
  -moz-transition:       all 0.4s;
  -o-transition:         all 0.4s;
  -webkit-transition:    all 0.4s;
  transition:            all 0.4s;
  -webkit-transform: translate3d(0,0,0);
}

#menu-toggle span:before,
#menu-toggle span:after {
    background: #fff;
    content: " ";
    margin-top: -7px;
    position: absolute;
    margin-left: -12px;
}

#menu-toggle span:after {
  margin-top: 7px;
}

#menu-toggle.on span {
  background: transparent;
}

#menu-toggle.on span:before {
 
  -moz-transform: rotate(45deg) translate(.5em, .4em);
  -ms-transform: rotate(45deg) translate(.5em, .4em);
  -o-transform: rotate(45deg) translate(.5em, .4em);
  -webkit-transform: rotate(45deg) translate(.5em, .4em);
  transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle.on span:after {
 
  -moz-transform: rotate(-45deg) translate(.45em, -.35em);
  -ms-transform: rotate(-45deg) translate(.45em, -.35em);
  -o-transform: rotate(-45deg) translate(.45em, -.35em);
  -webkit-transform: rotate(-45deg) translate(.45em, -.35em);
 transform: rotate(-45deg) translate(5px, -5px);
}

#home-slider {
    height: 100%;
    overflow: hidden;
}

#home-slider img {
    margin: 0 auto;
    height: 100%;
    /*margin-top: 38px;*/
    top: 0;
    left: 0;
    right: 0;
}

#photoslide2 {
    position: absolute;
    right: 0 !important;
}

#section6 {
    background: #f49003 url(../img/last-bg.png) center bottom no-repeat;
    background-size: 100%;
}

#section6 h1 {
    background: url(../img/siguecontigo.png) no-repeat;
    background-size: 100%;
    width: 580px;
    height: 106px;
    margin: 0 auto;
    text-indent: -10000px;
    max-width: 75%;
}

#section6 .cta {
    color: #f39200;
    background: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    width: 100%;
    display: block;
    border-radius: 6px;
}

#colaboracion1 {
    width: 270px;
    margin: 0 auto;
}

#colaboracion1 a {
    color: #fff;
    text-decoration: none;
    font-size: .9rem;
}

#colaboracion1 p {
    line-height: 1em;
}

#bio {
    height: 70% !important;
    overflow: auto;
    padding-right: 2px;
    margin: 0 auto;
    max-height: 100% !important;
    width: 65%;
}

.third {
    width: 33.3%;
    float: left;
}

.third img {
    width: 100%;
    border: 0;
    display: block;
    margin: 0;
}

.row {
    width: 70%;
    max-width: 906px;
    margin: 0 auto;
    clear: both;
    overflow: auto;
    margin-top: 20px;
    padding: 0;
}

@media (orientation: portrait) {
    .widget {
        padding-top: 21%;
          height: 96%;
    }
    #section4 {
        padding: 0 36px;
        /*padding-top: 22% !important;*/
    }
    #slide0 ul {
        margin-top: 10%;
    }
    #slide0 ul>li {
        padding-top: 9%;
    }
    
    #slide1 ul {
        margin-left: -4%;
    }
    
    #slide1 ul>li  {
        padding-left: 62%;
    }
    
    #slide2 h1 {
        margin-top: 0;
    }
    
    #slide2 ul {
        background-size: 100% 100%;
        font-size: .75em;
        height: 52%;
        position: relative;
        width: 99%;
    }
    
    #slide2 ul>li {
        padding-top: 0;
        line-height: 1em;
        position: relative;
    }
    li#li2-1 {
        top: 11.5%;
    }
    li#li2-2 {
        top: 24%;
    }
    li#li2-3 {
        top: 33.3%;
        padding-right: 189px;
    }
    li#li2-4 {
        top: 41.7%;
        padding-left: 123px;
    }
    li#li2-5 {
        top: 42%;
    }
    li#li2-6 {
        top: 51.4%;
        padding-right: 100px;
    }
    li#li2-7 {
       top: 52%;
    }
    li#li2-8 {
       top: 62%;
    }
    li#li2-9 {
        top: 62%;
    }
    li#li2-10 {
        top: 71.7%;
    }
    a.pdf.blue {
        margin-top: 46px;
    }
    
    #slide4 ul {
        font-size: .82em;
        width: 99%;
    }
    li#li4-1 {
        padding-right: 70%;
        padding-top: 11.5%;
    }
    #li4-2 {
        padding-top: 3.55%;
        padding-left: 70%;
    }
    #li4-3 {
        padding-top: 4.5%;
        padding-right: 70%;
    }
    
    #section5 p {
        margin-top: 20px;
        font-size: .9rem;
    }
    
    #home-slider img {
      /*height: 112%;*/
      max-width: 500%;
      position: absolute !important;
      right: -108%;
      max-height: 200%;
      left: auto !important;
    }
    
    #section2 div {
        
    }
    
    #photoslide1 {
        right: -112% !important;
    }
    
    #photoslide3 {
        position: absolute;
        right: -266px !important;
        height: 100%;
    }
    
    #section6 {
        background-size: auto 100%;
    }
    
    .fp-controlArrow {
        bottom: 1.5%;
        top: auto;
    }

}

@media (max-width: 1366px) {

    #home-slider img {
        margin-top: 0;
    }
    #section4 h1 {
        margin-top: 8%;
    }
    #slide4 ul {
        font-size: .85rem;
    }
    #slide4 ul>li {
        height: 140px;
        padding-top: 83px;
        padding-bottom: 0px;
        margin-top: -134px;
    }
    #li4-1 {
        padding-right: 68%;
        text-align: right;
        padding-left: 14px;
    }
    #li4-2 {
        padding-top: 0px;
        padding-left: 67%;
        text-align: left;
        padding-right: 7%;
        margin-top: -6px;
    }
    #li4-3 {
        padding-top: 0px;
        padding-right: 68%;
        text-align: right;
        padding-left: 6%;
        padding-bottom: 64px;
    }
    #slide3 ul {
        margin-top: 16px;
        font-size: .85rem;
        background-size: auto 91%;
    }
    #slide2 ul>li {
        background: url(../img/obras3-bg.png) center top no-repeat;
        line-height: 36px;
        height: 48px;
        padding-top: 6px;
        padding-bottom: 6px;
    }
    
    #section2 h1 {
        margin: 50px 40px 40px 40px;
    }

    #section2 p {
        width: 960px;
        max-width: 100%;
        font-size: .9rem;
        margin: 16px auto;
    }
    
    #fb_feed,
    #twcontainer {
        height: 350px;
    }
    #slide0 ul {
        margin-top: 26px;
    }
    #slide2 ul {
        margin-top: 1px;
    }
    #slide3 ul {
        margin-top: 38px;
    }
    #section5 img {
        width: 200px;
    }
}

@media (max-width: 1280px) and (orientation: landscape) {
    #photoslide1 {
        /*
        right: -26% !important;
        left: auto !important;
        */
    }
}

@media (max-width: 1024px) {
    div#twcontainer,
    div#fb_feed {
        height: 300px;
    }
    #home-slider img {
        left: auto !important;
    }
    #section5 img {
      margin-top: 26px;
    }
    #section6 {
      background-size: auto 100%;
    }
    #photoslide1 {
        right: -32% !important;
        left: auto !important;
    }
    #photoslide2 {
        right: -0.5% !important;
        left: auto !important;
    }
    
    #photoslide3 {
        right: -26% !important;
        left: auto !important;
    }
}

@media (max-width: 1024px) and (orientation: portrait) {
    #photoslide1 {
        right: -94% !important;
        left: auto !important;
    }
    #slide2 ul {
        margin-top: 90px;
        height: auto;
        background: url(../img/obras3-1-bg.png) 195px 7px no-repeat;
        background-size: 14%;
        text-align: left;
        padding-bottom: 8px;
        list-style-type: none;
        padding-left: 0;
        padding-top: 81px;
        width: 90%;
        font-size: 1.1rem;
        margin-left: 122px;
    }
    #slide2 ul>li {
        color: #909090;
        text-align: left;
        padding: 0;
        margin: 4px 0;
        padding-left: 8px;
        text-indent: -8px;
        background: none;
        height: auto;
        line-height: 1.1;
    }
    #slide2 ul li:before {
      content: "•";
      color: #f39200;
      font-size: 30px;
      line-height: 6px;
      display: inline-block;
      vertical-align: -6px;
      margin-right: 5px;
    }
    #li2-1 {
        list-style-type: none;
        font-weight: bold;
    }
    #li2-1:before,
    #li2-5:before,
    #li2-7:before,
    #li2-9:before {
        content: "\a0" !important;
        padding-right: 4px;
    }
    
    #li2-5,
    #li2-7,
    #li2-9 {
        font-size: 1em;
    }
    
    #slide4 h1 {
        margin-top: -24px;
    }
    
    #slide4 ul {

        margin-top: 16px;
        /*height: 52%;*/
        font-size: 1rem;
        display: table;
        padding: 0;
        width: 99%;
        background: url(../img/obras5-bg.png) no-repeat;
        background-position: center -46px;
        background-size: auto 123%;
    }
    
    
    #slide4 ul>li {
        color: #000;
        text-shadow: 0px 0px 1px #fff;
        line-height: 1.2;
        display: table-row;
        background: none;
        height: 164px;
        padding-top: 0;
        margin-top: 0;
    }
    
    #li4-1 p {
        padding-top: 16% !important;
    }
    #li4-2 p {
        padding-top: 6% !important;
    }
    
    #slide4 ul>li>p {
        display: table-cell;
        vertical-align: middle;
        padding-top: 18px;
        padding-bottom: 18px;
    }
    
    li#li4-1 p {
        padding-left: 55%;
        text-align: left;
    }
    li#li4-2 p {
        padding-right: 56%;
        padding-left: 2%;
        text-align: right;
    }
    li#li4-3 p {
        padding-left: 55%;
        text-align: left;
    }
    
    .third {
        width: 49.9%
    }
    
}


@media (max-width: 767px)  {
    img#photoslide1 {
        right: -160%;
    }
    .half {
        width: 96%;
    }
    .top-nav {
        display: none;
    }

    .top-nav li {
        display: block;
        padding: 0 12px;
    }

    .top-nav a {
        color: #706f6f;
        text-decoration: none;
    }

    .top-nav a:active,
    .top-nav a:visited {
        color: #706f6f;
    }

    .top-nav a.current {
        color: #009fe3;
    }

    .logo {
        /*
        margin: 8px auto;
        width: 14%;
        min-width: 110px;
        */
    }

    .social a {
        display: inline-block;
        width: 26px;
        height: 26px;
        background: url(../img/social.png) no-repeat;
        vertical-align: -6px;
        padding: 0 2px;
    }
    
    img.cycle-slide {
      height: 86%;
      margin-left: -189%;
    }
    h1.light {
      font-size: 2.3rem;
    }
    
    #section2 {
        padding: 0 6px;
    }
    
    #section2 p {
        width: 680px;
        max-width: 100%;
        font-size: .65rem;
        margin: 10px auto;
    }
    
    #menu-toggle {
        display: block;
    }
    
    #colaboracion a.cta {
        font-size: 1rem;
        padding: 1px 0;
    }
    
    #slide2 ul {
        margin-top: 0px;
        height: auto;
        background: url(../img/obras3-1-bg.png) 195px 13px no-repeat;
        background-size: 14%;
        text-align: left;
        padding-bottom: 8px;
        list-style-type: none;
        padding-left: 0;
        padding-top: 24px;
        width: 90%;
        font-size: .85rem;
        margin-left: 32px;
    }

}

@media (max-width: 640px) {
    #section2 h1 {
        margin: 0px auto;
    }

    #section2 p {
        width: 960px;
        max-width: 100%;
        font-size: .8rem;
        margin: 8px auto;
    }
    
    #bio {
        height: 70% !important;
        overflow: auto;
        padding-right: 2px;
        margin: 0 auto;
        max-height: 100% !important;
        width: 94%;
    }
    #section4 .fp-tableCell {
      
    }
    #section4 h1 {
        font-size: 1rem;
        margin-top: 0%;
    }
    #section4 h2 {
        font-size: .9rem;
        margin: 0;
    }
    #slide0 ul {
        margin-top: 2px;
        font-size: .65em;
        line-height: 1;
        padding: 0;
        height: auto;
        position: relative;
        display: table;
    }
    #slide0 ul>li {
        padding-top: 0;
        display: table-row;
    }
    #slide0 ul>li>p {
        display: table-cell;
        vertical-align: middle;
        padding-top: 30px;
        padding-bottom: 2px;
    }
    #li0-1 p {
        text-align: left;
        padding-left: 54%;
    }
    #li0-2 p {
        text-align: right;
        padding-right: 54%;
        padding-top: 37px !important;
    }
    #li0-3 p {
        text-align: left;
        padding-left: 54%;
    }
    #li0-4 p {
        text-align: right;
        padding-right: 54%;
        padding-top: 12px !important;
    }
    #slide1 ul {
        margin: 0 auto;
        width: 65%;
        background-size: 100%;
        padding-bottom: 12%;
    }
    #slide1 ul>li {
        padding-left: 15px;
        padding-top: 110%;
        font-size: .7rem;
    }

    #slide3 ul {
        overflow: hidden;
        margin-top: 10px;
        padding: 0;
        display: table;
        background-size: auto 100%;
    }
    
    #slide3 ul li {
        font-size: .65em;
        line-height: 1;
        padding: 0px;
        display: table-row;
    }
    
    #slide3 ul li p,
    #slide3 ul li div {
        display: table-cell;
        vertical-align: middle;
        padding-top: 28px;
        padding-bottom: 14px;
    }
    
    #li3-1 p {
        text-align: right;
        padding-right: 54%;
    }
    #li3-2 p {
        text-align: left;
        padding-left: 54%;
    }
    
    #li3-3 div {
        text-align: right;
        padding-right: 54%;
    }
    
    #slide3 ul ul {
        width: auto;
        margin: 0;
        margin-top: 9px;
        margin-left: 19px;
        padding: 0;
        background: none;
        text-align: left;
        font-size: 0.93rem;
    }
    
    #slide3 ul ul li {
        text-indent: -8px;
        margin-left: 23px;
        display: block;
    }
    
    #li3-3 ul>li {
        background: none;
        padding: 0;
    }
    #slide3 a.pdf.blue {
      margin-top: -25px !important;
    }
    
    #slide4 h1 {
        margin-top: -24px;
    }
    
    #slide4 ul {
        margin-top: 16px;
        height: 52%;
        font-size: .66rem;
        display: table;
        padding: 0;
        background: url(../img/obras5-bg.png) center top no-repeat;
        background-position: center -33px;
        background-size: auto 128%;
        width: 99%;
    }
    
    #slide4 ul>li {
        color: #000;
        text-shadow: 0px 0px 1px #fff;
        line-height: 1.2;
        display: table-row;
        background: none;
        height: auto;
        margin-top: 0;
        padding-top: 0;
    }
    
    #slide4 ul>li>p {
        display: table-cell;
        vertical-align: middle;
        padding-top: 18px;
        padding-bottom: 18px;
    }
    
    li#li4-1 {
        padding-top: 11.5%;
    }
    
    li#li4-1 p {
        padding-left: 55%;
        text-align: left;
    }
    li#li4-2 p {
        padding-right: 56%;
        padding-left: 2%;
        text-align: right;
    }
    li#li4-3 p {
        padding-left: 55%;
        text-align: left;
    }
    
    #slide4 a.pdf.blue {
      margin-top: -90px !important;
    }
            
    a.pdf {
        height: 42px;
        width: 32px;
        background-size: 100% !important;
        margin-top: 12px !important;
    }
    #photoslide2 {
      position: absolute;
      right: -60px!important;
    }
    #photoslide3 {
      position: absolute;
      right: -60px!important;
    }
    .widget {
        padding-top: 0;
        padding-left: 32px;
    }
    
    #section1 h1 {
        font-size: 1.2rem;
        background-size: 20% !important;
        padding-top: 62px;
        margin-top: 0px;
    }
    .social-icon {
        display: none;
    }
    
    #section5 {
        font-size: .7rem;
    }
    
    #section5 img {
        height: 35%;
        width: auto;
    }
    
}

@media (max-width: 640px) and (orientation: portrait) {
    #section1 h1 {
        font-size: .9rem;
        background-size: 16% !important;
        padding-top: 46px;
        margin-top: 0px;
    }
    #section4 {
        padding: 0 12px;
    }

    #section5 img {
        height: auto;
        width: 37%;
        margin-top: 0px;
    }
    #section6 h1 {
        height: 44px;
    }
    #section5 p {
        font-size: .75rem;
    }
    .logo {
        margin: 8px auto 2px auto;
    }
    #header {
        padding-top: 0;
    }
    #section6 .fp-tableCell {
        /*
        vertical-align: top;
        padding-top: 120px;
        */
    }
    a.prev,
    a.next {
        bottom: 6px;
    }
    
    div#fb_feed,
    div#twcontainer {
        margin-top: 4px;
        height: 320px;
    }
    
    #photoslide1 {
        right: -154% !important;
        left: auto !important;
    }
    #home-slider img {
        height: 100%;
    }
    
    .third {
        width: 99.9%;
    }
    #pdfs {
        height: 70% !important;
        overflow: auto;
        padding-right: 2px;
        margin: 0 auto;
        max-height: 100% !important;
        width: 94%;
    }
}

@media (max-width: 320px) {
    #section1 h1 {
        font-size: 1rem;
        background-size: 20% !important;
        padding-top: 50px;
        margin-top: 0px;
    }
    
    div#fb_feed,
    div#twcontainer {
        margin-top: 0;
        height: 280px;
    }   
}

@media (max-width: 640px) and (orientation: landscape) {
    .logo {
        margin: 0px auto 1px 6px;
        width: 64px;
        min-width: 0px;
        display: inherit;
    }  
    #section1 h1 {
        font-size: 1rem;
        background: none !important;
        padding-top: 0px;
        margin-top: -94px;
    }
    #fb_feed,
    #twcontainer {
        margin-top: 0;
        height: 190px !important;
    }
    .fp-controlArrow {
        top: 94%;
    }
    a.next,
    a.prev {
        bottom: 4px;
    }
    #slide1 ul {
        margin: 0 auto;
        width: 49%;
        background-size: 100%;
        padding-bottom: 0%;
        background-size: 50%;
    }
        #slide1 ul>li {
        padding-left: 15px;
        padding-top: 54%;
        font-size: .7rem;
    }
    #slide2 ul {
        font-size: .7rem;
        margin-left: 17%;
    }
    #slide2 ul>li {
        margin: 1px 0;
    }
    #section6 h1 {
        background-size: 100%;
        width: 260px;
        height: 40px;
        margin: 0 auto;
        margin-top: 12px;
    }
    #colaboracion1 {
        width: 270px;
        margin: 0 auto;
    }
    #colaboracion1 p {
        line-height: .8;
        margin-top: 4px;
    }
    #colaboracion1 a {
        font-size: .75em;
    }
    #section6 .social a {
        margin-top: 18px;
    }
    #photoslide1 {
        right: -11% !important;
        left: auto !important;
    }
}