.rd-mobilemenu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 9999;
  text-align: left;
  -moz-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease; }
  .rd-mobilemenu.active {
    right: 0; }

.rd-mobilemenu_ul {
  position: fixed;
  top: -56px;
  left: 50%;
  bottom: -56px;
  width: 100%;
  padding: 164px 0 76px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.85);
  font-weight: 300;
  letter-spacing: 0.5px;
  font-size: 27px;
  line-height: 41px;
  padding-left:0 !important;
  overflow: auto;
  -webkit-box-shadow: 5px 0 5px 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 5px 0 5px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 5px 0 5px 0 rgba(0, 0, 0, 0.1);
  -moz-transform: translate(-50%, -1000px);
  -ms-transform: translate(-50%, -1000px);
  -o-transform: translate(-50%, -1000px);
  -webkit-transform: translate(-50%, -1000px);
  transform: translate(-50%, -2800px);
  -moz-transition: 0.3s ease;
  -o-transition: 0.3s ease;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
  -moz-transition: 0.3s cubic-bezier(0.55, 0, 0.1, 1);
  -o-transition: 0.3s cubic-bezier(0.55, 0, 0.1, 1);
  -webkit-transition: 0.3s cubic-bezier(0.55, 0, 0.1, 1);
  transition: 0.3s cubic-bezier(0.55, 0, 0.1, 1); 
  max-width: 797px;
}
.rd-mobilemenu_ul>li{
  text-align: center;
  margin-bottom: 1px;
}
.rd-mobilemenu.active .rd-mobilemenu_ul {
    -moz-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}
  .rd-mobilemenu_ul a {  display: block; padding: 14px 25px 16px; color: #ffffff; font-family: 'Oswald', sans-serif; text-transform: lowercase;}
.rd-mobilemenu_ul ul a{padding: 8px 25px 8px;}
/*.rd-mobilemenu_ul li.active a,
.rd-mobilemenu_ul a:hover{
  text-decoration: none;
  font-weight: 500;
}*/

    .rd-mobilemenu_ul a .rd-submenu-toggle {
      position: absolute;
      top: 50%;
      right: 11px;
      margin-top: -17.5px;
      width: 32px;
      height: 32px;
      font: 400 10px "FontAwesome";
      line-height: 32px;
      text-align: center;
      -webkit-border-radius: 50%;
      -moz-border-radius: 50%;
      border-radius: 50%;
      -moz-transition: 0.5s all ease;
      -o-transition: 0.5s all ease;
      -webkit-transition: 0.5s all ease;
      transition: 0.5s all ease;
      z-index: 1;
      background: rgba(0, 0, 0, 0.1); }
      .rd-mobilemenu_ul a .rd-submenu-toggle:after {
        content: '\f078'; }
      .rd-mobilemenu_ul a .rd-submenu-toggle:hover {
        background: #FFF;
        color: #666; }
    .rd-mobilemenu_ul a.rd-with-ul {
      position: relative; }
      .rd-mobilemenu_ul a.rd-with-ul.active .rd-submenu-toggle {
        -moz-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg); }
  .rd-mobilemenu_ul ul a {
    padding-left: 40px; }
  .rd-mobilemenu_ul ul ul a {
    padding-left: 60px; }
  .rd-mobilemenu_ul:after {
    content: '';
    display: block;
    height: 20px; }

.rd-mobilepanel {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  color: #000;
  -webkit-box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
  z-index: 9999;
  background: #000000;
   }

.rd-mobilepanel_title {
  position: absolute;
  padding-top:0;
  margin-top:0;
  text-align:center;
  left: 56px;
  right: 56px;
  color: #000;
  font-size: 24px;
  text-overflow: ellipsis;
  white-space: nowrap; 
  z-index: 1
}

.rd-mobilepanel_toggle {
  position: absolute;
  border:none;
  background: none;
  top: 4px;
  right: 50%;
  width: 48px;
  height: 48px;
  margin-right: -410px;
}
.rd-mobilepanel_toggle span {
  position: relative;
  display: block;
  margin: auto;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.rd-mobilepanel_toggle span:after, .rd-mobilepanel_toggle span:before {
  content: "";
  position: absolute;
  left: 0;
  top: -8px;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.rd-mobilepanel_toggle span:after {
  top: 8px;
}
.rd-mobilepanel_toggle span:after, .rd-mobilepanel_toggle span:before, .rd-mobilepanel_toggle span {
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  backface-visibility: hidden;
}
.rd-mobilepanel_toggle span:before, .rd-mobilepanel_toggle span:after {
  -webkit-transition-duration: 0.3s, 0.3s;
  transition-duration: 0.3s, 0.3s;
  -webkit-transition-delay: 0.3s, 0s;
  transition-delay: 0.3s, 0s;
  -webkit-transition-property: top, -webkit-transform;
  transition-property: top, transform;
}
.rd-mobilepanel_toggle.active span {
  transition: background .3s 0s ease;
  background: transparent;
}
.rd-mobilepanel_toggle.active span:before, .rd-mobilepanel_toggle.active span:after {
  top: 0;
  -webkit-transition-delay: 0s, 0.3s;
  transition-delay: 0s, 0.3s;
}
.rd-mobilepanel_toggle.active span:before {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.rd-mobilepanel_toggle.active span:after {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

/*@media (max-width: 767px) {*/
  .rd-mobilemenu, 
  .rd-mobilepanel {
      display: block; 
  } 
  body{
    padding: 56px 0 0;
  }
  #header{
    display: none
  }
/*}*/



.rd-mobilepanel #logoMovil{
  top: 5px; 
  margin: auto; 
  left: auto; 
  display: block; 
  position: relative; 
  width: 45px;
}
.rd-mobilepanel #logoMovil img{
  display: block;
  width: 100%;
  height: 100%;
}

@media(max-width:1199px){
  
}

@media(max-width:1099px){
  
}


@media(min-width:1200px){
  
}
@media(min-width: 1450px){
  /*#texHome1 img{
    width: auto;
  }*/
}

@media(min-width:992px){
  .rd-mobilemenu_ul {
    padding: 166px 0 76px;
  }
  .rd-mobilemenu_ul a {
    line-height: 32px;
  }
}
@media(max-width:991px){
   #topGeneral .text{
    font-size: 32px;
   }
   #topGeneral .img {
    width: 241px;
  }
  #topGeneral .text{
    height: 241px;
  }
  #topGeneral {
    padding-right: 240px;
  }
  .rd-mobilepanel_toggle {
    margin-right: -372px;
  }
}

@media(max-width:991px) and (min-width:768px){
  #divPortfolio .maxw786,
  #divInteractions .maxw786 {
    padding: 0 4px;
  }
  .rd-mobilemenu_ul {
    padding: 166px 0 76px;
  }
  .rd-mobilemenu_ul a {
    line-height: 32px;
  }
}
@media(min-width:768px){
}
@media(max-width:767px){
  
  #frmContacto{
    position: static;
    margin: auto
  }
  
  a.toTop {
    left: auto;
    right: 21px;
  }
  #main{
    padding-top: 15px;
  }
  body[data-page="1"] #main{
    padding-top: 45px;
  }
  /*#texHome1 img{
    width: 350px;
  }*/
  
  #texHome1{
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  
  #topContact .text{
    font-size: 4.2vw;
  }
  #divPortfolio .maxw786,
  #divInteractions .maxw786 {
    padding: 0 5px;
  }

  #topGeneral:before,
  #topGeneral:after{
    display: block;
    content: "";
    clear: both;
  }
  #topGeneral{
    display: flex;
    flex-wrap: wrap;
    padding-right: 0;
  }
  #topGeneral .text{
    flex-basis: 66.6666%;
    padding-right: 0;
    height: auto;
    
  }
  
  #topGeneral .img{
    position: static;
    flex-basis: 33.3333%;
    transform: translateY(1px);
  }
  #topGeneral.top1.about .text h1{
    font-size: 40px;
  }
  .rd-mobilepanel_toggle {
    margin-right: 0;
    right: 3px;
  }
}
@media(max-width:767px) and (min-width: 692px){
  .rd-mobilemenu_ul {
    padding: 178px 0 76px;
  }
  .rd-mobilemenu_ul a {
    line-height: 32px;
  }
}

@media(max-width: 750px){
  #topGeneral .text {
    font-size: 29px;
  }
  .textNos1 h1 {
    font-size: 40px;
  }
  .textNos1 .text {
    font-size: 25px;
  }
}
@media(max-width: 691px){
  #textGaleria div[class*="col-"]{
    width: 25%;
  }
  .textNos1 .text {
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0.1px;
  }
}
@media(max-width: 690px){
  #textGaleria div[class*="col-"]{
    width: 33.3333%;
  }
}
@media(max-width: 680px){
  #frmContacto div[class*="col-"]{
    width: 100%
  }
  #topGeneral .text {
    font-size: 25px;
  }
  .textNos1 h1 {
    font-size: 35px;
    line-height: normal;
  }
  #topGeneral.top1.about .text h1 {
    font-size: 35px;
    line-height: normal;
  }
}
@media(max-width:650px){
  #topContact .img {
    width: 200px;
  }
  #topContact{
    min-height: 0;
    padding-right: 228px;
  }
  #topContact .text{
    height: 200px;
  }
}
@media(max-width:600px){
  #frmContacto .tit strong{
    display: block;
  }
  #frmContacto .tit span {
    position: static;
    display: block;
    line-height: 24px;
    padding-bottom: 10px;
  } 
  /*.fancybox-opened {
    width: 100% !important;
    left: 0 !important;
  }
  .fancybox-inner{
    width: 100% !important;
    height: auto !important;
  }
  .fancybox-image{
    height: auto !important
    max-height: auto !important;
  }*/
  #topGeneral .text {
    font-size: 22px;
  }
  .textNos1 h1 {
    font-size: 30px;
  }
  #topGeneral.top1.about .text h1 {
    font-size: 30px;
  }
  
}
@media(max-width:550px){
  #topContact .img {
      width: 150px;
  }
  #topContact {
    padding-right: 178px;
  }
  #topContact .text {
    height: 150px;
  }
  
}
@media(max-width: 540px){ 
 /* #textGaleria div[class*="col-"]{
    width: 50%;
  }*/
  /*#divInteractions .col,
  #divPortfolio .col{
    width: 50%;
  }*/
}
@media(max-width: 520px){
}
@media(max-width:500px){
  #frmContacto .row .lbl{
    padding-bottom: 8px
  }
  #frmContacto .row .text-right{
    
  } 
  #frmContacto input[type="submit"]{
    font-size: 20px;
    height: 30px;
    line-height: 25px;
    width: 75px;
  }
  /*#textGaleria .row{
    margin: 0 -10px;
  }
  #textGaleria div[class*="col-"]{
    padding: 0 10px;
  }*/
  #topGeneral .text {
    font-size: 19px;
  }
  .textNos1 h1 {
    font-size: 25px;
  }
  #topGeneral.top1.about .text h1 {
    font-size: 25px;
    margin-bottom: -6px;
  }
}

@media(max-width:480px){
  #footer .tfooter{
    line-height: 26px;
    margin-bottom: 0;
  }
  #footer .tfooter,
  #footer #powered {
    font-size: 12px;
    letter-spacing: 0.3px;
  }
  /*.textNos1 .text {
    font-size: 16px;
  }*/
  .rd-mobilemenu_ul {
    font-size: 27px;    
    line-height: 23px;
  }
}

@media(max-width:440px){
  #topGeneral .text {
    font-size: 17px;
  }
  .textNos1 h1 {
    font-size: 21px;
  }
  #topGeneral.top1.about .text h1 {
    font-size: 22px;
  }
  
}
@media(max-width:365px){
}


@media (max-width: 480px) and (min-width: 381px) {
  .fancybox-close {
      top: 13px;
      right: 8px;
      width: 12px;
      height: 12px;
  }
  .fancybox-next span,
  .fancybox-prev span{
       background-size: 100% auto !important;
      width: 15px;
  }
}
@media (max-width: 400px){
  .fancybox-close{
    top: 9px;
  }
  #topGeneral .text {
    font-size: 15px;
  }
}

@media (max-width: 380px) {
  #topContact .img {
    width: 130px;
  }
  #topContact .text {
    height: 130px;
  }
  #topContact {
    padding-right: 144px;
  } 
  #topGeneral .text {
    font-size: 13px;
  }
  .textNos1 h1 {
    font-size: 19px;
    margin-bottom: 24px;
  }
  
  .textNos1 .flex-2 .text{
    flex-basis: 100%;
  }
  #topGeneral.top1.about .text h1 {
    font-size: 18px;
    margin-bottom: -5px;
  }
  
}
@media (max-width: 320px){
  /*.fancybox-close {
      top: 9px;
      right: 8px;
      width: 12px;
      height: 12px;
  }*/
}
.fancybox-close{
  z-index: 99999
}
.fancybox-margin{
  margin-right: 0 !important
}