.flex { display: flex; flex-wrap: wrap; margin: 0 -15px; }

.f-auto, .f-full, .f-12, .f-sm-auto, .f-sm-full { padding-left: 15px !important; padding-right: 15px !important; }
.f-auto { flex: 0 0 auto !important; width: auto !important; max-width: none !important; }
.f-full { flex: 1 1 !important; width: auto !important; max-width: none !important; }
.f-12 { flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; }

.no-gutters { margin: 0 !important }
.no-gutters * { padding-left: 0 !important; padding-right: 0 !important }

.align-items-center { align-items: center !important; }

.justify-content-end { justify-content: flex-end !important; }
.justify-content-around { justify-content: space-around !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-center { justify-content: center !important; }

.d-none { display: none !important; }

.pr-0, .px-0 { padding-right: 0 !important; }
.pl-0, .px-0 { padding-left: 0 !important; }
.px-3 { padding-left: 15px !important; padding-right: 15px !important; }
.pt-0 { padding-top: 0 !important; }
.pl-4 { padding-left: 24px !important; }

.mx-0 { margin: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.ml-auto { margin-left: auto !important; }
.mr-3 { margin-right: 15px !important; }
.ml-3 { margin-left: 15px !important; }
.mr-4 { margin-right: 24px !important; }
.ml-4 { margin-left: 24px !important; }
.mt-0 { margin-top: 0 !important;  }
.mt-3 { margin-top: 15px !important;  }

body {
  overflow-x: hidden;
}

.navbar-default .navbar-nav > li > a {
  color: #0065a9;
}

.hidden-btn {
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
}
*:focus-visible {
  outline: 2px solid black !important;
}
.fs-link { 
  cursor: pointer;
}

.top-link .hidden-btn.active {
  display: inline-block;
  padding-bottom: 4px;
  color: #4c4c4c;
  border-bottom: 1px solid #000;
  box-sizing: content-box;
}
header .header-top .b-a1.active,
header .header-top .b-a2.active,
header .header-top .b-a3.active {
  color: #4c4c4c;
}

header .header-bottom .t-logo,
header .header-bottom .t-logo2 {
  display: inline-block;
  height: 42px;
  border: 0;
}
header .header-bottom { 
  padding: 20px 0; 
}
header .header-bottom .dropdown,
.mobile-menu-container li {
  clear: both;
}

.search-form {
  position: relative;
  display: flex;
}
.search-form input {
  width: 100% !important;
}
.search-form a {
  position: absolute;
  right: -2px;
}

.rsNavItem.rsThumb {
  padding-right: 15px;
}
.rsContainer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav.navbar-nav {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.breadcrumbs {
  margin-bottom: 15px;
  color: #fff;
}

.breadcrumbs a {
  color: #fff;
}

.news-link:hover {
  text-decoration: none;
}
.news-link:hover .news-title {
  text-decoration: underline;
}

.page-content .regular-content p {
  font-size: 16px;
  margin-bottom: 1em;
}

.page-content .regular-content li {
  font-size: 16px;
}

* {
  line-height: 1.4em !important;
}

.breadcrumbs,
.page-content .bar-content .title { padding-left: 0 !important; }

.main-content .left-content .main-news-box .bar {
  position: relative;
  z-index: 999;
  border-bottom: 1px solid #fff;
}

.main-content .left-content .main-close-news-box .bar .button-show-add,
.main-content .left-content .main-close-news-box .bar .button-show,
.main-content .left-content .main-news-box .bar .button-show {
  display: none;
}

.regular-content img[style*="float"] {
  margin-right: 15px !important;
  margin-bottom: 5px !important;
}

footer .pre-footer {
  background: #0065a9 url('https://investin.elk.pl/invest/img/pre-footer-bg-2.jpg') no-repeat center center;
  background-size: cover;
}

.contact-content .box span:not([class]),
.every-news-content .news-title,
.main-news-box .boxes .title,
.every-news-content .title,
.small-gallery .title {
  color: #0065a9 !important;
}
.form-group .send-message,
.pagination .active,
.main-news-box .bar,
.rsNavSelected,
.rsNavSelected *,
.rsABlock.sampleBlock,
.main-news-box .boxes .button-small,
.every-news-content .button-small {
  background-color: #0065a9 !important;
}


.form-group .send-message:hover {
  color: #0065a9 !important;
  background-color: #fff !important;
}

.main-close-news-box .boxes .title {
  color: #667A00 !important;
}
.main-close-news-box .boxes .button-small, 
.main-close-news-box .bar,
.main-close-news-box .bar a:hover {
  background-color: #667A00 !important;
}
.main-close-news-box .bar * {
  background-color: #819b00 !important;
}


.main-content .left-content .main-close-news-box .boxes .news-box .title,
.main-content .left-content .main-news-box .boxes .news-box .title {
  display: block;
  height: auto;
  padding-bottom: 15px;
}

.main-content .left-content .main-news-box .bar .button-show:hover {
  background-color: #0065a9;
}

.news-link .photo img,
.boxes .rs-img {
  width: 100%;
  height: 225px;
  object-fit: contain;
}

.left-content .date, .left-content .info-box,
.left-content .date, .left-content .info-box * {
  color: #757575 !important;
}

.calendar-box .calendar-month-header td {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 47px;
}

#calendar-windows-click {
  border-left: 2px solid #fff;
}

#calendar-windows-click,
#calendar-windows-click .title,
.calendar-dow td[id].event, 
.calendar-buttons a {
  color: #fff !important;
  background-color: #6B7F06 !important;
}

.calendar-dow td[id]:not(.event) * {
  color: #6B7F06 !important;
} 

.calendar-dow td[id]:not(.event) .day.active {
  background-color: #97ad18 !important;
  color: #fff !important;
}

.rsDefault .rsTmb p {
	font-size: 18px;
	margin: 0;
	padding: 0;
	line-height: 20px;
	color: #0065a9;
 font-family: 'museo_sans700', sans-serif;
}

.rsNavSelected p {
  color: #fff !important;
}

.explorer-box legend {
  padding: 0;
  margin: 0;
  border: 0;
  color: #fff;
}

.page-content .bar-content {
  background: #0065a9 url('https://investin.elk.pl/invest/img/pre-footer-bg-2.jpg') no-repeat center center !important;
}

.right-content .category-box {
  background: #0065a9 !important;
}

u {
  text-decoration: none;
  font-weight: 700;
}

.right-content .category-box .cat-links a {
  padding: 5px 10px 5px 15px  !important;
}

@media (min-width: 450px) {
  .news-link .photo img,
  .boxes .rs-img {
    height: 260px;
  }
}

@media (min-width: 600px) {
  .boxes .rs-img,
  .news-link .photo img {
    height: 300px;
  }
}

@media (min-width: 768px) {
  .f-sm-auto { flex: 0 0 auto !important; width: auto !important; max-width: none !important; }
  .f-sm-full { flex: 1 1 !important; width: auto !important; max-width: none !important; }

  .d-sm-block { display: block !important; }

  .pr-sm-5 { padding-right: 32px !important; }
  .mt-sm-0 { margin-top: 0 !important;  }

  .justify-content-sm-between { justify-content: space-between !important; }

  header .header-bottom .t-logo,
  header .header-bottom .t-logo2 {
    height: 60px;
  }

  .boxes .rs-img {
    height: 136px;
  }

  .news-link .photo img {
    height: 200px;
  }

  .main-content .left-content .main-close-news-box .bar .button-show-add,
  .main-content .left-content .main-close-news-box .bar .button-show,
  .main-content .left-content .main-news-box .bar .button-show {
    bottom: 0;
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 14px;
  }

  .main-content .left-content .main-close-news-box .bar .button-show-add {
    right: 149px;
  }
}

.quick-link-box .quick-link {
  background-color: #0A598A !important;
}

.quick-link-box .quick-link .text, 
.quick-link-box .quick-link .title {
  background-color: transparent !important;
}

u {
  text-decoration: none;
}

@media (min-width: 992px) {
  .pr-md-3 { padding-right: 15px !important; }
  .pr-md-4 { padding-right: 24px !important; }
  .pr-md-5 { padding-right: 32px !important; }
  .mr-md-3 { margin-right: 15px !important; }

  .d-md-none { display: none !important; }

  header .header-bottom .t-logo,
  header .header-bottom .t-logo2 {
    height: 110px;
  }

  .page-content .bar-content {
    background: #0065a9 url('https://investin.elk.pl/invest/img/pre-footer-bg-2.jpg') no-repeat center 46% !important;
  }

  
  .small-text .page-content .regular-content * {
    font-size: 14px !important;
  }
  .small-text .page-content .title.c-page {
    font-size: 30px !important;
  }
  .small-text .page-content .news-lead {
    font-size: 22px !important;
  }

  .medium-text .page-content .regular-content * {
    font-size: 16px !important;
  }

  .large-text .regular-content * {
    font-size: 20px !important;
  }

  .regular-content img[style*="float"] {
    margin-bottom: 15px !important;
  }
}

@media (min-width: 1200px) {
  .d-lg-block { display: block !important; }
}

@media (min-width: 1230px) {
  .container { width: 100% !important; max-width: 1200px !important }
}

@media (min-width: 1350px) {
  header .header-top .container { 
    padding: 0 30px;
  }
  
  .container { max-width: 1300px !important }
}

@media (max-width: 1199px) {
  header .header-top * {
    border-right: none !important;
    border-left: none !important;
  }
}

@media (max-width: 767px) {
  .page-content .title.c-page {
    font-size: 24px;
  }

  .page-content .news-lead {
    font-size: 18px;
  }

  .pre-footer {
    padding-right: 15px !important;
    padding-top: 0 !important;
  }

  .regular-content img[style*="float"] + br {
    display: none;
  }
}


.every-news-content ul,
.every-news-content ol {
  padding-left: 10px;
  margin-left: 15px;
}

.every-news-content ol {
  list-style: decimal;
}