body {
    font-family: 'Lato', sans-serif;
}

.display-none {
    display: none;
}

.display-inline-block {
    display: inline-block;
}

.display-block {
    display: block;
}

.avatar {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    background: #eee url("/assets/img/user-default-42x42.png") no-repeat center center;
    background-size: cover;
    border: 3px solid #fff;
}



/* placeholder polyfill - input fields with placeholder class */
input.placeholder, textarea.placeholder {
    color: #aaa;
}



/* badges */
.badge {
    font-size: 10px;
    border-radius: 2px;
    padding: 3px 3px 2px 3px;
    margin-left: 5px;
}

.badge.comments .fa,
.badge.unread-comments .fa,
.badge.unread-acceptances .fa,
.badge.unseen-pages .fa
{
    font-size: 10px;
    margin: 0;
    position: relative;
    top: -1px;
}

.badge.comments {
    background: rgb(80, 80, 80);
}

.badge.unread-comments {
    background: rgb(91, 171, 16);
}

.badge.unread-acceptances {
    background: rgb(91, 171, 16);
}

.badge.unseen-pages {
    background: #f90;
}

.badge.all-seen {
    background: #777;
}

.badge.icon-only-badge .fa {
    margin: 0 2px;
}



#notifications {
	position: fixed;
	top: 0;
	width: 100%;
	text-align: center;
    z-index: 200;
}

#notifications .notification {
    display: inline-block;
    padding: 5px 35px 5px 10px;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    vertical-align: top;
}

#notifications .notification a {
    margin-left: 10px;
}

/* dropdown menu styles */
.dropdown {
	display: inline-block;
}

.dropdown .dropdown-menu {
	left: auto;
	right: 0;
	top: 100%;
	margin-top: 7px;
	padding: 0;
	box-shadow: none;
	border-top: none;
	border-color: #ddd;
}

.dropdown .dropdown-menu-arrow {
    display: none;
    position: absolute;
    top: 100%;
    right: 12px;
    width: 0;
    height: 0;
    border: 12px solid transparent;
    pointer-events: none;
}

.dropdown.open .dropdown-menu-arrow {
    display: block;
}

.dropdown .dropdown-menu-arrow {
    margin-top: -16px;
    border-bottom-color: #fff;
    z-index: 1002;
}

.dropdown .dropdown-menu-arrow.dropdown-menu-arrow-border {
    margin-top: -17px;
    border-bottom-color: #d7d7d7;
    z-index: 1001;
}

.dropdown .dropdown-menu li {
    height: 35px;
    line-height: 35px;
    padding: 0 10px;
    border-top: 1px solid #ddd;
    white-space: nowrap;
    position: relative;
    font-size: 12px;
    font-weight: 700;
    color: #999;
    cursor: pointer;
}

.dropdown .dropdown-menu li:hover {
    background: #f8f8f8;
    color: #777;
    border-left-color: #0099ff;
}

.dropdown .dropdown-menu li:first-child {
    border-radius: 4px 4px 0 0;
}

.dropdown .dropdown-menu li.category {
    height: 30px;
    line-height: 35px;
    cursor: default;
}

.dropdown .dropdown-menu li.category:hover {
    background: none;
    color: #999;
}

.dropdown .dropdown-menu li > a {
    padding: 0 10px;
    margin: 0 -10px;
    font-weight: 700;
    line-height: inherit;
    color: #999;
}

.dropdown .dropdown-menu li > a:hover {
    color: #777;
}

.dropdown .dropdown-menu li .line {
    position: absolute;
    left: -1px;
    top: -1px;
    display: block;
    width: 4px;
    height: 36px;
    z-index: 100;
}

.dropdown .dropdown-menu li:first-child .line {
    border-top-left-radius: 3px;
}

.dropdown .dropdown-menu li:last-child .line {
    border-bottom-left-radius: 3px;
}

.dropdown .dropdown-menu li:hover .line {
    background: #0099ff;
}

.dropdown .dropdown-menu li .dropdown-icon {
	display: inline-block;
	width: 30px;
	height: 35px;
    line-height: 35px;
    margin-right: 5px;
    vertical-align: top;
	text-align: center;
	font-size: 19px;
	color: #999;
}

/* dropdown with categories */
.dropdown.dropdown-has-categories .dropdown-menu li {
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
}

.dropdown.dropdown-has-categories .dropdown-menu li.category {
    line-height: 35px;
    padding-left: 5px;
    border-top: none;
}

.dropdown.dropdown-has-categories .dropdown-menu li > a {
    padding: 0 10px 0 5px;
    margin: 0 -10px 0 -5px;
    display: block;
}

.dropdown.dropdown-has-categories .dropdown-menu li .line {
    height: 31px;
}

.dropdown.dropdown-has-categories .dropdown-menu li .dropdown-icon {
    height: 30px;
    line-height: 30px;
    margin-right: 0;
    font-size: 17px;
}



/* buttons */
.btn {
    border-radius: 2px;
    border: none;
    box-shadow: 0 2px 0 rgba(0,0,0,0.3);
}

.btn.btn-xs {
    box-shadow: 0 1px 0 rgba(0,0,0,0.3);
}

.btn.btn-link {
    box-shadow: none;
}

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

.btn.btn-default:focus,
.btn.btn-default:hover
{
	background: #0099ff;
    color: #fff;
}

.btn.btn-default.disabled:focus,
.btn.btn-default.disabled:hover
{
    background: #585858;
}

.btn.btn-primary {
    background: #0099ff;
    color: #fff;
    box-shadow: 0 2px #0484DA;
}

.btn.btn-primary:focus,
.btn.btn-primary:hover
{
    background: #00ccff;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.btn.btn-primary.disabled:focus,
.btn.btn-primary.disabled:hover
{
    background: #0099ff;
}



/* select users*/
.select-users .users-list {
    margin-bottom: 5px;
    max-height: 125px;
    overflow: auto;
    border-bottom: 1px solid #ccc;
}

/*
.select-users .user {
    height: 22px;
    line-height: 22px;
    cursor: pointer;
}*/
.select-users .user {
    min-height: 22px;
    line-height: 22px;
    cursor: pointer;
    display: flex;
    align-items: baseline;
    word-break: break-word;
}

.select-users .user:hover {
    background: #eee;
}

.select-users .user .fa {
    margin: 0 5px;
}

.select-users .user .fa-circle-o {
    color: #999;
}

.select-users .user .fa-check-circle {
    display: none;
    color: #87B824;
}
.select-users .user.selected .fa-check-circle {
    display: inline-block;
}
.select-users .user.selected .fa-circle-o {
    display: none;
}

.select-users .user:hover .fa-circle-o {
    display: none;
}
.select-users .user:hover .fa-check-circle {
    display: inline-block;
    color: #999;
}
.select-users .user.selected:hover .fa-check-circle {
    color: #87B824;
}



/* work invitation modal */
.work-invite-modal .form-group {
    margin-bottom: 5px;
}

.work-invite-modal label {
    margin-top: 5px;
}

.work-invite-modal .email-to {
    height: 34px;
    resize: none;
}

.work-invite-modal .email-content-viewer {
    margin-top: 10px;
    border: 1px solid #ddd;
}

.work-invite-modal .email-content-viewer .email-body {
    resize: none;
}

.work-invite-modal .modal-footer .btn-link {
	color: #555;
}



/* work saved modal */
.work-saved-modal .btn {
    min-width: 300px;
}

.work-saved-modal .btn-default {
    background: #e0e0e0;
    color: #555;
}

.work-saved-modal .btn-default:hover {
    background: #ccc;
    color: #555;
}



/* user list modal */
.user-list-modal .modal-body {
    min-height: 50px;
    max-height: 300px;
    overflow: auto;
    -webkit-transition: min-height 0.3s ease-out;
    transition: min-height 0.3s ease-out;
}

.modal.loading .modal-body {
    min-height: 120px;
}

.user-list-modal .modal-body .user {
    margin-bottom: 10px;
}

.user-list-modal .modal-body .user a {
    display: inline-block;
}

.user-list-modal .modal-body .user a:hover {
    text-decoration: none;
}

.user-list-modal .modal-body .user .avatar {
    vertical-align: middle;
}

.user-list-modal .modal-body .user .name-wrapper {
    display: inline-block;
    vertical-align: middle;
    padding-left: 5px;
    line-height: 1;
}

.user-list-modal .modal-body .user .name-wrapper .viewed-time-ago {
    color: #777;
    font-size: 12px;
}



/* other */
.btn .fa {
    margin-right: 5px;
}

.btn.btn-xs .fa {
    margin-right: 3px;
}

.btn .fa.fa-caret-down {
	margin-left: 5px;
	margin-right: 0;
	font-size: 14px;
}

.fw-light {
    font-weight: 300;
}

.fw-normal {
    font-weight: 400;
}

.fw-bold {
    font-weight: 700;
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
