/*
Theme Name:Смешинки
Author:LynxASoft
Author URI:https://lynxasoft.ru

Version:1.02

ЕПЦ WordPress Theme, Copyright 2026 LynxASoft.ru
ЕПЦ is distributed under the terms of the GNU GPL
*/

@font-face {font-family:'Nyasha Sans';src:url('./fonts/NyashaSans.eot');src:local('Nyasha Sans'), local('NyashaSans'),url('./fonts/NyashaSans.eot?#iefix') format('embedded-opentype'),url('./fonts/NyashaSans.woff2') format('woff2'),url('./fonts/NyashaSans.woff') format('woff'),url('./fonts/NyashaSans.ttf') format('truetype');font-weight:normal;font-style:normal;}

@font-face {font-family:"UniNeue";font-weight:bold;font-style:normal;src:url("./fonts/UniNeueBold.eot");src:url("./fonts/UniNeueBold.eot?#iefix") format("embedded-opentype"), url("./fonts/UniNeueBold.woff") format("woff"), url("./fonts/UniNeueBold.ttf") format("truetype");}

* {-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}
html, body {height:100%;}
body {margin:0;padding:0;font-family:"Nyasha Sans", Verdana, Arial;font-size:12px;background:#FDFDFD;color:#273772;}

.bg {position:fixed;background:#FDFDFD url(./images/Cloudy.svg) 0 0 no-repeat;background-attachment:fixed;background-size:cover;width:100%;height:100%;}
.pict1 {position:fixed;background:url(./images/toy.svg) 0 0 no-repeat;background-size:150px;width:150px;height:150px;transform:rotate(15deg);top:100px;left:100px;}
.pict2 {position:fixed;background:url(./images/robot.svg) 0 0 no-repeat;background-size:180px;width:180px;height:180px;transform:rotate(15deg);top:60%;right:200px;}
.pict3 {position:fixed;background:url(./images/building.svg) 0 0 no-repeat;background-size:250px;width:250px;height:250px;transform:rotate(-15deg);bottom:100px;left:150px;}
.pict4 {position:fixed;background:url(./images/box.svg) 0 0 no-repeat;background-size:250px;width:250px;height:250px;transform:rotate(-15deg);top:200px;right:150px;}

ul {list-style-type:none;padding:0;margin:0;}
a img, img {border:none;}
a {outline:none;color:#8f6032;text-decoration:underline;transition:color 0.3s ease-in 0s;}
a:hover {outline:none;color:#9d5b1a;text-decoration:none;}
a:focus {outline:none;color:#8f6032;text-decoration:none;}

h1,h2,h3,h4,h5,h6 {font-family:"Nyasha Sans", sans-serif;}
h1, h1 a{font-size:22px;font-weight:400;margin:0;text-decoration:none;margin-bottom:15px;}
h1.title{position:relative;font-size:28px;font-weight:400;text-align:center;}
h2{text-transform:uppercase;font-size:28px;font-weight:700;margin:0 0 30px;}
h2.title {text-align:center;margin:0 0 30px;font-size:28px;}
h3{font-size:20px;font-weight:700;}
hr {border-top:2px solid #aa5e14;}
td, th {padding:0 10px;line-height:1.2;}
p {margin-bottom:15px;}

.container {position:relative;padding:0;margin:0 auto;width:760px;}

/* ------ BEGIN Шапка ------- */
.header {position:relative;width:100%;background-color:#fff;padding:30px;margin-top:15px;border-radius:16px;overflow:hidden;box-shadow:0 0 20px rgba(0, 0, 0, 0.28);background-image:linear-gradient(to bottom,#fff,#f9f9f9);}

.crug1, .crug2, .crug3, .crug4, .crug5, .crug6, .crug7, .crug8 {position:absolute;border-radius:50%;}
.crug1 {background-color:#9ac6ff;width:200px;height:200px;bottom:-50px;right:-50px;}
.crug2 {background-color:#8ebfff;width:100px;height:100px;top:-50px;left:-20px;}
.crug3 {background-color:#a9e3ff8a;width:100px;height:100px;left:50%;top:50px;}
.crug4 {background-color:#9fe7fd63;width:70px;height:70px;top:25px;right:25px;}
.crug5 {background-color:#9adeff82;width:70px;height:70px;bottom:-25px;left:10%;}
.crug6 {background-color:#9adeff82;width:90px;height:70px;top:-45px;right:230px;}
.crug7 {background-color:#9adeff82;width:100px;height:100px;bottom:-65px;right:10%;}
.crug8 {background-color:#9ac6ff;width:150px;height:150px;top:100px;left:-100px;}

.header .logo {position:relative;display:block;text-align:center;margin:0;}
.header .logo img {width:230px;}

.header .social {text-align:center;margin-top:7px;}
.header .social a:first-child {margin-right:15px;}
.header .social img {width:32px;}

.header-contact-adres, .header-contact-phone, .header-contact-grafic {position:relative;text-align:center;margin-bottom:20px;}
.header-contact-grafic {margin-bottom:0;}
.header-contact-adres p, .header-contact-phone p, .header-contact-grafic p {margin:0;font-size:19px;}
.header-contact-adres p span, .header-contact-phone p span, .header-contact-grafic p span {display:block;font-size:21px;font-weight:700;margin-bottom:5px;}
/* ------ END Шапка ------- */

.content {position:relative;margin:30px 0;}

/* ------ BEGIN Посты --------*/
.img_main_wrapper, .lynx_metabox_image_gallery {overflow:hidden;position:relative;border-radius:30px;margin-top:30px;}
.img_main_wrapper img, .lynx_metabox_image_gallery img {width:33.0%;margin:1px;}

.post-title {}
#cam_wrapper {position:relative;}
.post-wrapper {position:relative;overflow:hidden;font-family:NotoSans, sans-serif;background-color:#fff;border-radius:16px;padding:30px 30px 20px;box-shadow:0 0 20px rgba(0, 0, 0, 0.28);background-image:linear-gradient(to bottom,#fff,#f9f9f9);}
.post-wrapper iframe {border-radius:10px;}
.post-content {position:relative;font-family:"Nyasha Sans", sans-serif;font-size:20px;padding:10px 20px}
.post-content ol li, .post-content ul li {margin-bottom:10px;}
.nocam {position:relative;}
.nocam .timeview {position:absolute;left:0;top:0;right:0;bottom:0;margin:auto;text-align:center;font-family:UniNeue,sans-serif;font-size:54px;font-weight:700;color:#f9db63;width:600px;height:150px;}

.error-404-text {font-size:12em;font-weight:700;color:#aa5e14;text-align:center;margin:0 0 20px;line-height:1.3;font-family:UniNeue,sans-serif;}
.error-404-title {text-align:center;margin-bottom:40px;font-size:30px;font-weight:700;line-height:initial;}
.backmain {text-align:center;}
.backmain a {display:inline-block;font-size:16px;padding:10px 20px;color:#fff;background-color:#c88039;border:1px solid #c88039;border-radius:5px;transition:background-color 0.4s;}
.backmain a:hover {background-color:#754c24;}
/* ------ END Посты --------*/

/* ---- BEGIN Подвал ----- */
.footer {position:relative;width:100%;background-color:#fff;padding:30px;margin-bottom:15px;border-radius:16px;overflow:hidden;box-shadow:0 0 20px rgba(0, 0, 0, 0.28);background-image:linear-gradient(to bottom,#fff,#f9f9f9);}
.footer iframe {position:relative;border-radius:10px;}
.footer-contact-phone, .footer-contact-adres {position:relative;font-size:16px;text-align:center;margin-bottom:10px;}
.footer-contact-phone a {display:block;font-family:"UniNeue", sans-serif;color:#444;font-size:20px;font-weight:700;margin-bottom:5px;transition:color 0.4s;}
.footer-contact-phone a:hover {color:#754c24;}

.footer .copyright {padding-top:10px;font-size:11px;text-align:center;margin-bottom:10px;color:#fff;font-weight:400;}
/* ---- END Подвал ----- */

/* ----------- BEGIN Кнопка скрола вверх ----------- */
#scroll-to{position:fixed;right:10px;bottom:10px;cursor:pointer;background-color:#b5702c;height:40px;line-height:35px;width:40px;border-radius:5px;text-align:center;z-index:999;visibility:hidden;opacity:0;transition:all 0.25s ease-in-out;}
#scroll-to:hover{text-decoration:none;background-color:#fff;border:2px solid #b5702c;}
#scroll-to.show{visibility:visible;opacity:1;}
#scroll-to span {position:absolute;display:block;border-top:3px solid #fff;border-left:3px solid #fff;width:14px;height:14px;top:50%;left:50%;margin-left:-7px;margin-top:-4px;transform:rotate(45deg);}
#scroll-to:hover span {border-color:#b5702c;transition:all 0.25s ease-in-out;}
.fa{display:inline-block;font-size:22px;font-weight:700;font-family:'Glyphicons Halflings';text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;transform:translate(0, 0);}
.fa-chevron-up:before{content:"\e253";}
/* ----------- END Кнопка скрола вверх ----------- */

#fancybox-conrant {border-radius:16px;}

/* Responsive Styles */
@media(max-width:1300px) {
	.pict1 {background-size:110px;width:110px;height:110px;transform:rotate(15deg);top:100px;left:70px;}
	.pict2 {background-size:180px;width:180px;height:180px;transform:rotate(15deg);top:60%;right:50px;}
	.pict3 {background-size:200px;width:200px;height:200px;transform:rotate(-15deg);bottom:50px;left:30px;}
	.pict4 {background-size:200px;width:200px;height:200px;transform:rotate(-15deg);top:150px;right:60px;}
}

@media(max-width:760px) {
	.container {width:100%}
	.row {margin:0;}
	
	h1 {font-size:32px;text-align:left;}
	h2 {font-size:26px;text-align:left;line-height:27px;}
	h3 {font-size:18px;text-align:left;}
	h4 {font-size:16px;text-align:left;}
	.post-title {margin-top:0;}

	.pict1, .pict2, .pict3, .pict4 {display:none;}

	.header {padding-top:20px;}
	.header .logo {position:relative;display:block;z-index:3;text-align:center;margin:0 auto 20px;}
	.header .social {text-align:center;margin-top:0;margin-bottom:20px;}
	.header .logo a {display:block;}
	.header .logo img {width:auto;height:auto;width:230px;}
	.header-contact-phone {position:relative;display:block;padding-left:0;text-align:center;}
	.header-contact-phone a {display:inline-block;}

	.header-contact-grafic p, .header-contact-phone p, .header-contact-grafic p {font-size:16px;}
	.header-contact-grafic p span, .header-contact-phone p span, .header-contact-grafic p span {font-size:20px;}

	.content {padding:0;margin:30px 0 20px;}
	.post-wrapper {padding:25px 15px 15px;}
	.post-content {padding:0;font-size:14px;}
	.post-content ol, .post-content ul {padding-left:25px;}

	h1.title {font-size:22px;text-transform:uppercase;margin-bottom:25px;font-weight:700;}
	h2.title {font-size:20px;}

	.img_main_wrapper img {width:49%;display:inline !important;margin:1px !important;}

	.error-404-text {font-size:8em;margin:30px 0 20px;}
	.error-404-title {font-size:28px;}
	
	.footer {margin-bottom:42px;margin-top:20px;}

	#scroll-to {right:0;bottom:0;background-color:#3e8ed580;border-radius:0;width:100%;}
	#scroll-to:hover {border:none;background-color:#3e8ed5;}
	#scroll-to:hover span {border-color:#fff;}	
}

@media(max-width:460px) {
	h1 {font-size:24px;}
	h2 {font-size:20px;}
	h3 {font-size:18px;}
}