/*!
Theme Name: borisstudio
Theme URI: https://borisstudio.ua/
Author: BORISSTUDIO
Author URI: https://borisstudio.ua/
Description: Borisstudio WordPress theme — власна розробка
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: borisstudio
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.

borisstudio — власна розробка BORISSTUDIO.
Based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery img {
	margin-bottom: 0 !important;
}

.gallery figure {
	margin-bottom: 0 !important;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(1, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(1, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(1, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(1, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(1, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(1, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(1, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 1200px) {
	.gallery-columns-2 {
		grid-template-columns: repeat(2, 1fr);
	}

	.gallery-columns-3 {
		grid-template-columns: repeat(3, 1fr);
	}

	.gallery-columns-4 {
		grid-template-columns: repeat(4, 1fr);
	}

	.gallery-columns-5 {
		grid-template-columns: repeat(5, 1fr);
	}

	.gallery-columns-6 {
		grid-template-columns: repeat(6, 1fr);
	}

	.gallery-columns-7 {
		grid-template-columns: repeat(7, 1fr);
	}

	.gallery-columns-8 {
		grid-template-columns: repeat(8, 1fr);
	}

	.gallery-columns-9 {
		grid-template-columns: repeat(9, 1fr);
	}
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* 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;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/*  Custom */
.overlay-portfolio {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: #212121;
	opacity: 0.6;
}

.wpcf7-form {
	overflow: visible !important;
}

.content-block > .container > h2 {
	margin-top: 0 !important;
}

.content-block {
    font-size: 16px;
}

.advantages strong {
    font-size: 1.5rem;
    text-transform: uppercase;
    display: block;
	position: relative;
	    padding-left: 60px;
}

.advantages .counter {
    color: black;
    background: #FCBA1D;
    width: 47px;
    height: 47px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
	font-weight: 300;
	position: absolute;
    left: 0;
	top: 50%;
    margin-top: -23px;
}

.blog-item-single .first-calculator .cf7mls-btns .cf7mls_back {
    bottom: -6rem;
}

.blog-item-single .two-calculator .round-btn {
    margin-top: 13px !important;
}



.modal-promo {
    background: url(https://borisstudio.ua/wp-content/uploads/2023/07/Mask-group-7.png);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 50%;
}

@media (min-width: 1400px) {
	.blog-item-single .first-calculator .cf7mls-btns .cf7mls_back {
    bottom: -3.5rem;
}
	.blog-item-single .two-calculator .round-btn {
    margin-top: -75px !important;
}
	.modal-promo {
    background: url(https://borisstudio.ua/wp-content/uploads/2023/07/Mask-group-7.png);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 30%;
}
}

.portfolio-item-link {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

.suppliers-block .national-label {
    background: url('https://borisstudio.ua/wp-content/uploads/2023/08/flag.png') no-repeat !important;
	background-size: cover !important;
}
.intl-tel-input {
    width: 100%;
}
.intl-tel-input input::placeholder {
	color: rgba(0,0,0,.3) !important;
}

.modal-body .intl-tel-input input::placeholder {
	color: rgba(255,255,255,.2) !important;
}

input.wpcf7-form-control.wpcf7-intl-tel.wpcf7-intl_tel.wpcf7-validates-as-required.form-control {
    padding-left: 100px !important;
}
.flag-container {
    color: #222222 !important;
}
.modal .flag-container .selected-dial-code {
    color: #ffffff;
	text-align: left;
}
.page-numbers {
    padding: 8px 17px;
    cursor: pointer;
    text-decoration: none;
    color: #000000;
}

span.page-numbers.current {
    background: #fcba1d;
    border-radius: 10px;
	    color: #ffffff;
}

.next.page-numbers, .prev.page-numbers {
    color: #000000;
	display: none;
}
@media (min-width: 1400px) {
	.next.page-numbers, .prev.page-numbers {
	display: block;
}
}
.custom-pagination-js {
    list-style: none;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-weight: 300;
    font-size: 14px;
    color: #fff;
}

.custom-pagination-js button {
    background: rgba(0,0,0,0);
    border: 0;
    font-weight: 300;
    font-size: 14px;
    color: #fff;
    opacity: .5;
}

.custom-pagination-js #page button {
    color: #ffffff;
    opacity: 1;
    padding: 8px 17px;
    cursor: pointer;
}

.custom-pagination-js #page button.current {
    background: #fcba1d;
    border-radius: 10px;
}
.custom-pagination-js .prev-nav, .custom-pagination-js .next-nav {
    display: none;
}
@media (min-width: 600px) {
.custom-pagination-js .prev-nav, .custom-pagination-js .next-nav {
    display: block;
}
}
.alert-phone {
    border: 1px solid #dd3b32 !important;
}
.d-50-m-100 {
	width: 100% !important
}
@media (min-width: 1400px) {
.d-50-m-100 {
	width: 50% !important
}
}

