/* desplegable diseño antiguo */

.accordion-icon-header::after {
  content: "";
  position: absolute;
  height: 24px;
  width: 24px;
  margin-top: -1.4em;
  right: 25px;
  background-image: url("https://www.securitasdirect.es/themes/custom/securitasDirect/images/icons/svg/arrow_down_small.svg") ;
  transition: transform .2s ease-in-out;
}
.accordion-icon-header:not(.collapsed)::after {
    position: absolute;
    background: transparent url("https://www.securitasdirect.es/themes/custom/securitasDirect/images/icons/svg/arrow_down_small.svg") no-repeat center top;
    transform: rotate(
-180deg);
}

/* ribbon diseño antiguo */

.ev-btn-cta{
  width:fit-content;
  font-size:30px!important;
  margin-top:0!important;
  border-radius:6em!important
}

.ev-btn-cta:hover, .btn-chev-right :hover, .btn-outline-primary:hover, .btn-outline-primary:focus{
  background-color:white!important;
  color:#f03!important;
}

.ev-btn-cta:hover span, .btn-chev-right:hover span{
  padding-right:.9em;
  transition-duration: 0.5s;
}

.btn-table{
  min-height: 58px!important;
  padding: 0px 10px!important;
}

.btn-outline-primary{
    background-color:white!important;
    display: inline-flex;
    align-items: center;
}
.btn-chev-right img:hover{
    color:#fff;
}

/* modulos */

.ev-module__intro {
  width: 90%;
  max-width: 900px;
  padding: 80px 0;
  margin: 0 auto;
}
.ev-module__intro p{
  font-size: 18px;
  line-height: 25px;
  text-align: center;
}

.comparativa-table .cell-sd__btn a{border-radius:5em}
.comparativa-table .medal-sd {
    top: 80px;
    right: -60px;
}

.recomendaciones-testimonio p:before {
    content: '';
    background-image: url(/sites/es/files/flmngr/evolutiva/comillas_1.png);
    background-repeat: no-repeat;
    position: absolute;
    opacity: .7;
    width: 40px;
    left: 20px;
    top: 43px;
    height: 40px;
    background-size: 28px;
}

.modulo-expertos-evo li{
  background-image: url(https://www.securitasdirect.es/lp/html/img/ico/bullet-flecha-roja@2x.png);
  background-repeat: no-repeat;
  padding-left:2rem;
}
.modulo-expertos-evo:before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    background-color: #f5f5f7ff;
    height: calc(100% - 90px);
    left: 0;
    bottom: 0;
}

.ev-intro-img.fondo-oscuro:after {
    background-color: rgba(0, 0, 0, .3);
  }

  .ev-intro-img:after {
    content: '';
    z-index: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: transparent;
    transition: all .5s ease;
  }
  .ev-intro-img {
      background-attachment: fixed;
    }
.ev-intro-img--sello img {
    width: 150px;
    border-radius: 5px;
  }
  
.ev-intro-img--sello .d-flex {
  align-items: center;
}
.ev-intro-img .ev-intro-img__text h3 {
   text-align: left;
 }
 .ev-intro-img .ev-intro-img__text .text-align-center {
   text-align: center;
 }
  .ev-border-arrow {

    bottom: 30px;
    width: 100%;
    z-index: 10;
  }
.ev-border-arrow-grey:before,.ev-border-arrow-grey:after{
  border-bottom:23px solid #f7f7f7!important;
  
}
  .ev-border-arrow:before,
  .ev-border-arrow:after {
    content: '';
    position: absolute;
    width: 50%;
    left: 0;
    height: 0;
    border-bottom: 23px solid #fff;
    border-right: 35px solid transparent;
  }

  .ev-border-arrow:after {
    right: 0;
    left: auto;
    top:0;
    border-right: none;
    border-left: 35px solid transparent;
  }
  
 .parallax-height {
    padding: 160px 0
  }
  
  .parallax-height h3 {
    text-align: center;
    position: relative;
    z-index: 1;
    transition: all .5s ease;
  }
  .parallax-height p{
    font-size: 18px;
    line-height: 25px;
  }
  
  .owl-carousel {
    display: block
  }

  .owl-theme .owl-controls .owl-page span {
    border: 8px solid #d7d2cb;
    background: #fff !important;
    border-radius: 12px !important;
    opacity: 1;
  }

  .owl-theme .owl-controls .owl-page.active span,
  .owl-theme .owl-controls .owl-page:hover span {
    background: #ff0033 !important;
    border-color: #ff0033;
  }
  
  .owl-theme .owl-controls .owl-buttons div {
    position: absolute;
    top: calc(50% - 15px);
    width: 30px;
    height: 30px;
    background: transparent!important;
    border-radius: 0;
    opacity: 1;
    left: -30px;
    padding: 0;
    margin: 0!important;
  }

  .owl-theme .owl-controls .owl-buttons div:before,
  .owl-theme .owl-controls .owl-buttons div:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: #ff0033;
    left: 0;
    transform: rotate(45deg);
    top: 5px;
  }

  .owl-theme .owl-controls .owl-buttons div:before {
    transform: rotate(-45deg);
    top: 25px;
  }

  .owl-theme .owl-controls .owl-buttons .owl-next {
    left: auto;
    right: -30px;
  }

  .owl-theme .owl-controls .owl-buttons .owl-prev:before {
    transform: rotate(-135deg);
  }

  .owl-theme .owl-controls .owl-buttons .owl-prev:after {
    transform: rotate(135deg);
  }

  .products-slider__wrapper {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 2rem;
  }

  .products-slider__item {
    padding: 0 25px;
  }

  .products-slider__item img {
    width: 300px;
    height: auto;
    margin: 0 auto;
  }

  .products-slider__item h3 {
    font-size: 20px;
  }
  
  .products-slider__item h4 {
    font-size: 20px;
  }
  
  .bg-luces {
    background-image: url(/sites/es/files/flmngr/evolutiva/securitas-direct-casa-noche-emergencia-ocupacion.jpg);
    background-position-y: 5em;
    background-repeat: no-repeat;
  }

  .luces-poli {
    padding-bottom: 250px
  }

  .icon-top {
    top: -2em
  }
  .ev-services__item-text h4{
    font-size: 28px;
    line-height: 35px;
    margin-bottom: 20px;
  }
  
   .ev-sos__action:before {
    content: '';
    position: absolute;
    left: 60px;
    top: calc(50% - 25px);
    width: calc(100% - 120px);
    height: 50px;
    background-color: #f03;
    opacity: .15;
    z-index: 0;
    transition: all 1.5s ease-out;
  }
  
  .guardian-evo{
    background-color:rgb(215, 210, 203);
  }
  .guardian-evo .container-md-none{
    max-width:none;
  }
  .guardian-evo h5{
    font-size: 33px;
    line-height: 40px;
  }
  .img-guardian-left{border-top-right-radius:55px}
  .img-guardian-right{border-top-left-radius:55px}
  .guardian-vertical-dots-left::after{left:calc(29px + -5px)}
.guardian-vertical-dots-right::after{right:calc(29px + -5px)}

.img-circle {
    position: absolute;
    width: 130px;
    height: 130px;
    border: 1px solid #f03;
    border-radius: 100%;
    left: calc(50% - 65px);
    top: calc(50% - 65px);
    z-index: 0;
    animation: circle1 3s ease infinite;
}
.img-circle:nth-of-type(2) {
    width: 150px;
    height: 150px;
    border-width: 2px;
    left: calc(50% - 75px);
    top: calc(50% - 75px);
    animation: circle2 3s ease infinite;
}
.img-circle:nth-of-type(3) {
    width: 170px;
    height: 170px;
    border-width: 3px;
    left: calc(50% - 85px);
    top: calc(50% - 85px);
    animation: circle3 3s ease infinite;
}
.img-circle:nth-of-type(4) {
    width: 190px;
    height: 190px;
    border-width: 4px;
    left: calc(50% - 95px);
    top: calc(50% - 95px);
    animation: circle4 3s ease infinite;
}
 #homedoctor-device:before{
    content: '';
    position: absolute;
    left: calc(50% - 1px);
    width: 2px;
    height: 100%;
    background-color: #f03;
}
.homedoctor .nuevo{
    background-color: #60b166;
    color: #fff;
    top: 1.5em;
    right: 0;
    padding: 1px 8px;
    border-radius: 16px 16px 16px 0;
    text-align: center;
    display:flex;
    font-size: 14px;
    font-weight:700;
    margin:0 auto;
    width: fit-content;
  }
  
  @keyframes circle4 {
    0% {opacity:1}
    20% {opacity:0}
    85% {opacity:0}
    100% {opacity:1}
}
@keyframes circle3 {
    0% {opacity:0.9}
    30% {opacity:0}
    75% {opacity:0}
    100% {opacity:0.9}
}
@keyframes circle2 {
    0% {opacity:0.8}
    40% {opacity:0}
    65% {opacity:0}
    100% {opacity:0.8}
}
@keyframes circle1 {
    0% {opacity:0.7}
    50% {opacity:0}
    55% {opacity:0}
    100% {opacity:0.7}
}

/* responsive */

@media (min-width:768px) {
    .ml-3em {
      margin-left: 3em
    }

    .ml-4em {
      margin-left: 4em
    }

    .ml-5em {
      margin-left: 5em
    }
}
@media (min-width:1300px) {
    .prod-anchor .owl-wrapper {
      display: flex !important;
      justify-content: space-between;
      width: auto !important;
    }
}

@media (max-width:1200px){
  .ev-offer__text{
    font-size:27px;
  }
  .ev-btn-cta{
    margin:0 auto;
  }
}
@media(max-width:980px) {
    .ev-offer__text {
      font-size: 30px
    }
}
@media (max-width: 992px) {
  .comparativa-table .medal-sd {
    right: -75px;
  }
}
@media (max-width: 768px){
  .card-hero .main-row {justify-content:center!important}

  .ev-module__intro{
    padding:inherit;
  }
  .ev-module__pretitle {
      font-size: 18px;
      line-height: 24px;
  }
  .ev-module__title {
    font-size: 36px;
    line-height: 43px;
  }
  .mobile-h {
    min-height: 463px
  }

  .prod-anchor .owl-wrapper-outer {
    overflow: initial
  }

  .products-nueva-alarma .owl-theme .owl-controls .owl-buttons div {
    bottom: 40em
  }
  .owl-theme .owl-controls .owl-buttons div {
    bottom: 0;
    top: auto;
    left: -10px;
  }

  .owl-theme .owl-controls .owl-buttons .owl-next {
    left: auto;
    right: -10px;
  }

  .products-slider__wrapper {
    padding: 0;
  }
 .luces-poli {
    padding-bottom: 0px
  }

  .bg-luces {
    background-image: none !important
  }

  .icon-top {
    top: 0
  }
  .ev-sos__action:before {
    content: '';
    left: -135px;
    top: calc(30% - -270px);
    width: calc(100% - -271px);

    background-color: #f03;
    transform: rotate(-90deg);
  }
  .guardian-evo{
    background-color:#fff;
  }
  .guardian-evo-img {
    width: 100%;
    max-height: 100%;
    height: 30vh;
  }
  .guardian-vertical-dots-right:after{
    left:9%;
   
  }
  .guardian-vertical-dots-left::after{
    right:9%;
     left:auto;
  }
  .guardian-2-mobile{
    display:flex;
    flex-direction:column;
  }
  .servicios-evol .owl-theme .owl-controls .owl-buttons div {
    bottom: 0;
    top: 6em;
  }
  .reverse{
    flex-direction:row-reverse;
    
  }
  #homedoctor-device:before{
    display:none;
  
  }
  
  .table-btn {
    grid-column: 1;
    grid-column-start: 1;
    grid-column-end: 5;
    background-color: white!important;
  }
}
@media (max-width: 580px){
.carousel{
      min-height: 440px;
height:300px!important;
}
.card-top{background-color:white}
.carousel-item{height:100%}
.carousel-item img{height:100%;object-fit:cover;}
  .ev-module__title {
    font-size: 28px;
    line-height: 35px;
  }
 .parallax-height {
    padding: 60px 0;
  }
  .ev-intro-img{
     background-attachment: initial;
  }
  .comparativa-table .cell-feature .cell-feature__title>span{display:none}
  .lum-lightbox-inner img{width:100%}
  .ev-intro-img--sello .d-flex {
    flex-direction: column;
  }
  .ev-intro-img .ev-intro-img__text h3,
  .ev-intro-img .ev-intro-img__text p {
    text-align: center;
  }
  .bg-white-mob{
    background-color:#fff!important;
  }
 .evol-oferta_texto{
  flex-direction: column;
  align-items: center;
  justify-content: center;
  }
  .evol-oferta_gratis{
    font-size:32px;
  }
  .evol-oferta_instalacion{font-size:28px;line-height:28px;}
  .evol-oferta{
    line-height:10px;
  }
  .owl-theme .owl-controls .owl-buttons div {
    width: 12px;
    left: 0;
  }
  .owl-theme .owl-controls .owl-buttons .owl-next {
    left: auto;
    right: 0;
  }
  .owl-theme .owl-controls .owl-buttons div:before,
  .owl-theme .owl-controls .owl-buttons div:after {
    width: 12px;
    height: 1.5px;
  }
  .owl-theme .owl-controls .owl-buttons div:before {
    top: 13px;
  }
}