.downstats, .tinytable th {
    text-align: center;
    color: #fff
}

* {
    margin: 0;
    padding: 0;
    outline: 0
}

body {
    overflow-x: hidden
}

.tinytable {
	font-family:Tahoma;
	font-weight:normal;
    width: 100%;
    border-left: 1px solid #c6d5e1;
    border-top: 1px solid #c6d5e1;
    border-bottom: none
}

.downme, .upme {
    width: 16px;
    display: inline-block;
    height: 16px;
    cursor: pointer
}

.tinytable th {
    background-color: #019dd8;
    padding: 7px;
    font-size: 13px;
    border: 1px solid #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .5);
    border-right: none
}

.tinytable td {
    padding: 4px 6px 6px;
    border-bottom: 1px solid #c6d5e1;
    border-right: 1px solid #c6d5e1
}

.tinytable thead tr .header1 {
    background-image: url(img/bg.gif);
    background-repeat: no-repeat;
    background-position: center right;
    cursor: pointer
}

.tinytable thead tr .headerSortUp {
    background-image: url(img/asc.gif)
}

.tinytable thead tr .headerSortDown {
    background-image: url(img/desc.gif)
}

.upme {
    background: url(icons/vote/vote_up.png)
}

.uncategorizei {
    font-style: normal;
    cursor: pointer
}

.downme {
    background: url(icons/vote/vote_down.png)
}

.downstats {
    max-width: 500px;
    padding: 5px;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    margin: 1% auto;
    background: #2980b9
}

.progressbar {
    height: 16px;
    margin: 0 auto 20px;
    padding: 0;
    background: #cfcfcf;
    border-width: 1px;
    border-style: solid;
    border-color: #aaa #bbb #fff;
    box-shadow: inset 0 2px 3px #bbb
}

.progressbar-inner {
    height: 100%;
    background-size: 18px 18px;
    background: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent) #ac0;
    background: -moz-linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent) #ac0;
    background: -ms-linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent) #ac0;
    background: -o-linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent) #ac0;
    background: linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent) #ac0;
    box-shadow: inset 0 2px 8px rgba(255, 255, 255, .5), inset -1px -1px 0 rgba(0, 0, 0, .2)
}

.progressbar .progressbar-inner, .progressbar:hover .progressbar-inner {
    -webkit-transition: width .5s ease-in;
    -moz-transition: width .5s ease-in;
    -o-transition: width .5s ease-in;
    transition: width .5s ease-in
}

@media only screen and (max-width:800px) {
    #flip-scroll td, #flip-scroll th {
        display: block;
        text-align: left;
        border-left: 0;
        border-bottom: 0
    }

    #flip-scroll .cf:after {
        visibility: hidden;
        display: block;
        font-size: 0;
        content: " ";
        clear: both;
        height: 0
    }

    #flip-scroll * html .cf {
        zoom: 1
    }

    #flip-scroll table {
        border-collapse: collapse;
        border-spacing: 0;
        display: block;
        position: relative;
        width: 100%
    }

    #flip-scroll td, #flip-scroll th {
        margin: 0;
        vertical-align: top
    }

    #flip-scroll thead {
        display: block;
        float: left
    }

    #flip-scroll tbody {
        display: block;
        width: auto;
        position: relative;
        overflow-x: auto;
        white-space: nowrap
    }

    #flip-scroll thead tr {
        display: block
    }

    #flip-scroll th {
        height: 30px;
        width: 40px !important;
        font-size: 8px !important
    }

    #flip-scroll tbody tr {
        display: inline-block;
        vertical-align: top;
        border-left: 1px solid #babcbf
    }

    #flip-scroll td {
        border-right: 0
    }

    #flip-scroll td:last-child, #flip-scroll th:last-child {
        border-bottom: 1px solid #babcbf
    }

    .tip2 span {
        display: none !important
    }
}

a.tip2 span {
    display: none;
    position: absolute;
    left: 11%;
    right: 0;
    width: 170px;
    margin: -1% auto;
    padding: 5px;
    z-index: 100;
    background: #898989;
    color: #fff;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px
}

a:hover.tip2 {
    cursor: pointer;
    font-size: 100%
}

a:hover.tip2 span {
    display: block;
    margin-top: 25px
}

/* Основен контейнер - центриран и с лек фон */
.fancybox-container {
  background-color: rgba(0, 0, 0, 0.8) !important; /* тъмен полупрозрачен фон */
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1050 !important; /* над Bootstrap modal */
}

/* Съдържание на модала */
.fancybox-content {
  background-color: #1c1c1c !important; /* тъмен фон */
  border-radius: 0.5rem !important;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.5) !important;
  color: #fff !important;
  max-width: 600px !important;
  width: 100% !important;
  max-height: 80vh !important;
  overflow-y: auto !important;
  padding: 1.5rem !important;
  position: relative;
}

/* Затварящ бутон (иконка X) */
.fancybox-button--close {
  color: #ccc !important;
  position: absolute !important;
  top: 0.75rem !important;
  right: 0.75rem !important;
  background: transparent !important;
  border: none !important;
  font-size: 1.5rem !important;
  cursor: pointer;
  transition: color 0.2s ease;
}

.fancybox-button--close:hover {
  color: #fff !important;
}

/* Заглавие (ако използваш) */
.fancybox-caption {
  color: #aaa !important;
  font-size: 1rem !important;
  margin-top: 0.75rem !important;
  text-align: center;
  font-weight: 500;
}

/* Скролбар - стилизиран (за по-красива визия) */
.fancybox-content::-webkit-scrollbar {
  width: 8px;
}

.fancybox-content::-webkit-scrollbar-track {
  background: #222;
  border-radius: 4px;
}

.fancybox-content::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 4px;
}

.fancybox-content::-webkit-scrollbar-thumb:hover {
  background: #888;
}


.neon-modal-card {
  background: #111;
  border-radius: 10px;
  border: 1px solid #0ff;
  box-shadow:
    0 0 5px #0ff,
    0 0 10px #0ff,
    0 0 20px #0ff,
    0 0 40px #0ff;
  color: #0ff;
  padding: 15px;
  margin-bottom: 15px;
}
.neon-modal-card .card-header {
  background-color: transparent;
  border-bottom: 1px solid #0ff;
  font-weight: 700;
  font-size: 1.25rem;
  color: #0ff;
}
.neon-modal-card .card-title {
  color: #0ff;
}
.neon-modal-card .card-text {
  color: #0ff;
}
