/*
Theme Name: archiv68ru
Version: 2021
Description: From site archiv68.ru
Author: Dmitriy Zhukov
Author URI: https://direct-market.ru
*/

* {
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	line-height: 24px;
	font-weight: 300;
	color: #0a0501;
	background-color: #fff;
}

h1, h2 {
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
}

h3, h4, h5 {
	font-family: 'Roboto', sans-serif;
	font-weight: 500;
}

p {
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
}

a, a:hover, a:active, a:visited {
	text-decoration: none;
	color: #0a0501;
}

a.more-link {
	display: none;
}

#header {
	height: 80px;
	width: 100%;
	background-color: #0a0501;
	color: #fff;
}

#branding {
	max-width: 1170px;
	height: 100%;
	margin: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

#site-description {
	width: 460px;
	font-size: 28px;
	line-height: 28px;
	font-weight: 700;
	display: flex;
	justify-content: space-between;
}

#site-description a, #site-description a:hover, #site-description a:visited {
	color: #fff;
}

#site-title {
	font-size: 42px;
	line-height: 42px;
	font-weight: 700;
	display: flex;
	align-items: center;
}

#site-title:after {
	content: 'захоронений';
	font-size: 18px;
	line-height: 18px;
	font-weight: 500;
	padding-left: 10px;
}

#after-header {
	width: 100%;
	height: 240px;
	background: url(img/background.jpg) center center no-repeat;
	background-color: rgba(0, 0, 0, 0.6);
	background-size: cover;
	color: #fff;
	
}

#after-header .top-after-header {
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

#after-header h1 {
	width: auto;
	height: 72px;
	font-size: 42px;
	line-height: 42px;
	text-transform: uppercase;
}

#after-header .button-search {
	width: 435px;
	height: 66px;
}

#after-header .button-search  a {
	width: 100%;
	height: 100%;
	color: inherit;
	background-color: #fff;
	color: #df9a17;
	text-transform: uppercase;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all .15s ease-in-out;
}

#after-header .button-search  a:hover {
	background-color: #df9a17;
	color: #fff;
}

#after-header .button-search span::after {
	font-family: 'FontAwesome';
	content: "\f002";
	padding-left: 15px;
	font-size: 16px;
	line-height: 16px;
	font-weight: 900;
}

#after-header #search {
	width: 435px;
	height: 66px;
}

#after-header #search #searchform {
	width: inherit;
	height: inherit;
}

#after-header #search #searchform input#s {
	width: 100%;
	height: 100%;
	border: none;
	background-color: #fff;
	font: 700 16px/24px 'Roboto', sans-serif;
	color: #df9a17;
	text-transform: uppercase;
	text-align: center;
	transition: all .15s ease-in-out;
}

#after-header #search #searchform input#s::after {
	font-family: 'FontAwesome';
	content: "\f002";
	padding-left: 15px;
	font-size: 16px;
	line-height: 16px;
	font-weight: 900;
}

#after-header #search #searchform input#s:hover {
	background-color: #df9a17;
	color: #fff;
	cursor: pointer;
}

#after-header #search #searchform input#s:focus {
	background-color: #fff;
	color: #0a0501;
	font-weight: 500;
}

#after-header #search #searchform input#searchsubmit {
	display: none;
}

#pre-content {
	width: 1170px;
	height: 620px;
	margin: auto;
	background-color: inherit;
	display: flex;
	align-items: center;
	justify-content: space-evenly;
}

#pre-content .left {
	width: 635px;
	height: auto;
}

#pre-content .left p {
	margin-bottom: 16px;
}

#pre-content .right {
	width: 445px;
	height: auto;
}

#pre-content .right h3 {
	font-size: 28px;
	line-height: 34px;
	font-weight: 300;
	text-transform: uppercase;
	margin-bottom: 8px;
}

#pre-content .right ul {
	list-style: none;
	margin-bottom: 4px;
}

#pre-content .right ul>li {
	height: 44px;
	background-color: #df9a17;
	color: #fff;
	text-transform: uppercase;
	padding: 10px;
	margin-bottom: 2px;
}

#pre-content .right a {
	display: inline-block;
	height: 60px;
	width: 100%;
	background-color: #32650c;
	color: #fff;
	font-size: 18px;
	line-height: 22px;
	font-weight: 500;
	text-align: center;
	padding: 20px 0 20px 0;
	margin-bottom: 4px;
	transition: all .2s;
}

#pre-content .right a:hover {
	background-color: #df9a17;
}

.top-panel {
	width: 100%;
	text-align: center;
	position: absolute;
}

.top-panel i:before {
	content: '\2572\2571';
	letter-spacing: -1px;
	position: absolute;
	font-size: 2rem;
	font-style: normal;
	bottom: 30px;
	margin-left: -1rem;
	animation: bounce 2s ease infinite;
}

#content {
	background-color: #f5f5f5;
	padding: 50px 0;
}

#content > div {
	width: 1170px;
	margin: auto;
}

#content > #content-home {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

#is-home {
	width: 370px;
	background-color: #fff;
	border: 2px solid #ddd;
	box-shadow: 0 5px 10px rgba(0,0,0,.1);
	margin-bottom: 30px;
	transition: all .2s;
}

#is-home:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 20px rgba(0,0,0,.2);
}

#is-home a.index-thumbnail {
	display: inline-block;
	width: 100%;
	height: 370px;
	position: relative;
}

#is-home a.index-thumbnail:before {
	content: '';
	position: absolute;
	bottom: 5px;
	right: 5px;
	background: url(img/logo.png) no-repeat 0 0;
	width: 200px;
	height: 85px;
}

#is-home .index-thumbnail img {
	object-fit: cover;
	width: 100%;
	height: 100%;
	border-radius: 3px 3px 0 0;
	border-bottom: 2px solid #ddd;
}

#is-home header {
	margin-top: 20px;
}

#is-home h2 {
	font: 500 22px/25px 'Roboto', sans-serif;
	padding: 0 20px;
	height: 52px;
}

#is-home h2 > a {
	display: inline-block;
	height: inherit;
}

.entry-summary {
	padding: 0 20px 10px;
}

.entry-summary p {
	font-size: 14px;
	line-height: 21px;
	margin-bottom: 8px;
}

.entry-summary p strong {
	font-weight: 500;
}

div.pagination-wrapper {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

div.wp-pagenavi > * {
	display: inline-block;
	background-color: #fff;
	min-width: 57px;
	height: 52px;
	text-align: center;
	line-height: 52px;
	font-size: 16px;
	font-weight: 400;
	border: 1px solid #dee2e6;
	margin-left: -1px;
	padding: 0 23px;
	transition: color 400ms, background-color 400ms;
}

div.wp-pagenavi > .page:hover,
div.wp-pagenavi > .previouspostslink:hover,
div.wp-pagenavi > .nextpostslink:hover {
	background-color: #e9ecef;
	border-color: #dee2e6;
}

div.wp-pagenavi > .current {
	background-color: #df9a17;
	color: #fff;
	cursor: pointer;
}

div.wp-pagenavi > .current:hover {
	border-color: #966f24;
	background-color: #966f24;
}

.page-number-from {
	color: #df9a17;
	font-weight: 400;
}

#content > #content-single {
	
}
#is-single {
	position: relative;
}

#is-single header {
	width: 100%;
	margin-bottom: 30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

#is-single h1 {
	font: 700 36px/43px 'Roboto', sans-serif;
	text-transform: uppercase;
}

#is-single header a {
	color: #333;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 1px;
}

#is-single header a span:before {
	content: "\f100";
	padding-right: 10px;
}

#is-single header a:hover {
	color: #df9a17;
}

#is-single .entry-content {
	margin-bottom: 30px;
}

#is-single .entry-content blockquote {
	background-color: black;
	color: white;
	padding: 15px;
}

#is-single .entry-content blockquote p {
	border: solid 1px white;
	padding: 20px;
	margin: 0 !important;
	text-indent: 30px;
}

#is-single .gps-block {
	width: 100%;
	height: 60px;
	display: flex;
	justify-content: space-between;
	margin-bottom: 30px;
}

#is-single .gps-block a {
	display: inline-block;
	width: 350px;
	text-align: center;
	color: #fff;
	font: 700 18px/60px 'Roboto', sans-serif;
}

#is-single .gps-block a.btn-google {
	background-color: #4285F4;
}

#is-single .gps-block a.btn-yandex {
	background-color: #e61400;
}

#is-single .gps-block a.btn-2gis {
	background-color: #299400;
}

#is-single .entry-content p {
	font: 300 24px/36px 'Roboto', sans-serif;
	margin-bottom: 10px;
}

#is-single .entry-content strong {
	font-weight: 500;
}

#is-single .market-buttons {
	width: 760px;
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px;
}

#is-single .market-buttons a {
	display: inline-block;
	width: 350px;
	text-align: center;
	color: #fff;
	font: 700 18px/60px 'Roboto', sans-serif;
	background-color: #32650c;
	transition: all .2s;
}

#is-single .market-buttons a:hover {
	background: #333 !important;
}

#is-single .entry-content #gallery-1 {
	margin-top: 20px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-right: -30px;
	transition: all .2s;
}

#gallery-1 dl {
	width: 370px;
	height: 370px;
	margin-bottom: 30px;
}

#gallery-1 dl dt {
	width: inherit;
	height: inherit;
}

#gallery-1 dl dt a {
	display: inline-block;
	width: 100%;
	height: 100%;
	position: relative;
	transition: all .2s;
}

#gallery-1 dl dt a:before {
	content: '';
	position: absolute;
	bottom: 5px;
	right: 5px;
	background: url(img/logo.png) no-repeat 0 0;
	width: 200px;
	height: 85px;
	z-index: 10;
}

#gallery-1 img {
    border: 2px solid #cfcfcf;
	object-fit: cover;
	width: 100%;
	height: 100%;
	box-shadow: 0 5px 10px rgba(0,0,0,.1);
	transition: all .2s;
}

#gallery-1 a:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 20px rgba(0,0,0,.2);
	transition: all .2s;
}

#footer {
	width: 100%;
	height: 95px;
	background-color: #0a0501;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
}

#copyright {
	font: 300 14px/21px inherit;
}

#pop-up-form {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 100;
	background-color: rgba(0,0,0,0.7);
}

#page-block-form {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	width: 100%;
	height: 100%;
}

#contact-form {
	width: 500px;
	margin: auto;
	background-color: #fff;
}

#contact-form .form-header {
	position: relative;
}

#contact-form .form-header h4 {
	font: 300 24px/24px 'Roboto', sans-serif;
	text-transform: uppercase;
	text-align: center;
	padding: 30px 0;
}

#contact-form .close-block-button {
	display: inline-block;
	position: absolute;
	top: -56px;
	right: -5px;
	text-align: right;
	width: auto !important;
	font-size: 24px;
}

#contact-form i {
	color: #fff !important;
	background: rgba(0,0,0,.5);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	text-align: center;
	line-height: 50px;
	display: inline-block;
	font-style: normal;
	cursor: pointer;
}

#contact-form i:before {
	font-family: 'FontAwesome';
	content: "\f00d";
}

#contact-form .wpcf7 {
	padding: 0 20px 20px 20px;
}

#contact-form .wpcf7 form.wpcf7-form p {
	width: 100%;
	margin-bottom: 15px;
}

#contact-form .wpcf7 input[type="text"], input[type="email"], input[type="tel"], textarea {
	width: 100%;
	height: 40px;
	margin: 0px;
	padding: 10px 0 ;
	border: none;
	border-bottom: 2px solid #ddd ;
	font: 400 16px/22px 'Roboto', sans-serif;
	color: #555;
}

#contact-form .wpcf7 form.wpcf7-form textarea {
	height: 170px;
}

#contact-form .wpcf7 input.wpcf7-submit {
	width: 100%;
	height: 64px;
	background-color: #32650c;
	border: 0 none;
	text-transform: uppercase;
	color: #fff;
	font-family: inherit;
	font-size: inherit;
	font-weight: 500;
	line-height: 24px;
}

#contact-form .wpcf7 input.wpcf7-submit:hover {
	cursor: pointer;
	background-color: #df9a17;
	opacity: 1;
	transition: all 0s ease;
}

#contact-form .wpcf7 .wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 1em;
    font-weight: normal;
    display: block;
	text-align: center !important;
}

#contact-form .wpcf7 .wpcf7-list-item {
	margin: 0 !important;
}

#contact-form .wpcf7 .wpcf7-list-item-label a:hover {
	color: #555 !important;
}

#contact-form .wpcf7 form.wpcf7-form .ajax-loader {
	display: none;
}

#contact-form .wpcf7 .wpcf7-response-output {
	margin: 0 !important;
}

.sp-scroll-up {
	display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    font-size: 16px;
    color: #fff !important;
    background: #333;
    border-radius: 3px;
	cursor: pointer;
}

#content-single .wpcf7-form h3 {
	font: 600 24px/36px 'Roboto', sans-serif;
	color: #333;
	margin-bottom: 20px;
}

#content-single .wpcf7-form .wpcf7-textarea {
	width: 100%;
	max-width: 100% !important;
	height: 175px;
	border: 2px solid #ddd;
	resize: none;
	margin-bottom: 40px;
	padding: 0 !important;
}

#content-single .wpcf7-form .wpcf7-submit {
	width: 180px;
	height: 60px;
	border: none;
	background: #333;
	color: #fff;
	font: 600 18px/22px  'Roboto', sans-serif;
	letter-spacing: 1px;
	cursor: pointer;
}

#content > #content-search {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

#content > #content-search > header.header {
	width: 100%;
	margin-bottom: 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

#content > #content-search > header a {
	color: #333;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 1px;
}

#content > #content-search > header a span:before {
	content: "\f100";
	padding-right: 10px;
}

#content > #content-search > header a:hover {
	color: #df9a17;
}

#content-search #post-0 {
	min-height: 400px;
}

#content-search #post-0 header.header {
	width: 100%;
	margin-bottom: 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

#content-search #post-0 header.header h1 {
	font: 700 36px/43px 'Roboto', sans-serif;
}

#content-search #post-0 .entry-content p {
	font: 500 24px/36px 'Roboto', sans-serif;
	margin-bottom: 10px;
}

#content-search #post-0 header a {
	color: #333;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 1px;
}

#content-search #post-0 header a span:before {
	content: "\f100";
	padding-right: 10px;
}

#content-search #post-0 header a:hover {
	color: #df9a17;
}

	/* мобильная версия */

@media (max-width: 420px) {
	#wrapper {
		width: 100%;
	}
	#header {
		height: auto;
	}
	#branding {
		width: 100%;
		flex-wrap: wrap;
		justify-content: center;
		padding: 10px 0;
	}
	#site-description {
		flex-wrap: wrap;
		font-size: 20px;
		line-height: 32px;
		width: 100%;
		padding: 0 10px;
	}
	#site-title {
		font-size: 28px;
		line-height: 32px;
		width: 100%;
		justify-content: center;
	}
	#after-header {
		height: auto;
	}
	.top-after-header {
		flex-direction: column-reverse !important;
	}
	.top-after-header h1 {
		width: 100% !important;
		height: auto !important;
		text-align: center;
		font-size: 28px !important;
		line-height: 36px !important;
		padding: 20px 0;
	}
	#after-header #search {
		width: 100%;
	}
	#pre-content {
		width: 100%;
		height: auto;
		flex-wrap: wrap;
	}
	#pre-content .left {
		padding: 20px 10px 10px;
	}
	
	#pre-content .right {
		width: 100%;
	}
	#pre-content .right h3 {
		text-align: center;
		font-size: 24px;
		line-height: 30px;
		margin-bottom: 20px;
	}
	#pre-content .right ul li {
		height: auto;
	}
	.top-panel {
		text-align: center;
		height: 70px;
		padding-top: 30px;
		position: static;
	}
	.top-panel i:before {
		bottom: auto;
		margin-left: -2rem;
	}
	#content {
		padding-top: 0;
		padding-bottom: 30px;
	}
	#content-home {
		width: 100% !important;
		justify-content: center !important;
	}
	#content-home #is-home {
		width: 100%;
	}
	.pagination-wrapper {
		flex-wrap: wrap;
	}
	.pagination-wrapper .wp-pagenavi {
		width: 100%;
		text-align: center;
	}
	.pagination-wrapper .page-number-from {
		width: 100%;
		text-align: center;
		margin-top: 20px;
	}
	#footer {
		padding: 30px 0 80px;
		height: auto;
		display: block;
	}
	#footer #copyright {
		text-align: center;
		padding: 0 10px;
	}
	#content > div {
    width: 100%;
	}
	#is-single .gps-block {
		flex-wrap: wrap;
		height: auto;
		margin-bottom: 20px;
	}
	#is-single .gps-block a {
		width: 100%;
		height: 50px;
		line-height: 50px;
	}
	#is-single header {
		flex-direction: column-reverse;
		flex-wrap: wrap;
		justify-content: center;
		margin-bottom: 20px;
	}
	#is-single header h1 {
		width: 100%;
		text-align: center;
		padding: 0 10px;
		font-size: 28px;
		line-height: 36px;
	}
	#is-single header .btn-home {
		margin-bottom: 10px;
	}
	#is-single .entry-content p {
		padding-left: 10px;
		padding-right: 10px;
	}
	#is-single .entry-content #gallery-1 {
		width: 100%;
		margin-right: 0;
		justify-content: center;
	}
	#is-single .entry-content #gallery-1 dl {
		width: 100%;
	}
	#gallery-1 img {
		display: inline-block;
	}
	#is-single .market-buttons {
		width: 100%;
		flex-wrap: wrap;
		padding: 0 10px;
		margin-bottom: 10px;
	}
	#is-single .market-buttons a {
		width: 100%;
		margin-bottom: 10px;
	}
	#content-single .wpcf7-form h3 {
		text-align: center;
	}
	#contact-form {
		width: 100%;
	}
	#contact-form .form-header h4 {
		font-size: 20px;
		padding: 20px 0;
	}
	#contact-form .close-block-button {
		top: -55px;
		right: 10px;
	}
	#content-search header {
		flex-wrap: wrap;
		flex-direction: column-reverse;
		margin-bottom: 20px !important;
	}
	#content-search header h1 {
		width: 100%;
		text-align: center;
		padding: 0 10px;
		font-size: 28px !important;
		line-height: 36px !important;
	}
	#content-search header a {
		margin: 20px 0 10px;
	}
	#post-0 header h1 {
		width: 100%;
		text-align: center;
		padding: 0 10px;
		font-size: 28px !important;
		line-height: 36px !important;
	}
	#post-0 .entry-content p {
		padding: 0 10px;
		font: 500 18px/24px 'Roboto', sans-serif !important;
		text-align: center;
	}
}
	
/* Animation */

@-webkit-keyframes bounce {
 0%,
 100%,
 20%,
 53%,
 80% {
  -webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);
  transition-timing-function:cubic-bezier(.215,.61,.355,1);
  -webkit-transform:translate3d(0,0,0);
  transform:translate3d(0,0,0)
 }
 40%,
 43% {
  -webkit-transition-timing-function:cubic-bezier(.755,.050,.855,.060);
  transition-timing-function:cubic-bezier(.755,.050,.855,.060);
  -webkit-transform:translate3d(0,-30px,0);
  transform:translate3d(0,-30px,0)
 }
 70% {
  -webkit-transition-timing-function:cubic-bezier(.755,.050,.855,.060);
  transition-timing-function:cubic-bezier(.755,.050,.855,.060);
  -webkit-transform:translate3d(0,-15px,0);
  transform:translate3d(0,-15px,0)
 }
 90% {
  -webkit-transform:translate3d(0,-4px,0);
  transform:translate3d(0,-4px,0)
 }
}
@keyframes bounce {
 0%,
 100%,
 20%,
 53%,
 80% {
  -webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);
  transition-timing-function:cubic-bezier(.215,.61,.355,1);
  -webkit-transform:translate3d(0,0,0);
  transform:translate3d(0,0,0)
 }
 40%,
 43% {
  -webkit-transition-timing-function:cubic-bezier(.755,.050,.855,.060);
  transition-timing-function:cubic-bezier(.755,.050,.855,.060);
  -webkit-transform:translate3d(0,-30px,0);
  transform:translate3d(0,-30px,0)
 }
 70% {
  -webkit-transition-timing-function:cubic-bezier(.755,.050,.855,.060);
  transition-timing-function:cubic-bezier(.755,.050,.855,.060);
  -webkit-transform:translate3d(0,-15px,0);
  transform:translate3d(0,-15px,0)
 }
 90% {
  -webkit-transform:translate3d(0,-4px,0);
  transform:translate3d(0,-4px,0)
 }
}
.bounce {
 -webkit-animation-name:bounce;
 animation-name:bounce;
 -webkit-transform-origin:center bottom;
 -ms-transform-origin:center bottom;
 transform-origin:center bottom
}
	

