/*
Theme Name: Ankon
Author: brych.studio
Author URI: https://brych.studio
Description: Шаблон для сайту Ankon
Version: 1.1
Text Domain: ankon
*/

html,
body {
  height: 100%;
    color: #000;
	font-family: 'Montserrat', sans-serif;
}

img {
    border-radius: 4px;
}

.uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-h5, .uk-h6, .uk-heading-2xlarge, .uk-heading-large, .uk-heading-medium, .uk-heading-small, .uk-heading-xlarge, h1, h2, h3, h4, h5, h6, .uk-navbar-item, .uk-navbar-nav>li>a, .uk-navbar-toggle {
	font-family: 'Montserrat', sans-serif;
}

.uk-h1, h1 {
    font-weight: 500;
}

a {
  color: rgba(0, 0, 0, 0.75);
  text-decoration: none;
}

a:hover {
  color: #000;
  text-decoration: none;
}

article {
	text-align: justify;
}

.back-button {
	border: 1px solid #000;
    padding: 15px 25px;
    border-radius: 4px;
    display: block;
    margin: 25px auto;
    text-align: center;
    width: fit-content;
}

.back-button i {
	margin-right: 5px;
}

.back-button:hover {
	background-color: #000;
	color: #fff;
}



/* Colors */ 

body .uk-navbar-nav>li>a, body .uk-navbar-nav > li.uk-active > a {
    color: #000;
}

.uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-h5, .uk-h6, .uk-heading-2xlarge, .uk-heading-large, .uk-heading-medium, .uk-heading-small, .uk-heading-xlarge, h1, h2, h3, h4, h5, h6 {
    color: #000;
}

#menu-top.uk-navbar-nav > * + * {
    border-left: 1px solid #000;
}


/* Logo */

.logo-sign {
  position: absolute;
  top: 50%;
  transform: translate(-125%, -55%);
  height: 48px;
}

.logo-text {
  height: 24px;
}

.logo-full {
  height: 32px;
}

.custom-title {
  font-size: 1.25rem !important;
}

.custom-content p,
.custom-content li {
  font-size: 1.125rem;
  line-height: 1.5;
}

.custom-content ul:not(.uk-slider-items) {
  list-style-type: none;
  padding: unset;
}

.custom-content ul > * + *:not(.custom-slider-item) {
  border-top: 1px solid #f5f5f5;
}

.custom-content li:not(.custom-slider-item) {
  padding: 0.75rem 0;
}

.custom-content--contacts * {
  margin: unset;
}

.custom-language-switcher * {
  color: rgba(255, 255, 255, 0.75) !important;
}

.custom-language-switcher li.active * {
  color: rgba(255, 255, 255, 1) !important;
}

.custom-language-switcher ul {
  display: flex;
  align-items: center;
  justify-content: center;
	padding: 0.75rem;
	background-color: #f8f8f8;
}

.custom-language-switcher ul > * + * {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  margin-left: 0.75rem;
  padding-left: 0.75rem;
}

.custom-language-switcher--dark * {
  color: rgba(0, 0, 0, 0.5) !important;
}

.custom-language-switcher--dark li.active * {
  color: rgba(0, 0, 0, 0.75) !important;
}

.custom-language-switcher--dark ul > * + * {
  border-left: 1px solid rgba(0, 0, 0, 0.5);
}

.custom-overlay {
  background: rgba(34, 34, 34, 0.5);
}

.custom-thumbnav {
  margin-bottom: -15px;
}

.custom-thumbnav > li {
  margin-bottom: 15px;
}






/* Main Navigation */

.uk-navbar-nav > li > a {
  display: block;
  font-size: 1rem;
  min-height: unset;
  padding: 1rem;
  transition: all 0.33s ease !important;
}

.uk-navbar-nav > li.uk-active > a {
  color: #477b7b;
}

#menu-top.uk-navbar-nav {
  border: 1px solid #000;
	border-radius: 4px;
}

#menu-top.uk-navbar-nav > * + * {
  border-left: 1px solid #000;
}

.custom-active-sticky > #menu-top.uk-navbar-nav {
  border: unset;
}

.custom-active-sticky > #menu-top.uk-navbar-nav > li > a {
  padding: 0.25rem 1rem;
}

.custom-offcanvas {
  background-color: rgba(0, 0, 0, 0.9);
}

.feedback-form__button {
    background-color: #000;
}

.home .feedback-form__button {
    background-color: rgba(255, 255, 255, 0.2);
}

.uk-offcanvas-bar .uk-nav-default .feedback-form__button {
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 4px;
    font-size: 18px;
    margin-top: 25px;
}

.uk-offcanvas-bar .uk-nav-default .feedback-form__button a {
    color: #fff;
}

.uk-offcanvas-bar .custom-language-switcher ul, .home .custom-language-switcher ul  {
    background-color: transparent;
}

.uk-navbar-nav>li.feedback-form__button>a {
    color:#fff;
}







/* Home Page */

.home-divider--vertical {
  height: 2rem;
}

.home-menu.uk-navbar-nav * {
  color: rgba(255, 255, 255, 0.75) !important;
}

.home-menu.uk-navbar-nav * :hover {
  color: rgba(255, 255, 255, 1) !important;
}

.home-menu.uk-navbar-nav > * {
  min-width: 150px;
  text-align: center;
}

.home-menu.uk-navbar-nav {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.home-menu.uk-navbar-nav > * + * {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}




/* Services Archive Page */

.services.services-grid {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
flex-wrap: wrap;
	gap:30px;
}


.services-grid .service {
  width: calc(50% - 15px);
  display: block;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.05);
  cursor: pointer;
  overflow: hidden;
  transform: translateZ(0);
  transition-delay: 0.1s;
  transition: all 0.3s ease-out;
}

.services-grid  .service:hover {
  box-shadow: rgba(45, 45, 45, 0.05) 0px 1px 2px,
    rgba(49, 49, 49, 0.05) 0px 2px 4px, rgba(42, 42, 42, 0.05) 0px 4px 8px,
    rgba(32, 32, 32, 0.05) 0px 8px 16px;
  transform: translate(0, -4px);
}

.services-grid  .service-img {
	width: 100%;
	height:400px;
	object-fit: cover;
}

.services-grid  .service-title {
  font-weight: 600;
  letter-spacing: 0.25px;
  text-align: center;
  text-transform: uppercase;
	    margin: 0;
	padding: 15px;
}



/* Service Page */

.single-service__img {
	text-align: center;
	margin-bottom: 45px;
}

.single-service__img img {
	width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 4px;
	box-shadow: 0 2px 8px 0 rgb(0 0 0 / 5%);
}


.single-service__info {
	text-align: justify;
}




/* Project Page */

.single-project__info {
	background-color: #000;
	padding: 25px 25px 5px;
	color: #fff;
	border-radius: 4px;
	text-align: justify;
}






/* Blog Archive Page */

.posts.posts-grid {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
flex-wrap: wrap;
	gap:30px;
}


.posts-grid .post {
  width: calc(50% - 15px);
  display: block;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.05);
  cursor: pointer;
  overflow: hidden;
  transform: translateZ(0);
  transition-delay: 0.1s;
  transition: all 0.3s ease-out;
}

.posts-grid  .post:hover {
  box-shadow: rgba(45, 45, 45, 0.05) 0px 1px 2px,
    rgba(49, 49, 49, 0.05) 0px 2px 4px, rgba(42, 42, 42, 0.05) 0px 4px 8px,
    rgba(32, 32, 32, 0.05) 0px 8px 16px;
  transform: translate(0, -4px);
}

.posts-grid  .post-img {
	width: 100%;
	height:400px;
	object-fit: cover;
}

.posts-grid  .post-title {
  font-weight: 600;
  letter-spacing: 0.25px;
  text-align: center;
  text-transform: uppercase;
	    margin: 0;
	padding: 15px;
}



/* Blog Post Page */

.single-post__img {
	text-align: center;
	margin-bottom: 45px;
}

.single-post__img img {
	width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 4px;
	box-shadow: 0 2px 8px 0 rgb(0 0 0 / 5%);
}


.single-post__content {
	    text-align: justify;
}




/* Contacts Page */


.contact-form {
	margin: 70px 0;
    padding: 35px;
    background-color: #ffffff;
    border: 1px solid #000;
	border-radius: 4px;
	box-shadow: 0 2px 8px 0 rgb(0 0 0 / 5%);
	display: flex;
    justify-content: flex-start;
    align-items: center;
}

.contact-form h3 {
    margin: 0 0 15px;
}

.contact-form .contact-form__info {
	    flex: 1;
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.contact-form .contact-form__info-item {
	margin-bottom: 25px;
}

.contact-form .contact-form__info-item h4 {
	margin: 0 0 5px;
}

.contact-form .contact-form__info-item p {
	margin: 0px;
}

.contact-form .contact-form__info-item i {
	margin: 0 0 5px;
	font-size: 1.2rem;
}

.contact-form .contact-form__fields {
	 flex: 1;
	display: flex;
	flex-direction: column;
}

.contact-form .contact-form__fields p {
	margin: 0 0 15px;
}

.contact-form .contact-form__fields input {
	height: 45px;
    max-height: 45px;
}

.contact-form .contact-form__fields .wpcf7-form-control-wrap, .contact-form .contact-form__fields input[type="submit"] {
	width: 100%;
}

.contact-form .wpcf7-spinner {
    padding: 0;
    margin: 0;
    position: absolute;
    right: 7px;
    bottom: 7px;
}



/* Footer bottom */

.feedback-form {
	margin: 70px 0 0px;
    padding: 35px;
    background-color: #ffffff;
    border: 1px solid #000;
	border-radius: 4px;
	box-shadow: 0 2px 8px 0 rgb(0 0 0 / 5%);
	position: relative;
}

.sg-popup-builder-content .feedback-form {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.feedback-form h3 {
    margin: 0 0 15px;
}

.feedback-form .feedback-form__fields {
	display: flex;
	flex-wrap: wrap;
	gap:25px;
}

.feedback-form .feedback-form__fields input {
	height: 45px;
    max-height: 45px;
}

.feedback-form .feedback-form__fields .wpcf7-form-control-wrap, .feedback-form .feedback-form__fields input[type="submit"] {
	width: calc( 50% - 13px );
}

.sg-popup-builder-content .feedback-form .feedback-form__fields .wpcf7-form-control-wrap, .sg-popup-builder-content .feedback-form .feedback-form__fields input[type="submit"] {
	width: 100%;
}

.feedback-form .wpcf7-spinner {
    padding: 0;
    margin: 0;
    position: absolute;
    right: 7px;
    bottom: 7px;
}


/* Footer */

footer.uk-container {
	background-color: #000;
	color: #fff;
	margin: 70px 0 0 0;
	max-width: 100%;
	padding: 0 0 25px;
}

footer.uk-container .uk-icon-button {
    background: #000;
    color: #fff;
	width: 40px;
    height: 40px;
    border-radius: 100%;
}

footer .site-footer__row {
	width: 100%;
	display: flex;
    justify-content: space-between;
	align-items: center;
	padding-top: 25px;
}

footer.uk-container:before, footer.uk-container:after, .site-footer__row:before, footer .site-footer__row:after {
	content: none;
}


@media screen and (min-width: 1240px) {


}


@media screen and (max-width: 1240px) and (min-width: 960px) {
	
.services-grid  .service-title, .postss-grid  .post-title {
	font-size:23px;
}
	
.home-menu.uk-navbar-nav > li {
	min-width: 120px;
}

}

@media screen and (max-width: 959px) and (min-width: 640px) {
	
.home-menu.uk-navbar-nav > li {
	min-width: 100px;
	}
	
.uk-navbar-nav > li > a {
    font-size: 0.8rem;
    padding: 0.72rem;
}
	
.uk-navbar-center:not(:only-child) {
    left: 30px;
    transform: translate(0,-50%);
}
	
}

@media screen and (min-width:960px) {

.uk-container .contacts__map {
	width: calc( 100% + 80px);
    margin: 0 0 -70px -40px;
}
	
.uk-h2, h2 {
    font-size: 1.8rem;
}

}

@media screen and (max-width: 959px)  {

.services-grid  .service-title, .posts-grid  .post-title {
	font-size:23px;
}
	
}



@media screen and (min-width: 728px) {
  .home-menu.uk-navbar-nav {
    flex-direction: row;
  }

  .home-menu.uk-navbar-nav > * + * {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-top: unset;
    margin-left: -1px;
  }
	
}


@media screen and (min-width: 640px) {
  .logo-sign {
    height: 72px;
  }

  .logo-text {
    height: 32px;
  }

  .logo-full {
    height: 48px;
  }
	
}


@media screen and (max-width: 767px) {
	
	.services-grid .service, .posts-grid .post {
	  width: 100%;
	}

	.services-grid  .service-title, .posts-grid  .post-title {
		font-size:20px;
	}

	footer.site-footer .site-footer__row {
		flex-direction: column;
		text-align: center;
	}

	footer.site-footer .site-footer__info {
		margin-bottom: 15px;
	}
	
	.uk-margin-medium-bottom {
    margin-bottom: 20px!important;
}
	
	.uk-h1, h1 {
    font-size: 1.6rem;
	}
	
	.custom-content p, .custom-content li {
    font-size: 1rem;
    line-height: 1.4;
}
	
	.single-project__info {
    text-align: left;
}

}

@media screen and (max-width: 480px) {


}
