/***
* Theme Name: Coin BillBoard
* Description: Coin BillBoard Theme
* Author: Team CN
* Version: 1.0
**/

body[data-theme=dark] .header .header-actions form#searchform {
    border: 1px solid #fff;
    background-color: #fff;
    color: #000;
    padding: 7px;
    border-radius: 5px;
    
    
}
body[data-theme=light] .header .header-actions form#searchform{
    border: 1px solid #fff;
    background-color: #fff;
    color: #000;
    padding:7px;
    border-radius: 5px;
}
@media only screen and (max-width:1200px){
    body[data-theme=dark] .header .header-actions form#searchform {
        border: 1px solid #000;
    }
}
input#searchsubmit {
    display: none;
}

.left-table-right-content-wrapper .table-container .view-all{
    text-align: right;
    display: block;
    margin: 10px 10px 10px 0;
} 
.left-table-right-content-wrapper .table-container .view-all a:hover{
    text-decoration: underline;
    color: #76C7FA;
}

/* Learn Cryptocurrency Grid Styles */
.grid-filters {
    margin-bottom: 30px;
    text-align: center;
}

.filter-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
    border-radius: 5px;
    background-color: #f5f5f5;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: #02c6f7;
    color: white;
}

.grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.grid-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
}

.grid-item-content {
    padding: 20px;
}

.grid-item-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.grid-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-item-info {
    padding: 20px;
}

.grid-item-info h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    color: #333;
}

.grid-item-info p {
    margin: 0 0 15px 0;
    color: #666;
    line-height: 1.5;
}

.grid-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
    font-size: 14px;
}

.grid-item-meta .category {
    color: #02c6f7;
    font-weight: 500;
}

.tab--container .tab-content-item{
    height: auto!important;
}

.coin-details{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.coin-details-left{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.coin-details-left .coin-details-info{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}
.coin-details-left .image{
    display: block;
    width: 50px;
    height: 50px;
    margin-right:10px;
}

.coin-details-right{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.coin-details-right .coin-price-info{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}
.stats-list{
    padding: 0;
    margin: 20px 0;
    list-style-type: none;
    font-size: 13px;
}
.stats-list li{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 10px;
}
.stats-list li .label{
    font-weight: 500;
}
.stats-list li .value{
    font-weight: 600;
}

.mobile-toggle-button{
    display:none;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    cursor: pointer;
    width:32px;
    height:32px;
}
.mobile-toggle-button span{
    height:3px;
    background-color: #222;
    width:100%;
    border-radius: 5px;
}

.coin-list{
    list-style-type: none;
    padding: 0;
    margin: 50px 0;
    columns: 3;

}

.glossary-content{
    margin: 50px 0;
}
.glossary-title{
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 10px;
}
.glossary-list{
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}
.glossary-list li{
    margin-bottom: 10px;
}
.mobile-search-btn{
    display:none;
}

@media only screen and (max-width:1200px){
    .mobile-toggle-button{
        display:flex;
        width:20px;
        height:20px;
    }
    .mobile-toggle-button span{
        height:1px;
    }

    .main-navigation{
        display: flex;
        flex-direction: column;
        top: 50px;
        left: 0;
        width: 100%;
        max-height: 0; /* Set max-height to 0 initially */
        overflow: hidden; /* Hide anything outside of max-height */
        position: absolute;
        background: #fff;
        z-index: 99;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
        transition: max-height 0.5s ease-in-out; /* Animate max-height */
    }
    .main-navigation.active{
        max-height: 500px;
    }
    .header .header-wrapper nav ul li a{
        line-height: 1.2!important;
    }
    /* .header .header-wrapper .header-actions{
        display: none !important;
    } */
    body[data-theme=dark] .header .header-actions .search-form-container{
        display:none;
        background-color: #011743;
        box-shadow: 0 2px 10px #011743;
        z-index: 99;
        padding: 0;
        max-height:0;
        overflow:hidden;
        transition: max-height 0.3s ease;
     }
     body[data-theme=light] .header .header-actions .search-form-container{
        display:none;
        background-color: #f4fafe;
        box-shadow: 0 2px 10px #fff;
        z-index: 99;
        padding: 0;
        max-height:0;
        overflow:hidden;
        transition: max-height 0.3s ease;
     }
     body[data-theme=dark] .header .header-actions .search-form-container.active{
        display: block;
        position: absolute;
        top:50px;
        left:0px;
        width:100%;
        z-index: 99;
        padding:20px;
        box-shadow: 2px 2px 2px #011743;
        max-height:500px;
        overflow:auto;
    }
    body[data-theme=light] .header .header-actions .search-form-container.active{
        display: block;
        position: absolute;
        top:50px;
        left:0px;
        width:100%;
        z-index: 99;
        padding:20px;
        box-shadow: 2px 2px 2px #011743;
        max-height:500px;
        overflow:auto;
    }

    body[data-theme=light] .header .header-actions .search-form-container input[type="text"],
    body[data-theme=dark] .header .header-actions .search-form-container input[type="text"]{
        background-color: #fff;
        border-radius: 5px;
        width:100%;
        line-height: 2;
        padding:2px;
    }
    .main-navigation .menu{
        display: flex;
        flex-direction: column;
    }
    .main-navigation .menu ul{
        display: flex;
        flex-direction: column;
    }
    .main-navigation .menu ul li{
        margin-bottom: 10px;
    }
    .header .header-wrapper nav ul li{
        width:100%;
    }
    .header .header-wrapper nav ul li.menu-item-has-children ul{
        position: relative!important;
    }
    .menu-item-description{
        display: none!important;
    }
    .header .header-wrapper nav ul li.menu-item-has-children ul.sub-menu{
        display: none;
        flex-direction: column;
    }

    .menu-item-has-children.active-menu-item .sub-menu{
        display: grid!important;
        grid-template-columns: 1fr!important;
        max-width: 98%!important;
        font-weight: 600;
        box-shadow: none!important;
    }
    .menu-item-has-children.active-menu-item .sub-menu li{
        font-weight: 600;
    }
    .menu-item-has-children.active-menu-item .sub-menu li a{
        font-weight: 600;
    }
    .mobile-search-btn{
        display:inline-block!important;
        width:20px;
        height:20px;    
        cursor: pointer;
        
    }
    
}

.select2.select2-container.select2-container--default .selection{
    padding: 0;
    display:block;
}
.input-search-btn--right{
    right: 0 !important;
}
.select2-container .select2-selection--single{
    height: 38px !important;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0px!important;
    padding-right: 20px!important;
    margin-top: 0px!important;
    line-height: 36px !important;
}
#cryptocurrency-search{
    width: 100%;
}
.select2-container--default .select2-selection--single{
    padding: 0 0 0 38px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
    height:38px!important;
    top: 0px !important;
}

.wpcf7-not-valid-tip{
    display: absolute!important;
}

.contact-info .form-wrapper form label{
    top:0;
    position:absolute;
}

@media only screen and (max-width:992px){
    .bitgoat-community .card-wrapper{
        grid-template-columns: repeat(2, 1fr)!important;
    }
    .homepage-hero-market-info{
        grid-template-columns: repeat(2, 1fr)!important;
    }
}

@media only screen and (max-width:768px){
    .bitgoat-community .card-wrapper{
        grid-template-columns: repeat(1, 1fr)!important;
    }
    .learn-crypto-grid .filter--header{
        overflow-x:scroll;
        scrollbar-width: 2px;
    }
    .homepage-hero-market-info{
        grid-template-columns: repeat(1, 1fr)!important;
    }
}   

.page-template-default .page-container{
    padding:50px 0;
    line-height: 1.5;
    font-size: 1rem;
}
.page-template-default .page-container .page-title{
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.page-template-default .page-container h2{
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.page-template-default .page-container h3{
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.page-template-default .page-container h4{
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.page-template-default .page-container blockquote{
    margin: 20px 0;
}
.page-template-default .page-container blockquote p{
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 20px;
    display: inline;
}
.page-template-default .page-container blockquote::before{
    content: "\201C";
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 20px;
    display: inline;
}
.page-template-default .page-container blockquote::after{
    content: "\201D";
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 20px;
    display: inline; 
}
.page-template-default .page-container p{
    margin-bottom: 21px;
}
.coinbillboard-table thead tr th[data-id="name"]{
    padding-left: 13px;
}
.thinkific-product-card .iframe-container iframe{
    max-width: 100% !important;
    height: 270px !important;
    /* width: 100% !important; */
}
.thinkembed-card-image{
    width: 100% !important
}
.thinkembed-iframe{
    padding-bottom: 0px !important;
}
.wpcf7 form .wpcf7-response-output{
    font-weight: bold;
    margin: 0;
    grid-column: 1 / -1;
}
.cbb-pagination ul.pagination {
    display: flex;
    justify-content: center;
    width: 90%;
    margin: 0 10px;
    margin: auto;
}
.spinner, .wpcf7-spinner{
    position: absolute;
}
.color-hightlight{
    color: var(--highcharts-color-0);
}
.search-results{
    padding: 20px 0;
}
.search-results h1{
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 700;
}
.search-results p{
    padding: 15px 0;
}
.search-results ul.search-results-list{
    border-top: 1px solid #093756;
    margin: 0 0 40px 0;
    padding-top: 10px;
}
.search-results ul.search-results-list li{
    display: block;
    line-height: 28px;
    font-size: 14px;
    padding: 8px;
}
.error-page{
    height: 58vh;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.error-page h1{
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 20px;
}
.error-page p{
    font-size: 22px;
    padding-bottom: 30px;
}
.wp-block-list{
    padding-left: 10px;
    padding-bottom: 20px;
}
body[data-theme=dark] .wp-block-list li{
    color: var(--neutral-white);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 24px;
    padding-bottom: 10px;
}
body[data-theme=light] .wp-block-list li{
    color: #333;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 24px;
    padding-bottom: 10px;
}
body[data-theme=dark] .wp-block-table td, .wp-block-table th{
    color: var(--neutral-white);
}
body[data-theme=light] .wp-block-table td, .wp-block-table th{
    color: #333;
}
.coinbillboard-pagination-container{
    overflow: hidden;
}
.coinsDirectory{
    margin: 40px 0;
}
@media screen and (max-width: 1200px){
    .coinbillboard-table-container{
        overflow: hidden;
        overflow-x: scroll;
        table{
          min-width: 1000px;
        }
      }
      .page-template-default .page-container{
        padding: 50px 20px;
      }
    .coin-details-left .coin-details-info h2{
        font-size: 18px;
    }
    .coin-price-info h2{
        font-size: 15px;
    }
    .coin-price-info span{
        display: block;
    }
    main {
        padding-top: 53px !important;
    }
}
@media only screen and (max-width:768px){
    .page-template-default .page-container{
        padding:50px 10px;
    }
    .cryptocurrency-price-controls{
        flex-direction: column;
        align-items: flex-start;
    }
    .form-group{
        width: 100%;
    }
    .form-group.refresBtn{
        width: auto;
    }
    .bitgoat-community-form-wrapper form .wpcf7-submit{
        width: 100%;
    }
    .search-item-grap{
        padding: 0.25rem !important;
    }
    .search-item-grap .container{
        padding-inline: 0.25rem !important;
    }
    .search-item-sidebar .card{
        padding: 0.5rem !important;
    }
    .search-item-sidebar .card h2{
        font-size: 1.375rem;
    }
    .page-template-default .page-container .page-title{
        font-size: 1.5rem;
    }
}


