
/*Chống trượt ngang màn hình theo phương x*/
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

h1,h2,h3,h4,h5 {font-weight: bold}


.bg-lightgray {
    background-color: #f4f4f4 !important;
}

.bg-darkgray {
    background-color: #525252 !important;
}

.bg-black {
    background-color: #181818 !important;
}





/*============================*/
/*APP*/
/*============================*/
.app-image {
    width: 80px;
    height: 80px;
    display: block;
    margin: 10px auto 10px auto;
}

.app-image img {
    max-height: 80px;
    max-width: 80px;
}

.app-category {
    font-size: 11px;
}



.dropdown-item img {
    width: 25px;
    height: 25px;
    margin-right: 5px;
}



/*============================*/
/*FORM*/
/*============================*/
.form-label {
    text-align: left;
}

.form-label label {
    font-weight: bold;
    color: #464646;
}

.form-select {
    -webkit-appearance: none;
    padding: 7px 40px 7px 12px;
    width: 100%;
    border: 1px solid #d4d6d9;
    border-radius: 5px;
    color: #bd534a;
    background: white;
    box-shadow: 0 1px 3px -2px #9098A9;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    transition: all 150ms ease;
}

.form-text {
    -webkit-appearance: none;
    padding: 7px 40px 7px 12px;
    width: 100%;
    border: 1px solid #d4d6d9;
    border-radius: 5px;
    color: #bd534a;
    background: white;
    box-shadow: 0 1px 3px -2px #9098A9;
    cursor: text;
    font-family: inherit;
    font-size: 16px;
    transition: all 150ms ease;
}

#result {
    text-align: left;
    margin-top: 30px;
}


#result_container {
    margin-bottom: 30px;
}


#loading {
    position: fixed;
    left: calc(50% - 50px);
    top: calc(50% - 50px);
    height: 100px;
    width: 100px;
    margin: 0 auto;
    -webkit-animation: rotation .6s infinite linear;
    -moz-animation: rotation .6s infinite linear;
    -o-animation: rotation .6s infinite linear;
    animation: rotation .6s infinite linear;
    border-left: 10px solid rgba(129, 70, 70, 0.35);
    border-right: 10px solid rgba(129, 70, 70, 0.35);
    border-bottom: 10px solid rgba(129, 70, 70, 0.35);
    border-top: 10px solid rgba(189, 83, 74, 0.8);
    border-radius:100%;
    display: none;
}

@-webkit-keyframes rotation {
    from {-webkit-transform: rotate(0deg);}
    to {-webkit-transform: rotate(359deg);}
}
@-moz-keyframes rotation {
    from {-moz-transform: rotate(0deg);}
    to {-moz-transform: rotate(359deg);}
}
@-o-keyframes rotation {
    from {-o-transform: rotate(0deg);}
    to {-o-transform: rotate(359deg);}
}
@keyframes rotation {
    from {transform: rotate(0deg);}
    to {transform: rotate(359deg);}
}






/*============================*/
/*MENU*/
/*============================*/
.dropdown-menu {
    height: auto !important;
    max-height: 46vh !important;
    overflow-y: scroll !important;
}




/*============================*/
/*MODAL*/
/*============================*/
.modal-row {

}





/*For Mobile*/
@media only screen and (min-device-width: 320px){


    #bottom_bar {
        display: block;
    }

    .app_grid {
        display: none;
    }

    .app_rows {
        display: block;
    }

    .fs-background {
        background-image: url('../img/bg2.jpg');
        background-position-x: right;
        background-position-y: bottom;
        background-repeat: no-repeat;
        background-size: cover;
        padding-bottom: 50px;
    }

    .app-name {
        font-size: 15px;
        min-height: 55px;
    }

    .app-description {
        font-size: 11px;
        line-height: 15px;
        min-height: 60px;
    }

}


/*For Desktop*/
@media only screen and (min-device-width: 768px){

    #bottom_bar {
        display: none;
    }

    .app_grid {
        display: block;
    }

    .app_rows {
        display: none;
    }

    .fs-background {
        background-image: url('../img/bg1.jpg');
        background-position-x: center;
        background-position-y: bottom;
        background-repeat: no-repeat;
        background-size: cover;
        padding-bottom: 50px;
    }

    .app-name {
        font-size: 15px;
        min-height: 40px;
    }

    .app-description {
        font-size: 13px;
        line-height: 20px;
        min-height: 60px;
    }

}