/**
 * Copyright (c) 2012 Net-ng.
 * All rights reserved.
 *
 * This software is licensed under the BSD License, as described in
 * the file LICENSE.txt, which you should have received as part of
 * this distribution.
 **/
html {
    height: 100%;
    max-height: 100%;
    background: #f8f8f8 url("../img/background.jpg") repeat-x;
}

body {
    height: 100%;
    max-height: 100%;
    background: transparent;
}

form {
    margin: 0 0 3px 0;
}

textarea,
input {
    width: 96%;
}

a {
    color: #009fed
}

a:hover {
    color: #009fed;
}

a:active {
    background-color: transparent;
}

.hidden {
    display: none;
    visibility: hidden;
}

#mask {
    background: none repeat scroll 0 0 #000;
    height: 100%;
    opacity: 0.55;
    position: fixed;
    width: 100%;
    z-index: 25;
    display: none;
}

#mainNavbar {
    margin-top: -70px;
}

.navbar {
    position: fixed;
    margin-bottom: 0;
    height: auto;
    z-index: 25;
}

.navbar .tab {
    height: 40px;
    position: absolute;
    left: 50px;
    background: white;
    border-radius: 0 0 10px 10px;
    -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.47);
    -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.47);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.47);
    cursor: pointer;
    padding: 0 10px 0 10px;
    z-index: 25;
    white-space: nowrap;
    overflow: hidden;
}

.collapse:hover {
    height: 45px;
}

.tab a {
    color: #434343;
    font: normal 25px OpenSansSemiBold;
}

.tab a:hover {
    text-decoration: none;
}

.navbar .navActions {
    position: relative;
    padding: 18px 20px 12px 20px;
    background: white;
    color: #434343;
    font: normal 16px OpenSansLight;
    border-radius: 0 0 10px 0;
    -webkit-box-shadow: 0 -4px 4px rgba(0, 0, 0, 0.47);
    -moz-box-shadow: 0 -4px 4px rgba(0, 0, 0, 0.47);
    box-shadow: 0 -4px 4px rgba(0, 0, 0, 0.47);
    z-index: 30;
    height: 40px;
}

.navbar #mainActions {
    min-width: 250px;
}

.navbar #boardActions {
    min-width: 350px;
}

.navbar .navActions a {
    color: #434343;
    font: 15px OpenSansLight;
}

.navbar .navActions a:hover i {
    text-decoration: underline;
}

.navbar .navActions #logout {
    display: inline-block;
    padding: 5px 0 5px 46px;
    background: url(../img/sprites.png) no-repeat -604px -406px
}

.navbar .navActions #logout:hover {
    text-decoration: underline;
    background-position: -604px -437px
}

.navbar .navActions #linkHome {
    display: inline-block;
    padding: 10px 0 10px 46px;
    background: url(../img/sprites.png) no-repeat -611px -466px
}

.navbar .navActions #linkHome:hover {
    text-decoration: underline;
    background-position: -611px -500px
}

.avatar.big {
    background: none repeat scroll 0 0 transparent;
    height: 100px;
    width: 100px;
    margin-bottom: 10px;
}

.avatar {
    display: inline-block;
    height: 32px;
    width: 36px;
    vertical-align: middle;
}

.avatar img {
    width: 30px;
    height: 30px;
    display: block
}

.miniavatar img {
    width: 22px;
    height: 22px;
}

.navbar .navActions #login {
    display: inline-block;
    padding: 10px 0 10px 46px;
    background: url(../img/sprites.png) no-repeat -204px -749px;
}

.navbar .navActions #login:hover {
    background-position: -204px -792px;
}

#mainNavbar .tab {
    width: 175px;
}

#boardNavbar .tab {
    left: 255px;
}

#boardNavbar .overlay-body textarea {
    margin-top: 8px;
    width: 260px
}

.navbar #boardActions a i {
    display: inline-block;
    color: #434343;
    font: normal 15px OpenSansLight;
    width: auto;
    padding: 5px 0 11px 46px;
    background: url(../img/sprites.png) no-repeat -199px 0
}

.navbar #boardActions a i.icon-download {
    background-position: -604px -217px
}

.navbar #boardActions a:hover i.icon-download {
    background-position: -604px -244px
}

.navbar #boardActions a i.icon-cog {
    background-position: -604px -217px
}

.navbar #boardActions a:hover i.icon-cog {
    background-position: -604px -244px
}

.navbar #boardActions a i.icon-history {
    background-position: -890px 0
}

.navbar #boardActions a:hover i.icon-history {
    background-position: -890px -33px
}

.navbar #boardActions a i.icon-list-alt {
    background-position: -604px -168px
}

.navbar #boardActions a:hover i.icon-list-alt {
    background-position: -604px -191px
}

.navbar #boardActions a i.icon-pencil {
    background-position: -604px -110px
}

.navbar #boardActions a:hover i.icon-pencil {
    background-position: -604px -140px
}

.navbar #boardActions a i.icon-trash {
    background-position: -604px -52px
}

.navbar #boardActions a:hover i.icon-trash {
    background-position: -604px -81px
}

.navbar #boardActions a i.icon-leave {
    background: url(../img/logout.png) no-repeat 14px 5px;
}

.navbar #boardActions a:hover i.icon-leave {
    background: url(../img/logout.png) no-repeat 14px -26px;
}

#membersNavbar .tab {
    left: 280px;
}

#viewport {
    height: 100%;
}

#viewport-wrapper {
    z-index: 1500;
    clear: both;
    height: 100%;
}

.board {
    height: 100%;
    width: 100%;
    overflow-y: hidden; /* board viewport already has one */
}

.bbody {
    position: absolute;
    top: 65px;
    bottom: 0;
    width: 100%;
}

.bbody > div:first-child {
    height: 100%;
}

.board .header {
    /*text-align: right;*/
    position: fixed;
    width: 100%;
}


.board .header .nagare-generated {
    display: inline-block;
}

.board .boardTitle {
    display: inline-block;
    color: #5c5c5c;
    font: normal 33px OpenSansLight;
    padding: 10px 10px;
    margin-left: 400px;
}

#switch_zone {
    /*display: inline-block;*/
    vertical-align: text-bottom;
    position: absolute;
    right: 0;
    top: 0;
    margin-top: 10px;
}

#switch_zone .btn {
    padding: 4px 8px;
    min-width: 0;
    margin: 0 5px;
    margin-bottom: 10px;
}

#switch_zone .btn.unselected:hover {
    border: 1px solid #CCCCCC;
}

#switch_zone .btn.unselected {
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
}

#switch_zone .btn [class^="icon-"] {
    left: 0;
}

#search {
    width: 10em;
    /*vertical-align: sub;*/
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#search:focus, #search.highlight  {
    border-color: rgba(230, 163, 35, 0.8);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(203, 163, 35, 0.6);
    outline: 0;
    outline: thin dotted \9;
}

#search.nomatches {
    background-color: #eca2a6;
}

#show_results {
    min-width: 200px;
    font-size: 18px;
    color: #e6a323;
    display: inline-block;
    padding: 5px;
    text-align: right;
}


span.nomatches {
    color: red;
}

.boardItemLabel {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 70%;
}

.board .boardTitle .title-form {
    float: right;
    margin-top: -3px;
    width: auto;
}

.board .boardTitle .title-form input {
    float: none;
    margin-right: 10px;
    width: auto;
}

.board .boardTitle .title-form button {
    float: none;
    margin-right: 5px;
    margin-top: -9px;
}

.board .boardTitle a,
.board .boardTitle a:hover {
    color: #5c5c5c;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    overflow: hidden;
}

.board-header i {
    float: left;
    margin: 2px 0 0 5px;
}

.board-header .title-form {
    margin: 0;
}

.board-header .title-form button {
    margin-bottom: 8px;
    padding: 2px;
}

.board-header .title-form input {
    padding: 2px;
    margin: 0 5px 8px 0;
    width: 200px;
}

.board-header a,
.board-header a:hover {
    color: #5c5c5c;
    text-decoration: none;
    display: inline-block;
}

.action-close {
    position: absolute;
    right: 3px;
    top: 3px;
}

/**
 * DnD
 */
#dnd-frame {
    z-index: 1000;
    position: absolute;
    white-space: normal;
}

#dnd-frame.list {
    overflow: hidden
}

.card-dragging {
    -moz-transform: rotate(2deg);
    -ms-transform: rotate(2deg);
    -webkit-transform: rotate(2deg);
    -o-transform: rotate(2deg);
    transform: rotate(2deg);
}

.card-dragging .card {
    border: 1px solid #E0E0E0
}

#application {
    z-index: 2000;
    height: 100%;    /*overflow: hidden;*/
}


#lists {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    z-index: 1;
    margin-left: 0;
    height: 100%;
    vertical-align: top;
}

#lists > .span-auto {
    max-width: 350px;
    min-width: 250px;
}

#calendar {
    margin: 0 10px;
}

#calendar .fc-view-container {
    background: #F8F8F8;
}

/**
 * Popin
 */
.yui-skin-sam .mask {
    opacity: 0.55;
}

.yui-skin-sam .yui-panel-container {
    background: transparent;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 5px;
    padding: 0;
}

.yui-skin-sam .yui-panel {
    margin: 70px auto 30px auto;
    max-width: 590px;
    padding: 5px 30px 15px 50px;
    border-radius: 10px;
    background: white;
}

.yui-skin-sam .yui-panel .panel-header {
    width: 95%
}

.yui-skin-sam .yui-panel .panel-section {
    line-height: 26px;
    font-size: 160%;
    color: #7D7D7D;
    border-top: 1px solid #7D7D7D;
    margin: 10px 0 5px 0;
}

.yui-skin-sam .yui-panel .panel-section i {
    margin: 3px 0 0 -32px;
    float: left;
}

/**
 * Overlay
 */
.overlay {
    background: #aaa;
    border: 1px solid #c7c7c7;
    -webkit-box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.13);
    -moz-box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.13);
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.13);
}

.overlay:before {
    border-bottom: 7px solid rgba(0, 0, 0, 0.1);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    content: "";
    display: inline-block;
    left: 9px;
    position: absolute;
    top: -7px;
}

.overlay:after {
    border-bottom: 6px solid #FFFFFF;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    content: "";
    display: inline-block;
    left: 10px;
    position: absolute;
    top: -6px;
}

.overlay,
.yui-overlay {
    font-family: OpenSansLight;
    visibility: hidden;
    position: absolute;
    left: -1000px;
    top: 0;
    padding: 5px 10px;
    min-width: 200px;
    border-radius: 5px;
    background: white;
}

.overlay-header {
    margin-right: 16px
}

.overlay-title {
    display: none
}

.overlay-body {
    color: black;
    padding: 5px 0
}

.overlay-body ul {
    padding-top: 10px;
    list-style-type: none
}

.overlay-body li {
    line-height: 27px
}

.overlay-body li a {
    color: #7f7f7f !important;    /*padding-left: 11px;*/
    cursor: pointer;
}

.overlay-body li a:hover {
    background: transparent url(../img/sprites.png) no-repeat -1115px 8px !important;
    padding-left: 11px;
}

.overlay .favorites {
    padding-top: 5px
}

.overlay .favorites h3 {
    float: left;
    color: #737373;
    font: normal 15px OpenSansLight
}

.overlay .favorites h3:after {
    content: " :"
}

.overlay .favorites ul {
    float: right;
    margin: 0;
    padding: 0
}

.overlay .members.search .yui-ac-input {
    width: calc(100% - 80px)
}

.card-overlay .members.search .yui-ac-input {
    width: calc(100% - 12px)
}

.overlay .favorites li a:hover {
    background: none !important;
    padding-left: 0
}

.list {
    display: inline-block !important;
    float: none !important;
    white-space: normal;
    border-radius: 5px;
    border: 2px solid white;
    height: 100%;
    position: relative;
    -webkit-box-shadow: #d1d1d1 3px 3px 1px;
    -moz-box-shadow: #d1d1d1 3px 3px 1px;
    box-shadow: #d1d1d1 3px 3px 1px;
    background: rgba(235, 235, 235, 0.8);
    background: -moz-linear-gradient(top, rgba(235, 235, 235, 0.8) 0%, rgba(230, 230, 230, 0.8) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(235, 235, 235, 0.8)), color-stop(100%, rgba(230, 230, 230, 0.8)));
    background: -webkit-linear-gradient(top, rgba(235, 235, 235, 0.8) 0%, rgba(230, 230, 230, 0.8) 100%);
    background: -o-linear-gradient(top, rgba(235, 235, 235, 0.8) 0%, rgba(230, 230, 230, 0.8) 100%);
    background: -ms-linear-gradient(top, rgba(235, 235, 235, 0.8) 0%, rgba(230, 230, 230, 0.8) 100%);
    background: linear-gradient(to bottom, rgba(235, 235, 235, 0.8) 0%, rgba(230, 230, 230, 0.8) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ebebeb', endColorstr='#e6e6e6', GradientType=0);
    height: calc(100% - 21px);
    height: -moz-calc(100% - 21px);
    height: -webkit-calc(100% - 21px);
    vertical-align: top
}

.list > div:last-child {
    height: 100%
}

.list-header {
    border-bottom: solid 1px white;
    background: #f2f2f2;
    position: relative;
    cursor: pointer;
    border-radius: 5px 5px 0 0;
}

.list-header .grip {
    position: absolute;
    left: 5px;
    top: 5px
}

.list-header .icon-edit {
    background: transparent url(../img/sprites.png) no-repeat -23px -309px;
}

.list-header .icon-edit:hover {
    background: transparent url(../img/sprites.png) no-repeat -77px -309px;
}

.list-header .list-title {
    margin: 0 13px 4px 13px;
    padding-top: 2px;
}

.list-header .list-actions {
    position: absolute;
    top: 9px;
    right: 9px;
}

.list-header .list-counter {
    position: absolute;
    right: 25px;
    top: 9px;
}

.list-header .list-counter .title-form {
    margin: -8px 108px 0 13px;
    width: 100%
}

.list-header .list-counter .title-form button {
    padding: 4px;
}

.list-header .list-counter .title-form input {
    width: 52%;
    margin-right: 10px;
    margin-bottom: 0;
}

.list-header input {
    width: 52%;
    margin-right: 10px;
    margin-bottom: 0;
}

.list-header .title {
    font-size: 18px;
    font-family: OpenSansSemibold;
    color: #424242;
    padding-top: 3px
}

.list-header .title a,
.list .header .title a:hover,
.list .header .title a:visited {
    color: #5c5c5c;
    text-decoration: none;
    display: block;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
    padding-bottom: 5px
}

.list .list-footer {
    border-radius: 0 0 5px 5px;
    position: absolute;
    bottom: 0;
    border-top: solid 1px #cfcfcf;
    width: 100%;
    text-align: center;
    padding: 8px 0;
    background: #ebebeb;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#ffffff), to(#e3e3e3));
    background: -webkit-linear-gradient(#ffffff, #e3e3e3);
    background: -moz-linear-gradient(#ffffff, #e3e3e3);
    background: -ms-linear-gradient(#ffffff, #e3e3e3);
    background: -o-linear-gradient(#ffffff, #e3e3e3);
    background: linear-gradient(#ffffff, #e3e3e3);
}

.list .list-footer-disabled {
    border-radius: 0 0 5px 5px;
    position: absolute;
    bottom: 0;
    border-top: solid 1px #cfcfcf;
    width: 100%;
    text-align: center;
    padding: 8px 0;
    background: black;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#ffffff), to(#e3e3e3));
    background: -webkit-linear-gradient(#ffffff, #e3e3e3);
    background: -moz-linear-gradient(#ffffff, #e3e3e3);
    background: -ms-linear-gradient(#ffffff, #e3e3e3);
    background: -o-linear-gradient(#ffffff, #e3e3e3);
    background: linear-gradient(#ffffff, #e3e3e3);
}

.list .list-footer:hover {
    background: #d6d6d6;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#ffffff), to(#d6d6d6));
    background: -webkit-linear-gradient(#ffffff, #d6d6d6);
    background: -moz-linear-gradient(#ffffff, #d6d6d6);
    background: -ms-linear-gradient(#ffffff, #d6d6d6);
    background: -o-linear-gradient(#ffffff, #d6d6d6);
    background: linear-gradient(#ffffff, #d6d6d6);
}

.list .list-footer .link-small {
    color: #525252;
    text-shadow: 1px 1px white;
    font: 15px OpenSansLight;
    display: block;
}

.list .list-footer .link-small:hover {
    text-decoration: none;
}

.list .list-footer .link-small strong {
    color: #9d9a9a;
    line-height: 1px !important;
    font: 22px arial;
    position: relative;
    left: -4px;
    top: 2px
}

.list .list-footer input[type="text"] {
    width: 93%;
    margin: 5px;
    resize: none;
}

.list-footer .btn-small {
    margin-left: 5px;
}

.btn.btn-primary.btn-small.toggle {
    box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.7) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
    outline: 0 none;
    background-image: none;
    background: #93B70A;
}

.list-marker {
    display: inline-block !important;
    float: none !important;
    white-space: normal;
    margin-top: 3px;
    border: #c8c8c8 1px solid;
    background-color: #EAEAEA;
    border-radius: 6px;
    opacity: 0.3;
    -webkit-box-shadow: inset #C1C1C1 2px 1px 1px;
    -moz-box-shadow: inset #C1C1C1 2px 1px 1px;
    box-shadow: inset #C1C1C1 2px 1px 1px;
    height: calc(100% - 21px);
    height: -moz-calc(100% - 21px);
    height: -webkit-calc(100% - 21px);
}

.list-body {
    overflow: auto;
    position: relative;
    min-height: 50px;
    height: calc(100% - 70px);
    height: -moz-calc(100% - 70px);
    height: -webkit-calc(100% - 70px);
}

.list-body h4 {
    text-align: right;
    margin: 1em;
}

.card:hover {
    -webkit-box-shadow: #a7a7a7 3px 1px 1px;
    -moz-box-shadow: #a7a7a7 3px 1px 1px;
    box-shadow: #a7a7a7 3px 1px 1px;
}

.card {
    position: relative;
    background-color: #FFFFFF;
    border-radius: 5px;
    margin: 8px 4px;
    padding: 8px 8px 4px 8px;
    cursor: pointer;
    word-wrap: break-word;
    -webkit-box-shadow: #d6d6d6 3px 1px 1px;
    -moz-box-shadow: #d6d6d6 3px 1px 1px;
    box-shadow: #d6d6d6 3px 1px 1px;    /*   z-index: 1000;*/
}

.archive {
    background: #c6c6c6;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#d6d6d6), to(#c6c6c6));
    background: -webkit-linear-gradient(#d6d6d6, #c6c6c6);
    background: -moz-linear-gradient(#d6d6d6, #c6c6c6);
    background: -ms-linear-gradient(#d6d6d6, #c6c6c6);
    background: -o-linear-gradient(#d6d6d6, #c6c6c6);
    background: linear-gradient(#d6d6d6, #c6c6c6);
}

.archive .list-header {
    background: #d2d2d2;
}

.card:after {
    content: "";
    display: block;
    clear: both
}

.card a,
.card a:hover {
    color: black;
    text-decoration: none;
    display: block;
    width: 100%;
    padding-bottom: 5px;
}

.overlay.card-overlay {
    color: #636363;
    padding: 0 12px 4px 12px;
    min-width: 280px;
}

.overlay.card-overlay .action-close {
    width: 14px
}

.overlay.card-overlay .avatar {
    overflow: hidden;
    text-indent: 500px;
    white-space: nowrap
}

.overlay.card-overlay h2 {
    border-bottom: 1px solid #E5E5E5;
    color: #636363;
    font-size: 17px;
    font-weight: normal;
    line-height: inherit;
    margin: 0 0 5px;
    padding-bottom: 4px
}

.overlay.card-overlay .member {
    padding-top: 7px;
    display: table;
    width: 100%
}

.overlay.card-overlay .members {
    display: table;
    width: 100%;
    margin-top: 8px
}

.overlay.card-overlay .members .member {
    display: table-row;
    width: 100%;
    padding-top: 0;
}

.overlay.card-overlay .member span {
    display: table-cell;
    text-indent: 0;
}

.overlay.card-overlay .member .avatar {
    min-width: 32px
}

.overlay.card-overlay .member .name {
    padding: 4px;
    white-space: nowrap;
    min-width: 92px
}

.overlay.card-overlay .member .actions {
    text-align: right;
    vertical-align: middle
}

.overlay.card-overlay .member .actions .btn {
    font-size: 12px;
    padding: 1px 3px;
    margin: 0 2px;
}

.overlay.card-overlay .name {
    font-size: 15px;
    color: #636363;
}

.overlay.card-overlay .name .email {
    display: block;
    font-size: 11px;
    font-style: italic;
    position: relative;
    top: -2px
}

.card.highlight {
    border: solid 2px #e6a323;
}

.card .members {
    width: 42%;
    float: left;
    min-height: 25px;
}

.cardactions .members {
    width: 120px;
    min-height: 25px;
}

.card .members a,
.cardactions .members a {

    /*display: inline-block;*/
    width: auto;
    float: left;
    padding: 0
}

.card .members .add {
    display: none;
    width: 28px;
    height: 25px;
    background: url(../img/add_member.png);
    float: left;
    overflow: hidden
}

.cardactions .members .add {
    width: 28px;
    height: 25px;
    background: url(../img/add_member.png);
    float: left;
    overflow: hidden
}

.card .members.highlight .add,
.cardactions .members.highlight .add {
    display: inline-block;
}

.card .members .add a,
.cardactions .members .add a {
    text-indent: 500px;
    white-space: nowrap;
}

.card .members .miniavatar,
.cardactions .members .miniavatar {
    display: inline-block;
    width: 22px;
    height: 22px;
    overflow: hidden;
    margin-right: 5px;
}

.card .members .more,
.cardactions .members .more {
    float: left;
    margin-right: 2px;
    margin-left: -4px
}

.card .members .more > a,
.cardactions .members .more > a {
    display: inline-block;
    width: 11px;
    height: 15px;
    padding: 10px 0 0 16px;
    background: url(../img/more_member.png);
    overflow: hidden;
    color: #009fed;
    font: bold 11px arial
}

.board-labels .wide {
    display: inline;
}

.board-labels .compact {
    display: none;
}

.board-labels .overlay .action-close {
    padding: 0 !important
}

.board-labels .members {
    width: auto;
    float: none;
    position: absolute;
    right: 25px;
    top: 4px
}

.board-labels .members a {
    width: auto;
    float: left;
    padding: 0 !important
}

.board-labels .members .add {
    display: none;
    width: 28px;
    height: 25px;
    background: url(../img/add_member.png);
    float: left;
    margin-right: -6px;
    overflow: hidden
}

.board-labels .members.highlight .add {
    display: inline-block;
}

.board-labels .members .add a {
    text-indent: 500px;
    white-space: nowrap;
}

.board-labels .members .miniavatar {
    display: inline-block;
    width: 22px;
    height: 22px;
    overflow: hidden;
    margin: 0 0 0 6px
}

.board-labels .members .more {
    float: left;
    margin-right: -2px
}

.board-labels .members .more > a {
    display: inline-block;
    width: 11px;
    height: 15px;
    padding: 10px 0 0 16px !important;
    background: url(../img/more_member.png);
    overflow: hidden;
    color: #009fed !important;
    font: bold 11px arial !important
}

.board-labels .members .pending {
    opacity: 1
}

.overlay.board-labels-overlay .search {
    position: static
}

.overlay.board-labels-overlay {
    color: #636363;
    padding: 0 12px 4px 12px
}

.overlay.board-labels-overlay .action-close {
    width: 14px
}

.overlay.board-labels-overlay .avatar {
    overflow: hidden;
    text-indent: 500px;
    white-space: nowrap
}

.overlay.board-labels-overlay h2 {
    border-bottom: 1px solid #E5E5E5;
    color: #636363;
    font-size: 17px;
    font-weight: normal;
    line-height: inherit;
    margin: 0 0 5px;
    padding-bottom: 4px
}

.overlay.board-labels-overlay .member {
    padding-top: 20px
}

.overlay.board-labels-overlay .members {
    display: table;
    width: 100%;
    margin-top: 8px;
    position: static;
}

.overlay.board-labels-overlay .members .member {
    display: table-row;
    width: 100%;
    padding-top: 0
}

.overlay.board-labels-overlay .member span {
    display: table-cell;
    text-indent: 0;
    white-space: nowrap
}

.overlay.board-labels-overlay .member .avatar {
    min-width: 32px
}

.overlay.board-labels-overlay .member .name {
    display: table-cell;
    padding: 4px;
    white-space: nowrap;
    min-width: 92px
}

.overlay.board-labels-overlay .name .email {
    display: block;
    font-size: 11px;
    font-style: italic;
    position: relative;
    top: -2px
}

.overlay.board-labels-overlay .member .actions .btn {
    font-size: 12px;
    padding: 1px 3px;
    margin: 0 2px;
}

.overlay.board-labels-overlay .member .actions {
    text-align: right;
    vertical-align: middle
}

.overlay.board-labels-overlay .name {
    font-size: 15px;
    color: #636363;
}

.badges {
    width: 56%;
    float: right;
    min-height: 20px;
}

.badges > .label {
    border-radius: 6px;
    margin-right: 6px;
    padding: 3px 7px;
    float: right;
    color: #a4a3a3;
    border: 1px solid white;
    background: none;
    font-size: 12px;
    min-width: 25px;
    width: auto;
}

.badges.highlight > .label {
    color: #a4a3a3;
    background: #d4d4d4;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#ffffff), to(#d4d4d4));
    background: -webkit-linear-gradient(#ffffff, #d4d4d4);
    background: -moz-linear-gradient(#ffffff, #d4d4d4);
    background: -ms-linear-gradient(#ffffff, #d4d4d4);
    background: -o-linear-gradient(#ffffff, #d4d4d4);
    background: linear-gradient(#ffffff, #d4d4d4);
    border: 1px solid #eceaea;
    min-width: 25px;
    width: auto;
}

.badges.highlight > .label:hover {
    border: 1px solid #b9b9b9;
    padding: 3px 7px;
    color: #a4a3a3;
    min-width: 25px;
    width: auto;
}

.icon-pencil {
    background-position: 5px -73px;
    width: 19px;
}

.duedate-icon {
    margin-left: 5px;
}

.duedate-icon.past {
    background: transparent url('../img/due_dates.png') no-repeat 0 0;
    width: 13px;
    margin-left: 5px;
    padding: 0;
}

.duedate-icon.yesterday {
    background: transparent url('../img/due_dates.png') no-repeat -13px 0;
    width: 13px;
    margin-left: 5px;
}

.duedate-icon.today {
    background: transparent url('../img/due_dates.png') no-repeat -39px 0;
    width: 13px;
    margin-left: 5px;
}

.duedate-icon.tomorrow {
    background: transparent url('../img/due_dates.png') no-repeat -52px 0;
    width: 13px;
    margin-left: 5px;
}

.duedate-icon.future {
    background: transparent url('../img/due_dates.png') no-repeat 0 0;
    width: 13px;
    margin-left: 5px;
}

.due-date span {
    position: relative;
    top: 3px;
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 10px;
    color: white
}

.due-date.past {
    color: #b5b5b5 !important;
    text-shadow: none !important
}

.due-date.past .icon-time {
    background-image: url("../img/glyphicons-past.png")
}

.due-date.yesterday {
    color: #570409 !important;
    text-shadow: none !important
}

.due-date.yesterday .icon-time {
    background-image: url("../img/glyphicons-yesterday.png")
}

.due-date.today {
    color: #d52d35 !important;
    text-shadow: none !important
}

.due-date.today .icon-time {
    background-image: url("../img/glyphicons-today.png")
}

.due-date.tomorrow {
    color: #ffb92e !important;
    text-shadow: none !important
}

.due-date.tomorrow .icon-time {
    background-image: url("../img/glyphicons-tomorrow.png")
}

.due-date.future {
    color: #c8d656 !important;
    text-shadow: none !important
}

.due-date.future .icon-time {
    background-image: url("../img/glyphicons-future.png")
}

.badges.highlight .due-date.past {
    color: white !important;
    text-shadow: none !important;
    border: 1px solid #b5b5b5;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#d9d9d9), to(#b5b5b5));
    background: -webkit-linear-gradient(#d9d9d9, #b5b5b5);
    background: -moz-linear-gradient(#d9d9d9, #b5b5b5);
    background: -ms-linear-gradient(#d9d9d9, #b5b5b5);
    background: -o-linear-gradient(#d9d9d9, #b5b5b5);
    background: linear-gradient(#d9d9d9, #b5b5b5);
}

.badges.highlight .due-date.yesterday {
    color: white !important;
    text-shadow: none !important;
    border: 1px solid #570409;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#6e050b), to(#570409));
    background: -webkit-linear-gradient(#6e050b, #570409);
    background: -moz-linear-gradient(#6e050b, #570409);
    background: -ms-linear-gradient(#6e050b, #570409);
    background: -o-linear-gradient(#6e050b, #570409);
    background: linear-gradient(#6e050b, #570409);
}

.badges.highlight .due-date.today {
    color: white !important;
    text-shadow: none !important;
    border: 1px solid #d52d35;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#ff363f), to(#d52d35));
    background: -webkit-linear-gradient(#ff363f, #d52d35);
    background: -moz-linear-gradient(#ff363f, #d52d35);
    background: -ms-linear-gradient(#ff363f, #d52d35);
    background: -o-linear-gradient(#ff363f, #d52d35);
    background: linear-gradient(#ff363f, #d52d35);
}

.badges.highlight .due-date.tomorrow {
    color: white !important;
    text-shadow: none !important;
    border: 1px solid #ffb92e;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#ffce6e), to(#ffb92e));
    background: -webkit-linear-gradient(#ffce6e, #ffb92e);
    background: -moz-linear-gradient(#ffce6e, #ffb92e);
    background: -ms-linear-gradient(#ffce6e, #ffb92e);
    background: -o-linear-gradient(#ffce6e, #ffb92e);
    background: linear-gradient(#ffce6e, #ffb92e);
}

.badges.highlight .due-date.future {
    color: white !important;
    text-shadow: none !important;
    border: 1px solid #c8d656;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#dceb5e), to(#c8d656));
    background: -webkit-linear-gradient(#dceb5e, #c8d656);
    background: -moz-linear-gradient(#dceb5e, #c8d656);
    background: -ms-linear-gradient(#dceb5e, #c8d656);
    background: -o-linear-gradient(#dceb5e, #c8d656);
    background: linear-gradient(#dceb5e, #c8d656);
}

.badges.highlight .due-date.past .icon-time {
    background-image: url("../img/glyphicons-halflings-white.png")
}

.badges.highlight .due-date.yesterday .icon-time {
    background-image: url("../img/glyphicons-halflings-white.png")
}

.badges.highlight .due-date.today .icon-time {
    background-image: url("../img/glyphicons-halflings-white.png")
}

.badges.highlight .due-date.tomorrow .icon-time {
    background-image: url("../img/glyphicons-halflings-white.png")
}

.badges.highlight .due-date.future .icon-time {
    background-image: url("../img/glyphicons-halflings-white.png")
}

.btn.btn-due-date {
    position: relative;
    color: white;
}

.btn.btn-due-date.past {
    background: #b5b5b5;
    border: 1px solid #737373
}

.btn.btn-due-date.yesterday {
    background: #570409;
    border: 1px solid #000000
}

.btn.btn-due-date.today {
    background: #d52d35;
    border: 1px solid #8E1E24
}

.btn.btn-due-date.tomorrow {
    background: #ffb92e;
    border: 1px solid #B48320
}

.btn.btn-due-date.future {
    background: #c8d656;
    border: 1px solid #95A323
}

.due-date .duedate-icon {
    position: relative;
    top: 8px;
    left: -3px
}

.due-date + div {
    margin-left: 18px
}

.card-marker {
    border: #c8c8c8 1px solid;
    background-color: #dfdcdc;
    border-radius: 5px;
    margin: 2px;
    -webkit-box-shadow: inset #b5b5b5 2px 1px 1px;
    -moz-box-shadow: inset #b5b5b5 2px 1px 1px;
    box-shadow: inset #b5b5b5 2px 1px 1px;
}

.card-label {
    border-radius: 3px 3px 3px 3px;
    display: inline-block;
    height: 30px;
    line-height: 30px;
    padding: 0 5px;
    width: 150px;
}

.card-label > span {
    color: white;
    text-shadow: 0 1px rgba(0, 0, 0, 0.4), 0 0 3px #000000;
    text-overflow: ellipsis;
}

a.card-label:hover {
    text-decoration: none;
}

.card-label i {
    float: right;
    margin: 7px 2px 0 0;
}

.card-label-choose {
    cursor: pointer
}

.list-labels > li {
    margin-bottom: 3px;
}

.card .inline-labels {
    float: right;
    margin: -14px 0 0
}

.inline-labels .card-label {
    width: 10px;
    height: 10px;
    padding: 0;
    margin-right: 6px;
    border-radius: 12px;
    border: 2px solid white;
    -webkit-box-shadow: #d6d6d6 3px 1px 1px;
    -moz-box-shadow: #d6d6d6 3px 1px 1px;
    box-shadow: #d6d6d6 3px 1px 1px;
}

/*ul.board-labels li:nth-child(odd) {
 background-color: #EDEDED;
 }*/
ul.board-labels .label-title {
    line-height: 34px;
    padding: 0 0 0 5px;
    font-size: 110%
}

ul.board-labels .label-title input {
    margin: 0;
}

.card-edit-form .title-form button {
    margin-top: -10px
}

.card-edit-form .cardactions ul {
    list-style-type: none;
    margin-left: 0;
    width: 100%
}

.card-edit-form hr {
    border-top: 0;
    border-bottom: 1px solid #c3c3c3;
    clear: both;
    margin: 9px 0 18px 0;
    width: 103%;
}

.card-edit-form p {
    font: normal 12px OpenSansLight
}

.card-edit-form .header {
    padding: 10px 0 2px 0;
    margin-bottom: 10px;
}

.card-edit-form .header,
.card-edit-form .header a,
.card-edit-form .header a:hover {
    text-decoration: none;
}

.card-edit-form .header .async-title > div {
    display: inline;
}

.card-edit-form .header .in-list {
    font-size: 18px;
    font-family: OpenSansLightItalic;
    margin-left: 5px;
    display: inline;
    color: #5b5959
}

.card-edit-form .header .title-form input {
    font-size: 125%;
    padding: 5px;
    width: 67%;
    margin-right: 10px
}

.card-edit-form .header .title {
    word-wrap: break-word;
    display: inline;
    font-size: 30px;
    color: #5b5959;
    line-height: 1.2;
}

.card-edit-form .header .title a {
    color: #5b5959
}

.card-edit-form .description {
    margin: 0;
    padding: 14px 0 0 0;
    margin-bottom: 14px;
    font: normal 14px OpenSansLight;
    clear: both;
    cursor: pointer;
}

.card-edit-form .description p {
    font: normal 14px OpenSansLight;
    margin: 0;
}

.card-edit-form .description .buttons {
    margin-top: 5px;
}

.card-edit-form textarea {
    font: normal 12px OpenSansSemibold;
    width: 101%;
    resize: none;
    border: 1px solid #dadada;
    border-radius: 5px;
    -webkit-box-shadow: 3px 3px 1px #F2F2F2 inset;
    -moz-box-shadow: 3px 3px 1px #F2F2F2 inset;
    box-shadow: 3px 3px 1px #F2F2F2 inset;
    height: 19px;
}

.card-edit-form textarea:-webkit-input-placeholder {
    color: #cfcdcd;
}

.card-edit-form .badges {
    display: none
}

.card-edit-form textarea:-moz-placeholder {
    color: #cfcdcd;
}

.card-edit-form .cardactions .btn {
    margin-bottom: 8px;
    width: 120px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.card-edit-form .cardactions a.btn {
    width: 120px;
}

.card-edit-form .description-form textarea.expanded {
    font: 14px OpenSansLight;
    position: relative;
    left: -6px;
    top: -5px;
    overflow: hidden;
    margin-bottom: 14px
}

.card-edit-form .description-form textarea.expanded:-moz-placeholder {
    font: 12px OpenSansSemibold
}

.overlay.card-edit-form-overlay {
    background: #ffffff;
}

.overlay.card-edit-form-overlay .card-label-choose {
    display: block;
    padding-left: 10px;
    background-position: -1114px 5px !important;
    padding-bottom: 1px
}

.overlay.card-edit-form-overlay .card-label-choose.active .card-label {
    opacity: 1;
}

.overlay.card-edit-form-overlay .card-label-choose .card-label {
    opacity: 0.3;
}

.overlay.card-edit-form-overlay .card-label-choose .card-label {
    margin-right: 7px
}

.overlay.card-edit-form-overlay .card-label-choose .icon-ok {
    display: none
}

.label-color-picker {
    position: relative;
    height: 193px;
    width: 315px;
}

.label-color-picker .yui-picker-controls .bd {
    background-color: inherit;
}

.label-color-picker .yui-picker-controls .bd input {
    padding: 0;
}

a.description-edit {
    display: block;
    cursor: pointer;
    padding: 3px;
    border-radius: 3px;
}

a.description-edit:hover {
    background-color: #EEEEEE;
    text-decoration: none;
}

textarea.expanded {
    height: 112px;
    margin: 0 18px 20px 0;
    font-family: opensanslight;
    color: #333333
}

.nbItems {
    position: absolute;
    left: 8px;
    margin-top: 4px
}

.nbItems .label {
    background: none;
    color: #A5A5A5;
    font: 12px OpenSansSemibold
}

.comment {
    margin-bottom: 5px;
    margin-left: -45px;
    padding: 3px 0;
    font-size: 11px;
    clear: both
}

.comment .fullname {
    font: normal 14px OpenSansBold
}

.comment .left {
    width: 30px;
    float: left;
    padding: 5px 0 0 5px;
}

.comment .right {
    border-bottom: 1px solid #C1C1C1;
    margin-left: 45px;
}

.comment .contents {
    margin-top: 5px;
    padding: 3px;
}

.comment .contents img.medium {
    border: 4px solid white;
    margin-right: 5px;
    -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.24);
    -moz-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.24);
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.24);
}

.comment:last-child .right {
    border: 0
}

.comment .user.fullname {
    font-weight: bold;
    display: inline-block;
}

.comment .text {
    margin: 3px 0;
    padding: 3px;
    word-wrap: break-word;
}

.comment .footer {
    text-align: right;
    font-size: 90%;
}

.comment .delete {
    font-size: 12px;
}

.navbar-inner {
    background-color: #063354;
    background-image: none;
}

.navbar-inner {
    border-radius: 0;
}

[class*="span"] {
    margin-left: 10px;
}

.btn {
    font: normal 14px OpenSansLight;
    color: #5b5959;
    padding: 2px 9px 3px 9px;
    text-shadow: none;
    min-width: 62px;
    background: #F3F3F3
}

.btn [class^="icon-"] {
    margin: 0;
    position: relative;
    top: 3px;
    left: -4px
}

.btn-primary {
    color: white;
    background: #93B70A
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
.btn-primary[disabled] {
    background-color: #7E9C12
}

.buttonDeleteCard .btn {
    color: white;
    background: #BC3607;
    border: 1px solid #8c3110
}

.remove {
    color: white;
    background: #BC3607;
    border: 1px solid #8c3110
}

.remove:hover,
.remove:focus,
.buttonDeleteCard .btn:hover,
.buttonDeleteCard .btn:active,
.buttonDeleteCard .btn.active,
.buttonDeleteCard .btn.disabled,
.buttonDeleteCard .btn[disabled] {
    background-color: #A01A00
}

.buttonDeleteCard .btn [class^="icon-"] {
    background-image: url("../img/glyphicons-halflings-white.png");
    background-position: -456px 0;
}

#description-overlay {
    background: none repeat scroll 0 0 #EEEEEE;
    border: 1px solid;
    border-radius: 5px;
    padding: 10px;
    position: absolute;
    top: 60px;
    width: 25%;
    z-index: 1600;
}

.icon-grey {
    background-image: url(../img/glyphicons-halflings-grey.png)
}

.yui-tt .bd {
    background: #4d4d4d !important;
    border: 0 !important;
    border-radius: 3px;
    color: white !important;
    font-weight: bold;
    font-size: 11px !important;
}

.yui-tt {
    border: 0 !important;
    padding: 0;
    min-width: 50px;
}

.yui-tt .yui-tt-shadow {
    opacity: 1;
    background: transparent url(../img/sprites.png) no-repeat -20px -199px;
    display: block;
    height: 9px;
    width: 16px;
    position: absolute;
    top: -9px;
    left: 5px;
}


.list.reduced .list-body {
    display: none
}

.list.reduced .list-footer {
    display: none
}

.list.reduced .list-header {
    border-bottom: 1px solid #F2F2F2
}

.row-fluid > .span4 {
    padding-top: 37px
}

.row-fluid > .span4 li {
    padding-bottom: 15px
}

.row-fluid .delete {
    float: right;
    margin-right: 5px;
}

/* YUI FIX */
.yui-skin-sam .mask {
    background: #000
}

.nagare-error-message {
    background: url("../img/warning.png") no-repeat left center;
    font: normal 15px OpenSansSemibold;
    color: #c22e2e;
    padding-left: 24px;
    position: relative;
    top: -10px
}

.list-title .nagare-error-message {
    top: 0
}

.weights-form .nagare-error-message {
    display: inline-block;
    top: 0;
    position: static;
    padding: 3px 3px 3px 24px
}

.weights-form .nagare-error-input {
    display: inline
}

.info-message {
    display: block;
    font: normal 15px OpenSansSemibold;
    color: #008000;
    top: -10px;
    position: relative;
}

/* structure */
.row-fluid > [class*="span"] {
    margin-left: 5.564%
}

.row-fluid > .span4 {
    width: 26.624%
}

.row-fluid > .span8 {
    width: 67.812%
}

/*Home page*/
#home-user {
    padding: 100px 20px 54px 0;
}

#home-user .row-fluid {
    height: 100%
}

#home-user li a {
    color: #737373;
    font: 15px OpenSansLight;
    display: block
}

#home-user li a:hover {
    text-decoration: none
}

#home-user .span4 {
    width: 190px;
    height: 100%;
    border-right: 1px dotted #737373
}

#home-user .span4 ul {
    list-style: none;
    margin: 0
}

#home-user .span4 li {
    padding: 0;
}

#home-user .span4 a {
    padding: 8px 0 8px 91px;
    margin-bottom: 3px
}

#home-user .span4 a.boards {
    background-image: url(../img/sprites.png);
    background-position: -561px -539px
}

#home-user .span4 a.profile {
    background-image: url(../img/sprites.png);
    background-position: -561px -588px
}

#home-user .span4 a.active {
    background-color: #ebebeb
}

#home-user .span4 a:hover {
    background-color: #ebebeb
}

#home-user .span4 .nav-header {
    display: none
}

#home-user .span4 {
    padding-top: 0
}

#home-user .span8 {
    color: #737373;
    font: 15px OpenSansLight;
    margin-left: 25px;
}

#home-user .span8 a {
    padding: 5px;
    float: left
}

#home-user .span8 a.delete {
    float: right;
    height: 18px;
    width: 8px;
    display: none;
    background-image: url(../img/sprites.png);
    background-position: -623px -50px;
    overflow: hidden;
    position: relative;
    top: -2px
}

#home-user .span8 a.archive {
    float: right;
    height: 13px;
    width: 12px;
    display: none;
    background-image: url(../img/archive.png);
    background-position: bottom center;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
    top: 4px;
}

#home-user .span8 a.delete.highlight,
#home-user .span8 a.archive.highlight,
#home-user .span8 a.leave.highlight {
    display: block
}

#home-user .span8 a.leave {
    float: right;
    height: 16px;
    width: 14px;
    display: none;
    background-image: url(../img/logout.png);
    background-position: 0 1px;
    overflow: hidden;
    position: relative;
    top: 3px
}

#home-user .span8 a.restore {
    float: right;
    height: 13px;
    width: 12px;
    display: none;
    background-image: url(../img/retrieve.png);
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
    top: 3px;
}

#home-user .span8 a.restore.highlight {
    display: block
}

#home-user .span8 ul.board-labels {
    border-bottom: 1px solid #c0c0c0;
    padding-bottom: 14px;
    margin-bottom: 17px;
    max-width: 800px;
}

#home-user .span8 ul.unstyled label {
    margin-bottom: 0;
}

#home-user .new-board-name {
    max-width: 770px;
}

#home-user .span8 ul.board-labels li {
    position: relative
}

#home-user .span8 ul.board-labels li:hover {
    background: #ebebeb
}

#home-user .span8 .span8 input {
    margin-top: 5px
}

#home-user .span8 .span8 select {
    width: 96%;
    margin-top: 5px
}

#home-user .span8 .span8 .btn-primary {
    width: auto
}

#home-user .span8 .memberItem a {
    float: right;
    height: 18px;
    width: 18px;
    display: block;
    background-image: url(../img/sprites.png);
    background-position: -623px -167px;
    overflow: hidden
}

#home-user .span8 .memberItem a .avatar {
    height: 14px;
    width: 18px
}

#home-user .memberPanel {
    width: 300px;
    height: 300px;
    z-index: 15;
    background: #ffffff;
    position: absolute;
    -webkit-box-shadow: 3px 3px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 3px 3px 1px rgba(0, 0, 0, 0.2);
    box-shadow: 3px 3px 1px rgba(0, 0, 0, 0.2);
    padding: 15px
}

#home-user #lists {
    margin-bottom: 50px;
}

#home-user #lists .list {
    margin-left: 0;
    margin-right: 10px;
    margin-bottom: 15px;
    width: 48%;
    display: block !important;
    float: left !important;
}

#home-user #lists .list .title a {
    float: none;
}

/* Members */
.members.search {
    width: 100%;
    margin-top: 10px;
    padding-top: 7px;
    overflow: auto;
    float: none
}

.overlay .members.search .yui-ac-content {
    background: none;
    width: 100% !important
}

.overlay .members.search .yui-ac-bd ul {
    width: 100%
}

.overlay .members.search .yui-ac-bd li.yui-ac-highlight {
    background: #F2F2F2
}

.overlay .members.search .yui-ac-bd li {
    clear: both;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
    line-height: normal
}

.overlay .members.search .yui-ac-bd li:hover {
    background: #F2F2F2
}

.overlay .members.search .yui-ac-bd li .avatar {
    float: left
}

.overlay .members.search .yui-ac-bd li .name {
    float: left
}

.members.search #new_members {
    width: 70%;
    float: left;
    margin-right: 8px
}

.members.search .btn-primary {
    float: right;
    width: auto !important;
    margin: 0
}

/*Error page*/
#errorPage {
    color: #737373;
    height: auto;
    padding: 0;
    margin: 0
}

#errorPage #status {
    font: 36px OpenSansLight;
    position: absolute;
    bottom: 15px;
    right: 15px;
}

#errorPage #message {
    padding: 10px 10px;
    background: white;
    margin-top: 70px;
    text-align: center;
}

#errorPage #message p {
    font: 48px /64px OpenSansLight;
}

.yui-skin-sam .yui-ac-container {

    /*display: inline-block;*/
    top: 0 !important;
    left: 0 !important;
    position: relative;
}

.yui-skin-sam .yui-ac-content {
    position: relative;
    border: none
}

.yui-skin-sam .yui-ac-input {
    position: relative;
}

.unselectable {
    cursor: default
}

.pending {
    opacity: 0.5
}

.last-manager {
    font-size: 11px;
    font-style: italic;
    position: relative;
}

.oauth.google {
    width: 160px;
    height: 54px
}

.oauth.facebook {
    width: 150px;
    height: 44px;
    padding-left: 6px
}

.fake {
    position: absolute;
    left: 490px;
    z-index: 0
}

#card-gallery img.thumb {
    height: 68px;
    width: 68px;
}

#card-gallery a {
    position: relative;
    display: inline-block;
    margin: 8px 8px 0 0;
    border: 4px solid white;
    -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.24);
    -moz-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.24);
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.24);
}

#card-gallery a:hover {
    -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.64);
    -moz-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.64);
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.64);
}

#card-gallery a span.is_cover {
    display: block;
    width: 26px;
    height: 26px;
    background: url(../img/check.png);
    position: absolute;
    top: -10px;
    right: -10px
}

.file_icon {
    width: 68px;
}

.cover img {
    width: 98%;
    margin: 5px auto;
    border: 4px solid white;
    -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.24);
    -moz-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.24);
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.24);
}

#resync .content {
    padding: 10px 0;
}

#resync h2 {
    color: #5b5959;
    line-height: 1.2;
    font: normal 30px OpenSansLight;
}

/* Calendar */
.calendar {
    font-family: OpenSansLight;
    position: absolute;
    padding: 10px;
    border-radius: 5px;
    background: white;
    width: 224px;
    -webkit-box-shadow: #a7a7a7 0 0 2px;
    -moz-box-shadow: #a7a7a7 0 0 2px;
    box-shadow: #a7a7a7 0 0 2px;
    z-index: 1;
}

.calendar .calendar-content table {
    width: 100%;
}

.calendar .calendar-content table th {
    color: #5b5959
}

.calendar .calendar-content table tr td a {
    color: #5b5959
}

.calendar .calendar-content table tr td.active a {
    font-weight: bold;
    background: #d4d4d4;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#ffffff), to(#d4d4d4));
    background: -webkit-linear-gradient(#ffffff, #d4d4d4);
    background: -moz-linear-gradient(#ffffff, #d4d4d4);
    background: -ms-linear-gradient(#ffffff, #d4d4d4);
    background: -o-linear-gradient(#ffffff, #d4d4d4);
    background: linear-gradient(#ffffff, #d4d4d4);
    border: 1px solid #eceaea;
}

.calendar .calendar-content table tr td.today a {
    color: #5b5959;
    font-weight: bold;
}

.calendar .calendar-content table tr th.week_number,
.calendar .calendar-content table tr td.week_number {
    color: #5b5959;
    background-color: #f3f3f3;
    font-weight: bold;
    text-align: center;
    display: block;
    margin-right: 2px;
    border-right: solid 1px lightgrey;
}

.calendar .calendar-header select {
    font: normal 12px OpenSansSemibold;
    width: 100px;
    border: 1px solid #dadada;
    border-radius: 5px;
    -webkit-box-shadow: 3px 3px 1px #F2F2F2 inset;
    -moz-box-shadow: 3px 3px 1px #F2F2F2 inset;
    box-shadow: 3px 3px 1px #F2F2F2 inset;
    display: inline-block;
}

.calendar .calendar-header select:last-child {
    width: 65px;
}

.calendar .calendar-header a {
    width: 10%;
}

.calendar .calendar-header .current {
    padding: 0 10px;
    width: 88%;
}

.calendar .calendar-today {
    padding-top: 10px;
}

.calendar .calendar-today a.btn {
    width: auto;
    margin: 0;
}

.calendar .calendar-today a.btn.today-link {
    float: left;
}

.calendar .calendar-today a.btn.erase {
    float: right;
}

.cardCounter {
    font-size: 14px;
    display: inline-block;
    background: #C4CCBD;
    color: #FFF;
    padding: 2px 3px;
    border-radius: 5px;
    min-width: 20px;
    text-align: center;
    position: relative;
    top: -4px;
}

.cardCounter.limitReached {
    background: #BD2828;
}

.credits {
    width: 100%;
    clear: both;
    height: 24px;
    text-align: center;
    padding: 10px 0;
    background-color: #E7E7E7;
    box-shadow: 0 0 1px rgb(151, 151, 151);
}

.wrap {
    height: auto;
    min-height: 100%;
    margin: 0 auto -44px;
}

.credits a {
    color: rgb(51, 51, 51)
}

.credits-content {
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto;
    width: 890px;
    padding-top: 15px;
    position: relative;
    top: -72px;
}

.credits-content p {
    font-size: 12px;
    font-weight: normal;
}

.container {
    width: 100%;
}

.board-title-color {
    border-radius: 3px;
    display: inline-block;
    height: 30px;
    line-height: 30px;
    padding: 0 5px;
    width: 150px;
    background-color: #5C5C5C;
    border: 1px solid #7D7D7D;
}

.overlay-body .yui-crop {
    width: auto !important;
    height: auto !important;
}

.weights-form {
    margin-top: 10px;
}

.weights-form input {
    width: 50%;
    margin-bottom: 0;
}

.actionWeight .btn.select {
    overflow-x: hidden;
    background: transparent url(../img/down.png) no-repeat 100px 8px;
}

.actionWeight select {
    overflow: hidden;
    border: none;
    margin: 0;
    height: auto;
    outline: none;
    background-color: transparent;
}

.checklists .checklist {
    margin: 15px 0;
    padding: 10px;
    background-color: #eee;
    border-radius: 5px;
    border: 1px solid #ccc
}

.checklists .checklist .nagare-generated,
.checklists .checklist form {
    display: inline-block
}

.checklists .checklist a {
    color: #333333;
    text-decoration: none
}

.ui-state-highlight {
    height: 3em;
    line-height: 3em;
    background: #eee;
    border-radius: 5px;
    border: 1px solid #ccc;
    opacity: 0.6;
}

.checklists .checklist a.delete {
    display: none
}

.checklists .checklist .title:hover a.delete,
.checklists .checklist li:hover a.delete {
    display: inline-block
}

.checklists .checklist .title i.icon-th-list {
    margin-right: 10px;
    cursor: move;
}

.checklists .checklist .title .show_onhover {
    display: none;
}

.checklists .checklist .title:hover .show_onhover {
    display: inline;
    color: #AAA;
}

.checklists .checklist .btn {
    min-width: 0;
    height: 30px
}

.checklists .checklist .new-item-form .btn,
.checklists .checklist li .btn {
    top: -5px
}

.checklists .checklist .btn [class^="icon-"] {
    left: 0
}

.checklists .checklist .progress {
    position: relative
}

.checklists .checklist .progress span {
    position: absolute;
    top: 0;
    z-index: 2;
    color: black;
    text-align: center;
    width: 100%
}

.checklists .checklist .progress .bar {
    z-index: 1;
    position: absolute
}

.checklists .checklist li {
    line-height: 20px
}

.checklists .checklist .check {
    font-size: 20px;
    margin-right: 5px
}

.checklists .checklist .done {
    text-decoration: line-through
}

.checklists .checklist .title {
    font-weight: bold
}

.checklists .checklist .title input {
    width: 305px
}

.checklists .checklist li input {
    width: 308px
}

.checklists .checklist .new-item-form input {
    width: 330px
}

.checklists .checklist .content {
    padding-top: 10px
}

div.history {
    font-size: 12px;
    overflow: auto;
    max-height: 600px;
}

div.history th {
    font-size: 12px;
    width: 9em;
}

#home-user input:disabled {
    margin-bottom: 10px;
}


@media all and (min-width:1200px) {
    #home-user .span8 {
        width: 80%;
    }

    #home-user .span8 .span8 {
        width: 30%;
    }

}

@media all and (min-width:814px) and (max-width:1200px) {
    #home-user .span8 {
        width: 70%;
    }

    #home-user .span8 .span8 {
        width: 50%;
    }

}

@media all and (max-width:1360px) {
    .navbar {
        height: 58px;
        margin-top: -57px
    }

    .navbar #boardActions a i {
        margin-left: 2px;
        font: normal 13px OpenSansLight;
        width: auto;
        padding: 3px 0 5px 39px;
        background: url(../img/sprites.png) no-repeat -609px 0
    }

    .navbar #boardActions a i.icon-download {
        background-position: -609px -219px
    }

    .navbar #boardActions a:hover i.icon-download {
        background-position: -609px -246px
    }

    .navbar #boardActions a i.icon-leave {
        background: url(../img/logout.png) no-repeat 14px -1px;
    }

    .navbar #boardActions a:hover i.icon-leave {
        background: url(../img/logout.png) no-repeat 14px -32px;
    }

    .navbar #boardActions a i.icon-cog {
        background-position: -609px -219px
    }

    .navbar #boardActions a:hover i.icon-cog {
        background-position: -609px -246px
    }

    .navbar #boardActions a i.icon-list-alt {
        background-position: -609px -171px
    }

    .navbar #boardActions a:hover i.icon-list-alt {
        background-position: -609px -194px
    }

    .navbar #boardActions a i.icon-pencil {
        background-position: -609px -114px
    }

    .navbar #boardActions a:hover i.icon-pencil {
        background-position: -609px -144px
    }

    .navbar #boardActions a i.icon-trash {
        background-position: -609px -55px
    }

    .navbar #boardActions a:hover i.icon-trash {
        background-position: -609px -83px
    }

    .navbar #mainActions {
        display: inline-block;
        background: white;
        color: #434343;
        font: normal 14px OpenSansLight;
        border-radius: 0 0 10px 0;
    }

    .navbar #mainActions #boardIcon {
        margin-right: 0;
        float: left
    }

    .navbar #mainActions #boardIcon a {
        display: inline-block;
        padding: 2px 0 3px 39px;
        background: url(../img/sprites.png) no-repeat -609px -2px
    }

    .navbar #mainActions #boardIcon a:hover {
        background-position: -609px -25px
    }

    .navbar #mainActions #userIcon {
        display: inline-block
    }

    .navbar #mainActions #userIcon a {
        display: inline-block;
        padding: 2px 0 3px 39px;
        background: url(../img/sprites.png) no-repeat -614px -408px
    }

    .navbar #mainActions #logout a:hover {
        background-position: -614px -439px
    }

    .navbar #mainActions #login {
        display: inline-block
    }

    .navbar #mainActions #login a {
        display: inline-block;
        padding: 2px 0 3px 39px;
        background: url(../img/sprites.png) no-repeat -609px -472px
    }

    .navbar #mainActions #login a:hover {
        background-position: -609px -500px
    }

    .list-header {
        height: auto
    }

    .list-header input {
        width: 89%;
        display: block;
        margin-bottom: 5px
    }

    .board .boardTitle {
        margin-top: 50px;
        margin-left: 50px;
    }

    .bbody {
        top: 115px;
    }

}


@media (max-width:813px) {
    body {
        padding: 0;
        overflow: auto;
    }

    [class*="span"] {
        margin-left: 0;
    }

    #lists {
        overflow-x: hidden;
        overflow-y: auto;
    }

    #viewport-wrapper {
        padding: 0;
    }

    #viewport {
        overflow: auto;
    }

    .row > .list {
        background-color: #DEDEDE;
        margin-bottom: 11px;
    }

    .list-marker {
        margin-bottom: 5px;
    }

    .card-edit-form .card-edit-comment textarea,
    .card-edit-form .description textarea {
        width: 96.77419%;
    }

    #lists {
        margin-left: 0;
        z-index: 1;
    }

    #lists > .span-auto {
        width: 100%;
        max-width: 99%;
    }

    .navbar {
        margin-bottom: 24px
    }

    .navbar #boardActions a i {
        width: 0 !important;
        overflow: hidden;
    }

    .board .boardTitle {
        font-size: 25px
    }

    #lists {
        white-space: normal;
        width: 100% !important;
    }

    .list {
        width: 100% !important;
    }

    .list-body {
        padding-bottom: 36px
    }

    .list-header input {
        width: 52%;
        display: inline-block;
        margin-bottom: 0
    }

    #home-user {
        padding-top: 60px;
    }

    #home-user .span4 {
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid #ccc;
    }

    #home-user .span4 li {
        display: inline-block;
    }

    #home-user .span4 a {
        padding: 10px 40px;
        margin: 0;
        border-radius: 10px 10px 0 0;
    }

    #home-user .span4 a.boards {
        background-position: -610px -537px;
    }

    #home-user .span4 a.profile {
        background-position: -608px -585px;
    }

    #home-user .span4 a.active {
        border: 1px solid #ccc;
        border-bottom: 0;
    }

    #home-user .span8 {
        padding-top: 10px;
        width: 95%;
    }

    .board .boardTitle {
        margin-top: 100px;
        margin-left: 20px;
    }

    #switch_zone {
        top: 50px;
    }

    .bbody {
        top: 165px;
    }

    #home-user .span4 li{
        padding: 10px 20px;
    }

    #home-user .span4 li.boards,
    #home-user .span4 li.my.cards,
    #home-user .span4 li.profile{
        background-image: none;
    }

    .checklists .checklist .new-item-form input {
        width: calc(100% - 87px);
    }

    .checklists .checklist .title input {
        width: calc(100% - 110px);
    }

    .checklists .checklist form {
        display: block;
    }

}

@media all and (max-width:640px) {
    .navbar {
        margin-top: 0;
        height: 40px;
    }

    .navbar #mainActions {
        display: inline-block;
        background: white;
        color: #434343;
        font: normal 14px OpenSansLight;
        border-radius: 0 0 10px 0;
    }

    .navbar #mainActions #boardIcon a {
        width: 0;
        height: 20px;
        overflow: hidden
    }

    .navbar #mainActions #logout a {
        width: 0;
        height: 20px;
        overflow: hidden
    }

    .navbar #mainActions #login a {
        width: 0;
        height: 20px;
        overflow: hidden
    }

    .board .boardTitle {
        font-size: 21px
    }

    .board-labels .wide {
        display: none;
    }

    .board-labels .compact {
        display: inline;
    }

}
