

/*===========================
     01.Common css 
===========================*/


@import url('https://fonts.googleapis.com/css?family=Rubik:300,400,500,700&display=swap');

body {
    font-family: $font-1;
    font-weight: normal;
    font-style: normal;
    color: $body-color;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    margin: 0;
    padding: 0;
    @include box-sizing (border-box);
}

img {
    max-width: 100%;
}

a:focus,
input:focus,
textarea:focus,
button:focus,
select:focus {
    text-decoration: none;
    outline: none;
}

a:focus,
a:hover {
    text-decoration: none;
}

i,
span,
a {
    display: inline-block;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: $font-1;
    font-weight: 700;
    color: $black;
    margin: 0px;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 22px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

ul,
ol {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}

p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: $body-color;
    margin: 0px;
}

.bg_cover {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

.custom-container {

    @media #{$desktop} {
        max-width: 1920px;
        padding: 0 75px;
    }
    @media #{$laptop} {
        padding: 0 30px;
    }
}



// others common css here



/*===== All Button Style =====*/

.main-btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    @include user-select(none);
    border: 0;
    padding: 0 40px;
    font-size: 16px;
    height: 60px;
    line-height: 60px;
    color: $white;
    cursor: pointer;
    z-index: 5;
    @include transition(0.4s);
    background-color: $theme-color;
    text-transform: uppercase;
    letter-spacing: 0.2em;

    &:hover {
        background-color: $black;
        color: $white;
    }
    
    &.main-btn-2{
        background-color: $black;
        color: $white;
        
        &:hover{
            background-color: $theme-color;
            color: $white;
        }
    }
}


/*===== All Section Title Style =====*/

.section-title{
    & .title{
        position: relative;
        text-transform: uppercase;
        font-weight: 500;
        line-height: 1;
        display: inline-block;
        padding-bottom: 20px;
        font-size: 24px;
        
        @media #{$xs}{
            font-size: 20px;
        }
        
        &::before{
            content: "";
            width: 92px;
            height: 2px;
            background: #e52e06;
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            margin: 0 auto;
        }
    }
    
    &.section-left{
        & .title{
            &::before{
                margin-left: 0;
            }
        }
    }
}

.allup-title{
    font-size: 24px;
    font-weight: 500;
    color: $black;

    @media #{$xs}{
        font-size: 20px;
    }
    @media #{$sm}{
        font-size: 20px;
    }
}


/*===== All tab content Custom Style =====*/

.tab-content{
    & .tab-pane{
        display: block;
        overflow: hidden;
        height: 0;
        visibility: hidden;
        max-width: 100%;
        opacity: 0;
        
        &.active{
            height: auto;
            visibility: visible;
            opacity: 1;
            overflow: visible;
        }
    }
}

/*===== All Slick Slide Outline Style =====*/
.slick-slide {
    outline: 0; 
}


/*===== All Preloader Style =====*/

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: $white;
    z-index: 999999;
    
    & .preloader {
        width: 50px;
        height: 50px;
        display: inline-block;
        padding: 0px;
        text-align: left;
        box-sizing: border-box;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-left: -25px;
        margin-top: -25px;
        
        & span {
            position: absolute;
            display: inline-block;
            width: 50px;
            height: 50px;
            border-radius: 100%;
            background-color: $theme-color;
            -webkit-animation: preloader 1.3s linear infinite;
            animation: preloader 1.3s linear infinite;
            
            &:last-child{
                animation-delay: -0.8s;
                -webkit-animation-delay: -0.8s;
            }
        }
    }
}


@keyframes preloader {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(1, 1);
        opacity: 0;
    }
}

@-webkit-keyframes preloader {
    0% {
        -webkit-transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        -webkit-transform: scale(1, 1);
        opacity: 0;
    }
}


/*===== All Checkbox Style =====*/

.custom-checkbox{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    
    & input[type="radio"],
    & input[type="checkbox"] {
        display: none;

        & + label {
            width: 15px;
            height: 15px;
            border: 1px solid $black;
            border-radius: 4px;
            cursor: pointer;
            position: relative;
            display: inline-block;
            margin: 9px 8px 0px 0;

            &::before {
                position: absolute;
                content: "\f00c";
                font-size: 16px;
                font-family: "Font Awesome 5 Pro";
                -webkit-font-smoothing: antialiased;
                -moz-osx-font-smoothing: grayscale;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                @include transform(scale(0));
                font-size: 14px;
                line-height: 0.8;
                color: $black;
            }
        }

        &:checked {
            & + label {
                &::before {
                    @include transform(scale(1));
                }                
            }
        }
    }
    
    & input[type="radio"]{
        & + label {
            &::before {
                content: "";
                background-color: $black;
                border-radius: 4px;
            }
        }
        &:checked {
            & + label {
                &::before {
                    @include transform(scale(0.75));
                }                
            }
        }
    }
    
    & p{
        font-size: 14px;
        color: $black;
        line-height: 35px;
        -ms-flex: 1;
        flex: 1;
    }
}



/*===== All Pagination Style =====*/

.pagination{
    padding: 15px 10px;
	background: #f2f2f2;
    
    & li{
        margin: 0 3px;
        
        & a{
            font-weight: 400;
            color: $white;
            padding: 0;
            height: 36px;
            line-height: 36px;
            background: #c2c2c2;
            font-size: 15px;
            display: inline-block;
            width: 36px;
            border-radius: 100%;
            text-align: center;
        }
        
        &:hover,
        &.active{
            & a{
                background-color: #000;
            }
        }
    }
}



/*===== All Single Form Style =====*/

.single-form{
    margin-top: 30px;
    
    & label{
        font-size: 13px;
        color: $black;
        margin-bottom: 0;
    }
    & select,
    & textarea,
    & input{
        width: 100%;
        font-size: 14px;
        height: 40px;
        color: $black;
        border: 1px solid $border-color;
        padding: 0 15px;
        margin-top: 12px;
    }
    
    & textarea{
        height: 120px;
        padding-top: 10px;
        resize: none;
    }
    
    & .main-btn{
        height: 40px;
        line-height: 42px;
        padding: 0 25px;
        letter-spacing: 0;
        font-size: 14px;
    }
}



