/* @group GENERAL */
body {
    font: 13px/1.5em 'Lucida Grande', Helvetica, Arial, sans-serif;
    color: #333;
    background: #eeeeee url(../img/admin/sidebar_bg.png) repeat-y;
}

body.simple {
    background: #ffffff url(../img/admin/bg-noise.jpg) repeat;
}

a {
    color: #04AEF4;
    text-decoration: none;
}

a:hover {
    color: #000;
    text-decoration: underline;
}

.caps {
    text-transform: uppercase;
}

/* @end */
/* @group FORMS */
input[type=text], input[type=password], textarea {
    font: 13px/1.5em 'Lucida Grande', Helvetica, Arial, sans-serif;
    background: #FFF;
    border-bottom: 1px solid #DDD;
    border-right: 1px solid #DDD;
    border-left: 1px solid #AAA;
    border-top: 1px solid #AAA;
    -moz-border-radius: 3px 3px 3px 3px;
    -webkit-border-radius: 3px 3px 3px 3px;
    border-radius: 3px 3px 3px 3px;
    padding: 8px;
}

input[type=submit],
input[type=button],
button,
.button {
    cursor: pointer;
    display: inline-block;
    background-color: #e6e6e6;
    background-repeat: no-repeat;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(0.25, #ffffff), to(#e6e6e6));
    background-image: -webkit-linear-gradient(#ffffff, #ffffff 0.25, #e6e6e6);
    background-image: -moz-linear-gradient(#ffffff, #ffffff 0.25, #e6e6e6);
    background-image: -ms-linear-gradient(#ffffff, #ffffff 0.25, #e6e6e6);
    background-image: -o-linear-gradient(#ffffff, #ffffff 0.25, #e6e6e6);
    background-image: linear-gradient(#ffffff, #ffffff 0.25, #e6e6e6);
    padding: 4px 14px;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    color: #333;
    font-size: 13px;
    line-height: 18px;
    border: 1px solid #ccc;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
}

input[type=submit]:hover,
input[type=button]:hover,
button:hover,
.button:hover {
    background-position: 0 -15px;
    color: #333;
    text-decoration: none;
}

input[type=submit]:active,
input[type=button]:active,
button:active,
.button:active {
    -webkit-box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.button.button-special {
    background: #0166AE;
    background-color: #1277bf;
    background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #0166ae), color-stop(50%, #1277bf), color-stop(100%, #3499e1));
    background: -moz-linear-gradient(center bottom, #0166ae 0, #1277bf 50%, #3499e1 100%);
    background: -ms-linear-gradient(center bottom, #0166ae 0, #1277bf 50%, #3499e1 100%);
    background: -o-linear-gradient(center bottom, #0166ae 0, #1277bf 50%, #3499e1 100%);
    background: linear-gradient(center bottom, #0166ae 0, #1277bf 50%, #3499e1 100%);
    -pie-background: linear-gradient(#0166ae, #1277bf, #3499e1);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#0166ae, endColorstr=#3499e1);
    color: #FFF;
    text-shadow: 0 -1px 0 #00337b;
}

.input {
    margin: 10px 0;
}

#authMessage {
    padding: 10px;
    border: 1px solid #F4C8C5;
    background: #F8DCDA;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
}

#flashMessage, #sort_message {
    padding: 8px 15px;
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
}

.success_message {
    background-color: #62bc62;
    background-repeat: repeat-x;
    background-image: -khtml-gradient(linear, left top, left bottom, from(#97d397), to(#62bc62));
    background-image: -moz-linear-gradient(#97d397, #62bc62);
    background-image: -ms-linear-gradient(#97d397, #62bc62);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #97d397), color-stop(100%, #62bc62));
    background-image: -webkit-linear-gradient(#97d397, #62bc62);
    background-image: -o-linear-gradient(#97d397, #62bc62);
    background-image: linear-gradient(#97d397, #62bc62);
    border-bottom-color: #46a546;
}

.error_message {
    background-color: #d83a2e;
    background-repeat: repeat-x;
    background-image: -khtml-gradient(linear, left top, left bottom, from(#e4776f), to(#d83a2e));
    background-image: -moz-linear-gradient(#e4776f, #d83a2e);
    background-image: -ms-linear-gradient(#e4776f, #d83a2e);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #e4776f), color-stop(100%, #d83a2e));
    background-image: -webkit-linear-gradient(#e4776f, #d83a2e);
    background-image: -o-linear-gradient(#e4776f, #d83a2e);
    background-image: linear-gradient(#e4776f, #d83a2e);
    border-bottom-color: #b32b21;
}

.error-message {
    color: #C00;
    font-size: 11px;
}

/* @end */
/* @group SIDEBAR */
#sidebar {
    width: 240px;
    float: left;
    text-align: right;
}

#sidebar h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 40px 20px 0 0;
    text-shadow: 0 1px 0 #FFF;
}

#sidebar h2 {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #666;
    text-shadow: 0 1px 0 #FFF;
    margin: 5px 20px 0 0;
}

#menu {
    float: right;
    margin: 40px 0;
}

#menu li {
    float: left;
    display: inline;
    width: 100%;
    margin-bottom: 3px;
}

#menu li a {
    display: block;
    float: right;
    background: #0166AE;
    background-color: #1277bf;
    background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #0166ae), color-stop(50%, #1277bf), color-stop(100%, #3499e1));
    background: -moz-linear-gradient(center bottom, #0166ae 0, #1277bf 50%, #3499e1 100%);
    background: -ms-linear-gradient(center bottom, #0166ae 0, #1277bf 50%, #3499e1 100%);
    background: -o-linear-gradient(center bottom, #0166ae 0, #1277bf 50%, #3499e1 100%);
    background: linear-gradient(center bottom, #0166ae 0, #1277bf 50%, #3499e1 100%);
    -pie-background: linear-gradient(#0166ae, #1277bf, #3499e1);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#0166ae, endColorstr=#3499e1);
    border-top: 1px solid #67ccff;
    border-bottom: 1px solid #00448c;
    width: 170px;
    padding: 7px 20px;
    text-align: left;
    color: #FFF;
    text-shadow: 0 -1px 0 #00337b;
    -moz-border-radius: 5px 0 0 5px;
    -webkit-border-radius: 5px 0 0 5px;
    border-radius: 5px 0 0 5px;
}

#menu li a.active {
    color: #333;
    font-weight: bold;
    background: #FFF;
    opacity: 1;
    border-top: 1px solid #CCC;
    border-bottom: 1px solid #00448c;
    text-shadow: none;
}

#menu li a.active:hover {
    background: #FFF;
}

#menu li a:hover {
    opacity: 1;
    text-decoration: none;
    background: #2388d0;
}

#menu li ul {
    margin: 3px 0 -3px;
    float: left;
}

#menu li li a {
    padding: 3px 15px;
    background: #666;
    background-color: #666666;
    background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #555555), color-stop(50%, #666666), color-stop(100%, #777777));
    background: -moz-linear-gradient(center bottom, #555555 0, #666666 50%, #777777 100%);
    background: -ms-linear-gradient(center bottom, #555555 0, #666666 50%, #777777 100%);
    background: -o-linear-gradient(center bottom, #555555 0, #666666 50%, #777777 100%);
    background: linear-gradient(center bottom, #555555 0, #666666 50%, #777777 100%);
    -pie-background: linear-gradient(#555555, #666666, #777777);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#555555, endColorstr=#777777);
    border-top: 1px solid #999;
    border-bottom: 1px solid #333;
    text-shadow: 0 -1px 1px #000000;
    width: 170px;
    margin-right: 0;
    -moz-border-radius: 5px 0 0 5px;
    -webkit-border-radius: 5px 0 0 5px;
    border-radius: 5px 0 0 5px;
}

#category_container {
    width: 100%;
    max-height: 180px;
    overflow: auto;
}

/* @end */
/* @group MAIN */
#container {
    margin-left: 240px;
}

#container h2.title {
    font-size: 24px;
    color: #999;
    font-weight: bold;
    letter-spacing: -1px;
    margin: 40px 0 20px 0;
    text-transform: uppercase;
}

#main {
    width: 100%;
    float: left;
}

.content {
    width: 96%;
    min-width: 700px;
    padding: 2%;
    background: #FFF;
    min-height: 640px;
    border: 1px solid #EDEDED;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
}

.content h3 {
    font-size: 21px;
    font-weight: bold;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.left_side {
    width: 66%;
    float: left;
}

.left_side input[type=text], .left_side textarea {
    width: 90%;
}

.right_side {
    width: 34%;
    float: left;
    background: #EEE;
}

.right_side input[type=text], .right_side textarea, .right_side select {
    width: 94%;
}

.right_side h3 {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: -1px;
}

.insert_media {
    cursor: pointer;
    color: #04AEF4;
}

.insert_media:hover {
    color: #000;
    text-decoration: underline;
}

.uploaded_image {
    float: left;
    padding: 5px;
    border: 1px solid #DDD;
    position: relative;
    margin: 5px;
}

.uploaded_image img {
    display: block;
}

.uploaded_image .delete {
    position: absolute;
    right: 10px;
    top: 10px;
    background: #ffffff url(../img/admin/cross.png) no-repeat;
    width: 16px;
    height: 16px;
    cursor: pointer;
    overflow: hidden;
    text-indent: -999px;
}

/* @end */
/* @group TABLE */
table {
    width: 100%;
    padding: 1px;
}

#filters {
    margin-bottom: 20px;
}

#filters input[type=text] {
    padding: 4px 5px;
}

tr:nth-child(odd) {
    background: #F5F5F5;
}

td {
    padding: 10px;
    vertical-align: middle;
}

.center {
    text-align: center;
}

td.narrow {
    width: 16px;
}

thead tr {
    border-bottom: 1px solid #DDD;
}

thead td {
    font-weight: bold;
    font-size: 14px;
}

thead td a {
    display: inline-block;
}

thead td a.asc {
    background: url(../img/admin/sort_arrow.png) no-repeat 100% 8px;
    padding-right: 10px;
}

thead td a.desc {
    background: url(../img/admin/sort_arrow.png) no-repeat 100% -8px;
    padding-right: 10px;
}

thead tr td {
    background: #FFF;
}

tr.placeholder td {
    border: 1px dotted #0166AE;
    background: rgba(50, 100, 255, 0.1) no-repeat 10px 12px;
}

tr.ui-sortable-helper td {
    background: #FFF;
    width: 100%;
}

/* @end */
/* @group PAGINATION */
.pagination {
    float: left;
    padding: 5px 1%;
    width: 98%;
}

.pagination span {
    display: inline-block;
    padding: 3px 5px;
    line-height: 1em;
}

.pagination span a {
    color: #1676ba;
}

.pagination span.current {
    background: #1676ba;
    color: #FFF;
}

/* @end **/
/* @group FOOTER */
#footer {
    margin-top: 40px;
    width: 100%;
    background: #FFF;
    border-top: 1px solid #DDD;
    padding-bottom: 40px;
    font-size: 11px;
    color: #999;
}

#footer .caps {
    letter-spacing: 1px;
}

/* @end */
/* @group SIMPLE */
.simple .wrapper {
    width: 400px;
    margin: 80px auto;
}

.simple #container {
    width: 320px;
    padding: 40px;
    background: #FFF;
    float: left;
    margin: 0;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.simple #container h2 {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

#m {
    background: #EEE;
}

#m #container {
    margin-left: 0px;
}

#m #container h2 {
    display: none;
}

/* @end */
/* @group MODAL */
#modal {
    position: fixed;
    z-index: 10005;
    background: url(../img/dot-75.png) repeat;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    display: none;
}

.modal_content {
    margin: 40px auto;
    width: 800px;
    position: relative;
    color: #333;
}

.modal_content .close {
    background: #666;
    color: #FFF;
    font-weight: bold;
    display: block;
    position: absolute;
    right: 10px;
    top: 10px;
    line-height: 1.25em;
    cursor: pointer;
    width: 24px;
    height: 18px;
    text-align: center;
    font-size: 13px;
    padding: 3px 0;
    -moz-border-radius: 30px 30px 30px 30px;
    -webkit-border-radius: 30px 30px 30px 30px;
    border-radius: 30px 30px 30px 30px;
    text-transform: uppercase;
}

.modal_content .close:hover {
    background: #333;
}

.modal_content .close:active {
    background: #000;
}

.modal_content #content {
    background: #FFF;
    float: left;
    width: 760px;
    padding: 20px;
    position: relative;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 0 0 10px #000000;
    -moz-box-shadow: 0 0 10px #000000;
    -webkit-box-shadow: 0 0 10px #000000;
}

.modal_content #media_files {
    max-height: 600px;
    overflow: auto;
}

.skip {
    position: absolute;
    left: -999999px;
}

#crop_controls {
    position: absolute;
    right: 10px;
    top: 10px;
}

.atm_link:hover {
    cursor: pointer;
}
/* @end */

/* Polls */
.polls-desc textarea {
    width: 100%;
}

.option-pos {
    width: 22px;
}

.remove_option {
    cursor: pointer;
}

.remove_option:hover {
    color: #0E70B6;
    text-decoration: underline;
}

td.wd-30 {
    width: 30px;
}
td.wd-50 {
    width: 50px;
}


