html, body{
    /*font-family: Verdana,Helvetica,Arial,sans-serif;*/
	font-family: Tahoma,Geneva,sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.7;
    /*background-color: #5CB85C;/*#F5FCFE;*/
}

div, table {
    font-size: 12px;
}

.container {
    /*font-size: 12px !important;*/
    /*background-color: #fff;*/
}

body {
    /*font-size: 12px !important;*/
    background-image: none;
    /*background-image: url("http://www.debeselis.net/theme/images/backs.gif");*/
    /*background-repeat: repeat-x;*/
    /*background-color: #656565;*/
}
h1, h2, h3, h4{
	font-family: Tahoma,Geneva,sans-serif;
    /*font-family: "Lucida Grande","Trebuchet MS",Verdana,sans-serif;*/
}
h1 { font-size: 24px; }
h2 { font-size: 20px; }
h3 { font-size: 16px; }
h4 { font-size: 14px; }
h2.page-heading {
    margin: 30px 0 20px 0;
    color: #5CB85C; /*red: #D51007; black: #1b1b1b;*/
    font-size: 18px;
    line-height: 13px;
}
h3.page-heading {
    margin: 30px 0 20px 0;
    color: #5CB85C; /*red: #D51007; black: #1b1b1b;*/
    font-size: 14px;
    line-height: 13px;
}
h1 {
    color: #5CB85C; /*#4FA4BE; /*6E9835;*/
}
b, strong{
    font-weight: 400;
}

/* General dropdown styles */       
.dropdown dd, .dropdown dt, .dropdown ul { margin:0px; padding:0px; z-index: 9999;}
.dropdown dd { position:relative; }
/* DT styles for sliding doors */
.dropdown dt a {background:white url('arrow.png') no-repeat scroll right center;
    display:block; padding-right:0px; border:1px solid #BFBAB0; width:39px;}
.dropdown dt a span {cursor:pointer; display:block; padding: 3px;}
/* UL styles */
.dropdown dd ul { background:white none repeat scroll 0 0; display:none;
    list-style:none; padding:0px 0px; position:absolute; border:1px solid #BFBAB0;
    left:0px; top:1px; width:auto; min-width:39px; z-index: 9999;}
.dropdown span.value { display:none;}
.dropdown dd ul li a { padding:3px; display:block; z-index: 9999; cursor:pointer}

.language-selector span.value { display: none; }
.language-select li a {
    cursor: pointer;
    font-size: 12px;
    line-height: 1.42857;
    height: 24px;
    padding: 3px 18px;
}
.language-selector .btn { width: 53px; }
.language-selector img { margin-top: -2px; }
.language-selector .btn, .language-selector .btn span.language {
    font-weight: bold !important;
    font-size: 10px !important;
    line-height: 18px !important;
}
.language-selector .btn .caret { margin-left: 3px; margin-top: -1px; }
.language-selector .btn span.all { margin-right: 1px; }
.language-selector .dropdown-menu {
    min-width: inherit;
}

.fl {
	float: left;
}
.fr {
	float: right;
}
.clb {
	clear: both;
}
.cll {
	clear: left;
}
.clr {
	clear: right;
}
.hhand, .cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
ul {
	list-style: none;
}
.fr-select select {
    float: right
}

.text-muted{
    color: #e9e6df;
    font-weight: 100;
}
.tpad{ padding-top: 20px; }
.bpad{ margin-bottom: 30px;}
.padded{ padding: 100px 15px; }
.mb { margin-bottom: 1em; }
.mt { margin-top: 1em; }
.lessbmargin { margin-bottom: 10px; }

hr {
    border-top: 1px solid #c9c9c9;   
}
.info{
    background: #ffa753 url(../images/skyline.png) repeat-x bottom;
    padding: 80px 0;
}
.info small{
    color: #eeefe9;   
}
.info a{
    color: #fff;   
}
.info a:hover{
    color: #333;   
}
.tab-pane{
    padding: 40px 10px 0 10px;
}
.ftr{
    /*background: url(../images/shattered.png) repeat;*/
    background-color: #5CB85C; /*668E2E;*/
    padding: 80px 0 60px 0;
    margin-top: 70px;
}
.ftr address, .ftr a, .ftr p{
    color: #fff;   
}
.ft_space{
    padding: 0 10px;   
}
.ftr h3 {
    color: #fff;
    margin-bottom: 30px;
}

.poplink {
    font-size: inherit;
    font-weight: inherit;
    padding: 0;
    margin: 0;
    line-height: inherit;
    font-family: inherit;
    vertical-align: inherit;
    border: inherit;
    color: inherit;
    text-decoration: underline dotted; /* CHECK! */
    -moz-text-decoration-style: dotted;
    /*text-decoration-style: dotted;*/
}

.well-success {
    color: #3C763D;
    background-color: #DFF0D8;
    border-color: #D6E9C6;
}
.well-danger {
    color: #A94442;
    background-color: #F2DEDE;
    border-color: #EBCCD1;
}
.well-warning {
    color: #FFF;
    background-color: #F0AD4E;
    border-color: #EEA236;
}

.glyphsimul {
    color: #A94442;
    background-color: #F2DEDE;
    border-color: #EBCCD1;
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: "Glyphicons Halflings";
    font-style: normal;
    font-weight: 400;
    line-height: 1;
}

.glyphsimul:hover, .glyphsimul:link, .glyphsimul:visited, .glyphsimul:active {
    text-decoration: none;
    color: #A94442;
}

.glyph_expl {
    color: #A94442;
    /*background-color: #F2DEDE;*/
    border-color: #EBCCD1;
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: "Glyphicons Halflings";
    font-style: normal;
    font-weight: 400;
    line-height: 1;
}

.glyph_expl:hover, .glyph_expl:link, .glyph_expl:visited, .glyph_expl:active {
    text-decoration: none;
    color: #A94442;
}

strong.extra {
    font-weight: 800;
}

/* menu dropdowns */

.dropdown-menu .sub-menu {
    left: 100%;
    position: absolute;
    top: 0;
    visibility: hidden;
    margin-top: -1px;
}

.sub-menu li a {
    font-size: 11px !important;
}

.dropdown-menu li:hover .sub-menu {
    visibility: visible;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* END menu dropdowns */

.navbar-secondary {
    margin-bottom: 0px;
    min-height: 10px;
    border-width: 1px 0 0 0;
    border-radius: 0;
    background-color: #fff;
    color: #333;
}

.secondary-nav {
    font-size: 11px;
    height: 25px;
    margin-left: 0px;
}
.secondary-nav li {
    height: 25px;
    background-color: #fff !important;
}
.secondary-nav li a {
    color: #333 !important;
    padding: 2px 20px 2px 0px;
}
.secondary-nav li a:hover, .secondary-nav li a:focus {
    background-color: #fff !important;
}
.ul40 li a {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 14px;
}
.ul40right {
    margin-right: 7px;
}
.ul40right li a {
    /*margin-right: 10px;*/
    padding-top: 10px;
    padding-bottom: 10px;
}
.navbar-brand {
    height: 40px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.navbar-right {float: right !important;}

/* Sideboxes */

.panel-sidebox {
    width: 263px;
}
/* green sidebox 5CB85C
background-color: #DFF0D8;
border-color: #D6E9C6;
color: #468847;*/

/* blue navbar
background-color: #D9EDF7;
border-color: #BCE8F1;
color: #3A87AD;
*/
.sidebox-heading {
    /*font-weight: bold;*/
    color: #FFF !important;
    /*background-image: url("http://www.debeselis.net/theme/images/cellpic3.gif");*/
    background-color: #5CB85C !important; /*668E2E*/ /*#75A335*/
    text-align: center;
}
.sidebox-heading a {
    color: #fff;
}
.sidebox-heading a:visited, .sidebox-heading a:hover {
    text-decoration: none;
}
.sidebox-body {
    font-size: 11px;
}
.sidebox-body a {
    color: #333;
}
.sidebox-footer {
    background-color: #F8F8F8 !important; /*#F3EFE5*/
    font-size: 11px !important;
    font-weight: 300;
	text-align: left;
}
.sidebox-footer a {
    color: #777;
    padding-right: 20px;
    background-image: url("http://www.debeselis.net/public/images/img/see_more_arrow.png");
    background-repeat: no-repeat;
    background-position: right top;
}
.sidebox-footer a:visited, .sidebox-footer a:hover {
    text-decoration: none;
}
.sidebox-footer a:hover {
    color: #B90000;
}

.sidebox_ul {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: 175%;
	font-weight: normal;
}

.sidebox_ul li {
    font-size: 11px;
    /*font-weight: normal;*/
}

.sidebox_ul span.date {
    color: rgb(180, 180, 180);
	margin-left: 6px;
	float: right;
	 font-size: 10px;
}

/* people studying now */

.study-feed {
    overflow: hidden;
    margin-right: 15px;
    position: relative;
	padding: 0;
    min-height: inherit;
}

.study-feed li {
    overflow: hidden;
    height: 52px;
    padding-left: 3px;
    margin-left: 0;
}

.study-feed span.userImage {
    border: 0 none;
    padding: 0;
    background-repeat: no-repeat;
    display: block;
    width: 34px;
    height: 34px;
}
.study-feed img.userImage {
    float: left;
    padding: 0;
    border: 1px solid #e3e3e3;
}

.study-feed .studying .studying-name {
    padding-top: 0;
    overflow: hidden;
    margin-left: 48px;
    margin-top: -36px;
}

.study-feed .studying .studying-name strong {
    font-weight: 800;
}

.study-feed .studying .studying-descr {
    color: #707070;
    line-height: 1.1em;
    margin-left: 48px;
    margin-top: 0px;
}

/* END sideboxes */

.notif-divider {
    height: 2px;
    margin-left: -15px;
    margin-right: -5px;
    margin-top: 4px;
    margin-bottom: 4px;
    overflow: hidden;
    background-color: #E5E5E5;
    border-bottom: 1px solid #FFF;
}

.notifications_dropdown_li h3.popover-title {
    line-height: 22px;
}
.notifications_dropdown_li .popover-content {
    padding-right: 4px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 313px; /*might need to change in @media*/
}

.notification_li {
    overflow: hidden;
}
.notification_li strong {
    font-weight: 700;
}

.track3 {
    width: 10px;
    background: rgba(0, 0, 0, 0);
    margin-right: 2px;
    border-radius: 10px;
    -webkit-transition: background 250ms linear;
    transition: background 250ms linear;
}

.track3:hover,
.track3.dragging {
    background: #d9d9d9; 
    background: rgba(0, 0, 0, 0.15);
}

.handle3 {
    width: 7px;
    right: 0;
    background: #999;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 7px;
    -webkit-transition: width 250ms;
    transition: width 250ms;
}

.track3:hover .handle3,
.track3.dragging .handle3 {
    width: 10px;
}


/* Large desktop LG (width set to 1170px) */
@media (min-width: 1200px) {
    
}

/* MD (width is set to 970px) */
@media (min-width: 979px) {
	.container {
        padding-left: 10px;
        padding-right: 10px;
	}
   /* body {
        padding:0;
    }*/
}

/* Portrait tablet to landscape and desktop SM */
@media (min-width: 768px) and (max-width: 979px) {
    .container {
        padding-left: 0px;
        padding-right: 0px;
	}
    body {
        padding:0;
    }
    /*.navbar-fixed-top, .navbar-fixed-bottom, .navbar-static-top {
      margin-left: 0;
      margin-right: 0;
  	  margin-bottom:0;
  	}*/
}
 
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
    .dropdown ul.sub-menu {
        visibility: hidden;
       /* taip pat notificaitons, o snuki parodyt su usernameu*/
    }
}
 
/* Landscape phones and down */
@media (max-width: 480px) {
    
}

@media(max-width: 1090px) {
	.navbar-right {
        /*float: left !important;*/
        /*margin-right:20px;*/
    }
    span.nav_username_span {
        display: none;
    }
    span.nav_notif_span {
        display: none;
    }
	/*.navbar-header:after 
	{
    clear: none;
	}
	.navbar-nav.navbar-right > li { float: left; }
	
	.navbar-collapse:before {clear:both;}
	
	.navbar-collapse {overflow-y: hidden;}
	.navbar-collapse.in {overflow-y: visible;}

	.navbar-collapse.in > ul {border-top: 1px double #101010;}*/
}

.posted-by {
    color: #999;
    font-size: 0.8em;
}

.navbar-blue-top { background-color: #4C9ED9}
.navbar-blue-top .navbar-nav>.active>a:hover,.navbar-blue-top .navbar-nav>li>a:hover, .navbar-blue-top .navbar-nav>li>a:focus { background-color: #428BCA}
.navbar-blue-top .navbar-nav>.active>a,.navbar-blue-top .navbar-nav>.open>a,.navbar-blue-top .navbar-nav>.open>a, .navbar-blue-top .navbar-nav>.open>a:hover,.navbar-blue-top .navbar-nav>.open>a, .navbar-blue-top .navbar-nav>.open>a:hover, .navbar-blue-top .navbar-nav>.open>a:focus { background-color: #428BCA}
.navbar-blue-top .dropdown-menu { background-color: #FFFFFF}
.navbar-blue-top .dropdown-menu>li>a:hover, .navbar-blue-top .dropdown-menu>li>a:focus { background-color: #428BCA}
.navbar-blue-top { background-image: none; }
.navbar-blue-top .dropdown-menu>li>a:hover, .navbar-blue-top .dropdown-menu>li>a:focus { background-image: none; }
.navbar-blue-top { border-color: #2E6DA4}
.navbar-blue-top .navbar-brand { color: #FFFFFF}
.navbar-blue-top .navbar-brand:hover { color: #F7F7F7}
.navbar-blue-top .navbar-nav>li>a { color: #FFFFFF}
.navbar-blue-top .navbar-nav>li>a:hover, .navbar-blue-top .navbar-nav>li>a:focus { color: #F7F7F7}
.navbar-blue-top .navbar-nav>.active>a,.navbar-blue-top .navbar-nav>.open>a, .navbar-blue-top .navbar-nav>.open>a:hover, .navbar-blue-top .navbar-nav>.open>a:focus { color: #FFFFFF}
.navbar-blue-top .navbar-nav>.active>a:hover, .navbar-blue-top .navbar-nav>.active>a:focus { color: #F7F7F7}
.navbar-blue-top .dropdown-menu>li>a { color: #333333}
.navbar-blue-top .dropdown-menu>li>a:hover, .navbar-blue-top .dropdown-menu>li>a:focus { color: #FFFFFF}
.navbar-blue-top .navbar-nav>.dropdown>a .caret { border-top-color: #FFFFFF}
.navbar-blue-top .navbar-nav>.dropdown>a:hover .caret { border-top-color: #FFFFFF}
.navbar-blue-top .navbar-nav>.dropdown>a .caret { border-bottom-color: #FFFFFF}
.navbar-blue-top .navbar-nav>.dropdown>a:hover .caret { border-bottom-color: #FFFFFF}

.navbar-green-bottom { background-color: #5CB85C}
.navbar-green-bottom .navbar-nav>.active>a:hover,.navbar-green-bottom .navbar-nav>li>a:hover, .navbar-green-bottom .navbar-nav>li>a:focus { background-color: #4B964B}
.navbar-green-bottom .navbar-nav>.active>a,.navbar-green-bottom .navbar-nav>.open>a,.navbar-green-bottom .navbar-nav>.open>a, .navbar-green-bottom .navbar-nav>.open>a:hover,.navbar-green-bottom .navbar-nav>.open>a, .navbar-green-bottom .navbar-nav>.open>a:hover, .navbar-green-bottom .navbar-nav>.open>a:focus { background-color: #4B964B}
.navbar-green-bottom .dropdown-menu { background-color: #FFFFFF}
.navbar-green-bottom .dropdown-menu>li>a:hover, .navbar-green-bottom .dropdown-menu>li>a:focus { background-color: #5CB85C}
.navbar-green-bottom { background-image: none; }
.navbar-green-bottom .dropdown-menu>li>a:hover, .navbar-green-bottom .dropdown-menu>li>a:focus { background-image: none; }
.navbar-green-bottom { border-color: #4B964B}
.navbar-green-bottom .navbar-brand { color: #FFFFFF}
.navbar-green-bottom .navbar-brand:hover { color: #F7F7F7}
.navbar-green-bottom .navbar-nav>li>a { color: #FFFFFF}
.navbar-green-bottom .navbar-nav>li>a:hover, .navbar-green-bottom .navbar-nav>li>a:focus { color: #F7F7F7}
.navbar-green-bottom .navbar-nav>.active>a,.navbar-green-bottom .navbar-nav>.open>a, .navbar-green-bottom .navbar-nav>.open>a:hover, .navbar-green-bottom .navbar-nav>.open>a:focus { color: #FFFFFF}
.navbar-green-bottom .navbar-nav>.active>a:hover, .navbar-green-bottom .navbar-nav>.active>a:focus { color: #F7F7F7}
.navbar-green-bottom .dropdown-menu>li>a { color: #333333}
.navbar-green-bottom .dropdown-menu>li>a:hover, .navbar-green-bottom .dropdown-menu>li>a:focus { color: #FFFFFF}
.navbar-green-bottom .navbar-nav>.dropdown>a .caret { border-top-color: #999999}
.navbar-green-bottom .navbar-nav>.dropdown>a:hover .caret { border-top-color: #FFFFFF}
.navbar-green-bottom .navbar-nav>.dropdown>a .caret { border-bottom-color: #999999}
.navbar-green-bottom .navbar-nav>.dropdown>a:hover .caret { border-bottom-color: #FFFFFF}

.more {
    padding: 8px 15px;
    margin-bottom: 20px;
    list-style: outside none none;
    background-color: #F5F5F5;
    border-radius: 4px;
    font-weight: 800;
}

.more a {
    /*color: #777;*/
    color: #337AB7;
    padding-right: 20px;
    margin-right: 8px;
    background-image: url("http://www.debeselis.net/public/images/img/see_more_arrow.png");
    background-repeat: no-repeat;
    background-position: right top;
}
.more a:visited {
    text-decoration: none;
}
.more a:hover {
    text-decoration: underline;
    color: #23527c;/* #B90000;*/
}

.more_activity {
    padding: 8px 15px;
    margin-bottom: 20px;
    list-style: outside none none;
    background-color: #F5F5F5;
    border-radius: 4px;
    text-align: center;
}

.more-in-panel {
    /*padding: 8px 15px;*/
    margin-bottom: 0px;
    /*list-style: outside none none;*/
    /*background-color: #F5F5F5;*/
    border-radius: 0;
    /*text-align: center;*/
}

.more_activity a {
    font-weight: bold;
    color: #444;
    font-size: 10px;
    padding-right: 20px;
    margin-right: 8px;
    background-image: url("http://www.debeselis.net/public/images/img/see_more_arrow.png");
    background-repeat: no-repeat;
    background-position: right top;
}
.more_activity a:visited {
    text-decoration: none;
}
.more_activity a:hover {
    text-decoration: none;
    color: #B90000;
}

.nav-badge {
    background-color: #75A335;/*#5CB85C;*/
}
.no-mt {
    margin-top: 0;
}
.no-mb {
    margin-bottom: 0;
}
.no-pt {
    padding-top: 0 !important;
}

.label-no-pt label {
    padding-top: 0 !important;
}

/* Calendar */

.cal {
    font-family: Arial, Verdana, Sans-serif;
    width: 100%;
    /*min-width: 480px;*/
    border-collapse: collapse;
	border: 1px solid #CCCFD3;
}

.cal tbody tr:first-child th {
    color: #505050;
    background-color: #E9EFF7;
    margin: 0 0 10px 0;
    padding: 10px;
    text-align: center;
}

table.cal tbody tr:first-child th a:link, table.cal tbody tr:first-child th a:active, table.cal tbody tr:first-child th a:visited {
	color: #505050 !important;
	text-decoration: none;
    /*font-size: 14px;*/
}
table.cal tbody tr:first-child th a:hover {
	text-decoration: underline;
}

/*.calendar tbody tr:first-child {
    margin: 0 0 10px 0;
}*/

table.cal td.day_header {
    text-align: center;
    color: #000;
    font-size: 10px;
	height: 30px;
	padding: 12px 0px 0px;
	font-weight: bold;
	background-color: #E9EFF7; /*#C7D0D7;*/
	border-width: 1px 0px;
}

.cal td {
    width: 14%; /* Force all cells to be about the same width regardless of content */
    border: 1px solid #CCCFD3;
    height: 90px;
    vertical-align: top;
    font-size: 10px;
    padding: 0;
}

.cal td:hover {
    background: #F3F3F3;
}

.day_listing {
    height: 100%;
    display: block;
    text-align: right;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    color: #505050;
    padding: 5px 5px 0 0;
}

a.cal_day_add, a.cal_day_remove {
    color: inherit;
    display: none;
    position: absolute;
    left: 105px;
    z-index: 10;
    text-align: right;
    font-weight: 700;
    line-height: 1;
    color: #2C2C2C;
    padding: 5px 5px 0 0;
    text-shadow: 0px 1px 0px #FFF;
    opacity: 0.2;
}

a.cal_day_add { bottom: 0px; font-size: 21px; }
a.cal_day_remove { bottom: 16px; font-size: 21px; }

a.cal_day_add:hover, a.cal_day_remove:hover,
a.cal_day_add:focus, a.cal_day_remove:focus {
    color: #000;
    text-decoration: none !important;
    cursor: pointer;
    filter: alpha(opacity=50);
    opacity: .5;
}

div.today {
    background: #E9EFF7;
    height: 100%;
    position: relative;
}

div.cal_content {
    height: 100%;
    cursor: pointer;
    position: relative;
    font-size: 11px;
}
span.day_content {
    position: relative;
    top: -80px;
    left: 5px;
    font-size: 11px;
}
a.no_content_link:hover {
    text-decoration: none;
}

.hide-group {
    display: none;
}

/* calSheet */

span.sidebox-cal {
    display: block;
    text-align: center;
    width: 30px;
}

a.sidebox-cal {
    cursor: pointer;
}

span.sidebox-cal span {
    display: block;
    float: left;
    width: 100%;
    margin-top: 2px;
}

span.sidebox-cal span.month {
    height: 12px;
    font-size: 9px;
    background: #6E9835;/*#D51007;*/
    background: -moz-linear-gradient(#8DC047, #6E9835); /*#E21403, #D20F02*/
    background: -webkit-linear-gradient(#8DC047, #6E9835);
    background: linear-gradient(#8DC047, #6E9835);
    border: 1px solid #6E9835;
    border-radius: 2px 2px 0 0;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.1em;
    font-weight: bold;
    text-align: center;
}

span.sidebox-cal span.day {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 0 0 2px 2px;
    border-top: none;
    color: #000;
    line-height: 1.4em;
    font-weight: bold;
    letter-spacing: -0.1em;
    margin-top: 0px;
    height: 22px;
    padding-top: 2px;
}

a.sidebox-cal-url:hover {
    text-decoration: none;
}

/* home/register & users/edit_profile */

#signUp { 
    font-size: 14px !important;
    margin: 0 0 5em 0px;
    color: #444;
}

#signup.normal {
	margin: 3em 0;
    font-size: 100%;
    color: #666;
}

#signup h2 { 
    font-size: 120%;
    padding-top: 1em;
}

#signUp h1 {
    font-size: 22px;
    line-height: 30px;
	color: #6E9835;
	margin-bottom: 0px;
}

#signUp #signIn {
    color: rgb(102, 102, 102);
    font-size: 12px;
	margin-top: 3em;
}

#signUpForm {
    margin: 1em 0px;
    color: rgb(51, 51, 51);
}

#signUpForm fieldset{
    border: 0px;
}

#signUpForm .fieldstatus div {
    padding: 8px 10px;
    color: rgb(102, 102, 102);
    background: none repeat scroll 0% 0% rgb(233, 233, 233);
    border: 1px solid rgb(219, 219, 220);
}

#signUpForm .fieldstatus div p {
	margin: 1px 0;
}

#signUpForm .input {
    font-size: 16px;
    line-height: 22px;
    /*height: 22px;*/
    display: block;
    width: 288px;
    border: 1px solid rgb(153, 153, 153);
    padding: 4px 5px;
}

#signUpForm .select-lang {
    width: 163px; height: 32px; display: inline;
}

#signUpForm .select-level {
    width: 120px; height: 32px; display: inline; font-size: 12px; vertical-align: top;
}

#signUpForm .language-block, #languages_field .language-block {
    padding: 2px 0px 2px 0px;
}

#signUpForm .field {
    clear: both;
    margin-bottom: 1em;
}

#signUpForm label {
    display: block;
    font-weight: bold;
    line-height: 30px;
    text-align: left;
    width: 100%;
    float: none;
}

#signUpForm .fieldstatus {
    position: relative;
    display: block;
    float: right;
    width: 300px;
    margin: 0px;
    font-size: 11px;
    line-height: 14px;
}

#signUpForm .field-terms label {
    font-weight: normal;
    font-size: 12px;
    line-height: 16px;
    display: inline;
}

#signUpForm .profile-language-img {
    margin-top: 4px;
}

/* End sign up form */

div.profile-languages .language-block select {
    /*padding: 2px 0px;*/
    clear: both;
    /*margin-bottom: 5px;*/
    /*font-size: 14px;*/
    /*line-height: 20px;*/
    /*height: 26px;*/
    
    /*display: block;*/
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857;
    color: #555;
    background-color: #FFF;
    background-image: none;
    border: 1px solid #CCC;
    border-radius: 4px;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
}

/* Anonymous index */

#loginandconf {
	margin-right: 20px;
}

p.explanation {
    font-size: 12px;
    margin: 0.5em 0 2.7em 0;
    color: #aaa;
}

p.explanation a {
    color: #aaa;
    text-decoration: underline;
}

p.explanation a:hover, p.explanation a:active {
    color: #0187c5;
}

#join-button {
    margin: 15px 0;
    overflow: hidden;
}

#join-button div.join_button {
	border: 1px solid #000;
	vertical-align: middle;
	line-height: 37px;
    font-size: 14px;
	font-weight: bold;
    display: -moz-inline-box; /* Fixes Firefox */
    display: inline-block;
    color: #fff;
    text-align: center;
    width: 195px;
    height: 37px;
    margin-right: 15px;
    float: left;
	background: -webkit-linear-gradient(#8DC047, #6E9835); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(#8DC047, #6E9835); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(#8DC047, #6E9835); /* For Firefox 3.6 to 15 */
	background: linear-gradient(#8DC047, #6E9835);
	background-color: #6E9835;
	text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.5);
	/*if red: grad #EE231B,#B90717 single E61007*/
}

#join-button p {
    display: -moz-inline-box; /* Fixes Firefox */
    display: inline-block;
    zoom: 1;
    width: 190px;
    font-size: 11px;
    line-height: 1.4;
    margin-top: 0;
    color: #6E9835; /*red: #d51007;*/
    float: left;
}

#langStats {
    display: block;
    margin: 10px 0;
    border: solid 1px #CCCFD3;
    padding: 5px;
    background: #F9F9F9;
    font-size: 11px;
}

#langStats li {
    padding: 0.2em;
}

/* Profile and home page */

.home_line_header {
	padding: 0px;
	position: relative;
	margin: 0px 0px 18px 0px;
	height: 60px;
}

div.home_line_wrapper {
    margin-left: 10px;
	margin-right: 10px;
	float: left;
	width: calc(100% - 100px);
}

h1.home_line_heading {
    float: left;
    margin: 0;
    padding: 0 0 9px 0;
	font-size: 20px;
	font-weight: bold;
}

h1.home_line_heading a, h1.home_line_heading a:hover {
    text-decoration: none;
    color: inherit;
}

h1.profile_friend_status {
    color: #333; /*#5CB85C;*/
    float: right;
    margin: 7px 0px 0px 60px;
    padding: 0;
	font-size: 12px;
    font-weight: bold;
}
h1.profile_friend_status a, h1.profile_friend_status a:hover {
    text-decoration: none;
    color: inherit;
}

nav.home_line_nav {
    clear: both;
	/*border-top: 1px solid rgb(204, 204, 204);*/
	margin-bottom: 0px !important;
	padding-top: 0px;
	text-align: left;
	width: 100%;
}

nav.home_line_nav .nav a {
    padding: 5px 15px;
}

ul.home_line_ul {
    padding-left: 0;
	margin-right: 0px;
	margin-left: 0px;
}

ul.home_line_ul li {
	margin-left: 0px; margin-right: 15px; display: inline;
}

/* TA_notes */

.ta_note_wrapper {
	width: 100%;
	margin: 20px 0;
	border-width: 0px;
}

textarea.ta_note {
	width: 100%;
	height: 52px;
	border: 1px solid rgb(191, 186, 176);
	resize: none;
	margin-bottom: 1px;
    padding: 3px 5px;
}

.note_holder {
    background-color: #F9F9F9;
    border: 1px solid #DDD;
    border-radius: 4px;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.05);
    margin-bottom: 2em;
}

.note_author {
    padding: 5px 10px;
    color: #777;
    font-size: 11px;
    font-weight: 700;
}
.note_author .poster_name {
    font-size: 14px;
}
.note_author a {
    font-weight: 700;
}
.note_author span.date {
    font-size: 10px;
    color: #777;
    float: right;
    margin-right: 10px;
    font-weight: 400;
}
.note_author span.avatar {
    width: 48px; height: 48px;
    float: right;
}
.note_author span.avatar img  {
    width: 48px; height: 48px;
    border: 1px solid #e3e3e3;
}

.note_body {
    font-size: 15px;
	padding: 10px 10px;
}

.note_buttons {
	padding: 10px 10px;
    overflow: hidden;
}

.note_reply {
    /*padding: 10px 20px;
    margin: 0px 0px 20px;*/
    border-left: 5px solid #EEE;
    padding-left: 20px;
    margin-bottom: 15px;
    margin-left: 10px;
}

.reply-button {
    font-weight: bold;
    color: #444;
    font-size: 10px;
    margin-left: 4px;
}
.reply-button span.text { margin-left: 3px; }
.reply-button:hover, .reply-button:active, .reply-button:link, .reply-button:focus { color: #B90000; }
.reply-button img { vertical-align: bottom; }


/* end TA notes */

/* Comments */

.comment {
    border-top: 1px solid #eee;
    padding-bottom: 1em;
    padding-top: 1em;
}

.comment-highlight {
    background-color: #D9EDF7;
}

.comment .author {
    padding: 5px 10px;
    color: #777;
    font-size: 11px;
    font-weight: 700;
}
.comment .author .poster_name {
    font-size: 14px;
}
.comment .author a {
    font-weight: 700;
}
.comment .author span.date {
    font-size: 10px;
    color: #777;
    float: right;
    margin-right: 10px;
    font-weight: 400;
}
.comment .author span.avatar {
    width: 48px; height: 48px;
    float: right;
}
.comment .author span.avatar img  {
    width: 48px; height: 48px;
    border: 1px solid #e3e3e3;
}

.comment_body {
    font-size: 15px;
	padding: 10px 10px;
	width: 60%;
}

textarea.comment_body{
    height: 130px;
}

.comment_buttons {
	padding: 10px 10px;
    overflow: hidden;
}

.no_comments {
    margin: 10px 0 2px;
    padding-top: 1em;
    border-top: 1px solid #eee;
    font-style: italic;
}

/* end comments */

.avatar-60-border {
    width: 60px;
    height: 60px;
    border: 1px solid #CCC;
}

.no-underline, .no-underline:hover, .no-underline:active, .no-underline:visited, .no-underline:link {
    text-decoration: none;
}

.color-green {
    color: #5CB85C !important;
}
.color-blue {
    color: #337AB7;
}

.block-left {
    display: inline-block;
    text-align: left;
}

/* Buttons */

div.action_button_wrapper {
    padding: 0 0.6em 0 0;
}

.add_to_wordlist_popup {
	width: 20em;
	padding: 0em;
	display: none;
	margin-right: 30px;
	border-left: solid 1px #dedede;
	border-right: solid 1px #dedede;
	border-bottom: solid 1px #dedede;
	overflow: hidden;
	position: absolute;
	top: 0em;
	left: -9.6em;
	z-index: 10;
	background-color: white;
	display: none;
	float: left;
	overflow: auto;
	overflow-x: hidden;
}
.add_to_list_menu {
	/*width: 20em;*/
	padding: 0em;
	display: none;
	float: none;
	border-left: solid 1px #dedede;
	border-right: solid 1px #dedede;
	border-bottom: solid 1px #dedede;
	overflow: hidden;
	position: absolute;
	/*top: 0em;*/
	/*left:20em;*/
	z-index: 10;
	background-color: white;
	margin-top: -0.5em;
	margin-left: -16em;
	text-align: center;
}

.button_dialog_menu {
	text-align: left;
	border: 1px solid rgb(222, 222, 222);
	padding: 0.7em; 
	/*width: 20em;*/
	display: none;
	float: none;
	overflow: hidden;
	position: absolute;
	/*top: 0em;*/
	/*left:20em;*/
	z-index: 100;
	background-color: white;
}

div.popupWrapper {
	border: 0;
	display: block;
	position: relative;
	top: 0em;
	left: 0em;
/*	top: -1.7em;
	left: -15.5em;*/
}

img.favorite_image {
    display: inline;
    opacity: 1;
    margin: -3px 0px 0px 7px;
    position: absolute;
}

div.top_dash {
	border-top: 1px solid #EBEBEB;
	height: 32px;
	margin-top: 2em;
}

div.top_dash .vote_buttons_wrapper .button_vote, .image_vote, .image_voted {
	margin-left: 7px;
}

div.top_dash .vote_buttons_wrapper .vote_rating {
	margin-left: 3px;
}

div.top_dash span.span_views {
	float: right;
	margin: -30px 0 0 0;
	font-size: 16px;
	margin-right: 7px;
}

.button_upcoming_event_postpone span.title, .button_upcoming_event_remove span.title {
    font-size: 10px;
}

/* SEARCHBOX */

div.display {
	display: none;
    width:100%;
	float: none;
	margin-right: 30px;
	border-left: solid 1px #dedede;
	border-right: solid 1px #dedede;
	border-bottom: solid 1px #dedede;
	overflow: hidden;
    position: absolute;
    top: 100%;
    left: 0px;
	z-index: 10;
	background-color: white;
    border-radius: 4px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.176);
}

div.addWordsWrapper {
	border: 0;
	display: block;
	position: relative;
    /*top: -20px;
    left: 186px;*/
}

.display_box, .display_box_nohover {
	padding: 4px;
	border-top: solid 1px #dedede;
	font-size: 12px;
}
.display_box:hover {
	background: #3b5998;
	color: #FFFFFF;
	cursor: pointer;
}
.display-box {
	padding: 4px;
	border-bottom: solid 1px #dedede;
	font-size: 12px;
}
.display-box:hover {
	background: #3b5998;
	color: #FFFFFF;
	cursor: pointer;
}
.loading_wrapper > .display_box:first-child {
    border-top: 0;
}

.entry_row {
    border-top: 1px solid #dedede;
    padding-top: 1em;
}

/* Homepage activities */

#ul_my_activity, #ul_col_activity, #ul_user_activity {
    padding-left: 0;
}
.home-heading {
    text-align: center;
    margin: 0;
    color: #5CB85C !important;
    font-size: 18px;
    line-height: 13px;
}

ul.upcoming-events {
    padding-left: 0;
}
ul.upcoming-events li {
    margin-bottom: 10px;
    overflow: hidden;
    clear: both;
    border-bottom: 1px solid #c9c9c9;
    padding-bottom: 3px;
}

.pagination-green li a {
  color: #fff;
  background-color: #5cb85c;
  border-color: #4cae4c;
}
.pagination-green li a:hover,
.pagination-green li a:focus,
.pagination-green li a.focus,
.pagination-green li a:active,
.pagination-green li a.active {
  color: #fff;
  background-color: #449d44;
  border-color: #398439;
}
.pagination-green li a:active,
.pagination-green li a.active {
  background-image: none;
}

/* HOVERCARDS */

.hovercard_elem_sidebox, .hovercard_elem_lesson {
    font-weight: inherit !important;
}

.sidebox-recent-lessons .hc-details {
    text-align: left;
}

/* input with success */

.input-success {
    color: #3C763D !important;
    border-color: #3c763d !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075) !important;
            box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075) !important;
}
.input-success:focus {
     color: #3C763D !important;
  border-color: #2b542c !important;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168 !important;
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168 !important;
}

.input-error {
    color: #A94442 !important;
  border-color: #a94442 !important;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075) !important;
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075) !important;
}
.input-error:focus {
    color: #A94442 !important;
  border-color: #843534 !important;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483 !important;
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483 !important;
}

/* modals */

.copy-word-wrapper {
    margin-bottom: 1em;   
}
.copy-word-wrapper label {
    padding-top: 7px;
}
body.modal-open { 
    overflow: visible !important;
}

.error-message {
    display: none;
}
.message-invalid-url .error-message {
    display: block;
}

/* lesson display */

#lesson_content strong, #lesson_content b {
    font-weight: 800;
}

/* revise */

/*.revise-popover .popover {*/
/*    left: 1% !important;*/
/*}*/
.revise-popover, .revise-entry {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.1;
}
.revise-col {
    margin-top: 20px;
    margin-bottom: 10px;
}
.revise-arrow {
    /*height: 100%;*/
    min-height: 350px;
    display: block;
    font-size: 44px;
    padding-top: 100px;
    cursor: pointer;
    color: #555;
    text-decoration: none;
    text-align: center;
}
.revise-arrow:hover, .revise-arrow:visited, .revise-arrow:active {
    color: #555;
    text-decoration: none;
    /*background-color: #eee;*/
    background: -webkit-linear-gradient(#eee,#fff); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#eee,#fff); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#eee,#fff); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#eee,#fff); /* Standard syntax (must be last) */
}
.revise-meanings {
    font-size: 20px !important;
}
.revise-meanings .meaning {
    font-size: 26px !important;
}
.revise-meanings .phrase {
    font-size: 18px !important;
}
.nav-tabs-revise li a {
	margin-right: 0px;
	/*font-weight: 800 !important;*/
}

/* hiragana */

.hira_show_after {
	display: none;
}

.glyphicon-refresh-animate {
-animation: spin .7s infinite linear;
-ms-animation: spin .7s infinite linear;
-webkit-animation: spinw .7s infinite linear;
-moz-animation: spinm .7s infinite linear;
}
 
@keyframes spin {
from { transform: scale(1) rotate(0deg);}
to { transform: scale(1) rotate(360deg);}
}
@-webkit-keyframes spinw {
from { -webkit-transform: rotate(0deg);}
to { -webkit-transform: rotate(360deg);}
}
 
@-moz-keyframes spinm {
from { -moz-transform: rotate(0deg);}
to { -moz-transform: rotate(360deg);}
} 