/*
Theme Name: fotofieria
Author: fotofieria
Description: Theme
Version: 0.1
*/

@font-face {
    font-family: 'Open Sans';
    src: local('OpenSans-Regular'),
		url('/wp-content/themes/fotofieria/fonts/OpenSans-Regular.woff2') format('woff2'),
		url('/wp-content/themes/fotofieria/fonts/OpenSans-Regular.woff') format('woff'),
		url('/wp-content/themes/fotofieria/fonts/OpenSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Open Sans';
    src: local('OpenSans-Medium'),
		url('/wp-content/themes/fotofieria/fonts/OpenSans-Medium.woff2') format('woff2'),
		url('/wp-content/themes/fotofieria/fonts/OpenSans-Medium.woff') format('woff'),
		url('/wp-content/themes/fotofieria/fonts/OpenSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Open Sans';
    src: local('OpenSans-SemiBold'),
		url('/wp-content/themes/fotofieria/fonts/OpenSans-SemiBold.woff2') format('woff2'),
		url('/wp-content/themes/fotofieria/fonts/OpenSans-SemiBold.woff') format('woff'),
		url('/wp-content/themes/fotofieria/fonts/OpenSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Open Sans';
    src: local('OpenSans-Bold'),
		url('/wp-content/themes/fotofieria/fonts/OpenSans-Bold.woff2') format('woff2'),
		url('/wp-content/themes/fotofieria/fonts/OpenSans-Bold.woff') format('woff'),
		url('/wp-content/themes/fotofieria/fonts/OpenSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

* {
    box-sizing: border-box;
}
body {
    padding: 0;
    margin: 0;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	font-weight: 400;
	overflow-x: hidden; 
	color: #333;
	line-height: 1.4;
}
.container {
    max-width: 1180px;
	width: auto;
    padding: 0 20px;
    margin: 0 auto;
}

/*header*/
.desktop_header{
    display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 150px;
}
.logo_header {
    margin: 0 1px;
	display: flex;
    align-items: center;
} 
.logo_img img{
	max-width: 190px;
	height: auto;
}
.phone{
	font-weight: 500;
	text-decoration: none;
	font-size: 25px;
}
.phone_header{
	text-align: right;
}
.phone_header a{
	color: #f2c800;
	text-decoration: none;
}
.phone_header a:hover{
	color: #333333;
	transition: all 0.25s ease;
}
.mess_header img{
	max-width: 26px;
	margin-right: 15px;
}
.mess_header a:hover{
	opacity: 0.8;
	transition: all 0.25s ease;
}
.mail_header{
	display: flex;
	align-items: center;
}
.mail_header a{
	text-decoration: none;
	color: #333333;
	transition: all 0.25s ease;
}
.mail_header img{
	margin-top: 5px;
	margin-right: 5px;
	max-width: 30px;
}
.mail_header a:hover{
	opacity: 0.8;
}
.page_main{
	margin: 0 0 30px 0;
}
.phone_header_item1{
	display: flex;
	align-items: center;
}
.phone_header_item1 img{
	max-width: 40px;
	margin-right: 15px;
	padding-top: 5px;
}
.phone_header_item1 a{
	color: #333333;
}
.phone_header_item2{
	display: flex;
	align-items: center;	
}
.phone_header_item2 img{
	max-width: 50px;
	margin-right: 15px;
	margin-left: 25px;
}
.phone_header_item2 a{
	text-decoration: none;
	font-size: 20px;
	color: #333333;
}
.time_header_item1{
	display: flex;
	align-items: center;
}
.time_header_item1_img1 img{
	max-width: 120px;
	margin-right: 20px;
}
.time_header_item1_img2 img{
	max-width: 80px;
}
.time_header_item2{
	font-size: 22px;
	text-align: right;
	margin-top: 5px;
}
@media screen and (max-width: 769px) {
	.phone_header_item2 a{
		font-size: 13px;
	}
	.phone_header_item1 img {
		max-width: 25px;
		margin-right: 5px;
	}
	.phone_header_item2 img {
		max-width: 30px;
		margin-right: 5px;
		margin-left: 10px;
	}
	.time_header{
		display: none;
	}
	.container {
		padding: 0 10px;
	}
	.desktop_header {
		min-height: 100px;
		font-size: 12px;
	}
	.logo_img img {
		max-width: 100px;
	}
	.phone {
		font-size: 16px;
	}
	.mess_header{
		margin-left: 18px;
	}
	.mess_header img {
		max-width: 22px;
	}
	.mess_header,
	.mail_header{
		margin-top: -10px;
	}
}

/*menu*/
.menu__desktop{
	background-color: #515151;
}
.menu__desktop .menu {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
	justify-content: space-between;
    align-items: center;
	height: 50px;
}
.menu__desktop .menu .menu__item a {
    font-size: 14px;
    line-height: 17px;
    font-weight: 500;
    color: #ffffff;
	text-transform: uppercase;
    text-decoration: none;
	padding-top: 15px;
	padding-bottom: 15px;
}
.menu__desktop .menu .menu__item a:hover,
.menu__desktop .menu .menu__item a:focus {
	color: #f2c800;
	transition: all 0.25s ease;
}
.menu__desktop .menu li{
	display: block;
}
.menu__desktop .menu .sub-menu {
	position: absolute;
	margin-top: 15px;
	z-index: 10;
	transition: 0.25s ease-in-out;
}
.menu__desktop .sub-menu .menu__item a{
	width: 200px;
	display: block;
	font-weight: 400;
	color: #333333;
	padding: 7px 5px 9px 5px;
}
.menu__desktop .sub-menu {
	display: none;
	background: #ffffff;
	box-shadow: 0 4px 5px 0 rgba(40, 40, 40, 0.2);
	padding: 0px;
	transition: 5s ease-in-out;
}
.menu__desktop .sub-menu li{
	padding: 5px 5px;
	border-radius: 5px;
	min-width: 150px;
}
.menu__desktop li:hover .sub-menu {
	display: block;
}
.menu .menu-item-has-children:after {
	content:"";
	background-image: url(/wp-content/themes/fotofieria/img/arrow-down_white.svg);
    height: 12px;
	width: 15px;
	background-repeat: no-repeat;
	display: inline-block;
	background-size: cover;
	margin-left: 5px;
}

/*menu_mobile*/
.menu__burger{
	display: none;
}
.menu__mobile {
	display: none;
}
@media screen and (max-width: 1024px) {
	.menu__desktop{
		display: none;
	}
	.menu__line{
		max-width: 1140px;
		background: #333333;
		margin-left: auto;
		margin-right: auto;
	}
	.menu__inner{
		display: flex;
		justify-content: flex-end;
	}
	.menu__burger {
		display: block;
		overflow: hidden;
		cursor: pointer;
		margin: 0;
		padding: 0;
		width: 43px;
		height: 40px;
		font-size: 0;
		border-radius: 50px;
		position: relative;
		z-index: 9999999;
	}
	.menu__burger span {
		display: block;
		position: absolute;
		background-color: #fff;
		height: 2px;
		width: 20px;
		top: 18px;
		left: 9px;
		right: 5px;
		transition: background 0s 0.2s;  
	}
	.menu__burger span:after,
	.menu__burger span:before  {
		position: absolute;
		display: block;
		height: 2px;
		width: 26px;
		background-color: #fff;
		content: '';
		transition-duration: 0.2s, 0.2s;  
		transition-delay: 0.2s, 0s;
	}
	.menu__burger span:after {
		top: -7px;
	}
	.menu__burger span:before {
		bottom: -7px;
	}
	.menu__burger.btn-show-menu span {
		background: none;
	}
	.menu__burger.btn-show-menu span:after {
		top: 0px;
		transform: rotate(45deg);
		background-color: #333;
		height: 0px;
	}
	.menu__burger.btn-show-menu span:before {
		bottom: 0px;
		transform: rotate(-45deg);
		background-color: #333;
		height: 0px;
	}
	.menu__mobile.menu-mobile-show{
		position: absolute;
		list-style: none;
		padding: 0px 0 0 0;
		width: 60%;
		height: 100%;
		background-color: #222;
		color: #fff;
		margin-top: 0px;
		margin-right: 0px;
		top: 0;
		right: 0;
		transition: 500ms;
		z-index: 999999;
		display: block;
		opacity: 1;
		padding-top: 10px;
	}
	.menu-mobile-show ul {
		padding-left: 20px;
	}
	.menu-mobile-show li {
		margin: 0 0px 0 0;
		text-align: left;
		border-color: fff;
		border-style: solid;
		border-width: 0rem 0 0 0;
		padding-top: 5px;
		padding-bottom: 5px;
		font-weight: 500;
		list-style: none;
		width: 100%;
	}
	.menu-mobile-show li a {
		color: #fff;
		text-decoration: none;
	}
	.menu-mobile-show{
		box-shadow: 0 0 2rem 0 rgba(0,0,0,.1);
	}
	.menu__mobile .menu__item a{
		font-size: 14px;
		padding-top: 0px;
		padding-bottom: 0px;
		color: #fff;
		text-decoration: none;
		margin-right: 5px;
		display: inline-block;
		position: relative;
		width: 100%;
	}
	.menu__mobile .menu__item a:hover {
		opacity: 0.9;
	}
}

/*slide_main*/
#slide_main{
	background-image: url(/wp-content/themes/fotofieria/img/fon.webp);
	background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
	padding: 80px 0;
}
.slide_main{
	display: grid;
	grid-template-columns: repeat(1,1fr);
	grid-column-gap: 0px;
	grid-row-gap: 20px;
	align-items: center;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}
.slide_main_title{
	font-size: 28px;
	font-weight: 400;
}
.title_letters{
	font-size: 48px;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 20px;
}
.slide_main_img{
	margin-left: -70px;
}
.slide_main_img img{
	max-width: 500px;
}
@media screen and (max-width: 769px) {
	.slide_main {
		grid-template-columns: repeat(1, 1fr);
		grid-column-gap: 20px;
		grid-row-gap: 20px;
	}
	.slide_main_title {
		font-size: 16px;
		text-align: center;
	}
	.title_letters {
		font-size: 24px;
	}
	.slide_main_img img {
		width: 100%;
		max-width: 400px;
	}
	.slide_main_img {
		margin-left: -50px;
	}
}

/*fotoknigi_main*/
#fotoknigi_main{
	margin-top: 60px;
}
.fotoknigi_main{
	display: grid;
	grid-template-columns: repeat(3,1fr);
	grid-column-gap: 40px;
	grid-row-gap: 40px;
}
.fotoknigi_main_item{
	border: 1px solid #cdcdcd;
	padding: 30px 30px 25px 30px;
	border-radius: 20px;
}
.fotoknigi_main_img{
	margin-bottom: 15px;
}
.fotoknigi_main_img img{
	width: 100%;
	display: block;
	border-radius: 15px;
}
.fotoknigi_main_title{
	font-size: 26px;
	font-weight: 600;
	text-align: center;
	margin-bottom: 20px;
}
.fotoknigi_main_item_title{
	font-size: 20px;
	font-weight: 600;
	text-align: center;
}
.fotoknigi_main_item_2{
	margin-top: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.fotoknigi_main_btn a{
	text-decoration: none;
}
.fotoknigi_main_btn_a{
	border: 1px solid #f2c800;
	padding: 10px 20px;
	border-radius: 20px;
	color: #f2c800;
	font-weight: 600;
}
.fotoknigi_main_btn a:hover{
	opacity: 0.7;
	transition: all 0.25s ease;
}
@media screen and (max-width: 1024px) {
	.fotoknigi_main{
		display: grid;
		grid-template-columns: repeat(2,1fr);
		grid-column-gap: 10px;
		grid-row-gap: 10px;
	}
	.fotoknigi_main_item {
		padding: 10px 10px 15px 10px;
	}
	.fotoknigi_main_item_title {
		font-size: 14px;
		margin-bottom: 20px;
	}
	.fotoknigi_main_btn_a {
		padding: 7px 5px;
		font-weight: 400;
		font-size: 14px;
	}
	.fotoknigi_main_item_2 {
    	margin-top: 10px;
		display: block;
	}
	.fotoknigi_main_btn{
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}
}

/*fotopechat_main*/
#fotopechat_main{
	margin-top: 60px;
}
.fotopechat_main{
	display: grid;
	grid-template-columns: repeat(5,1fr);
	grid-column-gap: 20px;
	grid-row-gap: 20px;
}
.fotopechat_main_item{
	border: 1px solid #cdcdcd;
	padding: 15px 15px 20px 15px;
	border-radius: 20px;
}
.fotopechat_main_img{
	margin-bottom: 10px;
}
.fotopechat_main_img img{
	width: 100%;
	display: block;
	border-radius: 15px;
}
.fotopechat_main_title{
	font-size: 26px;
	font-weight: 600;
	text-align: center;
	margin-bottom: 20px;
}
.fotopechat_main_item_title{
	font-size: 20px;
	font-weight: 600;
	text-align: center;
	margin-bottom: 20px;
}
.fotopechat_main_btn{
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
.fotopechat_main_btn a{
	text-decoration: none;
}
.fotopechat_main_btn_a{
	border: 1px solid #f2c800;
	padding: 10px 20px;
	border-radius: 20px;
	color: #f2c800;
	font-weight: 600;
}
.fotopechat_main_btn a:hover{
	opacity: 0.7;
	transition: all 0.25s ease;
}
@media screen and (max-width: 1024px) {
	.fotopechat_main{
		display: grid;
		grid-template-columns: repeat(2,1fr);
		grid-column-gap: 10px;
		grid-row-gap: 10px;
	}
	.fotopechat_main_item {
		padding: 10px 10px 15px 10px;
	}
	.fotopechat_main_item_title {
		font-size: 14px;
	}
	.fotopechat_main_btn_a {
		padding: 7px 5px;
		font-weight: 400;
		font-size: 13px;
	}
}

/*suveniri_main*/
#suveniri_main{
	margin-top: 60px;
	margin-bottom: 60px;
}
.suveniri_main{
	display: grid;
	grid-template-columns: repeat(4,1fr);
	grid-column-gap: 20px;
	grid-row-gap: 20px;
}
.suveniri_main_item{
	border: 1px solid #cdcdcd;
	padding: 15px 15px 20px 15px;
	border-radius: 20px;
}
.suveniri_main_img{
	margin-bottom: 10px;
}
.suveniri_main_img img{
	width: 100%;
	display: block;
	border-radius: 15px;
}
.suveniri_main_title{
	font-size: 26px;
	font-weight: 600;
	text-align: center;
	margin-bottom: 20px;
}
.suveniri_main_item_title{
	font-size: 20px;
	font-weight: 600;
	text-align: center;
	margin-bottom: 20px;
}
.suveniri_main_btn{
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
.suveniri_main_btn a{
	text-decoration: none;
}
.suveniri_main_btn_a{
	border: 1px solid #f2c800;
	padding: 10px 20px;
	border-radius: 20px;
	color: #f2c800;
	font-weight: 600;
}
.suveniri_main_btn a:hover{
	opacity: 0.7;
	transition: all 0.25s ease;
}
@media screen and (max-width: 1024px) {
	.suveniri_main{
		display: grid;
		grid-template-columns: repeat(2,1fr);
		grid-column-gap: 10px;
		grid-row-gap: 10px;
	}
	.suveniri_main_item {
		padding: 10px 10px 15px 10px;
	}
	.suveniri_main_item_title {
		font-size: 14px;
	}
	.suveniri_main_btn_a {
		padding: 7px 5px;
		font-weight: 400;
		font-size: 13px;
	}
}

/*dopstr*/
.dopstr{
	padding: 50px 0;
	font-size: 16px;
	line-height: 1.6;
}
.dopstr h1{
	text-transform: uppercase;
	font-weight: 600;
	margin-bottom: 20px;
}
.dopstr_title{
	font-size: 20px;
	font-weight: 600;
	text-transform: uppercase;
	margin: 45px 0 15px 0;
}
.dopstr_big{
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 20px;
}
.dopstr ul{
	list-style: none;
	padding-left: 0px;
}
.dopstr ul li::before {
	content: "— ";
 	padding-right: 5px;
}
.mainlist ul{
	list-style: none;
	padding-left: 0px;
}
.mainlist ul li::before {
	content: "— ";
 	padding-right: 5px;
	padding-left: 10px;
}
.dopstr_title_obl{
	font-size: 18px;
	font-weight: 600;
	margin: 10px 0 15px 0;
}
.dopstr_text_center{
	text-align: center;
	margin: 0 0 15px 0;
	font-size: 14px;
}
.dopstr_text_top{
	margin-top: 100px;
}
.dopstr_raboti{
	display: grid;
	grid-template-columns: repeat(4,1fr);
	grid-column-gap: 30px;
	grid-row-gap: 30px;
}
.dopstr_raboti_item img{
	max-width: 250px;
	width: 100%;
}
@media screen and (max-width: 769px) {
	.dopstr h1 {
		font-size: 28px;
	}
	.dopstr img{
		max-width: 250px;
	}
	.dopstr_title {
		margin: 25px 0 15px 0;
	}
	.dopstr_text_center {
		text-align: left;
	}
	.dopstr_text_top {
		margin-top: 0px;
	}
	.dopstr_raboti {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-column-gap: 10px;
		grid-row-gap: 10px;
	}
}

/*Footer*/
.footer{
	background-color: #333333;
	color: #fff;
	padding: 80px 0 70px 0;
	line-height: 2.0;
}
.footer__opisanie{
	display: grid;
	grid-template-columns: repeat(4,1fr);
	grid-column-gap: 30px;
	grid-row-gap: 30px;
}
.footer_logo_text{
	font-weight: bold;
}
.footer__text2{
	margin-top: 20px;
}
.footer__text2 img{
	max-width: 20px;
    margin-right: 15px;
}
.footer__text2 a:hover{
	opacity: 0.8;
	text-decoration: none;
}
.footer__text a{
	color: #fff;
	text-decoration: none;
}
.footer__text a:hover{
	border-bottom: 1px solid #fff;
}
.footer__text__mail{
	margin-top: 15px;
}
.footer__text__big{
	font-weight: 700;
	font-size: 16px;
}
.footer__opisanie2{
	text-align: center;
	font-size: 13px;
	padding: 20px 0 30px 0;
	background-color: #222222;
	color: #fff;
}
.n_catalog{
    margin-top: 5px;
    margin-bottom: 5px;
}
.n_catalog a{
	text-decoration: none;
	border-bottom: 1px solid #fff;
}
.n_catalog a:hover{
	opacity: 0.9;
}
.policy__text{
	font-size: 13px;
}
.policy__text a{
	color: #e9e9e9;
}
@media screen and (max-width: 1024px) {
	.footer {
		padding: 60px 0 50px 0;
	}
	.footer__opisanie{
		display: grid;
		grid-template-columns: repeat(2,1fr);
		grid-column-gap: 20px;
		grid-row-gap: 20px;
	}
	.footer__text__big {
		font-weight: 700;
		font-size: 13px;
	}
}

/*plusi_main*/
.plusi_main{
	margin-top: 40px;
	margin-bottom: 40px;
	display: grid;
	grid-template-columns: repeat(2,1fr);
	grid-column-gap: 40px;
	grid-row-gap: 20px;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
	align-items: center;
}
.plusi_main_item{
	display: flex;
	align-items: center;
}
.plusi_main_item img{
	max-width: 60px;
	margin-right: 12px;
}
@media screen and (max-width: 1024px) {
	.plusi_main{
		grid-template-columns: repeat(1,1fr);
		grid-column-gap: 20px;
	}	
}

/*Фотопечать*/
.fotopechat{
	text-align: center;
	padding: 20px;
	border: 1px solid #575757;
}
.fotopechat img{
	width: 100%;
	max-width: 900px;
}
.formati_fotopechat{
	display: grid;
	grid-template-columns: repeat(3,1fr);
	grid-column-gap: 40px;
	grid-row-gap: 40px;	
}
.formati_fotopechat_item1_razmer{
	background-color: #fc9817;
	border: 1px solid #575757;
	text-align: center;
	font-size: 24px;
	font-weight: 600;
	padding: 15px 0;
}
.formati_fotopechat_item1{
	text-align: center;
	font-size: 20px;
	font-weight: 400;
}
@media screen and (max-width: 1024px) {
	.formati_fotopechat{
		display: grid;
		grid-template-columns: repeat(2,1fr);
		grid-column-gap: 20px;
		grid-row-gap: 20px;	
	}
	.formati_fotopechat_item1_razmer{
		font-size: 20px;
	}
	.formati_fotopechat_item1{
		font-size: 16px;
	}
}

/*Сувениры*/
.suveniri_img img{
	width: 100%;
	border: 2px solid #f8860c;
}
.suveniri_title{
	font-size: 20px;
    font-weight: 600;
    margin: 10px 0 15px 0;
}

.contacts_phone a{
	text-decoration: none;
	color: #333333;
}
.contacts_phone a:hover{
	opacity: 0.8;
}

.link_main{
	display: flex;
	align-items: center;
	font-size: 24px;
	font-weight: 500;
}
.link_main img{
	max-width: 40px;
	margin-top: 5px;
	margin-left: 10px;
}

.link_main_uslugi{
	margin-top: 100px;
}
.redline{
	border: 4px solid #f2c800;
}

.contacts_list{
	display: grid;
	grid-template-columns: 20% 30%;
	grid-column-gap: 20px;
	grid-row-gap: 20px;
}
.contacts_list a{
	color: #333333;
	text-decoration: none;
}
.contacts_list a:hover{
	opacity: 0.8;
}
details{
	display: block;
	margin-top: 40px;
	margin-bottom: 10px;
	border: 1px solid #222222;
	transition: 0.4s ease;
}
summary {
	padding: 5px;
	display: inline-block;
	font-size: 18px;
	cursor: pointer;
	width: 100%;
}
summary:after {  
    content: "+";
    float: right;
    margin-top: -30px;
	margin-right: 10px;
    display: inline-block;
    transition: 0.4s ease;
    font-size: 20px;
}
details[open] > summary:after {
	content: "-";
	margin-top: -30px;
    font-size: 20px;
}
summary ~ * {
   padding: 20px 20px 20px 20px;
}
.rekviziti{
	padding-left: 10px;
}
.block_rekviziti p{
	padding: 1px 15px;
}
@media screen and (max-width: 1024px) {
	.contacts_list{
		display: grid;
		grid-template-columns: repeat(2,1fr);
		grid-column-gap: 10px;
		grid-row-gap: 10px;
	}
}
.primeri_list{
	display: flex;
	grid-column-gap: 10px;
	grid-row-gap: 10px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}