/*
Theme Name: OTEC
Theme URI: https://tec-wp.leadrevive.tech/
Author: Одеська ТЕЦ
Description: Тема стенда АТ «Одеська ТЕЦ» за шаблоном Joomla otec (Helix3).
Version: 1.3.1
Text Domain: otec-wp
*/

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background-color: #ededed;
  color: #120a0a;
  font-family: Roboto, sans-serif;
  font-size: 18px;
  font-weight: normal;
  line-height: 24px;
  -webkit-transition: all 400ms ease;
  transition: all 400ms ease;
}

a {
  color: #202229;
  text-decoration: none;
  -webkit-transition: color 400ms, background-color 400ms;
  transition: color 400ms, background-color 400ms;
}

a:hover,
a:focus,
a:active {
  color: #0a0a0c;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: #000000;
  margin-top: 0;
}

h1 {
  font-family: "Open Sans", sans-serif;
  font-weight: 800;
  font-size: 36px;
  line-height: 1.1;
  margin-bottom: 10px;
}

h2 {
  font-family: Roboto, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
}

h3 {
  font-family: Roboto, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.1;
  margin: 20px 0 10px;
}

h4 {
  font-family: "Open Sans", sans-serif;
  font-weight: normal;
}

h5, h6 {
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
}

@font-face {
  font-family: 'IcoMoon';
  src: url('fonts/IcoMoon.eot');
  src: url('fonts/IcoMoon.eot?#iefix') format('embedded-opentype'), url('fonts/IcoMoon.woff') format('woff'), url('fonts/IcoMoon.ttf') format('truetype'), url('fonts/IcoMoon.svg#IcoMoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"],
[class*=" icon-"] {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: .25em;
  line-height: 14px;
  background-image: none;
}

[class^="icon-"]:before,
[class*=" icon-"]:before {
  font-family: 'IcoMoon';
  font-style: normal;
  speak: none;
}

.icon-options:before,
.icon-cog:before {
  content: "\38";
}

.pull-right {
  float: right !important;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}
.clearfix:after {
  clear: both;
}

.icons {
  position: relative;
}

.btn-group {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}

.btn {
  display: inline-block;
  margin-bottom: 0;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  background-image: none;
  background-color: transparent;
  border: 1px solid transparent;
  white-space: nowrap;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  border-radius: 4px;
  color: #333;
}

.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top: 4px dashed;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 160px;
  padding: 5px 0;
  margin: 2px 0 0;
  list-style: none;
  font-size: 14px;
  text-align: left;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

.btn-group.open > .dropdown-menu {
  display: block;
}

.dropdown-menu > li > a {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: normal;
  line-height: 1.42857143;
  color: #333333;
  white-space: nowrap;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  text-decoration: none;
  color: #262626;
  background-color: #f5f5f5;
}

.btn,
.sppb-btn {
  -webkit-transition: color 400ms, background-color 400ms, border-color 400ms;
  -o-transition: color 400ms, background-color 400ms, border-color 400ms;
  transition: color 400ms, background-color 400ms, border-color 400ms;
}

select,
textarea,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
.form-control {
  -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.off-canvas-menu-init {
  overflow-x: hidden;
  position: relative;
}

.body-wrapper {
  position: relative;
  -webkit-transition: .5s;
  transition: .5s;
  right: 0;
  backface-visibility: hidden;
}

.body-innerwrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

#sp-section-1 {
  background-color: #ededed;
  padding: 0;
  margin: 0;
}

#sp-section-1 .custom p {
  text-align: left;
  padding-left: 30px;
  margin: 0 0 10px;
}

#sp-section-1 .custom img {
  width: 108px;
  height: 93px;
  vertical-align: middle;
  display: inline-block;
}

#sp-header {
  background-color: #fa3a3a;
  color: #ffffff;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.05);
  height: 90px;
  left: 0;
  position: relative;
  top: 0;
  width: 100%;
  z-index: 99;
}

#sp-header .logo {
  display: table;
  height: 90px;
  -webkit-transition: all 400ms ease;
  transition: all 400ms ease;
  margin: 0;
}

.sp-megamenu-wrapper {
  display: block;
  min-height: 90px;
  padding: 0 15px;
  position: relative;
}

.sp-megamenu-parent,
.sp-megamenu-parent ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sp-megamenu-parent {
  z-index: 99;
  display: block;
  float: right;
  position: relative;
}

.sp-megamenu-parent > li {
  display: inline-block;
  position: relative;
  padding: 0;
}

.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span {
  display: inline-block;
  padding: 0 15px;
  line-height: 90px;
  font-family: Roboto, sans-serif;
  font-size: 18px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #000000;
  margin: 0;
}

.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li.current-menu-item > a,
.sp-megamenu-parent > li.current-menu-ancestor > a,
.sp-megamenu-parent > li:hover > a {
  color: #202229;
}

.sp-megamenu-parent > li.menu-item-has-children > a::after,
.sp-megamenu-parent > li.sp-has-child > a::after {
  font-family: "FontAwesome";
  content: " \f107";
}

/* Helix dropdowns + menu-zoom 400ms animation */
.sp-megamenu-parent .sub-menu {
  margin: 0;
  position: absolute;
  z-index: 10;
  display: none;
  top: 100%;
  left: 0;
  width: 200px;
  background: #f52323;
  box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.2);
  padding: 20px;
}

.sp-megamenu-parent > li:last-child > .sub-menu {
  left: auto;
  right: 0;
}

.sp-megamenu-parent .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.sp-megamenu-parent > li:last-child .sub-menu .sub-menu {
  left: 100%;
  right: auto;
}

.sp-megamenu-parent .menu-item-has-children:hover > .sub-menu,
.sp-megamenu-parent .sp-has-child:hover > .sub-menu {
  display: block;
}

.sp-megamenu-parent.menu-fade .menu-item-has-children:hover > .sub-menu,
.sp-megamenu-parent.menu-fade .sp-has-child:hover > .sub-menu {
  -webkit-animation: spMenuFadeIn 400ms;
  animation: spMenuFadeIn 400ms;
}

.sp-megamenu-parent.menu-zoom .menu-item-has-children:hover > .sub-menu,
.sp-megamenu-parent.menu-zoom .sp-has-child:hover > .sub-menu {
  -webkit-animation: spMenuZoom 400ms;
  animation: spMenuZoom 400ms;
}

.sp-megamenu-parent.menu-fade-up .menu-item-has-children:hover > .sub-menu,
.sp-megamenu-parent.menu-fade-up .sp-has-child:hover > .sub-menu {
  -webkit-animation: spMenuFadeInUp 400ms;
  animation: spMenuFadeInUp 400ms;
}

.sp-megamenu-parent .sub-menu li {
  display: block;
  padding: 0;
  position: relative;
}

.sp-megamenu-parent .sub-menu li > a {
  display: block;
  padding: 10px;
  color: #ffffff;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.35;
}

.sp-megamenu-parent .sub-menu li.menu-item-has-children > a::after {
  font-family: "FontAwesome";
  content: " \f105";
  float: right;
}

.sp-megamenu-parent .sub-menu li > a:hover {
  background: #202229;
  color: #ffffff;
}

.sp-megamenu-parent .sub-menu li.current-menu-item > a,
.sp-megamenu-parent .sub-menu li.active > a {
  color: #202229;
}

.sp-megamenu-parent .sub-menu li.current-menu-item > a:hover,
.sp-megamenu-parent .sub-menu li.active > a:hover {
  color: #ffffff;
}

/* Mega layout for Інформація для акціонерів та стейкхолдерів (600px, as in Joomla) */
.sp-megamenu-parent > li.mega-shareholders > .sub-menu {
  width: 600px;
  padding: 20px;
  left: 0;
  right: auto;
}

.sp-megamenu-parent > li.mega-shareholders:hover > .sub-menu {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  -webkit-animation: spMenuZoom 400ms;
  animation: spMenuZoom 400ms;
}

.sp-megamenu-parent > li.mega-shareholders > .sub-menu > li > a {
  text-transform: uppercase;
  font-weight: bold;
}

.sp-megamenu-parent > li.mega-shareholders > .sub-menu > li > a::after {
  display: none;
}

.sp-megamenu-parent > li.mega-shareholders > .sub-menu > li > .sub-menu {
  display: block;
  position: static;
  box-shadow: none;
  padding: 0;
  width: auto;
  background: transparent;
  -webkit-animation: none;
  animation: none;
}

.sp-megamenu-parent > li.mega-shareholders > .sub-menu > li > .sub-menu .sub-menu {
  display: none;
  position: absolute;
  left: auto;
  right: 100%;
  top: 0;
  width: max-content;
  max-width: 360px;
  background: #f52323;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  padding: 20px;
  z-index: 30;
}

.sp-megamenu-parent > li.mega-shareholders > .sub-menu > li > .sub-menu li:hover > .sub-menu {
  display: block;
  -webkit-animation: spMenuZoom 400ms;
  animation: spMenuZoom 400ms;
}

/* Offcanvas toggler & slide-top-menu (500ms transition) */
#offcanvas-toggler {
  float: right;
  line-height: 87px;
  margin-left: 15px;
  font-size: 20px;
  display: none;
}

#offcanvas-toggler > i {
  color: #000000;
  -webkit-transition: color 400ms, background-color 400ms;
  -o-transition: color 400ms, background-color 400ms;
  transition: color 400ms, background-color 400ms;
}

#offcanvas-toggler > i:hover {
  color: #202229;
}

.offcanvas-overlay {
  background: rgba(0, 0, 0, 0.2);
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 9999;
  visibility: hidden;
  -webkit-transition: .5s;
  transition: .5s;
}

.close-offcanvas {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 1;
  border-radius: 100%;
  width: 25px;
  height: 25px;
  line-height: .5;
  text-align: center;
  font-size: 16px;
  border: 1px solid #fff;
  color: #fff;
  padding-top: 3px;
}

.offcanvas-menu {
  width: 320px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  position: fixed;
  top: 0;
  right: 0;
  -webkit-transform: translateX(320px);
  transform: translateX(320px);
  visibility: hidden;
  overflow: inherit;
  -webkit-transition: .5s;
  transition: .5s;
  z-index: 10000;
}

.offcanvas-menu .offcanvas-inner {
  padding: 30px;
}

.offcanvas-menu .offcanvas-inner ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.offcanvas-menu .offcanvas-inner ul > li {
  border: 0;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.offcanvas-menu .offcanvas-inner ul ul {
  margin: 0 0 8px;
}
.offcanvas-menu .offcanvas-inner ul ul a {
  padding-left: 32px;
  font-size: 13px;
  text-transform: none;
  line-height: 1.35;
}
.offcanvas-menu .offcanvas-inner ul ul ul a {
  padding-left: 48px;
}
.offcanvas-menu .offcanvas-inner ul > li a {
  display: block;
  -webkit-transition: 300ms;
  -o-transition: 300ms;
  transition: 300ms;
  padding: 10px 20px;
  font-size: 14px;
  text-transform: uppercase;
  color: #fff;
  font-weight: 500;
  line-height: 28px;
}

.offcanvas-menu .offcanvas-inner ul > li:hover > a,
.offcanvas-menu .offcanvas-inner ul > li > a:hover {
  background: rgba(0, 0, 0, 0.15);
}

.slide-top-menu .offcanvas-overlay {
  visibility: visible;
  opacity: 1;
}

.slide-top-menu .body-wrapper {
  right: 0;
}

.slide-top-menu .offcanvas-menu {
  right: 0;
  background-color: #000000;
  visibility: visible;
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

/* Scrollup button */
.scrollup {
  width: 40px;
  height: 40px;
  position: fixed;
  bottom: 62px;
  right: 100px;
  display: none;
  z-index: 999;
  border: 1px solid #ddd;
  background-color: rgba(255, 255, 255, 0.4);
}

.scrollup:hover {
  background-color: #c4c4c4;
}

.scrollup:before {
  content: " \f106";
  font-family: "FontAwesome";
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 3px;
  width: 40px;
  height: 38px;
  line-height: 38px;
  text-align: center;
  font-size: 25px;
  font-weight: 700;
  color: #000;
}

#sp-section-3 {
  background-color: #f50000;
  color: #f50a0a;
  min-height: 0;
}

#sp-main-body {
  background-color: #ededed;
  color: #120a0a;
  padding: 100px 0 0;
  margin: 0 0 20% 0;
  flex: 1;
}

.page-header {
  padding-bottom: 9px;
  margin: 40px 0 20px;
  border-bottom: 1px solid #eeeeee;
}

.cat-children > div {
  margin: 0;
}

.cat-children h3.page-header {
  padding-bottom: 9px;
  margin: 40px 0 20px;
  border-bottom: 1px solid #eeeeee;
  font-size: 18px;
  font-weight: 500;
}

.cat-children h3.page-header a {
  color: #202229;
}

.items-leading article.item,
.items-row article.item,
article.entry {
  margin-bottom: 30px;
}

.entry-header h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 14px;
}

.entry-content p {
  margin: 0 0 10px;
}

.entry-content a {
  color: #0000ff;
}

.entry-content a:hover {
  text-decoration: underline;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  margin: 14px 0 22px;
}

.entry-content th,
.entry-content td {
  border: 1px solid #dddddd;
  padding: 8px 10px;
  vertical-align: top;
}

.entry-content img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ARI Docs Viewer exact styles */
div.aridoc-loading {
  background: transparent url(/media/aridocsviewer/css/images/loading.gif) no-repeat center center;
  position: relative;
  min-width: 200px;
  min-height: 250px;
}

.aridoc-loading-message {
  display: none;
}

div.aridoc-loading .aridoc-loading-message {
  display: block;
  position: absolute;
  top: 50%;
  margin-top: 45px;
  text-align: center !important;
  width: 100%;
}

div.aridoc-loading iframe.aridoc-frame {
  position: absolute;
  left: -9999px;
}

iframe.aridoc-frame {
  display: block;
  margin: 0 auto;
  border: none;
  max-width: 100%;
}

.osmap-sitemap h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
}

.osmap-sitemap ul {
  margin: 4px 0 4px 22px;
  padding: 0;
}

.osmap-sitemap li {
  margin: 4px 0;
}

.osmap-sitemap a {
  color: #202229;
}

.osmap-sitemap a:hover {
  color: #0a0a0c;
}

#sp-footer {
  background-color: #34380b;
  color: #ffffff;
  text-align: center;
  padding: 20px 0;
  margin-top: auto;
}

/* Helix3 Keyframes */
@-webkit-keyframes spMenuFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes spMenuFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-webkit-keyframes spMenuZoom {
  0% {
    opacity: 0;
    -webkit-transform: scale(.8);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
  }
}
@keyframes spMenuZoom {
  0% {
    opacity: 0;
    transform: scale(.8);
    -webkit-transform: scale(.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}

@-webkit-keyframes spMenuFadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 30px, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
  }
}
@keyframes spMenuFadeInUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}
.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
}

@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}
.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}

@media screen and (max-width: 1199px) {
  .scrollup {
    bottom: 25px;
    right: 25px;
  }
}

@media (max-width: 991px) {
  #offcanvas-toggler {
    display: inline-block;
  }
  .sp-megamenu-parent {
    display: none;
  }
}
