@import url('https://fonts.googleapis.com/css?family=Roboto');

*{
  padding: 0;
  margin: 0;
  font-family: 'Roboto', sans-serif;
}
.carousel-control-next,
.carousel-control-prev{
  z-index: 98;
}

.carousel-control-next-icon {
  margin-left: auto;
  background-color: #fff;
  height: 80px;
  width: 30px;
  background-image: url('../img/iconos/ic_keyboard_arrow_right_24px.svg');
}

.carousel-control-prev-icon{
  margin-right: auto;
  background-color: #fff;
  height: 80px;
  width: 30px;
  background-image: url('../img/iconos/ic_keyboard_arrow_left_24px.svg');
}

.carousel-indicators > li{
  width: 12px;
  height: 12px;
  border-radius: 12px;
  background-color: #fff;
}

.carousel-indicators > li.active{

  background-color: #049CDB;
}

.texto-centrado{
  text-align: center;
}

#principal{
  max-width: 1050px;
  min-width: 860px;
  -webkit-box-shadow: 1px 0px 13px 6px rgba(0,0,0,0.38);
  -moz-box-shadow: 1px 0px 13px 6px rgba(0,0,0,0.38);
  box-shadow: 1px 0px 13px 6px rgba(0,0,0,0.38);
}

#cabecera{
  padding: 18px 24px 18px 24px;
  min-width: 600px;
}

#cabecera h4{
  font-size: 36px;
}

#cabecera h1{
  font-weight: 800;
  font-size: 36px;
  color: #049CDB;
  margin-bottom: 12px;
}

.navbar{
  margin-top: -3px;
}

#cabecera b{
  margin-right: 15px;
}

#cabecera button{
  z-index: 99;
}

#cabecera a{
  margin-top: 0px;
}
#cabecera a:hover{
  text-decoration: none;
}

#contenedor_telefono{
  margin-top: 0px !important;
}

.alerta{
  margin: auto;
  margin-top: 40px;
}

.alerta-fija{
  position: fixed;
  top:0;
  left: 50%;
  margin-left: -250px;
}

.icono-menu{
  font-size: 14px;
}
.icono-menu > img{
  padding-right: 15px;
  padding-bottom: 3px;
  fill:blue;
}

/*Animación menú superior*/
.navbar-toggler{
  border: none;
  margin-bottom: 0.5rem !important;
}

.navbar-brand{
  position: relative;
  left: -30px;
}

.navbar-toggler:focus,
.navbar-toggler:active {
    outline: 0;
}

.navbar-toggler span {
   display: block;
   background-color: #049CDB;
   height: 3px;
   width: 25px;
   margin-top: 4px;
   margin-bottom: 4px;
   -webkit-transform: rotate(0deg);
   -moz-transform: rotate(0deg);
   -o-transform: rotate(0deg);
   transform: rotate(0deg);
   position: relative;
   left: 0;
   opacity: 1;
}

.navbar-toggler span:nth-child(1),
.navbar-toggler span:nth-child(3) {
   -webkit-transition: transform .35s ease-in-out;
   -moz-transition: transform .35s ease-in-out;
   -o-transition: transform .35s ease-in-out;
   transition: transform .35s ease-in-out;
}

.navbar-toggler:not(.collapsed) span:nth-child(1) {
    position: absolute;
    left: 12px;
    top: 10px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
    opacity: 0.9;
}

.navbar-toggler:not(.collapsed) span:nth-child(2) {
    height: 12px;
    visibility: hidden;
    background-color: transparent;
}

.navbar-toggler:not(.collapsed) span:nth-child(3) {
    position: absolute;
    left: 12px;
    top: 10px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg);
    opacity: 0.9;
}

.collapsing{
  -webkit-transition: width 2s, height 4s; /* For Safari 3.1 to 6.0 */
  transition: width 2s, height 0.5s;
}

.navbar .nav-item:last-child{
  padding-bottom: 10px;
}

.nav-item a:hover{
  color: #049CDB !important;
}

.activo a{
  font-weight: 600;
  color: #049CDB !important;

}

.navbar > div > a{
  color: #049CDB !important;
}

#contenido_menu{
  position: absolute;
  border-top: 1px solid #049CDB;
  top: 105px;
  background-color: #fff;
  padding-right: 15px;
  padding-left: 15px;
  z-index: 99;
}

#logo_principal{
  width: 45px;
  height: 40px;
  position: relative;
  top: 7px;
  margin-left: 15px;
  margin-right: 5px;
}

#ico_telefono_principal{
  height: 38px;
  margin-right: 7px;
  margin-top: 2px;
}

#formulario_carrousel{
  position: absolute;
  top: 15px;
  padding: 5px;
  text-align: center;
  height: 400px !important;
}

#formulario_carrousel > form:first-child{
  height: 150px;
}

#formulario_carrousel > form:first-child > input{
  width: 10px;
}

#formulario_carrousel input{
  height: 23px;
}

#formulario_carrousel > form{
  background-color: rgb(247,246,246);
  padding: 5px 15px 5px 15px;
  -webkit-box-shadow: 1px 6px 16px -1px rgba(0,0,0,0.38);
  -moz-box-shadow: 1px 6px 16px -1px rgba(0,0,0,0.38);
  box-shadow: 1px 6px 16px -1px rgba(0,0,0,0.38);
}

#formulario_carrousel label{
  font-size: 14px;
}

#formulario_carrousel .boton:last-child{
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}

#formulario_carrousel .boton:first-child{
  font-size: 18px;
  font-weight: bolder;
  max-width: 150px;
  height: 28px;
  margin: 10px auto 10px auto;

}

#formulario_carrousel .form-check-label{
  font-size: 10px;
  position: relative;
  top:3px;
}

#formulario_carrousel h4{
  font-weight: bolder;
  font-size: 20px;
  color: #049CDB;
  margin: 15px;
}
#formulario_carrousel h5{
    margin: 20px 10px 20px 10px;
    font-size: 18px;
    font-weight: 600;
    color: #049CDB;
}

#formulario_carrousel > form:first-child{
  border-radius: 10px 10px 0 0;
  -moz-border-radius: 10px 10px 0 0;
  -webkit-border-radius: 10px 10px 0 0;
  border: 0px solid #000000;
}

#formulario_carrousel > form:last-child{
  border-radius: 0 0 10px 10px;
  -moz-border-radius: 10px 10px;
  -webkit-border-radius: 0 0 10px 10px;
  border: 0px solid #000000;
}

.boton{
  background-color: #049CDB;
  z-index: 99;
  padding: 0;
  margin-bottom: 5px;
  font-size: 14px;
}

.boton:hover{
  background-color: #fff;
  color:#049CDB;
}

#contenido{
  background-color: rgb(247,246,246);
  height: 650px;
  padding-top: 30px !important;
  padding-bottom: 100px;
  font-size: 14px;
}

#contenido h4{
  font-weight: bolder;
  margin-bottom: 30px;
}

.imagen{
  display: block;
  width: 100%;
  height: auto;
}

#menu{
  margin-top: -80px;
  padding-bottom: 80px;
}

#elemento-menu > a{
  color: inherit;
}

#elemento-menu > a > p{
  text-align: center;
  padding: 5px;
  width: 200px;
  font-size: 14px;
  font-weight: bold;
  margin-top : 0.5rem;
  margin-bottom: 0.5rem;
}

#elemento-menu > a > img{
  border-bottom: 2px solid rgb(247,246,246);
}

#elemento-menu > a:hover{
  text-decoration: none;
  color: inherit;
}

#elemento-menu{
  max-width: 200px !important;
  margin-left: 6px;
  margin-right: 6px;

  -webkit-box-shadow: 0px 10px 22px -4px rgba(201,201,201,1);
  -moz-box-shadow: 0px 10px 22px -4px rgba(201,201,201,1);
  box-shadow: 0px 10px 22px -4px rgba(201,201,201,1);
}

#elemento-menu:hover{
  -webkit-box-shadow: 0px 10px 22px -4px rgba(0,0,0,0.75);
  -moz-box-shadow: 0px 10px 22px -4px rgba(0,0,0,0.75);
  box-shadow: 0px 10px 22px -4px rgba(0,0,0,0.75);
  transition: box-shadow 0.3s ease-in-out;
}


#elemento-menu:hover p{
  color: rgb(4,156,219);

}

#contenedor-caracteristicas{
  background-color: rgb(247,246,246);
  margin-top: 10px;
  padding: 20px 0 20px 0;
}

#contenedor-caracteristicas > div > img{
  width: 320px;
}

#lista-caracteristicas{
  margin-top: 20px;
}

#lista-caracteristicas > li{
  list-style: none;
  color: rgb(4,156,219);
  padding: 3px;
}

#lista-caracteristicas > li > img{
  margin-right: 10px;
}

#carousel-inferior{
  margin-top: 80px;
  margin-bottom: 80px;
}

#carousel-inferior h3{
  margin-bottom: 40px;
}

.owl-dots{
  display: block !important;
}
.owl-dot >span{
  background-color: #fff !important;
  border: 1px solid #049CDB;
  width: 12px !important;
  height: 12px !important;
  padding: 0;
}

div.active >span{
  background-color: #049CDB !important;
  border: 3px solid #049CDB;
  width: 14px !important;
  height: 14px !important;
}

#pie_pagina{
  width: 100%;
  height: 80px;
  background-color: #049CDB;
  color:#FFF;
}

#pie_pagina > ul > li{
  margin:0 18px 0 18px;
}

#pie_pagina > ul > li:first-child{
  list-style: none;
}

/***************/

#logo{
  width: 40px;
  height: 30px;
}

#texto-header{
  margin-left: 5px;
  font-size: 1.3rem;
  font-weight: bolder;
}

@-webkit-keyframes slide {
    100% { opacity: 1; }
}

@keyframes slide {

  100% {
    opacity: 1;
  }
}

#texto-flotante{
  font-size: 30px;
  font-weight: bolder;
  padding: 10px;
  margin-left: 55px;
  margin-right: -55px;
  font-weight: bolder;
  color: #049CDB;
  position: relative;
  opacity: 0;
  top: 45px;
  height: auto;
  background-color: #fff;

  -webkit-animation: slide 0.5s forwards;
  -webkit-animation-delay: 2s;
  animation: slide 1.5s forwards;
  animation-delay: 0.5s;

  -webkit-box-shadow: 1px 7px 5px 0px rgba(0,0,0,0.38);
  -moz-box-shadow: 1px 7px 5px 0px rgba(0,0,0,0.38);
  box-shadow: 1px 7px 5px 0px rgba(0,0,0,0.38);
}

#imagen-cabecera-seguridad{
  height: 350px;
  background-image: url("../img/cabeceras/cabecera_autogestion.jpg");
}

#imagen-cabecera-grabacion{
  height: 350px;
  background-image: url("../img/cabeceras/cabecera_camara.jpg");
}

#imagen-cabecera-instaladores{
  height: 350px;
  background-image: url("../img/cabeceras/cabecera_instaladores.jpg");
}

#imagen-cabecera-acceso{
  height: 350px;
  background-image: url("../img/cabeceras/cabecera_accesos.jpg");
}

#imagen-cabecera-doc{
  height: 350px;
  background-image: url("../img/cabeceras/fondo_gen.jpg");
}

.contenido_central{
  margin-top: 80px;
  margin-bottom: 80px;
}

.contenido_central h2{
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 30px;
}

.contenido_central p{
  font-size: 14px;
}

#contenedor_contacto{
  background-color: rgb(247,246,246);
  margin-top: 80px !important;
  padding-top: 30px;
  padding-bottom: 30px;
}

.contenedor_contacto_no_contenido{
  background-color: rgb(247,246,246);
  padding-top: 30px;
  padding-bottom: 30px;
}

#cabecera_contacto{
  color:#049CDB;
  margin-bottom: 40px;
}

small{
  display: none;
}

#cabecera_contacto h4{
  font-weight: bolder !important;
}

#contenedor_contacto div:first-child .col-10{
  margin-left: 15px !important;
}

#contenedor_contacto div:first-child .col-1{
  max-width: 26px !important;
}

#contenedor_contacto label{
  color: #049CDB;
  font-weight: bold;
}

#btn-form-contacto{
  background-color: #049CDB;
  color: #fff;
  border-color: #fff;
}

#btn-form-contacto:hover{
  background-color: #fff;
  color: #049CDB;
  border-color: #049CDB;
}

#pie_pagina a{
  color: inherit;
}

#info_adicional{
  background-color: #049CDB;
  height: 50px;
  color: #fff;
}

.line{
    width: 100%;
    height: 47px;
    margin-top: -47px;
    border-bottom: 3px solid #049CDB;
    position: relative;
}

/********Estilo imagenes de control de acceso*******/
#resumen_camaras > img{
  -webkit-box-shadow: 1px 6px 16px -1px rgba(0,0,0,0.38);
  -moz-box-shadow: 1px 6px 16px -1px rgba(0,0,0,0.38);
  box-shadow: 1px 6px 16px -1px rgba(0,0,0,0.38);
  max-width: 400px;
  position: relative;
  left: 40px;
}

#collage_camaras img{
  position: relative;
  width: 120px;

  -webkit-box-shadow: 1px 6px 16px -1px rgba(0,0,0,0.38);
  -moz-box-shadow: 1px 6px 16px -1px rgba(0,0,0,0.38);
  box-shadow: 1px 6px 16px -1px rgba(0,0,0,0.38);
}

#cam_1{
  top: 40px;
}

#cam_2{
  top: -10px;
  z-index: -1;
}

#cam_3{
  top: -50px;
}

#contenido_control_accesos img{
  transition: transform .2s
}

#contenido_control_accesos img:hover{
  transform: scale(1.1);
}

.navbar-toggler{
  min-width: 60px;
}

@media screen and (max-width: 1050px) {
  #principal{
    min-width:160px;
  }

  #cabecera h1{
    font-size: 18px;
    position: relative;
    top: -5px;
  }

  #cabecera h4{
    font-size: 18px;
    margin-bottom: 0;
  }

  #cabecera b{
    margin-right: 0;
    position: relative;
    top:2px;
    color:#000;
  }

  #cabecera{
    min-width: 360px;
    margin:0;
    padding: 0;
    position: fixed;
    background-color: #fff;
    top:0;
    left:0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    z-index: 99;
  }

  div[id^="imagen-cabecera"]{
    margin-top: 113px;
    /* height: 350px; */
  }

  #imagen-cabecera{
    height: 850px;
  }

  .imagen-domotica{
    width: 50% !important;
    margin: auto;
  }

  .navbar{
    -webkit-box-shadow: 4px 0px 4px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 4px 0px 4px rgba(0, 0, 0, 0.2);
    box-shadow: 4px 0px 4px rgba(0, 0, 0, 0.2);
    height: 50px;
    padding: 0;
    padding-top: 5px;
  }

  #logo_principal{
    margin-left: 30px;
  }

  #ico_telefono_principal{
    width: 26px;
    height: 26px;
    margin-bottom: 0;
  }
  #telefono_movil{
    position: relative;
    left: 30px;
  }

  #contenido_menu{
    /* position: static; */
    width: 100%;
    top:50px;
    -webkit-box-shadow: 4px 5px 4px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 4px 5px 4px 0px rgba(0,0,0,0.2);
    box-shadow: 4px 5px 4px 0px rgba(0,0,0,0.2);
  }

  #contenido{
    background-color: #fff;
    padding-top: 35px !important;
  }

  #carrousel_principal img{
    width: 150%;
  }

  #pie_pagina{
    height: auto !important;
  }
  #pie_pagina > ul{
    flex-direction: column;
    align-items: center;
    list-style: none;
  }

  #pie_pagina > ul > li{
    padding-bottom: 20px;
    padding-top: 20px;
  }

  #imagen-cabecera-seguridad{
    height: 219px !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  #imagen-cabecera-grabacion{
    height: 219px !important;
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
  }

  #imagen-cabecera-instaladores{
    height: 219px !important;
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
  }

  #imagen-cabecera-doc{
    height: 219px !important;
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
  }

  .contenido_central{
    margin-bottom: 0 !important;
    margin-top: 35px !important;
    font-size: 12px;
  }

  #contenedor_contacto{
      margin-top: 35px !important;
  }

  #contenedor_contacto h4{
    text-align: center;
  }

  #contenedor_contacto .row{
    padding-top: 10px;
    padding-bottom: 10px;
  }

  #contenedor_contacto .form-group{
    margin: 0;
  }

  #contenedor_contacto > div:first-child > div{
    padding-left: 20%;
  }

  #contenedor_contacto > div:first-child > div:first-child {
    padding-left: 0 !important;
  }

  #contenedor_contacto > div:first-child > div:first-child *{
    padding-left: 0;
  }

  #resumen_camaras{
    display: flex;
    justify-content: center;
    padding-bottom: 35px;
  }

  #resumen_camaras > img{
    width: 290px;
    height: 290px;
    position: static;

    -webkit-box-shadow: 1px 6px 16px -1px rgba(0,0,0,0.38);
    -moz-box-shadow: 1px 6px 16px -1px rgba(0,0,0,0.38);
    box-shadow: 1px 6px 16px -1px rgba(0,0,0,0.38);
  }

  #collage_camaras{
    width: 320px !important;
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }


  #collage_camaras img{
    /*position: static;*/
    width: 90px;
  }

  #contenedor-caracteristicas img{
    margin: auto;
  }

  #contenido_control_accesos{
    margin-top: 48px;
  }

  #contenido_control_accesos img{
    margin-top: 48px;
  }

  #carousel-inferior{
    margin-top: 35px !important;
    margin-bottom: 35px !important;
  }

  #carousel-inferior h3{
    font-size: 18px;
  }

  .contenido_principal{
    text-align: center;
  }

}

@media screen and (max-width: 1032px){
  #menu > div:first-child{
    margin-left: 0px !important;
  }

  #menu > div:last-child{
    margin-left: auto !important;
    margin-right: auto !important;

  }

  #contenido{
    padding-bottom: 35px;
  }
}

@media screen and (max-width: 766px){
  #lista-caracteristicas{
    width: 70%;
    margin-left: auto;
    margin-right: auto;
  }

  #contenido{
    padding-bottom: 35px;
  }
  .imagen-domotica{
    width: 60% !important;
  }

  #contenedor_contacto > div:first-child > div{
    padding-left: 0;
  }
  
}

@media screen and (max-width: 576px) {
  #contenedor_telefono{
    border-radius: 100px;
    -moz-border-radius: 100px;
    -webkit-border-radius: 100px;
    border: 0px solid #000000;

    -webkit-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);

    height: 40px;
    margin-left: 10px;
    display: flex;
    align-items: center;
    align-self: center;
    justify-content: flex-end;
  }

  .img_anviz{
    display: block;
    width: 100%;
    height: auto;
  }

  .img_alarma{
    max-width: 100%;
  }

  .imagen-domotica{
    width: 100% !important;
  }

  #contenedor-caracteristicas{
    height: auto;
    margin-top: 95px;
    /* margin-bottom: -45px; */
  }

  #lista-caracteristicas{
    width: 100%;
  }

  #contenedor-caracteristicas > div > img{
    width: 100%;
  }

  #info_adicional{
    font-size: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
    height: auto;

  }

  #info_adicional > div > span{
    margin:10px;
  }

  #cam_1, #cam_2, #cam_3{
    position: static !important;
    margin-left: 5%;

  }

  #cabecera_contacto > div:first-child{
    padding-right: 0;
    padding-left: 0;
  }

  #cabecera_contacto > div:nth-child(2){
    padding-left: 0;
    padding-right: 0;
  }

  #resumen_camaras{
    padding-bottom: 20px;
  }
  
}

@media screen and (max-width: 346px) {
  #logo_principal{
    margin-left: 20px;
    height: 35px;
    width: 40px;
  }

  #imagen-cabecera-inicio{
    margin-top: 107px;
  }

  #cabecera h1{
    margin-bottom: 10px;
  }

  #cabecera{
    min-width: 300px;
  }

  #cabecera h4{
    font-size: 14px !important;
  }
}
