.contrast body:not(.user-is-tabbing) button:focus,
.contrast body:not(.user-is-tabbing) input:focus,
.contrast body:not(.user-is-tabbing) select:focus,
.contrast,
.contrast .lang-menu,
.contrast .page-header .container,
.contrast .logo,
.contrast h1,
.contrast h2,
.contrast h3,
.contrast h4,
.contrast h5,
.contrast h6,
.contrast p,
.contrast span,
.contrast ul,
.contrast li,
.contrast .bottom-menu .container,
.contrast .page-content .container,
.contrast .page-footer,
.contrast .event-box,
.contrast .news .news-content,
.contrast .navbar-main .navbar-collapse,
.contrast .navbar-main .navbar-nav li a,
.contrast .left-menu .l-menu div,
.contrast .nav-pills li a:hover,
.contrast .nav-pills li a:focus,
.contrast .nav-pills li a:active,
.contrast .page-footer .container,
.contrast .page-footer .ribon,
.contrast table,
.contrast .skip-content {
  background: #000 !important;
  color: #ff0 !important;
}

.contrast a {
  text-decoration: underline !important;
  color: #ff0 !important;
}

.contrast .logo:before,
.contrast .navbar-main .navbar-nav::before,
.contrast h2.main-title:before {
  display: none !important;
}

.contrast .glyphicon {
  background: #ff0 !important;
  color: #000 !important;
}

.contrast .search button,
.contrast .left-menu .l-menu:before,
.contrast .bottom-menu .slick-arrow,
.contrast .carousel-indicators li.active,
.contrast .single-article hr,
.contrast .single-article img,
.contrast .partners-slider li a img {
  background-color: #ff0 !important;
}

.contrast .carousel-indicators li {
  background: #000 !important;
}

.contrast .carousel-control:hover,
.contrast .carousel-control:focus {
  opacity: 1 !important;
}

.contrast .dropdown-menu,
.contrast .partners-slider li a img,
.contrast .single-article img {
  border: 1px solid #ff0 !important;
}

.contrast h3.main-title,
.contrast .calendar-event,
.contrast hr,
.contrast .nav-pills li,
.contrast .page-footer .textwidget {
  border-color: #ff0 !important;
}

body {
  position: relative;
  font-size: 1.3em;
  font-family: "Roboto", sans-serif;
  color: #222222;
  background-image: url(assets/images/bg.jpg) !important;
  background-color: #fff;
  background-repeat: repeat;
}

hr {
  border-color: #b1bbc9;
}

a {
  position: relative;
  color: #262260;
  text-decoration: none;
}

a:hover,
a:hover h5 {
  text-decoration: none;
  color: #000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto", sans-serif;
  color: #00519e;
  margin: 10px 0;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
  margin-top: 0;
}

h1 {
  font-size: 2.6em;
}

h2 {
  font-size: 2.2em;
}

h3 {
  font-size: 1.9em;
}

h4 {
  font-size: 1.6em;
}

h5 {
  font-size: 1.4em;
}

h6 {
  font-size: 1.3em;
}

p {
  color: #222222;
  font-size: 1.1em;
  font-weight: 300;
  line-height: 25px;
}

h2.main-title {
  background: #00519e;
  font-size: 1.9em;
  color: #fff;
  line-height: 50px;
  width: auto;
  width: calc(100% + 60px);
  padding: 0 60px;
  margin: 30px 30px 30px -60px;
  font-weight: 300;
  display: inline-block;
  position: relative;
  z-index: 2;
}

@media (max-width: 991px) {
  h2.main-title {
    width: 100%;
    margin: 0 0 30px 0;
  }

  .carousel-control .glyphicon-chevron-left{
    margin-left: 0px !important;
  }

  .carousel-control .glyphicon-chevron-right{
    margin-right: 0px !important;
  }
}

h2.main-title.full {
  width: calc(100% + 90px);
}

@media (min-width: 991px) {
  h2.main-title:before {
    content: " ";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 30px 30px;
    border-color: transparent transparent #023a6b transparent;
    z-index: 1;
    position: absolute;
    left: 0;
    top: -30px;
  }
}

.carousel-control .glyphicon-chevron-left{
	margin-left: 30px;
	background: #324888;
	width:50px;
	height: 50px;
	margin-top: 0px !important;
	display: flex;
	justify-content: center;
	align-items: center;
}

.carousel-control .glyphicon-chevron-right{
	background: #324888;
	margin-right: -20px;
	width:50px;
	height: 50px;
	margin-top: 0px !important;
	display: flex;
	justify-content: center;
	align-items: center;
}

.bottom-menu h2.main-title {
  margin-bottom: 60px;
  background: #737373;
  margin-top: 60px;
  width: auto;
  margin-left: -45px;
  position: absolute;
}

.bottom-menu h2.main-title:before {
  border-color: transparent transparent #777 transparent;
}

.page-content h2.main-title {
  margin-top: 60px;
  line-height: 1.5em;
}

.bottom-menu .menu li a span {
  position: relative;
}

.fontResizer_minus {
  display: none !important;
}

.breadcrumb-section .breadcrumbs span {
  padding: 10px;
  display: inline-block;
  color: #00519e;
}

.navbar-brand {
  padding: 0;
  height: auto;
  position: absolute;
  top: -19px;
  left: 38px;
}

.navbar-main {
  min-height: 57px;
  margin: 0 -15px 0 -45px;
  border: none;
}

.navbar-main .navbar-nav {
  width: 100%;
  background: #00519e;
}

.navbar-main .navbar-collapse {
  background: #00519e;
  padding: 0 30px 0 30px;
}

.navbar-main .navbar-nav::before {
  content: " ";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 30px 30px;
  border-color: transparent transparent #023a6b transparent;
  z-index: 1;
  position: absolute;
  left: 0;
  top: -30px;
}

.navbar-main .navbar-nav li {}

.navbar-main .navbar-nav li a {
  height: 58px;
  text-align: center;
  background: #00519e;
  color: #fff;
  font-size: 1.2em;
  padding: 15px 19px;
  line-height: 28px;
  font-weight: 300;
}

.navbar-main .navbar-nav li a:hover,
.navbar-main .navbar-nav li a:focus,
.navbar-main .navbar-nav li a:active {
  background: #023a6b;
  color: #fff;
}

.navbar-main .navbar-nav li a:hover span,
.navbar-main .navbar-nav li a:focus span,
.navbar-main .navbar-nav li a:active span {
  color: #fff;
}

.navbar-main .navbar-nav li a:after {}

.navbar-main .navbar-nav li.home span {
  display: none;
}

.navbar-main .dropdown-menu {
  margin: 0;
  padding: 0;
  border: none;
}

.navbar-main .navbar-nav .dropdown-menu li a {
  height: 38px;
  padding: 5px 15px;
  font-size: 0.9em;
  text-align: left;
}

/* KOLOR NIEBIESKI DLA POZYCJI 9 W MENU - KONFERENCJE

.navbar-main .navbar-nav > li:nth-child(9) > a {
  background:#00519E;

}
.navbar-main .navbar-nav > li:nth-child(9) > ul li a{
  background:#00519E;
}
.navbar-main .navbar-nav > li:nth-child(9) > a:hover,
.navbar-main .navbar-nav > li:nth-child(9) > a:focus,
.navbar-main .navbar-nav > li:nth-child(9) > a:active,
.navbar-main .navbar-nav > li:nth-child(9) > ul li a:hover,
.navbar-main .navbar-nav > li:nth-child(9) > ul li a:focus,
.navbar-main .navbar-nav > li:nth-child(9) > ul li a:active{
  background:#00519E;
}

 KOLOR NIEBIESKI DLA POZYCJI 9 W MENU - KONFERENCJE {{ END }} */

/* KOLOR CZERWONY DLA POZYCJI 4 W MENU - REKRUTACJA */

/*
.navbar-main .navbar-nav > li:nth-child(4) > a {
  background:#CC0000;
  font-weight: bold;
}
.navbar-main .navbar-nav > li:nth-child(4) > ul li a{
  background:#CC0000;
}
.navbar-main .navbar-nav > li:nth-child(4) > a:hover,
.navbar-main .navbar-nav > li:nth-child(4) > a:focus,
.navbar-main .navbar-nav > li:nth-child(4) > a:active,
.navbar-main .navbar-nav > li:nth-child(4) > ul li a:hover,
.navbar-main .navbar-nav > li:nth-child(4) > ul li a:focus,
.navbar-main .navbar-nav > li:nth-child(4) > ul li a:active{
  background:#990000;
}
*/
/* KOLOR CZERWONY DLA POZYCJI 4 W MENU - REKRUTACJA {{ END }} */

/* KOLOR ZIELONY DLA POZYCJI 4 W MENU - REKRUTACJA {{ START }} */

.navbar-main .navbar-nav>li:nth-child(3)>a,
.navbar-main .navbar-nav>li:nth-child(3)>ul li a {
  background: #386826;
}

.navbar-main .navbar-nav>li:nth-child(3)>a:hover,
.navbar-main .navbar-nav>li:nth-child(3)>a:focus,
.navbar-main .navbar-nav>li:nth-child(3)>a:active,
.navbar-main .navbar-nav>li:nth-child(3)>ul li a:hover,
.navbar-main .navbar-nav>li:nth-child(3)>ul li a:focus,
.navbar-main .navbar-nav>li:nth-child(3)>ul li a:active {
  background: #386826;
}

/*KOLOR ZIELONY DLA POZYCJI 4 W MENU - REKRUTACJA {{ END }} */

.dropdown-menu .sub-menu {
  left: 100%;
  position: absolute;
  top: 0;
  visibility: hidden;
  margin-top: -1px;
}

.dropdown-menu li:hover .sub-menu {
  visibility: visible;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus .dropdown-menu {
  display: block;
}

.nav-tabs .dropdown-menu,
.nav-pills .dropdown-menu,
.navbar .dropdown-menu {
  margin-top: 0;
}

.navbar .sub-menu:before {
  border-bottom: 7px solid transparent;
  border-left: none;
  border-right: 7px solid rgba(0, 0, 0, 0.2);
  border-top: 7px solid transparent;
  left: -7px;
  top: 10px;
}

.navbar .sub-menu:after {
  border-top: 6px solid transparent;
  border-left: none;
  border-right: 6px solid #fff;
  border-bottom: 6px solid transparent;
  top: 11px;
  left: -6px;
}

.emblem {
  position: absolute;
  bottom: -150px;
  right: 15px;
  width: 100px;
  height: 111px;
  background: url(assets/images/orzel.png);
}

.nav-pills {
  margin-bottom: 30px;
  margin-top: 30px;
  position: relative;
  z-index: 22;
}

.nav-pills li {
  padding: 0;
  border-bottom: 1px solid #ddd;
}

.nav-pills li a {
  margin: 0;
  font-size: 1.1em;
}

.nav-pills li a:before {
  display: none;
}

.nav-pills li a:hover,
.nav-pills li a:focus,
.nav-pills li a:active {}

.btn {
  border: none;
}

.border-bottom {
  border-bottom: 2px solid #c9c6c6;
}

.page-header {
  margin: 10px 0 0 0;
  border: none;
  padding: 0;
}

.page-header .container {
  background: #f5f5f5;
  position: relative;
}

.search {
  margin-top: 21px;
  margin-bottom: 21px;
  width: 100%;
}

.search input[type="text"] {
  height: 32px;
  color: #4e4e4e;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #e5e5e5;
  outline: none;
  width: calc(100% - 7rem);
}

.search button {
  width: 7rem;
  height: 32px;
  border: none;
  outline: none;
  color: #fff;
  float: right;
  text-align: center;
  line-height: 33px;
  background: #00519e;
}

.search button:hover,
.search button:active,
.search button:focus {
  background: #023a6b;
}

.page-content .container {
  background: #fff;
}

.page-content .bg-image {
  width: calc(100% + 30px);
  height: 302px;
  background-size: cover;
  margin-left: -15px;
}

.event-box {
  background: #f5f5f5;
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 30px;
}

h3.main-title {
  border-bottom: 1px solid #e5e5e5;
  margin-top: 0;
  padding-bottom: 10px;
  margin-bottom: 30px;
}

.news {
  width: 100%;
  height: auto;
  margin: 30px 0;
  position: relative;
  padding: 20px 0;
}

.news .news-image-a {
  width: 260px;
  height: 100%;
  display: block;
  z-index: 30;
  position: absolute;
  top: 0px;
}

.news .news-image {
  /* background:center center;
  -webkit-background-size:cover;
  -moz-background-size:cover;
  -o-background-size:cover;
  background-size:cover; */
  object-fit: cover;
  -webkit-box-shadow: 5px 5px 20px 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 5px 5px 20px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 5px 5px 20px 0 rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 100%;
}

.news a:hover h5 {
  text-decoration: none;
  color: #000;
}

.news .news-content {
  width: calc(100% - 230px);
  background: #fff;
  display: block;
  min-height: 160px;
  margin: 0px 0 0px 230px;
  padding: 30px;
  -webkit-box-shadow: 5px 5px 20px 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 5px 5px 20px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 5px 5px 20px 0 rgba(0, 0, 0, 0.1);
  z-index: 40;
  position: relative;
}

.news .news-content h5 {
  font-size: 1.6em;
  font-weight: 400;
  color: #00519e;
  line-height: 20px;
  margin: 0 0 0 0;
  display: inline;
}

.news .news-content p {
  color: #666;
  font-weight: 300;
  margin: 0;
}

.event-list-view {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.event {
  position: relative;
  padding: 15px 0 15px 79px;
}

.event:before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(50% - 32px);
  background: url(assets/images/calendar.png);
  width: 64px;
  height: 64px;
  float: left;
}

.event .event-weekday {
  display: none;
}

.event .event-date {
  display: inline-block;
}

.event .event-info .event-title p,
.event .event-info .event-details p {
  color: #123e66;
  font-size: 1.8em;
  margin: 0;
}

.event .event-info .event-details p {
  font-size: 0.9em;
  font-style: italic;
}

.bottom-menu .container {
  background: #d5d5d5;
  position: relative;
  z-index: 2;
}

.bottom-menu .menu {
  margin: 15px 0 25px 0;
  list-style-type: none;
  text-align: center;
  padding: 20px 0 0 200px;
}

.bottom-menu .menu li {
  display: inline-block;
  vertical-align: bottom;
  text-align: center;
  margin: 0 15px;
  padding: 15px 0;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.bottom-menu .menu li a {
  text-decoration: none;
  display: block;
}

.bottom-menu .menu li:hover {
  transform: scale(1.1, 1.1);
  -webkit-transform: scale(1.1, 1.1);
  -moz-transform: scale(1.1, 1.1);
  -o-transform: scale(1.1, 1.1);
  -ms-transform: scale(1.1, 1.1);
}

.bottom-menu .menu li a span {
  font-size: 1.3em;
  color: #123e66;
  text-transform: uppercase;
  margin-top: 12px;
}

.bottom-menu .menu li img {
  max-height: 64px;
}

.bottom-menu .menu .slick-prev {
  position: absolute;
  width: 40px;
  height: 40px;
  left: -40px;
  top: calc(50% - 20px);
  background: #00519e;
  color: #fff;
  border: none;
  font-size: 1.6em;
  line-height: 40px;
}

.bottom-menu .menu .slick-next {
  position: absolute;
  width: 40px;
  height: 40px;
  right: -40px;
  top: calc(50% - 20px);
  background: #00519e;
  color: #fff;
  border: none;
  font-size: 1.6em;
  line-height: 40px;
}

.bottom-menu .menu .slick-slide img {
  margin: 0 auto;
}

.page-footer {
  position: relative;
  color: #fff;
  z-index: 3;
}

.page-footer .container {
  background: #202430;
  padding: 40px 0 10px 0;
}

.page-footer .mapa {
  display: block;
  position: relative;
}

.page-footer .mapa img {
  max-width: calc(100% - 25px);
	max-height: 228px; /* ID 9207 */
}

.page-footer .mapa span {
  text-align: center;
  width: 100%;
  display: block;
  opacity: 0;
  position: absolute;
  top: 42%;
  transition: 0.3s ease-in-out;
}

.page-footer .mapa:hover span {
  opacity: 1;
  transition: 0.3s ease-in-out;
}

.page-footer a {
  color: #fff;
}

.page-footer a:hover {
  color: #fff;
}

.page-footer p {
  color: #fff;
  font-size: 1em;
  margin: 0;
}

.update-school-name {
  font-weight: 300;
}

.page-footer .ribon {
  background: #00519E;
  font-size: 0.8em;
  text-transform: uppercase;
  color: #fff;
  width: auto;
  margin: 0 0px 0 -30px;
  font-weight: 400;
  padding: 30px !important;
  display: inline-block;
  text-align: center;
  position: relative;
}

.page-footer .ribon img {
  margin-top: 0 !important;
  width: 100%;
  max-width: 100px;
}

.page-footer .ribon p {
  font-size: 1.1em;
  word-spacing: normal;
  letter-spacing: 0;
}

.page-footer .textwidget {
  border-left: 3px solid #00519E;
  padding-left: 15px;
  display: inline-block;
}

.ribon p {
  font-family: "Georgia", serif;
  text-transform: none;
  font-size: 1.2em;
  font-style: italic;
}

.ribon:before {
  content: " ";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 30px 30px;
  border-color: transparent transparent #023a6b transparent;
  z-index: 1;
  position: absolute;
  left: 0;
  top: -30px;
}

.page-footer h3 {
  font-size: 1.4em;
  color: #fff;
  margin-bottom: 20px;
  margin-top: 25px;
  line-height: 1.5em;
}

.page-footer .name a {
  font-size: 1.3em !important;
  color: #FFF;
  font-weight: 300 !important;
  margin-top: 15px;
  display: inline-block;
}

.page-footer .name a:hover {
  text-decoration: underline !important;
}

.page-footer h4,
.page-footer h4 p {
  font-size: 1em;
  color: #fff;
  font-weight: 300;
}

.page-footer .contact {
  padding-left: 45px;
}

.page-footer .contact p {
  font-size: 1em;
  color: #fff;
  font-weight: 300;
}

.page-footer .contact-xs p {
  text-align: center;
}

.page-footer .contact h3 {
  margin-bottom: 10px;
}

.social-menu,
.left-menu {
  text-align: center;
  padding: 20px;
  background: #202430;
  margin: 0px auto;
}

.social-menu {
  position: static;
  display: flex;
  gap: 10px;
  margin-top: 10px;
  padding: 0;
}

.social-menu a {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-size: contain;
  background-position: center;
}

.social-menu a.fb {
  background-image: url("assets/images/fb.png");
}

.social-menu a.tw {
  background-image: url("assets/images/tw.png");
}

.social-menu a.yt {
  background-image: url("assets/images/yt.png");
}

.social-menu a.ins {
  background-image: url("assets/images/ins.png");
}

.left-menu .l-menu {
  display: inline-block;
  margin: 20px 0;
  vertical-align: top;
}

.left-menu .l-menu .left-title {
  display: block;
  -webkit-transition: all 1s ease-in-out;
  -moz-transition: all 1s ease-in-out;
  -o-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
  height: 48px;
  width: 200px;
  background: #375097;
  line-height: 28px;
  color: #fff;
  padding: 10px 20px;
  font-size: 1.1em;

  text-align: center;
}

.left-menu .l-menu:before {
  width: 48px;
  height: 48px;
  content: " ";
  display: block;
  background: #324888 center center no-repeat;
  position: absolute;
  z-index: 999999;
  cursor: pointer;
}

.user-is-tabbing .left-menu .l-menu .left-title {
  display: block;
  width: 200px;
}

.left-menu .l-menu.nav_menu-5:before {
  background-image: url("assets/images/l_menu_1.png");
}

.left-menu .l-menu.nav_menu-6:before {
  background-image: url("assets/images/l_menu_2.png");
}

.left-menu .l-menu.nav_menu-7:before {
  background-image: url("assets/images/l_menu_3.png");
}

.left-menu .l-menu.nav_menu-8:before {
  background-image: url("assets/images/l_menu_4.png");
}

@media (min-width: 1300px) {
  .social-menu {
    z-index: 3;
    padding: 0;
    background: none;
    transition: all 0.1s ease-in-out;
  }

  .social-menu:hover {
    right: 0;
  }

  .social-menu a {
    display: block;
  }

  .left-menu {
    position: fixed;
    left: 0;
    top: calc(50% - 180px);
    z-index: 99999;
    width: 0;
    display: block;
    padding: 0;
    background: none;
    margin: 0;
    padding: 0;
  }

  .left-menu a {
    display: block;
    height: 48px;
    margin-bottom: 20px;
  }

  .left-menu .l-menu {
    margin-bottom: 20px;
    position: relative;
    height: 48px;
    display: block;
  }

  .left-menu .l-menu .left-title {
    transform: translate(-200px, 0px);
    -webkit-transform: translate(-200px, 0px);
    -moz-transform: translate(-200px, 0px);
    -o-transform: translate(-200px, 0px);
    -ms-transform: translate(-200px, 0px);
    cursor: default;
  }

  .left-menu .l-menu div,
  .left-menu .l-menu:hover .left-title {
    transform: translate(0px, 0px);
    -webkit-transform: translate(0px, 0px);
    -moz-transform: translate(0px, 0px);
    -o-transform: translate(0px, 0px);
    -ms-transform: translate(0px, 0px);
  }

  .left-menu .l-menu div {
    position: absolute;
    padding: 20px 20px 20px 68px;
    color: #fff;
    top: 48px;
    transform: translate(-248px, 0px);
    -webkit-transform: translate(-248px, 0px);
    -moz-transform: translate(-248px, 0px);
    -o-transform: translate(-248px, 0px);
    -ms-transform: translate(-248px, 0px);
    display: block;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    background: #023a6b;
    width: 248px;
  }

  .left-menu .l-menu div ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .left-menu .l-menu div ul a {
    color: #fff;
  }

  .left-menu .l-menu div ul a:hover {
    text-decoration: underline;
  }

  .left-menu .l-menu:hover div {
    height: auto;
    transform: translate(0px, 0px);
    -webkit-transform: translate(0px, 0px);
    -moz-transform: translate(0px, 0px);
    -o-transform: translate(0px, 0px);
    -ms-transform: translate(0px, 0px);
  }

  .left-menu .l-menu:hover .left-title {
    transform: translate(48px, 0px);
    -webkit-transform: translate(48px, 0px);
    -moz-transform: translate(48px, 0px);
    -o-transform: translate(48px, 0px);
    -ms-transform: translate(48px, 0px);
  }
}

@media (max-width: 1300px) {
  .af-menus {
    position: absolute;
    bottom: 1px;
    z-index: 20;
    left: calc(50% - 186px);
  }

  .af-menus .left-menu,
  .af-menus .social-menu {
    display: inline-block;
    padding: 0;
    background: transparent;
    margin: 0;
    height: 48px;
    float: left;
  }

  .social-menu a {
    margin-bottom: 0;
  }

  .left-menu {
    margin-left: 15px !important;
  }

  .left-menu .l-menu {
    margin: 0;
  }

  .left-menu .l-menu:before {
    position: initial;
  }

  .left-menu .l-menu .left-title {
    display: none;
  }
}

@media (max-width: 992px) {
  .af-bg {
    background: #202430;
    width: 730px;
    margin: 0 auto;
  }

  .af-menus {
    position: initial;
    height: 48px;
    width: 373px;
    padding: 0;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .af-bg {
    width: 100%;
  }
}

@media (max-width: 373px) {
  .af-menus {
    width: 100%;
    height: auto;
  }

  .af-menus .left-menu,
  .af-menus .social-menu {
    float: initial;
    display: block;
    margin: 0 auto;
  }

  .left-menu {
    margin: 10px auto 0 auto !important;
  }
}

.inter {}

.bg {
  background: url(assets/images/institute-page-image.jpg) center no-repeat;
  padding: 0;
  height: 301px;
  background-size: cover;
}

.subpage h2.pull-right {
  margin-right: -15px;
}

.info p {
  font-size: 1em;
  margin-bottom: 50px;
}

.subpage .tab-content {
  padding: 38px 0 0 0;
  margin: 0;
}

.pedagogics h2 {
  background: #80469b;
  text-transform: uppercase;
}

.pedagogics h4:before {
  background: #80469b;
}

.informatics h2 {
  background: #c9d22c;
  text-transform: uppercase;
}

.informatics h4:before {
  background: #c9d22c;
}

.search-item {
  margin-bottom: 20px;
}

.search-item:nth-child(1) {
  margin-top: 20px;
}

.search-item .more {
  margin: 20px 0;
}

.tab-pane {
  padding-bottom: 38px;
}

.lang-menu {
  background: #fff;
  height: 40px;
  margin: 25px 0;
  padding: 4px;
}

.lang-menu a {
  display: inline-block;
  margin: 0;
  float: left;
}

.lang-menu a img {
  max-height: 24px;
  display: block;
}

.lang-menu a {
  padding: 7px;
}

.lang-menu .gflag {
  padding: 0;
  height: 26px;
  margin: 4px 7px;
}

.carousel {}

.carousel-indicators {
  width: auto;
  left: 20px;
  bottom: 24px;
  margin: 0;
  padding: 0;
}

.carousel-indicators li {
  display: inline-block;
  margin: 7px;
  border: none;
  width: 14px;
  height: 14px;
  background: #fff;
}

.carousel-indicators li.active {
  margin: 7px;
  border: none;
  width: 14px;
  height: 14px;
  background: #00519e;
}

.carousel-caption {
  background: rgba(50, 58, 136, 0.6);
  background: -moz-linear-gradient(45deg,
      rgba(50, 58, 136, 0.6) 0%,
      rgba(125, 185, 232, 0.6) 100%);
  background: -webkit-linear-gradient(45deg,
      rgba(50, 58, 136, 0.6) 0%,
      rgba(125, 185, 232, 0.6) 100%);
  background: linear-gradient(45deg,
      rgba(50, 58, 136, 0.6) 0%,
      rgba(125, 185, 232, 0.6) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#324888', endColorstr='#7db9e8', GradientType=1);
  right: 39px;
  top: 0;
  bottom: 0;
  width: 311px;
  left: initial;
  color: #00519e;
  text-align: left;
  padding: 27px;
}

.sub-content {
  padding: 0 30px;
  font-size: 15px;
  line-height: 34px;
  min-height: 400px;
}

.sub-content h2:first-child {
  margin-top: 0;
}

.carousel-control .icon-prev,
.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right {
  top: calc(50% - 25px);
}

.ins_bg {
  position: absolute;
  width: auto;
  height: auto;
  z-index: 0;
  right: 0;
  top: 0px;
  opacity: 0.3;
}

.ins_bg:before {
  position: absolute;
  display: block;
  content: " ";
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 1);
  background: -moz-linear-gradient(left,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 100%);
  background: -webkit-linear-gradient(left,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 100%);
  background: -o-linear-gradient(left,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 100%);
  background: -ms-linear-gradient(left,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 100%);
  background: linear-gradient(to right,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ffffff', GradientType=1);
}

.ins_bg:after {
  position: absolute;
  display: block;
  content: " ";
  width: 100%;
  height: 100%;
  bottom: -1px;
  background: rgba(255, 255, 255, 0);
  background: -moz-linear-gradient(top,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 1) 100%);
  background: -webkit-linear-gradient(top,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 1) 100%);
  background: -o-linear-gradient(top,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 1) 100%);
  background: -ms-linear-gradient(top,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 1) 100%);
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ffffff', GradientType=0);
}

.logo {
  background: #fff;
  -webkit-box-shadow: 5px 5px 20px 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 5px 5px 20px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 5px 5px 20px 0 rgba(0, 0, 0, 0.1);
  margin-left: -45px;
  margin-right: -75px;
  margin-top: 30px;
  position: relative;
  z-index: 9;
  padding: 15px 30px 15px 40px;
  min-height: 112px;
}

.logo:before {
  content: " ";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 30px 30px;
  border-color: transparent transparent #e5e5e5 transparent;
  z-index: 1;
  position: absolute;
  left: 0;
  top: -30px;
}

.logo a:hover,
.logo a:active,
.logo a:focus {
  text-decoration: none !important;
  color: #000;
}

.logo a img {
  max-width: 120px;
  top: 0px;
}

.logo a img.orzel {
  top: 100px;
  max-width: 110px;
  left: 30px;
}

.logo a img.godloRP {
  max-height: 95px;
  left: 50px;
}

.logo h1 {
  font-size: 1.4em;
  font-weight: 500;
  padding-left: 140px;
  color: #00519e;
  font-family: "Georgia";
  margin-bottom: 20px;
}

.logo a:hover h1 {
  color: #000;
}

.logo span {
  font-size: 1.1em;
  font-weight: 300;
  padding-left: 140px;
  color: #666;
  display: block;
  font-style: italic;
  position: relative;
  bottom: -5px;
  font-family: "Georgia";
}

.logo .header-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 20px;
}

@media (max-width: 991px) {
  html div .logo .top {
    flex-wrap: wrap;
  }

  html .logo .top img {
    flex-basis: calc(50% - 5px);
    object-fit: contain;
    object-position: center;
  }

  html .logo .top a {
    flex-basis: 100%;
  }
}

.slider {
  margin-left: -15px;
  margin-right: -15px;
  position: relative;
  z-index: 8;
}

.slider,
.carousel-inner,
.carousel-inner .item,
.carousel-inner .item img {
  height: 300px;
}

.carousel-inner .item {
  background-size: cover;
}

.event-page .main-image {
  display: block;
  max-width: 100%;
  margin: 0 auto 30px;
  min-width: 100%;
}

.bottom-menu .menu li a span {
  font-size: 0.9em;
}

.page-footer img {
  max-width: 100%;
}

.page-footer iframe {
  width: 100%;
  height: 200px;
  border: 0;
}

.page-footer .lastline {
  border-top: 1px solid #313848;
  margin-top: 30px;
  padding: 10px 15px 0px 15px;
  line-height: 30px;
  color: #999;
  font-size: 13px;
}

.page-footer .lastline img {
  max-height: 24px;
}

.page-footer .footer-accessibility {
  margin-bottom: 20px;
  margin-top: 25px;
}

.calendar-event {
  border-bottom: 1px solid #f0f0f0;
  padding: 10px 0 10px 70px;
  background: url("assets/images/calendar.png") left 0 top 5px no-repeat;
}

.calendar-event h4 {
  color: #00519e;
  font-size: 1.4em;
  font-weight: 300;
  margin: 0;
  position: relative;
  display: inline;
}

.calendar-event p {
  color: #999;
}

.calendar-event .date {
  font-size: 1.3em;
}

@media (max-width: 540px) {
  .news .news-image-a {
    position: relative;
    height: 0px;
    width: 100%;
    padding-top: 75%;
  }

  .news {
    height: auto;
    margin: 10px 0;
  }

  .news .news-content {
    width: 100%;
    margin: 0;
    float: none;
    display: block;
  }

  .news .news-image {
    width: 100%;
    float: none;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
  }
}

@media (max-width: 768px) {
  .logo span {
    font-size: 1.0em;
  }

  .navbar-main {
    margin: 0 -15px;
  }

  .navbar-main .navbar-nav::before {
    display: none;
  }

  .page-footer .mapa span {
    top: 30%;
  }

  .page-footer .mapa img {
    max-height: 125px !important;
    margin-right: 0;
    max-width: 100%;
  }

  .single-article {
    word-wrap: break-word;
  }

  .logo a img.orzel {}

  .event:before {
    display: none;
  }

  .navbar-brand {
    position: initial;
    display: block;
    float: initial;
    width: 137px;
    height: 125px;
    margin: 20px auto 0;
  }

  .lang-menu {
    position: initial;
    text-align: center;
  }

  .emblem {
    display: none;
  }

  .search {
    float: initial !important;
    text-align: center;
  }

  .border-bottom {
    border: none;
  }

  .navbar-main .navbar-nav li a {
    padding: 7px;
    height: 42px;
  }

  .navbar-main .navbar-nav {
    margin: 0;
  }

  .navbar-toggle {
    float: none;
    margin: 0 auto 30px auto;
    display: block;
  }

  .navbar-toggle span.inline {
    display: inline-block;
    font-size: 1.3em;
    color: #00519e;
  }

  .navbar-toggle span.inline:first-of-type {
    padding-right: 10px;
  }

  .navbar-main .navbar-nav li a:after {
    display: none;
  }

  .event-box .item {
    display: block;
    margin: 30px auto;
  }

  h1 {
    text-align: center !important;
  }

  h2 {
    margin: 20px 0;
    padding: 0 10px;
    width: 100%;
  }

  .navbar-toggle {
    border-color: rgba(50, 49, 131, 1);
  }

  .navbar-toggle .icon-bar {
    background: rgba(50, 49, 131, 1);
  }

  .page-header {
    margin: 0;
  }

  .event {
    text-align: center;
    padding: 15px 0;
  }

  .event .date {
    margin-right: 0;
  }

  h3 {
    text-align: center;
    margin: 0;
    padding: 0;
  }

  .bottom-menu .menu li {
    width: 49%;
    margin: 0;
  }

  .subpage h2 {
    padding: 0;
    text-align: center;
    width: 100%;
  }

  .subpage h2.pull-right {
    margin-right: 0;
  }

  .inter,
  .slider {
    display: none;
  }

  .carousel-caption {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
  }

  .event-page .main-image {
    width: 100%;
  }

  #gallery-1 .gallery-item {
    width: 100% !important;
  }

  .page-content img {
    width: auto;
    height: auto;
  }

  .social-menu,
  .left-menu {
    padding: 5px;
  }

  .navbar-nav>li>.dropdown-menu {
    display: none !important;
  }

  .navbar-main .navbar-collapse {
    padding: 0;
  }

  .navbar-collapse {
    max-height: none;
    height: auto;
  }

  .navbar-collapse.ing {
    overflow: hidden;
  }
}

@media (max-width: 600px) {

  .logo h1,
  .logo span {
    padding: 0;
  }

  .logo a {
    display: block;
    width: 100%;
    text-align: center;
  }

  .logo h1 {
    font-weight: 500;
    font-size: 1.3em;
  }

  .logo {
    padding: 20px 10px 20px 10px;
  }

  .logo a img,
  .logo a img.orzel {
    position: relative;
    top: 0;
    left: 0;
    max-width: 40%;
    display: inline-block;
    margin: 4%;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  h2.pull-right {
    margin: 20px 0;
    float: initial !important;
  }

  .emblem {
    display: none;
  }

  .lang-menu,
  .search {
    display: inline-block;
    position: initial;
  }

  .navbar-brand {
    position: initial;
  }

  .page-header .container:before {
    display: none;
  }

  .event-box .item {
    margin: 25px;
  }

  .bottom-menu .menu li {
    width: 60px;
  }

  .bottom-menu .menu li a span {
    font-size: 0.8em;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  h2 {
    width: calc(100% + 83px);
    margin: 56px -30px 42px -53px;
  }

  .subpage h2 {
    width: 441px;
  }

  .bottom-menu .menu li {
    width: 60px;
  }

  .bottom-menu .menu li a span {
    font-size: 0.9em;
  }

  .page-footer .mapa span {
    opacity: 1;
    top: 34%;
  }

  .page-footer .mapa span {
    padding-right: 15px;
  }

  .lang-menu ul {
    display: none;
  }
}

.tile {
  position: relative;
  background-color: #00519e;
  padding-top: 70%;
  width: 100%;
  display: block;
  margin-bottom: 30px;
}

.tile .image {
  background: #324888 center center;
  -webkit-background-size: cover;
   object-fit: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.tile h2 {
  font-size: 1.2em;
  color: #fff;
  font-family: "Roboto", sans-serif;
  background: none;
  line-height: 20px;
  font-weight: 400;
  position: absolute;
  width: calc(100% - 60px);
  bottom: 0;
  margin: 30px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.4);
}

.tile:hover,
.tile:active,
.tile:focus {}

.tile:hover .image,
.tile:active .image,
.tile:focus .image {
  opacity: 0.5;
}

.container.tabs {
  padding-top: 30px;
}

.sidebar {
  padding: 30px 0 0 0;
}

.sidebar h3 {
  background: #00519e;
  font-size: 1.9em;
  color: #fff;
  line-height: 50px;
  width: auto;
  width: calc(100% + 60px);
  padding: 0 20px;
  margin: 30px 0px 30px 0;
  font-weight: 300;
  display: inline-block;
  position: relative;
  z-index: 2;
}

.single .date {
  font-size: 14px;
  color: #555;
  font-style: italic;
}

@media (max-width: 991px) {
  .sidebar h3 {
    width: 100%;
    margin: 0 0 30px 0;
  }
}

@media (min-width: 991px) {
  .sidebar h3:before {
    content: " ";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 30px 0 0 30px;
    border-color: transparent transparent transparent #023a6b;
    z-index: 1;
    position: absolute;
    right: 0;
    top: -30px;
  }
}

.sidebar ul {
  padding: 0;
  list-style: none;
  margin: 0px 0 0;
}

.sidebar ul li {
  margin: 5px;
  padding: 0;
  border-bottom: 1px solid #ddd;
}

.sidebar ul.instagram-pics li {
  margin: 0;
  border: none;
}

.sidebar ul li a {
  position: relative;
  display: block;
  padding: 10px 15px;
  font-size: 15px;
}

.sidebar ul li a:hover {
  text-decoration: none;
  background-color: #eeeeee;
}

.events {
  padding-left: 30px;
  padding-right: 30px;
}

.events .menu {
  padding: 0;
  list-style: none;
}

.events .menu li {
  margin: 5px;
  padding-bottom: 10px;
}

.events .menu li {
  margin: 0 !important;
  padding: 0;
  border-bottom: 1px solid #ddd;
}

.events .menu li a {
  position: relative;
  display: block;
  padding: 10px 15px;
  font-size: 15px;
}

.events .menu li a:hover {
  text-decoration: none;
  background-color: #eeeeee;
}

.events .menu li a span {}

.events {
  padding-top: 30px;
}

.events h3 {
  background: #6272ac;
  font-size: 1.9em;
  color: #fff;
  line-height: 50px;
  padding: 0 15px;
  margin: 30px -60px 30px 0px;
  font-weight: 300;
  display: inline-block;
  position: relative;
  z-index: 2;
  width: calc(100% + 61px);
}

.events h3:before {
  content: " ";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 30px 0 0 30px;
  border-color: transparent transparent transparent #6272ac;
  z-index: 1;
  position: absolute;
  right: -0px;
  top: -30px;
}

.lang-menu ul,
.lang-menu li {
  list-style: none;
  margin: 0;
  width: auto;
  height: 100%;
  float: right;
  padding: 0;
}

.lang-menu a {
  height: 100%;
  line-height: 20px;
}

.section-contact {
  font-size: 1.2em;
}

.section-contact .container {
  padding-bottom: 20px;
}

.section-contact form {
  padding: 0;
}

.section-contact form input[type="text"],
.section-contact form input[type="email"],
.section-contact form textarea {
  width: 100%;
  height: 56px;
  -webkit-box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.05) inset;
  -moz-box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.05) inset;
  box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.05) inset;
  border: 1px solid #b1bbc9;
  background: rgba(255, 255, 255, 0.8);
  padding: 0 15px;
  margin-bottom: 25px;
  color: #484848;
}

.section-contact form textarea {
  height: auto;
  font-size: 13px;
  padding: 15px;
}

.section-contact form input[type="text"]:focus,
.section-contact form input[type="text"]:active,
.section-contact form input[type="email"]:focus,
.section-contact form input[type="email"]:active,
.section-contact form textarea:focus,
.section-contact form textarea:active {
  outline: none;
  border-color: #939393;
}

.section-contact .text-right {
  line-height: 56px;
  font-weight: 300;
}

.section-contact form input[type="submit"] {
  width: auto;
  padding: 10px 31px;
  height: 40px;
  background: #00519e;
  border: none;
  font-size: 15px;
  text-align: center;
  line-height: 20px;
  font-weight: 300;
  text-transform: uppercase;
  color: #fff;
}

.section-contact form input[type="submit"]:focus,
.section-contact form input[type="submit"]:hover,
.section-contact form input[type="submit"]:active {
  background-color: #223878;
}

.toplink {
  float: right;
  margin-top: 20px;
  margin-bottom: 20px;
}

.spis a {
  text-transform: capitalize;
  color: #00519e;
  padding-right: 10px;
  margin-right: 10px;
  display: inline-block;
  font-size: 17px;
  font-weight: 300;
  border-right: 5px solid #ddd;
}

.spis a:hover {
  text-decoration: underline;
}

@media (max-width: 991px) {

  .af-menus .social-menu,
  .af-menus .left-menu {
    word-spacing: 0 !important;
  }

  .section-contact .text-right,
  .section-contact .text p,
  .section-contact .text h1,
  .section-contact .g-recaptcha,
  .section-contact .col-md-8 {
    text-align: center;
  }

  .section-contact .g-recaptcha,
  .section-contact .g-recaptcha * {
    display: inline-block;
    margin: 0 auto;
    text-align: center;
  }

  .section-contact .g-recaptcha {
    margin-bottom: 25px;
  }

  .page-footer .mapa {
    padding-top: 1.5rem;
  }

  .page-footer .mapa img {
    max-height: 200px;
  }

  .page-footer h3 {
    font-size: 16px;
  }

  .page-footer .mapa span {
    opacity: 1 !important;
  }
}

.textwidget img {
  max-width: 45%;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  margin: 2%;
  object-fit: contain;
}

.textwidget img:hover {
  transform: scale(1.1, 1.1);
  -webkit-transform: scale(1.1, 1.1);
  -moz-transform: scale(1.1, 1.1);
  -o-transform: scale(1.1, 1.1);
  -ms-transform: scale(1.1, 1.1);
}

.instagram-pics {
  list-style: none;
  width: 100%;
  margin: 0 -10px 0 -10px;
  position: relative;
  padding: 20px 0 60px 0;
}

.instagram-pics li {
  width: 50%;
  float: left;
  text-align: left;
  padding: 10px;
}

.instagram-pics li a img {
  max-width: 100%;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.instagram-pics li a img:hover {
  transform: scale(1.1, 1.1);
  -webkit-transform: scale(1.1, 1.1);
  -moz-transform: scale(1.1, 1.1);
  -o-transform: scale(1.1, 1.1);
  -ms-transform: scale(1.1, 1.1);
}

.instagram-pics:after {
  clear: both;
  display: block;
  content: " ";
}

.events-inner {
  max-height: 308px;
  overflow-y: auto;
}

.single-article {
  position: relative;
  padding-right: 0px;
  font-size: 1.2em;
  padding-bottom: 50px;
}

.single-article h2,
.ribbon h2 {
  background: #00519e;
  font-size: 1.9em;
  color: #fff;
  line-height: 50px;
  width: calc(100% + 60px);
  padding: 0 15px;
  margin: 30px 0px 30px 0;
  font-weight: 300;
  display: block;
  position: relative;
  z-index: 2;
}

.single-article h2:before,
.ribbon h2:before {
  content: " ";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 30px 0 0 30px;
  border-color: transparent transparent transparent #023a6b;
  z-index: 1;
  position: absolute;
  right: 0;
  top: -30px;
}

.single-article .flexible-content h2 {
  background: unset;
  font-size: 2.2em;
  color: #00519e;
}

.flexible-content h2:before {
  all: unset;
}

.single-article h2:first-of-type {
  /* margin-top: 60px; */
}

.col-md-12 .single-article {
  padding: 0 15px;
}

.nav-pills {
  margin: 0;
  padding-left: 15px;
}

.searchform .screen-reader-text {
  display: none;
}

.nav-pills {
  margin-top: 0px;
}

.nav-pills li:first-of-type {
  margin-top: 60px;
}

.nav-pills li:last-of-type {
  margin-bottom: 30px;
}

/* .nav-pills .back {
  display: none !important;
} */

.alignleft {
  float: left;
  margin: 0px 30px 30px 0;
}

.alignright {
  float: right;
  margin: 0px 0 30px 30px;
}

.aligncenter {
  clear: both;
  display: block;
  margin: 7px auto;
}

.single-article p {
  font-size: 1.1em;
  font-weight: 300;
  line-height: 1.6em;
  margin: 15px 0;
}

.single-article hr {
  border: none;
  width: 100%;
  height: 1px;
  margin: 50px 0;
  background: #bbb;
}

.single-article ul,
.single-article ol {
  font-size: 1em;
  font-weight: 300;
  line-height: 25px;
  padding: 0 0 0 40px;
  margin: 15px 0;
}

@media (max-width: 1440px) {
  .page-footer img {
    max-width: 200px;
  }

  .page-footer .ribon {
    padding: 0 30px 30px 30px;
  }

  .search {
    margin-bottom: 30px;
  }
}

@media (max-width: 1024px) {
  .page-footer img {
    max-width: 800px;
  }

  .page-footer .ribon {
    padding: 0 20px 20px 20px;
  }
}

@media (max-width: 991px) {
  .logo h1 {
    text-align: center !important;
  }

  .page-footer .ribon {
    display: none;
  }

  .page-footer .contact {
    padding: 0 15px;
  }

  .page-footer {
    text-align: center !important;
  }

  .logo,
  .events h3 {
    margin: 0;
    width: 100%;
  }

  .bottom-menu h2.main-title {
    display: block;
    width: calc(100% + 30px);
    margin: 0 -15px 0 -15px;
    position: relative;
    padding: 0 15px;
  }

  .lang-menu ul {
    display: none;
  }

  .page-footer .text-right {
    text-align: center;
  }

  .bottom-menu .menu {
    padding: 0;
  }

  .logo:before,
  .events h3:before,
  .bottom-menu h2.main-title:before {
    display: none;
  }

  .bottom-menu .menu .slick-arrow {
    display: none !important;
  }

  .page-footer .container {
    padding: 0px 15px;
  }

  .single-article h2 {
    width: 100%;
  }

  .single-article h2:before {
    display: none;
  }
}

.single-article p {
  min-height: 30px;
}

.single-article p:after {
  clear: both;
  display: block;
}

img {
  max-width: 100%;
}

@media (min-width: 768px) and (max-width: 1200px) {
  .navbar-nav>li {
    float: none;
    display: inline-block;
  }

  .navbar-main .navbar-nav {
    text-align: center;
  }
}

@media (min-width: 992px) and (max-width: 1599px) {
  .carousel-indicators {
    left: 80px;
  }
}

.partners .container {
  background: #fff;
  padding: 15px 15px;
}

.partners-slider {
  padding: 0 10px;
  margin: 0;
}

.partners-slider li {
  display: inline-block !important;
  vertical-align: middle;
  float: initial;
  padding: 0 10px;
}

.partners-slider li a {
  display: block;
}

.partners-slider li a img {
  margin: 0 auto;
  max-height: 100px;
}

@media (min-width: 768px) {
  .navbar-toggle {
    display: none !important;
    opacity: 0;
    visibility: hidden;
  }
}

@media (min-width: 768px) and (max-width: 1600px) {
  .page-footer h3 {
    margin-top: 0;
  }
}

@media (min-width: 992px) and (max-width: 1600px) {
  .logo h1 {
    margin-bottom: 0;
  }

  .logo h1 {
    font-size: 1.3em;
  }
}

.spis {
  text-align: center;
}

.ptitle {
  color: #666;
  font-weight: 900;
  text-align: center;
  border-bottom: 1px solid #ddd;
  line-height: 0px;
  margin-bottom: 20px;
}

.ptitle span {
  background: #fff;
  display: inline-block;
  padding: 5px 15px;
  font-size: 16px;
  line-height: 20px;
  position: relative;
  top: 15px;
}

@media (min-width: 1200px) and (max-width: 1440px) {
  .logo {
    padding: 15px 20px;
  }

  .logo span {
    bottom: -15px;
  }
}

@media (min-width: 991px) and (max-width: 1200px) {
  .logo {
    padding: 15px 20px;
  }

  .logo span {
    bottom: -12px;
  }
}

@media (max-width: 991px) {
  .page-footer .lastline {
    padding-top: 80px;
  }

  .af-menus {
    position: absolute;
    height: 0px;
    padding: 0;
    /* margin: 0 auto; */
    bottom: 120px;
  }
}

@media (max-width: 768px) {
  .navbar-toggle {}

  .page-footer .lastline {
    padding-top: 80px;
  }

  .af-menus {
    height: 0px;

    padding: 0;

    margin: 0 auto;
    bottom: 90px;
  }

  .logo a img.orzel {
    top: 120px;
    max-width: 50px;
  }
}

@media (max-width: 600px) {
  .logo a img.orzel {
    top: 0px;
  }
}

@media (max-width: 373px) {
  .page-footer .lastline {
    padding-top: 130px;
  }

  .af-menus {
    position: absolute;
    height: 0px;

    padding: 0;
    /* margin: 0 auto; */
    bottom: 150px;
  }
}

p {}

.medal_uczelni img {
  height: 50px;
  margin: 0px 10px 0px 0px;
}

.textwidget-img {
  max-width: 100% !important;
  width: 100% !important;
}

#kdn-section {
  margin-top: 10px;
  margin-bottom: 20px;
}

.skip-content {
  position: absolute;
  left: -10000px;
  height: auto;
  width: auto;
  display: block;
  font-size: 16px;
  font-weight: 600;
  padding: 15px 23px 14px;
  background: #f0f0f1;
  color: #00519e;
  z-index: 100000;
  line-height: normal;
  text-decoration: none;
  overflow: hidden;
}

.skip-content:focus {
  opacity: 1;
  left: 0;
  width: auto;
  height: auto;
  z-index: 99999;
}

body:not(.user-is-tabbing) button:focus,
body:not(.user-is-tabbing) input:focus,
body:not(.user-is-tabbing) select:focus,
body:not(.user-is-tabbing) textarea:focus {
  outline: none !important;
}

.menu-image.menu-image-title-after {
  padding-right: 10px;
}

.menu-image.menu-image-title-after img{
  object-fit: cover;
}

#cookie-notice,
#cookie-notice .cn-button:not(.cn-button-custom) {
  font-size: 16px !important;
  transition: ease-in-out .3s;
}

#cookie-notice,
#cookie-notice .cn-button:not(.cn-button-custom):hover,
#cookie-notice,
#cookie-notice .cn-button:not(.cn-button-custom):focus {
  transition: ease-in-out .3s;
  box-shadow: 0 0.5em 0.5em -0.4em #00519e;;
  transform: translateY(-0.25em);
  outline: unset !important;
  opacity: 1;
}


@media (max-width: 768px) {
  .social-menu {
    justify-content: center;
  }
}

.toplink {
  display: none;
}
.image-link{
  background-color: #ffffff;
  padding: 0 0 0 0;
  width: 100%;
  margin-bottom: 10px;
}
.i-link{
  height: 55px;
  display: flex;
  align-items: end;
  justify-content: end;
}