body {
    background: #EDEDED url(../img/bg1.jpg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

a, .pseudolink {
    color: #157fc4;
    text-decoration: none;
}

/**
 * Topmenu
 */
.topmenu {
    background: linear-gradient(90deg, #1f497d, #157fc4);
    color: #ffffff;
    position: inherit;
    top: 0;
    width: 100%;
    transition: top 0.3s;
    z-index: 3000;
    text-align: center;
}
.topmenu a {
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    padding: 15px;
}
.topmenu a:hover {
    background: #106196;
    color: #ffffff;
    text-decoration: none;
}

/**
 * Top navbar
 */
.navbar {
    padding: 0rem;
    background: #ffffff;
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.1);
    text-align: center;

}
.nav-item a {
    color: #157fc4;
    text-decoration: none;
    font-weight: 500;
    padding: 1rem;
}
.nav-item a:hover, .nav-item .open {
    background: #157fc4;
    color: #ffffff;
    text-decoration: none;
}
.navbar .dropdown:hover>.dropdown-menu {
    display: block;
}
.navbar .dropdown>.dropdown-toggle:active {
    /*Without this, clicking will make it sticky*/
    pointer-events: none;
}
.navbar .dropdown-menu {
    border: 1px solid #157fc4;
    border-radius: 0;
    background: transparent;
    background-color: #157fc4;
    color: #FFFFFF;
    top: 90%;
}
.navbar .dropdown-menu a {
    color: #FFFFFF;
    padding: 0.25rem 1.5rem;
}
.navbar .dropdown-menu a:hover {
    color: #157fc4;
    background-color: #FFFFFF;
}


/**
 * Breadcrumb
 */
.breadcrumb {
    width: 100%;
    background-color: transparent;
    padding: 0 1rem;
}
.breadcrumb-item + .breadcrumb-item::before {
    display: block;
    padding-right: 0rem;
    content: "";
}
.breadcrumb > li {
    transform: skewX(-15deg);
    background-color: #fff;
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.1);
    z-index: 1;
    max-width: 10%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-left: -50px;
    transition: all 0.5s;
}
.breadcrumb > li > a {
    display: block;
    padding: 3px 10px 3px 5px;
    font-size: 14px;
    transform: skewX(15deg);
    text-decoration: none;
    color: #444;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 300;
}
.breadcrumb > li:first-child {
    margin-left: 0px;
}
.breadcrumb > li:hover {
    transition-delay: 0.1s;
    background-color: #CFD8DC;
}
.breadcrumb > li:last-child {
    background-color: #78909C;
    max-width: 20%;
}
.breadcrumb > li:last-child > a {
    color: #ffffff;
}
.breadcrumb > li:last-child {
    color: #ffffff;
}
.breadcrumb:hover > li {
    transition-delay: 0.1s;
    margin-left: 0;
    max-width: 100%;
    margin-right: 1.5rem;
}

/**
 * Content
 */
.content {
    margin-bottom: 3rem;
    text-align: justify;
}
.content .card {
    background: #ffffff;
    color: #828282;
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.1);
}
.content .card {
  overflow-y: scroll;
}
.content h1 {
    color: #366091 !important;
    font-weight: 900 !important;
    line-height: 25px !important;
    font-size: 18pt !important;
    text-align: center;
}

/**
 * Header
 */
.header {
    background: #ffffff;
    color: #828282;
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.1);
    padding: 30px 10px 20px 10px;
    margin-bottom: 35px;
}
.header a {
    text-decoration: none;
}
.header h1 {
    font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif !important;
    background: -webkit-linear-gradient(0deg, #1f497d, #157fc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700 !important;
    padding-top: 3px;
    margin-bottom: 0px;
    font-size: 26px;
    line-height: 24px;
}
.header a small {
    font-size: 16px;
    color: #828282;
    line-height: 20px;
    font-family: "PT Sans", PTsans, Arial, sans-serif;
}
.header a img {
    float: left;
    margin-right: 30px;
}

/**
 * Left nav
 */
.sidebar-nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: left;
}
.sidebar-nav li {
    margin-left: -20px;
    margin-right: -20px;
}
.sidebar-nav li:first-child a {
    padding-top: 0;
}
.sidebar-nav li.active > a {
    text-decoration: none;
    color: #1c1c1c;
    border-color: #157fc4;
}
.sidebar-nav li a {
    display: block;
    padding: 5px 10px 5px 20px;
    border-left: solid 4px transparent;
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
}

/**
 * Index page widgets
 */
.index-widgets {
    text-align: justify;
    margin-bottom: 3rem;
}
.index-widgets .card {
    background: #ffffff;
    color: #828282;
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.1);
}
.index-widgets .primary {
    border-top: solid 4px #157fc4;
}
.index-widgets h1 {
    font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif !important;
    color: #366091 !important;
    font-weight: 900 !important;
    line-height: 25px !important;
    font-size: 18pt !important;
    float: left;
    margin-bottom: 2rem;
}
.index-widgets a.category-link {
    float: right;
}
.index-widgets section:first-child {
    margin-top: 0;
}
.index-widgets section {
    font-size: 14px;
    padding: 15px;
    border-bottom: solid 1px rgba(130, 130, 130, 0.3);
}
.index-widgets section:last-child {
    border-bottom: none;
}
.index-widgets section img {
    width: 100%;
}
.index-widgets h6 {
    margin-bottom: 15px;
    margin-top: 15px;
}

.index-widgets a.category-btn {
    float: right;
    color: white;
    padding-left: 20px;
    padding-right: 20px;
    background: #157fc4;
    display: inline-block;
    margin-bottom: 0;
    font: normal 16px/40px "PT Sans", PTsans, Arial, sans-serif;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: 0;
    text-decoration: none;
    white-space: nowrap;
    height: 40px;
    padding: 0 20px;
    border-radius: 20px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
}

/**
 * Top carousel
 */
.carousel {
    margin-top: -35px;
    margin-bottom: 35px;
}
.carousel-caption {
    background: rgba(24, 24, 24, 0.35);
    color: #ffffff;
    padding: 40px 40px 40px;
    border-radius: 4px 4px 0 0;
    top: 0;
    bottom: auto;
    width: 25%;
    text-align: left;
    font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif !important;
    text-shadow: 0 0 2px black;
}
.carousel-caption h2 {
    margin-bottom: 30px;
}
.carousel-control-prev, .carousel-control-next {
    position: relative;
    float: left;
    justify-content: start;
    width: 10%;
}
.carousel-control-prev-icon, .carousel-control-next-icon {
    width: 12px;
    height: 12px;
}

.carousel-caption a.btn {
    text-shadow: none;
    display: inline-block;
    color: #157fc4;
    margin-top: 15px;
    margin-bottom: 15px;
    font: normal 16px/40px "PT Sans", PTsans, Arial, sans-serif;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background: #dcecf6;
    border: 0;
    text-decoration: none;
    white-space: nowrap;
    height: 40px;
    padding: 0 20px;
    border-radius: 20px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
}

/**
 * Footer
 */
.footer {
    text-align: center;
    color: #828282;
    background: #000000;
    padding: 2rem;
}
.footer a {
    color: #828282;
}
.footer .copyright {
    text-align: left;
    color: #828282;
    margin-top: 30px;
    //margin-bottom: -30px;
    font-size: 90%;
}

/**
 * Fancybox
 */
.fancybox {
    width:auto;
    text-align:center;
    padding:20px;

}
.fancybox img {
    width: 30%;
    height: 30%;
    object-fit: contain;
    vertical-align: top;
    margin-right: 5px;
    margin-bottom: 5px;
}


/**
 * Admission
 */
.j-admission {
    background-image:url(/uploads/article/39/priem.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    padding: 0;
    margin: 0;
}
.j-admission div {
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 70px 100px 50px 20px;
}
.j-admission h1 {
    color: #fff !important;
    font-size: 40px !important;
    font-weight: bold !important;
    line-height: 1.5 !important;
    text-align: left !important;
    font: bold 22px/30px "PT Sans", PTsans, Arial, sans-serif;
    font-family: 'Merriweather', serif;
    padding-bottom: 25px;
}
.j-admission p {
    font-size: 120%;
    line-height: 1.2;
    padding-bottom: 25px;
}
.c-admission {
    border: 2px solid #1D71B8;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.accordion .card:hover {
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.2);
}
.accordion .card {
    background: #ffffff;
    border-radius: 5px;
    padding: 0;
    margin: 40px 0;
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.1);
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
    border: 0;
    border-radius: 0;
    background-color: #fff;
}
.accordion .card a {
    text-decoration: none;
    display: block;
    position: relative;
    margin: 0 0;
}
.accordion .card .card-header {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    font: normal 20px/30px "PT Sans", PTsans, Arial, sans-serif;
    color: #157fc4;
    padding: 20px 40px 20px 25px;
    text-align: center;
}
.accordion .card .card-header h2 button {
    text-align: center;
    background-color: #fff;
    color: #157fc4;
    vertical-align: middle;
    font: normal 20px/30px "PT Sans", PTsans, Arial, sans-serif;
    color: #157fc4;
}
.accordion .card .card-header h2 button:hover {
    text-decoration: none;
}

.admission-title {
    overflow: hidden;
    text-align: center;
    color: #000;
    margin-bottom: 25px;
    margin-top: 25px;
}
.admission-title:before {
    margin-left: -100%;
    left: -15px;
}
.admission-title:after {
    margin-right: -100%;
    right: -15px;
}
.admission-title:before, .admission-title:after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 10%;
    height: 4px;
    background-color: #1D71B8;
    position: relative;
}


.navbar .navbar-toggler-icon {
background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
