/*
 * Theme Name: LomoFoto
 * Theme URL: http://www.lomofoto.ru/
 * Description: Theme for LomoFoto site
 * Author: Purple Mouse
 * Version: 1.0
 * Date: 2020-03-11
 * Modified version: 1.5
 * Date modified: 2026-02-23
 */





/* Кодировочка */
@charset "UTF-8";





@import url('https://fonts.googleapis.com/css?family=Noto+Sans|Press+Start+2P&display=swap');





html {
	overflow-x: hidden !important;
	width: 100% !important;
	height: 100%;
	}

body {
	position: relative;
	overflow-x: hidden !important;
	overflow-y: hidden;
	width: 100% !important;
	min-height: 100%;
	font-family: 'Noto Sans', sans-serif;
	font-size: 16px !important;
	line-height: 1.6;
	font-weight: normal;
	letter-spacing: 0;
	text-align: center;
	color: #000;
	background: #FFF;
	padding: 0;
	margin: 0;
	}

a { text-decoration: underline; color: #C00; }
a:hover { text-decoration: underline; color: #F00; }
a:active { text-decoration: underline; color: #000; }

::-moz-selection { background: #900; color: #FFF; text-shadow: none; }
::selection { background: #900; color: #FFF; text-shadow: none; }

span.skype_pnh_print_container { display: inline !important; }
span.skype_pnh_container { display: none !important; }

div { padding: 0; margin: 0; }

h1, h2, h3 { display: inline-block; width: 80%; font-family: 'Press Start 2P', sans-serif; font-weight: normal; white-space: normal; text-align: center; color: #900; padding: 0; margin: 0 0 1.5em 0; }
h1 { font-size: 14px; }
h2 { font-size: 22px; }
h3 { font-size: 16px; }

p { display: inline-block; width: 80%; letter-spacing: 0px; white-space: normal; text-align: justify; padding: 0; margin: 0 0 1.5em 0; }
p.pleft { text-align: left; }
p.pright { text-align: right; }
p.pcenter { text-align: center; }

hr { border: 0 none; width: 100%; height: 1px; color: #CCC; background: #CCC; clear: both; padding: 0; margin: 4em 0; }

table { border: 0; border-spacing: 0; outline: 0; padding: 0; margin: 0; }
td { padding: 0; margin: 0; }

span, font { padding: 0; margin: 0; }

ul, ol { padding: 0; margin: 0; }
li { text-align: justify; padding: 0; margin: 0; }

img { border: 0; outline: 0; vertical-align: baseline; padding: 0; margin: 0; }





/* Разметка */

header,
nav,
main,
footer {
	display: block;
	border: 0;
	outline: 0;
	width: 100%;
	min-width: 300px;
	font-size: 100%;
	font-style: normal;
	text-align: center;
	padding: 0;
	margin: 0 auto;
	}





/* Пустышка отсекатель */

.clearfix {
	position: relative;
	display: block;
	clear: both;
	outline: 0;
	border: 0;
	width: 100%;
	height: 0;
	padding: 0;
	margin: 0 auto;
	}





/* Шапка */

header {
	height: auto;
	background: #E0E0E0 url('../graphics/film_bg.jpg') repeat left top;
	padding: 40px 0;
	text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.9);
	animation: slide 30s linear infinite;
	}

@-webkit-keyframes slide {
	from { background-position: -686px 100%, 0 0; }
	to { background-position: 0 100%; }
	}
@keyframes slide {
	from { background-position: -686px 100%, 0 0; }
	to { background-position: 0 100%; }
	}

header h1 { color: #000; margin: 0 5px 25px 5px; }

.head_logo {
	position: relative;
	display: inline-block;
	width: 100%;
	height: auto;
	text-align: center;
	}
.logo_292px {
	display: none;
	width: 292px;
	height: 69px;
	}
.logo_592px {
	display: inline-block;
	width: 592px;
	height: 139px;
	}





/* Навигатор */

nav {
	position: relative;
	height: auto;
	font-family: 'Press Start 2P', sans-serif;
	font-size: 16px;
	text-transform: uppercase;
	color: #900;
	margin-top: 20px;
	}

nav ul {
	display: inline-block;
	text-align: center;
	padding: 0;
	margin: 0 !important;
	}

nav li {
	display: inline-block;
	width: auto;
	text-align: center;
	padding: 0;
	margin: 3px;
	}

nav a {
	display: inline-block;
	text-decoration: none;
	color: #900;
	background: none;
	padding: 5px 15px;
	margin: 0;
	-moz-box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.3);
	-khtml-box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.3);
	box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.3);
	transition: .3s ease-in-out;
	}
nav a:hover {
	text-decoration: none;
	color: #FFF;
	background: rgba(122, 0, 0, 0.8);
	text-shadow: none;
	}
nav a:active {
	text-decoration: none;
	color: #FFF;
	background: #F00;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	-khtml-box-shadow: none;
	box-shadow: none;
	text-shadow: none;
	transition: none;
	}
nav a.current {
	text-decoration: none;
	color: #FFF;
	background: rgba(122, 0, 0, 0.8);
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	-khtml-box-shadow: none;
	box-shadow: none;
	text-shadow: none;
	}





/* Основное поле */

.area_main {
	position: relative;
	display: block;
	clear: both;
	width: 100%;
	text-align: center;
	background: #FFF;
	padding: 100px 0;
	}

.area_main:before {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	content: "";
	width: 100%;
	height: 10px;
	line-height: 10px;
	background: #B5B5B5 url('../graphics/sep.jpg') repeat left top;
	}

.area_main h2 { text-transform: uppercase; }
.area_main h2 span {
	color: #FFF;
	background: #900;
	padding: 2px 5px;
	}





/* Основное поле разное */

a.linkdots { border-bottom: 1px dotted #900; text-decoration: none; color: #900; }
a.linkdots:hover { border-bottom: 1px dotted #C00; text-decoration: none; color: #C00; }
a.linkdots:active { border-bottom: 1px dotted #F00; text-decoration: none; color: #F00; }

a[href^=tel] {
	color: inherit;
	white-space: nowrap;
	text-decoration: none;
	}
a:hover[href^=tel] {
	color: #F00;
	text-decoration: underline;
	}
a:active[href^=tel] {
	color: #C00;
	text-decoration: underline;
	}

.fontcenter { text-align: center; }
.fontbold { font-weight: bold; }
.fontitalic { font-style: oblique; }
.fontbig { font-size: 150%; }
.fontred { color: #F00; }
.fontgrey { color: #999; }
.fontnobr { white-space: nowrap; }
.fontstyle { font-family: 'Press Start 2P', sans-serif; font-size: 13px; color: #900; }

.img_rezine {
	display: inline-block;
	object-fit: scale-down;
	width: 100vw;
	height: auto;
	max-height: 100vh;
	text-align: center;
	}

.postlink {
	text-align: center;
	margin: 50px 0 0 0;
	}

.posttags {
	width: calc(80% - 20px);
	text-align: center;
	background: #F5F5F5;
	padding: 10px;
	margin: 50px 0 0 0;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	-khtml-border-radius: 6px;
	border-radius: 6px;
	text-shadow: 1px 1px 0 #FFF;
	}

.posttags a {
	display: inline-block;
	color: #999;
	margin: 5px 10px;
	}
.posttags a:hover { color: #C00; }
.posttags a:active { color: #000; }

.linktags {
	text-align: center;
	margin: 0;
	}

.linktags a {
	display: inline-block;
	width: auto;
	color: #FFF;
	background: #999;
	padding: 7px 15px;
	margin: 10px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	-khtml-border-radius: 6px;
	border-radius: 6px;
	}
.linktags a:hover { background: #C00; }
.linktags a:active { background: #F00; }

















/* Маркированный список */

.area_main ul {
	display: inline-block;
	list-style: none;
	width: calc(80% - 10px);
	padding: 0;
	margin: 0 0 1.5em 10px;
	}
.area_main ul li {
	position: relative;
	text-align: left;
	padding: 15px 0 10px 30px;
	}
.area_main ul li:before {
	position: absolute;
	top: 27px;
	left: 0;
	content: "";
	width: 7px;
	height: 7px;
	background: #FFF;
	-moz-box-shadow: 0 0 0 10px #999;
	-webkit-box-shadow: 0 0 0 10px #999;
	-khtml-box-shadow: 0 0 0 10px #999;
	box-shadow: 0 0 0 10px #CCC;
	transition: .3s ease-in-out;
	}
.area_main ul li:after {
	top: 48px;
	bottom: -12px;
	left: 3px;
	position: absolute;
	content: "";
	border-left: 2px dotted #CCC;
	width: 1px;
	}
.area_main ul li:hover:before {
	-moz-box-shadow: 0 0 0 13px #900;
	-webkit-box-shadow: 0 0 0 13px #900;
	-khtml-box-shadow: 0 0 0 13px #900;
	box-shadow: 0 0 0 13px #900;
	}
.area_main ul li:last-child:after { content: none; }

.area_main ul li span {
	display: inline-block;
	font-family: 'Press Start 2P', sans-serif;
	font-size: 10px;
	color: #999;
	transition: .3s ease-in-out;
	}
.area_main ul li:hover span { color: #900; }





/* Спецкнопка */

a.specbutt,
.postlink a {
	text-decoration: none;
	color: #FFF;
	background-color: #B5B5B5;
	padding: 5px 20px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	-khtml-border-radius: 6px;
	border-radius: 6px;
	}
a.specbutt:hover, .postlink a:hover { background-color: #C00; }
a.specbutt:active, .postlink a:active { background-color: #000; }





/* Постраничка (пажинатор) */

.paginator {
	position: relative;
	display: inline-block;
	clear: both;
	width: 100%;
	font-family: 'Press Start 2P', sans-serif;
	font-size: 10px;
	text-align: center;
	background: #E0E0E0 url('../graphics/film_bg.jpg') repeat left bottom;
	padding: 100px 0;
	text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.9);
	}

.paginator:before {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	content: "";
	width: 100%;
	height: 10px;
	line-height: 10px;
	background: #B5B5B5 url('../graphics/sep.jpg') repeat left top;
	}

.paginator a {
	display: inline-block;
	border: 1px solid #FFF;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-decoration: none;
	font-size: 90%;
	text-align: center;
	color: #000;
	background: #CCC url('../graphics/film_bg_dark.jpg') repeat center top;
	margin: 4px 1px;
	transition: .3s ease-in-out;
	}
.paginator a:hover {
	color: #FFF;
	background: #900;
	text-shadow: none;
	}
.paginator a:active {
	color: #FFF;
	background: #F00;
	transition: none;
	text-shadow: none;
	}

.paginactnum {
	display: inline-block;
	border: 1px solid #FFF;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-decoration: none;
	font-size: 90%;
	color: #FFF;
	background: #900;
	margin: 4px 1px;
	text-shadow: none;
	}





/* Адрес */

footer {
	height: auto;
	background: #CCC url('../graphics/film_bg_dark.jpg') repeat left top;
	padding: 0 0 40px 0;
	text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.9);
	}

footer:before {
	position: absolute;
	left: 0;
	right: 0;
	content: "";
	width: 100%;
	height: 10px;
	line-height: 10px;
	background: #B5B5B5 url('../graphics/sep.jpg') repeat left top;
	}

.address {
	display: inline-block;
	background: rgba(255, 255, 255, 0.5);
	padding: 20px 40px;
	margin: 80px 0 0 0;
	-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
	-khtml-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
	}

.address_qr {
	display: inline-block;
	overflow: hidden;
	width: 66px;
	height: 66px;
	vertical-align: middle;
	background: url('../graphics/qr-code.gif') no-repeat center;
	margin-right: 1em;
	}

.address_txt {
	display: inline-block;
	width: auto;
	height: auto;
	font-size: 90%;
	text-align: left;
	vertical-align: middle;
	}
.address_txt span {
	font-family: 'Press Start 2P', sans-serif;
	font-size: 10px;
	color: #900;
	}





/* Социал */

.social {
	display: block;
	clear: both;
	width: 100%;
	min-width: 300px;
	height: auto;
	text-align: center;
	margin: 0 auto;
	margin-top: 3em;
	}





/* Подпись АСТРА•ГОСТ */

.astra_sign {
	position: relative;
	display: inline-block;
	width: 100%;
	height: auto;
	text-align: center;
	margin-top: 30px;
	}

.astra_sign a {
	display: inline-block;
	text-indent: -9999px;
	width: 112px;
	height: 108px;
	background: url('../graphics/astra_sign_on-the-light_112x108.png') no-repeat left top;
	}
.astra_sign a:hover,
.astra_sign a:active {
	background: url('../graphics/astra_sign_on-the-light_112x108.png') no-repeat right bottom;
	}





/* Счётчики */

.counters {
	z-index: -1;
	position: relative;
	display: block;
	left: -9999px;
	top: -31px;
	width: 100%;
	}





/* Уведомление noscript */

div.noscript {
	display: block;
	clear: both;
	width: 100%;
	min-width: 300px;
	text-align: center;
	color: #FFF;
	background: #F00;
	padding: 1em 0;
	margin: 0 auto;
	}





/* ============================================= */
/* =А=Д=А=П=Т=И=В=*=М=Е=Д=И=А=*=З=А=П=Р=О=С=Ы= */
/* ============================================= */





/* Медиазапросы - точка перехода 1600 */

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

.astra_sign a {
	width: 86px;
	height: 82px;
	background: url('../graphics/astra_sign_on-the-light_86x82.png') no-repeat left top;
	}
.astra_sign a:hover,
.astra_sign a:active {
	background: url('../graphics/astra_sign_on-the-light_86x82.png') no-repeat right bottom;
	}

	}





/* Медиазапросы - точка перехода 640 */

@media only screen and (max-width: 640px) {

.logo_292px { display: inline-block; }
.logo_592px { display: none; }

nav { font-size: 12px; }
nav a { padding: 5px 10px; }

h2 { width: 95%; font-size: 16px; }

p { width: 95%; text-align: left; }
li { text-align: left; }

.area_main ul { width: calc(95% - 10px); }
.area_main ul li { padding: 15px 0 6px 30px; }

.posttags { width: calc(95% - 20px); }

.paginator { width: 95%; }

.address { padding: 20px; margin: 80px 10px 0 10px; }
.address_qr { display: none; }
.address_txt { text-align: center; }

	}