.blogger-notice { text-align: center; padding: 10px; background: #DFF2BF; border: 1px solid; color: #4F8A10; margin-bottom: 10px; }
form.blogger { font-size: 16px; }
form.blogger div { clear: left; margin-bottom: 10px; }
form.blogger label { float: left; margin-right: 10px; text-align: right; width: 100px; font-weight: bold; vertical-align: top; padding-top: 10px; }
form.blogger input[type="text"],
form.blogger input[type="email"]
{ width: 500px; line-height: 26px; font-size: 20px; min-height: 26px; }
form.blogger textarea { width: 500px; height: 150px; line-height: 26px; font-size: 20px; }
form.blogger input[type="submit"] { margin-left: 110px; width: 508px; line-height: 26px; font-size: 20px; min-height: 26px; }
form.blogger ul li { color: #ff0000; margin-bottom: 5px; }

.date { margin-bottom: 20px; border-bottom: 1px solid #ccc; font-size: 24px; color: #666; line-height: 30px }
.blog { margin-bottom: 20px; }
.blog img { 
    width: 190px; float: left; padding: 5px; border: 1px solid #ccc; margin: 10px 10px 0 0; 
}
.blog .meta { 
    clear: left; 
    margin-bottom: 20px; 
}
.blog .meta { font-style: italic; font-size: 12px; color: #666; }
.blog .meta p {
    margin-bottom: 5px; 
    line-height: 1.2em; 
    padding-top: 10px;
    background-color: #ccc;
}

.blog img.large { width: 300px; min-height: 165px; }
.blog img.preview {
    width: 378px;
    float: none;
    margin-top: 3px;
}

.blog .continue-read-btn {
    padding: 8px;
    border: 1px solid;
    margin-left: 40%;
}

.main-col { 
    max-width: 555px; 
    display: inline-block;
    border-right: 1px solid #ccc; 
    padding: 0 20px 0 0;
    vertical-align: top;
    box-sizing: border-box;
}
.sidebar { 
    max-width: 555px; 
    padding: 0 0 0 10px; 
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
}


.comments { clear: both; }
.comments .odd { background: #eee; }
.comments .comment { padding: 20px; }
.comments .comment p { margin-bottom: 0; }
.comments h3 { background: #eee; padding: 10px; font-size: 20px; margin-bottom: 20px; clear: both; }
.comments .previous-comments { margin-bottom: 20px; }


.blog a:hover {
    color: #EF7F1A;
}

.buisness-page ul {
    padding-left: 14px;
}
.buisness-page ul li {
    margin-bottom: 10px;
    list-style: circle;
}


.search-page .blog img.preview {
    max-width: 400px;
}

.admin-edit-btn {
    margin-bottom: 10px;
}


.back-to-top {
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    transition: opacity 0.2s cubic-bezier(0.56, 0.14, 0.25, 0.9) 0s;
    width: 0;
}
.back-to-top::before {
    content: "";
    height: 100%;
    max-width: 80px;
    position: absolute;
    transition: background 0.2s cubic-bezier(0.56, 0.14, 0.25, 0.9) 0s;
    width: 100%;
}
.back-to-top__button {
    display: block;
    font-weight: 600;
    font-size: 12px;
    padding: 10px;
}
.back-to-top__button::before {
    content: "↑ Наверх";
}
.back-to-top:hover::before {
    background: rgba(0, 0, 0, 0.1) none repeat scroll 0 0;
}
.back-to-top_active {
    cursor: pointer;
    opacity: 1;
}
.back-to-top_on-top .back-to-top__button::before {
    content: "↓ Вниз";
}
.back-to-top_afterheader {
    position: fixed;
    top: 0;
}
@media (max-width: 1480px) {
    .back-to-top__button::before {
        content: "↑";
    }
    .back-to-top_on-top .back-to-top__button::before {
        content: "↓";
    }
}
@media (max-width: 1217px) {
    .back-to-top {
        display: none;
    }
}
/* моя лента */

.block-popular h3 {
    color: rgba(50, 60, 141, 0.95);
    margin-top: 40px;
}

.border-small-popular{
    border: 2px solid rgba(50, 60, 141, 0.95);
    margin-bottom: -4px;
    margin-right: 986px;
    margin-left: -1px;
}
.border-popular {
    border: 1px solid black;
    margin-bottom: 25px;
}

.border-header h3 {
    border-bottom: 3px solid rgba(50, 60, 141, 0.95);
    display: inline-block;
    padding-right: 15px;
}

.border-header {
    margin-top: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid;
}
.block-video h3 {
    color: rgba(50, 60, 141, 0.95);
    margin-top: 40px;
}
.container .block-video h3:hover {
    color: #ef7f1a;
}
.border-small-video {
    border: 2px solid rgba(50, 60, 141, 0.95);
    margin-bottom: -4px;
    margin-right: 986px;
    margin-left: -9px;
}
.border-video {
    /*border: 1px solid black;*/
    margin-bottom: 25px;
}
.video-one {
    margin-left: 16px;
}
.video-two {
    margin-left: 16px;
}
.vkwall-header {
    color: rgba(50, 60, 141, 0.95);
}

.main-lentanew {  
    max-width: 769px; 
    display: inline-block;
    border-right: 1px solid #ccc; 
    padding: 0 20px 0 0;
    vertical-align: top;
    box-sizing: border-box;
}
.conteinernew {
    float: left;
    width: 100%;
    margin-right: 20px;
}
.blog h4{
    font-size: 13px;
}
.blog img {
    float: left;
}
.blog:last-child {
    margin-right: 0;
}
.container-height {
    position: relative;
}

.review-btn .arrow {
    top: 2000;
}
.arrow-left {
    background-position: -1px -1px;
    right: 1135px;
    background: url(/images/A3.png) no-repeat center 100%;
}
.control-review-btn.arrow {
    top: 198px;
}
.arrow-right {
    background-position: -95px -1px;
    right: -56px;
    background: url(/images/A1.png) no-repeat center 100%;
}
.arrow:hover {
    opacity: 0.6;
}
.arrow {
    position: absolute;
    width: 38px;
    height: 34px;
    cursor: pointer;
    top: 140px;
    background-size: contain;
}

/* Галерея */
.gallery {
    margin-bottom: 2em;
    margin-top: 32px;
    cursor: pointer;
    margin-bottom: -11px;
}
.gallery-social {
    width: 540px;
    height: 25em;
    background-repeat: no-repeat;
    display: inline-block;
    background-size: cover;
    background-position: center; 
    margin-bottom: 0.3em;
    margin-top: -5px;
}
.gallery.foto-two {
    background-position: 50% 0px;
    height: 30px;
}
.gallery-item {
    width: 7.5em;
    height: 6em;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center; 
    cursor: pointer;
    /*opacity: 0.5;*/
    transition: opacity 0.3s;
}
.gallery-item.foto-six {

}
.gallery-list {
    margin-left: 148px;
}
.gallery-item.active,
.gallery-item:hover {
    opacity: 1;
}
/* Увеличение фото социальных сетей */
.popup {
    position: 30px;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    display: none;
    text-align: center;
}
.popup_bg {
    background:rgba(0,0,0,0.4);
    position:absolute;
    z-index: 1;
    height: 100%;
    width: 100%;
}
.popup_img {
    position: relative;
    margin: 0 auto;
    z-index: 2;
    max-height: 94%;
    max-width: 94%;
    margin: 1% 0 0 0;
}
.sidebarsocial { 
    max-width: 347px; 
    padding: 0 0 0 10px; 
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;

    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                          supported by Chrome and Opera */
}
.vk-widg {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 29px;
}

/* слайдер для блока новостей */
#newlenta {
    overflow: hidden;
}
#polosa {
    position: relative; 
    width: 1508px;
    left: 0;
    transition: all ease 1s;
    margin-bottom: 17px;
}
#polosa article {
    float: left;
}
#polosa::after {
    content: "";
    display: block;
    clear: both;
}
/*Блог с закрепленной иконной*/

.imag-fix-icon {
    float: right;
    margin-top: -42px;
}
.blog .fix-icon p {
    /*background-color: #ccc;*/
    font-style: italic;
    margin-right: 358px;
    margin-bottom: 3px;
    color: #D2D3D6;
}
.fix-icon {
    margin-top: -21px;
    margin-left: 282px;
}
.fix-icon p{
    font-size: 12px;
}

/*Блог с новостями*/
/*.blog-container-news {*/
/*    float: left;*/
/*}*/
.blog-img {

}
/*.blog-right {*/
/*    float: left;*/
/*}*/
.blog-heading {

}
.blog-date {

}
.clearfix {
    clear: both;
}
/*Блог с новостями*/
.blognew {
    float: left;
    width: 377px;
    box-sizing: border-box;
    border-radius: 3px;
    background-color: #fafafa;
    margin: 0px; 
}

.blognew .background-image {
    border-radius: 5px 5px 0px 0px;
    border-bottom: 1px solid silver;
    margin-bottom: 10px;
}
.container-image {

}
.article-content {
    padding-right: 30px; 
    position: relative;
}
.linknew {
    position: absolute;
    top: 0px;
    left: 0px;
    display: block;
    right: 29px;
    bottom: 0px;
}
.blognew header h2 {
    width: 90%;
    font-weight: normal;
    font-size: 1em;
    line-height: 1.5;
}
.blognew a:hover {
    color: #EF7F1A;
}

.blognew .continue .new-read-btn {
    padding: 8px;
    border: 1px solid;
    margin-left: -15px;
}

.metanew p {
    color: #bcbcbc;
    margin-left: 10px;
    font-style: italic;
    font-size: 11px;
}
.dorder-meta {
    border: 1px solid rgba(50, 60, 141, 0.95);

}
.blognew .background-image {
    background-repeat: no-repeat;
    background-position: 50% 0px;
    background-size: cover;
    height: 300px;
    border-radius: 4px;
}
/* мой слайдер */
.personal-information {
    margin-bottom: 33px;
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
}
.image-home {
    padding: 0 20px 0 0;
    box-sizing: border-box;
    width: 50%;
}
.information {
    padding: 15px 0 0 10px;
    box-sizing: border-box;
}
.main-thing {
    font-size: 14px;
}
.dorder-main-thing {
    border-bottom: 1px solid #ccc;
}
.dorder-main-thing h4 {
    font-size: 17px;
}
.article img{ 
    width: 100%;
}
/*-----information-----*/
.within {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: start;
}
.within-block {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
}
.within-block a:hover {
    color: blue;
    font-weight:bold;
}
.within-block a {
    color: #000070;
    font-weight:bold;
}
.within-block p:first-child {
    width: 30%;
}
.within-block p:nth-child(2){
    color: #2b587a;
    width: 70%;
}

/*Второй альбом*/
.album-foto2 {
    opacity: .99;
    overflow: hidden;
    position: relative;
    border-radius: 3px;
    cursor: pointer;
}
.album-foto2:before {
    content: '';
    background: -webkit-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    width: 100%;
    height: 50%;
    opacity: 0;
    position: absolute;
    top: 100%;
    margin-left: 14px;
    left: 0;
    z-index: 2;
    transition-property: top, opacity;
    transition-duration: 0.3s;
}
.album-foto2 img {
    display: block;
    backface-visibility: hidden;
}
.album-foto2 .caption-two {
    width: 100%;
    padding: 20px;
    color: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
    text-align: center;
}

.album-foto2 .caption-two span {
    display: block;
    opacity: 0;
    position: relative;
    top: 100px;
    transition-property: top, opacity;
    transition-duration: 0.3s;
    transition-delay: 0s;
}

.album-foto2 .caption-two .title {
    line-height: 1;
    font-weight: normal;
    font-size: 18px;
}

.album-foto2 .caption-two .info {
    line-height: 1.2;
    margin-top: 5px;
    font-size: 12px;
}

.album-foto2:focus:before,
.album-foto2:focus span, .album-foto2:hover:before,
.album-foto2:hover span {
    opacity: 1;
}
.album-foto2:focus:before, .album-foto2:hover:before {
    top: 50%;
}
.album-foto2:focus span, .album-foto2:hover span {
    top: 0;
}
.album-foto2:focus .title, .album-foto2:hover .title {
    transition-delay: 0.15s;
}
.album-foto2:focus .info, .album-foto2:hover .info {
    transition-delay: 0.25s;
}
/*Пагинаци*/
.pagination {
    display: inline-block;
    padding: 0;
    margin: 0;
    cursor: pointer;
    user-select: none;
}
.pagination span {
    display: inline;
    text-align: center;
    float: left;
    margin: 0 20px 0 0;
    border: 1px solid #ddd;
}
.pagination span a{
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
}
.pagination .next a,
.pagination .last a {
    width: auto; 
}
.navigation .pagination span:hover {
    background-color: #EF7F1A;
}
.navigation .pagination span:hover a {
    color: white;
}
.pagination .next:hover,
.pagination .last:hover {
    color: #1982d1;
    background: none; 
}

form.photo-form {
    font-size: 16px;
}
form.photo-form select {
    padding: 0px 10px;
    width: 100%;
}
form.photo-form label[for=photo_album_id] {
    padding-top: 20px;
}
.with-error {
    color: red;
}
body .fade {
    opacity: 1;
}

.footer {
    position: relative;
}
.top-control-btns {
    margin-top: 20px;
    width: 100%;
    text-align: center;
}
.top-control-btns a.control-btn {
    color: black;
    padding: 5px;
    border: 1px solid black;
    margin-right: 10px;
}


.within-sites {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.within-sites a {
    width: 100%;
    line-height: 20px;
}

