.bg-admin,
.btn-admin {
    background-color: #435ebe;
    color: #dee2e6;
}

.btn-admin {
    background-color: #435ebe;
    color: #dee2e6;
}

.admin .rounded {
    border-radius: 10px !important;
}

.text-admin, .page-link {
    color: #435ebe;
}

.btn-admin:hover {
    background-color: #F36525;
    color: #fff;
}

.btn-admin-danger {
    background-color: #fff;
    color: #f00;
}

.btn-admin-danger:hover {
    background-color: #f00;
    color: #fff;
}

.btn-more {
    background-color: #F36525;
    color: #fff;
}

.invalid-feedback {
    color: #F36525 !important;
}

.btn-more:hover {
    background-color: #F36525;
    color: #435ebe;
}

.btn-more-secondary {
    background-color: #435ebe;
    color: white;
}

.btn-more-secondary:hover {
    color: #F36525;
}

.btn-outline-admin {
    border-color: #435ebe;
    color: #435ebe;
}

.btn-outline-admin:hover {
    background-color: #435ebe;
    color: #ffffff;
}


.btn-outline-more  {
    border-color: #F36525;
    color: #F36525;
}

.btn-outline-more:hover  {
    background-color: #F36525;
    color: #ffffff;
}

.text-more {
    color: #F36525;
}

.text-more-muted {
    color: #66666666;
}

.text-more-title a {
    color: #303030;
    font-weight: 500;
}

.text-more-category a {
    color: #303030;
    font-weight: 400;
}

.text-more-lead {
    color: #666;
}

.text-more-date {
    font-size: 1rem;
    color: #666;
}

.text-more-badge,
.text-more-badge a {
    color: #303030;
}

.media-body {
    flex: 0;
}

.admin ul.clean li {
    list-style: none;
    margin-top: 5px;
    margin-bottom: 5px;
}

.admin ul.clean {
    padding-left: 15px;
    padding-right: 15px;
}

.admin .picture-column {
    max-width: 7rem;
}

/* Глобальные переопределения */
a {
    color: #0174BD;
}

label {
    margin-bottom: 0;
}

@keyframes orbit-spinner-orbit-one-animation {
    0% {
        transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg);
    }
    100% {
        transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg);
    }
}

@keyframes orbit-spinner-orbit-two-animation {
    0% {
        transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg);
    }
    100% {
        transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg);
    }
}

@keyframes orbit-spinner-orbit-three-animation {
    0% {
        transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg);
    }
    100% {
        transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg);
    }
}

/* body */
body {
    font-family: 'RobotoDraft', 'Roboto', 'Helvetica Neue, Helvetica, Arial', sans-serif;
    /*
    font-style: normal;
    letter-spacing: 0.01rem;
    */
    color: #212121;
    background-color: #f5f5f5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* main menu */

body nav.head {
    background: #0174BD;

}


img.gor_logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

ul.nav.main_menu .nav-item a.nav-link {
    color: #333333;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    /* font-size: 1px; */
    font-weight: bold;
    padding-top: 15px;
    padding-bottom: 15px;
    /* border-bottom: 5px solid #FFFFFF; */
}

ul.nav.main_menu .nav-item:hover a.nav-link {
    border-bottom: 5px solid #d20133; /* #0174BD; #0BE6AF*/
    padding-bottom: 10px;
}

/* центральная картинка на главной */
.index-central {
    padding: 0 0 0 0;
    margin: 0 0 0 0;

}

/* центральная картинка в категории */
.category-central {
    padding: 0 0 0 0;
    margin: 0 0 0 0;

}

/* светлый блок категории на всю ширину главной страницы */
.index-category .col-sm-5 {
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}

.index-category .card-body {
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}

.index-category .card-body .card-title {
    font-family: 'Oswald', sans-serif;
    font-size: 3em;
    color: #000;
    font-weight: 900;
    letter-spacing: -.02em;
    text-decoration-line: none;
}

.index-category .card-body .card-text {
    font-family: 'Roboto', sans-serif;
    letter-spacing: -.02em;
    font-weight: 400;
    font-size: 0.9em;
    color: #777;
    text-decoration-line: none;
}

/* Общие карточки новостей */

.card.news {
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    border-bottom: 1px solid #777;
}

.card.news .card-body {
    padding: 0;
}

.card.news .card-body .category {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: .6rem;
    color: #777;
    text-decoration-line: none;
}

.card.news .card-body .category.datetime {
    font-weight: 400;
    margin: 0 0 0 .1rem;
}

.card.news .card-title, .card.news .card-title a {
    font-family: 'Oswald', sans-serif;
    color: #222;
    font-weight: 700;
    letter-spacing: -.02em;
    text-decoration-line: none;
}


/* Колонка новостей (layout) без лида */
.card.wo_lead {
    border: 0;
    border-bottom: 1px solid rgba(229, 229, 229, 1);
}

.card.wo_lead .card-body .category {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: .6rem;
    color: #777;
    text-decoration-line: none;
}

.card.wo_lead .card-body.category {
    padding: 0.2rem;
}

.card.wo_lead .card-body .category.datetime {
    font-weight: 400;
    margin: 0 0 0 .1rem;
}

.card.wo_lead .card-title,
.card.wo_lead .card-title a,
.card.wo_lead .card-body.category h2.card-title a {
    font-family: 'Oswald', sans-serif;
    color: #222;
    font-weight: 700;
    letter-spacing: -.02em;
    text-decoration-line: none;
    font-size: 1.3rem;
}

.card-title, h6 {
    font-size: 0.8rem;
}

/* большая новость */
.row .lg-news {
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}

.card.news.lg-news .card-body .category {
    font-size: 0.7rem;
}

.card.news.lg-news .card-body .card-title {
    font-size: 2rem;
}

.card.news.lg-news .card-body .card-text.font_center_card {
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
}

/* средняя новость */
.row .md-news {
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}

.row .card.news.md-news .card-body .card-title {
    font-size: 1.3rem;
}

/* мелкая новость */
.row .sm-news {
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}

.row .card.news.sm-news .card-body .card-title {
    font-size: 1.3rem;
}

.row .card.news.sm-news .card-title a {
    font-size: 1rem;
}

.row .card.news.sm-news .card-title h6 {
    font-size: 1rem;
}

/* paginator */
nav ul.pagination.fox li.page-item a {
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    color: #000;
    font-size: .8rem;
    font-weight: 700;
}

nav ul.pagination.fox li.page-item a:hover, nav ul.pagination.fox li.page-item.active a {
    border: 1px solid #0174bd;
    background: #0174bd;
    color: #fff;
}

/* Детальная страница новости */
h1.admin_view {
        font-family: 'Oswald', sans-serif;
        color: #000;
        font-size: 3.1rem;
        font-weight: 700;
        letter-spacing: -.02em;
        line-height: 1.1;
        padding-left: 0em;
        margin-right: 18%;
        margin-bottom: 0.2em;
}

.admin_user_avatar {
    object-fit: cover;
    height: 24px;
    width: 24px;
    border: 2px solid #ddd;
    position: relative;
    overflow: hidden;
}


.admin_author_checked {
    background-color: green;
}

.admin_category_checked {
    background-color: green;
}

.admin_tag_checked {
    background-color: green;
}

.admin_photographer_checked {
    background-color: green;
}

p.admin_view-lead {
    font-family: 'Roboto', sans-serif;
    color: #555;
    font-weight: 400;
    line-height: 1.55;
    padding-left: 0.1em;
}

/* pillow md */
.fox-label.mb-2 {
    padding: 7px 13px;
    margin: 0 0 0 0;
}

.row.article-detail .category a.nav-link.active {
    padding: 0px 13px;
}

.content-body {
    padding: 0;
    margin: 0;
}

.content-body .img-thumbnail {
    padding: 0;
    border-radius: 0;
}

.content-body p {
    padding: 0;
}

.content-body p img {
    padding: 0;
    border-radius: 0rem;
    max-width: 100%;
}

.content-body ul li {
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}

.content-body h2 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1.9rem;
    color: #000;
    letter-spacing: -.02em;
    line-height: 1.1;
    margin: 0 0 0.5em 0;
}

.content-body blockquote {
    quotes: none;
    /*font-family: 'Roboto', sans-serif;*/
    font-weight: 400;
    /*font-size: 1.5rem;*/
    text-align: left;
    color: #000;
    line-height: 1.3;
    padding: 2rem;
    padding-left: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0rem;
    /*border-color: #0174bd*/
    border-left: 0.1rem solid #0174bd;
    margin: 0 0 2rem 1rem;
}

/*.content-body blockquote p:before {
  position: absolute;
  content: "\0201C";
  font-size: 3em;
  margin-left: -0.6em;
  margin-top: -1.7rem;
  color: #0174bd;
}

.content-body blockquote p:after {
  position: absolute;
  content: "\0201D";
  font-size: 3em;
  margin-left: -0.1em;
  color: #0174bd;
}*/

/* для ютуба */
.content-body .min-height-480 {
    min-height: 480px;
}


.content-body p a {
    color: #000;
    box-shadow: 0px 1px 0px 0px #0174BD;
    text-decoration-line: none;
}

.content-body p a:hover {
	background: #0174BD;
	color: #fff;
}

.content-body ul li a {
    color: #000;
    box-shadow: 0px 1px 0px 0px #0174BD;
    text-decoration-line: none;
}

.content-body ul li a:hover {
    background: #0174BD;
    color: #fff;
}

.content-body ol li a {
    color: #000;
    box-shadow: 0px 1px 0px 0px #0174BD;
    text-decoration-line: none;
}

.content-body ol li a:hover {
    background: #0174BD;
    color: #fff;
}

.content-body td {
    vertical-align: top;
}

.content-body pre {
    display: block;
    margin-top: 0;
    margin-bottom: 1rem;
    overflow: unset;
}

.content-body p code,
.content-body pre code {
    white-space: normal;
    color: #888;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
}

.news .img-description, .news p em {
    font-size: 13px;
    color: #777;
}

.counter-block {
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}

/* icons */

.fa.calm-color {
    color: rgba(255,255,255,.15);
}

span .age-color {
    color: #3b5998;
}

span .age-square {
    color: #3b5998;
    font-size: 2rem;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}

span .age-digit {
    color: #d1d1d1;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 0 -5px;
    padding: 0 0 0 0;
}

.facebook-color {
    color: #3b5998;
}

a:hover .facebook-bw {
    color: #3b5998;
}

a:hover .facebook-bg-bw {
    background-color: #3b5998;
}

.facebook-color {
    color: #3b5998;
}

a:hover .pinterest-bw {
    color: #bd081c;
}

.pinterest-color {
    color: #bd081c;
}

a:hover .pinterest-bg-bw {
    background-color: #bd081c;
}

a:hover .odnoklassniki-bw {
    color: #ed812b;
}

.odnoklassniki-color {
    color: #ed812b;
}

a:hover .odnoklassniki-bg-bw {
    background-color: #ed812b;
}

a:hover .newspaper-bg-bw {
    background-color: #0174BD;
}

.newspaper-bg-bw {
    color: #0174BD;
}

a:hover .youtube-bw {
    color: #ff0000;
}

.youtube-color {
    color: #ff0000;
}

a:hover .twitter-bw {
    color: #1da1f2;
}

.twitter-color {
    color: #1da1f2;
}

a:hover .twitter-bg-bw {
    background-color: #1da1f2;
}

a:hover .vk-bw {
    color: #45668e;
}

.vk-color {
    color: #45668e;
}

a:hover .vk-bg-bw {
    background-color: #45668e;
}

a:hover .afisha-bw {
    color: #ff4c4c;
}

.afisha-color {
    color: #ff4c4c;
}

a:hover .instagram-bg-bw {
    background: #f09433;
    background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background: -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 );
}

/* кнопки */


/* Flat page or Static page */
.flat_page {
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
}

.flat_page h1 {
        font-family: 'Oswald', sans-serif;
        font-weight: 900;
        font-size: 2.2rem;
        color: #000;
        letter-spacing: -.02em;
        line-height: 1.1;
        margin-left: 1rem;
}

.flat_page h2 {
        font-family: 'Oswald', sans-serif;
        font-weight: 900;
        font-size: 1.5rem;
        color: #000;
        letter-spacing: -.02em;
        line-height: 1.1;
        margin-left: 1rem;
}

.flat_page h3 {
        font-family: 'Oswald', sans-serif;
        font-weight: 900;
        font-size: 1rem;
        color: #000;
        letter-spacing: -.02em;
        line-height: 1.1;
        margin-left: 1rem;
}

.flat_page h4 {
        font-family: 'Oswald', sans-serif;
        font-weight: 900;
        font-size: 0.8rem;
        color: #000;
        letter-spacing: -.02em;
        line-height: 1.1;
        margin-left: 1rem;
}

.flat_page h5 {
        font-family: 'Oswald', sans-serif;
        font-weight: 900;
        font-size: 2.2rem;
        color: #000;
        letter-spacing: -.02em;
        line-height: 1.1;
        margin-left: 1rem;
}

.flat_page h6 {
        font-family: 'Oswald', sans-serif;
        font-weight: 900;
        font-size: 2.0rem;
        color: #000;
        letter-spacing: -.02em;
        line-height: 1.1;
        margin-left: 1rem;
}

#mvp-content-bot {
    width: 100%;
}

.mvp-post-tags {
    float: left;
    font-size: .8rem;
    line-height: 1;
    margin-top: 15px;
    text-transform: uppercase;
    width: 100%;
}

.mvp-post-tags-header {
    color: #000;
    float: left;
    font-weight: 700;
    margin-right: 10px;
}

.mvp-post-tags a, .mvp-post-tags a:visited {
    color: #777 !important;
    display: inline-block;
    float: left;
    font-weight: 600;
    margin: 0 10px 5px 8px;
    position: relative;
}

.form-control {
	border-radius: 0;
}

.form-control:focus {
    color: #495057;
    background-color:#fff;
    outline: 0;
}

.form-control:focus {
    color: #495057;
    background-color:#fff;
    outline: 0;
}

.form-check-input:checked {
    background-color:#fff;
    outline: 0;
}

.form-check-input::after {
    outline: 0;
}

.btn-primary {
    color: #fff;
    background-color: #0174bd;
    border-color: #0174bd;
    text-align: left;
}

.btn-primary:hover {
    color: #fff;
    background-color: #0174bd;
    border-color: #0174bd;
}

.sidebar {
    background-color: #0174bd;
    border-top: 1px solid rgba(255,255,255,.1);
}

.media_card {
    background-color: #fff;
    background-clip: border-box;
    border-radius: 0;
    border: 0;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}

.media_card_text a{
    font-family: Oswald, sans-serif;
    font-weight: 700;
    letter-spacing: -.02em;
    text-decoration-line: none;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    box-sizing: border-box;
    margin-top: 0;
    margin-bottom: .5rem;
    line-height: 1.2;
    font-size: 1rem;
    padding-top: .25rem!important;
}

.media_card_right a{
    line-height: 1.5;
    text-align: left;
    box-sizing: border-box;
    text-decoration: none;
    background-color: transparent;
    font-family: Roboto, sans-serif;
    font-weight: 700;
    font-size: .6rem;
    color: #777;
    text-decoration-line: none;
}

.media_card_right span{
    line-height: 1.5;
    text-align: left;
    box-sizing: border-box;
    text-decoration: none;
    background-color: transparent;
    font-family: Roboto, sans-serif;
    font-weight: 700;
    font-size: .6rem;
    color: #777;
    text-decoration-line: none;
}


.btn_white {
    color: #fff;
    font-weight: 900;
}

.border_bottom {
    border-bottom: 1px solid rgba(229, 229, 229, 1)
}

/*медиа меню с иконками соцсетей*/
@media screen and (max-width: 1250px) and (min-width: 1200px) {
	.w1200 {
		display: inline;
	}
	.w1250 {
		display: none;
	}
	.w1300 {
		display: none;
	}
	.w1350 {
		display: none;
	}
	.w1400 {
		display: none;
	}
	.w1450 {
		display: none;
	}
	.w1500 {
		display: none;
	}
	.w1550 {
		display: none;
	}
}

@media screen and (max-width: 1300px) and (min-width: 1250px) {
	.w1200 {
		display: inline;
	}
	.w1250 {
		display: inline;
	}
	.w1300 {
		display: none;
	}
	.w1350 {
		display: none;
	}
	.w1400 {
		display: none;
	}
	.w1450 {
		display: none;
	}
	.w1500 {
		display: none;
	}
	.w1550 {
		display: none;
	}
}

@media screen and (max-width: 1350px) and (min-width: 1300px) {
	.w1200 {
		display: inline;
	}
	.w1250 {
		display: inline;
	}
	.w1300 {
		display: inline;
	}
	.w1350 {
		display: none;
	}
	.w1400 {
		display: none;
	}
	.w1450 {
		display: none;
	}
	.w1500 {
		display: none;
	}
	.w1550 {
		display: none;
	}
}

@media screen and (max-width: 1400px) and (min-width: 1350px) {
	.w1200 {
		display: inline;
	}
	.w1250 {
		display: inline;
	}
	.w1300 {
		display: inline;
	}
	.w1350 {
		display: inline;
	}
	.w1400 {
		display: none;
	}
	.w1450 {
		display: none;
	}
	.w1500 {
		display: none;
	}
	.w1550 {
		display: none;
	}
}

@media screen and (max-width: 1450px) and (min-width: 1400px) {
	.w1200 {
		display: inline;
	}
	.w1250 {
		display: inline;
	}
	.w1300 {
		display: inline;
	}
	.w1350 {
		display: inline;
	}
	.w1400 {
		display: inline;
	}
	.w1450 {
		display: none;
	}
	.w1500 {
		display: none;
	}
	.w1550 {
		display: none;
	}
}

@media screen and (max-width: 1500px) and (min-width: 1450px) {
	.w1200 {
		display: inline;
	}
	.w1250 {
		display: inline;
	}
	.w1300 {
		display: inline;
	}
	.w1350 {
		display: inline;
	}
	.w1400 {
		display: inline;
	}
	.w1450 {
		display: inline;
	}
	.w1500 {
		display: none;
	}
	.w1550 {
		display: none;
	}
}

@media screen and (max-width: 1550px) and (min-width: 1600px) {
	.w1200 {
		display: inline;
	}
	.w1250 {
		display: inline;
	}
	.w1300 {
		display: inline;
	}
	.w1350 {
		display: inline;
	}
	.w1400 {
		display: inline;
	}
	.w1450 {
		display: inline;
	}
	.w1500 {
		display: inline;
	}
	.w1550 {
		display: none;
	}
}

@media screen and (max-width: 1600px) and (min-width: 1650px) {
	.w1200 {
		display: inline;
	}
	.w1250 {
		display: inline;
	}
	.w1300 {
		display: inline;
	}
	.w1350 {
		display: inline;
	}
	.w1400 {
		display: inline;
	}
	.w1450 {
		display: inline;
	}
	.w1500 {
		display: inline;
	}
	.w1550 {
		display: inline;
	}
}

    /*главное меню*/

    .xl_main_menu {
        height: 50px;
        background-color: #0174BD;
        padding-bottom: 0rem;
        padding-top: 0rem;
    }

    .xl_main_menu div ul li button i {
        font-size: 1.5em;
    }

    .xl_main_menu div ul li a img {
        height: 50px;
        width: 293px;
    }

    .xl_main_menu div ul li a button{
        color: black;
    }

    .xl_main_menu div ul li a {
        color: #f8f9fa;
    }



    .lg_main_menu {
        height: 50px;
        background-color: #0174BD;
        padding-bottom: 0rem;
        padding-top: 0rem;
    }

    .lg_main_menu div ul li button i {
        font-size: 1.5em;
    }

    .lg_main_menu div ul li a img {
        height: 50px;
        width: 293px;
    }

    .lg_main_menu div ul li a button{
        color: black;
    }

    .lg_main_menu div ul li a {
        color: #f8f9fa;
    }

    .sm_main_menu {
        height: 50px;
        background-color: #0174BD;
        padding-bottom: 0rem;
        padding-top: 0rem;
    }

    .sm_main_menu div ul li button i {
        font-size: 1.5em;
    }

    .sm_main_menu div ul li a img {
        height: 50px;
        width: 293px;
    }

    .xs_main_menu {
        padding-right: 0.1rem;
        padding-left: 0.1rem;
        height: 50px;
        background-color: #0174BD;
        padding-bottom: 0rem;
        padding-top: 0rem;
    }

    .xs_main_menu div ul li button i {
        font-size: 1.5em;
    }

    .xs_main_menu div ul li a img {
        height: 50px;
        width: 293px;
    }

    .sidebar_left div div div {
        background-color: #0174bd;
    }

    .sidebar_left div div div div h5 {
        color: #ffffff;
    }

    .sidebar_left div div div div a {
        color: #f8f9fa;
    }

    #loginpopup_error_msg {
        color: red;
    }

    .social_media_btn {
        width: 2em;
    }


    .footer_social {
        list-style: none;
        padding: 0 0 0 10px;
        display: inline-block;
    }

    .modal-footer {
        display: block;
    }

    .modal-content {
        background-color: #0174bd;

        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    .modal-content.white {
        background-color: #FFF;
    }

    /* окно поиска */

    .modal.search {
        background: rgba(0, 0, 0, 0.81);
    }

    .closesearchbarbtn {
        color: #ffffff;
        background-color: rgba(0, 0, 0, 0);
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
        border-width: 0px;
        font-size: 5rem;
    }

    .modal.search .modal-dialog {
        color: #ffffff;
        vertical-align: middle;
        top: 40%;
        background-color: rgba(0, 0, 0, 0);
    }

    .modal.search .modal-content {
        color: #ffffff;
        background-color: rgba(0, 0, 0, 0);
        border: 0;
    }

    .modal.search .modal-header {
        padding: 0;
        margin-bottom: 10px;
        background-color: rgba(0, 0, 0, 0);
    }
    .search_field {
        color: #ffffff;
        background-color: rgba(0, 0, 0, 0);
        width: 90%;
        border: 0;
    }

    .search_field:focus {
        outline: none;
    }

    /* clears the 'X' from Internet Explorer */
        input[type=search]::-ms-clear {  display: none; width : 0; height: 0; }
        input[type=search]::-ms-reveal {  display: none; width : 0; height: 0; }

    /* clears the 'X' from Chrome */
        input[type="search"]::-webkit-search-decoration,
        input[type="search"]::-webkit-search-cancel-button,
        input[type="search"]::-webkit-search-results-button,
        input[type="search"]::-webkit-search-results-decoration { display: none; }


    .search_btn {
        color: #ffffff;
        background-color: rgba(0, 0, 0, 0);
        width: 10%;
        border: 0;
        text-align: right;
    }

    .search_btn:focus {
        outline: none;
    }

    .modal.search .modal-dialog form{
        color: #ffffff;
        background-color: rgba(0, 0, 0, 0);
        width: 100%;
        font-size: 2rem;
    }

    /*попап выезжает сбоку*/

    .modal.left .modal-dialog {
        position: fixed;
        margin: auto;
        width: 320px;
        height: 100%;
        -webkit-transform: translate3d(0%, 0, 0);
        -ms-transform: translate3d(0%, 0, 0);
        -o-transform: translate3d(0%, 0, 0);
        transform: translate3d(0%, 0, 0);
    }

    .modal.left .modal-content {
        height: 100%;
        overflow-y: auto;
    }

    .modal.left .modal-body {
        padding: 15px 15px 80px;
    }

    .modal.left.fade .modal-dialog {
        left: -380px;
        -webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
        -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
        -o-transition: opacity 0.3s linear, left 0.3s ease-out;
        transition: opacity 0.3s linear, left 0.3s ease-out;
    }

    .modal.left.fade.show .modal-dialog {
        left: 0;
    }

    .closeslidebarbtn{
        color: #ffffff;
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
        margin-left: 50px;
    }

    /*обзор категорий*/

    .short_cat_review_main {
        height: 600px;
        overflow: hidden;
    }

    @media only screen and (max-width : 767px){
        .short_cat_review_main {
            height: auto;
            max-height: 500px;
            overflow: hidden;
        }

        .short_cat_review_main a div.card-img {
            background-color: #ced5dc;
            height: 300px!important;
            width: 100%;
        }
    }

    .short_cat_review_main a div.card-img {
        background-color: #ced5dc;
        height: 50%;
        width: 100%;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
    .short_cat_review_main img {
        background-color: #ced5dc;
        max-height: 75%;
        width: 100%;
    }
    .short_cat_review_sub_txt {
        line-height: 1.5;
        text-align: left;
        box-sizing: border-box;
        text-decoration: none;
        background-color: transparent;
        font-family: Roboto, sans-serif;
        font-weight: 700;
        font-size: .6rem;
        color: #777;
        text-decoration-line: none;
    }

    .short_cat_review_sub_2 a {
        font-family: Oswald, sans-serif;
        font-weight: 700;
        letter-spacing: -.02em;
        text-decoration-line: none;
        font-size: 1rem;
        color: #212529;
        text-align: left;
        box-sizing: border-box;
        margin-top: 0;
        margin-bottom: .5rem;
        line-height: 1.2;
        font-size: 1rem;
    }

    /*take a look at news_short.html*/

    .news_short {
        border-bottom: 1px solid rgba(229, 229, 229, 1);
        margin-bottom: 5px;
    }

    /*take a look in article_detail.html*/
    .md_news_list_a_header {
        font-family: 'Roboto', sans-serif !important;
        font-size: 0.5rem !important;
        letter-spacing: -.02em;
        /*line-height: 0.1rem !important;*/
        font-weight: 400 !important;
        letter-spacing: 0.001rem !important;
        font-size: 1.1rem !important;
    }


    .news_column_db {
        border-bottom: 1px solid rgba(229, 229, 229, 1);
    }

    .news_column_sm_img {
        margin-bottom: 5px;
    }

/* Служба 005 */

h5.card-header {
    font-family: Oswald, sans-serif;
    font-weight: 700;
    letter-spacing: -.02em;
    text-decoration-line: none;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    box-sizing: border-box;
    line-height: 1.2;
    font-size: 1.2rem;
}


.bg {
  background-color: #f5f5f5;
}

.sticky {
  position: sticky;
  top: 0;
  min-height: 2em;
}

.bg-color {
    background-color: #fff;
    background-clip: border-box;
    border-radius: 0;
}


.gallery-navbar .form-inline {
    border-top: 1px solid rgba(255,255,255,.1);
}


.card-columns.gallery_view .card .card-footer {
    padding: 0.5rem;
}

.custom_admin .card-columns.gallery_view {
    column-gap: 1rem;
}


@media (min-width: 500px) and (max-width: 699px){
    .custom_admin .card-columns.gallery_view {
        column-count: 2;
    }
}

@media (min-width: 700px) and (max-width: 899px){
    .custom_admin .card-columns.gallery_view {
        column-count: 3;
    }
}

@media (min-width: 900px) and (max-width: 1199px){
    .custom_admin .card-columns.gallery_view {
        column-count: 4;
    }
}

@media (min-width: 1200px) and (max-width: 1399px){
    .custom_admin .card-columns.gallery_view {
        column-count: 4;
    }
}


@media (min-width: 1400px) and (max-width: 1999px){
    .custom_admin .card-columns.gallery_view {
        column-count: 4;
    }
}

@media (min-width: 2000px) {
    .custom_admin .card-columns.gallery_view {
        column-count: 4;
    }
}

.gallery_view .card-body {
    padding: .4rem;
}

.gallery_view h5.card-title {
    font-family: Oswald, sans-serif;
    font-weight: 700;
    letter-spacing: -.02em;
    text-decoration-line: none;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    box-sizing: border-box;
    line-height: 1.2;
    font-size: 1.6rem;
}

.gallery_view .card-text a {
    font-family: 'Roboto', sans-serif;
    letter-spacing: -.02em;
    color: #777;
    text-decoration-line: none;
}

.gallery_view .card-text {
    letter-spacing: -.02em;
    font-size: 0.8em;
    margin-top: -8px;
}

.gallery_view .description {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: #000;
}

.admin h5 {
        font-family: 'Oswald', sans-serif;
        font-weight: 900;
        font-size: 20px;
        color: #000;
        letter-spacing: -.02em;
}

.pagination .active a, .page-item.active .page-link {
    background-color: #F36525;
    color: #fff;
    border: solid 1px #F36525;
}

.page-item:first-child .page-link, .page-item:last-child .page-link {
    border-radius: 0;
}

.submenu .btn.active {
    background-color: #435ebe;
    color: #fff;
}

.navbar-dark .navbar-nav .nav-link,
.nav .nav-link {
  padding-right: .5rem;
  padding-left: .5rem;
  color: #ffffffdd;
}
.navbar-dark .navbar-nav .nav-link:hover,
.nav .nav-link:hover {
  color: #ffffff99;
}
.navbar-dark .navbar-nav .active>.nav-link,
.nav .nav-item.active .nav-link {
  border-bottom: 1px solid #ffffff;
}


@media screen and (max-width: 992px) {
    .fancybox-slide--iframe {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
}


blockquote.admin del h5,
blockquote.admin del a,
blockquote.admin del i {
    color: #555;
}

blockquote.admin a,
blockquote.admin i {
    color: #000;
}

blockquote.admin a i.fa-image,
blockquote.admin a i.fa-globe,
blockquote.admin a i.fa-chart-area,
blockquote.admin a i.fa-external-link-alt,
blockquote.admin a i.fa-user-circle,
blockquote.admin a i.fa-edit {
    color: #0d6efd;
}


.admin h1 {
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0;
    font-weight: 300;
    color: #212121;
    text-transform: inherit;
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.admin h2 {
    font-size: 15px;
    line-height: 28px;
    letter-spacing: 0.01rem;
    font-weight: 400;
    color: #212121;
    text-align: center;
}

.admin h3 {
    font-size: 15px;
    line-height: 28px;
    letter-spacing: 0.01rem;
    font-weight: 600;
    color: #212121;
    text-align: left;
    padding-top: 20px;
}

.admin h4 {
    font-size: 15px;
    line-height: 28px;
    letter-spacing: 0.01rem;
    font-weight: 600;
    color: #212121;
    text-align: left;
    margin-bottom: 1px;
}

.admin p {
    margin-bottom: 10px;
}

.shadow-7 {
    -webkit-box-shadow: 0px 0px 17px 6px rgb(0 0 0 / 10%);
    -moz-box-shadow: 0px 0px 17px 6px rgb(0 0 0 / 10%);
    box-shadow: 0px 0px 17px 6px rgb(0 0 0 / 10%);
  }

.text-decoration-line-through {
    text-decoration: line-through;
}

.text-muted a, .text-muted a {
    color: #6c757d!important
}

.select2 {
    width: 100%!important;
  }

select#id_filter_tags + .select2 {
    width: 50%!important;
}

select#id_filter_tags + .select2 .select2-selection {
    border-radius: 0;
    min-height: calc(1.5em + 0.75rem + 2px);
}

.input-group select[multiple] + span.select2 {
    flex-grow: 1;
    width: unset!important;
}
.input-group select[multiple] + span.select2 span.selection {
    height: 100%!important;
}
.input-group select[multiple] + span.select2 span.select2-selection {
    height: 100%!important;
    border-radius: 0;
}

.langs.nav-tabs .nav-link {
    color: #435ebe;
}

.langs.nav-tabs .nav-link:focus, .langs.nav-tabs .nav-link:hover {
    color: #F36525;
}

#editor .small_input {
    display: flex;
    padding: initial;
}

#editor .small_input label {
    font-size: 0.8rem;
}

#editor .small_input .form-group input {
    font-size: 0.8rem;
    width: 5rem;
    height: 1.2rem;
}

.fix-outline-buttons {
    margin: 0 0 0 -1px;
}