﻿
body {
    padding-top: 0px;
    padding-bottom: 20px;
    color: #000;
    background-color: rgb(233, 236, 239);
    font-family: Helvetica, Arial;
    height: 100%;
    position: relative;
}

html {
    height: 100%;
}

* {
    box-sizing: border-box;
}

    *:before,
    *:after {
        box-sizing: border-box;
    }

@font-face {
    font-family: 'GT-America-Standard-Regular';
    src: url('fonts/GT-America-Standard-Regular.woff2') format('woff2'), url('fonts/GT-America-Standard-Regular.woff') format('woff'), url('fonts/GT-America-Standard-Regular.eot') format('embedded-opentype');
}

@font-face {
    font-family: 'GT-America-Standard-Bold';
    src: url('fonts/GT-America-Standard-Bold.eot') format('embedded-opentype'), url('fonts/GT-America-Standard-Bold.woff') format('woff'), url('fonts/GT-America-Standard-Bold.woff2') format('woff2');
}
/* Set padding to keep content from hitting the edges */
#gridLog {
    font-size: 10pt;
    font-weight: normal;
    line-height: 12px;
}

.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

#page-container {
    margin: 0 auto;
    width: 100%;
    min-width: 320px;
    height: 100%;
}

.container-fluid {
    height: 100%;
    min-height: 100%;
}
/* colors */
.bg-dark {
    background-color: rgb(34, 34, 34) !important
}

.bg-dark2 {
    background-color: rgb(34, 34, 34) !important
}

.bg-medium {
    background-color: #B5926A
}

    .bg-medium:visited {
        background-color: #B5926A
    }

.bg-light {
    color: #E1D3C4
}

    .bg-light:visited {
        color: #E1D3C4
    }

    .bg-light:hover {
        color: #524330
    }

.fg-dark {
    color: #2F261C !important
}

    .fg-dark:visited {
        color: #2F261C !important
    }

    .fg-dark:hover {
        color: #000 !important
    }

.fg-medium {
    color: #B5926A
}

    .fg-medium:visited {
        color: #B5926A
    }

    .fg-medium:hover {
        color: #B19978
    }

.fg-light {
    color: #E64A00
}

    .fg-light:visited {
        color: #B19978
    }

    .fg-light:hover {
        color: #524330
    }







.bg-header {
    background-color: rgba(222,211,192,.61);
    background: -moz-linear-gradient(top, rgba(213,206,166,0.61) 0%, rgba(201,193,144,0.0.61) 65%, rgba(183,173,112,0.0.61) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(213,206,166,0.61) 0%,rgba(201,193,144,0.0.61) 65%,rgba(183,173,112,0.0.61) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(213,206,166,0.0.61) 0%,rgba(201,193,144,0.0.61) 65%,rgba(183,173,112,0.0.61) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cfd5cea6', endColorstr='#ccb7ad70',GradientType=0 ); /* IE6-9 */
    border-radius: 5px 5px 0 0;
    height: 40px;
    padding: 8px 0 0 8px;
    color: #2e1d18;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/*mystuff*/
.col-navfixed {
    z-index: 100;
    background-color: rgb(34,34,34);
    min-width: 180px;
    width: 180px;
    top: 55px;
    left: 0;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s;
    max-width: 180px;
    height: 100%;
}

.navbar {
    max-height: 6vh;
    min-height: 40px;
}

.navbar-brand {
    padding-top: 0;
}

    .navbar-brand img {
        min-height: 27px;
    }

.navcategory {
    background-color: rgb(0,0,0);
    color: #fff;
    border-top: 1px solid rgb(55,55,55);
    border-bottom: 1px solid rgb(26,26,26);
    padding-left: 5px;
    line-height: 30px;
}

.fullbar {
    width: 100%
}

.naventry {
    border-top: 1px solid rgb(55,55,55);
    border-bottom: 1px solid rgb(26,26,26);
    line-height: 30px;
    background-color: rgb(34,34,34);
}

    .naventry a:link {
        padding-left: 15px;
        color: #666;
        width: 100%;
        display: inline-block;
    }

[data-toggle="collapse"] i:before {
    content: "\f068";
}

[data-toggle="collapse"].collapsed i:before {
    content: "\f067";
}

.naventry a:visited {
    color: #666;
}

.naventry a:hover {
    color: rgba(230, 74, 0,1);
    background-color: rgb(0,0,0);
}

.nav > li > a:link {
    color: rgba(230, 74, 0,1);
}

.nav > li > a:visited {
    color: rgba(230, 74, 0,1);
}

.nav > li > a:hover {
    color: #FF6600;
}

.copyright {
    color: #810101;
    text-decoration: none;
    font-size: 10pt;
    text-align: center;
    position: relative;
    vertical-align: middle;
    padding-top: 3px;
}

.footer {
    vertical-align: middle;
    position: relative;
    width: 100%;
    padding: 0 0 0 180px;
    height: 3vh;
    background-color: #111;
}


.dropdown li a:link {
    line-height: 30px;
    width: 100%;
    display: inline-block;
    padding-left: 15px;
}

.dropdown li a:link {
    width: 100%;
    display: inline-block;
    color: #222;
}

.dropdown li a:visited {
    color: #222;
}

.dropdown li a:hover {
    color: #831818;
    background-color: rgba(222,211,192,.61);
}

.dataTables_wrapper {
    background-color: rgb(230, 230, 230);
}

.mainbar {
    min-height: 91vh; /* will cover the 100% of viewport */
    height: 91vh;
    margin: 6vh 0 0 180px;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}

.mainbar2 {
    min-height: 88vh; /* will cover the 100% of viewport */
    margin-top: 6vh;
    width: 100%;
    height: 88vh;
    padding: 0 0 0 0;
    position: relative;
    overflow-x: hidden;
    overflow-y: scroll;
}

.sidebar {
    margin-top: 6vh;
    width: 200px;
    max-width: 200px;
    padding: 0 0 50px 0;
    background-color: rgb(34,34,34);
    z-index: 500;
}

.sidebar2 {
    height: 94vh;
    position: fixed;
    overflow-y: scroll;
}
/*elements*/
.loginpanel {
    border: 1px solid rgba(46,29,24,1);
    border-radius: 5px;
    width: 340px;
    max-width: 340px;
    margin: 10px auto 0 auto;
    padding: 0px;
}

.text-14 {
    font-size: 14px
}

.longinput {
    max-width: 500px;
}

.register-control {
    border-radius: 0;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0;
    background-color: transparent;
    font-family: Arial, Helvetica, sans-serif;
    border-width: 0 0 1px 0;
    border-color: #333;
    border-style: solid;
    box-shadow: none;
}

    .register-control:focus {
        border-color: #2e1d18;
        box-shadow: none;
    }

.registerlogin {
    font-size: 14px
}



.checkbox label:after,
.radio label:after {
    content: '';
    display: table;
    clear: both;
}

.checkbox .cr,
.radio .cr {
    position: relative;
    display: inline-block;
    border: 1px solid #a9a9a9;
    border-radius: 6px;
    width: 1.3em;
    height: 1.3em;
    float: left;
    margin-right: .5em;
    color: #cc0000;
}

.checkbox2 .cr,
.radio .cr {
    position: relative;
    display: inline-block;
    border: 1px solid #a9a9a9;
    border-radius: 6px;
    width: 1.3em;
    height: 1.3em;
    float: left;
    margin-right: .5em;
    color: #cc0000;
}

.checkbox2 .cr,
.radio .cr {
    position: relative;
    display: inline-block;
    border: 1px solid #a9a9a9;
    border-radius: 6px;
    width: 1.3em;
    height: 1.3em;
    float: left;
    margin-right: .5em;
    color: #009900;
}

    .checkbox2 .cr .cr-icon,
    .radio .cr .cr-icon {
        position: absolute;
        font-size: .8em;
        line-height: 0;
        top: 50%;
        left: 20%;
        color: #009900;
    }

.radio .cr {
    border-radius: 10%;
}

    .checkbox .cr .cr-icon,
    .radio .cr .cr-icon {
        position: absolute;
        font-size: .8em;
        line-height: 0;
        top: 50%;
        left: 20%;
        color: #cc0000;
    }

    .radio .cr .cr-icon {
        margin-left: 0.04em;
    }

.checkbox label input[type="checkbox"],
.radio label input[type="radio"] {
    display: none;
}

    .checkbox label input[type="checkbox"] + .cr > .cr-icon,
    .radio label input[type="radio"] + .cr > .cr-icon {
        transform: scale(3) rotateZ(-20deg);
        opacity: 0;
        transition: all .3s ease-in;
    }

    .checkbox label input[type="checkbox"]:checked + .cr > .cr-icon,
    .radio label input[type="radio"]:checked + .cr > .cr-icon {
        transform: scale(1) rotateZ(0deg);
        opacity: 1;
    }

    .checkbox label input[type="checkbox"]:disabled + .cr,
    .radio label input[type="radio"]:disabled + .cr {
        opacity: .5;
    }


.checkbox2 label input[type="checkbox"],
.radio label input[type="radio"] {
    display: none;
}

    .checkbox2 label input[type="checkbox"] + .cr > .cr-icon,
    .radio label input[type="radio"] + .cr > .cr-icon {
        transform: scale(3) rotateZ(-20deg);
        opacity: 0;
        transition: all .3s ease-in;
    }

    .checkbox2 label input[type="checkbox"]:checked + .cr > .cr-icon,
    .radio label input[type="radio"]:checked + .cr > .cr-icon {
        transform: scale(1) rotateZ(0deg);
        opacity: 1;
    }

    .checkbox2 label input[type="checkbox"]:disabled + .cr,
    .radio label input[type="radio"]:disabled + .cr {
        opacity: .5;
    }



.checkbox-outer {
    width: 16px;
    height: 16px;
    display: block;
    position: relative;
    float: left;
    margin-left: 1px;
    margin-right: 4px;
}

    .checkbox-outer input[type="checkbox"] {
        margin: 0;
        padding: 0;
    }

.checkbox-pic {
    position: absolute;
    left: 0;
    top: 0px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    display: block;
    background: url('http://ktvd.ru/wp-content/uploads/card-checkbox.png') white 0 0 no-repeat;
}

    .checkbox-pic:before {
        content: " ";
        width: 17px;
        height: 18px;
        display: block;
        position: absolute;
        left: 0px;
        top: 0px;
        background: url('http://ktvd.ru/wp-content/uploads/checkbox.png') top left no-repeat;
        opacity: 0;
        transform: scale(3) rotateZ(-20deg);
        -moz-transform: scale(3) rotateZ(-20deg);
        -o-transform: scale(3) rotateZ(-20deg);
        -webkit-transform: scale(3) rotateZ(-20deg);
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -ms-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
    }

.checkbox-outer input[type="checkbox"]:checked + .checkbox-pic:before {
    opacity: 1;
    transform: scale(1) rotateZ(0deg);
    -moz-transform: scale(1) rotateZ(0deg);
    -webkit-transform: scale(1) rotateZ(0deg);
    -o-transform: scale(1) rotateZ(0deg);
    -ms-transform: scale(1) rotateZ(0deg);
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.CCScoreCard {
    text-align: center;
    background-color: rgb(238, 238, 238);
    border: 1px solid rgb(221, 221, 221);
    border-radius: 6px;
    min-height: 300px;
    margin-bottom: 29px
}

.CCScoreCardTitle {
    font-size: 18px;
    display: block;
    margin-bottom: 58px;
    background-color: rgb(26, 26, 26) !important;
    color: #fff !important;
    border-left-color: rgb(65, 65, 65) !important;
    border-right-color: rgb(65, 65, 65) !important;
    border-top-color: rgb(65, 65, 65) !important;
    border-bottom: 5px solid #810101;
}

.CCScoreCardValue {
    color: #990000;
    font-size: 80px;
}

.note-image-url {
    overflow-y: auto !important
}
/*dataTables*/
.dataTables_wrapper {
    border: 1px solid #bbb;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    padding-bottom: 4px;
}

.toolbar {
    background-color: rgb(230,230,230);
    margin: 0 0 0 0;
    background: #efefef;
    min-height: 88vh;
    max-height: 88vh;
    padding: 10px 5px 10px 30px;
    width: 99%;
}

.toolbar2 {
    margin: 0;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    background-color: #E6E6E6;
/*    height: 50px;
*/    padding: 10px;
    width: 100%;
    vertical-align: middle;
}

.dataTables_info {
    padding: 0 0 10px 20px
}

#grdCustom {
    display: none;
}

table.dataTable tbody > tr.selected {
    background: #7A230E; /* Old browsers */
    background: -moz-linear-gradient(top, #AC3213 0%, #7A230E 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #AC3213 0%,#7A230E 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #AC3213 0%,#7A230E 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#AC3213', endColorstr='#7A230E',GradientType=0 ); /* IE6-9 */
    color: #fff;
}

td.gridbtn {
    padding: 0 !important;
    text-align: center;
}

.gridbtn img {
    cursor: pointer;
}

button.btn {
    border: 1px solid rgba(230, 74, 0,.4);
    font-size: 14px;
}

button.btn-default {
    background-color: #fff;
}

button.btn:disabled:hover {
    background-color: #fff;
    border: 1px solid rgba(230, 230, 230,.4);
    cursor: not-allowed;
}

button.btn:hover {
    background-color: #ccc;
    border: 1px solid #810101;
}

.panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
    box-shadow: 0 1px 1px rgba(0,0,0,.05)
}

.panel-body {
    padding: 15px
}

.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px
}

    .panel-heading > .dropdown .dropdown-toggle {
        color: inherit
    }

.panel-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
    color: inherit
}

    .panel-title > .small, .panel-title > .small > a, .panel-title > a, .panel-title > small, .panel-title > small > a {
        color: inherit
    }

.panel-footer {
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px
}

.panel > .list-group, .panel > .panel-collapse > .list-group {
    margin-bottom: 0
}

    .panel > .list-group .list-group-item, .panel > .panel-collapse > .list-group .list-group-item {
        border-width: 1px 0;
        border-radius: 0
    }

    .panel > .list-group:first-child .list-group-item:first-child, .panel > .panel-collapse > .list-group:first-child .list-group-item:first-child {
        border-top: 0;
        border-top-left-radius: 3px;
        border-top-right-radius: 3px
    }

    .panel > .list-group:last-child .list-group-item:last-child, .panel > .panel-collapse > .list-group:last-child .list-group-item:last-child {
        border-bottom: 0;
        border-bottom-right-radius: 3px;
        border-bottom-left-radius: 3px
    }

.panel > .panel-heading + .panel-collapse > .list-group .list-group-item:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0
}

.panel-heading + .list-group .list-group-item:first-child {
    border-top-width: 0
}

.list-group + .panel-footer {
    border-top-width: 0
}

.panel > .panel-collapse > .table, .panel > .table, .panel > .table-responsive > .table {
    margin-bottom: 0
}

    .panel > .panel-collapse > .table caption, .panel > .table caption, .panel > .table-responsive > .table caption {
        padding-right: 15px;
        padding-left: 15px
    }

    .panel > .table-responsive:first-child > .table:first-child, .panel > .table:first-child {
        border-top-left-radius: 3px;
        border-top-right-radius: 3px
    }

        .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child, .panel > .table:first-child > tbody:first-child > tr:first-child, .panel > .table:first-child > thead:first-child > tr:first-child {
            border-top-left-radius: 3px;
            border-top-right-radius: 3px
        }

            .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child, .panel > .table:first-child > tbody:first-child > tr:first-child td:first-child, .panel > .table:first-child > tbody:first-child > tr:first-child th:first-child, .panel > .table:first-child > thead:first-child > tr:first-child td:first-child, .panel > .table:first-child > thead:first-child > tr:first-child th:first-child {
                border-top-left-radius: 3px
            }

            .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child, .panel > .table:first-child > tbody:first-child > tr:first-child td:last-child, .panel > .table:first-child > tbody:first-child > tr:first-child th:last-child, .panel > .table:first-child > thead:first-child > tr:first-child td:last-child, .panel > .table:first-child > thead:first-child > tr:first-child th:last-child {
                border-top-right-radius: 3px
            }

    .panel > .table-responsive:last-child > .table:last-child, .panel > .table:last-child {
        border-bottom-right-radius: 3px;
        border-bottom-left-radius: 3px
    }

        .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child, .panel > .table:last-child > tbody:last-child > tr:last-child, .panel > .table:last-child > tfoot:last-child > tr:last-child {
            border-bottom-right-radius: 3px;
            border-bottom-left-radius: 3px
        }

            .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child, .panel > .table:last-child > tbody:last-child > tr:last-child td:first-child, .panel > .table:last-child > tbody:last-child > tr:last-child th:first-child, .panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child, .panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child {
                border-bottom-left-radius: 3px
            }

            .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child, .panel > .table:last-child > tbody:last-child > tr:last-child td:last-child, .panel > .table:last-child > tbody:last-child > tr:last-child th:last-child, .panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child, .panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child {
                border-bottom-right-radius: 3px
            }

    .panel > .panel-body + .table, .panel > .panel-body + .table-responsive, .panel > .table + .panel-body, .panel > .table-responsive + .panel-body {
        border-top: 1px solid #ddd
    }

    .panel > .table > tbody:first-child > tr:first-child td, .panel > .table > tbody:first-child > tr:first-child th {
        border-top: 0
    }

.panel > .table-bordered, .panel > .table-responsive > .table-bordered {
    border: 0
}

    .panel > .table-bordered > tbody > tr > td:first-child, .panel > .table-bordered > tbody > tr > th:first-child, .panel > .table-bordered > tfoot > tr > td:first-child, .panel > .table-bordered > tfoot > tr > th:first-child, .panel > .table-bordered > thead > tr > td:first-child, .panel > .table-bordered > thead > tr > th:first-child, .panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, .panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, .panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child, .panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, .panel > .table-responsive > .table-bordered > thead > tr > td:first-child, .panel > .table-responsive > .table-bordered > thead > tr > th:first-child {
        border-left: 0
    }

    .panel > .table-bordered > tbody > tr > td:last-child, .panel > .table-bordered > tbody > tr > th:last-child, .panel > .table-bordered > tfoot > tr > td:last-child, .panel > .table-bordered > tfoot > tr > th:last-child, .panel > .table-bordered > thead > tr > td:last-child, .panel > .table-bordered > thead > tr > th:last-child, .panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, .panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, .panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child, .panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, .panel > .table-responsive > .table-bordered > thead > tr > td:last-child, .panel > .table-responsive > .table-bordered > thead > tr > th:last-child {
        border-right: 0
    }

    .panel > .table-bordered > tbody > tr:first-child > td, .panel > .table-bordered > tbody > tr:first-child > th, .panel > .table-bordered > thead > tr:first-child > td, .panel > .table-bordered > thead > tr:first-child > th, .panel > .table-responsive > .table-bordered > tbody > tr:first-child > td, .panel > .table-responsive > .table-bordered > tbody > tr:first-child > th, .panel > .table-responsive > .table-bordered > thead > tr:first-child > td, .panel > .table-responsive > .table-bordered > thead > tr:first-child > th {
        border-bottom: 0
    }

    .panel > .table-bordered > tbody > tr:last-child > td, .panel > .table-bordered > tbody > tr:last-child > th, .panel > .table-bordered > tfoot > tr:last-child > td, .panel > .table-bordered > tfoot > tr:last-child > th, .panel > .table-responsive > .table-bordered > tbody > tr:last-child > td, .panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td, .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {
        border-bottom: 0
    }

.panel > .table-responsive {
    margin-bottom: 0;
    border: 0
}

.panel-group {
    margin-bottom: 20px
}

    .panel-group .panel {
        margin-bottom: 0;
        border-radius: 4px
    }

        .panel-group .panel + .panel {
            margin-top: 5px
        }

    .panel-group .panel-heading {
        border-bottom: 0
    }

        .panel-group .panel-heading + .panel-collapse > .list-group, .panel-group .panel-heading + .panel-collapse > .panel-body {
            border-top: 1px solid #ddd
        }

    .panel-group .panel-footer {
        border-top: 0
    }

        .panel-group .panel-footer + .panel-collapse .panel-body {
            border-bottom: 1px solid #ddd
        }

.panel-default {
    border-color: #ddd
}

    .panel-default > .panel-heading {
        color: #333;
        background-color: rgb(220,220,220);
        border-color: #ddd
    }

        .panel-default > .panel-heading + .panel-collapse > .panel-body {
            border-top-color: #ddd
        }

        .panel-default > .panel-heading .badge {
            color: #f5f5f5;
            background-color: #333
        }

    .panel-default > .panel-footer + .panel-collapse > .panel-body {
        border-bottom-color: #ddd
    }

.panel-primary {
    border-color: #337ab7
}

    .panel-primary > .panel-heading {
        color: #fff;
        background-color: #337ab7;
        border-color: #337ab7
    }

        .panel-primary > .panel-heading + .panel-collapse > .panel-body {
            border-top-color: #337ab7
        }

        .panel-primary > .panel-heading .badge {
            color: #337ab7;
            background-color: #fff
        }

    .panel-primary > .panel-footer + .panel-collapse > .panel-body {
        border-bottom-color: #337ab7
    }

.panel-success {
    border-color: #d6e9c6
}

    .panel-success > .panel-heading {
        color: #3c763d;
        background-color: #dff0d8;
        border-color: #d6e9c6
    }

        .panel-success > .panel-heading + .panel-collapse > .panel-body {
            border-top-color: #d6e9c6
        }

        .panel-success > .panel-heading .badge {
            color: #dff0d8;
            background-color: #3c763d
        }

    .panel-success > .panel-footer + .panel-collapse > .panel-body {
        border-bottom-color: #d6e9c6
    }

.panel-info {
    border-color: #bce8f1
}

    .panel-info > .panel-heading {
        color: #31708f;
        background-color: #d9edf7;
        border-color: #bce8f1
    }

        .panel-info > .panel-heading + .panel-collapse > .panel-body {
            border-top-color: #bce8f1
        }

        .panel-info > .panel-heading .badge {
            color: #d9edf7;
            background-color: #31708f
        }

    .panel-info > .panel-footer + .panel-collapse > .panel-body {
        border-bottom-color: #bce8f1
    }

.panel-warning {
    border-color: #faebcc
}

    .panel-warning > .panel-heading {
        color: #8a6d3b;
        background-color: #fcf8e3;
        border-color: #faebcc
    }

        .panel-warning > .panel-heading + .panel-collapse > .panel-body {
            border-top-color: #faebcc
        }

        .panel-warning > .panel-heading .badge {
            color: #fcf8e3;
            background-color: #8a6d3b
        }

    .panel-warning > .panel-footer + .panel-collapse > .panel-body {
        border-bottom-color: #faebcc
    }

.panel-danger {
    border-color: #ebccd1
}

    .panel-danger > .panel-heading {
        color: #a94442;
        background-color: #f2dede;
        border-color: #ebccd1
    }

        .panel-danger > .panel-heading + .panel-collapse > .panel-body {
            border-top-color: #ebccd1
        }

        .panel-danger > .panel-heading .badge {
            color: #f2dede;
            background-color: rgb(220,220,220);
        }

    .panel-danger > .panel-footer + .panel-collapse > .panel-body {
        border-bottom-color: #ebccd1
    }

.panel-default > .panel-heading {
    border-bottom: 3px solid #810101;
}

.panel-heading {
    font-size: 14px;
    font-weight: bold;
}

.form-horizontal .control-label {
    padding-top: 7px;
    margin-bottom: 0;
    text-align: right;
}

label {
    font-size: 14px;
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
}

.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s
}

button.btn-start2 {
    background: #E2DDD2;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 6px;
    font-family: Nunito,Arial, Helvetica, sans-serif;
    color: #000;
    font-size: 20px;
    margin-top: 10px;
    padding: 0px;
    text-decoration: none;
    text-align: center;
    max-width: 400px;
    width: 100%;
    height: 40px;
}

    button.btn-start2:hover {
        background: #2F261C;
        color: #fff;
        text-decoration: none;
    }


.bd-example-modal-lg .modal-dialog {
    display: table;
    position: relative;
    margin: 0 auto;
    top: calc(50% - 24px);
}

    .bd-example-modal-lg .modal-dialog .modal-content {
        background-color: transparent;
        border: none;
    }



#dropzone {
    background: palegreen;
    width: 150px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-weight: bold;
}

    #dropzone.in {
        width: 600px;
        height: 200px;
        line-height: 200px;
        font-size: larger;
    }

    #dropzone.hover {
        background: lawngreen;
    }

    #dropzone.fade {
        -webkit-transition: all 0.3s ease-out;
        -moz-transition: all 0.3s ease-out;
        -ms-transition: all 0.3s ease-out;
        -o-transition: all 0.3s ease-out;
        transition: all 0.3s ease-out;
        opacity: 1;
    }



.cropper-container {
    direction: ltr;
    font-size: 0;
    line-height: 0;
    position: relative;
    -ms-touch-action: none;
    touch-action: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    top: 0px;
    max-width: 100% !important;
}

    .cropper-container img {
        display: block;
        height: 100%;
        image-orientation: 0deg;
        max-height: none !important;
        max-width: none !important;
        min-height: 0 !important;
        min-width: 0 !important;
        width: 100%;
    }

.cropper-wrap-box,
.cropper-canvas,
.cropper-drag-box,
.cropper-crop-box,
.cropper-modal {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.cropper-wrap-box,
.cropper-canvas {
    overflow: hidden;
}

.cropper-drag-box {
    background-color: #fff;
    opacity: 0;
}

.cropper-modal {
    background-color: #000;
    opacity: 0.5;
}

.cropper-view-box {
    display: block;
    height: 100%;
    outline: 1px solid #39f;
    outline-color: rgba(51, 153, 255, 0.75);
    overflow: hidden;
    width: 100%;
}

.cropper-dashed {
    border: 0 dashed #eee;
    display: block;
    opacity: 0.5;
    position: absolute;
}

    .cropper-dashed.dashed-h {
        border-bottom-width: 1px;
        border-top-width: 1px;
        height: calc(100% / 3);
        left: 0;
        top: calc(100% / 3);
        width: 100%;
    }

    .cropper-dashed.dashed-v {
        border-left-width: 1px;
        border-right-width: 1px;
        height: 100%;
        left: calc(100% / 3);
        top: 0;
        width: calc(100% / 3);
    }

.cropper-center {
    display: block;
    height: 0;
    left: 50%;
    opacity: 0.75;
    position: absolute;
    top: 50%;
    width: 0;
}

    .cropper-center::before,
    .cropper-center::after {
        background-color: #eee;
        content: ' ';
        display: block;
        position: absolute;
    }

    .cropper-center::before {
        height: 1px;
        left: -3px;
        top: 0;
        width: 7px;
    }

    .cropper-center::after {
        height: 7px;
        left: 0;
        top: -3px;
        width: 1px;
    }

.cropper-face,
.cropper-line,
.cropper-point {
    display: block;
    height: 100%;
    opacity: 0.1;
    position: absolute;
    width: 100%;
}

.cropper-face {
    background-color: #fff;
    left: 0;
    top: 0;
}

.cropper-line {
    background-color: #39f;
}

    .cropper-line.line-e {
        cursor: ew-resize;
        right: -3px;
        top: 0;
        width: 5px;
    }

    .cropper-line.line-n {
        cursor: ns-resize;
        height: 5px;
        left: 0;
        top: -3px;
    }

    .cropper-line.line-w {
        cursor: ew-resize;
        left: -3px;
        top: 0;
        width: 5px;
    }

    .cropper-line.line-s {
        bottom: -3px;
        cursor: ns-resize;
        height: 5px;
        left: 0;
    }

.cropper-point {
    background-color: #39f;
    height: 5px;
    opacity: 0.75;
    width: 5px;
}

    .cropper-point.point-e {
        cursor: ew-resize;
        margin-top: -3px;
        right: -3px;
        top: 50%;
    }

    .cropper-point.point-n {
        cursor: ns-resize;
        left: 50%;
        margin-left: -3px;
        top: -3px;
    }

    .cropper-point.point-w {
        cursor: ew-resize;
        left: -3px;
        margin-top: -3px;
        top: 50%;
    }

    .cropper-point.point-s {
        bottom: -3px;
        cursor: s-resize;
        left: 50%;
        margin-left: -3px;
    }

    .cropper-point.point-ne {
        cursor: nesw-resize;
        right: -3px;
        top: -3px;
    }

    .cropper-point.point-nw {
        cursor: nwse-resize;
        left: -3px;
        top: -3px;
    }

    .cropper-point.point-sw {
        bottom: -3px;
        cursor: nesw-resize;
        left: -3px;
    }

    .cropper-point.point-se {
        bottom: -3px;
        cursor: nwse-resize;
        height: 20px;
        opacity: 1;
        right: -3px;
        width: 20px;
    }

@media (min-width: 768px) {
    .cropper-point.point-se {
        height: 15px;
        width: 15px;
    }
}

@media (min-width: 992px) {
    .cropper-point.point-se {
        height: 10px;
        width: 10px;
    }
}

@media (min-width: 1200px) {
    .cropper-point.point-se {
        height: 5px;
        opacity: 0.75;
        width: 5px;
    }
}

.cropper-point.point-se::before {
    background-color: #39f;
    bottom: -50%;
    content: ' ';
    display: block;
    height: 200%;
    opacity: 0;
    position: absolute;
    right: -50%;
    width: 200%;
}

.cropper-invisible {
    opacity: 0;
}

.cropper-bg {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC');
}

.cropper-hide {
    display: block;
    height: 0;
    position: absolute;
    width: 0;
}

.cropper-hidden {
    display: none !important;
}

.cropper-move {
    cursor: move;
}

.cropper-crop {
    cursor: crosshair;
}

.cropper-disabled .cropper-drag-box,
.cropper-disabled .cropper-face,
.cropper-disabled .cropper-line,
.cropper-disabled .cropper-point {
    cursor: not-allowed;
}





.btn {
    padding-left: .75rem;
    padding-right: .75rem;
}

label.btn {
    margin-bottom: 0;
}

.d-flex > .btn {
    flex: 1;
}

.carbonads {
    border-radius: .25rem;
    border: 1px solid #ccc;
    font-size: .875rem;
    overflow: hidden;
    padding: 1rem;
}

.carbon-wrap {
    overflow: hidden;
}

.carbon-img {
    clear: left;
    display: block;
    float: left;
}

.carbon-text,
.carbon-poweredby {
    display: block;
    margin-left: 140px;
}

    .carbon-text,
    .carbon-text:hover,
    .carbon-text:focus {
        color: #fff;
        text-decoration: none;
    }

    .carbon-poweredby,
    .carbon-poweredby:hover,
    .carbon-poweredby:focus {
        color: #ddd;
        text-decoration: none;
    }

@media (min-width: 768px) {
    .carbonads {
        float: right;
        margin-bottom: -1rem;
        margin-top: -1rem;
        max-width: 360px;
    }
}

.footer {
    font-size: .875rem;
    overflow: hidden;
}

.heart {
    color: #ddd;
    display: block;
    height: 2rem;
    line-height: 2rem;
    margin-bottom: 0;
    margin-top: 1rem;
    position: relative;
    text-align: center;
    width: 100%;
}

    .heart:hover {
        color: #ff4136;
    }

    .heart::before {
        border-top: 1px solid #eee;
        content: " ";
        display: block;
        height: 0;
        left: 0;
        position: absolute;
        right: 0;
        top: 50%;
    }

    .heart::after {
        background-color: #fff;
        content: "♥";
        padding-left: .5rem;
        padding-right: .5rem;
        position: relative;
        z-index: 1;
    }

.img-container,
.img-preview {
    background-color: #f7f7f7;
    text-align: center;
    width: 100%;
}

.img-container {
    margin-bottom: 1rem;
    max-height: 497px;
    min-height: 200px;
}

@media (min-width: 768px) {
    .img-container {
        min-height: 497px;
    }
}

.img-container > img {
    max-width: 100%;
}

.docs-preview {
    margin-right: -1rem;
}

.img-preview {
    float: left;
    margin-bottom: .5rem;
    margin-right: .5rem;
    overflow: hidden;
}

    .img-preview > img {
        max-width: 100%;
    }

.preview-lg {
    height: 9rem;
    width: 16rem;
}

.preview-md {
    height: 4.5rem;
    width: 8rem;
}

.preview-sm {
    height: 2.25rem;
    width: 4rem;
}

.preview-xs {
    height: 1.125rem;
    margin-right: 0;
    width: 2rem;
}

.docs-data > .input-group {
    margin-bottom: .5rem;
}

.docs-data .input-group-prepend .input-group-text {
    min-width: 4rem;
}

.docs-data .input-group-append .input-group-text {
    min-width: 3rem;
}

.docs-buttons > .btn,
.docs-buttons > .btn-group,
.docs-buttons > .form-control {
    margin-bottom: .5rem;
    margin-right: .25rem;
}

.docs-toggles > .btn,
.docs-toggles > .btn-group,
.docs-toggles > .dropdown {
    margin-bottom: .5rem;
}

.docs-tooltip {
    display: block;
    margin: -.5rem -.75rem;
    padding: .5rem .75rem;
}

    .docs-tooltip > .icon {
        margin: 0 -.25rem;
        vertical-align: top;
    }

.tooltip-inner {
    white-space: normal;
}

.btn-upload .tooltip-inner,
.btn-toggle .tooltip-inner {
    white-space: nowrap;
}

.btn-toggle {
    padding: .5rem;
}

    .btn-toggle > .docs-tooltip {
        margin: -.5rem;
        padding: .5rem;
    }

@media (max-width: 400px) {
    .btn-group-crop {
        margin-right: -1rem !important;
    }

        .btn-group-crop > .btn {
            padding-left: .5rem;
            padding-right: .5rem;
        }

        .btn-group-crop .docs-tooltip {
            margin-left: -.5rem;
            margin-right: -.5rem;
            padding-left: .5rem;
            padding-right: .5rem;
        }
}

.docs-options .dropdown-menu {
    width: 100%;
}

    .docs-options .dropdown-menu > li {
        font-size: .875rem;
        padding: .125rem 1rem;
    }

    .docs-options .dropdown-menu .form-check-label {
        display: block;
    }

.docs-cropped .modal-body {
    text-align: center;
}

    .docs-cropped .modal-body > img,
    .docs-cropped .modal-body > canvas {
        max-width: 100%;
    }


.qq-upload-button {
    background-image: linear-gradient(rgb(204, 0, 0), rgb(102, 0, 0)) !important;
    border: 1px solid #660000 !important;
    border-radius: 3px !important;
}

.qq-upload-button-hover {
    background-image: linear-gradient(#810101, rgb(182, 24, 0)) !important;
    border: 1px solid #660000 !important;
    color: #fff;
}

.qq-progress-bar {
    background-color: #660000 !important;
}

.qq-upload-button-selector {
    border: 1px solid rgba(200, 0, 0, 0.3);
    border-radius: 6px;
    background-color: #fff;
    font-size: 14px;
    padding: 6px 12px;
    vertical-align: middle;
    text-align: center;
}

.col-minwidth-105 {
    min-width: 105px;
}

.col-minwidth-120 {
    min-width: 120px;
}

.btn-tbr {
    background-color: #efefef;
}

    .btn-tbr:hover {
        background-color: #fff;
    }

#gridstory {
    font-size: 9pt;
    font-weight: bold;
    line-height: 12px;
}

#gridRodeo {
    font-size: 9pt;
    font-weight: bold;
    line-height: 12px;
}

#gridrodeosearch {
    font-size: 9pt;
    font-weight: bold;
    line-height: 12px;
}

#gridstorysearch {
    font-size: 9pt;
    font-weight: bold;
    line-height: 12px;
}

.feedtext {
    color: #009900;
}

.feedminus {
    color: #990000;
}

.feeddetach {
    color: #990000;
}

.feedattach {
    color: #009900;
}

.feedplus {
    color: #009900;
}

table.dataTable tbody > tr.selected > td > span.feedtext {
    color: #00ff00;
}

table.dataTable tbody > tr.selected > td > div > a > span.feeddetach {
    color: #00ff00;
}

table.dataTable tbody > tr.selected > td > a > span.feedminus {
    color: #ffffff;
}

table.dataTable tbody > tr.selected > td > a > span.feedplus {
    color: #88eaf7;
}

table.dataTable tbody > tr.selected > td > div > a > span.feedattach {
    color: #88eaf7;
}

table.dataTable tbody > tr.selected > td > a.playvideo:link {
    color: #88eaf7;
}

table.dataTable tbody > tr.selected > td > a.playvideo:visited {
    color: #88eaf7;
}

table.dataTable tbody > tr.selected > td > a.playvideo:hover {
    color: #ffffff;
}

table.dataTable tbody > tr.selected > td > a.rodeoattach:link {
    color: #88eaf7;
}

table.dataTable tbody > tr.selected > td > a.rodeoattach:visited {
    color: #88eaf7;
}

table.dataTable tbody > tr.selected > td > a.rodeoattach:hover {
    color: #ffffff;
}

table.dataTable tbody > tr.selected > td > a.storyattach:link {
    color: #88eaf7;
}

table.dataTable tbody > tr.selected > td > a.storyattach:visited {
    color: #88eaf7;
}

table.dataTable tbody > tr.selected > td > a.storyattach:hover {
    color: #ffffff;
}

table.dataTable tbody td {
    padding-bottom: 4px;
}

.ui-datepicker {
    z-index: 1055 !important;
}

.btn.btn-primary {
    background-color: rgb(172, 50, 19);
    color: #fff
}

.bootstrap-datetimepicker-widget table td.active {
    background-color: rgb(172, 50, 19);
    color: #fff
}

.sourcelink:link {
    display: inline-block;
    color: rgb(172, 50, 19);
    margin-left: 16px;
    padding-top: 4px;
}

.sourcelink:visited {
    color: rgb(172, 50, 19);
}

.sourcelink:hover {
    color: #E64A00;
}

.dataTables_wrapper .dataTables_processing {
    margin-top: 0;
    top: 0;
    height: 100%;
    vertical-align: middle;
    text-align: center;
}

    .dataTables_wrapper .dataTables_processing > img {
        margin: 0 auto
    }

ul.categorylist {
    list-style: none;
    padding-left: 0;
}

    ul.categorylist li.category {
    }

    ul.categorylist li.subcategory {
        margin-left: 20px;
    }

#categoryframe {
    max-height: 480px;
    min-height: 480px;
    height: 480px;
    overflow-wrap: normal;
    overflow-y: scroll;
}


table.dt-rowReorder-float {
    position: absolute !important;
    opacity: 0.8;
    table-layout: fixed;
    outline: 2px solid #0275d8;
    outline-offset: -2px;
    z-index: 2001
}

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

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

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

table.dataTable td.reorder2 {
    text-align: center;
}

.updn {
    cursor: ns-resize
}

.slide {
    width: 300px;
    height: 50px;
    position: relative;
    user-select: none;
    padding: 0;
    margin: 0 auto .75rem auto;
    text-align: center;
    line-height: 50px;
    z-index: 5;
    background: linear-gradient(rgba(100,100,100,.9), rgba(1,1,1,.9));
    border: 1px solid white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 12pt;
    border-radius: 9px;
}

    .slide:before {
        position: absolute;
        bottom: 15px;
        right: 90%;
        counter-increment: slides;
        content: counter(slides);
        font-size: 18px;
        text-shadow: 2px 2px 2px black;
        color: #fff;
        line-height: normal;
    }

.sortable-drag:before {
    display: none;
}

.sortable-placeholder {
    width: 300px;
    height: 50px;
    position: relative;
    user-select: none;
    padding: 0;
    margin: 0 auto .75rem auto;
    text-align: center;
    line-height: 50px;
    z-index: 5;
    opacity: .2;
    background: linear-gradient(rgba(100,100,100,.9), rgba(1,1,1,.9));
    border: 1px solid white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 14pt;
    border-radius: 9px;
}

.markasanswer {
    text-align: center
}

.rightbtn {
    box-shadow: inset 0px 1px 0px 0px #caefab;
    background: linear-gradient(to bottom, #77d42a 5%, #5cb811 100%);
    background-color: #77d42a;
    border-radius: 6px;
    border: 1px solid #268a16;
    display: inline-block;
    cursor: pointer;
    color: #306108;
    font-family: Arial;
    font-size: 15px;
    font-weight: bold;
    padding: 2px 6px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #aade7c;
}

.wrongbtn {
    box-shadow: inset 0px 1px 0px 0px #f29c93;
    background: linear-gradient(to bottom, #fe1a00 5%, #ce0100 100%);
    background-color: #fe1a00;
    border-radius: 6px;
    border: 1px solid #d83526;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 15px;
    font-weight: bold;
    padding: 2px 8px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #b23e35;
    cursor: pointer;
}
/***
Spectrum Colorpicker v1.8.1
https://github.com/bgrins/spectrum
Author: Brian Grinstead
License: MIT
***/

.sp-container {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    *display: inline;
    *zoom: 1;
    /* https://github.com/bgrins/spectrum/issues/40 */
    z-index: 9999994;
    overflow: hidden;
}

    .sp-container.sp-flat {
        position: relative;
    }

    /* Fix for * { box-sizing: border-box; } */
    .sp-container,
    .sp-container * {
        -webkit-box-sizing: content-box;
        -moz-box-sizing: content-box;
        box-sizing: content-box;
    }

/* http://ansciath.tumblr.com/post/7347495869/css-aspect-ratio */
.sp-top {
    position: relative;
    width: 100%;
    display: inline-block;
}

.sp-top-inner {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.sp-color {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 20%;
}

.sp-hue {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 84%;
    height: 100%;
}

.sp-clear-enabled .sp-hue {
    top: 33px;
    height: 77.5%;
}

.sp-fill {
    padding-top: 80%;
}

.sp-sat, .sp-val {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.sp-alpha-enabled .sp-top {
    margin-bottom: 18px;
}

.sp-alpha-enabled .sp-alpha {
    display: block;
}

.sp-alpha-handle {
    position: absolute;
    top: -4px;
    bottom: -4px;
    width: 6px;
    left: 50%;
    cursor: pointer;
    border: 1px solid black;
    background: white;
    opacity: .8;
}

.sp-alpha {
    display: none;
    position: absolute;
    bottom: -14px;
    right: 0;
    left: 0;
    height: 8px;
}

.sp-alpha-inner {
    border: solid 1px #333;
}

.sp-clear {
    display: none;
}

    .sp-clear.sp-clear-display {
        background-position: center;
    }

.sp-clear-enabled .sp-clear {
    display: block;
    position: absolute;
    top: 0px;
    right: 0;
    bottom: 0;
    left: 84%;
    height: 28px;
}

/* Don't allow text selection */
.sp-container, .sp-replacer, .sp-preview, .sp-dragger, .sp-slider, .sp-alpha, .sp-clear, .sp-alpha-handle, .sp-container.sp-dragging .sp-input, .sp-container button {
    -webkit-user-select: none;
    -moz-user-select: -moz-none;
    -o-user-select: none;
    user-select: none;
}

    .sp-container.sp-input-disabled .sp-input-container {
        display: none;
    }

    .sp-container.sp-buttons-disabled .sp-button-container {
        display: none;
    }

    .sp-container.sp-palette-buttons-disabled .sp-palette-button-container {
        display: none;
    }

.sp-palette-only .sp-picker-container {
    display: none;
}

.sp-palette-disabled .sp-palette-container {
    display: none;
}

.sp-initial-disabled .sp-initial {
    display: none;
}


/* Gradients for hue, saturation and value instead of images.  Not pretty... but it works */
.sp-sat {
    background-image: -webkit-gradient(linear, 0 0, 100% 0, from(#FFF), to(rgba(204, 154, 129, 0)));
    background-image: -webkit-linear-gradient(left, #FFF, rgba(204, 154, 129, 0));
    background-image: -moz-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
    background-image: -o-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
    background-image: -ms-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
    background-image: linear-gradient(to right, #fff, rgba(204, 154, 129, 0));
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr=#FFFFFFFF, endColorstr=#00CC9A81)";
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr='#FFFFFFFF', endColorstr='#00CC9A81');
}

.sp-val {
    background-image: -webkit-gradient(linear, 0 100%, 0 0, from(#000000), to(rgba(204, 154, 129, 0)));
    background-image: -webkit-linear-gradient(bottom, #000000, rgba(204, 154, 129, 0));
    background-image: -moz-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
    background-image: -o-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
    background-image: -ms-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
    background-image: linear-gradient(to top, #000, rgba(204, 154, 129, 0));
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00CC9A81, endColorstr=#FF000000)";
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00CC9A81', endColorstr='#FF000000');
}

.sp-hue {
    background: -moz-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
    background: -ms-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
    background: -o-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
    background: -webkit-gradient(linear, left top, left bottom, from(#ff0000), color-stop(0.17, #ffff00), color-stop(0.33, #00ff00), color-stop(0.5, #00ffff), color-stop(0.67, #0000ff), color-stop(0.83, #ff00ff), to(#ff0000));
    background: -webkit-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
    background: linear-gradient(to bottom, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
}

/* IE filters do not support multiple color stops.
   Generate 6 divs, line them up, and do two color gradients for each.
   Yes, really.
 */
.sp-1 {
    height: 17%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0000', endColorstr='#ffff00');
}

.sp-2 {
    height: 16%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff00', endColorstr='#00ff00');
}

.sp-3 {
    height: 17%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ff00', endColorstr='#00ffff');
}

.sp-4 {
    height: 17%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffff', endColorstr='#0000ff');
}

.sp-5 {
    height: 16%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0000ff', endColorstr='#ff00ff');
}

.sp-6 {
    height: 17%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff00ff', endColorstr='#ff0000');
}

.sp-hidden {
    display: none !important;
}

/* Clearfix hack */
.sp-cf:before, .sp-cf:after {
    content: "";
    display: table;
}

.sp-cf:after {
    clear: both;
}

.sp-cf {
    *zoom: 1;
}

/* Mobile devices, make hue slider bigger so it is easier to slide */
@media (max-device-width: 480px) {
    .sp-color {
        right: 40%;
    }

    .sp-hue {
        left: 63%;
    }

    .sp-fill {
        padding-top: 60%;
    }
}

.sp-dragger {
    border-radius: 5px;
    height: 5px;
    width: 5px;
    border: 1px solid #fff;
    background: #000;
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
}

.sp-slider {
    position: absolute;
    top: 0;
    cursor: pointer;
    height: 3px;
    left: -1px;
    right: -1px;
    border: 1px solid #000;
    background: white;
    opacity: .8;
}

/*
Theme authors:
Here are the basic themeable display options (colors, fonts, global widths).
See http://bgrins.github.io/spectrum/themes/ for instructions.
*/

.sp-container {
    border-radius: 0;
    background-color: #ECECEC;
    border: solid 1px #f0c49B;
    padding: 0;
}

    .sp-container, .sp-container button, .sp-container input, .sp-color, .sp-hue, .sp-clear {
        font: normal 12px "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
        box-sizing: border-box;
    }

.sp-top {
    margin-bottom: 3px;
}

.sp-color, .sp-hue, .sp-clear {
    border: solid 1px #666;
}

/* Input */
.sp-input-container {
    float: right;
    width: 100px;
    margin-bottom: 4px;
}

.sp-initial-disabled .sp-input-container {
    width: 100%;
}

.sp-input {
    font-size: 12px !important;
    border: 1px inset;
    padding: 4px 5px;
    margin: 0;
    width: 100%;
    background: transparent;
    border-radius: 3px;
    color: #222;
}

    .sp-input:focus {
        border: 1px solid orange;
    }

    .sp-input.sp-validation-error {
        border: 1px solid red;
        background: #fdd;
    }

.sp-picker-container, .sp-palette-container {
    float: left;
    position: relative;
    padding: 10px;
    padding-bottom: 300px;
    margin-bottom: -290px;
}

.sp-picker-container {
    width: 172px;
    border-left: solid 1px #fff;
}

/* Palettes */
.sp-palette-container {
    border-right: solid 1px #ccc;
}

.sp-palette-only .sp-palette-container {
    border: 0;
}

.sp-palette .sp-thumb-el {
    display: block;
    position: relative;
    float: left;
    width: 24px;
    height: 15px;
    margin: 3px;
    cursor: pointer;
    border: solid 2px transparent;
}

    .sp-palette .sp-thumb-el:hover, .sp-palette .sp-thumb-el.sp-thumb-active {
        border-color: orange;
    }

.sp-thumb-el {
    position: relative;
}

/* Initial */
.sp-initial {
    float: left;
    border: solid 1px #333;
}

    .sp-initial span {
        width: 30px;
        height: 25px;
        border: none;
        display: block;
        float: left;
        margin: 0;
    }

    .sp-initial .sp-clear-display {
        background-position: center;
    }

/* Buttons */
.sp-palette-button-container,
.sp-button-container {
    float: right;
}

/* Replacer (the little preview div that shows up instead of the <input>) */
.sp-replacer {
    margin: 0;
    overflow: hidden;
    cursor: pointer;
    padding: 4px;
    display: inline-block;
    *zoom: 1;
    *display: inline;
    border: solid 1px #91765d;
    background: #eee;
    color: #333;
    vertical-align: middle;
}

    .sp-replacer:hover, .sp-replacer.sp-active {
        border-color: #F0C49B;
        color: #111;
    }

    .sp-replacer.sp-disabled {
        cursor: default;
        border-color: silver;
        color: silver;
    }

.sp-dd {
    padding: 2px 0;
    height: 16px;
    line-height: 16px;
    float: left;
    font-size: 10px;
}

.sp-preview {
    position: relative;
    width: 25px;
    height: 20px;
    border: solid 1px #222;
    margin-right: 5px;
    float: left;
    z-index: 0;
}

.sp-palette {
    *width: 220px;
    max-width: 220px;
}

    .sp-palette .sp-thumb-el {
        width: 16px;
        height: 16px;
        margin: 2px 1px;
        border: solid 1px #d0d0d0;
    }

.sp-container {
    padding-bottom: 0;
}


    /* Buttons: http://hellohappy.org/css3-buttons/ */
    .sp-container button {
        background-color: #eeeeee;
        background-image: -webkit-linear-gradient(top, #eeeeee, #cccccc);
        background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
        background-image: -ms-linear-gradient(top, #eeeeee, #cccccc);
        background-image: -o-linear-gradient(top, #eeeeee, #cccccc);
        background-image: linear-gradient(to bottom, #eeeeee, #cccccc);
        border: 1px solid #ccc;
        border-bottom: 1px solid #bbb;
        border-radius: 3px;
        color: #333;
        font-size: 14px;
        line-height: 1;
        padding: 5px 4px;
        text-align: center;
        text-shadow: 0 1px 0 #eee;
        vertical-align: middle;
    }

        .sp-container button:hover {
            background-color: #dddddd;
            background-image: -webkit-linear-gradient(top, #dddddd, #bbbbbb);
            background-image: -moz-linear-gradient(top, #dddddd, #bbbbbb);
            background-image: -ms-linear-gradient(top, #dddddd, #bbbbbb);
            background-image: -o-linear-gradient(top, #dddddd, #bbbbbb);
            background-image: linear-gradient(to bottom, #dddddd, #bbbbbb);
            border: 1px solid #bbb;
            border-bottom: 1px solid #999;
            cursor: pointer;
            text-shadow: 0 1px 0 #ddd;
        }

        .sp-container button:active {
            border: 1px solid #aaa;
            border-bottom: 1px solid #888;
            -webkit-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
            -moz-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
            -ms-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
            -o-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
            box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
        }

.sp-cancel {
    font-size: 11px;
    color: #d93f3f !important;
    margin: 0;
    padding: 2px;
    margin-right: 5px;
    vertical-align: middle;
    text-decoration: none;
}

    .sp-cancel:hover {
        color: #d93f3f !important;
        text-decoration: underline;
    }


.sp-palette span:hover, .sp-palette span.sp-thumb-active {
    border-color: #000;
}

.sp-preview, .sp-alpha, .sp-thumb-el {
    position: relative;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);
}

.sp-preview-inner, .sp-alpha-inner, .sp-thumb-inner {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.sp-palette .sp-thumb-inner {
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.sp-palette .sp-thumb-light.sp-thumb-active .sp-thumb-inner {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIVJREFUeNpiYBhsgJFMffxAXABlN5JruT4Q3wfi/0DsT64h8UD8HmpIPCWG/KemIfOJCUB+Aoacx6EGBZyHBqI+WsDCwuQ9mhxeg2A210Ntfo8klk9sOMijaURm7yc1UP2RNCMbKE9ODK1HM6iegYLkfx8pligC9lCD7KmRof0ZhjQACDAAceovrtpVBRkAAAAASUVORK5CYII=);
}

.sp-palette .sp-thumb-dark.sp-thumb-active .sp-thumb-inner {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAMdJREFUOE+tkgsNwzAMRMugEAahEAahEAZhEAqlEAZhEAohEAYh81X2dIm8fKpEspLGvudPOsUYpxE2BIJCroJmEW9qJ+MKaBFhEMNabSy9oIcIPwrB+afvAUFoK4H0tMaQ3XtlrggDhOVVMuT4E5MMG0FBbCEYzjYT7OxLEvIHQLY2zWwQ3D+9luyOQTfKDiFD3iUIfPk8VqrKjgAiSfGFPecrg6HN6m/iBcwiDAo7WiBeawa+Kwh7tZoSCGLMqwlSAzVDhoK+6vH4G0P5wdkAAAAASUVORK5CYII=);
}

.sp-clear-display {
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(data:image/gif;base64,R0lGODlhFAAUAPcAAAAAAJmZmZ2dnZ6enqKioqOjo6SkpKWlpaampqenp6ioqKmpqaqqqqurq/Hx8fLy8vT09PX19ff39/j4+Pn5+fr6+vv7+wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAP8ALAAAAAAUABQAAAihAP9FoPCvoMGDBy08+EdhQAIJCCMybCDAAYUEARBAlFiQQoMABQhKUJBxY0SPICEYHBnggEmDKAuoPMjS5cGYMxHW3IiT478JJA8M/CjTZ0GgLRekNGpwAsYABHIypcAgQMsITDtWJYBR6NSqMico9cqR6tKfY7GeBCuVwlipDNmefAtTrkSzB1RaIAoXodsABiZAEFB06gIBWC1mLVgBa0AAOw==);
}
