html {
    background: rgba(74, 158, 220);
}

body {
    margin: 0;
    padding: 0;
}

header {
    background: url(./images/header-background.png) no-repeat center;
    background-size: cover;
    height: 300px;
}

.container {
    width: 1200px;
    background: unset;
    margin: 0 auto;
}

.header {
    height: 300px;
}

.logo {
    text-align: center;
}

.search-box {
    margin: 0 auto;
    width: 350px;
    display: flex;
    align-items: center;
}

.search-box label {
    margin-right: -35px;
    margin-top: 3px;
    z-index: 100;
}

.search-box label img {
    height: 35px;
}

.search-box input {
    height: 40px;
    width: 100%;
    border-radius: var(--size-large);
    border: none;
    text-align: center;
    color: #063167;
}

.search-box .search-btn {
    width: 25px;
    margin-left: -35px;
}

main {
    padding: 1rem 0;
    background: #4a9edc url(./images/main-background-1.png) no-repeat left top;
    background-size: 10%;
    padding-bottom: 50px;
}

.box {
    background: linear-gradient(to bottom, white, #4a9edc);
    border-radius: var(--size-medium);
    padding: 0.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.2);
}

.box a {
    text-decoration: none;
    color: black;
}

.box .title {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 40px;
}

.box .title-txt {
    display: flex;
    align-items: center;
    font-weight: 300;
    letter-spacing: 2px;
}

.box .title .title-icon {
    height: 30px;
}

.box .more {
    width: 30px;
}

.box .media {
    width: calc(10% - 20px);
    margin: 8px;
    padding: 2px;
    background: white;
    border-radius: 5px;
    display: inline-block;
    font-weight: 300;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.2);
}

.box .media img {
    width: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.box .media:hover {
    transform: scale(1.2);
    transition: all 0.5s;
}

.box .media .media-body {
    height: 1.4rem;
    line-height: 1.4rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 400;
}


.list .media {
    width: calc(25% - 20px);
}

.list .media:hover {
    transform: scale(1.1);
}

.box .media .desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 3;
    text-overflow: ellipsis;
    height: 3rem;
    font-size: 0.6rem;
    font-weight: 300;
}

.box .line-media {
    width: calc(20% - 26px);
    margin: 8px;
    padding: 5px;
    border-radius: 5px;
    font-weight: 300;
    display: inline-flex;
}

.box .line-media img {
    padding: 1px;
    width: 60px;
    height: 60px;
    display: block;
    margin-right: 10px;
    border-radius: 50%;
    margin-right: -20px;
    z-index: 99;
}

.box .line-media:hover {
    transform: scale(1.1);
    transition: all 0.5s;
}


.box .line-media .media-body {
    height: 50px;
    background: white;
    width: 100%;
    line-height: 50px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

footer {
    background: #063167 url(./images/footer-left.png) no-repeat left top;
    background-size: 10%;
    height: 200px;
    z-index: 99 !important;
    position: relative;
}

.footer-logo-left {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
}

.background-right-bottom {
    z-index: 100;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 220px;
}

.random-image {
    z-index: 0
}

.tab-box {
    width: 100%;
    line-height: 40px;
    background: radial-gradient(circle at 50% 50%, #fff, #4a9edc);
    border-radius: var(--size-medium);
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.tab-box .tab-item {
    text-decoration: none;
    transform: scale(1);
    transition: all 0.5s;
    color: blue;
    background: unset;
    align-items: center;
}

.tab-box .tab-item.active,
.tab-box .tab-item:hover {
    background: #4a9edc;
    color: white;
    padding: 0 1rem;
    transform: scale(1.1);
    transition: all 0.5s;
    border-radius: var(--size-medium);
}

.list-more {
    margin-top: 2rem;
    text-align: center;
    color: #f60;
    font-weight: 300;
    text-shadow: 0 0 0.8rem rgba(255, 255, 255, 0.7);
}

.detail-tab .tab-item {
    width: 30% !important;
    text-align: center;
}

.detail-content {
    padding: 1rem 2rem;
    font-size: 1rem;
    line-height: 1.2rem;
    overflow: hidden;
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--size-medium);
}

.recommend-list {
    padding: 1rem 2rem;
    font-size: 1rem;
    line-height: 1.2rem;
    overflow: hidden;
    margin-top: 1rem;
}

.recommend-list .box {
    background: unset;
    box-shadow: unset;
    line-height: 1rem;
}

.recommend-list .list .media,
.relation-list .media,
.good-list .media {
    width: calc(20% - 20px) !important;
}

.tag-list {
    width: 100%;
    overflow: hidden;
}

.tag-list .tag {
    padding: 0.3rem 0.5rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    float: left;
    border-radius: 5px;
}

.detail-box {
    width: 100%;
    margin: unset !important;
    padding: unset !important;
}

.flexslider {
    width: 100%;
    margin-bottom: 1rem;
    border:unset;
    border-radius: var(--size-large);
    overflow: hidden;
}

.content-box {
    width: 100%;
}
.content-box.box{
    padding:unset;
}

.logo-box{
    width:60px;
}
.logo-box img{
    width:60px;
}

@media screen and (max-width: 768px) {
    header {
        background: url(./images/mobile-header-background.png) no-repeat center;
        background-size: cover;
        height: 200px;
    }

    .header {
        height: 200px;
    }

    .container {
        width: calc(100% - 12px);
        margin: 0 auto;
    }

    .box {
        font-size: 0.75rem;
        margin-bottom: 6px;
    }

    .box .media {
        width: calc(20% - 10px);
        margin: 3px;
        padding: 2px;
        background: white;
        border-radius: 5px;
        display: inline-block;
        font-weight: 300;
        box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.2);
    }

    .list .media {
        width: calc(50% - 20px);
    }

    .app-list .media .media-body {
        font-size: 0.6rem;
    }

    .box .line-media {
        width: calc(50% - 16px);
        margin: 0px;
        border-radius: 5px;
        font-weight: 300;
        display: inline-flex;
        /* box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.08); */
    }

    .detail-content {
        font-size: 0.8rem;
        line-height: 1rem;
        margin-top: 1rem;
        padding: 1rem;
    }

    .recommend-list {
        padding: unset;
        background: unset;
    }

    .recommend-list .box {
        padding: unset;
        margin: unset;
    }

    .box .line-media img {
        width: 50px;
        height: 50px;
        display: block;
        margin-right: 10px;
        border-radius: 50%;
        margin-right: -20px;
        z-index: 99;
    }

    .box .line-media .media-body {
        height: 40px;
        background: white;
        width: 100%;
        line-height: 40px;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
    }

    footer {
        background-image: unset;
    }

    .background-right-bottom {
        display: none;
    }

    .detail-box{
        display: block;

    }

    .flexslider {
        width: 100%;
    }

    .content-box {
        width: 100%;
    }

    .content-box.box{
        padding:unset;
        margin:unset;
    }
}