/*
Theme Name:     CargoPress Child Theme
Theme URI:      http://www.proteusthemes.com
Description:    Child theme for the CargoPress
Author:         Primoz Cigler
Template:       cargopress-pt
Version:        1.0
*/


/*end admin*/
/*.linkmy {text-decoration: underline;}*/
hr {margin-top: 30px !important;}
b, strong {color: #4a4a4a;}
*[style*="color"] b, *[style*="color"] strong { color: inherit !important; }
a strong { color: inherit; }
.hentry {line-height:1.5;}
.page-template-default .main-title h1, .page-template-page-service .main-title h1, .page-template-default .main-title h3, .page-template-page-service .main-title h3 {color:#ffffff;}
.line_down {border-bottom: 3px dotted #5973a6; width: 100%; padding-bottom: 10px;}
.line_down_up {border-bottom: 3px dotted #5973a6; border-top: 3px dotted #5973a6; width: 100%; padding: 20px 0;}
.line_down_text::after {content: ""; display: block; border-bottom: 2px dotted #1f425d; width: 100%; padding-bottom: 10px;}
.line_down_up_text::before {content: ""; display: block; border-top: 2px dotted #1f425d; width: 100%; padding-top: 10px;}
.line_down_up_text::after {content: ""; display: block; border-bottom: 2px dotted #1f425d; width: 100%; padding-bottom: 10px;}
.page-template-page-service-php [role="main"] a, .linkmy, .page-template-default [role="main"] a {text-decoration: underline;}
.page-template-page-service-php [role="main"] .textwidget h2 {font-size: 26px;}
.page-template-page-service-php [role="main"] p > span[style*="font-size: 24px"] {line-height: 1.2;}
.page-template-page-service-php [role="main"] .textwidget h3, .page-template-page-service-php [role="main"] .textwidget h3  {font-size: 24px;}
.textwidget p, .textwidget li { font-size: 18px !important; color:#000000 !important;  font-family: "Roboto", Helvetica, Arial, sans-serif !important; /*letter-spacing:normal !important; line-height:normal !important;*/}
.textwidget h1, h1.main-title__primary { font-size: 28px; color:#000000; font-weight:900; font-family: "Roboto", Helvetica, Arial, sans-serif !important; /*letter-spacing:normal !important; line-height:normal !important;*/}
.textwidget h2 { font-size: 24px; color:#4a4a4a; font-weight:900; font-family: "Roboto", Helvetica, Arial, sans-serif !important; /*letter-spacing:normal !important; line-height:normal !important;*/}
.textwidget h3 { font-size: 20px; color:#4a4a4a; font-weight:900; font-family: "Roboto", Helvetica, Arial, sans-serif !important; /*letter-spacing:normal !important; line-height:normal !important;*/}
.textwidget h4, .textwidget h5, .textwidget h6 { font-size: 20px; color:#4a4a4a; font-weight:900; font-family: "Roboto", Helvetica, Arial, sans-serif !important; /*letter-spacing:normal !important; line-height:normal !important;*/}
.footer-top .textwidget h6 { color: #ffffff !important; font-size: 21px; margin-top: 0px; margin-bottom: -10px; }
.footer-top__headings {font-family: "Roboto", Helvetica, Arial, sans-serif;}
.page-template-page-service-php [role="main"] .so-widget-sow-image img {width:100%; height:auto;}
/*.wpml-ls-flag {width: 30px; height: 14px;}*/

.widget_pw_icon_box .icon-box .icon-box__title /*.panel-no-style .widget-title > .widget-title__inline*/ {font-size: 20px !important; }
.widget_pw_icon_box .icon-box .icon-box__subtitle, .page-box__content, .textwidget .icon-box-flex .icon-box__subtitle {font-size: 18px !important; }
#menu-main-menu a, #menu-main-menu-russian a, #menu-main-menu-german a {font-size: 18px !important; }
.our-customers .widget-title {margin-bottom: 0px;}


body, body .boxed-container, #pg-6-5> .panel-row-style {background-color: #ddeaf8 !important; background-color: #eeeeee !important; }
.widget_pw_icon_box { background-color: #ffffff; }
.footer .footer-top .container .row .textwidget a, .footer .footer-top .container .row .textwidget p {color:#9eb7cb !important; font-size: 16px !important;}
/*.footer .footer-top .container .row .textwidget a, .footer .footer-top .container .row .textwidget p {color:#9eb7cb !important; font-size: 14px !important;}*/
.footer-bottom .footer-bottom__left {color:#eeeeee;}
.sidebar .widget_nav_menu ul > li > a {background-color: #f9f9f9;}
.entry-content .panel-layout .panel-grid .panel-grid-cell .widget_black-studio-tinymce .textwidget h2 {margin-top:0px;}


.textwidget ul {
  list-style: none;
  padding-left: 0;
}

.textwidget ul li {
  position: relative;
  padding-left: 15px;
}

 .textwidget ul > li > h4 { line-height: 1.2; } 
 .textwidget ul > li span { line-height: 1.2; letter-spacing: -1px !important;} 
 .textwidget ul > li::before { content: ''; position: absolute; left: 0; top: 10px; width: 9px; height: 6px; background-image: url('/wp-content/uploads/firstul.png'); background-size: contain; background-repeat: no-repeat; } 
.textwidget ul ul > li::before { content: ''; position: absolute; left: 0; top: 10px; width: 9px; height: 6px; background-image: url('/wp-content/uploads/secul.gif'); background-size: contain; background-repeat: no-repeat; }

/*email*/
.floating-mail-icon {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  background-color: #1f4255;
  padding: 15px;
  border-radius: 8px 0 0 8px;
}

.floating-mail-icon img {
  width: 32px;
  height: 32px;
  display: block;
}
/*end email*/

a.page-box__picture img {
    width: 360px;
    height: 240px;
    object-fit: cover;
}

/*   block icon */
.icon-box-flex {   display: flex;  align-items: center;  justify-content: space-between; 
  gap: 10px; }

.icon-box-link {  text-decoration: none;   color: inherit;   display: block; }

.icon-box-flex {  display: flex;  align-items: center;  gap: 10px;}
.icon-home-de .widget_black-studio-tinymce .icon-box {min-height: 192px;}

#icon-home a {text-decoration: none; color: inherit !important;}
#icon-home img {width:50px;}
/*end block*/

.js-jumbotron-slider a.left, .js-jumbotron-slider a.right {display:none !important;} 

/*віджет контактів*/
.icon-box__text h4, .icon-box__text span {font-size: 16px !important;}
/*.icon-box__text h4, .icon-box__text span {font-size: 14px !important;}*/
.footer .widget_nav_menu ul > li > a {font-size: 16px !important;}

/* sidebar */
/* Скидання стилів списку */
ul.custom-menu-with-thumbnails,
.custom-menu-with-thumbnails li,
.textwidget > .services-widget-wrapper > .custom-menu-with-thumbnails li {
  list-style: none !important;
  margin: 0;
  padding: 0 !important;
}

/* Стилі для пунктів меню */
.custom-menu-with-thumbnails li {
  margin: 2px 0 !important;
}

/* Посилання */
.custom-menu-with-thumbnails li a {
  display: flex !important;
  align-items: stretch;
  text-decoration: none;
  color: #aaaaaa;
  width: 100%;
  padding: 0;
  font-size: 16px;
  font-weight: 900;
  font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
  background-color: #f9f9f9;
  transition: all 100ms ease-out;
  border-radius: 0;
  min-height: 170px;
  overflow: hidden;
}

/* Зображення */
.custom-menu-with-thumbnails li a .menu-thumb {
  flex-shrink: 0;
  width: 283px;
  height: auto;
  display: flex;
  align-items: stretch;
}

/* Картинка — на всю висоту */
.custom-menu-with-thumbnails li a .menu-thumb img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  height: 100%;
}

/* Назва пункту */
.custom-menu-with-thumbnails li a .menu-title {
  padding: 18px 25px;
  display: flex;
  align-items: center;
  flex: 1;
font-size: 16px;
text-transform: uppercase;
}

/* Активний пункт */
.custom-menu-with-thumbnails li.current-menu-item a,
.custom-menu-with-thumbnails li.current_page_item a,
.custom-menu-with-thumbnails li.current_page_parent a {
  background-color: #1f425d !important;
  color: #ffffff !important;
  text-shadow: 0 1px rgba(0, 0, 0, 0.16);
  text-decoration: none;
}

/* При наведенні — фон не змінюється */
.custom-menu-with-thumbnails li a:hover,
.custom-menu-with-thumbnails li a:focus {
 /* background-color: #f9f9f9 !important;*/
  color: #000000 !important;
  outline: none;
  cursor: pointer;
}

/* Видалити маркери */
.custom-menu-with-thumbnails li::before {
  content: none !important;
  background: none !important;
  background-image: none !important;
  display: none !important;
}

/* mob*/
.header__widgets > .widget-icon-box:first-child {float: left;}
.header__widgets > .widget-icon-box:nth-child(2) { float:right;}
.jumbotron-content__title h1 {font-size: clamp(26px, 3vw, 44px);}
/* end mob */

.gotop {border-top: 3px dotted #1f425d;}
.gotop img {float:right; padding-top: 10px;}

.page-template-page-service-php hr {
  border-top: 3px dotted #1f425d;
  position: relative; /* Обов'язково для позиціонування псевдоелементів */
}

.page-template-page-service-php hr::after {
  content: "";
  position: absolute;
  right: 0;
  margin-top: 5px;
  width: 10px;
  background-image: url('/wp-content/uploads/2025/06/pfeil_doppelt_up.gif');
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: auto; /* щоб можна було клікати */
}

.lh-08 { line-height: 0.8; }
.lh-09 { line-height: 0.9; }
.lh-10 { line-height: 1.0; }
.lh-12 { line-height: 1.2; }
.lh-15 { line-height: 1.5; }
.lh-20 { line-height: 2; }

/* end sidebar */

/* Styles from dev */
.is-sticky-nav .header__navigation {
  position: relative!important;
  box-shadow: none!important;
  background-color: transparent!important;
}

.header__container {
  position: fixed;
  top: 0;
  z-index: 50;
  width: 100%;
}

body {
  padding-top: 150px;
}

.wcc-consent-container .wcc-consent-bar .wcc-title {display:none;}
.wcc-consent-container .wcc-consent-bar {padding:14px 24px !important;}
.wcc-banner-bottom{opacity:0.8;}
.wcc-notice-des {line-height:1em !important;}
.wcc-consent-bar a {color:#9BBCE1;}

.page-box .wp-post-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
}

/* ======================= 
   УНІФІКОВАНІ МЕДІА-ЗАПИТИ 
   ======================= */

@media (min-width: 480px) {
    .header__logo img {
        width: 225px; 
    }
}

/* --- Мобільні телефони до 480px --- */
@media screen and (max-width: 480px) {
  .header__logo img.img-responsive {max-width: 55%;}
}

/* --- Планшети та невеликі телефони: до 767px --- */
@media screen and (max-width: 767px) {
  .gallery-columns-3 .gallery-item {
    max-width: inherit;
    text-align: center;
    float: none;
  }
  #menu-main-menu a, #menu-main-menu-russian a {
    font-size: 18px !important;
  }
}

/* --- Styles from dev --- */
@media (max-width: 992px) {
  .header__logo img {
    width: 162px;
    margin-top: 10px;
    max-width: 100% !important;
  }
  .menu-wrapper {
    align-items: center;
    position: relative;
    top: 0;
  }
  .header__logo .wpml-ls-legacy-list-horizontal {
    padding-top: 0;
  }
  .wpml-ls-legacy-list-horizontal .wpml-ls-flag {
    width: 25px!important;
  }
  .navbar-toggle {
    padding: 14px 20px!important;
  }
  .header__widgets {
    margin-bottom: 0;
  }
  .icon-box__text h4, .icon-box__text span {
    font-size: 14px !important;
  }
  .header .icon-box {
    padding-bottom: 10px;
  }
  body {
    padding-top: 177px;
  }
  .header__widgets, .header__logo, .header__container::before, .header__container::after, .header__logo::after {
    background-color: transparent;
  }
  .header__navigation #menu-main-menu a {
    font-size: 17px !important;
    font-weight: 400!important;
  }
  .main-navigation .sub-menu > li > a {
    color: #868e96;
  }
  .main-navigation .sub-menu {
    margin-bottom: 15px;
  }
  .header .icon-box {
    border-bottom: none;
  }
}

/* --- Планшети вертикальні та невеликі ноутбуки: до 1023px --- */
@media screen and (max-width: 1023px) {
  .footer .footer-top .container .row .col-xs-12 {padding-bottom: 20px;}
  .page-box__title.text-uppercase {min-height: 10px !important;}
  .gs_logo_single {height: auto !important;}
  .gs_logo_area.carousel_has--dots .gs_logo_container {padding-bottom: 0px !important;}
  .header__logo .wpml-ls-legacy-list-horizontal .wpml-ls-flag {width: 100%; float: right;}
  .header__logo .wpml-ls-legacy-list-horizontal {float: right;}
  .wpml-ls-legacy-list-horizontal a {padding: 5px 5px 5px;}
  .wpml-ls-legacy-list-horizontal img {margin: 0px;}
  .navbar-toggle {padding: 1.5vh 27px; margin: 0px;}
  .header__widgets .widget_icl_lang_sel_widget {display:none;}
  .header .icon-box {margin-bottom:0px;}
  .menu-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    float: right;
  }
  .wpml-ls-legacy-list-horizontal {padding: 7px 1vw 0;}
}

/* --- Десктопи до 1199px (щоб зображення не ламалися) --- */
@media screen and (max-width: 1199px) {
  .page-box .wp-post-image {
    width: auto;
    height: auto;
  }
}

/* --- Десктопи від 992px --- */
@media screen and (min-width: 992px) {
  .jumbotron {margin-bottom: 125px !important;}
  .carousel-inner .jumbotron-content {width: 720px !important;}
   html[lang="ru-RU"] .carousel-inner .jumbotron-content {width: 850px !important;}
  .carousel-inner .jumbotron-content .jumbotron-content__description p {font-size: 18px !important;}
  .jumbotron__control.left, .jumbotron__control.right {display:none !important;}
  .sidebar .widget {margin-bottom: 150px;}
  .menu-wrapper {display:none;}

  .panel-grid.panel-has-style>.panel-row-style, .panel-grid.panel-no-style {
    -webkit-align-items: stretch!important;
    align-items: stretch!important;
  }

  .panel-grid-cell .panel-last-child {
    height: 100%;
  }

  .page-box.page-box--block {
    height: 100%;
    background: #fff;
  }
}

/* --- Десктопи від 1200px і вище (включно з 1366+) --- */
@media screen and (min-width: 1200px) {
  .container {
    width: 100%;
    max-width: 1470px !important;
    margin-left: auto;
    margin-right: auto;
  }

  span.widget-title__inline {
    height: 30px;
    display: block;
  }

  .textwidget .icon-box-flex .icon-box__subtitle {
    height: 87px;
    overflow: hidden;
  }

  .header__widgets {width: calc(100% - 420px) !important;}
  .footer-top::before { left: calc(50% - 700px - 85px) !important;}
  .footer-top::after  { width: calc(50% - 700px - 63px) !important;}
  .header__navigation {margin-top: -33px!important}
  .menu-wrapper {display:none;}
  .country .page-box__title.text-uppercase {min-height: 120px !important;}

  /* --- Styles from dev --- */
  .is-sticky-nav .header__navigation {
    margin-left: 300px !important;

  }
  .header__widgets {
    width: calc(100% - 277px) !important;
    padding-right: 135px;
  }

}

/* --- Дуже великі екрани 1366px+ (залишив як гачок для майбутніх правок) --- */
@media screen and (min-width: 1366px) {
  .menu-wrapper {display:none;}
  /* якщо треба звузити контейнер, можна тут додати:
     .container { max-width: 1340px !important; } */
}

@media screen and (max-width: 1400px) {
  #menu-main-menu a, #menu-main-menu-russian a {
    font-size: 15px !important;
  }
  .main-navigation > li > a {
    padding: 18px 10px;
  }
  .header__navigation {
    margin-top: -28px!important;
    height: 58px;
  }

}

@media screen and (max-width: 1199.50px) {
  .header__navigation {
    margin-top: 0 !important;
    height: auto;
  }
  .textwidget .icon-box-flex .icon-box__subtitle {
    height: 87px;
    overflow: hidden;
  }
  span.widget-title__inline {
    height: 30px;
    display: block;
  }
}

@media screen and (max-width: 991px) {
  span.widget-title__inline {
    height: auto;
  }
  .textwidget .icon-box-flex .icon-box__subtitle {
    height: auto;
  }
}

/* ======= ПОЧАТОЧК СТАРИХ МЕДІА-ЗАПИТІВ =======

@media(max-width:767px){
 .gallery-columns-3 .gallery-item{
    max-width: inherit;
    text-align: center;
    float: none;  }       
}

@media (min-width: 992px) {
.jumbotron {margin-bottom: 125px !important;}
.carousel-inner .jumbotron-content {width: 850px !important;}
.carousel-inner .jumbotron-content .jumbotron-content__description p {font-size: 18px !important;}
.jumbotron__control.left, .jumbotron__control.right {display:none !important;} 
.sidebar .widget {margin-bottom: 150px;}
.menu-wrapper {display:none;}
}

@media (min-width: 1200px) {
  .container { width: 1470px !important; }
  .header__widgets {width: calc(100% - 420px) !important;}
.footer-top::before { left: calc(50% - 700px - 85px) !important;}
.footer-top::after { width: calc(50% - 700px - 63px) !important;}
.header__navigation {margin-top: -33px;}
.menu-wrapper {display:none;}
.country .page-box__title.text-uppercase {min-height: 120px !important;}
}

@media (min-width: 1366px) {
  .menu-wrapper {display:none;}
}

@media screen and (max-width: 1023px) {
.footer .footer-top .container .row .col-xs-12 {padding-bottom: 20px;}
.page-box__title.text-uppercase {min-height: 10px !important;}
.gs_logo_single {height: auto !important;}
.gs_logo_area.carousel_has--dots .gs_logo_container {padding-bottom: 0px !important;}
.header__logo .wpml-ls-legacy-list-horizontal .wpml-ls-flag {width: 100%; float: right;}
.header__logo .wpml-ls-legacy-list-horizontal {float: right;}
.wpml-ls-legacy-list-horizontal a {padding: 5px 5px 5px;}
.wpml-ls-legacy-list-horizontal img {margin: 0px;}
.navbar-toggle {padding: 1.5vh 27px; margin: 0px;}
.header__widgets .widget_icl_lang_sel_widget {display:none;}
.header .icon-box {margin-bottom:0px;}
.menu-wrapper {  display: flex; flex-direction: column; align-items: flex-end;   float: right; }
.wpml-ls-legacy-list-horizontal {padding: 7px 1vw 0;}
}

@media screen and (max-width: 480px) {
.header__logo img.img-responsive {max-width: 55%;}
}

@media screen and (max-width: 1199px) {
.page-box .wp-post-image {
  width: auto;
  height: auto; }
}
 ======= КІНЕЦЬ СТАРИХ МЕДІА-ЗАПИТІВ ======= */

/* =======Фіксований сайдбар 
.fixed-sidebar {
  position: fixed;
  top: 65px; 
  z-index: 49;
 width: auto;
}

 Абсолютне позиціонування в межах колонки 
.absolute-sidebar {
 position: absolute;
 z-index: 49;
/width: 100%;
}
======*/

/* .textwidget p, .textwidget li { font-size: 16px !important; color:#000000 !important;  font-family: "Roboto", Helvetica, Arial, sans-serif !important; /*letter-spacing:normal !important; line-height:normal !important;} */
/* .textwidget h1, h1.main-title__primary { font-size: 26px; color:#000000; font-weight:900; font-family: "Roboto", Helvetica, Arial, sans-serif !important; /*letter-spacing:normal !important; line-height:normal !important;} */
/* .textwidget h2 { font-size: 22px; color:#4a4a4a; font-weight:900; font-family: "Roboto", Helvetica, Arial, sans-serif !important; /*letter-spacing:normal !important; line-height:normal !important;} */
/* .textwidget h3 { font-size: 18px; color:#4a4a4a; font-weight:900; font-family: "Roboto", Helvetica, Arial, sans-serif !important; /*letter-spacing:normal !important; line-height:normal !important;} */
/* .textwidget h4, .textwidget h5, .textwidget h6 { font-size: 18px; color:#4a4a4a; font-weight:900; font-family: "Roboto", Helvetica, Arial, sans-serif !important; /*letter-spacing:normal !important; line-height:normal !important;} */
/* .footer-top .textwidget h6 {  color: #ffffff !important;   font-size: 21px; margin-top: 0px;   margin-bottom: -10px; } */