/* Custom Logo Resizing */
#logo-group > span {
    display: inline-block;
    height: 39px;
    float: left;
}

#logo {
    display: inline-block;
    width: 40px;
    margin-top: 7px;
    margin-left: 4px;
}

#logo img {
    width: 32px;
    height: auto;
    padding-left: 3px;
}

#logo-name {
    margin-top: 0;
    font-size: 32px;
    font-weight: 400;
}

#extr-page #header #logo {
    margin-top: 22px;
    margin-left: 0;
}

#extr-page #header #logo img {
    width: 137px;
}

@media (min-width: 768px) and (max-width: 880px) {
    #main::after {
        /*content: "IPAD VERTICAL";*/
    }

    #logo {
        margin-top: 7px;
    }

    #logo img {
        width: 32px;
    }
}

@media (max-width: 767px) {

    #logo {
        margin-left: 4px;
    }

    #logo {
        margin-top: 7px;
    }

    #logo img {
        width: 32px;
    }
}

@media only screen and (min-width: 0px) and (max-width: 679px) {
    #logo {
        margin-left: 4px;
    }

    #logo {
        margin-top: 7px;
    }

    #logo img {
        width: 32px;
    }

}

@media only screen and (min-width: 320px) and (max-width: 479px) {
    #logo {
        margin-left: 4px;
    }

    /* logo width adjustment */
    #logo {
        width: 40px;
    }

    #logo-group {
        width: 200px !important;
    }

    #logo {
        margin-top: 7px;
    }

    #logo img {
        width: 32px;
    }

}

/* Spinning glyph */
.glyphicon-spin {

    animation: spin 1000ms infinite linear;
}

/*!
 * BootstrapValidator (http://bootstrapvalidator.com)
 * The best jQuery plugin to validate form fields. Designed to use with Bootstrap 3
 *
 * @version     v0.5.2, built on 2014-09-25 4:01:07 PM
 * @author      https://twitter.com/nghuuphuoc
 * @copyright   (c) 2013 - 2014 Nguyen Huu Phuoc
 * @license     MIT
 */

.bv-form .help-block {
    margin-bottom: 0
}

.bv-form .tooltip-inner {
    text-align: left
}

.nav-tabs li.bv-tab-success > a {
    color: #3c763d
}

.nav-tabs li.bv-tab-error > a {
    color: #a94442
}

.bv-form .bv-icon-no-label {
    top: 0
}

.bv-form .bv-icon-input-group {
    top: 0;
    z-index: 100
}

/* Evolution Stats
 */

.sparksTest {
    display: block;
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    text-align: right;
}

.sparksTest li {
    /*display: inline-block;*/
    max-height: 47px;
    overflow: hidden;
    text-align: left;
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
}

.sparksTest li h5 {
    color: #555;
    float: left;
    font-size: 13px;
    font-weight: normal;
    margin: -3px 0 10px 0;
    padding: 0;
    border: none;
    text-transform: uppercase;
}

.sparksTest li span {
    color: #636363;
    display: block;
}

.sparksTest li {
    border-left: 1px dotted #c7c7c7;
    padding: 0 10px;
}

.sparksTest li:last-child {
    padding-right: 0;
}

/*
#sparks li:first-child {
  border-left: none;
  padding-left: 0;
}
*/
.sparks-info {
    min-width: 70px;
}

.sparks-info span {
    font-size: 18px;
    line-height: 20px;
    margin: 0;
    text-transform: none;
}

.sparks-info .sparkline {
    display: block;
    float: right;
    margin: 3px 0 0 20px;
}

/* Large Modal */
@media screen and (min-width: 768px) {
    .chart-modal {
        width: 80%; /* either % (e.g. 60%) or px (400px) */
    }
}

/* Standard Modal */
@media screen and (min-width: 768px) {
    .standard-modal {
        width: 60%; /* either % (e.g. 60%) or px (400px) */
    }
}

/* Row Reorder */
table.dt-rowReorder-float {
    position: absolute !important;
    opacity: 0.8;
    table-layout: fixed;
    outline: 2px solid #888;
    outline-offset: -2px;
    z-index: 2001
}

tr.dt-rowReorder-moving {
    outline: 2px solid #555;
    outline-offset: -2px
}

body.dt-rowReorder-noOverflow {
    overflow-x: hidden
}

table.dataTable td.reorder {
    text-align: center;
    cursor: move
}

/* CHECKBOX */
.checkboxOne input[type=checkbox] {
    visibility: hidden;
}

.checkboxOne {
    width: 25px;
    margin: 2px 5px;
    position: relative;
}

.checkboxOne label {
    cursor: pointer;
    position: absolute;
    width: 25px;
    height: 25px;
    top: 0;
    left: 0;
    background: #eee;
    border: 1px solid #ddd;
}

.checkboxOne label:after {
    opacity: 0.2;
    content: '';
    position: absolute;
    width: 9px;
    height: 5px;
    background: transparent;
    top: 6px;
    left: 7px;
    border: 3px solid #333;
    border-top: none;
    border-right: none;

    transform: rotate(-45deg);
}

.checkboxOne label:hover::after {
    opacity: 0.5;
}

.checkboxOne input[type=checkbox]:checked + label:after {
    opacity: 1;
}

/* BOOTSTRAP WIZARD */
.bootstrapWizard li {
    display: block;
    float: left;
    width: 20%;
    text-align: center;
    padding-left: 0
}
