/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/***font family***/

@font-face {
  font-family:'OpenSans';
  font-weight:300;
  src: url('./fonts/OpenSans-Light.ttf')format("truetype");
}

@font-face {
  font-family:'OpenSans';
  font-weight:400;
  src: url('./fonts/OpenSans-Regular.ttf')format("truetype");
}

@font-face {
  font-family:'OpenSans';
  font-weight:500;
  src: url('./fonts/OpenSans-Medium.ttf')format("truetype");
}

@font-face {
  font-family:'OpenSans';
  font-weight:600;
  src: url('./fonts/OpenSans-SemiBold.ttf')format("truetype");
}

@font-face {
  font-family:'OpenSans';
  font-weight:700;
  src: url('./fonts/OpenSans-Bold.ttf')format("truetype");
}

@font-face {
  font-family:'OpenSans';
  font-weight:800;
  src: url('./fonts/OpenSans-ExtraBold.ttf')format("truetype");
}

@font-face {
  font-family:'Franklin';
  font-weight:400;
  src: url('./fonts/Franklin Gothic Demi Cond.ttf')format("truetype");
}

@font-face {
  font-family:'firasans';
  font-weight:400;
  src: url('./fonts/FiraSans-Regular.ttf')format("truetype");
}

@font-face {
  font-family:'firasans';
  font-weight:500;
  src: url('./fonts/FiraSans-Medium.ttf')format("truetype");
}

@font-face {
  font-family:'firasans';
  font-weight:600;
  src: url('./fonts/FiraSans-SemiBold.ttf')format("truetype");
}

@font-face {
  font-family:'arcon';
  font-weight:400;
  src: url('./fonts/arcon.regular.otf')format("opentype");
}

/*Customized widget - Floating Buttons (HTML)*/
.floating-button{
    position: fixed;
    width: 50px;
    height: 50px;
    line-height: 50px;
    bottom: 80px;
    right: 19px;
    font-size: 20px;
    background-color: #4F6ACA;
    color: #fff !important;
    border-radius: 50px;
    text-align: center;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.floating-button *{
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.floating-button.float-btn-trigger{
    background-color: #4F6ACA;
    /* animation: 2.5s wiggle ease infinite; */
    /* animation-delay: 1s; */
    width: auto;
    min-width:50px;
}

.floating-button:not(.float-btn-trigger){
    opacity: 0;
}

.floating-button.float-btn-trigger .icon-trigger{
    width: 50px;
    height: 50px;
    line-height: 50px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    animation: 2.5s wiggle ease infinite;
    animation-delay: 1s;
    position: relative;
}

.floating-button.float-btn-trigger .chat-with-us {
    padding-inline: 0 0;
    font-size: 16px;
    text-transform: capitalize;
    overflow: hidden;
    text-indent:-100px;
    transform: scale(0);
    transform-origin: 100% 50%;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.floating-button.float-btn-trigger .chat-with-us.pop {
    padding-inline: 15px 0;
    text-indent:0;
    transform: scale(1);
}

.floating-button.float-btn-trigger #open-float{
    opacity: 1;
}
.floating-button.float-btn-trigger #close-float{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) rotate(0deg);
    opacity: 0;
}

.floating-button.floating-button_mail{background-color: rgba(0, 114, 198, 1);}
.floating-button.floating-button_phone{background-color: rgba(220, 16, 16, 1);}
.floating-button.floating-button_whatsapp{background-color: rgba(37, 211, 102, 1);}

/*when toogle*/
.floating-button.float-btn-trigger.toogle .icon-trigger{
    animation: none;
}

.floating-button.toogle:not(.float-btn-trigger){
    opacity: 1;
}

.floating-button.float-btn-trigger.toogle #open-float{
    opacity: 0;
}
.floating-button.float-btn-trigger.toogle #close-float{
    opacity: 1;
    transform: translate(-50%,-50%) rotate(180deg);
}

.floating-button.floating-button_mail.toogle{bottom:140px;}
.floating-button_phone.toogle{bottom: 200px;}
.floating-button_whatsapp.toogle{bottom:260px;}

/*animation for trigger*/
@keyframes wiggle {
  0% {
    transform: scale(1),rotate(0);
  }
  9.375% {
    transform: scale(1.1) rotate(0);
  }
  18.75% {
    transform: scale(1.1) rotate(-3deg);
  }
  28.125% {
    transform: scale(1.1) rotate(20deg);
  }
  37.5% {
    transform: scale(1.1) rotate(-15deg);
  }
  46.875% {
    transform: scale(1.1) rotate(5deg);
  }
  56.25% {
    transform: scale(1.1) rotate(-1deg);
  }
  65.625% {
    transform: scale(1.1) rotate(0);
  }
  75% {
    transform: scale(1) rotate(0);
  }

  100% {
    transform: scale(1) rotate(0);
  }
}

/*when mobile only*/
@media only screen and (max-width: 767.98px) {
    .floating-button{
        bottom:10px;
        right: 15px;
    }

    .floating-button.floating-button_mail.toogle{bottom:70px;}
    .floating-button_phone.toogle{bottom: 130px;}
    .floating-button_whatsapp.toogle{bottom:190px;}
    
    #side-contact {
        position: fixed;
        background: #fff;
        width: 100%;
        height: 70px;
        bottom: 0;
        right: -100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 10px;
        z-index: 999;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        /*padding-right: 70px;*/
    }
    
    #side-contact.toogle {
        right: 0;
    }
    
    #side-contact a.floating-button:not(.float-btn-trigger) {
        position: initial;
        opacity:1;
    }

    .floating-button.float-btn-trigger .chat-with-us.pop {
        padding-inline: 15px 0;
        text-indent:0;
        transform: scale(1);
        animation: none;
    }

    .floating-button.float-btn-trigger.toogle .chat-with-us.pop {
        padding-inline: 0 0;
        text-indent:-100px;
        transform: scale(0);
    }
    
}

/*for rev slider*/
.preloader{
  display:none !important;
}