* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    color: #555;
    font: normal 10pt Arial, Helvetica, sans-serif;
    background: #DDD;
}

#page {
    margin-top: 20px;
    padding: 10px;
    background: #FFF;
    border-radius: 5px;
    border: 1px solid #CCCCCC;
}

#header {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #CCC;
    margin-bottom: 20px;
}

#content {
    padding: 5px 20px;
}

#sidebar {
    padding: 20px 20px 20px 0;
}

#logo {
    font-size: 24px;
    color: #0C0C0C;
    text-decoration: none;
    display: block;
    position: relative;
    padding: 10px 0 0 60px;
    min-height: 110px;
    width: 500px;
    float: left;
}

#logo > img {
    position: absolute;
    left: 5px;
    top: 0;
}

#mainmenu {
    background: #FFF;
    float: left;
    width: 200px;
}

#mainmenu ul {
    margin: 0px;
    padding: 0;
    background: #68A1BB;
    border-radius: 3px;
    background-color: #FFF;
    background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #FFF), color-stop(100%, #F0F0F0));
    background-image: -webkit-linear-gradient(#FFF, #F0F0F0);
    background-image: -moz-linear-gradient(#FFFFFF, #F0F0F0);
    background-image: -o-linear-gradient(#FFFFFF, #F0F0F0);
    background-image: linear-gradient(#FFF, #F0F0F0);
    border: 0;
    border-bottom: 1px solid #CCC;
    -moz-border-radius-bottomleft: 4px;
    -webkit-border-bottom-left-radius: 4px;
    border-bottom-left-radius: 4px;
    -moz-border-radius-bottomright: 4px;
    -webkit-border-bottom-right-radius: 4px;
    border-bottom-right-radius: 4px;
    -webkit-box-shadow: 0 1px 1px #CCC;
    -moz-box-shadow: 0 1px 1px #CCC;
    box-shadow: 0 1px 1px #CCC;
    padding: 0;
    margin: 0;
    width: 100%;
    border: 1px solid #CCC;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.17);

}

#mainmenu ul li {
    display: block;
    border-bottom: 1px solid rgba(158, 158, 158, 0.3);
}

#mainmenu ul li:last-child {
    border-bottom: 0;
}

#mainmenu ul li a {
    color: #6C6C6C;
    background-color: transparent;
    font-size: 14px;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    background: transparent;
    color: #476677;
    background-color: #FFF;
    background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #FFF), color-stop(100%, #F0F0F0));
    background-image: -webkit-linear-gradient(#FFF, #F0F0F0);
    background-image: -moz-linear-gradient(#FFFFFF, #F0F0F0);
    background-image: -o-linear-gradient(#FFFFFF, #F0F0F0);
    background-image: linear-gradient(#FFF, #F0F0F0);
}

#mainmenu ul li a:hover, #mainmenu ul li.active a {
    background-color: #FFF;
    background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #E2EFFD), color-stop(100%, #DCE3EB));
    background-image: -webkit-linear-gradient(#E2EFFD, #DCE3EB);
    background-image: -moz-linear-gradient(#E2EFFD, #DCE3EB);
    background-image: -o-linear-gradient(#E2EFFD, #DCE3EB);
    background-image: linear-gradient(#E2EFFD, #DCE3EB);
    text-decoration: none;
}

#mainmenu ul li:first-child a {
    border-radius: 3px 3px 0 0;
}

#mainmenu ul li:last-child a {
    border-radius: 0 0 3px 3px;
}

div.flash-error, div.flash-notice, div.flash-success {
    padding: .8em;
    margin-bottom: 1em;
    border: 2px solid #DDD;
}

div.flash-error {
    background: #FBE3E4;
    color: #8A1F11;
    border-color: #FBC2C4;
}

div.flash-notice {
    background: #FFF6BF;
    color: #514721;
    border-color: #FFD324;
}

div.flash-success {
    background: #E6EFC2;
    color: #264409;
    border-color: #C6D880;
}

div.flash-error a {
    color: #8A1F11;
}

div.flash-notice a {
    color: #514721;
}

div.flash-success a {
    color: #264409;
}

div.form .rememberMe label {
    display: inline;
}

div.view {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #C9E0ED;
}

/*div.breadcrumbs {
	font-size: 0.9em;
	*//*padding: 5px 20px;*//*
}

div.breadcrumbs span {
	font-weight: bold;
}*/

div.search-form {
    padding: 10px;
    margin: 10px 0;
    background: #EEE;
}

.portlet {

}

.portlet-decoration {
    padding: 3px 8px;
    background: #B7D6E7;
    border-left: 5px solid #6FACCF;
}

.portlet-title {
    font-size: 12px;
    font-weight: bold;
    padding: 0;
    margin: 0;
    color: #298DCD;
}

.portlet-content {
    font-size: 0.9em;
    margin: 0 0 15px 0;
    padding: 5px 8px;
    background: #EFFDFF;
}

.portlet-content ul {
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.portlet-content li {
    padding: 2px 0 4px 0px;
}

.operations {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.operations li {
    padding-bottom: 2px;
}

.operations li a {
    font: bold 12px Arial;
    color: #0066A4;
    display: block;
    padding: 2px 0 2px 8px;
    line-height: 15px;
    text-decoration: none;
}

.operations li a:visited {
    color: #0066A4;
}

.operations li a:hover {
    background: #80CFFF;
}

.grid-view .button-column {
    text-align: center;
    width: 100px !important;
}

input[type='text'],
input[type='password'],
input[type='email'],
select,
textarea {
    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, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-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;
}

input[type='text']:focus,
input[type='password']:focus,
input[type='email']:focus,
select:focus,
textarea:focus {
    border-color: #66AFE9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

textarea {
    height: 120px;
}

.btn {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #FFF;
    background-color: #5CB85C;
    border-color: #4CAE4C;
    text-decoration: none;
}

.btn:hover {
    text-decoration: none;
}

.btn:hover, .btn:focus {
    color: #FFF;
    background-color: #47A447;
    border-color: #398439;
}

.btn:active, .btn.active {
    outline: 0;
    background-image: none;
    -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}

.btn-blue {
    color: #FFF;
    background-color: #428BCA;
    border-color: #357EBD;
}

.btn-blue:hover, .btn-blue:focus, .btn-blue:active, .btn-blue.active {
    color: #FFF;
    background-color: #3276B1;
    border-color: #285E8E;
}

.btn-primary:active, .btn-primary.active {
    background-image: none;
}

.btn-green {
    color: #FFF;
    background-color: #5CB85C;
    border-color: #4CAE4C;
}

.btn-green:hover, .btn-green:focus, .btn-green:active, .btn-green.active {
    color: #FFF;
    background-color: #47A447;
    border-color: #398439;
}

.btn-green:active, .btn-green.active {
    background-image: none;
}

.btn-orange {
    color: #FFF;
    background-color: #F0AD4E;
    border-color: #EEA236;
}

.btn-orange:hover, .btn-orange:focus, .btn-orange:active, .btn-orange.active {
    color: #FFF;
    background-color: #ED9C28;
    border-color: #D58512;
}

.btn-orange:active, .btn-orange.active {
    background-image: none;
}

.btn-red {
    color: #FFF;
    background-color: #D9534F;
    border-color: #D43F3A;
}

.btn-red:hover, .btn-red:focus, .btn-red:active, .btn-red.active {
    color: #FFF;
    background-color: #D2322D;
    border-color: #AC2925;
}

.btn-red:active, .btn-red.active {
    background-image: none;
}

.btn-default {
    color: #333;
    background-color: #FFF;
    border-color: #CCC;
}

.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active {
    color: #333;
    background-color: #EBEBEB;
    border-color: #ADADAD;
}

.btn-default:active, .btn-default.active {
    background-image: none;
}

.btn-default.disabled {
    background-color: #FFF;
    border-color: #CCC;
}

.btn.disabled {
    cursor: not-allowed;
    pointer-events: none;
    opacity: .65;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    box-shadow: none;
}

.btn-sm {
    padding: 3px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
    display: inline-block;
}

.icons:before {
    font-family: 'FontAwesome';
    color: #333;
    display: inline-block;
    padding-right: 7px;
    font-size: 14px;
}

.icons.white:before {
    color: #FFF;
}

.remove-all:before {
    content: "\f014";
}

.listen:before {
    content: "\f03a";
}

.add-new:before {
    content: "\f067";
}

.summary {
    display: none;
}

.vote-qestion-item-block input[type=text] {
    width: 600px;
    height: auto;
}

.vote-qestion-item-block input[type=checkbox] {
    width: 30px;
    height: auto;
}

.form-vote-block {
    width: 650px !important;
    padding-bottom: 40px;
    clear: both;
}

.vote-qestion-item-block div:first-child {
    float: left;
}

.vote-qestion-item-block div:last-child {
    float: right;
}

.vote-qestion-item-block {
    clear: both;
}

.list-group {
    margin-bottom: 20px;
}

.list-group-wrapper {
    width: 20%;
    float: left;
    margin-right: 1%;
}

.list-group-item:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.list-group-item:last-child {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    margin-bottom: 0;
}

a.list-group-item.active, a.list-group-item.active:hover, a.list-group-item.active:focus {
    background-color: #428BCA;
    border-color: #428BCA;
    color: #FFFFFF;
    z-index: 2;
}

a.list-group-item.active .list-group-item-heading, a.list-group-item.active:hover .list-group-item-heading, a.list-group-item.active:focus .list-group-item-heading {
    color: inherit;
}

a.list-group-item.active .list-group-item-text, a.list-group-item.active:hover .list-group-item-text, a.list-group-item.active:focus .list-group-item-text {
    color: #E1EDF7;
}

.list-group-item {
    background-color: #FFFFFF;
    border: 1px solid #DDDDDD;
    display: block;
    margin-bottom: -1px;
    padding: 10px 15px;
    position: relative;
}

.list-group a.fr {
    margin-left: 4px;
}

table {
    margin-bottom: 1.4em;
    width: 100%;
}

.container {
    width: 1000px;
    margin: 0 auto;
}


/* Для всех форм */

div.form {
}

div.form input,
div.form textarea,
div.form select {
    margin: 0.2em 0 0.5em 0;
}

div.form fieldset {
    border: 1px solid #DDD;
    padding: 10px;
    margin: 0 0 10px 0;
    -moz-border-radius: 7px;
}

div.form .row {
    margin: 5px 0;
}

div.form .hint {
    margin: 0;
    padding: 0;
    color: #999;
}

div.form .note {
    font-style: italic;
}

div.form span.required {
    color: red;
}

div.form div.error label:first-child,
div.form label.error,
div.form span.error {
    color: #C00;
}

div.form div.error input,
div.form div.error textarea,
div.form div.error select,
div.form input.error,
div.form textarea.error,
div.form select.error {
    background: #FEE;
    border-color: #C00;
}

div.form div.success input,
div.form div.success textarea,
div.form div.success select,
div.form input.success,
div.form textarea.success,
div.form select.success {
    background: #E6EFC2;
    border-color: #C6D880;
}

div.form div.success label {
    color: inherit;
}

div.form .errorSummary {
    border: 2px solid #C00;
    padding: 7px 7px 12px 7px;
    margin: 0 0 20px 0;
    background: #FEE;
    font-size: 0.9em;
}

div.form .errorMessage {
    color: red;
    font-size: 0.9em;
}

div.form .errorSummary p {
    margin: 0;
    padding: 5px;
}

div.form .errorSummary ul {
    margin: 0;
    padding: 0 0 0 20px;
}

div.wide.form label {
    float: left;
    margin-right: 10px;
    position: relative;
    text-align: right;
    width: 100px;
}

div.wide.form .row {
    clear: left;
}

div.wide.form .buttons, div.wide.form .hint, div.wide.form .errorMessage {
    clear: left;
    padding-left: 110px;
}

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

ul li {
    list-style: none;
}

html, body, #wrap {
    height: 100%;
}

body > #wrap {
    height: auto;
    min-height: 100%;
}

#main {
    padding-bottom: 64px;
}

#footer {
    position: relative;
    margin-top: -64px;
    height: 64px;
    clear: both;
    overflow: hidden;
    background: #F5F5F5;
    text-align: center;
    padding: 7px;
    border-top: 1px solid #E9E9E9;
    line-height: 48px;
}
#footer .logo {
    float: left;
}
.copyright {
    float: right;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {
    display: inline-block;
}

* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}

.fr {
    float: right;
}

.fl {
    float: left;
}

a img {
    border: 0
}

a {
    color: #428BCA;
    text-decoration: none;
}

a:hover, a:focus {
    color: #2A6496;
    text-decoration: underline;
}

body {
    background: #FFF;
}

/* Navbar */

.navbar {
    background: #F5F5F5;;
}

.navbar .nav {
    background: #222;
}

.navbar .nav li {
    float: left;
    position: relative;
}
.navbar .nav li.fr {
    float: right;
}

.navbar .nav > .container > ul > li:hover > a,
.navbar .nav > .container > ul > li:hover > span,
.navbar .nav > .container > ul > li:hover {
    color: #FFF;
}

.navbar .nav > .container > ul > li:hover > span {
    cursor: default;
}

.navbar .nav li > a,
.navbar .nav li > span {
    color: #999;
    padding: 15px 15px;
    text-decoration: none;
    font-size: 14px;
    display: block;
    line-height: 20px;
}

.navbar .nav li.dropdown-toggle:after {
    content: ' ';
    display: inline-block;
    width: 0;
    height: 0;
    vertical-align: middle;
    border-top: 4px solid;
    border-right: 4px solid rgba(0, 0, 0, 0);
    border-left: 4px solid rgba(0, 0, 0, 0);
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -1px;

}

.navbar .nav li ul {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    background-color: #FFF;
    border: 1px solid #CCC;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    margin-top: 0;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
}

.navbar .nav li:hover ul {
    display: block;
}

.navbar .nav li ul li {
    float: none;
}

.navbar .nav li ul li a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}

.navbar .nav li ul li a:hover {
    text-decoration: none;
    color: #262626;
    background-color: #F5F5F5;
}

.navbar .nav .logo a {
    padding: 15px 15px;
    font-size: 18px;
    line-height: 19px;
}

.navbar .nav li.dropdown-header span {
    display: block;
    padding: 3px 20px;
    font-size: 12px;
    line-height: 1.42857143;
    color: #999;
}

.navbar .nav li.divider {
    height: 1px;
    margin: 9px 0;
    overflow: hidden;
    background: #E5E5E5;
}

.navbar .nav li.divider span {
    padding: 0;
}

.breadcrumbs {
    padding: 8px 15px;
    list-style: none;
    background-color: #F5F5F5;
    border-radius: 4px;
    color: #999;
    font-size: 14px;
}

.breadcrumbs a,
.breadcrumbs span {
    display: inline-block;
    margin: 0 5px;
}

.breadcrumbs a:first-child {
    margin: 0 5px 0 0;
}


/* Content */

.content {
    /*padding: 30px 0;*/
    padding: 0 15px;
}

#pagination {
    background: #FFF;
    display: inline-block;
}

#pagination:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

#pagination li {
    float: left;
    border: 1px solid #CCC;
    border-left: 0;
}

#pagination li a {
    min-width: 30px;
    display: inline-block;
    color: #428BCA;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    text-decoration: none;
    text-align: center;
}

#pagination .first {
    border-radius: 3px 0 0 3px;
    border-left: 1px solid #CCC;
}

#pagination .previous {
}

#pagination .selected a {
    background: #CCC;
    border-color: #999;
    color: #FFF;
}

#pagination .next {
}

#pagination .last {
    border-radius: 0 3px 3px 0;
}

#pagination .first.hidden a,
#pagination .previous.hidden a,
#pagination .selected.hidden a,
#pagination .next.hidden a,
#pagination .last.hidden a {
    color: #999;
}




/* Typography */

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
    color: inherit;
}
h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small,
.h1 small,
.h2 small,
.h3 small,
.h4 small,
.h5 small,
.h6 small,
h1 .small,
h2 .small,
h3 .small,
h4 .small,
h5 .small,
h6 .small,
.h1 .small,
.h2 .small,
.h3 .small,
.h4 .small,
.h5 .small,
.h6 .small {
    font-weight: normal;
    line-height: 1;
    color: #999999;
}
h1,
.h1,
h2,
.h2,
h3,
.h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}
h1 small,
.h1 small,
h2 small,
.h2 small,
h3 small,
.h3 small,
h1 .small,
.h1 .small,
h2 .small,
.h2 .small,
h3 .small,
.h3 .small {
    font-size: 65%;
}
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    margin-top: 10px;
    margin-bottom: 10px;
}
h4 small,
.h4 small,
h5 small,
.h5 small,
h6 small,
.h6 small,
h4 .small,
.h4 .small,
h5 .small,
.h5 .small,
h6 .small,
.h6 .small {
    font-size: 75%;
}
h1,
.h1 {
    font-size: 36px;
}
h2,
.h2 {
    font-size: 30px;
}
h3,
.h3 {
    font-size: 24px;
}
h4,
.h4 {
    font-size: 18px;
}
h5,
.h5 {
    font-size: 14px;
}
h6,
.h6 {
    font-size: 12px;
}
p {
    margin: 0 0 10px;
}


div.form label {
    font-weight: 400;
    padding-bottom: 3px;
    font-size: 16px;
    display: block;
    margin-top: 10px;
}

.page-header {
    border-bottom: 1px solid #EEEEEE;
    margin-top: 0px;
    margin-bottom: 20px;
    padding-bottom: 9px;
}

.qq-uploader table {
    border: 1px solid #ccc;
    margin-top: 20px;
    border-radius: 5px;
    border-spacing: 0px;
    border-collapse: collapse;
}
.qq-uploader table th {
    font-weight: 400;
    padding: 10px;
    background: #f4f4f4;
}
.qq-uploader table td {
    font-weight: 400;
    padding: 5px 0;
    text-align: center;
    border-top: 1px solid #ccc;
    vertical-align: middle;
}

.qq-uploader table td input {
    margin: 0;
}

