/* mazai: */

.zai {
    border: 1px solid red;
    background-color: lightpink;
}

.zai1 {
    border: 1px solid blue;
    background-color: lightblue;
}

.zai2 {
    border: 1px solid green;
    background-color: lightgreen;
}


/* Процент выполнения пункта */

.completebg {
    /* http://jsfiddle.net/kedctfmj/5/ */
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background-color: #F0FFF1;
    z-index: -1;
}


/* NAVBAR - форма логина */

button:focus {
    outline: 0;
}

.navbar .dropdown-menu .form-control {
    width: 200px;
}


/* FOOTER */

.site-footer {
    background-color: #26272b;
    padding: 45px 0 20px;
    font-size: 15px;
    line-height: 24px;
    color: #737373;
}

.site-footer hr {
    border-top-color: #bbb;
    opacity: 0.5
}

.site-footer hr.small {
    margin: 20px 0
}

.site-footer h6 {
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    margin-top: 5px;
    letter-spacing: 2px
}

.site-footer a {
    color: #737373;
}

.site-footer a:hover {
    color: #3366cc;
    text-decoration: none;
}

.footer-links {
    padding-left: 0;
    list-style: none
}

.footer-links li {
    display: block
}

.footer-links a {
    color: #737373
}

.footer-links a:active,
.footer-links a:focus,
.footer-links a:hover {
    color: #3366cc;
    text-decoration: none;
}

.footer-links.inline li {
    display: inline-block
}

.site-footer .social-icons {
    text-align: right
}

.site-footer .social-icons a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin-left: 6px;
    margin-right: 0;
    border-radius: 100%;
    background-color: #33353d
}

.copyright-text {
    margin: 0
}

@media (max-width:991px) {
    .site-footer [class^=col-] {
        margin-bottom: 30px
    }
}

@media (max-width:767px) {
    .site-footer {
        padding-bottom: 0
    }
    .site-footer .copyright-text,
    .site-footer .social-icons {
        text-align: center
    }
}

.social-icons {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none
}

.social-icons li {
    display: inline-block;
    margin-bottom: 4px
}

.social-icons li.title {
    margin-right: 15px;
    text-transform: uppercase;
    color: #96a2b2;
    font-weight: 700;
    font-size: 13px
}

.social-icons a {
    background-color: #eceeef;
    color: #818a91;
    font-size: 16px;
    display: inline-block;
    line-height: 44px;
    width: 44px;
    height: 44px;
    text-align: center;
    margin-right: 8px;
    border-radius: 100%;
    -webkit-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear
}

.social-icons a:active,
.social-icons a:focus,
.social-icons a:hover {
    color: #fff;
    background-color: #29aafe
}

.social-icons.size-sm a {
    line-height: 34px;
    height: 34px;
    width: 34px;
    font-size: 14px
}

.social-icons a.facebook:hover {
    background-color: #3b5998
}

.social-icons a.twitter:hover {
    background-color: #00aced
}

.social-icons a.linkedin:hover {
    background-color: #007bb6
}

.social-icons a.dribbble:hover {
    background-color: #ea4c89
}

@media (max-width:767px) {
    .social-icons li.title {
        display: block;
        margin-right: 0;
        font-weight: 600
    }
}


/* END FOOTER */

@media (min-width: 100px) and (max-width: 999px) {
    .container {
        max-width: 100%;
        width: 100%;
    }
}


/* PART: Динар */


/* универсальный класс для скрытия элементов */

.hidden {
    display: none!important;
}


/* стили для popover */

.popover-wrapper {
    position: relative;
}

.popover-custom {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(-75%, -50%);
    background: #ffffff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 3px 3px 15px 10px #ccc;
    opacity: 0;
    visibility: hidden;
    z-index: -9999;
    transition: opacity visibility 0.4s;
}

.popover-custom.active {
    opacity: 1;
    visibility: visible;
    z-index: 9;
    transition: opacity visibility 0.4s;
}

.popover-custom::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #fff;
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
}

*[data-popover]>* {
    pointer-events: none;
}


/* для блока доп инфы itema */

[data-text] {
    opacity: 0;
    visibility: hidden;
    transition: opacity visibility height 0.4s;
    overflow: hidden;
    height: 0;
}

[data-text].active {
    opacity: 1;
    visibility: visible;
    transition: opacity visibility height 0.4s;
    height: auto;
}


/* для адаптива */

.table__top {
    display: flex;
    margin-bottom: 20px;
}

@media screen and (max-width: 576px) {
    .table-responsive table {
        font-size: 14px;
    }
    .container,
    .container-fluid,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        padding-right: 2px;
        padding-left: 2px;
        box-sizing: content-box;
    }
}


/* для tr disabled */

tr.disabled {
    pointer-events: none;
    opacity: 0.5;
}

@media (max-width: 576px) {
    #myTab {
        display: flex;
        color: red;
    }
}


/* PART: BS-Adaptive tabs*/

.nav.nav-tabs.bs-adaptive-tabs li a label {
    font-weight: normal;
}

.hide4tab {
    display: block;
    visibility: hidden;
}

@media (max-width: 768px) {
    .hide4tab {
        display: ;
        visibility: visible;
    }
    .nav.nav-tabs.bs-adaptive-tabs {
        position: relative;
        height: 45px;
        margin-bottom: 50px;
        outline: none;
        border: none;
    }
    .nav.nav-tabs.bs-adaptive-tabs li {
        position: static;
    }
    .nav.nav-tabs.bs-adaptive-tabs li:nth-child(n+8) {
        visibility: hidden;
        float: right;
        clear: right;
        z-index: 10;
        margin-left: -100%;
        transition: visibility .3s;
    }
    .nav.nav-tabs.bs-adaptive-tabs li:nth-child(-n+8) {
        width: 16.6%;
        /*  100/(5+1)  */
        text-align: center;
    }
    .nav.nav-tabs.bs-adaptive-tabs li:nth-child(8) {
        margin-top: 44px;
    }
    .nav.nav-tabs.bs-adaptive-tabs li:nth-child(7):after {
        content: "\f142";
        font-family: "FontAwesome";
        cursor: pointer;
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        padding: 10px 15px;
    }
    .nav.nav-tabs.bs-adaptive-tabs:focus:hover li {
        visibility: visible;
    }
    .nav.nav-tabs.bs-adaptive-tabs li a {
        position: static;
    }
    .nav.nav-tabs.bs-adaptive-tabs li:nth-child(n+8) a {
        background-color: #fff;
        border-color: #ddd;
        border-radius: 0;
        margin-top: 0;
        margin-right: 0;
    }
    .nav.nav-tabs.bs-adaptive-tabs li a label {
        visibility: hidden;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 10px 15px;
    }
    .nav.nav-tabs.bs-adaptive-tabs li.active a label {
        visibility: visible;
    }
}


/* END: BS-Adaptive tabs*/


/* HR deviders 
<hr data-content="C текстом в делителе" class="hr-text">
или class="hr-text|solid|dotted|dashed"

*/

hr.dashed {
    border-top: 2px dashed #999;
}

hr.dotted {
    border-top: 2px dotted #999;
}

hr.solid {
    border-top: 2px solid #999;
}

hr.hr-text {
    position: relative;
    border: none;
    height: 1px;
    background: #999;
}

hr.hr-text::before {
    content: attr(data-content);
    display: inline-block;
    background: #fff;
    font-weight: bold;
    font-size: 0.85rem;
    color: #999;
    border-radius: 30rem;
    padding: 0.2rem 2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* Комментарии  */

.dot {
    height: 7px;
    width: 7px;
    margin-top: 3px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block
}

.hit-voting:hover {
    color: blue
}

.hit-voting {
    cursor: pointer
}

.reply a {
    text-decoration: none
}


/* Другие чек-листы */

.o-row {
    background-color: #eeeeee;
    text-align: left;
    padding-top: 20px;
    padding-bottom: 20px;
}

.o-img {
    max-width: 100%;
    border: 2px solid lightgrey;
    ;
}

.o-box {
    height: auto;
    min-height: 200px;
}

.o-image-row .o-box {
    text-align: left;
    background: #fff;
    margin-bottom: 30px; // отступ над карточкой
}

.o-details {
    padding: 10px
}


/* Форма оценки сайта */

.ratings img {
    cursor: pointer;
    transition: all 0.5s
}

.ratings img:hover {
    transform: scale(1.3)
}

.enlarge-emoji {
    transform: scale(1.3)
}

.rateform {
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 20px;
    display: none;
    transition: all 0.5s
}

.rateform textarea {
    width: 100%;
    height: 100px;
    resize: none;
    border-radius: 4px;
    padding: 2px;
    transition: all 0.5s
}

.rateform textarea:focus {
    box-shadow: none
}

.post-button button:hover {
    background: green
}