/* Основные элементы */ .ah-typography { font-family: Arial, "Helvetica Neue", sans-serif; line-height: normal; color: #333; } .ah-typography h1, .ah-typography h2, .ah-typography h3, .ah-typography h4, .ah-typography h5, .ah-typography h6 { font-family: inherit; font-weight: bold; margin: 0 0 10px; padding: 0; line-height: 1.1; color: inherit; clear: none; border: none; } .ah-typography h1 { font-size: 36px; } .ah-typography h2 { font-size: 30px; } .ah-typography h3 { font-size: 24px; } .ah-typography h4 { font-size: 18px; } .ah-typography h5 { font-size: 14px; } .ah-typography h6 { font-size: 12px; } .ah-typography a { outline: 0; border: none; text-decoration: none; display: inline-block; box-shadow: none; } .ah-typography a:hover, .ah-typography a:focus { box-shadow: none; } .ah-typography img { outline: 0; border: 0; display: inline-block; } .ah-typography img.img-responsive { display: block; max-width: 100%; height: auto; } .ah-typography p { margin: 0 0 10px; padding: 0; font-weight: normal; line-height: normal; color: inherit; clear: none; font-size: 14px; } /* Кнопки */ .ah-close-button { display: block; box-sizing: content-box; position: absolute; top: 0px; right: 0px; width: 32px; height: 32px; z-index: 99; cursor: pointer; background-color: #000; text-decoration: none; border: none; box-shadow: none!important; } .ah-close-button.big-close-button { width: 48px; height: 48px; background: #fff; } .ah-close-button.big-close-button::before, .ah-close-button.big-close-button::after { background: #000; } .ah-close-button::before, .ah-close-button::after { content: ''; position: absolute; height: 2px; width: 100%; top: 50%; left: 0; margin-top: -1px; background: #fff; } .ah-close-button::before { transform: rotate(45deg); } .ah-close-button::after { transform: rotate(-45deg); } .ah-close-button-text { display: block; position: absolute; cursor: pointer; z-index: 99; right: 0; top: -40px; background: #e0e0e0; color: #212121; height: 40px; line-height: 40px; padding: 0 15px; text-transform: uppercase; } .ah-close-button-text.bottom { top: auto; bottom: -40px; } .ah-close-button-text.inset { top: 0; } .ah-close-button-text:hover, .ah-close-button-text:focus { color: #424242; } .ah-btn { position: relative; display: inline-block; padding: 10px 16px; font-size: 16px; font-weight: 400; line-height: normal; text-align: center; text-decoration: none; white-space: nowrap; vertical-align: middle; text-decoration: none; color: #fff; box-shadow: none!important; background: #424242; } .ah-btn:hover { background: #616161; color: #fff; } /* Обертки контента */ .ah-content { box-sizing: border-box; } .ah-content *, .ah-content *::after, .ah-content *::before { -webkit-box-sizing: border-box; box-sizing: border-box; } .ah-flex-content { display: -webkit-flex; display: -ms-flexbox; display: flex; } .ah-teaser-heading { display: block; line-height: 1; } .ah-teaser-image-wrapper { display: inline-block; } .ah-teaser-image-wrapper img { border-radius: inherit; } .ah-button-holder { display: block; float: none; position: relative; } /* HyperTeaser */ .ah-hyper-teaser-holder { display: inline-block; position: relative; padding: 0; margin: 0; font-weight: bold; font-style: normal; background: transparent; } .ah-hyper-teaser-holder.h { background: #0C3; color: #fff; border-bottom: 1px dashed #fff; cursor: pointer; } .ah-hyper-teaser-holder .ht-wrapper { box-sizing: content-box; display: none; z-index: 9999999; position: absolute; width: auto; height: auto; text-decoration: none; border: none; box-shadow: none!important; padding: 0; margin: 0; } .ah-hyper-teaser-holder .ht-wrapper .ht-container { position: relative; padding: 10px; margin: 0; } .ah-hyper-teaser-holder .ht-wrapper.position-right { right: -20px; left: auto; } .ah-hyper-teaser-holder .ht-wrapper.position-right .angle { right: 10px; left: auto; } .ah-hyper-teaser-holder .ht-wrapper.position-left { left: -20px; right: auto; } .ah-hyper-teaser-holder .ht-wrapper.position-center { left: auto; right: auto; } .ah-hyper-teaser-holder .ht-wrapper.position-center .angle { left: 50%; right: auto; margin-left: -10px; } .ah-hyper-teaser-holder .ht-wrapper.position-bottom { top: 150%; } .ah-hyper-teaser-holder .ht-wrapper.position-top { bottom: 150%; } .ah-hyper-teaser-holder .ht-wrapper.position-top .angle { bottom: -10px; border-bottom: transparent; border-top: 20px solid #000; } .ah-hyper-teaser-holder .ht-wrapper.position-bottom .angle { top: -10px; border-top: transparent; border-bottom: 20px solid #000; } .ah-hyper-teaser-holder .ht-wrapper .angle { content: ""; display: block; position: absolute; left: 10px; border: 20px solid transparent; border-bottom: none; width: 0; height: 0; } .ah-hyper-teaser-holder .ht-wrapper .ht-container { background-color: #fff; } /* popup */ .pu-wrapper { position: fixed; left: 0; top: 0; height: 100%; width: 100%; background: rgba(0, 0, 0, 0.5); opacity: 0; visibility: hidden; -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s; -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s; transition: opacity 0.3s 0s, visibility 0s 0.3s; z-index: 999; } .pu-container { position: absolute; padding: 10px; min-width: 320px; min-height: auto; height: auto; box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); -webkit-transform: translateY(-40px); -moz-transform: translateY(-40px); -ms-transform: translateY(-40px); -o-transform: translateY(-40px); transform: translateY(-40px); -webkit-backface-visibility: hidden; -webkit-transition-property: -webkit-transform; -moz-transition-property: -moz-transform; transition-property: transform; -webkit-transition-duration: 0.3s; -moz-transition-duration: 0.3s; transition-duration: 0.3s; background-color: #fff; } .pu-wrapper.is-visible { opacity: 1; visibility: visible; -webkit-transition: opacity 0.3s 0s, visibility 0s 0s; -moz-transition: opacity 0.3s 0s, visibility 0s 0s; transition: opacity 0.3s 0s, visibility 0s 0s; } /* MobileInterstitial */ .mi-wrapper { display: none; position: fixed; background: #fff; top: 0; bottom: 0; left: 0; right: 0; z-index: 9999; } /* Sidebanner */ .sidebanner-wrapper { display: none; position: fixed; background: #fff; min-height: 32px; z-index: 9998; bottom: 0; margin-bottom: 30px; } .sidebanner-wrapper.left { left: 0; } .sidebanner-wrapper.right { right: 0; } /* FIX */ .fix-wrapper { display: none; position: fixed; background: transparent; left: 0; right: 0; min-height: 32px; z-index: 9997; } .fix-wrapper.top { top: 0; } .fix-wrapper.bottom { bottom: 0; } /* Вспомогательные классы */ .is-visible { display: block; } .text-center { text-align: center; } .ah-clear { clear: both; } .ah-fix-read-more { position: fixed; background: #333; color: #fff; left: 0; right: 0; bottom: 0; text-align: center; z-index: 9997; padding: 10px 0; text-transform: uppercase; font-family: inherit; cursor: pointer; } .ah-page { position: relative; } html .ah-read-more, body .ah-read-more { min-height: 100%; } .ah-read-more { position: relative; background: #333; color: #fff; text-align: center; height: 40px; line-height: 40px; text-transform: uppercase; font-family: inherit; cursor: pointer; } @media (max-width: 640px) { .ah-teaser-template { width: 100%!important; float: none!important; } }