p {
    line-height: 1.8;
}

a {
    color: #666666;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #222222;
}

li {
    list-style: none;
}

.h3, h3 {
    font-size: 1rem;
    text-decoration: underline;
}

.tm-container-content {
    padding-top: 98px;
    max-width: 1400px;
    font-size: 0.875rem;
}
.tm-container-nav {
    max-width: 1400px;
}

.tm-container-small {
    max-width: 1050px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.nav-item {
    margin-right: 0px;
}

.nav-item:last-child {
    margin-right: 0;
}

.nav-link {
    color: #666666;
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
    font-size: 1.0rem;
}

.nav-link.active {
    border-bottom-color: #ffffff !important;
}

.nav-link:hover {
    border-bottom-color: #ffffff80;
}

p,
.tm-text-gray {
    color: #999;
}

.tm-text-gray-light {
    color: #CCC;
}

.tm-text-gray-dark {
    color: #666;
}

.tm-video-item {
    position: relative;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
}

.tm-video-item img {
    position: relative;
    display: block;
    min-height: 100%;
    max-width: 100%;
    opacity: 0.8;
}

.tm-video-item figcaption {
    padding: 0.75em;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    text-align: left;
}

.tm-video-item figcaption::before,
.tm-video-item figcaption::after {
    pointer-events: none;
}

.tm-video-item figcaption,
.tm-video-item figcaption>a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tm-video-item figcaption>a {
    z-index: 1000;
    text-indent: 200%;
    white-space: nowrap;
    font-size: 0;
    opacity: 0;
}

.tm-video-item h2 {
    word-spacing: -0.15em;
    font-weight: 300;
}

.tm-video-item h2,
.tm-video-item p {
    margin: 0;
}

.tm-video-item p {
    letter-spacing: 1px;
    font-size: 68.5%;
}

.tm-gallery {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
}

.tm-gallery div.d-block {
    animation: show .5s ease;
}

.tm-ul-cv {
    text-indent: -38px;
    padding-left: 38px;
}

@keyframes show {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Contact */
.tm-address-col {
    max-width: 520px;
}

.tm-contacts {
    padding-left: 0;
}

.tm-contacts li {
    list-style: none;
    margin-bottom: 20px;
}

.tm-contacts li a i {
    width: 30px;
}

.tm-social {
    display: flex;
}

.tm-social li {
    list-style: none;
}
.tm-social li a {
    text-decoration: none;
}

.tm-social li a i {
    width: 40px;
    height: 40px;
    color: #666666;
    background-color: var(--bs-light);
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-transition: color 0.3s ease;
    -moz-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

.tm-social li a:hover i {
    color: #222222;
}


