.demo-nifty-btn .btn, .demo-nifty-btn-group .btn-group {
    margin: 7px 7px 7px 0
}

.demo-nifty-btn, .demo-nifty-label-badge, .demo-nifty-margin > tr > td > div {
    text-align: center
}

.demo-flag-name, .demo-icon-list .demo-icon {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden
}

.img-balloon {
    background-image: url(../../img/bg-img/bg-img-2.jpg)
}

.demo-bg {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0
}

.demo-loading {
    display: inline-block;
    overflow: hidden;
    line-height: 43px;
    white-space: nowrap;
    max-width: 0;
    -webkit-transition: max-width .5s;
    transition: max-width .5s
}

.disabled > .demo-loading {
    max-width: 10em;
    -webkit-transition: max-width .5s;
    transition: max-width .5s
}

.demo-loading .fa {
    animation: none
}

.disabled > .demo-loading .fa {
    -webkit-animation: fa-spin 2s infinite linear;
    animation: fa-spin 2s infinite linear
}

@media (min-width: 768px) {
    .demo-bg {
        display: block
    }

    #demo-bg-list {
        display: inline-block;
        padding: 5px;
        background-color: #fff
    }

    .demo-bg img {
        vertical-align: top;
        width: 64px;
        cursor: pointer;
        -webkit-transition: opacity .5s;
        transition: opacity .5s
    }

    .demo-bg .active, .disabled .demo-chg-bg {
        opacity: .3;
        cursor: default;
        -webkit-transition: opacity .5s;
        transition: opacity .5s
    }
}

input {
    background-image: none !important
}

.demo-nifty-btn.list-group-item {
    padding: 20px 15px
}

.demo-nifty-btn .btn:not(.btn-icon) {
    min-width: 17.5%
}

.demo-nifty-modal .modal {
    bottom: auto;
    display: block;
    left: auto;
    position: relative;
    right: auto;
    top: auto;
    z-index: 1;
    overflow: hidden
}

.demo-nifty-modal .modal-dialog {
    left: auto;
    color: #707980;
    margin-top: auto;
    margin-left: auto;
    margin-right: auto
}

.demo-nifty-label-badge .badge, .demo-nifty-label-badge .label {
    float: none;
    margin: 0 7px 10px 0;
    display: inline-block
}

.demo-nifty-padding > tr > td > div {
    width: 75px;
    height: 75px;
    line-height: 75px;
    text-align: center;
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, .2);
    background-color: rgba(100, 42, 156, .27)
}

.demo-nifty-padding > tr > td > div > div {
    width: 100%;
    height: 100%;
    line-height: normal;
    background-color: #fff;
    border: 1px solid rgba(20, 126, 255, .53);
    vertical-align: middle
}

.demo-nifty-padding > tr > td > div > div:before {
    content: '';
    display: inline-block;
    width: 1px;
    height: 100%;
    vertical-align: middle
}

.demo-nifty-margin > tr > td > div {
    width: 75px;
    height: 75px;
    line-height: 75px;
    font-weight: 500;
    position: relative;
    border: 1px solid rgba(0, 0, 0, .2);
    background-color: #f4df60
}

.demo-nifty-margin > tr > td > div > div {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
    line-height: normal;
    background-color: #fff;
    border: 1px solid rgba(20, 126, 255, .53);
    vertical-align: middle
}

.demo-nifty-margin > tr > td > div > div:before {
    content: '';
    display: inline-block;
    width: 1px;
    height: 100%;
    vertical-align: middle
}

.demo-nifty-background > tr > td > div, .demo-nifty-border div {
    width: 75px;
    height: 75px;
    line-height: 75px;
    font-weight: 500;
    text-align: center
}

.demo-nifty-background > tr > td > div {
    position: relative
}

.demo-nifty-border div {
    border-color: rgba(0, 0, 0, .3);
    background-color: rgba(0, 0, 0, .05)
}

.demo-nifty-icon span {
    background-color: rgba(0, 0, 0, .1)
}

.demo-nifty-text p {
    width: 125px;
    min-height: 35px;
    padding: 5px;
    margin-bottom: 0
}

@media (min-width: 992px) {
    .demo-nifty-text p {
        width: 175px
    }
}

.demo-nifty-text td:nth-child(2) {
    text-align: center
}

.demo-nifty-text p:not(.bg-dark) {
    background-color: rgba(0, 0, 0, .05)
}

.demo-icon-list i {
    display: inline-block;
    padding: 10px;
    width: 2em;
    text-align: center;
    font-size: 2em;
    vertical-align: middle;
    color: #444
}

.demo-icon-list .demo-icon {
    display: block;
    margin: 3px 0;
    cursor: pointer
}

.demo-icon-list .demo-icon:hover {
    color: #2b2b2b;
    background-color: rgba(0, 0, 0, .09)
}

.demo-icon-list .demo-icon span {
    display: inline-block
}

.demo-flag-icon.demo-icon-list .demo-icon {
    padding: 5px 10px;
    margin-bottom: 10px;
    border: 1px solid rgba(0, 0, 0, .05)
}

.demo-flag-icon .demo-icon i {
    width: 50px;
    height: 50px;
    vertical-align: middle;
    margin-right: 10px
}

.demo-flag-name {
    color: #4d627b;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(0, 0, 0, .1)
}

.demo-flag-name span {
    width: 50px;
    margin-right: 10px;
    text-align: center
}

#demo-set-btn, .demo-set {
    display: none
}

@media (min-width: 1200px) {
    .demo-set, .demo-set.in {
        transition: background-color .3s
    }

    .demo-set {
        background-color: rgba(0, 0, 0, 0);
        color: #5e5e5e;
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        z-index: 99999;
        direction: rtl;
        visibility: hidden
    }

    .demo-set.in {
        visibility: visible;
        background-color: rgba(0, 0, 0, .45)
    }

    .effect ~ .demo-set .collapsing {
        transition-duration: 0 !important
    }

    .demo-set .mar-btm {
        margin-bottom: 10px
    }

    .demo-set-body > .demo-set-content {
        padding: 10px 5px 20px
    }

    .demo-set-body .icon-wrap {
        padding: 7px
    }

    .demo-set-body {
        background-color: #fff;
        border-left: 7px solid #34495e;
        position: relative;
        direction: ltr;
        margin-top: 10px;
        max-width: 300px;
        max-height: 600px;
        z-index: 999;
        transform: translateX(300px);
        transition: all .3s
    }

    .demo-set.in .demo-set-body {
        transform: translateX(0);
        box-shadow: 0 0 20px 1px rgba(0, 0, 0, .5);
        transition: all .3s
    }

    #demo-set-btn {
        display: inline-block;
        background-color: #34495e;
        border-radius: 7px 0 0 7px !important;
        color: #fff;
        border: 0;
        /*position: fixed;*/
        right: 0;
        top: 100px;
        margin-left: -48px;
        box-shadow: none;
        z-index: 99999;
        transition: all .3s
    }

    #demo-set-btn i {
        font-size: 25px;
        display: block;
        margin: 5px 0;
        height: 1em;
        animation-iteration-count: infinite !important;
        animation-duration: 1.5s !important;
        animation-play-state: running
    }

    #demo-set-btn i:before {
        display: block;
        line-height: 1em
    }

    .demo-set.in + #demo-set-btn {
        right: 300px;
        transition: all .3s
    }

    .demo-set.in + #demo-set-btn i {
        animation-play-state: paused
    }
}

.demo-bg-boxed {
    display: none
}

.demo-bg-boxed.open {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    padding: 10px 20px;
    background-color: #f8f9fa;
    z-index: 2
}

.demo-bg-boxed-content {
    max-height: 380px;
    overflow: hidden;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, .1)
}

.demo-bg-boxed-content .text-justify > .thumbnail {
    width: 25%;
    font-size: 7px;
    margin-bottom: 5px
}

@media (min-width: 1500px) {
    .demo-bg-boxed-content .text-justify > .thumbnail {
        font-size: 7px;
        margin-bottom: 5px;
        width: 24%
    }
}

.demo-bg-boxed-content .text-justify > .thumbnail > img {
    width: 100%;
    height: 3vw;
    max-height: 55px
}

.demo-bg-boxed-footer {
    height: 15%;
    max-height: 50px;
    padding-top: 10px
}

.demo-single-theme > .demo-theme {
    width: 40px
}

.demo-justify-theme {
    text-align: justify;
    font-size: 0
}

.demo-justify-theme:after {
    content: '';
    display: inline-block;
    width: 100%
}

.demo-theme {
    cursor: pointer !important;
    display: inline-block;
    width: 33.3%;
    height: 32px;
    background-color: #f4f4f4;
    position: relative;
    transition: all .2s
}

.demo-theme.active, .demo-theme.disabled {
    cursor: not-allowed !important
}

.demo-theme.active:after, .demo-theme.active:before {
    content: "";
    left: 50%;
    position: absolute;
    width: 5px;
    background: #fff
}

.demo-theme:hover {
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, .3);
    border: 0;
    transition: all .2s
}

.demo-theme.active {
    opacity: .8;
    z-index: 99;
    box-shadow: 0 0 0 2px #fff;
    transform: scale(.95);
    border-radius: 2px
}

.demo-theme.active:before {
    height: 10px;
    margin-left: -5px;
    top: 13px;
    transform: rotate(-45deg);
    box-shadow: -1px 1px 2px rgba(0, 0, 0, .5)
}

.demo-theme.active:after {
    height: 20px;
    margin-left: 3px;
    top: 5px;
    transform: rotate(45deg);
    box-shadow: 2px 0 2px rgba(0, 0, 0, .5)
}

.demo-theme-light {
    background: #fff;
    border: 1px solid #ddd !important
}

.demo-theme-light.active:after, .demo-theme-light.active:before {
    background: #177bbb
}

.demo-theme-gray {
    background: #8f9ea6
}

.demo-theme-coffee {
    background: #807362
}

.demo-theme-dark {
    background: #424a52
}

.demo-theme-dust {
    background: #fd8943
}

.demo-theme-lime {
    background: #80b343
}

.demo-theme-mint {
    background: #26a69a
}

.demo-theme-navy {
    background: #294d73
}

.demo-theme-ocean {
    background: #177bbb
}

.demo-theme-prickly-pear {
    background: #ad5468
}

.demo-theme-purple {
    background: #8b5b9f
}

.demo-theme-well-red {
    background: #d23e3e
}

.demo-theme-yellow {
    background: #efd45a
}

.css-loader-example .panel-body, .spinner-example .panel-body {
    height: 150px
}

.demo-show-grid .row {
    margin-bottom: 20px
}

.demo-show-grid [class^=col-] {
    padding-top: 10px;
    padding-bottom: 10px;
    min-height: 70px;
    border: 1px solid #adc8db;
    color: #4d627b;
    background-color: #cee5f5 !important
}

.demo-liquid-fixed .fluid, .demo-liquid-fixed [class^=fixed-]:not(.fixed-fluid) {
    padding: 10px;
    height: 150px;
    background: #c2f6c2;
    border: 1px solid #9ed89e;
    color: #4d627b;
    margin-bottom: 15px
}

.demo-liquid-fixed .fluid {
    background: #cee5f5;
    border: 1px solid #adc8db
}