@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

html, body {
    color: #444444;
}

h1, .uk-h1 {
    font-size: 36px;
    line-height: 48px;
}

.main-image .uk-overlay-panel > div {
    margin-left: auto;
    margin-right: auto;
    max-width: 1270px;
    padding: 150px 70px 0;
    width: 100%;
}

.uk-overlay-panel {
    color: #444;
}

.main-image .uk-overlay-panel,
.main-image .uk-heading-large {
    color: #FFF;
    text-transform: none;
}

.uk-navbar-nav > li > a {
    color: #222222;
    font-size: 13px;
    font-weight: 500;
}

.uk-navbar {
    color: #222222;
}

.tm-grid-button .uk-panel {
    padding: 35px;
}

.tm-grid-luna .uk-panel:hover .tm-check-icon {
    background-image: linear-gradient(156deg, #126723, #246b24);
}

.uk-panel-hover {
    color: #444;
}

.uk-button-large {
    font-size: 14px;
}

.uk-block-primary {
    background: #2f2e68;
}

.tm-navbar {
    padding-top: 5px;
    padding-bottom: 5px;
}

.gallery h3.uk-panel-title {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: #c63f43;
    padding: 2px 10px;
}
.gallery .uk-panel-teaser {
    margin-bottom: 0 !important;
}

.uk-block-secondary {
    background: rgba(200,66,66,1);
    background: -moz-linear-gradient(-45deg, rgba(200,66,66,1) 0%, rgba(181,55,67,1) 47%, rgba(158,36,50,1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(200,66,66,1)), color-stop(47%, rgba(181,55,67,1)), color-stop(100%, rgba(158,36,50,1)));
    background: -webkit-linear-gradient(-45deg, rgba(200,66,66,1) 0%, rgba(181,55,67,1) 47%, rgba(158,36,50,1) 100%);
    background: -o-linear-gradient(-45deg, rgba(200,66,66,1) 0%, rgba(181,55,67,1) 47%, rgba(158,36,50,1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(200,66,66,1) 0%, rgba(181,55,67,1) 47%, rgba(158,36,50,1) 100%);
    background: linear-gradient(135deg, rgba(200,66,66,1) 0%, rgba(181,55,67,1) 47%, rgba(158,36,50,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c84242', endColorstr='#9e2432', GradientType=1 );
}

.tm-check-icon {
    color: #FFF;
    border: 2px solid #FFF;
}

.tm-grid-luna .uk-panel:hover .tm-check-icon {
    background: rgba(200,66,66,1);
    background: -moz-linear-gradient(-45deg, rgba(200,66,66,1) 0%, rgba(181,55,67,1) 47%, rgba(158,36,50,1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(200,66,66,1)), color-stop(47%, rgba(181,55,67,1)), color-stop(100%, rgba(158,36,50,1)));
    background: -webkit-linear-gradient(-45deg, rgba(200,66,66,1) 0%, rgba(181,55,67,1) 47%, rgba(158,36,50,1) 100%);
    background: -o-linear-gradient(-45deg, rgba(200,66,66,1) 0%, rgba(181,55,67,1) 47%, rgba(158,36,50,1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(200,66,66,1) 0%, rgba(181,55,67,1) 47%, rgba(158,36,50,1) 100%);
    background: linear-gradient(135deg, rgba(200,66,66,1) 0%, rgba(181,55,67,1) 47%, rgba(158,36,50,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c84242', endColorstr='#9e2432', GradientType=1 );
}

.tm-grid-luna .uk-panel:hover h3 {
    color: #222222;
}

.diploms .uk-panel-teaser {
    margin-bottom: 0;
}

.diploms .uk-panel-teaser + div {
        position: absolute;
        right: 10px;
        top: 10px;
        background: #c63f43;
        padding: 2px 10px;
}

.uk-list-line > li:nth-child(n+2) {
    margin-top: 10px;
    padding-top: 10px;
}

.social-icons img {
    border: 2px solid #000;
    border-radius: 50%;
    width: 27px;
    height: 27px;
    margin-right: 2px;
}

.social-icons a:hover > img,
.social-icons a:focus > img {
    border-color: #c63f43;
}

.uk-offcanvas .social-icons img {
    margin-right: 0;
}

.uk-navbar-toggle {
    color: #111;
}

@media (max-width: 1219px) {
    .uk-container {
        max-width: 100%;
        padding: 0 15px;
    }

    .uk-navbar-nav > li {
        margin: 0 12px;
    }

    .main-image .uk-cover-background {
        background-position: 0 50%;
    }

    .video iframe {
        width: 100%;
    }

    .uk-text-large {
        font-size: 22px;
    }

    ul.uk-text-large > li {
        line-height: 2;
    }
}

@media (max-width: 959px) {
    .main-image .uk-cover-background {
        background-position: 25% 50%;
    }

    .main-image .uk-overlay-panel > div {
        margin-left: 0;
        width: 60%;
    }

    .uk-navbar-nav > li {
        margin: 0 10px;
    }
}

@media (max-width: 767px) {
    .main-image .uk-cover-background {
        background-position: 50% 50%;
    }

    .main-image .uk-overlay-panel, .main-image .uk-heading-large {
        text-shadow: 0 0 10px #000;
    }
}

@media (max-width: 480px) {
    h1, .uk-h1 {
        font-size: 20px;
        line-height: 32px;
    }

    h2, .uk-h2 {
        font-size: 18px;
        line-height: 30px;
    }

    .video iframe {
        height: auto;
        min-height: 300px;
    }

    .main-image .uk-overlay-panel > div {
        width: 100%;
        padding: 320px 0 0 0;;
    }
}