/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
#lsdd-crowdfunding-single {
    padding-top: 33px;
    padding-bottom: 33px;
}

.updates li {
    margin-bottom: 15px;
}

/* Tabs Component */

.tabs-component input[type=radio] {
    display: none !important;
}

.tabs-component [type=radio]:checked+label.tab,
.tabs-component [type=radio]:not(:checked)+label.tab {
    padding-left: 0;
}

.tabs-component label.tab {
    display: inline-block;
    cursor: pointer;
    padding: 10px 18px !important;
    text-align: center;
}

.tabs-component label.tab:after,
.tabs-component label.tab:before {
    display: none;
}

.tabs-component label.tab:last-of-type {
    border-bottom: none
}

.tabs-component label.tab:hover {
    background: #eee
}

.tabs-component input[type=radio]:checked+label.tab {
    border-bottom: 3px solid var(--theme-darker-color);
    margin: 0;
    margin-bottom: 2px;
}

.tabs-component .tab-body {
    position: absolute;
    opacity: 0;
    padding: 15px;
    background: #fff;
    display: none;
}

.tab-body-component {
    border-top: #ddd 3px solid;
    margin-top: -5px;
    position: initial
}

#detail:checked~.tab-body-component #tab-body-detail,
#updates:checked~.tab-body-component #tab-body-updates,
#contributors:checked~.tab-body-component #tab-body-contributors {
    display: block;
    position: relative;
    top: 0;
    opacity: 1
}

/* CrowdFunding Info */
#progress-component {
    width: 100%;
    margin: 10px 0;
    background-color: rgba(0, 0, 0, .1);
    box-shadow: #000 0 0 inset
}

#progress-component .bar {
    height: 4px;
    background-color: var(--theme-color);
    border-radius: 2px
}

.crowdfunding-info .col-6 {
    background: #f7f7f7;
    padding: 10px !important;
}

.crowdfunding-info span {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.float-right {
    float: left;
}

.crowdfunding-share {
    padding-bottom: 15px;
}

.crowdfunding-share svg {
    float: left;
    margin-top: 2px;
    fill: var(--theme-darker-color);
}

.crowdfunding-embed {
    background: var(--theme-darker-color);
    padding: 12px 15px !important;
    margin: 0;
}

.crowdfunding-share a {
    padding: 12px;
    display: inline-block;
}

.crowdfunding-share span {
    margin-left: 10px;
    font-weight: 600;
}

.crowdfunding-share textarea {
    line-height: normal;
}

.crowdfunding-title {
    font-size: 20px !important;
    padding-top: 5px;
    line-height: 22px;
}

/* Popover  */
.popover-component {
    display: inline-block;
    position: relative
}

.popover-component .popover-content {
    left: 50%;
    opacity: 0;
    padding: .4rem;
    position: absolute;
    top: 0;
    transform: translate(-50%, -50%) scale(0);
    transition: transform .2s;
    width: 320px;
    z-index: 300
}

.popover-component:focus+.popover-content,
.popover-component:hover .popover-content {
    display: block;
    opacity: 1;
    transform: translate(-50%, -100%) scale(1)
}

.popover-component.popover-right .popover-content {
    left: 100%;
    top: 50%
}

.popover-component.popover-right:focus+.popover-content,
.popover-component.popover-right:hover .popover-content {
    transform: translate(0, -50%) scale(1)
}

.popover-component.popover-bottom .popover-content {
    left: 50%;
    top: 100%
}

.popover-component.popover-bottom:focus+.popover-content,
.popover-component.popover-bottom:hover .popover-content {
    transform: translate(-50%, 0) scale(1)
}

/* Bottom Flat Right */

.popover-component.popover-bottom-right .popover-content {
    right: 0;
    top: 100%
}

.popover-component.popover-bottom-right:focus+.popover-content,
.popover-component.popover-bottom-right:hover .popover-content {
    transform: translate(-88%, -5%) scale(1)
}

.popover-component.popover-left .popover-content {
    left: 0;
    top: 50%
}

.popover-component.popover-left:focus+.popover-content,
.popover-component.popover-left:hover .popover-content {
    transform: translate(-100%, -50%) scale(1)
}

.popover-component .card {
    background: #fff;
    border: 0;
    text-align: center;
    padding: 15px 10px 5px;
    box-shadow: 0 0.2rem 0.5rem rgba(48, 55, 66, .3);
    max-width: 300px;
    font-size: 14px;
}

/* Contributors Listing */
.contributor-list {
    margin-top: 10px;
    padding-left: 5px;
}

.contributor-list td {
    margin-bottom: 15px;
}

table.contributor-list,
table.contributor-list td,
table.contributor-list tr {
    border: none;
}

table.contributor-list td.middle {
    vertical-align: middle;
}

table.contributor-list td.top {
    vertical-align: top;
    width: 130px;
}

td.avatar {
    width: 50px;
    padding: 0 15px 0 0;
    vertical-align: top;
}

.contributor-avatar {
    width: 50px;
    float: left;
}

.contributor-avatar img {
    border-radius: 50%;
}

.contributor-info {
    display: inline-block;
    padding: 0;
    vertical-align: top;
}

.contributor-info h6 {
    font-weight: 600;
    margin: 0;
}

.contributor-list h5 {
    margin: 0;
}

.contributor-info p.date {
    font-size: 12px;
}

/* Updates Listing */

.updates {
    margin: 0 !important;
    list-style: none !important;
    padding: 15px;
}

.update-item {
    border: 1px solid #ddd;
    padding: 15px;
    margin-left: 70px
}


.update-avatar {
    width: 60px;
    float: left;
    background: 0 0
}

.update-avatar img {
    object-fit: cover;
    border-radius: 50%;
    height: 60px;
    width: 60px
}

.update-item h6 {
    display: inline-block;
}

.update-item p {
    font-size: 14px;
}

.update-item hr {
    margin: 5px 0 10px;
}

/* Pagination */
.pagination {
    display: flex;
    display: -ms-flexbox;
    list-style: none;
    margin: .2rem 0;
    padding: .2rem 0;
}

.pagination .page-item {
    margin: .2rem .08rem;
}

.pagination .page-item a {
    border-radius: .1rem;
    display: inline-block;
    padding: 5px 13px;
    text-decoration: none;
    color: #000;
}

.pagination .page-item.active {
    background: var(--theme-darker-color);
}

.pagination .page-item.active a {
    color: #fff !important;
}

.pagination .page-item:not(.active) a:visited {
    color: var(--theme-darker-color) !important;
}

/* Mobile Mode */
.mobile-mode {
    max-width: 480px !important;
    margin: 5px 0 !important;
}

.mobile-mode .campaigns {
    max-width: 100% !important;
    flex: 100%;
    padding: 0 !important;
}

.mobile-mode .card-product {
    display: flex;
    background-color: transparent;
    box-shadow: none;
    padding: 0 10px;
    /* padding-bottom: 15px; */
    border-bottom: 1px solid #e9e9e9;
}

.mobile-mode .card-subtitle,
.mobile-mode a.lsd-btn.btn-primary.btn-block{
    display:none;
}

.mobile-mode .card-product .card-body {
    width: 100%;
    padding: 0 10px 10px 5px;
}

.mobile-mode .card-product .card-img-top {
    width: 240px;
    flex: 0 0 240px;
    height: 133px;
    margin-right: 10px;
    border-radius: 0;
}

.mobile-mode .card-product .card-body .card-title {
    margin: 0;
}

@media only screen and (min-width: 320px) and (max-width: 480px) {
    .mobile-mode .card-product .card-img-top {
        width: 50%;
        flex: auto;
        margin-right: 10px;
        border-radius: 0;
    }
    .mobile-mode .card-product .card-body{
        width: 50%;
    }

    .mobile-mode .campaign-verification{
        margin: 0 !important;
        font-size: 12px;
    }

    .mobile-mode .card-body{
        font-size: 12px;
    }
}

/* Mobile Responsive */

@media only screen and (min-width: 320px) and (max-width: 480px) {
    .lsd-container.small-pad {
        padding: 0 !important;
        margin: 5px auto !important;
    }

    .updates,
    .contributor-list {
        padding: 0;
    }

    .update-avatar {
        /* display:none; */
        float: none;
        margin-bottom: 10px;
    }

    .update-item {
        margin-left: 0;
    }

    .lsd-row .col-sm-12 {
        padding: 0 !important;
    }
}

/* Desktop */
@media (min-width : 480px) {
    .card-title {
        font-size: 16px !important;
        margin-bottom: 5px !important;
    }
}

.campaigns .card-title a {
    color: inherit;
}

/* Float Action */
.mobile-action {
    width: 100%;
    position: fixed;
    bottom: 0;
    /* left: 0; */
    right: 0;
    z-index: 1000;
    will-change: transform;
    transform: translateZ(0);
    display: flex;
    background-color: #fff;

}

.mobile-action a {
    padding: 15px !important;
    cursor: pointer;
}

.mobile-action .lsdd-sharewa {
    color: #111 !important;
    text-align: center;
    cursor: pointer;
    padding: 10px;

}

.mobile-action .lsd-row {
    width: 100%;
}

.mobile-action .lsdd-sharewa span {
    margin-left: 20px;
}

.mobile-action .btn-primary {
    border-radius: 0;
}

.mobile-action .btn-primary span {
    color: #fff !important;
}

.lsdd-cf-loadmore {
    width: 100%;
    margin: 20px auto;
    text-align: center;
}

@media (min-width:1025px) and (max-width:1920px) {
    .sidebar {
        will-change: min-height;
    }

    .sidebar__inner {
        transform: translate(0, 0);
        /* For browsers don't support translate3d. */
        transform: translate3d(0, 0, 0);
        will-change: position, transform;
        left: auto !important;
    }

    .sticky {
        position: relative;
        display: block;
    }

    .sidebar__inner .box-action {
        max-width: 350px;
    }
}

@media only screen and (max-width: 425px) {
    /* Campaigns */
    .campaigns a.lsd-btn {
        display: none;
    }

    .campaigns .card-subtitle {
        display: none !important;
    }

    .campaigns .card-img-top {
        height: auto !important;
    }
}

#messages{
    width: 100%;
}