.clear{
    clear: both;
}

/*Административная часть*/
.section-blog .property-order-container .base-settings{
  float: left; width: 45%;
}

.section-blog .property-order-container .base-settings h3{
  margin: 0 0 10px 0;
}

.section-blog .property-order-container .base-settings .base-setting-save{
  margin-bottom: 0;
}

.section-blog .property-order-container .base-settings .list-option li span,  .section-slider-action .custom-text {
    display:  inline-block;
    width: 190px;
}

.section-blog .property-order-container .base-settings .list-option li {
    margin:  0 0 10px 0;
}

.section-blog .property-order-container .base-settings .list-option li input,  .base-settings .list-option li select {
    margin:  0;
}

.entity-table-tbody tr td {
    text-align:  left;
}

.entity-table-tbody tr td {
    padding:  5px;
    vertical-align:  top;
}

.entity-table-tbody tr td.type {
    text-align:  center;
}

.b-modal .product-text-inputs a.note {
    border-bottom:  1px dashed #08c;
    display:  inline-block;
    font-size:  11px;
    margin:  0 0 0 165px;
    text-decoration:  none;
}

.b-modal .product-text-inputs a.addNewCat {
    border-bottom:  1px dashed #08c;
    display:  inline-block;
    font-size:  11px;
    text-decoration:  none;
    margin: 0 0 0 5px;
}

.section-blog .b-modal .period-params {
    display: none;
}

.add-product-form-wrapper .product-text-inputs .category-filter .last-items-dropdown {
    margin:  0 0 0 -4px !important;
}

.section-blog .select,
.section-blog .widget-table-action a{
    float: left;
    margin: 0 10px 0 0;
}

.section-blog .select {
    display: inline-block;
    margin-left: 10px;
}

.section-blog .new-admin-buttons {
    display: inline-block;
    border: 1px solid #ccc;
    cursor: pointer;
}

.section-blog .property-order-container .list-option li {
    margin:  0 0 5px 0;
}

.section-blog .property-order-container .list-option li label {
    vertical-align:  top;
}

.section-blog .property-order-container .list-option li input[type=checkbox] {
    margin-top:  7px;
}

.section-blog .property-order-container .list-option li textarea {
    resize:  none;
    font-size: 14px;
    height: 70px;
    font-family: Arial, Tahoma, sans-serif;
}

.section-blog .property-order-container .list-option span {
    width: 300px;
    display:  inline-block;
    line-height:  14px;
    vertical-align:  top;
    height: 16px;
    padding:  4px 0;
    margin-bottom: 10px;
}

.section-blog .previewPage{
    margin: 10px 0 0 0;
}

.section-blog .add-product-form-wrapper .product-text-inputs .category-filter .last-items-dropdown{
    margin: 0!important;
}

.section-blog .add-product-form-wrapper .product-text-inputs .category-filter{
    font-size: 0;
    margin-bottom: 15px;
    display: block;
}

.section-blog .add-product-form-wrapper .product-text-inputs .custom-text{
    font-size: 14px;
}

.section-blog .add-news-form .product-img-prev{
    position: static;
}

.section-blog .add-news-form  .product-upload-img .prev-img{
    margin: 0 0 10px 0;
}

.section-blog .imageform{
    font-size: 0;
}

.section-blog .add-news-form  .product-upload-img{
    float: right;
    position: relative;
}

.section-blog .add-news-form .product-desc-wrapper{
    margin: 15px 0 0 0;
}

.section-blog .product-text-inputs label{
    cursor: default;
}

.section-blog .add-product-form-wrapper span.add-text{
    margin: 0 10px 5px 0;
    display: inline-block;
    min-width: 120px;
}

.section-blog .b-modal .cancel-img-upload{
    bottom: 0;
    right: 0;
    position: absolute;
    height: 24px;
    width: 100px;
}

.section-blog .b-modal .cancel-img-upload span{
    display: block;
    width: auto;
}

.section-blog #imageform{
    font-size: 0;
}

/*Публичная часть*/
.mg-blog-categories h2{
    font-size: 16px;
    line-height: 16px;
    padding: 0;
    margin: 10px;
}

.mg-blog-categories{
    background: #fff;
    border-radius: 5px;
    border: 1px solid #CDCDCD;
}

.mg-blog-categories ul{
    margin: 0;
    padding: 0;
    list-style: none;
}

.mg-blog-categories ul li{
    margin: 0 0 5px 0;
}

.mg-blog-categories ul li a{
    color: #656565;
    display: block;
    padding: 5px 10px;
    text-decoration: none;
}

.mg-blog-categories ul li a:hover,
.mg-blog-categories ul li a.selected{
    color: #000;
    background: #EDEDED;
}

.mg-main-news-block .rss{
    float: right;
    margin: 0 0 5px 0;
    color: #1391C7;
    font-size: 14px;
}

.mg-main-news-block .rss:hover{
    text-decoration: none;
}

.mg-main-news-block .mg-news-title{
    clear: both;
    font-size: 20px;
    margin: 0 0 15px 0;
}

.mg-news-details .mg-news-info .main-news-img img,
.mg-main-news-item .mg-list-news-img img,
.mg-cat-news-img img{
    max-width: 100%;
    max-height: 100%;
}

.mg-cat-news-img{
    text-align: center;
    line-height: 0;
    margin: 0 0 15px 0;
}

.mg-category-desc{
    font-size: 14px;
    line-height: 20px;
    margin: 0 0 15px 0;
}

.mg-category-desc p{
    margin: 0 0 10px 0;
}

.mg-main-news-item{
    background: #EDEDED;
    border: 1px solid #D2D2D2;
}

.mg-main-news-item + .mg-main-news-item{
    margin: 20px 0 0 0;
}

.mg-main-news-item .mg-news-info{
    overflow: hidden;
    padding: 10px 15px;
}

.mg-main-news-item .mg-news-date{
    color: #838484;
    font-size: 14px;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.mg-main-news-item .mg-list-news-img{
    float: left;
    width: 250px;
    height: 188px;
    line-height: 0;
    position: relative;
    background: #fff;
    padding: 1px 0 1px 1px;
}

.mg-main-news-item .mg-list-news-img img{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.mg-date-icon{
    display: inline-block;
    width: 11px;
    height: 13px;
    background: url("../images/mg-date-icon.png") no-repeat;
    vertical-align: -1px;
}

.mg-news-title a{
    color: #000;
    font-size: 22px;
    line-height: 24px;
    text-decoration: none;
}

.mg-news-title a:hover{
    text-decoration: underline;
}

.mg-news-title{
    font-weight: normal;
    margin: 0 0 10px 0;
    font-size: 22px;
    line-height: 24px;
}

.mg-news-main-desc{
    color: #666;
    font-size: 14px;
    line-height: 21px;
    max-height: 88px;
    overflow: hidden;
}

/*Пагинация*/
.mg-main-news-block .mg-pager {
    float: right;
    margin: 20px 0 0 0;
}

.mg-main-news-block .allPages {
    font-size: 12px;
    color: #444444;
    float: left;
    margin: 13px 15px 0 0;
}

.mg-main-news-block .mg-pager ul {
    float: right;
    margin: 7px 0 0 0;
    list-style: none;
    padding: 0;
}

.mg-main-news-block .mg-pager ul li {
    float: left;
    margin: 0 0 0 5px;
}

.mg-main-news-block .mg-pager ul li a {
    font-size: 12px;
    display: block;
    padding: 6px 10px;
    color: #444;
    border: 1px solid #D8D8D8;
    text-decoration: none;
    border-radius: 5px;
    background: #f7f7f7;
    background: -moz-linear-gradient(top, #f7f7f7 0%, #ededed 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f7f7f7), color-stop(100%, #ededed));
    background: -webkit-linear-gradient(top, #f7f7f7 0%, #ededed 100%);
    background: -o-linear-gradient(top, #f7f7f7 0%, #ededed 100%);
    background: -ms-linear-gradient(top, #f7f7f7 0%, #ededed 100%);
    background: linear-gradient(to bottom, #f7f7f7 0%, #ededed 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#f7f7f7', endColorstr='#ededed', GradientType=0);
}

.mg-main-news-block .mg-pager ul li a:hover,
.mg-main-news-block .mg-pager ul li a.active {
    background: #EFEFEF;
    box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.1);
}

.mg-news-details .mg-news-info .main-news-img{
    text-align: center;
}

.mg-news-details .mg-news-date{
    margin: 0 0 10px 0;
}
.mg-news-details h1{
    font-size: 20px;
    line-height: 22px;
    margin: 0 0 15px 0;
}

.mg-news-details .mg-news-full-desc{
    font-size: 14px;
    line-height: 21px;
    margin-bottom: 15px;
}

.mg-news-details .mg-news-full-desc p{
    margin: 0 0 10px 0;
}

.mg-news-details .mg-news-info .main-news-img{
    margin: 0 0 15px 0;
}

.mg-news-details .mg-back:hover{
    text-decoration: none;
}

.mg-news-details .mg-back{
    color: #1391C7;
    font-size: 14px;
}

.mg-news-details .tags{
  margin-bottom: 10px;
}

.add-news-form .add-product-form-wrapper .seo-wrapper .meta-data {
    width: 690px !important;
}

.section-blog .product-img-prev .add-img-wrapper span{
    width: auto;
}

.section-blog .product-img-prev .add-img-wrapper{
    width: 110px;
    position: relative;
}

.category{
    display: inline;
    width: 150px !important;
}
.countPrintRowsPage{
    display: inline;
    width: 60px !important;
}
.filter2, .select{
    white-space: nowrap;
    display: inline;
}
.filter2{
    float: right;
}
.list-option{
    padding-left: 0px;
    list-style:none;
}
.entity-table-tbody tr td{
    vertical-align: initial;
    text-align: center;
}
thead th{
    text-align: center;
}
.property-order-container{
    padding: 15px;
    border-bottom: 1px solid #e6e6e6;
    background: #fffce5;
}
.accordion-item [type="text"], .accordion-item select, .filter-container [type="text"], .filter-container select{
  display: inline;
  width: initial;
}
.custom-text{
    width: 95px;
    display: inline-block;
}
.errorField{
    margin-left: 95px;
}
.section-blog  .product-text-inputs{
    float: left;
}
.section-blog  .product-upload-img{
    float: right;
    width: 220px;
    height: 227px;
}
.prev-img{
    height: 165px;
    width: 199px;
    margin-left: 8px;
    margin-right: 8px;
}
.closed::before{
    content: "";
}
#imageform{
    width: 105px;
    display: inline-block;
}
label.success span {
    padding: 5px 0;
}
.cancel-img-upload{
    float: right;
    margin-right: 10px !important; 
}
.base-setting-save{
    float: left;
}
.product-img-prev{
    text-align: center;
}
.add-new-cat-change{
    display: block !important;
    font-size: 14px !important;
}
.add-new-cat-change > span, .addNewCat > span, .set-visible-period > span, .seo-title, .html-content-edit{
    border-bottom: 1px dashed #1585cf;
    font-size: 14px;
    font-family: "Roboto-Regular",sans-serif;
}

.add-new-cat-change, .set-visible-period{
    margin-left: 95px;
}
.meta-list {
    float: left;
    margin: 0;
    padding: 0;
    list-style: none;
}
.seo-wrapper textarea{
    width: 611px;
}
.product-upload-img, #html-content-wrapper{
    border: 1px solid #e6e6e6;
}
.prev-img img {
    position: relative;
    top: 50%;
    -webkit-transform: perspective(1px) translateY(-50%);
    -ms-transform: perspective(1px) translateY(-50%);
    transform: perspective(1px) translateY(-50%);
}
.seo-title:before{
    content: "" !important;
}
.section-blog a:hover, .section-blog a:visited, .section-blog a:link, .section-blog a:active{
    text-decoration: none !important;
}


@media (max-width: 600px) {
    .mg-main-news-item .mg-list-news-img{
        display: block;
        float: none;
        width: auto;
        background: none;
        text-align: center;
    }

    .mg-main-news-item .mg-list-news-img img{
        position: static;
    }
}
.mg-admin-html #add-plug-modal .img-holder {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.reveal .img-holder {
    border: 1px solid #eaeaea;
}
.reveal .add-img-block .img-holder {
    position: relative;
    margin: 0;
    text-align: center;
}

.reveal .add-img-block .img-holder .button {
    z-index: 2;
    top: 10px;
    right: 10px;
    margin: 0;
}

.reveal .add-img-block .img-holder .popup-holder {
    position: absolute;
    z-index: 2;
    top: 10px;
    right: 10px;
    width: 35px;
}

.reveal .add-img-block .img-holder .popup-holder .button {
    position: static;
}

.reveal .add-img-block .img-actions .button,
.mg-admin-html .wrapper .header .header-nav .top-menu .nav-list.exit li {
    margin: 0;
}

.reveal .add-img-block .main-image .title {
    font-size: 14px;
    line-height: 16px;
    margin: 0 0 8px;
}

.reveal .add-img-block .sub-images-wrapper {
    position: relative;
}

.reveal .add-img-block .sub-images {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
}

.reveal .add-img-block .sub-images .image-item {
    position: relative;
    margin-right: 10px;
}

.reveal .add-img-block .sub-images .image-item .custom-popup {
    left: 0;
    width: 240px;
    margin: 0;
    padding: 10px;
}

.reveal .add-img-block .sub-images .image-item .custom-popup .button {
    padding: 0 8px;
}

.reveal .add-img-block .sub-images .image-item .custom-popup:before {
    display: none;
}

.reveal .add-img-block .sub-images .image-item .img-holder {
    padding: 5px;
}

.reveal .add-img-block .sub-images .image-item .img-holder .fa {
    font-size: 16px;
    position: absolute;
    z-index: 2;
    top: 5px;
    color: #333;
}

.reveal .add-img-block .sub-images .image-item .img-holder .fa.fa-cogs {
    right: 5px;
}

.reveal .add-img-block .sub-images .image-item .img-holder .fa.fa-check {
    left: 5px;
    color: #4caf50;
}

.reveal .add-img-block .sub-images .image-item .img-holder .fa:hover {
    text-decoration: none;
}

.reveal .add-img-block .sub-images[style] {
    padding: 2px !important;
}

.reveal .add-img-block .sub-images[style] .image-item .custom-popup {
    width: 233px;
}
@media (max-width: 410px) {
    .reveal .add-img-block {
        width: auto;
    }

    .reveal .add-img-block .img-holder .custom-popup {
        top: 100%;
        right: 0;
        margin: 10px 0 0;
    }

    .reveal .add-img-block .img-holder .custom-popup:before {
        top: auto;
        right: 12px;
        bottom: 100%;
        left: auto;
        border-top: none;
        border-right: 10px solid transparent;
        border-bottom: 10px solid #fff;
        border-left: 10px solid transparent;
    }

    .reveal .add-img-block .sub-images[style] .image-item .custom-popup {
        width: 274px;
    }
}
.mg-admin-html #add-plug-modal .main-image .img-holder {
    height: 238px;
}

.mg-admin-html #add-plug-modal .main-image .img-holder img {
    max-height: 100%;
}

.copy-rss-link {
    width: 100% !important;
    max-width: 250px;
    font-size: 13px !important;
}
#add-plug-modal .expandModal {
    font-size: 23px;
    float: right;
    margin-top: 2px;
    margin-right: 38px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    color: #333;
}

.reveal#add-plug-modal {
    max-width: 1200px;
}

.reveal#add-plug-modal.fullscreen {
    max-width: 100%;
    margin: 0 20px;
}
#add-plug-modal .seo-gen-tmpl {
    display: none;
}
#add-plug-modal input[name="meta_title"], #add-plug-modal input[name="meta_keywords"], #add-plug-modal textarea[name="meta_desc"] {
    width: 100%;
}

#add-plug-modal .reveal-header {
    padding: 13px 55px 13px 15px;
    border-bottom: 1px solid #e6e6e6;
}
#add-plug-modal .reveal-header h4 {
    font-family: 'Roboto-Light', sans-serif;
    font-size: 22px;
    line-height: 28px;
    margin: 0;
    font-weight: 400;
}
 label {


}
#add-plug-modal .product-text-inputs .small-12 >label, #add-plug-modal .product-text-inputs .medium-5 >label {
    line-height: 1.8;
    padding: 5px 15px 5px 0;
    border-bottom: 1px dashed #ccc;
}
#add-plug-modal .seo-wrapper .small-12 >label, #add-plug-modal .seo-wrapper .medium-3 >label {
    line-height: 1.8;
    padding: 5px 15px 5px 0;
    border-bottom: 1px dashed #ccc;
}
#add-plug-modal .linkedList li {
    cursor: pointer;
    list-style: none;
    padding: 10px;
    border: 1px solid lightgrey;
    margin-top: -1px;
    width: calc(100% - 115px);
}
#add-plug-modal a.link.closeModal {
    float: right;
    margin-top: 5px;
    margin-right: 5px;
}
#add-plug-modal a.success.save-button {
    float: right;
}
#add-plug-modal .additional_uploads_container div {
    font-size: 13px;
    line-height: 16px;
    padding: 5px 15px;
    color: #000;
    border-bottom: 1px solid #dadada;
}
#add-plug-modal .additional_uploads_container div:hover {
    cursor: pointer;
    background: #f1f1f1;;
}
#add-plug-modal .additional_uploads_container {
    width: 185px;
    position: absolute;
    left: 0;
    top: 100%;
    right: 0;
    z-index: 200;
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
    margin-top: 0;
    background-color: white;
    -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, .15), 0 2px 4px rgba(0, 0, 0, .15);
    box-shadow: 0 0 2px rgba(0, 0, 0, .15), 0 2px 4px rgba(0, 0, 0, .15);
}
#add-plug-modal .additional_uploads_container label {
    line-height: 16px;
    cursor: pointer;
}
#add-plug-modal .product-text-inputs input {
    width: 75%;
}
label.add-image-to-category {
    margin-top: 5px;
}
label.add-image-to-category:hover {
    cursor: pointer;
}
#html-content-wrapper, #html-description-wrapper, #cat_description {
    padding: 0;
}
#add-related-product-tabs li a {
    font-size: 13px;
    color: #333;
    padding: 10px;
}
#add-plug-modal .add-related-product-block .fastResult {
    border-bottom: none;
}
#add-related-product-tabs li {
    width: 50%;
}
#add-related-product-tabs #add-category select.tip {
    width: 270px;
}
.category #add-plug-modal {
    max-width: 1000px;
}
#add-plug-modal .article-img-block .del-image-to-article {
    width: 35px;
    height: 25px;
    color: #2e4954;
    text-align: center;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid #e3e3e3;
}
.del-image-to-article__icon {
    font-size: 19px;
    font-weight: 400;
    line-height: 25px;
    text-align: center;
    color: rgb(46, 73, 84);
}
.article-img-block .set-seo {
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
    width: 35px;
    height: 25px;
    color: #2e4954;
    text-align: center;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid #e3e3e3;
    border-width: 1px 0 0 1px;
}
#add-plug-modal .article-img-block {
    width: 150px;
    max-height: 150px;
    margin-top: 5px;
}
.category-filter {
    position: relative;
}
.category-filter .custom-popup {
    position: absolute;
}
.category-filter .custom-popup .cancel-add-cat {
    font-size: 14px;
}
dd.ui_tpicker_minute {
    margin-left: 65px !important;
}
dd.ui_tpicker_hour {
    margin-left: 65px !important;
}
td.ui-datepicker-today a.ui-state-default {
    color: red !important;
}
#add-plug-modal .upload-form div.custom-popup {
    margin-left: 0 !important;
    margin-top: 40px !important;
    left: 70% !important;
}
#add-plug-modal .upload-form div.custom-popup input, .category-filter .custom-popup input {
    width: 100% !important;
}
#add-plug-modal div.add-img-form {
    padding: 15px;
}
.filter-container #filter-sort-sel {
    width: 181px;
}
#add-plug-modal div.SumoSelect {
    width: calc(100% - 7px) !important;
}
#add-plug-modal div.SumoSelect .optWrapper {
    width: calc(75% + 7px);
}
#add-plug-modal .product-text-inputs input.search-txt {
    width: 100%;
}
#add-plug-modal div.MultiControls p {
    padding: 7px;
}
#add-plug-modal #seoImgCat .custom-popup input {
    width: 100%;
}
