/*
Theme Name: University
Theme URI: https://web.sytnik.net.ua
Author: Dmitry Sytnik
Author URI: https://web.sytnik.net.ua
Description: WordPress theme for University.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

* {
    transition: 0.15s;
}

:root {
    --mdb-primary-rgb: 0, 164, 60;
    --mdb-primary: #00a43c;
}

a, .a {
    cursor: pointer;
    color: var(--mdb-primary);
}

a:hover, .a:hover {
    color: #225a2f;
}

a.card {
    color: var(--mdb-body-color);
}

a.card:hover {
    color: var(--mdb-primary);
}

.card {
    --mdb-card-border-radius: 1rem;
    --mdb-card-inner-border-radius: 1rem;
    --mdb-card-box-shadow: none;
    overflow: hidden;
}

.bg-light {
    background-color: #f3f3f3 !important;
}

.btn, .btn-group {
    box-shadow: none !important;
}

.btn-primary {
    --mdb-btn-bg: var(--mdb-primary);
}

.btn-primary:hover {
    background-color: #225a2f;
}

h1, .h1, h2, .h2 {
    margin-bottom: 3rem;
}

h4, .h4 {
    font-weight: normal !important;
    margin-bottom: 3rem;
}

.card-body h4, .card-body .h4 {
    font-weight: normal !important;
    margin-bottom: 1rem;
}

h1 + h4, .h1 + h4, h1 + .h4, .h1 + .h4 {
    margin-top: -1.5rem;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, .h1 a, .h2 a, .h3 a, .h4 a, .h5 a, .h6 a {
    color: var(--mdb-black);
}

.form-control, .alert, .btn {
    border-radius: 1rem;
}

.mb-11 {
    margin-bottom: 7rem;
}

.breadcrumbs {
    margin-top: -1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.su-language-switcher img {
    width: 24px;
}

.su-height::before {
    content: "";
    display: block;
}

.su-height-200::before {
    padding-top: 200%;
}

.su-height-150::before {
    padding-top: 150%;
}

.su-height-100::before {
    padding-top: 100%;
}

.su-height-75::before {
    padding-top: 75%;
}

.su-height-60::before {
    padding-top: 60%;
}

.su-height-50::before {
    padding-top: 50%;
}

.su-height-40::before {
    padding-top: 40%;
}

.su-height > * {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.card-img {
    display: block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.card-img.card-img-rounded {
    border-radius: 1rem !important;
}

.card-img.contain {
    background-size: contain;
}

.py-7 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.bg-white .card {
    background-color: #f3f3f3;
}

.announcement-card .h1 {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 5rem;
}

.announcement-card .h2 {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 3rem;
}

.carousel-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.su-youtube {
    position: relative;
    display: block;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.su-youtube .su-player {
    position: absolute;
    width: 90px;
    height: 55px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: .75rem;
    background-color: #000000;
    transition: var(--mdb-image-hover-shadow-transition);
    opacity: .8;
}

.su-youtube:hover .su-player {
    background: var(--mdb-danger);
    opacity: 1;
}

.su-youtube .su-player::before {
    content: '';
    border-style: solid;
    border-width: 1em 0 1em 1.732em;
    border-color: transparent transparent transparent rgba(255, 255, 255, 1);
    font-size: 14px;
    height: 0;
    margin: -1em 0 0 -0.75em;
    top: 50%;
    left: 50%;
    position: absolute;
    width: 0;
}

.text-body a {
    color: var(--mdb-body-color) !important;
}

a.text-body:hover, .text-body a:hover {
    color: var(--mdb-primary) !important;
}

.su-menu-item .card {
    display: none;
}

.su-menu-item:hover .card {
    display: block;
}

.su-animated {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.su-animated-visible {
    opacity: 1;
    transform: translateY(0);
}

.su-preloader {
    z-index: 9999;
    transition: 1s;
}

.su-preloader.su-preloader-hidden {
    opacity: 0;
    visibility: hidden;
}

.su-preloader .spinner-border {
    width: 2.5rem;
    height: 2.5rem;
}

.su-header-logo-wrapper {
    width: 360px;
}

@media screen and (max-width: 1200px) {
    .su-header-logo-wrapper {
        width: 250px;
    }
}

.su-video-height {
    height: 100%;
}

@media screen and (max-width: 992px) {
    .su-video-height {
        height: 140px;
    }
}

.card-body p, .card-body li {
    text-align: justify;
}

.card-body p:last-child {
    margin-bottom: 0;
}

@media screen and (min-width: 768px) {
    .w-md-auto {
        width: auto !important;
    }
}

.has-text-align-right {
    text-align: right !important;
}

.has-text-align-left {
    text-align: left !important;
}

.has-text-align-center {
    text-align: center !important;
}

.d-flex > i {
    align-self: center;
}
