.rd-mobilemenu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 999999;
  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: 0;
  bottom: -56px;
  width: 240px;
  padding: 132px 0 76px;
  color: #2c2c2c;
  background:#d7d7d7;
  font-size: 14px;
  line-height: 20px;
  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: translateX(-240px);
  -ms-transform: translateX(-240px);
  -o-transform: translateX(-240px);
  -webkit-transform: translateX(-240px);
  transform: translateX(-240px);
  -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); }
  .rd-mobilemenu.active .rd-mobilemenu_ul {
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    -webkit-transform: translateX(0);
    transform: translateX(0); }
  .rd-mobilemenu_ul a {  display: block; padding: 14px 25px 16px; color: #2c2c2c; font-family: 'Open Sans', sans-serif;}
  .rd-mobilemenu_ul ul a{padding: 8px 25px 8px;}
    .rd-mobilemenu_ul a.active,.rd-mobilemenu_ul li.active a {color:#ffffff;background: rgba(206,0,12,0.75); text-decoration: none}
    .rd-mobilemenu_ul a:hover { color:#ffffff;background: rgba(206,0,12,0.75); text-decoration: none}
    .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: 99999991;
  background: url(../images/bgMenu.jpg) no-repeat;
  background-size: cover;
  border-top: solid 4px #ce000c;
   }

.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;
  left: 8px;
  width: 48px;
  height: 48px; }
.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: 4px;
  background-color: #fff;
  backface-visibility: hidden;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}
.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; 
	} 
}



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

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

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

@media(min-width:992px){
	.flex-direction-nav .flex-prev {
		margin-left: -470px;
	}
	.flex-direction-nav .flex-next {
		margin-left: -425px;
	}
	#darkTop .bgTop{
		width: 505px;
	}
	.contenDark{
		padding-right: 0px;
		padding-top: 51px;
	}
	#menu li a{
		padding: 0 7px;
	}
	#menu li{
		width: 106px;
		padding: 0px;
	}
	#menu li:first-child{
		width: 70px;
		justify-content: flex-start;
	}
	#menu li:nth-child(4){
		width: 91px;
	}
	#menu li:last-child{
		width: 86px;
		background: transparent;
		justify-content: flex-end;
	}
	#menu li.active a, #menu li a:hover, #menu li a:focus{
		color:#ce000c;
		font-weight: 500;
	}
	#datFooter .conf1{
		width: 278px;
		margin-right: 65px;
		margin-bottom: 0
	}
	#datFooter .conf2{
		margin-right: 65px;
		width: auto;
		margin-bottom: 0
	}
	#datFooter .conf3{
		margin-right: 65px;
		width: auto;
	}
	#datFooter .conf4{
		width: auto;
	}
	#textHome2 .contentHome2 .bg1{
		left: -490px;
	}
	#textHome2 .contentHome2 span.span1{
		font-weight: 300;
		display: block;
	}
	.contHome2{
		padding-left: 70px;
	}
	#textHome4 .row div[class*="col-"]{
		width: 25%;
	}
	#textNos3 div[class*="col-"]{
		width: 33.3333%;
	}
	#textNos3 div[class*="col-"]:nth-child(4),#textNos3 div[class*="col-"]:nth-child(5),#textNos3 div[class*="col-"]:nth-child(6){
		margin-bottom: 42px;
	}
	.contentNos3-1{
		margin-right: auto;
		margin-left: 0;
	}
	.contentNos3-2{
		margin: auto;
	}
	.contentNos3-3{
		margin-left: auto;
		margin-right: 0;
	}
	#textServ2 div[class*="col-"]{
		width: 33.333%;
	}
	#textServ4 .itemServ4{
		padding: 0 25.3px;
	}
	#obras div[class*="col-"]{
		margin-bottom: 47px;
		width: 50%;
	}
	#obras div[class*="col-"]:nth-child(2n + 2) .contentObra{
		margin-left: auto;
		margin-right: 0;
	}
	#obras div[class*="col-"] .contentObra{
		margin-left: 0;
		margin-right: auto;
	}
}
@media(min-width:1200px){
	.flex-direction-nav .flex-prev {
		margin-left: -490px;
	}
	.flex-direction-nav .flex-next {
		margin-left: -445px;
	}
	#darkTop .bgTop{
		height: 590px;
		width: 533px;
	}
	#datFooter .conf1{
		width: 278px;
		margin-right: 83px;
	}
	#datFooter .conf2{
		margin-right: 102px;
	}
	#datFooter .conf3{
		margin-right: 63px;
	}
	#textHome2 .contentHome2 .bg1{
		left: -445px;
	}
	.obrades div:first-child{
		height: 102px;
		line-height: 102px;
	}
	.obrades div:last-child{
		height: 102px;
	}
}
@media(min-width:1450px){
	#sliderTop,
	#sliderTop .slides li, #darkTop .bgTop{
		height: 644px
	}
}
@media(max-width:991px){
	.flex-direction-nav .flex-prev {
		display: none;
	}
	.flex-direction-nav .flex-next {
		display: none;
	}
}

@media(max-width:991px) and (min-width:768px){
}
@media(min-width:768px){
}
@media(max-width:767px){
	body{
		padding: 56px 0 0;
		padding-bottom: 36px;
	}
	#header #topMenu{
		display: none;
	}
	#header{
		margin-top: 56px;
		height: auto;
	}
	#frmContacto{
		position: static;
		margin: auto
	}
	#sliderTop{
		height: auto;
		margin-top: 0px;
	}
	#sliderTop .caption{
		right: 0;
		text-align: center;
		padding: 0 15px;
		width: 100%;
		bottom: 0;
		left: 0;
		margin: 0;
	}
	#sliderTop .caption article{
		text-align: center
	}
	a.toTop {
		left: auto;
		right: 21px;
	}
	#redes{
		display: flex;
		width: 100%;
		height: 36px;
		position: fixed;
		bottom: 0;
		top: auto;
		left: 0;
		background:#ffffff;
		z-index: 5;
		padding: 0;
	}
	#redes a{
		height: auto;
		width: 33.3333%;
		display: flex;
		align-items: center;
		justify-content: center;
		height: 100%;
		color:#ffffff;
		font-size: 18px;
		margin-right: 0;
	}
	#redes a:hover,#redes a:focus{
		text-decoration: none;
	}
	#redes .fb{
		background: #395398 !important;
	}
	#redes .tr{
		background: #42bded !important; 
	}
	#redes .in{
		background: #AB7F5C !important;
	}
	#redes .yt{
		background: #ca250a !important;
	}
	#redes a .fa{
		display: block;
	}
	.logo .imgLogo{
		display: none;
	}
	#sliderTop .slides li,#darkTop .bgTop{
		height: 400px;
	}
	.contenDark {
		padding-top: 0;
	}
	#sliderTop .caption{
		display: none;
	}
	#darkTop .container{
		height: 400px;
	}
	#darkTop .caption{
		background: url(../images/banner/before.png) right center no-repeat;
		background-size: auto;
		position: absolute;
		z-index: 1;
		bottom: 0;
		left: 0;
		height: auto;
		font-family: "Oswald", serif;
		font-size: 28px;
		color: #ffffff;
		font-weight: 200;
		text-transform: uppercase;
		line-height: 35px;
		text-align: center;
		width: 100%;
		display: block;
	}
	#darkTop .caption article{
		padding: 24px 0;
	}
	#darkTop .caption strong{
		font-weight: 700;
		display: block;
		font-size: 31px;
	}
	#textHome2 .contentHome2 .bg1{
		display: none;
	}
	#textHome2 .contentHome2{
		padding-left: 0;
		height: auto;
		padding: 60px 0;
		text-align: center;
	}
	.contHome2{
		padding-left: 0px;
	}
	#bg1{
		background: url(../images/inicio/bg1.png) center left no-repeat;
		background-size: auto;
		height: 300px;
	}
	#sliderTop .slides li.slider2{
		background-position-x: center !important;
	}
	#textServ2 .row{
		margin: 0 -15px;
	}
	#textServ2 div[class*="col-"]{
		padding: 0 15px;
	}
	#textServ4{
		padding-bottom: 24px;
	}
	#textServ4 .contentServ4{
		margin: 0px;
		flex-wrap: wrap;
	}
	#textServ4 .itemServ4{
		width: calc(33.333% - 0.5px);
		padding: 0;
		margin-right: 0;
		margin-bottom: 20px;
		padding: 0 15px !important;
	}
	#textServ4 .itemServ4:nth-child(3){
		border-right: 0;
	}
	#textServ4 .itemServ4:first-child{
		justify-content: center;
	}
	#textServ4 .itemServ4:last-child{
		justify-content: center;
	}
}
@media(max-width:640px){
	#textNos2{
		flex-wrap: wrap;
	}
	#textNos3 div[class*="col-"]{
		width: 100%;
	}
	#textNos3 div[class*="col-"]:nth-child(5){
		margin-bottom: 63px;
	}
	#textServ2 div[class*="col-"]{
		width: 100%;
	}
}
@media(max-width:600px){
	#footer{height:auto; padding-bottom: 15px}
	#footer .tfooter,
	#footer #powered{float:none; text-align:center; margin-bottom:10px}
	#footer .tfooter span{display:block; text-align:center; line-height:18px}
	
	#footer .container {
		padding: 14px 0 0;
	}
	#frmContacto .tit strong{
		display: block;
	}
	#frmContacto .tit span {
		position: static;
		display: block;
		line-height: 24px;
		padding-bottom: 10px;
	}	
	.contentHome1{
		height: auto;
		padding: 80px 0;
	}
	#bg1{
		height: 250px;
		background-size: 120%;
	}
	#textHome3 .contentHome3{
		font-size: 24px;
		line-height: 26px;
	}
}
@media(max-width:540px){
	#textServ4 .itemServ4{
		width: calc(50% - 0.5px);
	}
	#textServ4 .itemServ4:nth-child(3){
		border-right: solid 1px #d1d1d1;
	}
	#textServ4 .itemServ4:nth-child(2),#textServ4 .itemServ4:nth-child(4){
		border-right: 0;
	}
}
@media(max-width:520px){
	#datFooter .conf1{
		width: 100%;
		margin-right: 0;
		margin-bottom: 40px;
	}
	#datFooter .conf2{
		width: 100%;
		margin-bottom: 40px;
	}
	#datFooter .conf3{
		margin-right: 0;
		width: 100%;
		margin-bottom: 0px;
	}
	#datFooter .conf4{
		width: 100%;
		display: none;
	}
	#textHome4 .row div[class*="col-"]{
		width: 100%;
	}
	#textServ3 .container{
		font-size: 26px;
	}
}
@media(max-width:500px){
	#frmContacto div[class*="col-"]{
		width: 100%
	}
	#frmContacto .row .lbl{
		padding-bottom: 8px
	}
	#frmContacto .row .text-right{
		text-align: center
	}	
	#textServ1 .contentServ1{
		font-size: 26px;
	}
}

@media(max-width:480px){
	#footer .tfooter em{
		display: block;
		height: 1px;
		opacity: 0;
	}
	#darkTop .bgTop{
		width: 390px;
	}
	#darkTop .caption{
		font-size: 24px;
		line-height: 28px;
	}
	#darkTop .caption strong{
		font-size: 26px;
	}
	.titleHome2{
		font-size: 24px;
		line-height: 30px;
	}
	#bg1{
		height: 200px;
		background-size: 120%;
	}
	#textHome3 .contentHome3{
		font-size: 20px;
		line-height: 22px;
	}
	#sliderTop .slides li.slider2{
		background-position-x: -1700px !important;
	}
}

@media(max-width:420px){
	#darkTop .bgTop{
		width: 335px;
		position: relative;
		top: auto;
		left: auto;
	}
	.logo{
		padding-bottom: 0px;
	}
	#darkTop .bgTop:before{
		right: -15px;
	}
	#sliderTop .slides li.slider1{
		background-position-x: -1920px !important;
	}
	.contentHome1{
		letter-spacing: 0.15px;
	}
	.titleHome2{
		font-size: 22px;
		line-height: 30px;
	}
	#bg1{
		height: 180px;
		background-size: 110%;
	}
	#textServ1 .contentServ1{
		font-size: 22px;
	}
	#textServ3 .container{
		font-size: 22px;
	}
	.dateObra{
		flex-wrap: wrap;
	}
	.dateObra div:first-child{
		width: 100%;
		margin-right: 0;
	}
	.dateObra div:last-child{
		width: 100%;
	}
	.obrades div:last-child{
		height: auto;
		padding-bottom: 10px;
	}
	.obrades div:first-child{
		height: 35px;
		line-height: 35px;
	}
}
@media(max-width:365px){
	#darkTop .bgTop{
		width: 100%;
		max-width: 335px;
	}
	.datosTop{
		font-size: 13px;
		margin-bottom: 15px;
		font-weight: 300;
	}
	.datosTop .icoTop{
		margin-right: 5px;
	}
	#bg1{
		height: 180px;
		background-size: 122%;
	}
	#sliderTop .slides li.slider2{
		background-position-x: -1750px !important;
	}
}