/*! http://responsiveslides.com v1.54 by @viljamis */
.rslides {
  bottom:50px;
  display: block;
  left:0px;
  float:left;
  height:auto;
  position:absolute;
  right:0px;
  top:50px;
  width:100%;
  z-index:99;
  }
  @media only screen and (max-width:620px) {
  .rslides {
  display: none!important;
  top:40px!important;
  }}
  @media only screen and (max-width:620px) {
  body#index .rslides {
  bottom:126px;
  bottom:50px;
  display:block!important;
  }}
  @media only screen and (max-height:400px) {
  body#index .rslides {
  top:0px;
  bottom:auto;
  position:relative;
  top:auto;
  height:120%;
  }}
  @media (max-width:620px) and (max-height:400px) {
  body#index .rslides {
  top:0px!important;
  }}


.rslides li img,
body#nosotros .rslides li img {
  max-width:100%;
  min-width:100%;
  width:100%;
  }


  
body#nosotros .rslides {
  display:block!important;
  float:left;
  height:auto;
  position:relative;
  margin-top:40px;
  margin-bottom:0px;
  width:100%;
  bottom:auto;
  left:auto;
  right:auto;
  top:auto;
  }


body#nosotros .rslides li {
  height:590px;
  width:900px;
  }
  @media only screen and (max-width:980px) {
  body#nosotros .rslides li {
  height:524px;
  width:800px;
  }}
  @media only screen and (max-width:820px) {
  body#nosotros .rslides li {
  height:459px;
  width:700px;
  }}
  @media only screen and (max-width:720px) {
  body#nosotros .rslides li {
  height:393px;
  width:600px;
  }}
  @media only screen and (max-width:620px) {
  body#nosotros .rslides li {
  height:360px;
  width:100%;
  }}
  @media only screen and (max-width:520px) {
  body#nosotros .rslides li {
  height:320px;
  }}
  @media only screen and (max-width:420px) {
  body#nosotros .rslides li {
  height:280px;
  }}
  @media only screen and (max-width:320px) {
  body#nosotros .rslides li {
  height:240px;
  }}



  /*
  @media only screen and (max-width:1500px) {
  body#nosotros .rslides {
  height:480px;
  }}
  @media only screen and (max-width:920px) {
  body#nosotros .rslides {
  height:460px;
  }}
  @media only screen and (max-width:620px) {
  body#nosotros .rslides {
  height:400px;
  }}
  /*
  @media only screen and (max-width:620px) {
  body#nosotros .rslides {
  display:block!important;
  bottom:auto;
  float:right;
  height:400px;
  position:relative;
  }}
  @media (max-width:820px) and (max-height:420px){
  body#nosotros .rslides {
  display:block!important;
  bottom:auto;
  float:right;
  height:400px;
  position:relative;
  }}
  */




  /*


  @media only screen and (max-height:400px) {
  body#nosotros .rslides{
  top:0px;
  bottom:auto;
  position:relative;
  top:auto;
  height:120%;
  }}
  @media (max-width:620px) and (max-height:400px) {
  body#nosotros .rslides{
  top:0px!important;
  }}

*/

/* OK
@media only screen and (max-height:400px){

.rslides {
  display:none!important;
  }

}

*/


.rslides li {
  bottom:0px;
  display:block;
  height:100%;
  text-align: center;
  left: 0px;
  top: 0px;
  right:0px;
  text-align: center;
  position:absolute;
  width:100%;
  }


.rslides li div{
  position:absolute;
  top:0px;
  left:0px;
  right:0px;
  bottom:0px;
  }


.rslides li div{
  background-position:center;
  background-repeat: no-repeat;
  -o-background-size: contain;
  -ms-background-size: contain;
  -webkit-background-size: contain;
  -moz-background-size: contain;
  background-size: contain;
  }

  body#index .rslides li div{
  -o-background-size: cover;
  -ms-background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  }


  @media only screen and (max-width:620px) {
  body#index .rslides li div{
  -o-background-size: cover;
  -ms-background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  background-position: center;
  }}



body#p-single .rslides {
  display:block;
  bottom:auto;
  left:0px;
  float:left;
  height: -webkit-calc(100% - 230px);
  height: -moz-calc(100% - 230px);
  height: -o-calc(100% - 230px);
  height: calc(100% - 230px);
  margin-top:15px;
  top:auto;
  position:relative;
  width:100%;
  }
  @media (min-height:400px) and (max-width:720px) {
  body#p-single .rslides{
  height: -webkit-calc(100% - 120px);
  height: -moz-calc(100% - 120px);
  height: -o-calc(100% - 120px);
  height: calc(100% - 120px);
  }}
  @media (max-height:400px) {
  body#p-single .rslides{
  display: none;
  }}
  @media (max-height:400px) {
  body#p-single .rslides_tabs{
  display:none!important;
  }}
  @media (max-height:400px) {
  body#p-single a.rslides_nav{
  display:none!important;
  }}
  @media (max-height:400px) {
  body#p-single .rslides *{
  display:none!important;
  }}

/*

body#p-single .rslides {
  bottom:auto;
  left:0px;
  float:left;
  height: -webkit-calc(100% - 200px);
  height: -moz-calc(100% - 200px);
  height: -o-calc(100% - 200px);
  height: calc(100% - 200px);
  position:relative;
  width:100%;
  }


body#p-single .rslides li {
  display:flex;
  justify-content:center;
  align-items:center;
  text-align: center;
  }




body#p-single .rslides li div{
  bottom:0px;
  float:left;
  display:block;
  margin-left: auto;
  margin-right: auto;
  height:100%!important;
  max-height: 100%!important;
  max-width:100%;
  width:auto;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align: center;
  position: relative;
  }


body#p-single .rslides li div img,
body#index .rslides li div img{
  float:none;
  height:auto;
  position:relative;
  margin-left: auto;
  margin-right: auto;
  max-height:100%;
  max-width:100%;
  width:auto;
  display:table-cell;
  vertical-align:middle!important;
  }


body#p-single .rslidesfull{
  height: -webkit-calc(100% - 0px);
  height: -moz-calc(100% - 0px);
  height: -o-calc(100% - 0px);
  height: calc(100% - 0px);
  position: fixed;
  top:0px!important;
  bottom:0px!important;
  }


body#p-single .rslides li div span{
  background-color:#000;
  position: absolute;
  height:40px;
  top:20px;
  left:20px;
  width:40px;
  z-index:9999;
  }

*/


body.nosotros .rslides li {
  position: absolute;
  display: none;
  height:100%;
  text-align: center;
  width: 100%;
  left: 0;
  top: 0;
  right:0px;
  bottom: 0px;
  }


body.nosotros .rslides li {
  background-repeat: no-repeat;
  background-position:center;
  background-size:cover;
  }

/*
body.nosotros .rslides li:nth-child(1) {
  background-image: url(../images/banner-taller.jpg);
  }
body.nosotros .rslides li:nth-child(2) {
  background-image: url(../images/banner-taller2.jpg);
  }
body.nosotros .rslides li:nth-child(3) {
  background-image: url(../images/banner-taller.jpg);
  }

*/

.rslides li p{
  color:#999;
  color:#888;
  height:25px;
  line-height: 25px;
  position: absolute;
  bottom:-28px;
  left:2%;
  font-size:0.9em;
  margin: 0px;
  padding: 0px;
  width:96%;
  z-index: 999999999999999;
  }
  @media only screen and (max-width:1600px) {
  .rslides li p{
  left:2%;
  width:65%;
  }}
  @media only screen and (max-width:1200px) {
  .rslides li p{
  left:2%;
  width:65%;
  }}
  @media only screen and (max-width:980px) {
  .rslides li p{
  left:2%;
  width:65%;
  }}
  @media only screen and (max-width:820px) {
  .rslides li p{
  left:2%;
  width:65%;
  }}
  @media only screen and (max-width:620px) {
  body#index .rslides li p{
  background-color:#222222;
  color:#666;
  bottom:-50px;
  height:40px;
  left:0%;
  text-indent:2%;
  text-align: center;
  line-height:40px;
  padding:5px 0px;
  width:100%;
  }}


  @media (max-width:820px) and (max-height:420px){
  body#index .rslides li p{
  background-color:#222222;
  color:#666;
  bottom:-50px;
  height:40px;
  left:0%;
  text-indent:2%;
  text-align: center;
  line-height:40px;
  padding:5px 0px;
  width:100%;
  }}

/*
  @media only screen and (max-height:400px){
  body#index .rslides li p{
  color:#999; 
  color:#666;
  height:25px;
  line-height: 25px;
  position: absolute;
  bottom:-28px;
  left:2%;
  font-size:0.9em;
  margin: 0px;
  padding: 0px;
  width:auto;
  z-index: 999999999999999;
  }}
  @media (max-width:620px) and (max-height:400px){
  body#index .rslides li p{
  background-color:#222;
  color:#666;
  bottom:-46px;
  height:36px;
  left:0%;
  text-indent:2%;
  text-align: center;
  line-height:18px;
  padding:5px 0px;
  width:100%!important;
  }}
*/

.rslides_tabs {
  font-size:12px;
  height:16px;
  list-style: none;
  padding:0px;
  text-align: center;
  overflow:hidden;
  position:absolute;
  width:100%;
  bottom:0px;
  left:0px;
  right:0px;
  top:auto;
  z-index:990;
  }



body#p-single .rslides_tabs  {
  bottom:145px;
  }
  @media only screen and (max-width:720px) {
  body#p-single .rslides_tabs{
  bottom:0px;
  }}
  @media only screen and (max-width:620px) {
  body#p-single .rslides_tabs{
  display:none!important;
  }}






body#index .rslides_tabs  {
  height:auto;
  bottom:80px;
  }
  @media only screen and (max-height:400px)  {
  body#index .rslides_tabs {
  top:120%;
  bottom: auto;
  }}


/* OK
@media only screen and (max-height:400px){
.rslides_tabs {
  display:none!important;
  }}
  */


.rslides_tabs li {
  display: inline-block;
  float: none;
  padding: 0px;
  margin:0px;
  margin-right: 1px;
  }

.rslides_tabs a {
  line-height:1em;
  border:1px solid #5c5c5c;
  background:transparent;
  display:block;
  font-size:0.000000001em;
  color: #989898;
  float: left;
  border-radius:50%;
  margin:0px 2px;
  padding:0px;
  height:5px;
  width:5px;
  }
  @media only screen and (max-width:620px) {
  .rslides_tabs a {
  display:inline-block!important;
  }}


.rslides_tabs li:first-child {
  margin-left: 0;
  }

.rslides_tabs .rslides_here a {
  background-color:transparent;
  border:1px solid #ed3237;
  color:#ed3237;
  font-weight: bold;
  }


a.rslides_nav,
a.rslides_nav:visited  {
  color:#999;
  font-size:4em;
  line-height:1em;
  font-family: 'Josefin Sans', sans-serif;  
  font-weight:100;
  height:300px;
  text-decoration: none;
  opacity:0.5;
  padding:0px;
  position: absolute;
  top:50%;
  margin-top:-190px;
  z-index: 99;
  width:40%;
  }
  @media only screen and (max-width:720px) {
  a.rslides_nav,
  a.rslides_nav:visited{
  margin-top:-100px;
  }}
  @media only screen and (max-width:620px) {
  a.rslides_nav,
  a.rslides_nav:visited{
  display: none!important;
  margin-top:-240px;
  opacity:1.0;
  }}
  /*
  @media only screen and (max-height:400px){
  a.rslides_nav,
  a.rslides_nav:visited{
  display:none!important;
  }}
  */


a.rslides_nav:hover{
  color:#fff!important;
  opacity:1.0;
  }


a.prev,
a.prev:visited {
  background-image: url(arrow-left.svg);
  background-repeat: no-repeat;
  background-size:65px 65px;
  background-position:left center;
  color: inherit;
  left:0px;
  }


a.next,
a.next:visited {
  background-image: url(arrow-rigth.svg);
  background-repeat: no-repeat;
  background-size:65px 65px;
  background-position:right center;
  color: inherit;
  right:0px;
  }


.displaynone {
  display: none!important;
  }
