h1, h2, h3, h4 {
    font-weight: 400;
    margin-bottom: 10px
}

h1 {
    font-size: 1.7em
}

h2 {
    font-size: 1.5em
}

h3 {
    font-size: 1.2em
}

h4 {
    font-size: 1em;
    font-weight: 700
}

a {
    text-decoration: underline;
    color: #3a3f5c;
}

a:hover {
    text-decoration: none
}

input[type="text"], input[type="email"], select, textarea, input[type="password"],input[type="phone"] {
    padding: 5px 10px;
    border: solid 1px #ccc;
}

input[type="text"]:focus, input[type="email"]:focus, select:focus, textarea:focus {
    border-color: #aaa;
}

textarea {
    resize: vertical;
}

.block {
    overflow: auto;
    padding: 20px 0
}

.block-title {
    padding-bottom: 10px
}

.block-title, .block-title a, .block-title a:visited {
    font-size: 1.5em;
    text-decoration: none
}

.dTbl {
    width: 100%;
    display: table
}

.dTblRow {
    display: table-row
}

.dTblTd {
    vertical-align: top;
    display: table-cell !important;
    display: inline
}

.tblBord td, .tblBord .dTblTd {
    padding: 5px 10px;
    vertical-align: top;
    border: solid 1px #ccc
}

.list li {
    padding-bottom: 10px
}

.breadcrumbs {
    padding: 10px 0
}

.breadcrumbs, .breadcrumbs a, .breadcrumbs a:visited {
    font-size: 12px;
    text-decoration: none
}

.breadcrumbs a:hover, .breadcrumbs strong {
    font-weight: 400
}

.dTblTd.mform {
    padding-left: 40px
}

.feedback-form, .dTblTd.mform {
    width: 440px
}

.fbRow {
    overflow: auto;
    padding-bottom: 10px
}

.fbDiv input, .fbDiv textarea {
    width: 298px
}

.fbDiv textarea {
    height: 70px
}

.fbSub {
    text-align: right
}

.fbPolicy .fLeft {
    text-align: right;
    width: 100px
}

.fbPolicy .fbDiv, .fbPolicy .fbDiv a, .fbPolicy .fbDiv a:visited {
    font-size: 10px
}

.dSuccess {
    color: #62AE42;
    margin: 5px 0;
    padding: 5px;
    font-weight: 700;
}

.dError {
    color: #c00;
    margin: 5px 0;
    padding: 5px;
    font-weight: 700
}

.itm-list .itm {
    width: 100%;
    padding: 20px 0;
    border-bottom: solid 1px #ccc
}

.itm-list .itm:last-child {
    border: 0
}

.itm-list .itm-image, .itm-list .itm-image img {
    width: 200px;
    height: auto
}

.itm-list .itm-body {
    padding: 0;
    margin-left: 240px
}

.itm-full .itm {
    padding: 20px 0;
    border-bottom: solid 1px #ccc
}

.itm-full .itm:last-child {
    border: 0
}

.itm-full .itm-image {
    float: left
}

.itm-full .itm-image, .itm-full .itm-image img {
    width: 400px;
    height: auto
}

.itm-full .itm-body {
    margin-left: 440px
}

.page-nav {
    padding: 10px 0;
    text-align: center
}

.page-nav, .page-nav a, .page-nav a:visited {
    font-size: 18px;
    text-decoration: none
}

.page-nav a:hover {
    color: #222
}

/*Google/Yandex Map*/
#gmap,#ymap{height:300px}

/* Добавление сияющих элементов на фоне */
.sparkles-wrapper {
    display: none !important;
}

@media (min-width: 1200px) {
    .sparkles-wrapper {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 1 !important; 
        pointer-events: none;
    }
}

.live-sparkle {
    position: absolute;
    pointer-events: none;
    animation: fallAndSpin linear infinite;
}

.live-sparkle::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 0%, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0% 50%, 37% 37%);
    background: radial-gradient(circle, 
        rgba(255,255,255,1) 0%, 
        rgba(255,230,135,1) 40%, 
        rgba(212,175,55,1) 80%,
        rgba(184,134,11,1) 100%
    );
    animation: twinkle 1s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% {
        opacity: 0.2;
        transform: scale(0.7); 
        filter: drop-shadow(0 0 2px rgba(255,223,128,0));
    }
    100% {
        opacity: 1;
        transform: scale(1.2);
        filter: drop-shadow(0 0 6px rgba(255,245,200,1)) drop-shadow(0 0 12px rgba(242,190,65,0.8)); 
    }
}

@keyframes fallAndSpin {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(110vh) rotate(360deg);
    }
}