/*! HTML5 Boilerplate v7.3.0 | MIT License | https://html5boilerplate.com/ */
/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */
textarea {
  resize: none;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */
.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
.bg-blue {
  background-color: #137CE2 !important;
  background-image: url("../img/bg-cover.png");
  background-size: 240px 240px;
  background-repeat: repeat;
}
.bg-blue.bg-blue-small {
  background-size: 120px 120px;
}

#ukrainian-flag {
  float: left;
  display: block;
  height: 18px;
  width: 100%;
}
#ukrainian-flag:before {
  content: "";
  width: 100%;
  height: 9px;
  background-color: #0056B9;
  display: block;
}
#ukrainian-flag:after {
  content: "";
  width: 100%;
  height: 9px;
  background-color: #FFD800;
  display: block;
}

/* Chat Buttons */
#chats {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 10;
}
#chats #toggle-buttons {
  position: relative;
  z-index: 10;
}
#chats #toggle-buttons i {
  position: absolute;
  transition: all 0.2s ease;
}
#chats #toggle-buttons .close {
  transform: scale(0) rotate(360deg);
  opacity: 0;
}
#chats #toggle-buttons .chat {
  transform: scale(1) rotate(0);
  opacity: 1;
}
#chats.active #toggle-buttons .close {
  transform: scale(1) rotate(0);
  opacity: 1;
}
#chats.active #toggle-buttons .chat {
  transform: scale(0) rotate(360deg);
  opacity: 0;
}
#chats.active .chat-buttons .btn {
  opacity: 1;
  visibility: visible;
  transform: scale(1) rotate(0);
}
#chats.active .chat-buttons .btn-viber {
  top: 0;
  transition-delay: 0.2s;
}
#chats.active .chat-buttons .btn-telegram {
  top: 0;
  transition-delay: 0.1s;
}
#chats.active .chat-buttons .btn-whatsapp {
  top: 0;
  transition-delay: 0s;
}
#chats .chat-buttons {
  display: flex;
  flex-direction: column;
  position: absolute;
  bottom: 100%;
}
#chats .chat-buttons .btn {
  position: relative;
  opacity: 0;
  visibility: hidden;
  transform: scale(0) rotate(360deg);
  transition: all 0.4s ease-in-out;
}
#chats .chat-buttons .btn-viber {
  top: 150px;
  transition-delay: 0s;
  color: #fff;
  background-color: #665CAC;
  z-index: 1;
}
#chats .chat-buttons .btn-telegram {
  top: 100px;
  transition-delay: 0.1s;
  color: #fff;
  background-color: #3E99D8;
  z-index: 2;
}
#chats .chat-buttons .btn-whatsapp {
  top: 50px;
  transition-delay: 0.2s;
  color: #fff;
  background-color: #49E670;
  z-index: 3;
}

/* Phone ITI */
[data-bs-theme=dark] .except-wrapper .except:after {
  background: linear-gradient(0deg, rgb(24, 29, 37) 0%, rgba(24, 29, 37, 0) 100%);
}
[data-bs-theme=dark] .iti__dropdown-content {
  background-color: #000;
}

#characteristics-tab-pane table {
  min-width: 100% !important;
}

.phone-input-wrapper.phone-size-sm .iti__selected-dial-code {
  font-size: 14px;
}
.phone-input-wrapper .iti {
  width: 100%;
}

/* EOF Phone ITI */
.btn-scroll-top-ru {
  padding-left: 6px;
  padding-right: 6px;
}

.btn-scroll-top-ua {
  padding-left: 7px;
  padding-right: 7px;
}

header .navbar-brand img {
  max-width: 230px;
}

#stuckNav.navbar-custom .navbar-nav > li > a.nav-link {
  color: #fff;
}

.except-wrapper.show .except {
  max-height: unset;
}
.except-wrapper.show .except:after {
  opacity: 0;
}
.except-wrapper.show .btn-except {
  display: none !important;
}
.except-wrapper .except {
  position: relative;
  max-height: 580px;
  overflow-y: hidden;
}
.except-wrapper .except:after {
  content: "";
  background: linear-gradient(0deg, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 100%);
  position: absolute;
  width: 100%;
  height: 100px;
  left: 0;
  bottom: 0;
  opacity: 1;
}
footer.bg-blue:before {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.33);
  z-index: 0;
}
footer.bg-blue hr {
  border-color: rgba(255, 255, 255, 0.1);
}

.search-form {
  position: relative;
}
.search-form #search-box {
  position: absolute;
  margin-top: 23px;
  top: 100%;
  left: 0;
  width: 100%;
  height: auto;
}
.search-form #search-box ul {
  padding-left: 0;
  list-style-type: none;
  background-color: #fff;
  border: 1px solid #cad0d9;
  border-radius: 8px;
}
.search-form #search-box ul li {
  padding: 6px 12px;
  text-align: left;
  border-bottom: 1px solid #cad0d9;
}
.search-form #search-box ul li:last-child {
  border-bottom: none;
}
.search-form #search-box ul li a {
  text-decoration: none;
}

.filetype-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translate(0, -50%);
  width: 17px;
  height: 19px;
  display: inline-block;
  background: url(../img/file-types.png) no-repeat;
}
.filetype-icon.rar {
  background-position: -20px -180px;
}
.filetype-icon.zip {
  background-position: 0 -180px;
}
.filetype-icon.doc, .filetype-icon.docx {
  background-position: 0 -120px;
}
.filetype-icon.xls, .filetype-icon.xlsx {
  background-position: 0 -90px;
}
.filetype-icon.jpg, .filetype-icon.jpeg {
  background-position: 0px -60px;
}
.filetype-icon.png {
  background-position: -20px -60px;
}
.filetype-icon.ppt, .filetype-icon.pptx {
  background-position: 0px -140px;
}
.filetype-icon.eps {
  background-position: -40px -80px;
}
.filetype-icon.cdr {
  background-position: -60px -80px;
}
.filetype-icon.mp4 {
  background-position: -60px -220px;
}
.filetype-icon.google-doc {
  background-position: -1px -260px;
}

.breadcrumb li.breadcrumb-item {
  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

section.partners .partner-slide img.partner-img {
  max-width: 90%;
  max-height: 100px;
}

#portfolio.simple {
  overflow: hidden;
}
#portfolio.masonry {
  overflow: hidden;
}
#portfolio.masonry #image-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 15px;
}
#portfolio.masonry #images {
  padding: 15px 0 15px 0;
  column-count: 5;
  column-gap: 10px;
}
#portfolio.masonry #images .image {
  position: relative !important;
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  margin-bottom: 10px;
  break-inside: avoid;
}
#portfolio.masonry #images .image .image-card {
  height: auto;
  width: auto;
  padding: 0;
}
#portfolio.masonry #images .image .image-card img {
  max-width: 100%;
  display: block;
  grid-row: 1/-1;
  grid-column: 1;
}

#home-slider .swiper-wrapper .swiper-slide:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 767px) {
  #home-slider {
    height: 56.25vw;
  }
  #home-slider .swiper-slide h2.display-4 {
    font-size: calc(1.275rem + 2.7vw);
  }
  #portfolio.simple {
    overflow: hidden;
  }
  #portfolio.masonry {
    overflow: hidden;
  }
  #portfolio.masonry #image-tags .tag {
    width: 100%;
  }
  #portfolio.masonry #images {
    column-count: 3;
    column-gap: 6px;
  }
}
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */
@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}

/*# sourceMappingURL=template.css.map */
