.picture_edit_btn {
    display: none;
    position: absolute;
    top: 100px;
    right: 10px;
    margin: 10px;
    border-radius: 100%;
    -o-border-radius: 100%;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    width: 50px;
    height: 50px;
    line-height: 40px;
    opacity: 0.8;
}

.picture_copy_btn {
    display: none;
    position: absolute;
    top: 100px;
    left: 10px;
    margin: 10px;
    border-radius: 100%;
    -o-border-radius: 100%;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    width: 50px;
    height: 50px;
    line-height: 40px;
    opacity: 0.8;
}

.item:hover .picture_edit_btn, .item:hover .picture_copy_btn {
    display: block;
}

.picture_edit_btn:hover, .picture_copy_btn:hover {
    opacity: 1;
}

.sortable li.deleted .el_edit {
    display: none;
}

.sortable li.deleted li .el_delete {
    display: none;
}

.sortable li.deleted > div > a > i:before {
    content: "\f0e2";
}

.sortable li div {
    min-height: 44px;
}

.deleted .ui-sortable-handle {
    background: rgba(255, 0, 0, 0.1);
}

#current-positions-box {
    list-style-type: none;
    margin: 0;
    padding: 0;
    min-height: 40px;
    background-color: #F0F0F0;
    cursor:pointer;
}
#current-positions-box li {
    margin: 1%;
    padding: 14px 4px;
    float: left;
    height: 90px;
    font-size: 1.0em;
    text-align: center;
    width: 31.33%;
    background-color: #D0D0D0;
}
#available-positions, #current-positions {
    list-style-type: none;
    width: 100%;
    min-height: 40px;
    margin: 0;
    padding: 5px 0 0 0;
    float: left;
    margin-right: 10px;
    background-color: #F0F0F0;
    cursor:pointer;
}
#available-positions li, #current-positions li {
    margin: 2%;
    padding: 4px;
    font-size: 1.2em;
    text-align: center;
    width: 96%;
    background-color: #D0D0D0;
}
.checkbox-center {
    width: 20px;
    margin: 0 auto;
}
.label-center {
    width: 100%;
    margin: 0 auto;
}
.label-center > label {
    font-weight: normal;
    font-size: 10px;
}
.ul-max-elements {
    max-height: 1836px;
    overflow: hidden;
}
.ul-max-elements li {
    padding-left: 10px !important;
    text-align: left !important;
}
.all-sites-checkbox {
    padding-top: 10px;
}
.all-sites-checkbox label {
    margin: 0 5px;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.badge:empty {
    display: inline;
}
.live_blog_title {
    font-size: 16px;
    font-weight: bold;
}
.ui-state-disabled-custom {
    background: transparent linear-gradient(to bottom,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(246, 246, 246, 0.35) 47%,
    rgba(237, 237, 237, 0.35) 100%)
    repeat scroll 0% 0% !important;
}
.ui-state-disabled-custom span {
    opacity: 0.35;
}

#choose_news_button.current > a, #choose_news_button.option:hover > a {
    color: #ffffff;
    background: #1b2e64;
}
#choose_news_button.option > a {
    color: #1b2e64;
    background: #dddddd;
}


#choose_money_button.current > a, #choose_money_button.option:hover > a {
    color: #ffffff;
    background: #b80000;
}
#choose_money_button.option > a {
    color: #b80000;
    background: #dddddd;
}


#choose_lifestyle_button.current > a, #choose_lifestyle_button.option:hover > a {
    color: #ffffff;
    background: #ae2284;
}
#choose_lifestyle_button.option > a {
    color: #ae2284;
    background: #dddddd;
}


#choose_topsport_button.current > a, #choose_topsport_button.option:hover > a {
    color: #ffffff;
    background: #0c3b63;
}
#choose_topsport_button.option > a {
    color: #0c3b63;
    background: #dddddd;
}

#choose_wmg_button.current > a, #choose_wmg_button.option:hover > a {
    color: #ffffff;
    background: #0097a8;
}
#choose_wmg_button.option > a {
    color: #0097a8;
    background: #dddddd;
}

#top_menu .sitelogo-icon img {
   width: 53px;
   position: absolute;
   left: -3px;
   top: -3px;
}

#top_menu ul.top-menu > li.current > a, #top_menu ul.top-menu > li.option > a, #top_menu ul.top-menu > li.optioncomment > a {
display: inline-block;
font-size: 32px;
padding: 8px;
width: 48px;
height: 48px;
text-align: center;
}
.commentsTable thead tr th:last-child{
min-width: 181px;
}
.glyphicon-spin {
-webkit-animation: spin 2s infinite linear;
   -moz-animation: spin 2s infinite linear;
     -o-animation: spin 2s infinite linear;
        animation: spin 2s infinite linear;
}

.avatar_logo_wrapper img{
max-width: 100%;
}
.picture_preview_wrapper{
border: 1px solid #E2E2E4;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
.original-preview, .thumbs-preview{
max-width: 100%;
margin-bottom: 20px;
}
.article_right .col-sm-12{
margin: 10px auto;
}
.remove-section-btn{
margin-right: 15px;
}
.article_radios_wrapper .flat-green > .radio{
margin-top: 10px;
width: 100%;
display: block;
}
.article_fixed_positions .flat-green > .radio{
width: 50%;
float: left;
margin: 10px auto;
}
li.red-bullet {
color: #ff0000;
}
/* Modal Select Picture in Places */
#selectPictureModal .modal-dialog {
    width: 70%;
}
.selected-picture, .selected-video, .selected-embed_code {
    border: 1px solid #000000 !important;
    background-color: #e0e0e0;
}
.record-image {
    width: 100%;
}
.record-video {
    margin-top: 10px;
}
.record-image-wrapper {
    margin-top: 5px;
}
.add-picture-modal-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.3);
}
.ajax-loader-gif {
    position: absolute;
    top: calc(50% - 50px);
    left: calc(50% - 50px);
    width: 100px;
    height: 100px;
}
.modal-huge .modal-dialog {
    width: 80% !important;
}
.modal-medium .modal-dialog {
    width: 90%;
}
#article-images-list > li{
    border: 2px solid #333333;
    margin: 5px 10px;
    width: 324px;
    /*height: 415px;*/
    float: left;
}
@media(max-width: 1100px){
    .modal-medium .modal-dialog{
        width: 710px;
    }
    #article-images-list > li{
        margin: 5px 8px;
    }
}
@media(max-width: 760px){
    .modal-medium .modal-dialog{
        width:300px;
    }
    #article-images-list > li{
        width: 260px;
    }
    #article-images-list > li > img{
        max-width: 100%;
    }
}
#article-images-list > li:first-child {
    border: 2px solid #AA0000;
}
#article-images-list {
    list-style: none;
    cursor: pointer;
    justify-content: space-between;
    padding: 10px 0px 30px 0px;
}
.videos-container, .related-container {
    margin: 10px 0;
}
.select-videos-container > div {
    height: 50px;
    border: 1px solid #d0d0d0;
    margin: 5px 0;
    display: flex;
    align-items: center;
    cursor: pointer;
}
#article-related-list {
    list-style: none;
    cursor: pointer;
    padding: 0;
    margin-bottom: 10px;
    width: 100%;
}
#article-related-list > li {
    border: 1px solid #000000;
    background-color: #e0e0e0;
    height: 50px;
    width: 100%;
    padding: 10px 25px;
    margin-bottom: 5px;
}
.order-related-articles-container {
    display: flex;
    align-items: center;
}
#ajax-search-related-results .item {
    height: 50px;
    border: 1px solid #d0d0d0;
    margin: 5px 0;
    cursor: pointer;
}
.selected-article, .selected-poll {
    background-color: #e0e0e0;
    border: 1px solid #000000;
}
.image-text-wrapper {
    margin: 10px;
}

.image-text-wrapper input {
    /*height: 60px;*/
}

ul.top-menu li {
    line-height: 30px;
    height: 59px;
}
.search-long:focus {
    width: 300px !important;
}
input.image-text {
    width: 75%;
    float: left;
    position: relative;
    margin: 13px 0;
    height: 25px;
}
input.image-original {
    width: 10%;
    float: left;
    position: relative;
    height: 25px;
    top: 8px;
}
.image-content-inputs > span {
    width: 15%;
    float: left;
    position: relative;
    height: 25px;
    top: 15px;
}
.embed-code-wrapper {
    margin: 10px 0;
}
#ajax-search-embed-code-results > div {
    height: 50px;
    border: 1px solid #d0d0d0;
    margin: 5px 0;
    line-height: 50px;
    cursor: pointer;
}
#ajax-search-embed-article-results > div, #ajax-search-embed-poll-results > div, #ajax-search-embed-funs-results > div {
    min-height: 50px;
    border: 1px solid #d0d0d0;
    margin: 5px 0;
    line-height: 1.6;
    cursor: pointer;
}
.user-article-heading, .user-article-content {
    margin: 10px;
}
.comments_mass_actions .mass_unban_ip_comments, .comments_mass_actions .mass_unban_id_comments{
    margin-bottom: 10px;
}
.mass_comment_status .dropdown-menu li, .comments_mass_actions > a{
    text-transform: none;
}
.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}
/* SIMO LAST FIXES */
#sidebar_mobile_toggle{
    display: none;
}
@media(max-width: 1320px){
    .header{
        position: relative! important;
    }

    #main-content .wrapper {
        margin-top: 0;
    }

    .top-nav {
        width: 20%;
    }

}

@media(max-width: 1024px){
    #sidebar_mobile_toggle{
        display: block;
        position: absolute;
        top: 0px;
        right: -16px;
        z-index: 10;
    }
    #sidebar_mobile_toggle .fa-bars::before{
        color: #fff;
    }
    .top-nav {
        width: 100%;
    }
    .notify-row {
        width: 75%;
    }

}
@media(max-width: 768px){
    #sidebar_mobile_toggle{
        right: 20px;
    }
    .table th{
        display: none;
    }
    table td, table th{
        display: block;
        width: 100%;
    }
    table tr{
        display: block;
        margin: 40px auto;
    }
    .btn{
        width: 100% !important;
        margin: 5px auto !important;
    }
    .popovers{
        width: 31px !important;
        float: right;
        margin: 0 15px 0 0 !important;
    }
    .select2-container{
        width: 100%;
    }

    .notify-row {
        margin-top: 15px;
        margin-left: 20px;
        width: 100%;
    }
    .top-nav {
        margin-top: 15px;
        width: 100%;
    }
}
@media(max-width: 480px){
    .notify-row {
        margin-top: 17px;
        width: 100%;
        margin-left: 20px;
    }
    .top-nav {
        margin-top: 0;
        width: 100%;
    }

    .brand {
        height: 73px;
        width: 100%;
    }
}
/* SIMO END */

.no-margin-pagination > ul {
    margin: 0;
}
.form-control, .select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple,
div.tagsinput{
    border: 1px solid #555;
}
.embed-error {
    color: #ec6459;
}
.tooltip-inner {
    max-width: 1000px;
}

.xs-image {
    max-width: 32px;
    max-height: 18px;
}
.sm-image {
    max-width: 48px;
    max-height: 27px;
}
.md-image {
    max-width: 80px;
    max-height: 45px;
}
.lg-image {
    max-width: 160px;
    max-height: 90px;
}
.sortable-standings tr {
    border: 1px solid #bbb;
    cursor: pointer;
}
.sortable-standings td, .sortable-standings th {
    padding-top: 7px;
    padding-bottom: 7px;
    vertical-align: middle;
}
#standings-save-btn-container {
    margin-top: 20px;
}
.sortable-standings .ui-sortable-helper {
    background: #ddd !important;
}

.select2-selection__clear {
    position: relative;
}

ol#article-images-list > li {
    position: relative;
}
ol#article-images-list > li > img {
    width:100%;
    height:100%;
    max-width: 320px;
    max-height: 350px;
    object-fit: cover;
}
.remove-image-from-list {
    position: absolute;
    color: #ff0000;
    font-size: 30px;
    top: -24px;
    right: -13px;
}
.remove-image-from-list:hover {
    color: #cc3333;
}

.media-gal .item {
    float: left;
    width: 19.31464174%;
    margin-right: 0.85669782%;
}
.media-gal .item:nth-of-type(5n + 5) {
    margin-right: 0;
}
.media-gal .item:nth-of-type(5n + 6) {
    clear: both;
}
@media only screen and (max-width: 1570px) {
    .media-gal .item {
        float: left;
        width: 24.70119522%;
        margin-right: 0.39840637%;
    }
    .media-gal .item:nth-of-type(5n + 5) {
        margin-right: 0.39840637%;
    }
    .media-gal .item:nth-of-type(5n + 6) {
        clear: none;
    }
    .media-gal .item:nth-of-type(4n + 4) {
        margin-right: 0;
    }
    .media-gal .item:nth-of-type(4n + 5) {
        clear: both;
    }
}
@media only screen and (max-width: 1320px) {
    .media-gal .item {
        float: left;
        width: 32.32323232%;
        margin-right: 1.51515152%;
    }
    .media-gal .item:nth-of-type(4n + 4) {
        margin-right: 1.51515152%;
    }
    .media-gal .item:nth-of-type(4n + 5) {
        clear: none;
    }
    .media-gal .item:nth-of-type(3n + 3) {
        margin-right: 0;
    }
    .media-gal .item:nth-of-type(3n + 4) {
        clear: both;
    }
}
@media only screen and (max-width: 1100px) {
    .media-gal .item {
        float: left;
        width: 49.48979592%;
        margin-right: 1.02040816%;
    }
    .media-gal .item:nth-of-type(3n + 3) {
        margin-right: 1.02040816%;
    }
    .media-gal .item:nth-of-type(3n + 4) {
        clear: none;
    }
    .media-gal .item:nth-of-type(2n + 2) {
        margin-right: 0;
    }
    .media-gal .item:nth-of-type(2n + 3) {
        clear: both;
    }
}
@media only screen and (max-width: 1100px) {
    .media-gal .item {
        width: 100%;
        margin-right: 0;
    }
    .media-gal .item:nth-of-type(3n + 3) {
        margin-right: 0;
    }
}

ul.top-menu > li.option > a {
    color: #fff;
}

ul.top-menu > li.current > a {
    background-color: #999;
}

#choose_dir_button.option > a {
    background-color: #0062bc;
}
#choose_dnes_button.option > a {
    background-color: #0062bc;
}
#choose_life_button.option > a {
    background-color: #a31f75;
}
#choose_corner_button.option > a {
    background-color: #b20000;
}
#choose_impressio_button.option > a {
    background-color: #23034e;
}
#choose_it_button.option > a {
    background-color: #12385c;
}
#choose_business_button.option > a {
    background-color: #0f8997;
}
#choose_weather_button.option > a {
    background-color: #008937;
}
#choose_profile_button.option > a {
    background-color: #0062bc;
}
#choose_photo_button.option > a {
    background-color: #000;
}
#choose_video_button.option > a {
    background-color: #000;
}
#choose_mobile_button.option > a {
    background-color: #0062bc;
}
#choose_urbn_button.option > a {
    background-color: #db3f46;
}
#choose_games_button.option > a {
    background-color: #d86e2b;
}
#choose_trip_button.option > a {
    background-color: #00ad95;
}
#choose_vkusotii_button.option > a {
    background-color: #e85c4a;;
}

#choose_auto_button.option > a {
    background-color: #0f8997;
}

#choose_podcast_button.option > a {
    background-color: #b20000;
}

#choose_zodiac_button.option > a {
    background-color: #12385c;
}

#choose_fun_button.option > a {
    background-color: #501061;
}

#choose_allcomment_button.optioncomment > a i {
    color: white;
}

#choose_allcomment_button.optioncomment > a {
    background-color: #0062bc;
}

.option > a:hover, .optioncomment > a:hover {
    transform: scale(1.2);
    transition: .4s;
}

#choose_allcomment_button.active > a {
    color: #ffffff;
    background: #999 !important;
}
.caticon-holder {
    height: 42px;
    float: left;
    margin-right: 5px !important;
    padding: 0 !important;
    border: 0 none !important;
}
.caticon-holder img {
    height: 40px;
}