@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,400,600,700,900&display=swap');

body{
    font-family: 'Source Sans Pro', sans-serif;
}
/*themes*/
.border-radius{
    border-radius: 20px;
}
.border-radius-0{
    border-radius: 0 !important;
}
.text-sub{
    width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.text-sub.sub-1{
    -webkit-line-clamp: 1;
}
.text-sub.sub-2{
    -webkit-line-clamp: 2;
}
.text-sub.sub-3{
    -webkit-line-clamp: 3;
}
.text-26{
    font-size: 24px !important;
}
.text-18{
    font-size: 18px !important;
}
.text-20, .text-20 p{
    font-size: 20px !important;
}
.text-sm{
    font-size: 13px !important;
    font-weight: 300;
}
/*end themes*/

body {
    padding-top: 100px;
    background: #ffffff;
}

.container-fluid{
    width: 90%;
}

header {
    position: fixed;
    top: 0;
    transition: top 0.2s ease-in-out;
    width: 100%;
    z-index: 7;
}
.nav-up {
    top: -120px;
}

/*logo*/
.navbar-brand img{
    padding-top: 20px;
    height: 90px !important;
}

main{
    min-height: calc(100vh - 100px);
}

/*search*/
.searchbox{
    position:relative;
    min-width:50px;
    width:0%;
    height:50px;
    float:right;
    overflow:hidden;
    -webkit-transition: width 0.3s;
    -moz-transition: width 0.3s;
    -ms-transition: width 0.3s;
    -o-transition: width 0.3s;
    transition: width 0.3s;
}
.searchbox-input{
    top:0;
    right:0;
    width:100%;
    opacity: 0;
    display: none;
}
.searchbox-icon,
.searchbox-submit{
    width:50px;
    height:50px;
    display:block;
    position:absolute;
    top:0;
    right:0;
    outline:0;
    line-height:50px;
    text-align:center;
    cursor:pointer;
}

.searchbox-open{
    width:100%;
}
.searchbox-open .searchbox-input{
    opacity: 1;
    display: block;
}
.searchbox-open .searchbox-icon i{
    color: #444444 !important;
}
/*end search*/

/*banner*/
.banner{
    min-height: 90vh;
}
.banner img{
    width: 100%;
}
/*end banner*/


/*post list*/
.post-list .card{
    height: 210px;
    margin-bottom: 15px;
    display: block;
}
.post-list .post-img{
    width: 150px;
    height: 100%;
    float: left;
}
.post-list .post-img img{
    width: 100%;
    height: auto;
    object-fit: cover;
}
.post-list .description{
    width: calc(100% - 150px);
    float: left;
    color: rgba(0,0,0,.54) !important;
    line-height: 1.5 !important;
    padding: 0 15px;
}

.post-list.list-2 .card{
    width: calc(50% - 15px);
    float: left;
    margin-right: 15px;
}

.post-list.list-3 .card{
    width: calc(33% - 15px);
    float: left;
    margin-right: 15px;
}


/*post list grid*/
.post-list.grid .card{
    height: 450px;
    float: left;
}
.post-list.grid .post-img{
    width: 100%;
    height: auto;
}
.post-list.grid .description{
    width: 100%;
    padding: 0;
}

/*post list grid 2*/
.post-list.grid.grid-2 .card{
    width: calc(50% - 20px);
    margin-right: 20px;
}
/*post list grid 3*/
.post-list.grid.grid-3 .card{
    width: calc(33% - 20px);
    margin-right: 20px;
}

.nav-profile{
    width: 30px;
    height: 30px;
    border: 1px solid #777777;
    display: inline-block;
    border-radius: 50%;
    text-align: center;
    line-height: 27px;
    margin-top: 10px;
    color: #777777;
    margin-right: 10px;
}
.nav-profile:hover{
    color: #FB5235;
    border: 1px solid #FB5235;
}

.img .nav-profile{
    width: 40px;
    height: 40px;
    line-height: 35px;
    margin-top: 0;
}
.author{
    width: 1200px;
    max-width: 100%;
    margin: 20px auto;
}
.author .user-profile{
    overflow: hidden;
    height: 100px;
    width: 100%;
    margin-bottom: 20px;
}
.author .user-profile .img{
    width: 100px;
    height: 100px;
    float: left;
    margin-right: 10px;
}
.author .user-profile .img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #fb5235;
}
.author .user-profile .description {
    width: calc(100% - 120px) !important;
    height: 100%;
    float: left;
    padding-left: 10px;
}

.author .img .nav-profile{
    width: 100px;
    height: 100px;
    line-height: 100px;
    margin-top: 0;
}
.author .img .nav-profile i{
    font-size: 40px;
}

/*menu*/
.navbar .nav-link{
    position: relative;
}
.navbar .nav-link:after{
    position: absolute;
    content: "";
    width: 30px;
    height: 2px;
    background: #000000;
    left: 0;
    bottom: 0;
    right: 0;
    margin: 0 auto;
    transition: 0.7s;
    opacity: 0;
}
.navbar .nav-link:hover::after{
    opacity: 1;
    transition: all ease-in-out 0.7s;
}
.navbar .nav-link.active::after{
    position: absolute;
    content: "";
    width: 30px;
    height: 2px;
    background: #000000;
    left: 0;
    bottom: 0;
    right: 0;
    margin: 0 auto;
    transition: 0.7s;
    opacity: 1;
}
/*end menu*/

/*aside left*/
.has-border{
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.has-border::after{
    content: "";
    position: absolute;
    width: 50px;
    border-bottom: 2px solid #32325D;
    left: 0;
    bottom: 0;
}
.has-sidebar .section{
    margin-left: 300px;
    width: calc(100% - 300px);
}
.navigation-left{
    padding-top: 50px;
    width: 230px;
    margin: 0 auto;
}
.navbar-left ul{
    list-style: none;
    padding: 0;
}
.navbar-left ul li a{
    padding: 7px 15px;
    display: block;
    color: #777777;
    font-size: 12px;
    text-transform: uppercase;
    list-style: none;
}
.navigation-left ul li:hover, .navigation-left ul li:hover a, .navigation-left ul li.active{
    background: #32325D;
    color: #ffffff;
}
.navigation-left ul li.active a{
    color: #ffffff;
}
.hy-drawer-content.hy-drawer-left{
    background: #ffffff;
    display: none;
}
.hy-drawer-scrim{
    display: none;
}
/*end aside left*/

.btn-float{
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 50px;
    min-width: 50px !important;
    height: 50px;
    border-radius: 50%;
    display: none;
    text-align: center;
    padding: 0;
    line-height: 50px;
}

/*author*/
.user-profile{
    overflow: hidden;
    height: 40px;
    width: 100%;
}
.user-profile .img{
    width: 40px;
    height: 40px;
    float: left;
    margin-right: 10px;
}
.user-profile .img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.user-profile .description{
    width: calc(100% - 50px)!important;
    height: 100%;
    float: left;
    padding-left: 10px;
}
.nav .profile{
    width: 30px;
    height: 30px;
    overflow: hidden;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid #fb5235;
    margin-top: 10px;
    margin-right: 10px;
}
.nav .profile img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-light {
    color: #fff;
    border-color: #000000;
    background-color: #000000;
    box-shadow: 0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08);
}

.select2-container .select2-selection--single .select2-selection__rendered, .select2-container {
    background: #ffffff;
    border-radius: 5px;
}

.select2-container--open{
    border-radius: 5px 5px 0 0;
}

.select2-container--bootstrap4 .select2-selection, .select2-container--bootstrap4 .select2-dropdown {
    transition: box-shadow .15s ease;
    height: 47px !important;
}
.select2-results__options{
    background: #ffffff;
}
.select2-dropdown{
    border: none;
}
.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    line-height: 2.8rem;
}
.select2-results{
    max-height: 200px;
    overflow: auto;
    border:1px solid #cccccc;
}

.select2-container--bootstrap4.select2-container--focus .select2-selection {
    border-color: #cccccc;
    border-bottom-color: #cccccc;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.no-data{
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    top: 50px;
    margin: auto;
    text-align: center;
}
.icon-social a{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #32325D;
    display: inline-block;
    text-align: center;
    line-height: 30px;
    color: #32325D;
}
.icon-social a:hover{
    background: #32325D;
    color: #ffffff;
}
.asd{
    width: 300px;
    max-width: 100%;
    float: right;
}
.asd img{
    width: 100%;
    margin-bottom: 10px;
}

.card .btn{
    min-width: 150px;
}
.btn.btn-sm{
    min-width: 30px;
}
.login{
    width: 350px;
    margin: 50px auto 0 auto;
    max-width: 100%;
}

.swal-icon{
    border: 2px solid;
}

.author-menu{
    border-bottom: 1px solid #dddddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.author-menu a{
    color: #777777;
    padding-right: 20px;
}
.author-menu a.active{
    color: #fb5235;
}
.browse{
    position: relative;
    height: 60px;
    width: 100%;
    text-align: center;
}
.browse input[type="file"]{
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    left: 0;
    top: 0;
    display: inline-block;
}
.browse .btn{
    position: absolute;
    z-index: 1;
    margin: 0 auto;
    left: 0;
    right: 0;
}
#showResult{
    display: none;
}

@media (max-width: 1025px) {
    .asd{
        position: static;
    }
    .my-lg-7{
        margin: 30px 0;
    }
    .my-md-3{
        margin: 15px 0 !important;
    }
    .py-lg-5{
        padding: 25px 0;
    }
    .banner{
        min-height: auto;
    }
    .btn-float {
        display: block;
    }
    .hy-drawer-scrim, .hy-drawer-content.hy-drawer-left{
        display: block;
    }
    .navbar-nav {
        flex-direction: row;
    }
    .navbar-nav .nav-item{
        padding: 10px;
    }
    .has-sidebar .section{
        margin-left: 0;
        width: 100%;
    }
    .navigation-left{
        width: 230px;
        height: 300px;
        position: fixed;
        top: 200px;
        left: -300px;
        padding-top: 10px;
        border-radius: 5px;
    }
    .post-list.list-2 .card{
        width: 100%;
        float: left;
        margin-right: 0;
    }
    .post-list.grid.grid-3 .card {
        width: calc(50% - 20px);
    }
    .banner .container-fluid{
        width: 100%;
        padding: 0;
    }
}

@media (max-width: 992px) {
    .col-md-6.mb-md-2{
        margin-bottom: 20px;
        text-align: center;
    }
    .author-menu a {
        padding-right: 10px;
        font-size: 15px;
    }
    .author .user-profile {
        height: auto;
    }
    .author .user-profile .img {
        float: none;
        margin: 0 auto;
    }
    .author .user-profile .description {
        width: 100% !important;
        float: none;
        padding-left: 0;
    }
    .author .user-profile .description h2{
        text-align: center;
    }
    .author .user-profile .description .text-sub.sub-2{
        -webkit-line-clamp: 50;
    }
    .author-menu{
        text-align: center;
    }
}

@media (max-width: 500px) {
    /*menu*/
    .nav{
        margin: 0 auto;
    }
    .navbar-nav{
        margin: 0 auto;
    }
    .navbar-nav .nav-item {
        padding: 5px 10px;
    }
    /*logo*/
    .navbar-brand{
        margin: 0 auto;
    }
    .navbar-brand img{
        height: 60px !important;
    }
    /*post list*/
    .post-list .card{
        height: auto;
    }
    .post-list .post-img{
        width: 100%;
        height: auto;
    }
    .post-list .description{
        width: 100%;
    }

    /*post list grid*/
    .post-list.grid .card{
        width: 100% !important;
        margin-right: 0 !important;
    }
    /*search*/
    #searchbox{
        margin: 0 auto;
    }
    .searchbox-open{
        width: 300px;
    }
    .py-md-4{
        padding: 10px 20px !important;
    }
    .btn-download{
        display: block;
    }
    .asd{
        width: 100%;
    }
    .post-list.grid .card {
        height: auto;
        float: none;
    }
    .book{
        padding: 20px 0;
    }
    .book .post-list .post-img, .book .post-list .description{
        text-align: center;
    }
    .book .post-list .post-img img {
        width: 150px;
        margin-top: 30px;
    }
    .p-md-2{
        padding: 20px 10px !important;
    }
    .p-md-3{
        padding: 2rem !important;
    }
    .browse{
        padding-top: 10px;
    }
}
