@import "constants.css";


a, button {
    transition: all 0.3s ease;
}

.row {
    margin: 0;
}

a:hover,
a:focus {
    text-decoration: none;
    outline: none;
}

.btn {
    border-radius: 0;
}

p:last-child {
    margin-bottom: 0;
}


.tm-container-outer {
    margin: 0;
}

.tm-text-gray {
    color: #787676;
    font-size: 16px;
}


.tm-top-bar .navbar-expand-lg .navbar-nav .nav-link {
    padding: 50px 35px;
}

.tm-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0;
    z-index: 100000;
    transition: all 0.2s ease-in-out;
    height: 119px;
    background: white;
}

.tm-top-bar.active {
    height: 60px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0);

}

.tm-top-bar.active a {
    color: black !important;
}

.tm-top-bar.active .navbar-expand-lg .navbar-nav .nav-link {
    padding: 20px 35px;
}

.tm-top-bar.active .navbar-brand {
    font-size: 1.4rem;
}

.tm-top-bar .navbar-brand img {
    width: 60px;
    height: auto;
}

.tm-top-bar.active .navbar-brand img {
    width: 40px;
}

.tm-top-bar-bg {
    height: 119px;
}

.tm-top-bar a {
    color: black;
}

.navbar-brand {
    font-size: 2.2rem;
    text-transform: uppercase;
}

.navbar {
    font-weight: 700;
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
}

.nav-link {
    transition: transform 0.3s;
}

.nav-link:hover {
    transform: scale(1.15);
}

.nav-link.active, .nav-link:hover {
    color: var(--primaryColor);
}

.navbar-toggler {
    border-radius: 0;
    cursor: pointer;
}

.navbar-toggler:focus-visible {
    border: 0;
    box-shadow: none !important;
}


/* Search form */
select.tm-select.form-control:not([size]):not([multiple]) {
    height: 45px;
}

.form-control {
    font-size: 0.8rem;
    padding: .75rem;
}


.form-control {
    border-radius: 0;
}

.tm-btn {
    cursor: pointer;
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 400;
    padding: 12px 20px;
}


.tm-btn-search {
    width: 100%;
}
.dropdown-menu {
    right: 0;
    width: 240px;
    top: 100%;
    left: auto;
}



.tab-pane {
    max-width: 970px;
    margin: 10px auto;
}

.tm-d-table {
    display: table;
}


.form-control {
    background-color: #f5f5f5;
    border: none;
}

.form-control:focus {
    border-color: var(--primaryColor);
    box-shadow: 0 0 0 0.1rem var(--primaryColor);
}

.vertical-alignment-helper {
    display: table;
    height: 100%;
    width: 100%;
    pointer-events: none; /* This makes sure that we can still click outside of the modal to close it */
}

.vertical-align-center {
    display: table-cell;
    vertical-align: middle;
    pointer-events: none;
}

.modal-content {
    /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
    width: inherit;
    max-width: inherit; /* For Bootstrap 4 - to avoid the modal window stretching full width */
    height: inherit;
    margin: 0 auto;
    pointer-events: all;
}

.mobile-phone-padding {
    margin-left: auto;
    margin-right: 0;
    margin-top: 20px;
}



@media screen and (max-width: 991px) {
    .tm-top-bar .navbar-expand-lg .navbar-nav .nav-link {
        padding: 15px 20px;
        background: white;
    }

    .tm-top-bar, .tm-top-bar-bg {
        height: 100px;
    }

    #mainNav {
        width: 100%;
        position: absolute;
        top: 53px;
        right: 0;
        left: 0;
        -webkit-box-shadow: 0px 0px 7px 0px rgba(214, 214, 214, 1);
        -moz-box-shadow: 0px 0px 7px 0px rgba(214, 214, 214, 1);
        box-shadow: 0px 0px 7px 0px rgba(214, 214, 214, 1);
    }

    .tm-top-bar {
        height: 60px;
        margin-bottom: 60px;
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
        display: flex;
        align-items: center;
    }

    .tm-top-bar.active .navbar-expand-lg .navbar-nav .nav-link,
    .tm-top-bar .navbar-expand-lg .navbar-nav .nav-link {
        padding: 15px;
    }

    .tm-top-bar .navbar-brand {
        font-size: 1.4rem;
    }

    .tm-top-bar .navbar-brand img {
        width: 60px;
        height: auto;
    }

    .tm-top-bar .navbar-brand img {
        width: 40px;
    }

    .tab-pane {
        margin-left: 5px;
        margin-right: 5px;
    }
    .dropdown-menu {
        width: 100%;
    }

    .nav-link:hover {
        transform: scale(1);
    }
}

@media screen and (max-width: 400px) {
    .tm-top-bar .navbar-brand {
        font-size: 1.1rem;
    }

    .tm-top-bar.active .navbar-brand {
        font-size: 1.1rem;
    }

    .modal-content {
        margin: 10px;
    }
}



