/*!
Theme Name: subtone
Theme URI: subtone
Author: subtone
Author URI: subtone
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: polyby
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

subtone is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/
@font-face {
  font-family: 'Myraid';
  src: url('img/fonts/regular.eot');
  src: local('☺'), url('img/fonts/regular.woff') format('woff'),
    url('img/fonts/regular.ttf') format('truetype'),
    url('img/fonts/regular.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Icons';
  src: local('Icons'), url('img/bootstrap-icons.woff2') format('woff2'),
    url('img/bootstrap-icons.woff') format('woff');
}
@font-face {
  font-family: 'Myraid';
  src: url('img/fonts/MyriadPro-Bold.eot');
  src: local('☺'), url('img/fonts/MyriadPro-Bold.woff') format('woff'),
    url('img/fonts/MyriadPro-Bold.ttf') format('truetype'),
    url('img/fonts/MyriadPro-Bold.svg') format('svg');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'MyraidCond';
  src: url('img/fonts/MyriadPro-Cond.eot');
  src: local('☺'), url('img/fonts/MyriadPro-Cond.woff') format('woff'),
    url('img/fonts/MyriadPro-Cond.ttf') format('truetype'),
    url('img/fonts/MyriadPro-Cond.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'MyraidCond';
  src: url('img/fonts/MyriadPro-BoldCond.eot');
  src: local('☺'), url('img/fonts/MyriadPro-BoldCond.woff') format('woff'),
    url('img/fonts/MyriadPro-BoldCond.ttf') format('truetype'),
    url('img/fonts/MyriadPro-BoldCond.svg') format('svg');
  font-weight: bold;
  font-style: normal;
}

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html body {
  font-family: 'Montserrat';
  height: 100%;
}

/* Sections
	 ========================================================================== */

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Links
--------------------------------------------- */
a {
}

a:visited {
}

a:hover,
a:focus,
a:active {
}

a:focus {
}

a:hover,
a:active {
}

nav.navigation.post-navigation {
  display: none;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
/*====================top========================*/
div .custom-logo {
  max-width: 100%;
  height: auto;
}
.custom-logo-ref a:hover {
  text-decoration: none;
}
.text-logo {
  font-family: MyraidCond;
  text-transform: uppercase;
  font-size: 22px;
  color: #444;
  font-weight: bold;
  margin-top: 4px;
}
.text-logo b {
  color: #970b0c;
}
.tel_top_region a.teltop {
  font-size: 18px;
  color: #333;
  margin-bottom: -5px;
  /* line-height: 10px; */
}
.tel_top_region a {
  font-size: 13px;
  line-height: 5px;
}
.communities {
  text-align: right;
  margin-top: 16px;
  margin-right: -30px;
}
.communities a:hover {
  text-decoration: none;
}
.address-string {
  background: url(img/address-icon-16.png) no-repeat left;
  background-size: 11px;
  padding-left: 18px;
}
.time-string {
  background: url(img/clock-icon-16.png) no-repeat left;
  background-size: 12px;
  padding-left: 18px;
}
.addr_top_region .top-main {
  text-align: right;
  display: inline-grid;
}
.addr_top_region .top-main div {
  grid-row: auto;
  float: none;
  width: fit-content;
  line-height: 24px;
}
.addr_top_region {
  color: #777;
  font-size: 14px;
}

.top-pan {
  padding-top: 10px;
  min-height: 70px;
  background: #fff;
  padding-bottom: 20px;
  /*  border-bottom: 1px solid #ddd;*/
}
.img-big-logo img {
    max-width: 90%;
}
.st-fix::after {
  content: '';
  display: table;
  height: 220px;
}
.st-fix {
  min-height: 90%;
}

.bg-fixed {background-attachment:fixed!important;}
/*===========footer=================*/
footer a {
  text-decoration: none;
  color: #333;
}

ul.square li:before {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--bs-red);
  content: '';
  margin-left: -20px;
  margin-top: 7px;
}

ul.square li {
  padding-left: 20px;
}
ul.square {
  list-style: none;
  padding-left: 0;
}

@media (max-width: 1198px) {

  .custom-logo {
    margin-top: 5px;
  }
}

@media (max-width: 992px) {

}

@media (max-width: 767px) {

}

@media (max-width: 576px) {

}

/*===========footer=============*/
ul.footer-links a {
  color: #333;
  /* text-transform: uppercase; */
}
.phoneone a {
  color: #333;
  font-size: 20px;
}
.zag1 strong {
  font-weight: normal;
}
.phoneone {
  padding-top: 10px;
  padding-bottom: 10px;
}
.footer {
  padding-top: 50px;
  padding-bottom: 30px;
  background: linear-gradient(-45deg, #fec107, #ffa801);
  margin-top: 50px;
}
.footer ul {
  list-style: none;
  padding: 0;
}
.footer span {
  color: #4c4b4b;
  font-size: 10px;
}
.zag1 {
  font-family: conv;
  font-size: 20px;
  text-transform: uppercase;
  color: #4c4b4b;
  border-bottom: 1px solid #f5e8b9;
  margin-bottom: 20px;
}



/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: auto;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: 1280;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex='-1']:focus {
  outline: 0;
}

.mt-150 {
  margin-top: 150px !important;
}
.mb-150 {
  margin-bottom: 150px !important;
}
.pt-150 {
  padding-top: 150px !important;
}
.pb-150 {
  padding-bottom: 150px !important;
}

.mt-100 {
  margin-top: 100px !important;
}
.mb-100 {
  margin-bottom: 100px !important;
}
.pt-100 {
  padding-top: 100px !important;
}
.pb-100 {
  padding-bottom: 100px !important;
}

.mt-80 {
  margin-top: 80px !important;
}
.mb-80 {
  margin-bottom: 80px !important;
}
.pt-80 {
  padding-top: 80px !important;
}
.pb-80 {
  padding-bottom: 80px !important;
}

.c-900 {
  max-width: 900px;
}
.c-1200 {
  max-width: 1200px;
}
@media screen and (min-width: 901px) {
  .c-900 {
    max-width: 900px !important;
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-weight: bold;
}
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
.h1 a,
.h2 a,
.h3 a,
.h4 a,
.h5 a,
.h6 a {
  text-decoration: none;
  color: #35383B;
}

/*================slider=======================================================*/
.top-slider {
  background: linear-gradient(rgba(0, 0, 0, 0.4),rgba(0, 0, 0, 0.4)),url(img/fon2-1.jpg) no-repeat top center;
  background-size: cover;
height:100vh;
  color: #fff;
}
.top-banner-text {
  color: #fff;
  max-width:700px;
  margin:0 auto;
}
.top-slider h1 {
  font-weight: 500;
  margin-bottom: 50px;
  margin-top: 20px;
}
.top-slider h1 span {
  color: #970b0c;
}

@media (max-width: 768px) {
  .top-slider h1 {
    font-size: 30px;
  }
  .top-slider h1 span {
    font-size: 35px;
  }
  .top-slider {
    padding: 100px 0 100px 0;
  }
}
@media (max-width: 380px) {
  .top-slider h1 {
    font-size: 25px;
  }
  .top-slider h1 span {
    font-size: 30px;
  }
  .top-slider {
    padding: 80px 0 80px 0;
  }
}

section.main-section .col-lg-4 {
  padding: 20px;
  text-align: left;
}

.center-img img {
  max-width: 100%;
}
.center-img {
  text-align: center;
}

.blue-b {
  background: #2b74b7 !important;
  padding: 15px;
  color: #fff !important;
  margin: 1rem 0;
}
.pink-b {
  background: #f5d9b8 !important;
  padding: 15px;

  margin: 1rem 0;
}

.red-b {
  background: #D10D0D !important;
  padding: 15px;
  margin: 1rem 0;
  color: #fff !important;
}
.blue-b h2,
.blue-b h3,
.blue-b h4,
.blue-b h5,
.blue-b h6,
.blue-b p,
.blue-b .btn,
.green-b h2,
.green-b h3,
.green-b h4,
.green-b h5,
.green-b h6,
.green-b p,
.green-b .btn,
.red-b h2,
.red-b h3,
.red-b h4,
.red-b h5,
.red-b h6,
.red-b p,
.red-b .btn,
.red-b a,
.red-b h2,
.red-b h3,
.red-b h4,
.red-b h5,
.red-b h6,
.red-b p,
.d-grey-b .btn,
.d-grey-b h2,
.d-grey-b h3,
.d-grey-b h4,
.d-grey-b h5,
.d-grey-b h6,
.d-grey-b p,
.d-grey-b a {
  color: #fff !important;
  border-color: #fff !important;
}
blockquote {
  padding-left: 20px;
  border-left: 5px solid #eee;
}
.grey-b {
  background: #949AA1 !important;
  padding: 15px;
  color: #333 !important;
}
.l-grey-b {
  background: #B3BAC2 !important;
  padding: 15px;
  color: #333 !important;
}
.d-grey-b {
  background: #35383B !important;
  padding: 15px;
  color: #fff !important;
}
.ulstein-block-1 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.ulstein-block-1 .col-lg-4 {
  background: #2b74b7;
  color: #fff;
  margin: 0 !important;
  padding: 25px !important;
  font-size: 18px;
  text-align: center;
}
.ulstein-block-1 h3,
.ulstein-block-2 h3 {
  color: #fff;
  margin-top: 0px;
  margin-bottom: 30px;
  text-align: left;
}
.ulstein-block-1 .grey-b h3,
.ulstein-block-2 .grey-b h3 {
  color: #333;
}
.ulstein-block-1 .btn-outline-secondary,
.ulstein-block-2 .btn-outline-secondary {
  color: #fff;
  border: 2px solid;
  margin: 30px auto;
}
.ulstein-block-1 .grey-b .btn-outline-secondary {
  color: #999;
}
.ulstein-block-1 .col-lg-4 p {
  text-align: left;
}
.ulstein-block-1 .pict.col-lg-8.col-12::before {
  content: '';
  position: absolute;
  z-index: 5;
  width: 40px;
  background: #2b74b7;
  top: 50%;
  margin-left: -20px;
  height: 40px;
  transform: translateY(-50%) rotate(45deg);
}
.ulstein-block-1 .pict.col-lg-8.col-12.order-md-1::before {
  left: 100%;
}
.galog-pow {
  background: #ffb301;
  padding: 10px;
}
.ulstein-block-1 .pict {
  background-size: cover;
  min-height: 250px;
}
@media (max-width: 768px) {
  div.ulstein-block-1 .pict.col-lg-8.col-12.order-md-1::before,
  div.ulstein-block-1 .pict.col-lg-8.col-12.order-md-2::before {
    left: 50%;
    top: 100%;
    margin-bottom: -15px;
  }
}



/*==========menu=============*/
ul#top-menu>li>a {
    padding: 0 20px;
    text-decoration: none;
    text-transform: uppercase;
    color: #a2a8ae;
    font-weight: 600;
}
ul#top-menu>li>a:hover {
    color: #d10d0d;
}

.contacts-top {
    text-align: right;
    margin-left: 50px;
}
a.teltop {
    font-size: 20px;
    text-decoration: none;
    color: #222;
}
a.teltop:hover {
    color:#d10d0d;
}
.contacts-top .phone-string svg.bi.bi-telephone-fill {
    margin-top: -3px;
    margin-right: 5px;
    color: #a2a8ae;
    width:15px;
    /* background: #eee; */
    /* padding: 5px; */
}
.contacts-top .phone-string:hover svg.bi.bi-telephone-fill {
    color: #d10d0d;
}

.language-switcher {
    margin-left: 50px;
}
.language-switcher ul {
    padding-left: 16px;
    min-width: 140px;
}
.current-lang a {
    color: #d10d0d;
}

.language-switcher li a {
    text-decoration: none;
}