/***********************************************
************************************************
                CUSTOM STYLES
************************************************
***********************************************/

.container {
    width: 90%;
    margin: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-between; */
    margin: 0 -1.3rem;
}

[class*="col-lg-"],
[class*="col-md-"],
[class*="col-sm-"] {
    padding: 0 1.3rem;
    flex: 0 0 100%;
    overflow: hidden;
}



.col-md-5 {
    flex: 0 0 41.666%;
}

.mb--md {
    margin-bottom: 20px;
}

ul.list-unstyled {
    list-style: none;
}

.number {
    direction: ltr;
    display: inline-block;
}

.col-1 {
    flex: 0 0 8.33%;
}

.col-2 {
    flex: 0 0 16.666%;
}

.col-3 {
    flex: 0 0 25%;
}

.col-4 {
    flex: 0 0 33.3333%;
}

.col-5 {
    flex: 0 0 41.666%;
}

.col-6 {
    flex: 0 0 50%;
}

.col-7 {
    flex: 0 0 58.333%;
}

.col-8 {
    flex: 0 0 66.66%;
}

.col-9 {
    flex: 0 0 75%;
}

.col-10 {
    flex: 0 0 83.333%;
}

.col-11 {
    flex: 0 0 91.666%;
}

.col-12 {
    flex: 0 0 100%;
}

@media (min-width: 769px) {
    .col-md-1 {
        flex: 0 0 8.33%;
    }

    .col-md-2 {
        flex: 0 0 16.666%;
    }

    .col-md-3 {
        flex: 0 0 25%;
    }

    .col-md-4 {
        flex: 0 0 33.3333%;
    }

    .col-md-5 {
        flex: 0 0 41.666%;
    }

    .col-md-6 {
        flex: 0 0 50%;
    }

    .col-md-7 {
        flex: 0 0 58.333%;
    }

    .col-md-8 {
        flex: 0 0 66.66%;
    }

    .col-md-9 {
        flex: 0 0 75%;
    }

    .col-md-10 {
        flex: 0 0 83.333%;
    }

    .col-md-11 {
        flex: 0 0 91.666%;
    }

    .col-md-12 {
        flex: 0 0 100%;
    }
}

@media (min-width: 996px) {
    .col-lg-1 {
        flex: 0 0 8.33%;
    }

    .col-lg-2 {
        flex: 0 0 16.666%;
    }

    .col-lg-3 {
        flex: 0 0 25%;
    }

    .col-lg-4 {
        flex: 0 0 33.3333%;
    }

    .col-lg-5 {
        flex: 0 0 41.666%;
    }

    .col-lg-6 {
        flex: 0 0 50%;
    }

    .col-lg-7 {
        flex: 0 0 58.333%;
    }

    .col-lg-8 {
        flex: 0 0 66.66%;
    }

    .col-lg-9 {
        flex: 0 0 75%;
    }

    .col-lg-10 {
        flex: 0 0 83.333%;
    }

    .col-lg-11 {
        flex: 0 0 91.666%;
    }

    .col-lg-12 {
        flex: 0 0 100%;
    }
}


/***********************************************
            SECTION STYLES
***********************************************/

.section-header {
    text-align: center;
}

.section-header .title {
    width: 50%;
    padding: 2.8rem 2rem;
    font-size: 2.5rem;
    margin: auto;
}

.section--padding-lg {
    padding: 70px 0;
}

.section--padding-md {
    padding: 40px 0;
}

.section--padding-sm {
    padding: 10px 0;
}

.w--100 {
    widows: 100%;
}

/***********************************************
            HINTS STYLES
***********************************************/
[data-hint] {
    position: relative;
}

[data-hint]::before {
    content: attr(data-hint);
    white-space: nowrap;
    position: absolute;
    top: 0;
    left: 50%;
    line-height: 1.5rem;
    z-index: 2;
    background-color: var(--main-light-color);
    display: block;
    font-size: 1rem !important;
    color: #000;
    border-radius: 2rem;
    -webkit-border-radius: 2rem;
    -moz-border-radius: 2rem;
    -ms-border-radius: 2rem;
    -o-border-radius: 2rem;
    padding: .4rem .7rem;
    transform: translateY(-110%) translateX(-50%);
    -webkit-transform: translateY(-110%) translateX(-50%);
    -moz-transform: translateY(-110%) translateX(-50%);
    -ms-transform: translateY(-110%) translateX(-50%);
    -o-transform: translateY(-110%) translateX(-50%);
    visibility: hidden;
    opacity: 0;
    transition: var(--transition);
    -webkit-transition: var(--transition);
    -moz-transition: var(--transition);
    -ms-transition: var(--transition);
    -o-transition: var(--transition);
    font-family: Cairo;
}

[data-hint]:hover::before {
    visibility: visible;
    opacity: 1;
}

/***********************************************
            BUTTONS STYLES
***********************************************/

.btn {
    font-size: 1rem;
    border-radius: 2rem;
    -webkit-border-radius: 2rem;
    -moz-border-radius: 2rem;
    -ms-border-radius: 2rem;
    -o-border-radius: 2rem;
    padding: .5rem 3rem;
    background-color: var(--grey-light-color);
    color: var(--main-dark-color);
    transition: var(--transition);
    -webkit-transition: var(--transition);
    -moz-transition: var(--transition);
    -ms-transition: var(--transition);
    -o-transition: var(--transition);
    text-align: center;
    overflow: hidden;
    position: relative;
    width: auto;
}

.btn:hover {
    background-color: var(--main-dark-color);
    color: var(--grey-light-color);
}


.btn-more,
.btn-primary {
    display: inline-block;
    background-color: var(--main-dark-color);
    color: #fff;
}

.btn-more::after,
.btn-primary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    z-index: 2;
    background-color: #fff5;
    width: 0;
    height: 20rem;
    transition: var(--transition);
    -webkit-transition: var(--transition);
    -moz-transition: var(--transition);
    -ms-transition: var(--transition);
    -o-transition: var(--transition);
    transform: translateY(50%) translateX(-50%);
    -webkit-transform: translateY(50%) translateX(-50%);
    -moz-transform: translateY(50%) translateX(-50%);
    -ms-transform: translateY(50%) translateX(-50%);
    -o-transform: translateY(50%) translateX(-50%);
}

.btn-more:hover::after,
.btn-primary:hover::after {
    width: 50%;
    transform: translateY(45%) translateX(-50%) rotateZ(90deg);
    -webkit-transform: translateY(45%) translateX(-50%) rotateZ(90deg);
    -moz-transform: translateY(45%) translateX(-50%) rotateZ(90deg);
    -ms-transform: translateY(45%) translateX(-50%) rotateZ(90deg);
    -o-transform: translateY(45%) translateX(-50%) rotateZ(90deg);
}

.btn-more:hover {
    color: var(--main-light-color);
}

.btn-primary {
    background-color: var(--main-normal-color);
}

.btn[data-type="remove"] {
    color: #f00;
    border: .1rem solid #f00;
}

.btn.btn-submit {
    width: 100%;
    background-color: var(--main-dark-color);
    color: #fff
}

.btn-submit:hover {
    background-color: var(--main-light-color);
}

.btn-read-more {
    padding: .5rem 1.5rem;
    margin-top: .7rem;
}

/***********************************************
            Overlay STYLES
***********************************************/
.overlay-wrapper {
    position: relative;
}

.overlay-box {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}

/***********************************************
            Forms
***********************************************/
.form {
    margin-bottom: 1rem;
}

.form-control {
    background: #fff;
    border: 1px solid #ddd;
    padding: .5rem 1rem;
    margin-bottom: .7rem;
    border-radius: .3rem;
    -webkit-border-radius: .3rem;
    -moz-border-radius: .3rem;
    -ms-border-radius: .3rem;
    -o-border-radius: .3rem;
    min-width: 12rem;
}