/*!
Theme Name: annagrechka
Theme URI: https://neoagency.com.ua
Author: https://neoagency.com.ua
Author URI: https://neoagency.com.ua
Description: Interior design
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: annagrechka

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

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
@font-face{font-family:Montserrat;font-style:normal;font-weight:400;font-display:swap;src:url('fonts/Montserrat-Regular.ttf');}
@font-face{font-family:MontserratMedium;font-style:normal;font-weight:500;font-display:swap;src:url('fonts/Montserrat-Medium.ttf');}
@font-face{font-family:MontserratBold;font-style:normal;font-weight:700;font-display:swap;src:url('fonts/Montserrat-Bold.ttf');}
/*
----------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# Utilities
	- Accessibility
	- Alignments

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

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* 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 {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

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

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}



/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}
body .wpcf7-not-valid-tip, body .wpcf7-response-output{font-size:0.5em;}
/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}
.btn-primary{
	background: #F7F3EC;
	border: none;
	box-shadow: 0 0 0 1px #2e3132!important;
	box-sizing: border-box;
        color:#000;
        size:18px;
        line-height:22px;
        padding:13px 75px;
        border-radius:0px;
	backface-visibility: hidden;
}
/*
.btn-primary:hover, body .btn-primary.focus, body .btn-primary:focus, body .btn-primay:active, .btn-primary.active:focus,.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled):active:focus{color:#000000;background:#efe9e1!important;border:1px solid #252525;box-shadow:none;outline:none;}
*/
.btn, input[type="submit"]{transition:all 0.5s;backface-visibility: hidden;transform: translateZ(0);overflow:hidden;}
.btn:after{z-index:-1;content:"";position:absolute;height:100%;display:block;background:#2e3132!important;color:#fff;width: 0px;left: 0;bottom: 0;top:0;transition:all 0.5s;}
.btn:hover, #banner-btn:hover, .btn-primary:hover{border:none;color:#fff;background:transparent;}

.btn:hover:after, #banner-btn:hover:after, .btn-primary:hover:after{width:100%;}
input[type="submit"]:hover{background:#2e3132;color:#fff;border:1px solid #2e3132;}
.btn, .btn:focus, .btn:hover{outline:none;box-shadow:none;}

#orderDesign input{background:#f3eeec;border:1px solid #f3eeec;}
#orderDesign input[type="submit"]{background:#ddc5a9;border:1px solid #ddc5a9;}
#orderDesign .modal-header{border:none;}
#orderDesign .modal-content{padding: 15px 50px;text-align:center;}
/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

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

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: 'Montserrat', sans-serif;
	font-size: 18px;
	line-height: 22px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

h2{font-size:32px;}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #2e3132;
}

a:visited {
	color: #2e3132;
}

a:hover,
a:focus,
a:active {
	color: #252525;
}

a:focus {
	outline: none;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid #f3eeec;
	border-radius: 0px;
	background: #f3eeec;
	color: #000000;
	line-height: 1;
	padding: 25px 76px;
}

button:hover{outline:none;}
input[type="button"]:hover,
input[type="reset"]:hover{
	border: 1px solid #f3eeec;
	border-radius: 0px;
	background: #f3eeec;
	color: #000000;
	line-height: 1;
	padding: 25px 76px;
	outline:none;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	outline:none;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #c4c4c4;
	border: 1px solid #2e3132;
	border-radius: 0px;
	padding: 25px;
	background:#2e3132;
	outline:none;
	width:100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #c4c4c4;
	outline:none;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: inline-block;
        position:absolute;
        top:180px;
        left:-320px;
        transition: all ease 0.6s;
        background:rgba(255,255,255,0.9);
        z-index:99999;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 30px;
        display:block;
}
.main-navigation.show{left:0;}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
        padding-bottom:50px;
}

.main-navigation a {
	display: block;
	text-decoration: none;
        font-size:18px;
        line-height:22px;
        color:#000000;
}
.main-navigation .current_page_item a{border-bottom:1px solid #000;}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

#sandwich{
	display:inline-block;
	width: 38px;
        height: 27px;
        cursor: pointer;
        position:absolute;
        top:39px;
        right:0;
}
.sw_top {
  position: relative;
  top: 0;
  left:0px;
  width: 38px;
  height: 4px;
  background: #373a3b;
  border: none;
  transition: transform 0.5s, top 0.2s;
}
.sw_bottom {
  position: relative;
  width:38px;
  height: 4px;
  top: 7px;
  background: #373a3b;
  border: none;
  transition: transform 0.5s, top 0.2s;
  transition-delay: 0.2s, 0s;
}
.sw_footer {
  position: relative;
  width: 38px;
  height: 4px;
  left:0px;
  top: 14px;
  background: #373a3b;
  border: none;
  transition: all 0.5s;
  transition-delay: 0.1s;
}
#sandwich.active .sw_top {
   top: 9px; 
   transform: rotate(135deg);
   right: -8px;
}
#sandwich.active .sw_bottom {
  top: 10px;
  opacity:0;
  transform: rotate(-115deg);
  right: 8px;
}
#sandwich.active .sw_footer {
  top: 2px;
  left:0px;
  transform: rotate(45deg);
}
/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* 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: 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;
}
/*===Swiper slider start===*/
 .swiper-container {
      width: 100%;
      height: 100%;
}

    .swiper-slide {
      text-align: center;
      font-size: 18px;
      background: #fff;

}
/*===End swiper slider===*/
/* 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;
}
/*======= Header part start ========*/
.header-wrapper{position:sticky;background:rgb(255, 255, 255, 0.85);top:0;z-index:999999;}
header{position:relative;overflow:hidden;}
.site-branding{width:250px;display:inline-block;}
.site-branding svg{max-width:250px;padding-top:17px;}
.site-branding:after{content:" ";width:100%;height:2px;background:#c2c2c2;display:block;position:absolute;bottom:36px;left:250px;}
#top-links{
	display:inline-block;
	position: absolute;
	right: 164px;
    	top: 21px;
}
.top-tel{margin-right:19px;color:#252525;font-size:22px;line-height:27px;font-weight:700;position:relative;top:5px;transition:all 0.5s;}
.top-tel:hover{color:#ddc5a9;text-decoration:none;}
.btn-top{transition:all 0.5s;padding:16px 0px 10px 50px;border:none;box-shadow: 0 0 0 1px #252525!important; border-radius:0px;margin-right:7px;outline:none;}
.btn-top:hover{background:#f7f3ec;}
.whatsapp-icon{padding-right:30px;padding-left:20px;}
.top-facebook svg path, .top-insta .insta-bg{transition:all 0.5s;}
.top-facebook svg path { fill: #424648; }
.top-facebook:hover svg path, .top-insta:hover .insta-bg{fill:#ddc5a9;}
.top-facebook:hover, .top-insta:hover {text-decoration: none;}
/* .top-facebook .face-bg, .top-insta .insta-bg{transition:all 0.5s;}
.top-facebook:hover .face-bg, .top-insta:hover .insta-bg{fill:#ddc5a9;} */
.top-tel .phone-icon{display:none;}
/*======= Header part end  ========*/

/*======= Banner start ===========*/
#banner{padding-bottom:40px;}
#banner h1 {
	font-size: 45px;
        line-height:59px;
        font-weight:700;
        color:#000;
        margin-bottom:90px;
        font-family:'MontserratBold';
}
#banner .site-title{display:flex;flex-direction:column;justify-content:center;}
#banner .btn{max-width:290px;}
/*#banner .btn:hover{background:#efe9e1;border:1px solid #252525;color:#000;}*/
#banner h1 span{text-transform:uppercase;}
/*======= Banner end =========== */

/*======= Author start ===========*/
#author{padding-top:140px;padding-bottom:140px;border-top:1px solid #252525;border-bottom:1px solid #252525;}
#author .title-create, #author .title-part-comm{display:block;font-size:24px;line-height:29px;}
#author .title-enigma, #portfolio h2, #works h2{display:block;text-transform:uppercase;font-family:'MontserratBold';font-size:36px;line-height:54px;}
#author .title-design-int{display:block;font-family:'MontserratBold';font-size:36px;line-height:54px;}
#author .author-name, #author .profession{font-size:24px;line-height:33px;display:block;}
#author .about-link, #portfolio .btn-primary{margin-top:37px;display:inline-block;padding: 24px 100px;}
#author .title-part-comm{padding-bottom:30px;}
#portfolio h2, #works h2{padding-bottom:45px;margin-bottom:0;}
/*======= Author end =========== */

/*======= works ===========*/

/*======= Portfolio start  =========*/
#portfolio{padding-top:140px;padding-bottom:140px;}
.portfolio-text, .works-text{font-size:24px;line-height:29px;}
#portfolio h3{font-size:24px;line-height:36px;text-transform:uppercase;font-family:'MontserratBold';padding-top:50px;}
#portfolio h3 span{font-family:'Montserrat';text-transform:lowercase;}
#portfolio h3:after{content:"";height:1px;width:216px;background:#252525;display:block;position:relative;top:19px;}
#portfolio img{max-height:640px;min-height:640px;object-fit:cover; width:100%;height:100%;}
/*======= Portfolio end   =========*/

/*======= Design project start =====*/
#design-project{padding-top:140px;padding-bottom:140px;border-top:1px solid #252525;border-bottom:1px solid #252525;}
#design-project h2{font-size:36px;line-height:54px;font-family:'MontserratBold';text-transform:uppercase;/*padding-bottom:120px;*/}
#design-project h3{font-size:28px;line-height:30px;font-family:MontserratBold;text-transform:uppercase;position:relative;padding-top:44px;}
#design-project h3.concept-title{padding-top:85px;}
#design-project h4{font-size:24px;line-height:36px;font-weight:bold; display: flex; gap:5px;}
#design-project p{padding-left:26px;}
#design-project h3:after{width:240px;height:1px;background:#252525;content:" ";display:block;position:absolute;right:-90px;bottom:3px;z-index:999;}
.concept-block{background:#fAf9f6;padding:85px 85px 42px;}
.standart-block{background:#f7f3ec;padding:42px 85px 42px;}
.primium-block{background:#efe9e1;padding:42px 85px 85px;}
.button-block{padding-top:45px;flex-wrap:wrap;}
#design-project .btn-primary{display:flex;padding:13px 50px 13px 75px;align-items:center;justify-content:center;width:48%;}
#design-project .icon-svg{padding-left:20px;}
#desing-project .svg-path{transition:all 0.5s;}
#design-project .btn-dark{background:#ddc5a9;}
#design-project .btn-primary:hover .svg-path{fill:#fff;transition:all 0.7s;}
/*======= Design project end ===== */

/*======= Works start ==========*/
#works, .uslugi-text{padding-top:140px;padding-bottom:140px;}
#works .swiper-button-prev, .single-post .swiper-button-prev  {
  left:0px;width:50px;outline:none;
  background: url("/wp-content/themes/annagrechka/images/arrow_left.png") no-repeat left!important;content:"";
}

#works .swiper-button-next, .single-post .swiper-button-next {
  right:0px;width:50px;outline:none;
  background: url("/wp-content/themes/annagrechka/images/arrow_right.png") no-repeat right!important;content:"";
}
#works .swiper-button-next:after, #works .swiper-button-prev:after, .single-post .swiper-button-next:after, .single-post .swiper-button-prev:after{content:"";font-size:0px;}
#works h4{margin:0px;margin-top:-45px;font-size:18px;line-height:22px;text-align:left;padding-left:5px;}
#works .swiper-slide .btn-work{position:relative;bottom:103px;background:rgba(40,49,50,0.8);color:#fff;padding:22px 86px;opacity:0;border:none;border-radius:0px;}
#works .swiper-slide:hover .btn-work{opacity:1;}
.gallery-home.swiper-container {
    padding-bottom: 36px;
}

/*======= Works end  ==========*/

/*======= Dev design start =======*/
#dev-design{padding-top:140px;padding-bottom:50px;background:#373A3C;color:#fff;}
#dev-design h2{font-size:36px;line-height:54px;font-family:'MontserratBold';text-transform:uppercase;margin-bottom:0px;padding-bottom:40px;}
#dev-design p{font-size:24px;line-height:30px;margin-bottom:0px;padding-bottom:50px;}
#dev-design .block-wrap{width:450px;}
#dev-design .row{height: 860px;flex-direction: column;align-content: flex-start;}
#dev-design .dev-title{max-height:380px;}
#dev-design .wpcf7 form .wpcf7-response-output{margin-top:-30px;margin-bottom:0px;}

/*======= Dev design end  =======*/

/*=======Insta feed section start========*/
#insta-feed{background:#2E3132;color:#fff;padding-bottom:140px;padding-top:140px;border-color:#2E3132;}
#insta-feed h2{font-size:24px;line-height:30px;padding-left:150px;}
#insta-feed .wdi_feed_thumbnail_1 .wdi_feed_container {
    background-color: #2e3132;
    border-bottom: 5px solid #2e3132;
}

#insta-feed .wdi_feed_thumbnail_1 .wdi_photo_wrapinner {
    border: 5px solid #2e3132;
    background-color: #2e3132;
    border-color:#2E3132;
}
#insta-feed .wdi_feed_theme_1 .wdi_feed_wrapper {background-color: #2e3132;}
#insta-feed .wdi_layout_th .wdi_shape_square .wdi_img {
    width: 320px;
    height: 320px;
    object-fit: cover;
}
.insta-block iframe{
    color-scheme: none !important;
    background: transparent !important;
}
/*=======Insta feed section end ========*/

/*=======Footer section start=======*/
footer{background:#262728;color:#c4c4c4;font-size:18px;line-height:22px;padding-top:56px;padding-bottom:27px;} 
.footer-arrow{padding-bottom:25px;}
.footer-arrow svg{margin:0 auto;}
.footer-facebook{margin-right:15px;}
.copyright{line-height:30px;}
.foot-socials{text-align:right;}
.top-tg svg path, .top-vk svg path {
	fill: #C4C4C4;
}
.footer-facebook-svg, .footer-insta-svg{transition:all 0.5s;}
.footer-insta {margin: 0 10px;}
.footer-facebook:hover .footer-facebook-svg,.top-tg:hover svg path, .top-vk:hover svg path, .footer-insta:hover .footer-insta-svg{fill:#ddc5a9;}
.footer-arrow svg{cursor:pointer;}
/*=======Footer section end=======*/
/*====Page start===============*/
.page h1, #portfolio h1, .tag h1{padding-top:15px;padding-bottom:75px;margin:0;text-transform:uppercase;font-family:MontserratBold;}
.tag h1{padding-top:70px;padding-bottom:70px;margin:0;text-transform:uppercase;font-family:MontserratBold;}
.page #author{border-top:none;}
#author-text{padding-top:100px;}
#author-text h2{font-size:36px;line-height:44px;font-family:MontserratBold;margin:0px;padding-bottom:35px;}
#uslugi, #contacts{padding-top:140px;}
#contacts{padding-bottom:100px;}
#contact-links{padding-bottom:75px;}
#contacts h2{font-size:36px;line-height:44px;font-family:MontserratBold;margin:0px;padding-bottom:45px;}
#contacts input[type="text"], #contacts input[type="email"], #contacts input[type="url"],  #contacts  input[type="tel"], #contacts  input[type="date"],  #contacts textarea {background:#fff;color:#252525;}
#error-page{padding-top:140px;padding-bottom:70px;min-height:calc(100vh - 320px);}
#portfolio-page, #chastnie-intereri{padding-bottom:70px;}
#portfolio .portfolio-image{padding-bottom:140px;}
#portfolio .portfolio-image_inner img {
	height: 248px;
	max-height: auto;
	object-fit: cover;
	width: 100%;
	min-height: auto;
}
#portfolio .col-md-6:first-child img {
    max-width: 456px;
}
#portfolio .portfolio-image_inner .col-md-6:first-child img {
    max-width: 460px;
}
#portfolio .portfolio-description h2{font-size:24px;font-weight:bold;line-height:36px;margin:0px;padding-bottom:15px;}
.portfolio-description .border-bottom, .single-post .border-bottom{padding-bottom:90px;margin-bottom:90px;border-color:#2e3132!important;}
.portfolio-item-title{padding-top:30px;padding-bottom:30px;margin:0;}
#chastnie-intereri h2{font-size: 45px;line-height: 59px;margin: 0px;font-family: 'MontserratBold';text-transform:uppercase;padding-bottom:45px;}
#chastnie-intereri h1{font-size:36px;line-height:44px;padding-bottom:30px;}
#chastnie-intereri h3{font-size:24px;font-weight:bold;line-height:36px;}
#chastnie-intereri article{padding-bottom:50px;}
.single-post .site-main{padding-bottom:100px;}
.single-post h1{font-family:MontserratBold;padding-top:40px;}
.single-post header h2{font-family:Montserrat;font-weight:normal;}
.single-post h2{font-weight:bold;}
.single-post .category-title{border-bottom:1px solid #2e3132!important;}
.single-post .category-title h3{font-family:MontserratBold;font-size:36px;text-transform:uppercase;padding-bottom:40px;}
.single-post .category-title h4{padding-bottom:40px;}
.single-post .options-block{padding-top:75px;padding-bottom:50px;}
.arrow-contur{padding:0 30px;margin:0px;position:relative;}
.arrow-contur .gallery-home .wp-post-image{max-height:250px;height: 100%; object-fit:cover}
.single-post .arrow-contur{padding:0 30px;margin:0 -30px;position:relative;}


#filter-block ul{border-top: 1px solid #252525;border-bottom:1px solid #252525;margin:0px;list-style:none;display:flex;flex-wrap:wrap;justify-content:center;padding:45px 0px;}
#filter-block li{padding:14px 30px;cursor:pointer;border:1px solid transparent;margin:10px 0;}
#filter-block li.active{border:1px solid #252525;}
.posts-section{padding-top:80px;}
/* .posts-section article a { display: inline-block;} */
.posts-section article a img { display: flex; max-height: 384px; height: 100%; object-fit: cover;}
.page-template-uslugi #design-project h2, .page-template-uslugi h2{font-size:34px;text-transform:uppercase;font-family:MontserratBold;}
.uslugi-text h2{padding-bottom:40px;}
.uslugi-text ul, .uslugi-text p{line-height:26px;}
.uslugi-text ul, .single-page ul{list-style: none; padding-left: 15px; margin-left: 0px;}
.complectation{padding-top:60px;}
.port-attr-wrap{background:#FAF9F6;padding:35px;display:flex;justify-content:center;align-items:center;}
.port-inner-wrap div{padding:15px 0;min-height:65px;}
.port-inner-wrap span{display:inline-block;width:130px;}
.port-second-title{font-size:24px;padding-bottom:30px;}
.port-inner-wrap i{padding-right:45px;}
.port-attr-wrap{border: 1px solid #e4d2bc;margin-bottom:15px;}
.single-post .img-wrap{height:700px;overflow:hidden;}
.single-post .thumb-img-wrap{height:200px;overflow:hidden;}
.single-post .img-wrap img, .single-post .thumb-img-wrap img{object-fit:cover;max-height:100%;object-position:center;min-height:100%;min-width:100%;}
#related-works{padding-top:90px;border-top:1px solid #2e3132;margin-top:85px;}
#related-works h2{padding-bottom:40px;margin:0;text-transform:uppercase;font-weight:bold;}
#related-works .portfolio-item-title{padding-top: 20px;padding-bottom: 10px;}
.page-template-uslugi #design-project h4 {font-size: 18px;font-weight:normal;}
.page-template-uslugi #design-project h5{font-weight:bold;line-height:32px;margin:0px;}
.page-template-uslugi #design-project h5 span {text-decoration: line-through;}
#orderDesign .modal-title{font-weight:bold;} 
.concept-border{border-top:1px solid #252525;margin-top:23px;}
/*====Page end===============*/
/*====Page Politic===============*/
.politic p {
	margin-bottom:40px;
	line-height: 26px;
}

.politic h2 {
	margin-bottom:20px;
}
/*====Breadcrumbs start====*/
#breadcrumbs{padding-top:90px;padding-bottom:60px;margin-bottom:0px;}
#breadcrumbs a, #breadcrumbs span{color:#c4c4c4;font-size:16px;}
#breadcrumbs strong{font-weight:normal;color:#252525;}
/*====Breadcrumbs end====*/

.tgme_widget_message {
    background: transparent!important;
}

@media screen and (min-width: 1500px){
	#masthead.container, #insta-feed .container{padding-left:15px;padding-right:15px;}
        .container{max-width:1440px;padding-left:150px;padding-right:150px;}
}

@media screen and (max-width: 1400px){
	#top-links{right:110px;}
	#insta-feed h2 {padding-left:15px;}
}

@media screen and (max-width: 1199px){
	#design-project h3:after {width: 170px;}
	#design-project .button-block .btn{width:100%;margin-bottom:30px;}
	#author h1{padding-bottom:20px;}
	#author .title-part-comm{padding-bottom: 30px;}
	.posts-section article a img{max-height: 310px;}
}

@media screen and (max-width: 991px){
	#top-links .top-facebook, #top-links .top-insta, #top-links .top-tel .phone-number{display:none;}
        .top-tel{top:3px;}
        .top-tel .phone-icon{display:inline-block;}
        #top-links{right:40px;}
        .btn-top{padding: 8px 0px 5px 15px;margin-right:15px;}
        .btn-top svg{width:18px;}
        .whatsapp-icon{padding-right: 10px;padding-left: 10px;}
        #top-links{top:26px;}
	#sandwich{top:37px;}
	#dev-design .block-wrap {width: 100%;}
	#dev-design .row{flex-direction:row;height:auto;}
	.dev-title{order:1;}
	#dev-design .img-block{order:2;text-align:center;padding-bottom:90px;}
	.dev-form{order:3;}
	#design-project h3:after {width: 120px;}
	.single-post .img-wrap {height: 580px;}
	.port-attr-wrap {padding:35px 15px;}
	.port-inner-wrap i {padding-right: 4px;}
	#orderDesign .modal-content{padding: 15px 10px;}
	.arrow-contur .gallery-home .wp-post-image {max-height: 226px;}
	.posts-section article a img{max-height: 230px;}
}

@media screen and (max-width: 767px){
	.footer-row.row{flex-direction:column-reverse;}
	.foot-socials{padding-bottom:20px;}
	.foot-socials, .copyright{text-align:left!important;}
        .main-navigation{top:80px;} 
        #sandwich{right:15px;}
	#masthead{padding-bottom:80px;}
        .site-branding {width: 120px;}
	.site-branding:after{display:none;}
	#top-links{right:55px;}
	#banner .btn{position: absolute;bottom: -250%;z-index: 999;}
	#banner .site-title {flex-direction: row;}
	#author{border:none;padding-top:70px;padding-bottom:70px;}
	#author .row{flex-direction:column-reverse;}
	#author .about-link{position: absolute;bottom: -110%;width: 60%;left: 20%;right: 20%;text-align: center;}
	#author .anna-block-img, #author .author-name, #author .profession{text-align:center;}
	#author .author-name{padding-bottom:50px;}
	#portfolio img{max-height:100vh;width:100%;}
	#portfolio .port-text-wrap{display: flex; flex-direction: column;max-width: 66%;margin: 0 auto;padding-bottom: 90px;}
	#portfolio img{height:auto;width:100%;max-height:unset;}
	#design-project h3{padding-top:85px;}
	#design-project h3:after {right:-14px;}
	.design-title{position:absolute;z-index:999;width:540px;}
	.concept-block, .standart-block, .primium-block{padding-top:170px;margin-right:-15px;margin-left:-15px;}
	#design-project, #dev-design {padding-top: 90px;padding-bottom: 90px;border-bottom:none;}
	#portfolio {padding-top: 0px;padding-bottom: 0px;}
	#portfolio h1{padding-bottom:30px;}
	#works {padding-top: 0px;padding-bottom: 90px;}
	.page #author{padding-top:0px;padding-bottom:70px;}
	.page #author .row{flex-direction:row;}
	.page #author-text .row{flex-direction:column-reverse;}
	#author-text {padding-top: 50px;padding-bottom: 70px;}
	#uslugi, #contacts{padding-top:0px;}
	#portfolio .portfolio-image {padding-bottom: 55px;}
	#breadcrumbs {padding-top: 10px;padding-bottom: 10px;font-size:14px;}
	#breadcrumbs a, #breadcrumbs span {font-size:12px;}
	#filter-block ul {padding:15px 0;}
	#filter-block li {padding: 10px 15px;}
	.single-post .arrow-contur {padding: 0;margin: 0;}
	.single-post .img-wrap {height: 400px;}
	.single-post .thumb-img-wrap{height:120px;}
	#works .swiper-slide .btn-work{opacity:1;}
	#works .swiper-slide .btn-work {bottom: 80px;background: rgba(40,49,50,0.6);padding: 15px 35px;}
	#works .works-text{width:100%;min-width:100%;}
	#orderDesign{top:60px;}
	.arrow-contur .gallery-home .wp-post-image {max-height: 164px;height:100%}
	.posts-section article a img{max-height: auto;}
}
@media screen and (max-width: 550px){
	.design-title{position:absolute;z-index:999;width:100%;}
	.single-post .thumb-img-wrap{height: 75px;}
	.port-attr-wrap{justify-content:flex-start;}
	#related-works img{width:100%;}
	h2{font-size:28px;}
	#portfolio img{min-height:unset;}
}

@media screen and (max-width: 450px){
	.site-branding {width: 80px;}
	.btn-top {padding: 0px 0px 0px 5px;margin-right: 6px;font-size:12px;}
	.whatsapp-icon {padding-right: 3px;padding-left: 3px;}
	#top-links{top:22px;}
	#sandwich{top:25px;}
        #chastnie-intereri{padding-bottom:0px;}
	#chastnie-intereri h1{font-size:32px;}
	#banner h1, #chastnie-intereri h2 {font-size: 32px;margin-bottom:30px;line-height:45px;}
        #chastnie-intereri h2{margin-bottom:0px;}
	#author .title-enigma, #author .title-design-int{font-size:29px;}
	#banner .btn{position: absolute;bottom: -350%;z-index: 999;}
	#banner .site-title {flex-direction: row;}
	#author .about-link{width: 70%;left: 15%;right: 15%;bottom:-76%;}
	#author .author-name, #author .profession {text-align: left;}
	#author .author-name {padding-bottom: 20px;}
	input[type="submit"]{width:100%;} 
	.concept-block, .standart-block, .primium-block{padding-right:25px;padding-left:25px;}
	#design-project .btn-primary {padding: 13px 30px 13px 45px;}
	#design-project h2, #dev-design h2, #works h2{font-size:32px;}
	#portfolio .port-text-wrap{max-width: 100%;}
	.single-post .img-wrap {height: 280px;}
	.page h1{font-size:30px;padding-bottom:40px;overflow:auto;}
	.page-template-uslugi #design-project h2, .page-template-uslugi h2 {font-size: 30px;}
	#design-project, #dev-design {padding-top:40px;}
	#works, .uslugi-text{padding-top:70px;padding-bottom:70px;}
	#design-project{padding-bottom:0px;}
	design-project h2, #dev-design h2, #works h2 {font-size: 28px;}
	#author .about-link, #portfolio .btn-primary {padding: 24px 15px;}
	.arrow-contur .gallery-home .wp-post-image {max-height: 250px;height:100%}
	/*====Page Politic===============*/
	.privacy-policy h1 {
		font-size: 1.5rem;
	}
	.politic h2 {
		font-size: 24px;		
	}	
	.politic p {
		font-size: 16px;
		line-height:24px;
	}
	#insta-feed {
    	padding-bottom: 70px;
    	padding-top: 70px;
    }
    #insta-feed h2 {
        margin-bottom: 35px;
    }
}

@media screen and (max-width: 398px){
	#masthead {padding-bottom: 40px;}
	#banner .btn{bottom: -250%;}
	#author .about-link {margin-top: 60px;display: inline-block;padding: 24px 10px;bottom:-400px;}
	.arrow-contur .gallery-home .wp-post-image {max-height: auto;height:auto}
	/*====Page Politic===============*/
	.privacy-policy h1 {
		font-size: 1.5rem;
	}
	.politic h2 {
		font-size: 21px;
	}
	.politic p {
		font-size: 15px;
		line-height: 23px;
	}
}
@media screen and (max-width: 360px){
    body {
    	color: #404040;
    	font-size: 16px;
    	line-height: 22px;
    }
    #top-links {
	    right: 40px;
    }
    .btn-top {
    	font-size: 11px;
    }
    .insta-block {
        overflow: hidden;
    }
    #insta-feed h2 {
    	font-size: 22px;
        line-height: 26px;
    }
    .portfolio-text, .works-text, #dev-design p,  #author .title-part-comm {
    	font-size: 18px;
    	line-height: 24px;
    }
       #design-project h4 {
    	font-size: 19px;
    	line-height: 26px;
    	
    }
    #dev-design {
        padding-botton:50px
    }
    #author .title-design-int {
    	line-height: 44px;
    	margin-bottom: 15px;
    }
    #design-project h3.concept-title, #design-project h3 {
    	padding-top: 55px;
    }
    #portfolio h2, #works h2 {
    	padding-bottom: 30px;
    	margin-bottom: 0;
    }
     #works {
        padding-bottom: 30px;
    }
    #dev-design p {
    	padding-bottom: 40px;
    }
    design-project h2, #dev-design h2, #works h2 {
    	font-size: 28px;
    	line-height: 40px;
    }
    footer {;
    	font-size: 13px;
    	line-height: 18px;
    }
}