/* Single & Page */

body, #page { min-height: 100vh; display: flex; flex-direction: column; }
.wrapper, .wrapper-navbar { flex: 0 0 auto; }
#wrapper-footer { flex: 0 0 auto; margin-top: auto; }

.single #primary, .page #primary { margin: 0 auto; }
.wrapper { padding-top: 0; }

.site-main { margin: 25px 0 30px 0; width: 100%; }
.single .site-main { margin-top: 20px; }
.single .site-main h3 { letter-spacing: 0.025em; }

.entry-header .entry-meta { font-size: 0.8em; font-weight: bold; color: #9D9EA0; }
.entry-content { text-align: justify; }

.single article.post .entry-header { margin-bottom: 10px; }
.single article.post .entry-header .entry-title { margin-bottom: 5px; }
.single article.post .entry-content { margin-top: 10px; }

.entry-content p { margin-bottom: 1.3rem; }

.entry-content > ul { padding-left: 20px; margin-bottom: 1.3rem; list-style-image: url('../img/bullet-small.png'); }
.entry-content ul  li > ul { padding-left: 25px; margin: 13px 0 13px 0; list-style-type: none; list-style-image: none; }
.entry-content ul  li > ul li::before { content: '\2022\2009\2009'; }
.entry-content ul li { margin: 10px 0 0 0; }

article.post > img { margin-top: 10px; margin-bottom: 10px; }

.btn-pentahelix { display: inline-block; margin-top: 20px; padding: 10px; min-width: 153px; width: auto; font-size: 0.9em; font-weight: bold; color: #A7A9AC; text-align: center; border: 1px solid #A7A9AC; border-radius: 4px; background: none; }
.btn-pentahelix:hover, .btn-pentahelix:active, .btn-pentahelix:focus { text-decoration: none; color: #413F41; border-color: #413F41; background: none; }

/* About Pages */

.about-main  { margin: 25px 0 30px 0; width: 100%; }
.nav-about ul { padding: 0 30px 0 0; }
.nav-about li { list-style: none; border-top: 1px solid #9D9EA0; }
.nav-about li a { display: flex; padding: 20px; color: #9D9EA0; font-size: 0.95em; font-weight: bold; text-transform: uppercase; }
.nav-about li a:hover, .nav-about li.current-menu-item a { color: #1FBED0; text-decoration: none; }

.print { float: right; color: #9D9EA0; padding-top: 3px; }
.print::before {
  content: '';
  background-image: url('../img/print.png');
  background-repeat: no-repeat;
  background-size: contain;
  display: inline-block;
  width: 19px;
  height: 18px;
  position: relative;
  left: -5px;
  top: 3px;
}
.print:hover { color: #1FBED0; text-decoration: none; }
.print:hover:::before { background-image: url('../img/print-h.png'); }

/* Pilots */

.pilots-header, .pilot-header { display: flex; justify-content: space-between; align-items: center; font-size: 19px; font-weight: bold; }
.pilots-header { color: #9D9EA0; text-transform: uppercase; padding-bottom: 15px; margin-top: 23px; }
.pilot-header { flex-grow: 1; padding: 20px 0 20px 0; }

.pilots-data { border-bottom: 1px solid #9D9EA0; margin-bottom: 10px; }

article.pilot > span.pilot-toggle { display: flex; color: #414042; border-top: 1px solid #9D9EA0; -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none; user-select: none; }
article.pilot > span.pilot-toggle-clickable { cursor: pointer; }
article.pilot > span.pilot-toggle:hover { color: #1FBED0; border-color: #1FBED0; }
article.pilot > span.pilot-toggle.active { color: #1FBED0; border-color: #1FBED0; }

article.pilot a.p-small { font-size: 0.8em; font-weight: normal; color: #1FBED0; }
article.pilot a.p-small:hover { color: #91E4EE; text-decoration: none; }

.ph-cities, .ph-city { flex: 0 0 35%; }
.ph-partners, .ph-partner { flex: 1 1 auto; }
.ph-read-more { flex-shrink: 1; padding-right: 15px; font-size: 0.7em; font-weight: normal; color: #878787; }
article.pilot > span.pilot-toggle:hover .ph-read-more { color: #1FBED0; }
.ph-city { line-height: 0.95em; }

.p-content-hidden { display: none; }
.pilot-content-wrap > img { margin-bottom: 25px; }

@media screen and (max-width: 991px) {
    .ph-cities, .ph-city { flex: 0 0 40%; }
    .pilots-header, .pilot-header { font-size: 17px; }
}
@media screen and (max-width: 767px) {
    .ph-partners, .ph-partner { display: none; }
    .ph-cities, .ph-city { flex: 1 0 auto; }
}

/* News & Newsletters */

.blog .news-main  { padding-top: 0; margin-top: 25px; margin-bottom: 30px; border-top: none; }
.blog .news-main.not-first { border-bottom: 1px solid #9d9ea0; }
.blog .news-main article { margin-bottom: 11px; }
.single .site-main article .entry-header { display: table; margin: auto; }

#pagination { margin: 0 auto 30px auto; text-align: right; image-rendering: crisp-edges; }
#pagination .pagination { display: flex; justify-content: space-between; }
#pagination .nav-links {  }
#pagination .nav-links  .page-numbers {
  display: inline-block;
  text-align: center;
  width: 35px;
  line-height: 35px;
  border-radius: 50%;
  color: #9D9EA0;
}
#pagination .nav-links  .page-numbers:hover {
  color: #413F41;
  text-decoration: none;
}
#pagination .nav-links  .page-numbers.current {
  background: #1FBED0;
  color: #FFFFFF;
}
#pagination .nav-links  .page-numbers.current, #pagination .nav-links  .page-numbers.dots {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
#pagination .nav-links .prev, #pagination .nav-links .next {
  color: transparent;
  border: 1px solid #A7A9AC;
  border-radius: 2px;
  width: 40px;
  line-height: 40px;
}
#pagination .nav-links .prev {
  margin-right: 10px;
  background-image: url('../img/prev.png');
  background-repeat: no-repeat;
  background-size: contain;
}
#pagination .nav-links .next {
  margin-left: 10px;
  background-image: url('../img/next.png');
  background-repeat: no-repeat;
  background-size: contain;
}
#pagination .nav-links .prev:hover, #pagination .nav-links .next:hover {
  color: transparent;
  border-color: #413F41;
  text-decoration: none;
}
#pagination .nav-links .prev:hover {
  background-image: url('../img/prev-h.png');
}
#pagination .nav-links .next:hover {
  background-image: url('../img/next-h.png');
}

@media screen and (max-width: 410px) {
    #pagination .nav-links  .page-numbers { margin: 0; font-size: 0.9em; width: 20px; line-height: 20px; }
}

.newsletters-main  { margin-top: 25px; margin-bottom: 10px; }
.newsletters-main .newsletter { padding-left: 10px; padding-right: 10px; margin-bottom: 20px; }
.newsletters-main .newsletter .image { height: 280px; background-position: center center; background-size: cover; }
.newsletters-main .newsletter .image img { width: 100%; height: 100%; object-fit: cover; }
.newsletters-main .newsletter h3 { margin: 10px 0 0 0; font-size: 1em; color: #363636; }
.newsletters-main .newsletter .file-download:hover h3 { color: #1FBED0; }

/* Library */

.library-main { margin-bottom: 10px; }
.library-main h2  { margin-bottom: 15px; }
.category-block  { margin-bottom: 20px; }

.file-block { border: 1px solid #CBCBCB; }
.file-block-inner { box-sizing: border-box; display: flex; align-items: center; padding: 15px; border: 1px solid transparent; }
.file-block .f-download-icon { flex: 0 0 35px; height: 35px; background-size: contain; background-repeat: no-repeat; }
.file-block .f-download-icon.active { background-image: url('../img/download.png'); }
.file-block .f-download-icon.inactive { background-image: url('../img/download-i.png'); }
.file-block .f-title-date { font-weight:bold; line-height: 1.1em; color: #413F41; margin-left: 10px; }
.file-block .f-small { font-size: 0.8em; font-weight: normal; color: #878787; }
.file-block .f-right-small { font-size: 0.8em; font-weight: normal; color: #878787; margin-left: auto; text-align: right; }

.file-download:hover { text-decoration: none; }
.file-download:hover .file-block, .file-download:hover .file-block-inner { border: 1px solid #25BED0; }
.file-download:hover .f-title-date { color: #25BED0; }
.file-download:hover .f-right-small { color: #25BED0; }

/* Contacts */

#contacts-map { width: 100%; }

.contacts-main { margin-top: 30px; border-bottom: 1px solid #9d9ea0; }
.contacts-main .contact { display: flex; justify-content: space-between; border-top: 1px solid #9d9ea0; }

.contact .c-logo { flex: 0 0 26%; height: 180px; padding: 30px 50px 30px 0; }
.contact .c-logo img { width: auto; height: 100%; }
.contact .c-image { flex: 0 0 29%; height: 305px; margin: 30px 0 30px 0; background-position: center center; background-size: cover; }
.contact .c-image img { width: 100%; height: 100%; object-fit: cover; }
.contact .c-info { flex: 0 0 45%; padding: 25px 0 30px 50px; }
.contact .c-info .c-title { margin-bottom: 20px; }
.contact .c-info .c-title h3 { margin: 0; }
.contact .c-info .c-address { margin-bottom: 16px; }
.contact .c-info .c-address a:visited { color: #0455A4; }
.contact .c-info .c-address a:visited:hover { color: #0455A4; }
.contact .c-info .c-address a:hover { color: #1FBED0; }
.contact .c-info .c-contact { margin-bottom: 10px; }
.c-contact .c-contact-header { font-size: 0.9em; font-weight:bold; color: #878787; }
.c-contact .c-contact-phone, .c-contact .c-contact-email { padding-left: 30px; }
.c-contact .c-contact-phone::before { content: url('../img/phone.png'); position: absolute; margin-left: -27px; margin-top: 1px; }
.c-contact .c-contact-email::before { content: url('../img/email.png'); position: absolute; margin-left: -27px; margin-top: 1px; }

@media screen and (max-width: 991px) {
    .contact .c-info .c-title h3 { font-size: 17px; }
}
@media screen and (max-width: 767px) {
    .contact .c-image { display: none; }
    .contact .c-logo { padding-right: 25px; flex-grow: 1; }
    .contact .c-info { padding-left: 25px; flex-grow: 1; }
}
@media screen and (max-width: 340px) {
    .contact .c-logo { display: none; }
    .contact .c-info { padding-left: 0; flex-grow: 1; }
}

/* Gallery */

.rl-gallery-container { margin-left: -10px; margin-right: -10px; }

.mfp-bg { background-color: #A9AAAF; opacity: 0.9; }
.mfp-bottom-bar { margin-top: -40px; }
.mfp-counter { display: none; }
.mfp-figure::after { box-shadow: none; }
.mfp-iframe-holder .mfp-close, .mfp-image-holder .mfp-close {
  position: fixed;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  min-width: 0px;
  padding: 0;
  line-height: 27px;
  font-weight: normal;
  text-align: center;
  border: 1px solid #FFFFFF;
  border-radius: 50%;
  cursor: pointer !important;
}
.mfp-iframe-holder .mfp-close { background: none; }
.mfp-image-holder .mfp-close:hover { color: #413F41; background: #FFFFFF; }
button.mfp-arrow {
  width: 45px;
  height: 45px;
  min-width: 0px;
  margin: 0;
  padding: 0;
  opacity: 1;
}
button.mfp-arrow { background: none; }
button.mfp-arrow::before { content: none; }
button.mfp-arrow:after { content: none; }
button.mfp-arrow:active { margin-top:0; }

.mfp-arrow-left { background: url('../img/left-i.png') !important; left: 5%; }
.mfp-arrow-left:hover { background: url('../img/left-h.png') !important; }
.mfp-arrow-right { background: url('../img/right-i.png') !important; right: 5%; }
.mfp-arrow-right:hover { background: url('../img/right-h.png') !important; }

.rl-gallery-container .rl-basicgrid-gallery .rl-gallery-item {
    width: calc(25% - 22px) !important;
}

/* Overrides & Other */

small { font-size: 12px; }
.navbar .navbar-bottom .navbar-nav a { font-size: 16px; }
.blog article img { width: 36%; }
.blog article .entry-wrap { width: 63%; }
.navbar { height: auto; margin-bottom: 10px; }
.navbar .menu-item-has-children > ul { display: none; }
.advanced-browser-check { background-color: rgba(140, 140, 140, 0.9); }
.social-menu a { font-family: "Open Sans",sans-serif,"icomoon",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; }
.divider { clear: both; }

/* Responsive */

@media screen and (max-width: 1269px) {
    .hr .nav-link small { display: none !important; }
}
@media screen and (max-width: 991px) {
    body { font-size: 14px; }
    p { font-size: 14px; }
    h1 { font-size: 36px; }
    h2 { font-size: 23px; }
    h3 { font-size: 17px; }
    h4 { font-size: 16px; }
    h5 { font-size: 13px; }
    h6 { font-size: 13px; }
    .nav-about ul { padding: 0; }
}
@media screen and (max-width: 767px) {
    h1 { font-size: 28px; }
    .blog article img { width: 100%; }
    .blog article .entry-wrap { width: 100%; }
}

/* Responsive Header */

@media screen and (max-width: 767px) {
    .navbar-top-container { max-width: 100%; }
    .navbar { margin-bottom: 0; }
    .navbar  .navbar-top { height: 60px; }
    .navbar .navbar-top .social-menu { display: inline; }
    .navbar .navbar-top [for="burger"] { float: none; position: absolute; top: 20px; left: 10; margin: 0px; }
    .navbar-brand.custom-logo-link { position: absolute; top: 0; left: 80px; }
    .navbar .navbar-top .social-menu { position: absolute; top: 20px; right: 10px; }
    .navbar .navbar-top .navbar-brand { max-width: 200px; }
    .navbar .menu-item-has-children > ul { display: initial; }
    
    .wpml-ls { position: absolute; top: 26px; right: 80px; }
    
    #left-sidebar.sub-menu { display: none; }
    
    .menu-main-menu-container { border-bottom: 1px solid #9D9EA0; margin-bottom: 20px; }
    #main-menu.navbar-nav li:after, #main-menu.navbar-nav li:before, #main-menu.navbar-nav a:after { content: none; }
    #main-menu.navbar-nav li { border-top: 1px solid #9D9EA0; }
    #main-menu.navbar-nav a { color: #9D9EA0; align-items: flex-start; padding: 0 20px; height: 58px; }
    #main-menu.navbar-nav li.menu-item-has-children > a {  }
    #main-menu.navbar-nav a:hover, #main-menu.navbar-nav li.current-menu-item > a { color: #1FBED0; }
    
    #main-menu.navbar-nav .sub-menu { padding: 0; margin-bottom: 10px; margin-top: -10px; display: flex; flex-direction: column; }
    #main-menu.navbar-nav .sub-menu li { border: none; }
    #main-menu.navbar-nav .sub-menu a { font-size: 0.85em; font-weight: bold; color: #9D9EA0; height: 28px; }
    #main-menu.navbar-nav .sub-menu a:hover { color: #1FBED0 !important; }
    #main-menu.navbar-nav .sub-menu li.current-menu-item a { color: #9D9EA0; }
    #main-menu.navbar-nav .sub-menu li.current-menu-item.current_page_item a { color: #1FBED0 !important; }
}
@media screen and (max-width: 640px) {
    .wpml-ls { position: static; top: 26px; right: 80px; }
}
@media screen and (max-width: 360px) {

}

@media (max-width: 1024px) {
  .contact .c-logo img {
    height: auto;
  }
}

@media(max-width: 767px) {
  .added_post .bottom .horizontal a {
    padding-right: 0;
    text-align: center;
  }

  .added_post .bottom .horizontal a > *{
    position: relative !important;
    display: inline-block;
    vertical-align: middle;
  }
}