/* Dialog
---------------------------------------- */

.dialog-social {
    position: fixed;
    display: none;
    background: #fff;
    z-index: 500;
    width: 445px;
    -moz-transform: translate(-220px, -290px);
    -o-transform: translate(-220px, -290px);
    -ms-transform: translate(-220px, -290px);
    -webkit-transform: translate(-220px, -290px);
    transform: translate(-220px, -290px);
}

.dialog-social-center {
    left: 50%;
    top: 50%;
}

.mobile .dialog-social-center {
    top: 20%;
}

.dialog-social-bg {
    position: fixed;
    display: none;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .3);
    z-index: 450;
}

.dialog-social-title {
    font-size: 18px;
    line-height: 1.3em;
}

.dialog-social-lnk {
    padding: 12px 0 10px 22px;
    display: inline-block;
}

.dialog-social-widgets {
    padding-bottom: 0;
    height: 90px;
    overflow: visible;
    margin-top: 15px;
}

.dialog-social-auth {
    padding: 12px 12px 20px 12px;
    text-align: center;
}

.dialog-social-auth-link {
    border-bottom: 1px dashed #000;
    text-decoration: none;
    font-size: 12px;
}

/*~~~~~~~ FB ~~~~~~~*/
.dialog-social-fb .dialog-social-header {
    background: #3a5897;
}

.dialog-social-fb .dialog-social-widgets {
    padding-left: 25px;
}

.dialog-social-fb .dialog-social-auth {
    background: #dededd;
}

.dialog-social-fb .dialog-social-title {
    background: url(/@/AdMeCommon/css/../i/fb-dialog-bg.png) no-repeat 0 100%;
    text-align: left;
    color: #fff;
    padding-bottom: 20px;
}

.dialog-social-fb .d-close {
    top: 7px;
    background: url(/@/AdMeCommon/css/../i/i.png) no-repeat -22px 0;
    padding: 0;
    width: 42px;
    height: 42px;
    right: 8px;
}


/*~~~~~~~ VK ~~~~~~~*/
.dialog-social-vk {
    width: 680px;
    padding: 30px 50px 0;
    border-radius: 15px;
    -moz-transform: translate(-390px, -290px);
    -o-transform: translate(-390px, -290px);
    -ms-transform: translate(-390px, -290px);
    -webkit-transform: translate(-390px, -290px);
    transform: translate(-390px, -290px);
}

.dialog-social-vk .dialog-social-widgets {
    height: 250px;
}

.dialog-social-vk .dialog-social-title{
    line-height: 40px;
    font-size: 28px;
    font-weight: normal;
    text-align: center;
    padding-bottom: 20px;
}

.dialog-social-vk .dialog-social-auth {
    border-top: 1px solid #f0f0f0;
    padding: 25px 0 35px;
    text-align: center;
    line-height: 1;
    font-size: 18px;
}

.dialog-social-vk .dialog-social-group-wrapper {
    border: 1px solid #bebebe;
    width: 445px;
    height: 217px;
    padding: 2px 1px 1px 1px;
    overflow: hidden;
    margin: 0 auto;
}

.dialog-social-message-block-text {
    border-top: solid 1px #9daccb;
    padding: 22px 66px 22px 22px;
}

/* Dialog popup
---------------------------------------- */

.dialog-social-bottom {
    bottom: -500px;
    right: -500px;
    width: 375px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    -moz-transform: none;
    -o-transform: none;
    -ms-transform: none;
    -webkit-transform: none;
    transform: none;
    display: block;
}

.add-comments-buttons .add-comments-rules {
    float: right;
    margin: 0 10px 0 0;
    border: none;
    text-decoration: underline;
}
.add-comments-buttons .add-comments-rules:hover {
    text-decoration: none;
}

/* Orphus

---------------------------------------- */
.dialog-orphus {font-size:18px; padding-bottom:30px;}
.dialog-orphus .d-close {display:none;}
.orphus-text {margin-bottom:20px; font-weight:bold;}
.orphus-quest {font-size:14px;  font-style:italic; margin-bottom:20px;}
.orphus-form input.text-field {width:100%; font-size:14px; padding:4px 2px}
.orphus-form .submit-button {font-size:18px; margin-top:10px; display:block;}
.article blockquote {
    position: relative;
    float: left;
    background: #FAFAFA;
    font-size: 16px;
    line-height: 26px;
    color: #474747;
    border-radius: 5px;
    padding: 14px 20px 13px;
    margin: 0 0 28px;
    border: 1px solid rgb(241,241,241);
    box-sizing: border-box;
    width: 100%;
}

.article blockquote .author {
    float: right;
    font-style: italic;
}
.article .poem-flex {
    display: flex;
    justify-content: center;
}

.article {
    font-size: 16px;
    line-height: 26px;
    padding: 0 0 20px;
}

.article-comments {
    padding: 0 0 22px;
}

.article a {
    color: #0064af;
}

.article a:hover {
    text-decoration: none;
}

.article a.read-article {
    font-size: 12px;
    margin: 0 0 0 12px;
    vertical-align: middle;
}

.article-preview {
    display: block;
    border-radius: 15px;
    margin: 0 0 16px;
    max-width: 100%;
}

.article h1 {
    font-size: 40px;
    line-height: 48px;
    padding: 0 0 17px;
}

.article h2, .article h3 {
    font-size: 26px;
    line-height: 38px;
    padding: 0 0 5px;
    font-weight: normal;
}

.article h4, .article h5, .article h6 {
    font-size: 20px;
    line-height: 32px;
    padding: 0 0 5px;
}

/* браузеры пока не готовы к таким красотам
.article p,
.article li {-webkit-hyphens: auto; -moz-hyphens: auto; -ms-hyphens: auto; hyphens: auto;}
 */
.article p {
    padding: 0 0 16px;
}

.article ul {
    margin: 0 0 0 30px;
}

.article ol {
    margin: 0 0 0 30px;
}

.article li {
    padding: 0 0 16px;
}

.article ul li {
    position: relative;
    list-style: none;
}

.article ul li:before {
    content: '';
    display: block;
    position: absolute;
    left: -20px;
    top: 9px;
    width: 8px;
    height: 8px;
    overflow: hidden;
    background: #f6c608;
    border-radius: 4px;
}

.article-new-editor h3 {
    padding: 32px 0 5px;
}

.article .block-book {
    margin: 1em 0;
}
.article .block-book .block-book-author {
    font-size: 20px;
    line-height: 20px;
}
.article .block-book .block-book-title {
    font-size: 26px;
    line-height: 26px;
    padding: 0 0 5px
}
.article .block-book p {
    padding: 0 0 7px;
}

.hidden-text {
    margin: 15px 0;
}

.hidden-text-button {
    text-align: center;
}

.hidden-text-button a {
    font-size: 16px;
    color: #428bca;
    text-decoration: none;
    border-bottom: 1px dotted #428bca;
    padding-bottom: 3px;
}

.hidden-text-content {
    display: none;
}

.before-after-slider {
    position: relative;
    overflow: hidden;
}
.before-after-slider div {
    position: absolute;
    top: 0px;
    left: 0px;
    overflow: hidden;
}
.before-after-slider .before {
    border-right: solid 4px black;
    height: 100%;
    max-width: 100%;
    width: 50%;
}
.before-after-slider .hint {
    background: #ffcc00;
    border-radius: 3px;
    font-size: 13px;
    font-weight: bold;
    left: 50%;
    margin-left: -45px;
    padding: 2px 6px;
    text-align: center;
    width: 80px;
    white-space: nowrap;
    display: block !important;
    top: 50%;
}
.flip-cart {
    position: relative;
    z-index: 1;
    -webkit-perspective: 1000px; /* Chrome, Safari, Opera */
    perspective: 1000px;
    cursor: pointer;
}

.flip-cart-icon {
    position: absolute;
    z-index: 10;
    left: 10px;
    top: 10px;
}

.mobile article.article .flip-cart-icon img,
.flip-cart-icon img {
    width: 31px !important;
    height: 31px !important;
}

.flip-cart-images-container {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    transition: all 0.6s linear;
}

.flip-cart-flipped .flip-cart-images-container {
    transform: rotateY(-180deg);
    -ms-transform: rotateY(-180deg);
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
}

.flip-cart-front,
.flip-cart-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -moz-backface-visibility: hidden;
    -webkit-backface-visibility: hidden; /* Chrome, Safari, Opera */
    backface-visibility: hidden;
}

.flip-cart-back {
    display: block;
    box-sizing: border-box;
    transform: rotateY(-180deg);
    -ms-transform: rotateY(-180deg);
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
}

.gallery-pic .youtube-iframe-block {
    text-align: center;
}

.gallery-pic .youtube-iframe-block div.js-youtube-iframe-loader
{
    margin: 0 auto;
}

.youtube-iframe-block {
    position: relative;
}

.youtube-social-buttons {
    background: #fff;
    border-radius: 10px;
    display: block;
    left: 50%;
    margin: -90px 0 0 -200px;
    padding: 20px;
    position: absolute;
    text-align: center;
    top: 50%;
    width: 400px;
}

.youtube-social-buttons .d-close {
    top: 8px;
    right: 12px;
}

.youtube-social-buttons ul {
    margin: 0;
    padding: 0;
}

.youtube-social-buttons ul li:before {
    background: none;
}

.youtube-social-buttons li {
    margin: 10px 0;
    padding: 0;
    width: 100%;
}

.youtube-social-buttons li a {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    width: auto;
}

.youtube-social-buttons li img {
    margin-top: -2px;
    vertical-align: middle;
}

.youtube-social-buttons .youtube-social-fb {
    background: #3c5899;
}

.youtube-social-buttons .youtube-social-vk {
    background: #4a76a4;
}

div.js-youtube-iframe-loader {
    background: url(/@/AdMeCommon/Article/css/../i/youtube-loader.gif) no-repeat center center;
    border: 1px solid #f0f0f0;
}
.article-pic .play {
    width: 100px;
    height: 100px;
    position: absolute;
    cursor: pointer;
    top: 50%;
    left: 50%;
    margin-top: -50px;
    margin-left: -50px;
    overflow: hidden;
}

.article-pic .play .play-button {
    display: inline-block;
    width: 100px;
    height: 100px;
    text-decoration: none;
    padding: 0;
    background: url(/@/AdMeCommon/Article/css/../i/gif-player.png) no-repeat 0 -45px;
    margin: 0;
}






