/*!
Theme Name: basdent
Version: 1.0.0
Tested up to: 8.4
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: basdent
*/



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

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

.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;
}

/*--------------------------------------------------------------
# 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: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

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

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

.grecaptcha-badge {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.blockUI::before {
  content: "";
  width: 48px;
  height: 48px;
  border: 5px solid #fff;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
  position: relative;
  top: 35%;
  left: 50%;
}

.title-hidden {
  display: none;
}

.white-popup form>div {
  display: flex;
  flex-direction: column;
  align-items: center;
  /*     padding: 0 68px; */
  gap: 30px;
}

.white-popup form p.name label {
  z-index: 1;
}
.intl-tel-input.allow-dropdown .flag-container:hover .selected-flag {
	background: transparent;
}
.intl-tel-input.separate-dial-code .selected-flag {
	 background: transparent;
  outline: none;
  border: none;
}

.intl-tel-input.separate-dial-code .selected-flag:focus {
  background: transparent;
}

.white-popup .wpcf7-not-valid-tip {
  font-size: 14px;
  position: absolute;
  bottom: 0;
  left: 20px;
  transform: translateY(100%)
}
.white-popup .wpcf7-form-control-wrap {
  display: block;
}

#contacts .wpcf7-form-control-wrap {
  display: block;
}

.white-popup .wpcf7-spinner {
  display: block;
  margin: 0 auto;
  margin-top: 5px;
}

#contacts .wpcf7-spinner {
  display: block;
  margin: 0 72px 0 auto;
  margin-top: 5px;
}

.intl-tel-input .country-list {
/*   top: 105%; */
}

#contacts form div:has(input) {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
	padding-bottom: 30px;
}

#contacts .wpcf7-response-output {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 90%;
  border: none;
  margin: 0;
  padding: 0;
  font-size: 12px;
}

#contacts .wpcf7-not-valid-tip {
  font-size: 14px;
  position: absolute;
  bottom: 0;
  /* 	left: 20px; */
  transform: translateY(100%)
}
#now form {
	flex-direction: column;
}

#now form > div:has(input) {
	display: flex;
    align-items: center;
    gap: 30px;
}
#now form > div:has(input) p.submit {
	position: relative;
	
}
#now form > div:has(input) p.submit .wpcf7-spinner {
	position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
#now .wpcf7-not-valid-tip {
  font-size: 14px;
  position: absolute;
  bottom: 0;
  left: 20px;
  transform: translateY(100%)
}
#now .wpcf7-form-control-wrap {
  display: block;
}

#now .wpcf7-response-output {
	border: none;
	margin: 0;
	font-size: 12px;
	margin-top: 20px;
}
.lang-kz .header-mob__contacts {
	max-width: 480px;
}

.awards__row p{
width: 100%;
}

@media screen and (max-width: 1110px) {
	#now form > div:has(input) {
		flex-wrap: wrap;
	}
	#now form > div:has(input) p.submit .wpcf7-spinner {
		top: 100%;
        left: 50%;
        transform: translate(-50%, 50%);
        margin: 0;
}
}
@media screen and (max-width: 900px) {
	.lang-kz .footer__menu .menu {
        flex-direction: column;
        align-items: center;
    }
}
@media screen and (max-width: 768px) {
  .white-popup form>div {
    gap: 20px;
  }

  .white-popup .wpcf7-not-valid-tip {
    font-size: 12px;
  }

  #contacts .wpcf7-not-valid-tip {
/*     font-size: 11px; */

  }
	#contacts form div:has(input) {
	padding-bottom: 0;
}
  #contacts .wpcf7-response-output {
    font-size: 11px;
	  	bottom: 30px;
  }
	#contacts .wpcf7-spinner {
  display: block;
  margin: 0 60px 0 auto;
  margin-top: 5px;
}
}

@media screen and (max-width: 480px) {
  .white-popup form>div {
    gap: 18px;
  }

  .white-popup .wpcf7-not-valid-tip {
    font-size: 10px;
  }

  #contacts .wpcf7-not-valid-tip {
    font-size: 10px;
  }

  #contacts .wpcf7-response-output {
    font-size: 10px;
  }
	#now .wpcf7-response-output {
	font-size: 10px;
}
}