/*
Theme Name: OPRK Marketing
Theme URI: https://tdweb.com.ua/
Author: Roman Khrystev
Author URI: https://tdweb.com.ua/
Description: Digital Marketing
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
Version: 1
Requires at least: 5.0
Tested up to: 5.5
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwenty
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
.container {
  height: 100%;
}


.header-logo {
  display: flex;
  align-items: center;
}

.header-logo img {
  width: 50px;
  object-fit: contain;
  margin-right: 1rem;
}

.btn:disabled {
	background-color: #837f7b;
	opacity: 0.4;
}
.loader {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -36px;
  width: 72px;
  height: 72px;
  border: 3px dotted #9d7132;
  border-style: solid solid dotted dotted;
  border-radius: 50%; 
  box-sizing: border-box;
  animation: rotation 2s linear infinite;
  z-index: 222;
}

.loader::after {
  content: '';  
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border: 3px dotted #000;
  border-style: solid solid dotted;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  animation: rotationBack 1s linear infinite;
  transform-origin: center center;
}
    
.loader::before {
  content: '';  
  box-sizing: border-box;
  position: absolute;
  left: 50%; 
  top: 50%; 
  margin: -24px;
  border: 2px dotted #000;
  border-style: solid dotted solid dotted;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  animation: rotationBack 2.5s linear infinite;
  transform-origin: center center;
}

.form {
  position: relative;
}

.form-messages {
  position: absolute;
  background-color: rgba(255,255,255,.7);
  z-index: 20;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  display: none;
}

.form-messages.active {
  display: flex;
}
    
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} 
@keyframes rotationBack {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
} 

.info-block {
  padding: 1rem 2rem;
}

.pricing-table i {
  font-style: initial;
}

.services-nav {
  margin-bottom: 1rem;
}

.hero-image img {
  max-width: 400px;
  object-fit: contain;
}

body.single-post {
  background-color: #eceff4;

}
.single-post-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 1rem 2rem;
  background-color: #fff;
}

.breadcrumbs-wrapper {
  margin: -3rem 0 2rem;
}

figure.alignright {
  float: right;
  margin: 0 0 0 1rem;
}

figure.alignleft {
  float: left;
  margin: 0 1rem 0 0;
}

.wp-block-code {
  padding: 1rem;
  background-color: #e8e8e8;
}
.wp-block-image {
  margin: 1rem 0
}

.wp-block-latest-posts__read-more {
  display: block;
}

.footer-whatsapp {
  margin-left: 1rem;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.single-post-top {
  display: flex;
  justify-content: space-between;
}

.share-block {
  display: flex;
}

.share-block-items {
  display: flex;
  margin-left: 10px;
}

.share-block-items a {
  margin: 0 5px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 50%;
  font-size: 0;
  cursor: pointer;
  width: 30px;
  height: 30px;
}

.share-block-items a:nth-child(1) {
  background-image: url('./assets/images/facebook.png');
}
.share-block-items a:nth-child(2) {
  background-image: url('./assets/images/linkedin.png');
}
.share-block-items a:nth-child(3) {
  background-image: url('./assets/images/twitter.png');
}
.share-block-items a:nth-child(4) {
  background-image: url('./assets/images/whatsapp.png');
}
.share-block-items a:nth-child(5) {
  background-image: url('./assets/images/telegram.png');
}

@media screen and (min-height: 900px) {
  .hero .container {
    height: auto;
  }
  .hero-content {
    margin-top: 0;
  }
}
@media screen and (max-width: 768px) {
  .is-layout-flex {
    flex-direction: column;
  }

  .is-layout-flex figure {
    margin: 0;
  }
  .hero-image {
    display: none;
  }

  .single-post-content {
    padding: 0.1rem 1rem 0.5rem;
  }

  .single-post-content h1 {
    font-size: 1.5rem;
  }
  .single-post-content h2 {
    font-size: 1.3rem;
  }
  .single-post-content h3 {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 380px) {
  .header-btn .btn {
    min-width: 100px;
  }

  .header-logo--pos {
    font-size: 14px;
  }

  .header-logo--name {
    font-size: 20px;
  }

  .header-logo img {
    width: 30px;
    margin-right: 10px;
  }
}

@media screen and (max-width: 330px) { 
  .header .header-logo img {
    display: none;
  }
}