@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.ttf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Italic.ttf');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Bold.ttf');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-BoldItalic.ttf');
    font-weight: bold;
    font-style: italic;
}
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Medium.ttf');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-MediumItalic.ttf');
    font-weight: 600;
    font-style: italic;
}
:root {
    --primary-font: 'Roboto', 'Helvetica', 'Arial', sans-serif;

    /* Colors: */
    --header-background-color: #002961;
    --main-background-color: #EDEDED;
    --cta-background-color: #E0E0E0;
    --primary-color: #002C76;
    --secondary-color: #0083CD;
    --highlight: #1854AB;
    --text-color: #3A3A3A;

    --bs-gutter-x: 2.5rem;
    --bs-gutter-y: 2.5rem;
}

/* Global styles */
* {box-sizing: border-box;}
html {
    font-size: 16px;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}
body {
    font-family: var(--primary-font);
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-color);
    background-color: var(--main-background-color);
    margin: 0;
}
header, main, footer,
details, menu, figcaption, figure {display: block;}
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    text-align: center;
    margin: 0;
    padding: 0.75rem 0;
}
h1 {
    font-size: 1.5rem;
    line-height: 1.8rem;
}
h2 {
    font-size: 1.3rem;
    line-height: 1.6rem;
}
h3 {
    font-size: 1rem;
    line-height: 1.3rem;
}
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}
ol, ul {
    margin-top: 0;
    margin-bottom: 0;
}
p, li {
    font-size: 0.875rem;
    line-height: 1.125rem;
    color: var(--text-color);
    text-align: justify;
    margin: 0;
    padding: 0.75rem 0;
}

p, li, td, a{
    word-wrap: break-word;
    max-width: 100%;
    /* overflow-wrap: break-word; */
    /* word-break: break-work; */
}

li {padding: 0.375rem 0;}
li:first-child {padding-top: 0.75rem;}
li:last-child {padding-bottom: 0.75rem;}
li::marker {
    color: var(--primary-color);
}
pre {
    font-family: monospace, monospace;
    font-size: 1em;
}
a {
    display: inline-block;
    background-color: transparent;
    color: var(--secondary-color);
    text-decoration: none;
}
abbr[title] {
    border-bottom: 0;
    text-decoration: none;
}
b, strong {
    color: var(--secondary-color);
    font-weight: 600;
}
code, kbd, samp {
    font-family: monospace,monospace;
    font-size: 1em;
}
dfn {font-style: italic;}
mark {
    background-color: #FFFF00;
    color: black;
}
small {font-size: 80%;}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {bottom: -0.25em;}
sup {top: -0.5em;}
audio, video {display: inline-block;}
audio:not([controls]) {
    display: none;
    height: 0;
}
img {
    max-width: 100%;
    height: auto;
    border-style: none;
}
svg:not(:root) {overflow: hidden;}
button, input, optgroup, select, textarea {
    font-family: var(--primary-font);
    font-size: inherit;
    line-height: 1.15;
    margin: 0;
}
button, input {overflow: visible;}
button, select {text-transform: none;}
button, [type="button"], [type="reset"], [type="submit"] {-webkit-appearance: button;}
button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}
button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring {outline: 1px dotted var(--primary-color);}
fieldset {padding: 0.35em 0.75em 0.625em;}
legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}
progress {
    display: inline-block;
    vertical-align: baseline;
}
textarea {overflow: auto;}
[type="checkbox"], [type="radio"] {
    box-sizing: border-box;
    padding: 0;
}
[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button {height: auto;}
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}
[type="search"]::-webkit-search-cancel-button, [type="search"]::-webkit-search-decoration {-webkit-appearance: none;}
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}
summary {display: list-item;}
canvas {display: inline-block;}
template, [hidden] {display: none;}
table {
    color: var(--text-color);
    margin: 0 auto;
}
th, td {
    font-size: 0.875rem;
    padding: 0.65rem 1rem;
}
th {
    border: 1px solid var(--header-background-color);
    background-color: var(--primary-color);
    padding: 10px;
    text-align: center;
    font-size: 16px;
    color: #fff;
}
td {
    border: 1px solid var(--header-background-color);
    background-color: transparent;
    text-align: center;
    color: var(--text-color);
}

.font-bold{
    font-weight: bold;
}
/* End Global styles */

#header {
    padding-right: 3%;
    padding-left: 3%;
    background-color: var(--header-background-color);
    border-bottom: 3px solid #fdc130;
}
.logo {padding-top: 3px;}

.btn {
    text-decoration: none;
    font-size: 0.8rem;
    line-height: 1.1rem;
    font-weight: bold;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    border: 2px solid transparent;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    box-shadow: 6px 6px 4px 0px rgba(0,0,0,0.6);
    transition:
        color .15s ease-in-out,
        background-color .15s ease-in-out,
        border-color .15s ease-in-out,
        box-shadow .15s ease-in-out;
}
a.btn, button.btn {cursor: pointer;}
.btn-primary {
    color: white;
    background-color: var(--highlight);
    border-color: var(--highlight);
}
.btn-primary-outline {
    color: var(--highlight);
    background-color: white;
    border-color: var(--highlight);
}
.main-slider {
    background-color: var(--header-background-color);
    background-image: url('../images/bg-slider-tyc-mob.webp');
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: 232px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 280px;
    /* padding: 1rem 35% 1rem 5%; */
    padding: 1rem 10% 1rem;
}


.sub-tyc{
    width: 57%;
}

@media (min-width: 500px) {
    .sub-tyc{
        width: 85%;
    }
}
@media (min-width: 700px) {
    .sub-tyc{
        width: 100%;
    }
}

.main-slider h1, .main-slider h2, .main-slider h3,
.main-slider h4, .main-slider h5, .main-slider h6, .main-slider p {
    color: white;
    text-align: left;
}
.main-slider p {font-size: 1rem;}
.main-content {padding: 3.75rem 10% 1.625rem;}
.main-content>section {
    padding-top: 1rem;
    padding-bottom: 1rem;
    position: relative;
}
.main-content>section::after {
    content: '';
    background-color: var(--text-color);
    width: 46px;
    height: 1px;
    margin-left: -23px;
    position: absolute;
    bottom: 0;
    left: 50%;
    opacity: 0.7;
}
.main-content>section:last-child::after {content: none;}
.title {padding-bottom: 23px;}
.title::after,
.main-content>section.title::after {
    background-color: var(--primary-color);
    width: 126px;
    height: 2px;
    margin-left: -63px;
    opacity: 1;
}
.title p {
    font-size: 1.15rem;
    line-height: 1.35rem;
    text-align: center;
    padding-bottom: 1rem;
}
.cta-content {
    display: flex;
    flex-direction: column;
}
.cta {
    background-color: var(--cta-background-color);
    display: inline-flex;
    align-self: center;
    flex-direction: column;
    margin: 0.75rem auto 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 16px;
}
.cta p {padding: 0.4rem 0;}
.with-icon {
    background-position: left 24px center;
    background-repeat: no-repeat;
    background-size: 50px;
    padding-left: 90px;
}
.icon-schedule {background-image: url('../images/icon-schedule.png');}
.numbers-content,
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
}
.numbers-content>*, .row>* {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
  }
.numbers-content>*, .col {flex: 0 0 100%;}
.numbers-content>*, .numbers-content p {text-align: center;}
.numbers-content>* {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--text-color);
}
.numbers-content>*:last-child {border-bottom: none;}

#footer {
    padding: 2.2rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}
#footer>div {padding: 0.3rem 0;}

.t-center {text-align: center;}
.t-right {text-align: right;}
.t-left {text-align: left;}
.border-none {border: none;}
.bg-none {background-color: transparent;}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .main-slider {
        background-size: 300px;
        height: 300px;
    }
    .cta {
        padding: 1.25rem 3.125rem;
        border-radius: 21px;
    }
    .with-icon {
        background-position: left 50px center;
        background-size: 63px;
        padding-left: 135px;
    }
    #footer {
        flex-direction: row;
        padding: 2.563rem 10%;
    }
}
/* End Small devices (landscape phones, 576px and up) */

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    /* Global styles Medium devices */
    h1 {
        font-size: 3.1rem;
        line-height: 3.5rem;
    }
    .title-tyc{
        font-size: 2.7rem;
    }
    h2 {
        font-size: 2.5rem;
        line-height: 2.6rem;
    }
    h3 {
        font-size: 1.5rem;
        line-height: 1.6rem;
    }
    /* End Global styles Medium devices */

    .btn {
        font-size: 1.125rem;
        line-height: 1.375rem;
        padding: 0.875rem 1.5rem;
        border-radius: 24px;
    }
    .main-slider {
        background-image: url('../images/bg-slider-tyc-mob.webp');
        background-size: 400px;
        height: 455px;
    }
    .main-slider p {font-size: 1.213rem;}
    .title p {
        font-size: 1.563rem;
        line-height: 1.75rem;
        text-align: center;
    }
    .numbers-content>*, .col {flex: 1 0 0%;}
    .numbers-content>* {
        padding-bottom: 0;
        border-bottom: none;
        border-right: 1px solid var(--text-color);
    }
    .numbers-content>*:last-child {border-right: none;}
}
/* End Medium devices (tablets, 768px and up) */

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .title-tyc{
        font-size: 3.1rem;
    }
    .main-slider {
        background-image: url('../images/bg-slider-tyc.webp');
        background-position-x: 90%;
        background-size: 500px;
        height: 400px;
    }
}
/* End Large devices (desktops, 992px and up) */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}
/* End Extra large devices (large desktops, 1200px and up) */