body {
    background-color: #fff;
}

#breadcrumb {
    /*background-color: #F1F4F6;*/
}

.breadcrumb {
    /*background-color: #F1F4F6;*/
}
/* Util */
.mg-link {
    text-decoration: none;
    color: #262637;
}

.mg-link-button:visited, .mg-link-button:hover, .mg-link-button:active {
    text-decoration: none;
    color: #262637;
}

input:focus {
    outline: none !important;
}

.mg-dropdown {
    background: #fff;
    border: 1px solid #dfdfe1;
    margin: 0;
    list-style: none;
    padding: 0;
    width: 300px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

    .mg-dropdown li {
        padding: 0 10px;
        cursor: pointer;
    }

        .mg-dropdown li:hover {
            background-color: #f5f5f5;
        }

.mg-dropdown-text {
    width: 100%;
    height: 36px;
    float: left;
    line-height: 36px;
}

    .mg-dropdown-text span {
        font-size: 14px;
        line-height: 36px;
        width: 200px;
        color: #262637;
    }

.mg-dropdown li .mg-dropdown-text span:nth-last-of-type(2):first-child {
    line-height: 21px;
}

    .mg-dropdown li .mg-dropdown-text span:nth-last-of-type(2):first-child ~ span {
        font-size: 12px;
        line-height: 18px;
        font-weight: 400;
        color: #7a7a88;
    }

.mg-dropdown-icon {
    position: absolute;
    right: 15px;
}

    .mg-dropdown-icon > .fa-angle-right {
        font-size: 18px;
        line-height: 36px;
    }

    .mg-dropdown-icon > .fa-circle {
        font-size: 8px;
        position: relative;
        top: 0px;
        margin-right: 10px;
    }

.mg-dropdown.sub-list {
    padding-top: 0;
}

.move-back {
    background: #dfdfe1;
}

    .move-back .mg-dropdown-text {
        line-height: 36px;
        padding-left: 15px;
    }

        .move-back .mg-dropdown-text span {
            font-size: 14px;
            font-weight: 600;
        }

    .move-back .mg-dropdown-icon {
        left: 10px;
        right: initial;
    }

        .move-back .mg-dropdown-icon .fa-angle-left {
            font-size: 22px;
            line-height: 36px;
        }

.item-selected {
    color: #00737c !important;
}
/* mg-search-popup */

#filter-more .modal-dialog {
    background: #fff;
    width: 100%;
    max-width: 350px;
    position: relative;
}

    #filter-more .modal-dialog .modal-body {
        padding: 0;
    }

.search-popup-header {
    width: 100%;
    text-align: center;
    background-color: #dfdfe1;
    height: 40px;
}

.mg-search-popup {
    margin: 0;
    padding: 0;
    padding-bottom: 50px;
    list-style: none;
    background: #dfdfe1;
    max-height: calc( 100% - 40px);
    overflow-y: auto;
    background-color: #fff;
}

.search-popup-header-title {
    font-size: 16px;
    line-height: 40px;
    color: #00737c;
    cursor: pointer;
}

.search-popup-header .text {
    vertical-align: middle;
}

.btn-search-dropdown .counter {
    text-align: center;
    position: absolute;
    right: 6px;
    top: 10px;
}

.btn-search-dropdown .counter,
.search-popup-header .counter {
    background: #2b838b;
    display: inline-block;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    font-size: 12px;
    line-height: 18px;
    margin-left: 5px;
}

.search-popup-header:hover .fa-close {
    color: red;
}

.search-popup-icon {
    position: absolute;
    cursor: pointer;
    width: 40px;
    height: 40px;
    line-height: 40px;
}

    .search-popup-icon .fa {
        cursor: pointer;
    }

    .search-popup-icon .fa-angle-left {
        font-size: 24px;
        line-height: 40px;
    }

.search-popup-icon-right {
    top: 0;
    right: 0;
}

.mg-search-popup li {
    margin: 0;
    padding: 0px 10px;
    width: 100%;
    border-bottom: 1px solid #dfdfe1;
    cursor: pointer;
    background-color: #fff;
    height: 50px;
    line-height: 50px;
}

    .mg-search-popup li:hover {
        background-color: #f5f5f5;
    }

.mg-search-popup-icon {
    float: left;
    width: 40px;
    height: 50px;
    line-height: 45px;
    text-align: right;
}

    .mg-search-popup-icon i.mogi-icon {
        font-size: 30px;
        color: darkcyan !important;
        line-height: 50px;
    }

    .mg-search-popup-icon > .fa-circle {
        font-size: 8px;
        position: relative;
        top: 0px;
        margin-right: 10px;
        color: #2b838b;
    }

    .mg-search-popup-icon > .fa-angle-right {
        font-size: 24px;
        position: relative;
        top: 5px;
    }

    .mg-search-popup-icon fa {
        float: left;
        width: 40px;
    }

.mg-search-popup-text {
    float: left;
    width: calc((100% - 40px));
}

    .mg-search-popup-text span {
        display: inline-block;
        width: 100%;
        font-size: 16px;
        line-height: 42px;
        font-weight: 400;
    }

        .mg-search-popup-text span:nth-last-of-type(2):first-child {
            line-height: 25px;
        }

            .mg-search-popup-text span:nth-last-of-type(2):first-child ~ span {
                font-size: 13px;
                line-height: 15px;
                font-weight: 400;
                color: #7a7a88;
            }

    .mg-search-popup-text span {
        display: inline-block;
        width: 100%;
        font-size: 15px;
    }

/* master */

.search-popup-master .mg-search-popup-text {
    float: left;
    width: calc((100% - 80px));
    line-height: initial;
}

.search-popup-master .mg-search-popup-icon:first-child {
    margin-right: 10px;
    width: 30px;
}

    .search-popup-master .mg-search-popup-icon:first-child .fa {
        font-size: 18px;
        position: relative;
        top: 6px;
    }

/* detail */
.search-popup-detail {
}

.search-popup-detail-header {
    cursor: pointer;
    border-bottom: none !important;
    margin-bottom: 8px !important;
}

    .search-popup-detail-header .mg-search-popup-text {
        width: 100%;
        color: #7a7a88;
        float: left;
        text-align: center;
    }

.search-popup-detail li.search-popup-detail-header .mg-search-popup-text span {
    font-size: 16px;
    line-height: 24px;
    color: #00737c;
    padding: 8px 0;
    font-weight: 400;
}

.search-popup-detail-header .mg-search-popup-icon {
    width: 10px;
    margin-right: 10px;
    text-align: left;
    position: absolute;
    left: 10px;
}

    .search-popup-detail-header .mg-search-popup-icon .fa-angle-left {
        font-size: 24px;
        line-height: 30px;
        position: relative;
        top: 5px;
    }

.mg-search-popup-command {
    background-color: #fff;
    height: 50px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 7px;
}

    .mg-search-popup-command .btn-mogi-1 {
        width: 100px;
        height: 36px;
        float: left;
        line-height: 36px;
        padding: 0;
    }

    .mg-search-popup-command .btn-mogi-2 {
        width: calc(100% - 107px);
        height: 36px;
        float: right;
        line-height: 36px;
        padding: 0;
    }
/* end mg-search-popup */
/* End Util */
#mg-page-content {
    margin-top: 20px;
}

.title > span {
    color: #00DEB6;
}

#search {
    background: #262637;
    border-radius: 4px;
    padding: 10px;
}

.search-keyword {
    position: relative;
    float: left;
    height: 40px;
}

    .search-keyword > .fa {
        padding: 0 5px;
        font-size: 14px;
        line-height: 40px;
        color: #b3b3b3;
        position: absolute;
    }

    .search-keyword > .fa-times-circle {
        right: 0;
        cursor: pointer;
        color: #222;
    }

    .search-keyword input {
        height: 100%;
        width: 100%;
        background-color: #fff;
        float: left;
        border: 0;
        line-height: 40px;
        border-radius: 3px;
        padding: 0 0 0 25px;
    }

.search-location {
    height: 40px;
    float: left;
    border-radius: 3px;
}

    .search-location .dropdown {
        height: 100%;
        float: left;
        width: 100%;
        border-radius: 3px;
        background-color: #fff;
    }

    .search-location button {
        text-align: left;
        padding: 6px 25px 6px 10px;
        overflow: hidden;
        width: 100%;
        height: 40px;
        border: none;
        margin: 0;
        border-radius: 3px;
        background-color: #fff;
        position: relative;
    }

        .search-location button span {
            overflow: hidden;
            display: inline-block;
            width: 100%;
            line-height: 30px;
        }

    .search-location .fa.fa-angle-down {
        font-size: 18px;
        position: absolute;
        right: 10px;
        top: 0;
        line-height: 40px;
    }

    .search-location ul {
        max-height: 290px;
        overflow-y: scroll;
        background: #fff;
        border: 1px solid #dfdfe1;
        margin: 0;
        list-style: none;
        padding: 0;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

.search-btn {
    float: left;
    width: 100px;
    height: 40px;
    margin-left: 5px;
    border: 1px solid #00deb6;
    border-radius: 3px;
    background-color: #00deb6;
    font-size: 14px;
    color: #262637;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
}
/* Table */
#items {
    margin-top: 15px;
}

.items {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #d2d2dc;
}

.item {
    width: 100%;
    padding: 10px 15px;
}

    .item:nth-child(even) {
        background: #fff;
    }

    .item:nth-child(odd) {
        background: #F1F4F6;
    }

    .item:last-child {
        border-bottom: none;
    }

    .item.header {
        background: #5A646E;
    }

        .item.header .item-name, .item.header .item-loc {
            font-weight: bold;
            color: #fff;
        }

.item-name {
    width: 70%;
    float: left;
    font-weight: 400;
    font-size: 14px;
}

.item-loc {
    width: 30%;
    float: left;
    font-size: 14px;
    font-weight: 400;
}
/* End Table */
@media (min-width: 1170px) {
    .mg-detail .mg-1170-container {
        padding: 0 50px;
    }
}

@media (min-width: 992px) {
    .title {
        font-size: 22px;
        line-height: 25px;
    }

    #search {
        height: 60px;
        margin-top: 20px;
    }

    .search-keyword {
        width: calc(100% - 290px);
    }

    .search-location {
        width: 180px;
        margin-left: 5px;
    }
}

/*Tablet*/
@media (min-width: 767px) and (max-width: 991px) {
    .mg-detail .mg-1170-container {
        padding: 0 15px;
    }

    .title {
        font-size: 22px;
        line-height: 25px;
        text-align: center;
    }

    #search {
        width: 605px;
        height: 60px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 20px;
    }

    .search-keyword {
        width: calc(100% - 290px);
    }

    .search-location {
        width: 180px;
        margin-left: 5px;
    }



    .item-name {
        width: 100%;
    }

    .item-loc {
        width: 100%;
        font-weight: 400;
        color: #919BA5;
    }

    .item.header .item-loc {
        display: none;
    }
}

/*Mobile*/
@media (max-width: 767px) {
    .mg-detail .mg-1170-container {
        padding: 0 10px;
    }

    .mg-dropdown {
        left: -2000px;
    }

    #filter-more .modal-dialog {
        margin: 0 auto;
        max-width: 100%;
        height: 100%;
    }

        #filter-more .modal-dialog .modal-body {
            padding: 0;
            height: 100%;
        }

    .title {
        font-size: 20px;
        line-height: 25px;
    }

    #search {
        margin-top: 10px;
    }

    .search-keyword {
        width: 100%;
    }

    .search-location {
        width: 100%;
        margin-top: 10px;
    }

    .search-btn {
        display: none;
    }

    .item-name {
        width: 100%;
    }

    .item-loc {
        width: 100%;
        font-weight: 400;
        color: #919BA5;
    }

    .item.header .item-loc {
        display: none;
    }
}
