/*
* Styling for footer region
*/
/* Defatul style*/

/* Happiness block */
  .happiness-bundle-block .container {
    top: -75px;
  }
  .ajman-flex {
    display: flex;
    flex-wrap: wrap;
    /*justify-content: center;*/
  }
  .ajman-flex > .ajman-flex-items a {
    color: #3F3B3B;
  }
  .ajman-flex > .ajman-flex-items {
     flex: 30%;
     max-width: 30%;
     height: 181px;
     padding: 40px 32px;
     margin: 15px;
     border-radius: 12px;
     background: #FFFFFF;
  }
  .ajman-flex-items .happiness-bottom {
    width: 100%;
    margin-top: 25px;
    font-size: 14px;
  }
  .happiness-top {
    display:flex;
    height: 37px;
  }
  .happiness-top h6 {
    width: 80% ;
    line-height: 37px;
    margin: 0;
    font-size:  24px;
    color: #212529;
  }
  .happiness-top .happiness-icon {
    width: 20%;
  }
  .is_rtl .happiness-top .happiness-icon-wrapper,
  .is_rtl .happiness-top h6,
  .is_rtl .happiness-bottom p {
    text-align: right;
  }

  /* App service list */
  .service-items-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 50px;
  }
  .service-items-wrapper .service-item {
    flex: 50%;
    display:flex;
    justify-content: center;
  }
  .service-items-wrapper .service-item .service-item-left {
    width: 20%;
    padding-left: 20px;
  }
  .service-items-wrapper .service-item .service-item-right {
    width: 80%;
    margin-top: 5px;
  }
  .is_rtl .service-items-wrapper .service-item .service-item-right {
    text-align: right;
  }

  /* Service catalog block */
  .service-flex {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 10px;
    height: 315px;
  }
  .service-flex-item,
  .is_rtl p.service-flex-item {
    text-align: center;
  }
 .service-flex-item.ser-logo {
     flex: 35%;
  }
 .service-flex-item.ser-title {
    flex: 50%;
    font-weight: 700;
 }
 .service-flex-item.ser-sec-title {
    flex: 20%;
 }
 .service-flex-item.ser-link {
    flex: 15%;
 }
 a.service-flex-item {
    color: #1762B8;
 }

 ul.service-slide-nav {
    display: flex;
    width: 72px;
    height: 36px;
    list-style: none;
    margin-top: 20px;
    padding: 0;
    direction: ltr;
 }
 ul.service-slide-nav li {
    flex: 50%;
    border: 1px #EBECEC solid;
    box-shadow: 2px 4px rgb(96 97 112 / 20%);
    text-align: center;
    border-radius: 2px;
    cursor: pointer;
    transition: transform 250ms;
 }
 ul.service-slide-nav li:hover{
  transform: translateY(-3px);
 }
 ul.service-slide-nav li i {
    color: #1762B8;
    margin-top: 5px;
    display: block;
    font-size: 24px;
 }

 .service_slider .slick-dots {
   bottom: -70px;
 }


 /* Large devices like iPhone5/SE */
@media (min-width: 320px) and (max-width: 568px) {
  .happiness-top h6 {
    font-size: 19px;
  }
  .ajman-flex > .ajman-flex-items {
    padding: 25px 32px;
  }
  .ajman-flex-items .happiness-bottom {
    margin-top: 10px;
  }
  .stickynav .block-ajman-settings.block-user-menu-block {
    margin-left: 4px;
  }
  .is_rtl #block-usermenublock-2 {
    margin-left: -47px;
  }
  .service-items-wrapper .service-item .service-item-right {
    margin-left: 10px;
  }

  /* Apps service block */
  .path-frontpage #services {
    padding: 40px 0;
  }
  .path-frontpage .components h2,
  .path-frontpage .components h3 {
    font-size: 2em;
  }
}

/* Extra small devices (iphones6/7/8) */
@media (min-width: 375px) and (max-width: 767px) {
  .is_rtl #block-usermenublock-2 {
    margin-left: -100px;
  }
}

/* Extra small devices (phones, 768px and down) */
@media (max-width: 767px) {
  .ajman-flex {
    justify-content: center;
  }
}


/* Extra small devices (phones, 768px and down) */
@media (max-width: 768px) {
    /* Breadcrumb styling */
    /*ul.ajman-bread-list {
      flex-direction: unset !important;
    }
    .ajman-bread-list li.ajman-bread-list-item:not(:first-child) {
      padding: 0 0 0 10px !important;
    }*/

    /* Happiness bundle block */
    .ajman-flex > .ajman-flex-items {
     flex: 100%;
     max-width: 100%;
    }
    .happiness-bundle-block .container {
      top: 0;
    }
    /* Hero image block */
    .paragraph--type--hero-image {
        height: 688px;
    }
    .paragraph--type--hero-image .span12.text-align-center .hero-image-wrapper {
        margin-top: 150px;
    }

    /* Search block */
    #views-exposed-form-global-site-search-page-1 .form-submit {
        margin-left: 0 !important;
    }

    .is_rtl #views-exposed-form-global-site-search-page-1 .form-submit {
        margin-right: 0 !important;
    }

    /* Apps block */
    .services-list- {
        padding-top: 0;
    }
    .services-list h6 {
        padding-top: 5px;
    }

    .service-items-wrapper .service-item {
       flex: 100%;
    }
    .service-items-wrapper .service-item .service-item-left {
        width: 20%;
        padding-left: 10px;
    }
    .service-items-wrapper .service-item .service-item-right {
        width: 80%;
    }
    .service-items-wrapper {
        margin-top: 20px;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {

}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    /* Happiness bundle block */
    .ajman-flex > .ajman-flex-items {
        flex: 40%;
        max-width: 40%;
        padding: 30px 20px;
    }
    /* App service block */
    .service-items-wrapper .service-item {
        flex: 50%;
    }
}

/* Large devices like iPad */
@media (min-width: 768px) and (max-width: 1023px) {
  /*.ajman-flex {
    justify-content: center;
  }*/
}

/* Large devices like iPad Pro */
@media (min-width: 980px) and (max-width: 1199px) {
    .service-items-wrapper .service-item .service-item-left {
        padding-left: 10px;
    }
    .service-items-wrapper {
        margin-top: 10px;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    /* Happiness bundle block */
    .ajman-flex > .ajman-flex-items {
        flex: 30%;
        max-width: 30%;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {

}