/***********************************************
************************************************
                CUSTOM STYLES
************************************************
***********************************************/

.container {
    width: 90%;
    margin: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    margin: 0 -1.3rem;
    /* width: 100%; */
}

[class*="col-lg-"],
[class*="col-md-"],
[class*="col-sm-"] {
    padding: 0 1.3rem;
    flex: 0 0 100%;
}



.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%;
    }
}


/***********************************************
            DISPLAY STYLES
***********************************************/

.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .d-xs-none {
        display: none !important;
    }

    .d-xs-block {
        display: block !important;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .d-sm-none {
        display: none !important;
    }

    .d-sm-block {
        display: block !important;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .d-md-none {
        display: none !important;
    }

    .d-md-block {
        display: block !important;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .d-lg-none {
        display: none !important;
    }

    .d-lg-block {
        display: block !important;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {}


.dir-ltr {
    direction: ltr;
}

.error-txt {
    color: #f00;
}

.alert {
    padding: .5rem 1rem;
    text-align: center;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
    border: 1px solid transparent;
}

.alert-danger {
    background-color: #ffdfdf;
    border-color: #b00;
}

.alert-success {
    background-color: #a7ffa7;
    border-color: #00bb00;
}

/***********************************************
            SECTION STYLES
***********************************************/

.section {
    padding: 3rem 0;
}

.section-lg {
    padding: 5rem 0;
}

.section-md {
    padding: 2rem 0;
}

.section-content {
    position: relative;
}

.section-header {
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header .section-title {
    font-size: 2em; 
    padding: .35em 0;
}

.section-header .head {
    font-size: 1em;
}

.section-header .desc {
    color: #555;
}

.section-header-center {
    text-align: center;
}

.section--padding-lg {
    padding: 70px 0;
}

.section--padding-md {
    padding: 40px 0;
}

.section--padding-sm {
    padding: 10px 0;
}

.w--100 {
    widows: 100%;
}

.text-main {
    color: var(--main-color);
}

@media (max-width: 996px) {
    .section-header .title {
        font-size: 2.2em;
    }

    .section-header-side .desc {
        margin-bottom: 1rem;
    }
}


@media (min-width: 996px) {
    .section-header-center .title {
        width: 70%;
        padding: .35em 2em;
    }

    .section-header-side {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

}

/***********************************************
            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: .5rem;
    padding: .7rem 1.5rem;
    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-color);
    color: var(--grey-light-color);
}


.btn-main,
.btn-dark {
    display: inline-block;
}

.btn-main {
    background: var(--bg-gradient-main);
    color: #000;
}

.btn-dark {
    background-color: var(--dark-color);
    color: #fff;
}

.btn-main:hover {
    color: var(--main-light-color);
}

.btn-primary {
    background-color: var(--main-color);
}

.btn[data-type="remove"] {
    color: #f00;
    border: .1rem solid #f00;
}

.btn.btn-submit {
    width: 100%;
    background-color: var(--main2-color);
    color: #fff;
    margin: 15px 0;
}

.btn-submit:hover {
    background-color: var(--main-light-color);
}

/***********************************************
            Overlay STYLES
***********************************************/


.overlay-wrapper {
    position: relative;
}

.overlay-box {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}

.form_msg .msg {
    margin-bottom: 15px;
}