/* CLEAR BOTH */
.clear, .cb { clear: both }

html, body, div, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, blockquote, pre, form, fieldset, table, th, td 
{
    margin: 0px;
    padding: 0px
}

html, body 
{
    /* hides horizontal scrollbar on IE */
    *overflow-x: hidden; 
}

body
{
    background: #FFF;
    color: #666;
    font: 14px 'Lucida Grande','Nimbus Sans L', Arial, Helvetica, sans-serif
}

img
{
    border: none
}


label{
    font-size:12px
}


/* TEXT BOXES */
input[type=text], textarea
{
    border:1px solid #AACCE5;
    cursor:text;
    color:#666;
    padding:6px 4px 5px;
    /*
    --- For use when TextFields are implemented ---
    color:#999;*/
    cursor:text;
    font: 14px 'Lucida Grande','Nimbus Sans L', Arial, Helvetica, sans-serif;
    font-weight:normal;
}

textarea
{
  resize:none;
}

/* prevent safari highlighting */
input[type=text]:focus, textarea:focus 
{
    outline:none;
}

/* --- For use when TextFields are implemented --- */
/*
.focus,
input[type=text].focus, textarea.focus
{
    color:#444;
}*/

/* LINKS */
a
{
    cursor:pointer;
    color: #3265B0;
    text-decoration: none;
    outline: none
}

a:hover
{
    text-decoration:underline;
}

input, select
{
    border: 1px solid #AACCE5;
    color: #666;
    /*font-weight: bold;*/
    padding: 5px;
    margin: 0px
}

input[type=radio], input[type=checkbox]
{
    border: 0px;
}

/* BUTTONS */
input[type=submit], input[type=button]
{
    font: 18px 'Lucida Grande','Nimbus Sans L',Arial,Helvetica,sans-serif;
    background:transparent url(http://images.edmodo.com/images/backgrounds/button.png) repeat-x scroll left bottom;
    border: 1px solid #999999;
    color: #333333;
    cursor: pointer;
    padding: 5px 10px;
    overflow: visible;
}
    input[type=submit].small, input[type=button].small
    {
        font-size:12px;
        font-weight:bold;
        margin-top:15px;
    }

/* DISABLED STATE */
input[type=submit].disabled, input[type=button].disabled
{
    border-color:#BBB;
    color:#CCC;
}

input[type=submit]:active, input[type=button]:active
{
    border: medium none
}

input[type=submit]:hover, input[type=button]:hover
{
    border: 1px solid #000000
}

/* HEADERS */
h1
{
    font-size: 30px;
    font-weight: normal;
    color: #3265B0;
    line-height: 130%;
    padding-bottom: 25px;
    border-bottom: 1px solid #dddddd
}

h3
{
    font-size: 14px;
    margin-bottom: 3px;
    color: #444444
}

h5
{
    font-size: 12px;
    margin-bottom: 11px
}


/* TOP-BAR */
#top-bar
{
    background: #3265B0 url(http://images.edmodo.com/images/backgrounds/stripes100x100.png) repeat scroll 0 0;
    border-bottom: 2px solid #EEEEEE;
    color: #DDDDDD;
    font-size: 15px;
    padding: 8px 11px;
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:21px;
    z-index:98;
}

/* --------- LOGO --------- */
#top-bar .logo
{
    background:transparent url(/images/logos/edmodo_134x43.png) no-repeat 0 0;
    float:left;
    width:134px;
    height:43px;
    margin:-5px 0 0;
    *margin-right:-10px;
}

#top-bar-content
{
    width:  980px;
    margin: auto
}

#top-bar ul
{
    list-style: none
}

#top-bar ul li
{
    display: inline;
    margin: 0px 10px 0px 10px;
}

#top-bar a
{
    color: #FFFFFF;
    line-height: 140%;
    padding: 1px 2px;
}

#top-bar a:hover
{
    text-decoration: underline
}

#top-bar a.disabled
{
    color :#FFF;
    text-decoration:none
}

#top-bar .top-left-utils{
    float:left;
    margin-left:-17px;
}
#top-bar .top-right-utils{
    float: right;
}

.top-right-utils > li
{
    float:left;
}

.top-right-utils #welcome-name-wrap, #current-page
{
    padding-top: 2px;
    color:#eee;
}

li#search
{
    height: 19px;
    overflow: hidden;
}

li#search *
{
    float: left;
    border: 0px none;
}

input#search4
{
    width: 115px;
    font-size: 11px;
    font-weight: bold;
    padding-top: 3px;
    outline:none;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
	input#search4 {
		padding-top:1px;
	}
}

/* FOOTER */
#footer
{
    padding: 10px;
    text-align:center;
    border-top: 1px solid #dddddd;
    font-size:11px
}

a.translate:hover
{
    background: none
}

a.translate > img
{
    vertical-align: middle
}

#content
{
    width: 980px;
    margin: auto;
    padding-top: 60px;
    padding-bottom:40px;
}

#content.extra-padding
{
/*    padding-top: 84px;*/
}


/* --- LOADER --- */
.pin-wheel
{
    background : transparent url(http://images.edmodo.com/images/loading.gif) no-repeat center;
}

div.top-bar-message{
    display: none;
    background: transparent url(http://images.edmodo.com/images/backgrounds/success.png);
    border-color: #3265B0;
    border-style: solid;
    border-width: 1px 0;
    font-size: 15px;
    padding: 7px 0;
    text-align: center;
    position: fixed;
    z-index:20;
    left:0;
    top: 37px;
    width: 100%;
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
}
div.top-bar-message > span{
    background: transparent url(http://images.edmodo.com/images/icons/green-check.png) no-repeat center left;
    padding-left: 22px;
}
div.top-bar-message > a{
    color: #eeeeee;
    font-size: 10px;
}

/****** Account switch from Teachers to Admins ******************/
#welcome-name-wrap img{
    border: none;
}

#welcome-name-wrap.switch{
    background-color: #3265b0;
}

#welcome-name-wrap #welcome-name .name{
    padding: 0 0 0 7px;
}

#welcome-name-wrap #welcome-name a.name{
    position: relative;
    top: -2px;
}

#welcome-name-wrap.switch #welcome-name .name{
    color: #fff;
}

#account-toggle{
    padding: 3px 5px;
    cursor:pointer;
    position:relative;
    top:-5px;
}
#account-toggle-menu{
    
}

#account-toggle-menu .abs{
    position: absolute;
    z-index:1000;
    background-color: #3265b0;
    padding: 7px;
}

#account-toggle-menu .menu{
    white-space: nowrap;
    cursor: pointer;
    font-size: 13px;
    color: #fff;
}