/**
* LAYOUT
*/

#top-ad {
	text-align: center;
    position: relative;
    background-color: #fff;
}

#top-ad-wrapper {
    position: relative;
}

body.controller-relationship div.content-area { border-left: 1px solid #CCC; }

/**
* GENERAL
*/
body{
   
}
a.body-ads{
    cursor: pointer;
    display: block;
    height: 100%;
    position: fixed;
    text-decoration: none;
    top: 0;
    width: 100%;
}
a.body-ads div{
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #fff;
    background-position: center top;
    display: block;
    height: 100%;
    width: 100%;
}
a.body-ads.default-pointer{
    cursor: default;
}


div.nav-item {
    float: left;
    padding-right: 10px;
}

#owner-title {
    font-size: 18px;
    line-height: 28px;
}

#page-title {
    float: left;
    font-size: 15px;
    line-height: 22px;
}

#page-title a {
    color: #FFF;
}

#page-title img {
	margin-right: 5px;
}

#page-secondary-title{
	font-size: 11px;
	margin-bottom: 6px;
}

#top-buttons {
    float: right;
    height: 21px;
    line-height: 21px;
}

/*div.header {
	margin-bottom: 5px;
}*/

div.header h4 {
	display: inline-block;
}

div.help-toggler {
	margin-left: 5px;
    background: url('/static/img/icons/help.png') no-repeat left top;
    width: 14px;
    height: 17px;
    display: inline-block;
}

div.help-icon {
    margin-left: 5px;
    background: url('/static/img/icons/help.png') no-repeat left top;
    width: 14px;
    height: 13px;
    display: inline-block;
    cursor: help;
    vertical-align: middle;
}

div.help-text {
	border: 1px solid #CCC;
	padding: 10px;
	padding-left: 30px;
	margin: 5px 0;
	background: url('/static/img/icons/help.png') no-repeat 8px 12px;
	position: relative;
}

a.help-close {
	float: right;
}

a.help-close-icon {
	position: absolute;
	top: 5px;
	right: 10px;
}

#green-bar a {
    color: #FFF;
    font-weight: bold;
}

#green-bar a:hover {
    text-decoration: underline;
}

#account-dropdown-data a {
    color: #000;
}

#horizontal-menu {
    float: right;
    margin-top: 15px;
    color: #000;
}

#horizontal-menu li {
    display: inline-block;
    border-right: 1px solid #000;
    line-height: 11px;
    padding-right: 5px;
    margin-right: 5px;
}

#horizontal-menu li:last-child {
    padding-right: 0;
    margin-right: 0;
}

#horizontal-menu li li {
    border-right: 0;
}

#horizontal-menu ul.dropdown-menu {
	left: -120px;
}

#horizontal-menu ul.dropdown-menu li {
    margin-right: 0;
    padding-right: 0;
    width: 150px;
}

#horizontal-menu #other-other {
    border-right: 0;
}

#horizontal-menu a {
    color: #000;
}

#horizontal-menu a:hover {
    color: #809900;
    text-decoration: none;
}

.date {
    color: #808080;
}

/**
* Specific
*/
.row {
    margin: 0;
    padding: 5px 0;
    border-bottom: 1px solid #CCC;
}

.row {
    border-bottom: 0;
}

div.unread {
    background-color: #F03D25;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    padding: 0;
    position: absolute;
    top: 0px;
    left: 0px;
    display: none;
    z-index: 100;
}

div.unread div.count {
    color: #FFF;
    font-weight: bold;
    font-size: 11px;
    padding: 0 4px;
    line-height: 15px;
}

#navigation div.row {
    border-bottom: 1px solid #CCC;
}

div.unread-mark {
    background-color: #eff5d0;
}

#front #header-inner {
    width: 940px;
}

#navigation {
    position: absolute;
    bottom: 5px;
}

#logo {
    margin-top: 10px;
    float: left;
}

#front #logo {
    margin-top: 10px;
}

#user-bar {
    float:right;
    margin-top: 14px;
}

#account-dropdown {
    float:right;
    margin-top: 27px;
    margin-left: 5px;
}

/**
*  Site Menu
*/
#site-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-top: 20px;
}

#site-menu li {
    padding-bottom: 5px;
}

#site-menu img {
    margin-right: 8px;
}

#site-menu a {
    color: #000;
}

#site-menu li#album-all,
#site-menu li#group-index,
#site-menu li#apps-wiki-dimord-front {
    border-bottom: 1px solid #CCC;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

#site-menu li#apps-wiki-lists-category-filter-4 {
	border-top: 1px solid #CCC;
    margin-top: 10px;
    padding-top: 10px;
}

/**
* User Bar
*/
#user-bar a {
    width: 150px;
    height: 30px;
    line-height: 27px;
}

#user-bar #account-manage a {
	line-height: 18px;
	height: 18px;
}

#user-bar a:hover {
    text-decoration: none;
}

#user-bar a.user-link img {
	margin-right: 2px;
}

.user-block img {
    margin-right: 5px;
}

#nav-user-interaction div.nav-item {
    position: relative;
}

#nav-user-interaction div.nav-inside {
    display: none;
    position: absolute;
    top: 25px;
    left: 0;
    width: 390px;
    color: #333;
    /*padding: 15px;*/
}

#nav-user-interaction div.arrow { 
	background: url('/static/img/up-arrow.png') no-repeat left top; 
	width: 18px;
	height: 10px;
	z-index: 10;
	position: relative;
}

#nav-user-interaction div.nav-title {
    background-color: #f5f5f5;
    border: 1px solid #cccccc;
    border-bottom: 0;
    line-height: 26px;
    font-size: 13px;
    font-weight: bold;
    padding-left: 10px;
    margin-top: -1px;
    z-index: 9;
    position: relative;
}

#nav-user-interaction div.rows {
    background-color: #fff;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    z-index: 9;
    max-height: 280px;
    overflow: auto;
}

#nav-user-interaction div.row {
    position: relative;
    padding: 10px;
}

#nav-user-interaction div.row div.unread-mark {
    background-color: #E6E6E6;
}

#nav-user-interaction div.friend-requests div.nav-inside {
    background-position-x: 7px;
}
#nav-user-interaction div.friend-requests div.nav-inside div.arrow { left: 7px; }

#nav-user-interaction div.profile-pic {
    float: left;
    padding-right: 5px;
}

#nav-user-interaction div.friend-requests a.btn {
    position: absolute;
    right: 70px;
    bottom: 10px;
}

#nav-user-interaction div.friend-requests a.btn.grey {
    right: 15px;
}

#nav-user-interaction div.friend-requests .row:last {
    border-bottom: 0;
}

#nav-user-interaction div.messages div.nav-inside {
    left: -40px;
    background-position-x: 49px;
}
#nav-user-interaction div.messages div.nav-inside div.arrow { left: 49px; }

#nav-user-interaction div.notifications div.nav-inside {
    left: -82px;
    background-position-x: 89px;
}
#nav-user-interaction div.notifications div.nav-inside div.arrow { left: 89px; }

#nav-user-interaction div.nav-more {
    background-color: #f5f5f5;
    border: 1px solid #cccccc;
    border-top: 0;
    line-height: 26px;
    font-size: 11px;
    text-align: center;
}

#nav-user-interaction div.friend-requests div.icon-img {
    background: url('/static/img/icons/friend-requests.png') no-repeat 9px 5px;
    width: 31px;
    height: 25px;
}

#nav-user-interaction div.messages div.icon-img {
    background: url('/static/img/icons/messages.png') no-repeat 6px 7px;
    width: 31px;
    height: 25px;
}

#nav-user-interaction div.notifications div.icon-img {
    background: url('/static/img/icons/notifications.png') no-repeat 6px 7px;
    width: 31px;
    height: 25px;
}

#nav-user-interaction div.friend-requests.open div.icon-img {
    background: url('/static/img/icons/friend-requests-open.png') no-repeat left top;
}

#nav-user-interaction div.messages.open div.icon-img {
    background: url('/static/img/icons/messages-open.png') no-repeat left top;
}

#nav-user-interaction div.notifications.open div.icon-img {
    background: url('/static/img/icons/notifications-open.png') no-repeat left top;
}

#nav-user-interaction div.nav-inside { display: none; }
#nav-user-interaction div.open div.nav-inside {	display: block; }
#nav-user-interaction div.loader { display: none; }
#nav-user-interaction div.loading div.loader { background-color: #FFF; border-left: 1px solid #CCC; 
		border-right: 1px solid #CCC; padding: 10px 0; text-align: center; display: block; }
#nav-user-interaction div.avatar { float: left; margin-right: 5px; }

#nav-user-interaction div.notifications div.rows a,
#nav-user-interaction div.messages div.rows a
{ color: #333; }
#nav-user-interaction div.notifications div.rows a:hover,
#nav-user-interaction div.messages div.rows a:hover,
#nav-user-interaction div.messages div.rows a:hover div
{ text-decoration: none; }

#nav-user-interaction div.messages div.rows a div.name {
	color: #333;
	font-weight: bold;
}

#nav-user-interaction div.messages div.row:hover,
#nav-user-interaction div.notifications div.row:hover {
	background-color: #EFF5D0;
}

#nav-user-interaction div.notifications div.row div.link {
	cursor: pointer;
}

.like-box-friend-action{
	float:right;
}

.delete-item{
	float:right;
}

.ad-create {
    text-align: center;
}

#search {
    float: left;
    margin-left: 20px;
    margin-top: 25px;
    width: 375px;
}

#search input {
    width: 218px;
}

#search div.suggestions a div.title {
	margin-bottom: 0;
}

#search div.suggestions a div.description {
	padding-left: 55px;
}

select#search-type {
    background-color: #FFF;
    height: 22px;
    line-height: 22px;
    padding:0;
    font-size: 11px;
    border: 1px solid #96b300;
    width: 70px;
    margin: 0;
}

#search-field {
    height: 20px;
    border: 1px solid #96b300;
    border-left: 0;
    width: 226px;
}

div#search div.icon {
    background: url('/static/img/icons/search.png') no-repeat left top;
    width: 23px;
    height: 24px;
    display: inline-block;
    position: relative;
    cursor: pointer;
}

#search-results div.cover {
	float: left;
	margin-right: 10px;
}

#search-results a {
	color: #333;
}

#search-results a:hover {
	text-decoration: none;
}

#search-results div.row {
	padding-top: 10px;
	padding-bottom: 6px;
	border-bottom: 1px solid #CCC;
}

#search-results a:hover div.row {
	background-color: #EFF5D0;
}

#search-button {
	display: block;
	float: left;
}

#search div.autocomplete {
	width: 220px !important;
}

div.white-container,
div.comment-container{
    background-color: #FFF;
    border-radius: 5px;
    padding: 10px;
}

/**
*  Like, Comment, Share
*/
div.post-actions a {
    margin-right: 5px;
}

a.item-like.liked {
    opacity: 0.4;
    cursor: default;
}

div.post-actions-container {
    background-color: #eff5d0;
    padding: 4px 10px;
}

div.post-actions-container a {
    margin-right: 5px;
}

div.green-container {
    background-color: #eff5d0;
    padding: 3px 10px;
}

div.comment-row {
    background-color: #eff5d0;
    margin: 2px 0;
    padding: 5px 15px;
}

div.comment-form {
    background-color: #eff5d0;
    margin: 2px 0;
    padding: 3px 15px;
}

div.comment-padded {
    padding-left: 45px;
}

div.comment-author {
    position: absolute;
}

div.comment-profilepic {
    display: inline-block;
}

div.comment-body {

}

div.comment-row a.user-link {
    float: left;
    position: absolute;
}

div.comment-row div.comment-created-date {
    color: #808080;
}

div.like_container {
    display: inline-block;
}

div.copyright {
    float: left;
}

div.copyright-inner img {
	margin-right: 10px;
}

div.circle {
	display: inline-block;
	top: -2px;
	position: relative;
}

div.footer-menu {
    float: right;
    margin-right: 5px;
}

div.footer-menu a {
    color: #333;
}

/**
*  Vertical menu
*/
.drop-down{
	margin-left: 0px;
	width: 173px;
	float: left;
}
.drop-down-fl{
	color: #333333;
	list-style-type: none;
	margin-top: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #ccc;
	cursor: pointer;
	font-weight: normal;
}
.drop-down-fl img{
	padding-right:5px;
	position: absolute;
	margin-top: -5px;
}
.drop-down-fl div{
	padding-left: 30px;
	padding-right: 5px;
}
.drop-down-sl{
	list-style-type: none;
	margin-left: 8px;
	display: none;
}
.drop-down-sl-open{
	display: block !important;
}
.drop-down-sl li{
	margin-top: 10px;
	padding-left: 30px
}
.drop-down-fl-open{
	background-image: url(/static/img/downarrow.jpg);
    background-repeat: no-repeat;
	background-position: 0 7px;
}
.drop-down-active-sub{
	background-color: #eff5d0;
}
.drop-down-active{
	font-weight: bold;
	cursor: default;
}
.drop-down-active ul{
	display: block !important;
}
.drop-down-link{
	color:#333333;
	text-decoration:none;
	font-weight: normal;
}
.drop-down-label{
	margin-left: -5px;
	cursor: default;
}
div.message-date {
    color: #808080;
    text-decoration: none;
}

div.message-text {
    color: #000;
    text-decoration: none;
}

/**
*  Front Page
*/
#front #horizontal-menu {
    float: none;
    margin: 0;
    bottom: 8px;
    position: absolute;
}

#front #search {
    float: none;
    margin: 0;
    bottom: 0px;
    right: -11px;
    position: absolute;
}

#front #site-container {
    background-color: #fff;
    position: relative;
    padding: 0;
}
#site-container {
    background-color: #fff;
    position: relative !important;
    padding: 0;
}

#front div.layout {
    border: 0;
}

#login-area {
    margin-top: 42px;
    float: right;
}

#login-area .btns {
    display: inline-block;
}

#login-area .left {
    float: left;
}

#login-area .additional {
    margin-top: 10px;
}

#login-area .additional a,
#login-area .additional {
    color: #333;
    font-weight: normal;
    font-size: 10px;
}

#login-area .right {
    float: right;
}

#login-area .forgot {
	margin-right: 73px;
}

#login-area .signup {
	margin-right: 2px;
}

#login-area .login-btn {
    background: url('/static/img/front/login.png') no-repeat left top;
    border: 0;
    color: transparent;
    height: 23px;
    width: 50px;
}

#login-area .login-btn:hover {
    background: url('/static/img/front/login-hover.png') no-repeat left top;
}

#username,
#password {
    width: 165px;
    margin-bottom:0px;
    margin-right: 9px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #78820a;
    line-height: 12px;
    font-size: 10px;
    height: 12px;
}

#statistics {
    position: absolute;
    bottom: 40px;
    font-size: 14px;
    font-weight: bold;
    color: #262626;
    left: 10px;
}

div.block {
    margin-bottom: 10px;
}

div.block div.block-title {
    background-color: whiteSmoke;
    height: 28px;
    line-height: 28px;
    border: 1px solid #CCC;
    border-bottom: 0;
}

#gallery {
    
}

#gallery div.block-title {
	background: #f5f5f5 url('/static/img/today/best.png') no-repeat 5px 3px;
	padding-left: 45px;
	font-weight: bold;
}

#gallery div.block-content {
    padding: 20px;
    border: 1px solid #CCC;
    border-top: 0;
}

#gallery-slider a img {
	margin: 1px;
	margin-right: -2px;
}

#footer {
    border-top: 1px solid #ccc;
    line-height: 20px;
    padding-top: 10px;
    padding-bottom: 15px;
}

body.sidebar-left #footer {
    margin-left: 173px;
}

div.list-posts textarea.comment-body {
    width: 380px;
}

#cboxClose {
    top: 0;
    right: 8px !important;
    width: 15px;
    height: 15px;
}

div.simple_lightbox #cboxClose {
	top: 3px;
    right: 5px !important;
}

#info .connected {
	background: url('/static/img/connected.png?2') no-repeat left top;
    float: left;
    width: 240px;
    height: 83px;
    position: relative;
    /*right: -2px;*/
    border-right: 1px solid white;
}

#info .connected .schools {
	margin-left: 37px;
	margin-top: 7px;
}

#info .connected .peoples {
	margin-left: 48px;
}

#info .connected .schools,
#info .connected .peoples {
	display: inline-block;
}

#info .connected .fb {
	margin-top: 15px;
}

#info .connected .fb .fb-like {
	vertical-align: middle;
	margin-left: 7px;
}

div.pager-more-inner {
    border: 1px solid #cccccc;
    background-color: #f5f5f5;
    line-height: 30px;
    height: 30px;
    padding-left: 15px;
    margin-top: 15px;
}

div.pager-more div.loader {
	float: right;
	display: none;
	margin-right: 5px;
}

div.paginator.more div.loader {
	float: right;
	display: none;
	margin-right: 5px;
}

div.see-more-wrapper div.see-more-available div.full { display: none; }
div.see-more-wrapper div.body { word-wrap: break-word; }
div.see-more-wrapper div.body div.full a.see-less { display: none; }
div.see-more-wrapper div.see-more-available div.full a.see-less { display: inline-block; }

div.collection div.rows > div.page div.row.post:last-child { border-bottom: 0 !important; }
div.more { margin: 10px 0; margin-top: 0; border: 1px solid #CCC; padding-left: 10px; background-color: #f5f5f5; line-height: 30px; }

#user_embed img {
    margin-bottom: 10px;
}

div.action-buttons {
    padding: 7px 5px;
}

div.grey-container {
    background-color: #f5f5f5;
    padding: 20px;
    padding-top: 10px;
}

div.usersdialog-wrapper .modal {
    width: 400px;
}

div.usersdialog-wrapper div.usersdialog-body {
    overflow: auto;
    max-height: 220px;
    padding-right: 15px;
}

div.usersdialog-wrapper div.user.row {
    padding-bottom: 6px;
    border-bottom: 1px solid #CCC;
}

div.usersdialog-wrapper div.author-pic {
	margin-top: -2px;
	margin-right: 3px;
}

div.usersdialog-wrapper div.user.row:last-child {
    padding-bottom: 0px;
    border-bottom: 0;
}

div.usersdialog-wrapper {
    display: inline;
}

div.usersdialog div.author-name {
    display: inline-block;
}

div.usersdialog div.author-pic {
    float: left;
    margin-right: 10px;
}

div.usersdialog-wrapper div.usersdialog {
    line-height: 16px;
}

div.modal.green div.modal-header div.icon {
    display: none;
}

div.hover-card-content {
    display: inline-block;
}
.gift-info .from div.hover-card-content{
    min-width: 100px;
}
div.compose-message {
    width: 440px;
    margin: -250px 0 0 -224px;
}

#message-form,
#message-form textarea {
    margin: 0;
}

#message-form textarea {
    width: 400px;
	height:60px;
}

div.icon.block {
    background: url('/static/img/icons/block.png') no-repeat left top;
    width: 10px;
    height: 10px;
}

div.icon.remove {
    background: url('/static/img/icons/remove.png') no-repeat left top;
    width: 7px;
    height: 8px;
}

#davadit { display: none; margin: 0 20px; margin-right: 0; border: 1px solid #CCC; padding: 10px; }
#davadit img { float: left; margin-right: 10px; }
#davadit div.text { padding-left: 110px; }
#davadit div.text:hover{ text-decoration: none; }
a.davadit-toggler { outline: none; position: absolute; top: 4px; right: 0; }
body.controller-newsfeed a.davadit-toggler { top: 3px; }
body.controller-newsfeed #davadit { margin-bottom: 10px; }
div.flag { background: url('/static/img/davadit/passive.png') no-repeat left top; width: 16px; height: 20px; }
div.flag:hover { background: url('/static/img/davadit/hover.png') no-repeat left top; }
a.active div.flag { background: url('/static/img/davadit/active.png') no-repeat left top; }

#newsfeed-notification{
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
    color: #e58a8a;
    font-size: 11px;
    margin: 5px 0 -1px;
    padding: 5px 0;
    position: relative;
}
#newsfeed-notification p{
    overflow: hidden;
    margin-bottom: 0;
}
#newsfeed-notification img{
    float: left;
    margin-right: 3px;
    vertical-align: middle;
}
#newsfeed-notification .notification-close{
    background: url("/static/img/davadit/close-note.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    height: 15px;
    position: absolute;
    cursor: pointer;
    right: 5px;
    top: 6px;
    width: 15px;
}
#newsfeed-notification .notification-close:hover{
    background-position: -20px 0;
}
.notification-toggler{
    top: 3px;
    outline: none;
    position: absolute;
    bottom: 10px; 
    right: 20px;
}
.notification-toggler .icon{
    background: url('/static/img/davadit/notification.png') no-repeat 0 0;
    width: 20px; 
    outline: 0;
    height: 20px;
}
.notification-toggler.active .icon{
    background-position: -21px 0;
}

#colorbox, #cboxOverlay, #cboxWrapper {
    z-index: 21000 !important;
}

/* profile */
.profile_menu_nav
{
    margin-bottom: 15px;
}
.profile_blog
{
    margin-bottom: 7px;
}
.inactive_text
{
    color: #808080 !important;
}
.profile_blog_end
{
    margin-bottom: 11px;
}
.profile_title
{
    margin-bottom: 4px;
    font-weight:bold;
}
.profile_desc
{
   color: #808080;
   margin-bottom: 10px;
}
.profile_email
{
	padding-top: 3px;
}
.profile_blog_b_day
{
    margin-bottom: 13px;
    margin-right: 5px;
}
.lost_password
{
	margin-top: 15px;
}
.lostpassword-page-text
{
	margin-bottom: 15px;
}
.lostpassword-flag
{
	float: left;
}
.lostpassword-page-text img
{
	margin-right: 5px;
}
.lostpassword-page-text span
{
	color:#808080;
}
/* profile end */

/** QTip **/
.ui-tooltip-default {
	border: 1px solid #CCC;
	background-color: #FFF;
	-webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

/* EXPERIMENTAL 
span.fullname {
	line-height: 22px;
}*/

ul.dropdown-menu li:hover {
	background-color: #EFF5D0;
}

div.inside-collection {
	border-radius: 1px;
    padding-left: 20px;
}

#account-manage {
	position: relative;
	display: inline-block;
}

#account-manage ul.submenu {
	left: -150px;	
}

#account-manage ul.submenu a {
	color: #333;
	font-weight: normal;
}

#account-manage ul.submenu a:hover {
	color: #6B8000;
}

#notifications-list div.avatar {
	float: left;
}

#notifications-list div.text,
#notifications-list div.date {
	padding-left: 60px;
}

#notifications-list div.row {
	border-bottom: 1px solid #CCC;
	cursor: pointer;
}

#notifications-list div.paginator {
	margin-top: 10px;
}

#stranger {
	padding-top: 10px;
	position: relative;
}

#stranger div.text {
	position: absolute;
	width: 230px;
	height: 120px;
	top: 40px;
	left: 70px;
	color: white;
	font-size: 15px;
	line-height: 30px;
}

div.gift-hover-card-data,div.staff-hover-card-data {
    display: none;
}
body.action-schoolstaff div.ui-tooltip-tip { display: none !important; }

body.action-schoolstaff .ui-tooltip{
    border:0;
}

div.gift-info div.title,
div.gift-info div.price,
div.gift-info span.anonymous,
div.gift-info div.from {
	color: #808080;
	margin-bottom: 10px;
}

div.gift-info div.title strong,
div.gift-info div.price strong,
div.gift-info span.anonymous strong,
div.gift-info div.from strong {
	color: #333;
}

#gifts-list div.gift ,div.staff div.staff-hover{
    float: left;
    margin-right: 5px;
    padding-top: 20px;
}

#gifts-list div.ad-gift {
    border-bottom: 1px solid #cccccc;
    position: relative;
    padding-bottom: 5px;
    padding-top: 0px;
    width: 100%;
}


#gifts-list div.ad-gift-description{
    float: right;
    margin-left: 20px;
}

div.ad-gift-description{
    width: 400px;
}

div.ad-gift-more{
    float: left;
    margin-right: 5px;
}

.ad-gift-count{
    width: 60px;
}

.ad-dayly-gift{
    margin-top: 10px;
}

/*#gifts-list div.gift:nth-child(6n) {
    margin-right: 0;
}*/

div.gift-hover-card-tooltip div.ui-tooltip-content {
    padding: 15px;
}

div.presentGift {
    width: 350px;
    margin: -250px 0 0 -240px;
}

div.presentGift a.present {
    display: none;
}

div.presentGift form {
	padding: 4px;
}

div.presentGift div.gift,
div.presentGift form {
    display: none;
}

div.presentGift img.gift-img {
    float: left;
    margin-right: 20px;
}

div.friend-selector-widget div.avatar {
	margin-right: 5px;
	display: inline-block;
}

div.friend-selector-widget div.row:hover {
    cursor: pointer;
    background-color: #eff5d0;
}

div.presentGift div.row div.avatar {
	display: inline-block;
	margin-right: 5px;
}

#go-top {
	width: 19px;
	height: 19px;
	position: fixed;
	right: 0;
	top: 400px;
	cursor: pointer;
	display: none;
	background: url('/static/img/go-top.png') no-repeat left top;
}

#advertisements div.block-title {
	margin-bottom: 5px;
}

#advertisements div.block-title img {
	margin-right: 7px;
}

#advertisements div.ad {
	margin-bottom: 5px;
	border-bottom: 1px solid #CCC;
	padding-bottom: 10px;
}

#advertisements div.ad img {
	float: left;
}
#advertisements div.ad .title + a{
    position: relative;
    float: left;
}
#advertisements div.ad .play{
    position: absolute;
    bottom: 5px;
    left: 5px;
    z-index: 990;
}
#advertisements div.ad div.title {
	font-weight: bold;
	letter-spacing: 1px;
	padding-top: 2px;
	padding-bottom: 4px;
}

#advertisements div.ad div.description {
	padding-left: 117px;
	padding-right: 3px;
	line-height: 14px;
}

#advertisements div.ad div.description a {
	color: #333;
}

#advertisements div.ad div.description a:hover {
	color: #333;
	text-decoration: none;
}

#advertisements #google_ad{
    width: 240px;
    height: 400px;
}

body.controller-adgifts div.header-image {
    padding-top: 20px;
    padding-bottom: 10px;
}
div.ad-gift-list-table {
    display: table;
    width: 526px;
    color: #333333;
    border-left: 1px solid #ccc;
}
div.ad-gift-list-tr {
    display: table-row;
    color: #333333;
}
div.ad-gift-list-tr.inactive {
    opacity: 0.3;
}
div.ad-gift-list-td {
    vertical-align:middle;
    height:50px;
    display: table-cell; 
    padding-left: 5px;
    padding-right: 5px;
    color: #333333; 
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}
div.ad-gift-list-td.center {
    text-align: center;
}
div.ad-gift-list-td.larger {
    font-size: 14px;
    font-weight: bold;
}
div.ad-gift-list-headers{
    vertical-align:middle;
    background-color: #f5f5f5;
    height: 27px;
}
div.ad-point-logo{
    background-position: 4px 0px;
    height: 30px;
    line-height: 30px;    
}

div.ad-gift-list-numbering{
    text-align:center;
}


div.ad-gift-list-headers-tr div:last-child{
    border-right: 1px solid #ccc;
}

div.ad-gift-tr-colored{
    background-color: #f5f5f5;
}

div.ad-gift-rules-header{
    margin-bottom: 10px;
}

div.ad-gift-rules{
    line-height: 20px;
}

div.ad-gift-attention,div.ad-gift-present{
    margin-top: 10px;
    margin-bottom: 10px;

}

div.ad-gift-rules-footer{
    margin-top: 10px;

}

/* secret-santa */
a.secret-gift{
    color: #000;
}
a.secret-gift img{
    margin-right: 7px;
}
.secret-santa .gift{
    padding-top: 15px !important;
}
.secret-santa .empty-gifts-list{
    border: 1px solid #cccccc;
    padding: 70px 0;
    margin-top: 20px;
    text-align: center;
    font-size: 18px;
    color: #808080;
}
.secret-santa .empty-gifts-list img{
    margin-bottom: 30px;
}
body.controller-gifts .santa-header .attention{
    padding: 10px;
    border-width: 0 1px 1px 1px;
    border-style: solid;
    
    border-color: #ccc;
}
body.action-secret-santa #view-top #page-title,
body.action-list-santa #view-top #page-title,
body.action-list-santa #view-top #top-buttons,
body.action-secret-santa #view-top #top-buttons{
    display: none;
}
body.controller-gifts .santa-header .attention span{
    display: block;
    color: red;
}

body.action-list-santa .ui-tooltip{
    max-width: 250px;
    color: #666;
    font-family: "NotoSansArmenianRegular","NotoSansRegular";
    font-size: 12px;
    padding: 10px 10px 12px;
    text-shadow: 0px 1px 0px rgba(255, 255, 255, 1);
    text-align: center;
    -webkit-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow:    0px 1px 3px 0px rgba(0, 0, 0, 0.3);
    box-shadow:         0px 1px 3px 0px rgba(0, 0, 0, 0.3);
    background-color: #f0f0f0;
    border: 3px solid #999;
    border-radius: 8px;
}
body.action-list-santa .ui-tooltip .arroww.bottom.center:before,
body.action-list-santa .ui-tooltip .arroww.bottom.left:before,
body.action-list-santa .ui-tooltip .arroww.bottom.right:before {
  border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #f0f0f0;
    content: "";
    height: 0;
    left: 50%;
    z-index: 9999;
    margin-left: -8px;
    position: absolute;
    bottom: -5px;
    width: 0;
}
body.action-list-santa .ui-tooltip .arroww.bottom.center:after,
body.action-list-santa .ui-tooltip .arroww.bottom.left:after,
body.action-list-santa .ui-tooltip .arroww.bottom.right:after {
  border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #999;
    content: "";
    height: 0;
    left: 50%;
    margin-left: -8px;
    position: absolute;
    bottom: -9px;

    width: 0;
}
body.action-list-santa .ui-tooltip .arroww.top.center:before,
body.action-list-santa .ui-tooltip .arroww.top.left:before,
body.action-list-santa .ui-tooltip .arroww.top.right:before {
  border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #f0f0f0;
    content: "";
    height: 0;
    left: 50%;
    z-index: 9999;
    margin-left: -8px;
    position: absolute;
    top: -5px;
    width: 0;
}
body.action-list-santa .ui-tooltip .arroww.top.center:after,
body.action-list-santa .ui-tooltip .arroww.top.left:after,
body.action-list-santa .ui-tooltip .arroww.top.right:after {
  border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #999;
    content: "";
    height: 0;
    left: 50%;
    margin-left: -8px;
    position: absolute;
    top: -8px;
    width: 0;
}
div.ad-point-logo span{
    margin-left: 5px;
    font-size: 14px;
    line-height: 25px;
    font-weight: bold;
    color: #ff0000;
}
/* end */
a.normal {
	color: #333;
}
a.normal:hover {
	color: #333;
	text-decoration: none;
}

div.usersdialog {
	width: 380px;
	margin: -250px 0 0 -230px;
}

body.action-weeklygrades a.grade-vote,body.action-weeklygrades a.grade-report{
    margin-top: -10px;
}

html.ie10 .fileinput-button input{
    border-top-style:none;
    border-right-style:none;
    border-left-style:none;
    border-bottom-style:none;
}

html.ie10 #username, html.ie10 #password{
    height:20px;
}
.sad-icon{
    display: block;
    margin: 5px auto 20px;
}