/*---------------->> Typography <<----------------*/
body{ 
    font-family: $poppins;
    font-weight: $regular;
    line-height: 1.6;
    color:$pblack;
}
h1, h2, h3, h4, h5, h6, p{
    margin: 0;
    font-family: $poppins;
    font-weight: $regular;
    letter-spacing: 0.25px;
}
h1{
    font-size: 38px;
}
h2{
    font-size: 26px;
}
h3{
    font-size: 22px;
}
h4{
    font-size: 18px;
}
h5{
    font-size: 16px;
}
h6{
    font-size: 14px;
}
p{
    font-size: 13px;
    line-height: 1.4;
}
main section{
    padding: $lg-space 0;
}
figure{
    overflow: hidden;
    margin-bottom: 0;
}
figure img{
    width: 100%;
}
a:hover,
a:focus,
a{
    text-decoration: none;
    color: inherit;
    outline: none;
}
ul{
    margin: 0!important;
    list-style: none;
    padding-left: 0;
}
.input-group-addon,
.btn{
    border-radius: 0;
}
.txt-white{
    color: $white;
}
.txt-blue{
    color: $blue;
}
.txt-black{
    color: $black;
}
.txt-red{
    color: $red;
}
.txt-sky{
    color: $sky;
}
.txt-green{
    color: $green;
}
.txt-yellow{
    color: $golden;
}
.bg-red{
    background: $red;
}
.bg-green{
    background: $green;
}
.bg-yellow{
    background: $golden;
}
.bg-sky{
    background: $sky;
}
.bg-blue{
    background: $blue;
}
article{
    :is(h1,h2,h3,h4,h5,h6){
      color: $black;
      font-weight: 600;
    }
    p{
      color: #7F7F7F;
    }
}
.accordion{
    .accordion-item {
        margin-bottom: 10px;
        background-color: transparent;
        border: none; 
        border-top: 3px solid transparent; 
        font-family: $poppins;
        border-radius: 5px;
        &.active {
            border-top: 3px solid $white; 
            background: rgba($white, .1);
        }
        &:last-child{
            .accordion-button{
                margin-bottom: $sm-space;
            }
        }
    }
    .accordion-header{
        color: $black;
        background: transparent;
        position: relative;
        h2{
            color: $black;
        }
        [class*='fa-']{
            font-size: .75rem;
            position: absolute;
            right: 25px;
            top: 50%;
            transform: translate(0, -50%);
            opacity: 0;
            color: #333;
        }
        &:hover{
            .accordion-button{
                color: $black;
            }
            [class*='fa-']{
                opacity: 1;
            }
        }
    }
    .accordion-button{
        font-family: $poppins;
        background: transparent;
        color: #333;
        font-weight: 500;
        padding: 0;
        &:hover, &:focus{
            
            outline: none;
            box-shadow: none;
        }
        &:after{
            // display: none;
            width: 0.75rem;
            height: 0.75rem;
            background-size: 0.75rem;
        }
        &:not(.collapsed) {
            color: $black;
            background-color: transparent;
            box-shadow: none;
            margin-bottom: $sm-space;
            [class*='fa-']{
                color: $black Im !important;
            }
        }
        &.collapsed {
            color: #333;
            [class*='fa-']{
                color: #333;
            }
        }
        [class*='fa-']{
            margin-left: -5px;
            font-size: .5em;
            margin-right: 10px;
        }
    }
    .accordion-body{
        color: $sky;
        font-size: 14px;
        line-height: 1.4;
        padding: 0;
    }
}
/*--------------->> Buttons CSS <<-----------------*/
.btn{
    min-width:5em;
    height:40px;
    font-size: .7rem;
    font-weight: 500;
    font-family: $poppins;
    text-transform: capitalize;
    padding: 0.375rem .5rem;
    letter-spacing: 1.25px;
    position:relative;
    border:none;
    border-radius: .25rem;
     @include transition(.3s linear);
     &:hover, 
         &:focus{
             font-weight: 500;
        color: inherit;
        @include transition(.3s linear);
        outline: none;
        box-shadow: none;
    }
}
.btn{
    width: 100%;
}
.btn-link{
    padding: 0;
    text-decoration: none;
    font-size: 15px;
    font-weight: $regular;
    letter-spacing: .5px;
    color: $blue;
    font-family: $poppins;
    @include flexbox;
    align-items: center;
    &:hover{
        color: darken($blue, 5%);
        .fi{
          &:before{
              margin-right: 1em;    
              transform: translate(10%, -50%);         
          }
      }
    }
}
.btn-blue{
    background: $blue;
    color: $white;
    @include inline-flex;
    justify-content: center;
    align-items: center;
    @include transition(ease-in 0.3s);
    &:hover, &:focus{
        background: darken($blue, 10%);
        color: $white;
    }
}
.btn-sky{
    background: $sky;
    color: $white;
    @include inline-flex;
    justify-content: center;
    align-items: center;
    @include transition(ease-in 0.3s);
    &:hover, &:focus{
        background: darken($sky, 10%);
        color: $white;
    }
}
.btn-green{
    background: $green;
    color: $white;
    @include inline-flex;
    justify-content: center;
    align-items: center;
    @include transition(ease-in 0.3s);
    &:hover, &:focus{
        background: darken($green, 10%);
        color: $white;
    }
}
.btn-red{
    background: $red;
    color: $white;
    @include inline-flex;
    justify-content: center;
    align-items: center;
    @include transition(ease-in 0.3s);
    &:hover, &:focus{
        background: darken($red, 10%);
        color: $white;
    }
}
.btn-white{
    background: $white;
    color: $black;
    @include inline-flex;
    justify-content: center;
    align-items: center;
    @include transition(ease-in 0.3s);
    &:hover, &:focus{
        background: darken($white, 10%);
        color: $black;
    }
}
.btn-transparent{
    background: rgba($white, .4);
    color: $white;
    @include inline-flex;
    justify-content: center;
    align-items: center;
    @include transition(ease-in 0.3s);
    &:hover, &:focus{
        background: darken(rgba($white, .4), 10%);
        color: $white;
    }
}
.btn-outline{
    background: $white;
    color: $black;
    border: 1px solid $black;
    @include inline-flex;
    justify-content: center;
    align-items: center;
    @include transition(ease-in 0.3s);
    svg{
        margin-right: 10px;
        path{
            @include transition(ease-in 0.3s);
        }
    }
    &:hover, &:focus{
        background: darken($black, 60%);
        color: $white;
        svg{
            path{
                fill: $white;
            }
        }
    }
}
.btn-outline-red{
    background: $white;
    color: $red;
    border: 1px solid $red;
    @include inline-flex;
    justify-content: center;
    align-items: center;
    @include transition(ease-in 0.3s);
    &:hover, &:focus{
        background: darken($red, 5%);
        color: $white;
    }
}
.btn-outline-green{
    background: $white;
    color: $green;
    border: 1px solid $green;
    @include inline-flex;
    justify-content: center;
    align-items: center;
    @include transition(ease-in 0.3s);
    &:hover, &:focus{
        background: darken($green, 5%);
        color: $white;
    }
}
.btn-outline-blue{
    background: transparent;
    color: $blue;
    border: 1px solid $blue;
    @include inline-flex;
    justify-content: center;
    align-items: center;
    @include transition(ease-in 0.3s);
    &:hover, &:focus{
        background: darken($blue, 5%);
        color: $white;
    }
}
.btn-outline-sky{
    background: $white;
    color: $sky;
    border: 1px solid $sky;
    @include inline-flex;
    justify-content: center;
    align-items: center;
    @include transition(ease-in 0.3s);
    &:hover, &:focus{
        background: darken($sky, 5%);
        color: $white;
    }
}


.list-group{
    .list-group-item{
        text-decoration: none;
        background-color: transparent;
        border: none;
        padding: 0;
    }
}
.list-inline-item:not(:last-child) {
    margin-right: 0;
}
.cstm-form{
    .form-label{
        color: $white;
        font-size: .85rem;
        margin-bottom: .3rem;
    }
    input::placeholder {
        font-weight: 300;
        font-size: .75rem;
        color: #7f7f7f;
    }
    
    .form-control {
        min-height: 35px;
        color: #333;
        font-weight: 300;
        font-size: 14px;
        background: $white;
        border: 1px solid #b7dcf6;
    }
    .form-group{
        margin-bottom: 15px;
    }
    option{
        font-size: 14px;
    }
    .mt-4 {
        margin-top: 1.55rem!important;
    }
    .input-group-text {
        background: $white;
        border-color: #b7dcf6;;
    }
    .form-control{
        font-size: 14px;
        box-shadow: none;
        color: #343434;
        border-radius: .5rem;
        &:focus, &:active{
            border-color: $sky;
            + .input-group-text{
                border-color: $sky;
            }
        }
        &.cstm-control{
            width: 120px !important;
            flex: 0 0 auto;
        }
    }
    .form-control:disabled, .form-control[readonly] {
        background-color: #e9ecef !important;
        &:focus, &:active{
            border-color: #b7dcf6 !important;
            }
    }
    .input-group:focus-within {
        border: 1px solid $sky;
        border-radius: 0.5rem;
      }
      .input-group:focus-within *:focus {
          border: none;
            border-color: $sky;
      }
    .input-group{
        background: #fff;
        border: 1px solid transparent;
        border-radius: .5rem;
        margin-bottom: $sm-space;
        .form-control{
            border: none;
            background: #fff;
        }
        .input-group-text{
            border-radius: 0.5rem;
             background: #fff;
            border: none;
        }
      
    }
    .form-check-label{
        font-size: 14px;
        cursor: pointer;
        line-height: 18px;
        margin-top: 2px;
        color: #7f7f7f;
    }
    .form-check{
        cursor: pointer;
        padding-left: 2em;
    }
    .form-check-input{
        border-color: $blue;
        background: transparent;
        margin-left: -2em;
        &:checked {
            background-color: $blue;
            border-color: $blue;
        }
        &:focus {
            border-color: $blue;
            outline: 0;
            box-shadow: none;
        }
    }
    &.inr-form{
        > h5{
            text-align: left;
            font-weight: 600;
        }
        .input-group{
            border: none;
            border-radius: 0;
            border-bottom: 1px solid $black;
            background: transparent;
            & +  h6{
                line-height: 1.6;
            }
            .input-group-text{
                background: transparent;
            }
            .form-control{
                border-radius: 0;
                border: none;
                // border-bottom: 1px solid #000;
                background: transparent;
            }
        }
        .input-group:focus-within {
            border-color: $sky;
          }
          .input-group:focus-within *:focus {
              border: none;
                border-color: $sky;
          }
          label{
              color: #7F7F7F;
              font-size: .8rem;
          }
          .form-floating>.form-control, .form-floating>.form-select {
            height: calc(3.25rem + 2px);
            line-height: 1.25;
        }
        .form-floating>.form-control:focus~label, .form-floating>.form-control:not(:placeholder-shown)~label, .form-floating>.form-select~label {
            opacity: .85;
            transform: scale(.95) translateY(-1rem) translateX(-0.75rem);
        }
    }
}
    