/*
Theme Name: Acella Custom Theme
Theme URI: https://acellapharma.com
Author: b. Branded Creative
Author URI: https://www.acellapharma.com
Description: Custom Theme for Acella Pharma
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: custom

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

.home-main-slider ul li .img img{
    width: 100%;
    min-height: 350px;
    object-fit: cover;
    height: 625px;
}
.home-main-slider ul{
    height: 625px;
    margin: 0;
}
.home-main-slider ul li{
    width: 100%;
    display: inline-block;
    position: relative;
}
.home-main-slider ul li .text{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99;
    text-align: center;
    color: #fff;
    width: 90%;
}
.home-main-slider ul{
    position: relative;
    padding: 0 !important;
}
.home-main-slider .text h1{
    color: rgb(255, 255, 255);
    font-size: 80px;
    font-weight: 300;
    font-family: "Source Sans Pro", sans-serif;
    letter-spacing: 0px;
}
.home-main-slider .text p{
    font-weight: 300;
    font-family: "Source Sans Pro", sans-serif;
    text-align: inherit;
    font-size: 30px;
}
.home-main-slider .text a{
    color: rgb(255, 255, 255);
    border: 1px solid rgb(255, 255, 255);
    padding: 20px 40px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 18px;
    line-height: 22px;
    font-weight: 400;
    max-width: 211px;
    margin: 30px auto 0 auto;
    transition: all 0.4s ease;
}
.home-main-slider .text a:hover{
    color: #FFF !important;
    background: #185fac !important;
    border-color: #185fac !important;
}
.home-main-slider li img {
    width: 100%;
    -webkit-transition: all 1s linear;
    transition: all 1s linear;
    opacity: 0.6;
    /* -webkit-transform: scale(1);
            transform: scale(1); */
  }
  .home-main-slider .slick-active li img {
    /* -webkit-transform: scale(1.2);
            transform: scale(1.2); */
    -webkit-animation: cssAnimation 8s 1 linear forwards;
    animation: cssAnimation 8s 1 linear forwards;
    opacity: 1;
  }
  .home-main-slider .slick-arrow{
    width: 40px;
    height: 40px;
    border: 1px solid #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

  }
  .home-main-slider .slick-arrow::before{
    display: none;
  }
  .home-main-slider .slick-arrow::after{
    font-family: "revicons";
    font-size: 20px;
    color: rgb(255, 255, 255);
    display: block;
    line-height: 40px;
    text-align: center;
    content: "\e82d";
    margin-right: -3px;
  }
  .home-main-slider .slick-prev::after{
    content: "\e82c";
    margin-left: -3px;
    margin-right: unset;
  }
  .home-main-slider .slick-prev{
    left: 25px;
  }
  .home-main-slider .slick-arrow{
    background:rgba(255,255,255,0.1) !important;
    transition: all 0.4s ease;
  }
  .home-main-slider .slick-arrow:hover{
    background: #185fac !important;
    border-color: #185fac !important;
  }
  @media(min-width:1441px){
    .home-main-slider ul li .img img,
    .home-main-slider ul{
        height: 60vh;
    }
  }
  @media(max-width:1366px){
    .home-main-slider ul li .text{
        width: 80%;
    }
    .home-main-slider ul li .img img,
    .home-main-slider ul{
        height:437px;
    }
    .home-main-slider .text h1 {
        font-size: 65px;
    }
    .home-main-slider .text p {
        font-size: 25px;
    }
  }
  @media(max-width:1199px){
    .home-main-slider .text h1 {
        font-size: 55px;
    }
    .home-main-slider .text p {
        font-size: 22px;
    }
  }
  @media(max-width:767px){
    .home-main-slider .text a {
        padding: 15px 20px;
        max-width: 180px;
    }
    .home-main-slider .slick-arrow{
        right: 20px;
    }
    .home-main-slider .slick-prev {
        left: 20px;
    }
    .home-main-slider .text h1 {
        font-size: 50px;
    }
    .home-main-slider .text p {
        font-size: 20px;
        line-height: normal;
    }
  }
  @media(max-width:576px){
    .home-main-slider ul li .text{
        width: calc(100% - 120px);
    }
    .home-main-slider .slick-arrow {
        width: 30px;
        height: 30px;
    }
    
    .home-main-slider .text h1 {
        font-size: 45px;
    }
    .home-main-slider .slick-arrow::after{
        margin-top: -5px;
    }
  }
  @media(max-width:480px){
    .home-main-slider .text h1 {
        font-size: 35px;
    }
    .home-main-slider .text p {
        font-size: 18px;
    }
    .home-main-slider .text a {
        padding: 11px 10px;
        max-width: 140px;
        margin-top: 15px;
        font-size: 14px;
    }
    .home-main-slider ul li .img img,
    .home-main-slider ul {
        height: 350px;
    }
  }
  @media(max-width:400px){
    .home-main-slider .text h1 {
        font-size: 30px;
    }
    .home-main-slider .text p{
        font-size: 16px;
    }
    .home-main-slider .text a {
        padding: 9px 10px;
        max-width: 130px;
        font-size: 14px;
    }
  }