/*--------------------------------------------------------------
    Flex library:
    This is a short framework independent flex class library.
--------------------------------------------------------------*/

.flex {
    margin: 0;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.justify-right {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.justify-center {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.space-between {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.space-around {
    justify-content: space-around;
}

.align-items-center{
    align-items: center;
}

.align-items-top{
    align-items: flex-start;
}

.flex-end {
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.wrap {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.no-wrap {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
}

.flex-basis-20 {
    -ms-flex-preferred-size: 20%;
    flex-basis: 20%;
}

.flex.menu>li {
    margin: 0 6px;
    padding: 0;
    border: none;
}

.flex.menu>li:last-child {
    margin-right: 0;
}

.flex-menu.space-between>li {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
}

.flex-menu.space-between.full-menu>li {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    text-align: center;
    margin: 0;
}

/* Media Queries (Mobile First) */

@media (min-width: 768px) {

    .sm-flex {
        margin: 0;
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .sm-no-flex{
        display: block !important;
    }

}

@media (min-width: 992px) {

    .md-flex {
        margin: 0;
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    .md-no-flex{
        display: block !important;
    }

}
