* {
    font-size: 14px;
    font-family: "Montserrat"!important;
    font-optical-sizing: auto;
    scroll-padding-top: 200px;
}

body {
    padding: 0 !important;
}

/* colors */

:root {
    --primary: #DC1F23;
    --secondary: #DC1F23;
    /* --background: #D3EADF; */
    --grey: #e8e8e8;
    --black: #141414;
    --shadow: #25252568;
    --outline: white;

    --btn-primary-text: white;
    --btn-secondary-bg: white;
}

/* text */

h1{ 
    font-size: 30px; 
    color: var(--primary); 
    margin: 10px 0;
    font-weight: 500;
}

h2 { 
    font-size: 20px; 
    margin: 10px 0;
    font-weight: 500;
}

h3 {
    margin: 10px 0;
}

h4 {
    font-size: 22px;
    font-weight: 500;
}

p { 
    font-weight: 400;
    line-height: 20px;
    font-style: normal;
    margin: 5px 0;
    color: var(--black);
}

a { 
    color: var(--primary);
    text-decoration: none!important; 
}

a:hover {
    color: var(--secondary);
}

.fs-title { font-size: 60px }
.fs-subtitle { font-size: 35px }
.fs-16 { font-size: 16px; }
.fs-18 { font-size: 18px;}
@media (min-width:990px) {
    .text-right-md { text-align: right;}
}
.row {margin:0!important}

@media (max-width: 767px) {
    p { font-size: 12px;}
    h1 , h1 span { font-size: 30px; }
    h2 { font-size: 18px; }
    .fs-title { font-size: 40px }
    .fs-subtitle { font-size: 25px }
    .fs-16 { font-size: 13px; }
    .fs-18 { font-size: 15px;}
}
@media (min-width: 768px)  and (max-width: 991px) {
    h1 , h1 span { font-size: 35px; }
    h2 { font-size: 19px; }
    .fs-title { font-size: 48px }
    .fs-subtitle { font-size: 30px }
    .fs-16 { font-size: 15px; }
    .fs-18 { font-size: 17px;}
}

/* helpers */
.nowrap { white-space: nowrap; }

/* backgrounds */

.grey-bg { background-color: var(--grey);}
.red-bg {background-color: var(--secondary);}
.overlay {
    background-color: var(--secondary); 
    opacity: 0.88;
    width: 100%;
    height: 100%;
    position: absolute;
    clip-path: polygon(34% 0, 100% 0, 100% 100%, 49% 100%)
}
.hero-gradient {
    background: linear-gradient(to right, #970005,#db272c6b, #07070700);
    height: 100%;
    width: 100%;
}
.hero-slider {
    background: url('/assets/website/img/tvm-transportes-banner.jpeg');
    background-size: cover;
    height: 700px;
    background-position: center;
}

/* backgrounds media */

@media (max-width: 768px)
{
    .hero-gradient {
        background: linear-gradient(to right, var(--secondary), #0707073d);
    }
}

/* container */

.container {
    padding: 40px 0;
}

/* buttons */

button {
    border-radius: 5px !important;
    border: none;
    padding: 8px 16px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-primary a {
    color: var(--btn-primary-text);
    font-size: 15px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary {
    background-color: white;
    border: 1px solid white;
}

.btn-secondary a {
    color: var(--primary);
    font-size: 15px;
    font-weight: 500;
}

.btn-secondary:hover {
    background-color: var(--grey);
    border: 1px solid var(--grey);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--outline);
}

.btn-outline a {
    color: var(--btn-primary-text);
    font-size: 15px;
    font-weight: 500;
}

.btn-outline:hover {
    background-color: white;
}

.btn-outline:hover a {
    color: var(--primary);
}

/* inputs */

.form-control {
    background-color: white;
    box-shadow: unset;
    border-radius: 3px;
}

label {
    font-weight: 500;
    color: white;
}

.form-group.is-required > label:after, .label-required:after {
    color: white!important;
    vertical-align: super;
    font-size: 60%;
    content: " *";
    text-shadow: 0 0 2px white!important;
}

/* header */

.logo {
    height: 45px;
    display: block;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--black);
    text-transform: uppercase;
}

.nav-link:hover {
    color: var(--primary);
}

/* header media */

@media (max-width:768px) 
{
    .nav-link {
        font-size: 14px;
    }

}

/* track-trace */

.track-trace {
    margin-top: -75px;
}

/* card */

.card {
    border-radius: 5px;
}

.hole {
    position: relative;
    top: 20px;
    border-radius: 2px;
    margin-left: auto;
    display: flex;
    padding: 6px;
    justify-content: center;
    margin-right: auto;
    width: 80px;
    height: 80px;
    box-shadow: inset 0 0 0 999px var(--grey);
}

/* footer */

footer {
    background-color: #262626;
}


@media (max-width:768px) {
    .font-size-40px {
        font-size: 25px!important;
    }

    .overlay {
        clip-path: polygon(-10% 0, 100% 0, 100% 100%, -10% 100%);
    };

    footer .d-flex {
        display: grid !important;
    }

    .menu-small {
        display: flex;
        justify-content: space-between;
        width: 100%;
        align-items: center;
    }

    .navbar-toggler {
        background: url('/assets/website/img/icons/menu.svg');
            background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    .main-header .container {
        display: inline-block !important;
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .nav-menu ul {
        width: 100%;
        margin: 20px auto !important;
    }

    .top-header {
        display: none!important;
    }
    
}
