.trail-sec{
    padding: 4rem 0;
}

.trail-header{
    margin-bottom: 5rem;
}

.trail-logo-wrapper{
    /*padding-top: 1rem;*/
}

.trail-logo-img{
    max-height: 10rem;
}

.trail-title{
    font-family: "Oswald", sans-serif;
    font-size: 6rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
    line-height: 1;
}

.trail-date{
    color: #777;
    font-size: 1.2rem;
}

.trail-location{
    color: #777;
    font-size: 1.2rem;
}

.trail-date .bi, .trail-location .bi{
    color: #777;
}

#carouselImages img{
    border-radius: 1rem;
}

.app-info-url{
    color: var(--primary-color);
}


/********* stats ************/


.trailstats-title{
    font-size: 2.5rem;
    font-family: "Oswald", sans-serif;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.btn-results-all{
    background-color: var(--primary-color);
    color: #FFF;
    padding: 0.8rem 1.2rem;
    border-radius: 0.5rem;
}

.btn-results-all:hover{
    background-color: var(--primary-color-hover);
}



@media(max-width: 960px){
    .trail-sec{
        padding-top: 2rem;
    }
    
    .trail-header {
        margin-bottom: 2rem;
    }
    
    .trail-title{
        font-size: 3rem;
        text-align: center;
        margin-top: 2rem;
    }
    
    .trail-date{
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .trail-location{
        text-align: center;
    }
    
    .trail-tab{
        width: 100%;
    }
    
    .trail-tab .nav-item{
        width: 100%;
        text-align: center;
    }
    
    .section-title{
        font-size: 2.5rem;
    }
}

/********* stats table *********/

.table-header{
    font-weight: 600;
    background-color: #CCC;
}

.table-row{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    
    padding: 0.7rem 0rem;
    
    border-bottom: 1px solid #BBB;
}

.table-content .table-row:hover{
    background-color: var(--primary-color);
    color: #FFF;
}

.table-row:hover .teljesitesek-url{
    color: #FFF;
    text-decoration: underline;
}

.teljesitesek-url{
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0 !important;
}

.teljesitesek-url:hover{
    color: #FFF;
}



/*1296px*/
.col-name{
    min-width: 220px;
    width: 36%;
    padding-left: 0.5rem;
}

.col-birth{
    min-width: 135px;
    width: 10%;
    text-align: center;
}


.col-date{
    min-width: 185px;
    width: 14%;
    text-align: center;
}

.col-method{
    min-width: 185px;
    width: 14%;
    text-align: center;
}

.col-trail{
    min-width: 185px;
    width: 14%;
    text-align: center;
}

.col-time{
    min-width: 90px;
    width: 7%;
    text-align: center;
}

@media(max-width: 500px){
    .table-row{
        margin-bottom: 2rem;
        padding: 1rem;
    }
    
    .col-name, .col-birth, .col-city, .col-date, .col-method, .col-trail, .col-time{
        min-width: none;
        width: 100%;
        text-align: left;
        margin-bottom: 0.5rem;
    }
    
    .col-name{
        padding-left: 0rem;
    }
}





/********* trail tabs *********/


.trail-tab-wrapper{
    background-color: var(--secondary-bg-color);
    border-radius: 1.5rem;
}

.trail-tab{
    width: fit-content;
    margin: 0 auto;
    border-bottom: none;
    margin-bottom: 2rem;
    padding: 0.5rem;
}

.trail-tab.nav-tabs .nav-link{
    border: none;
    border-radius: 1rem;
    padding: 0.75rem 1.5rem;
    color: #000;
    font-weight: 600;
    margin-right: 0.5rem;
}

.trail-tab.nav-tabs .nav-link.active{
    color: #FFF;
    background-color: var(--primary-color);
}

.trail-tab .nav-link:hover{
    text-shadow:
      0 0 7px #fff,
      0 0 10px #fff,
      0 0 21px #fff,
      0 0 42px var(--primary-color),
      0 0 82px var(--primary-color),
      0 0 92px var(--primary-color),
      0 0 102px var(--primary-color),
      0 0 151px var(--primary-color);
}

/*********** reszletek ***********/

.trail-cover-row{
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0 0 1px #17000c1a inset, 0 2px 4px #0000001a, 0 8px 14px #00000026;
    border: 1px solid #17000c1a;
}

.trail-cover-img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.trail-cover-title{
    font-family: "Oswald", sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    word-wrap: break-word;
}

.trail-cover-label{
    margin-top: 2rem;
    margin-bottom: 0.7rem;
    color: #777;
    font-size: 0.9rem;
}

.trail-cover-info{
    font-size: 1.2rem;
}