h2 {font-size:150%;font-weight:400;padding-left:5px;}
h1, h3, h4, h5, h6 {
 margin: 0;
 padding: 0;
 }
body {
    /*background-color:                           #eef;*/
    font-family: "Lato";
    font-weight: 300;
    margin-top:20px;
}
body {
    background-image: url("../../lib/img/CornerSeal.png");
    background-position:right bottom;
    background-repeat: no-repeat;
    background-attachment:fixed;
    background-size:25% auto;
background-opacity:30%;
}
div {
    border: 0px solid;
}

.week a {display:block;}

/*Class name*/
div#classwrapper {
   display:inline-block;
}
div.class {
    display:inline-block;
    float:left;
    padding: 20px;
    padding-left:0px;
    padding-right:0px;
/*    box-shadow: 5px 5px 5px                     #ccf;*/
    margin-right:20px;
/*    background-color:                           #bbf;*/
    border: 1px solid;
    min-width:350px;
}
div.class>div {
    padding-left:20px;
    padding-right:20px;
    }
div.class p {
    margin: 0px;
    padding: 0px 5px;
    width:100%;
}
div.class #number {
    font-size:300%;
    font-weight:400;
    padding: 0px 5px;
}
div.class #name {
    font-size:150%;
/*    background-color:                           #23f;*/
    color:white;
    font-family:"Shadows Into Light Two";
}
div.class #semester {
    font-size: 200%;
    padding-top: 4px;
    margin-bottom:10px;
}
/*Professor Name and Contact Information*/
div#professor h2 {
    font-weight: 300;
    padding: 0px;
    margin: 0px;
    border-bottom: 1px solid;
}
div#professor {
    display:inline-block;
    padding:5px;
    background-color:white;
    text-align:center;
/*    box-shadow: 5px 5px 5px                     #ccf;*/
}
div#professor table {
    padding:0px 5px;
    margin:0px;
display:inline-block;
     vertical-align:top;
}
div#professor th {
font-weight:bold;
text-align:right;
}
div#professor td {
              text-align:left;
}
div#professor tbody>th:after {content:":"}
div#professor tr:nth-child(odd){
/*    background-color:                           #ddf;*/
}
div#myname {
    font-size:170%;
    text-align:center;
    margin:0px;
    font-weight: 400;
}
div#title {
          font-weight:400;
    }
/*Middle row*/
div#middle {
    display:inline;
}
div#middle>div {
/*    background-color:#23F;*/
    border-radius: 25px;
    color:white;
}
#otherbutton {display:inline;padding-left:0px;}
.btn {padding-left:0px !important;padding-right:0px !important;
      display:inline-block;
     }
.btn>a {
     border-radius:8px; 
     color:white; 
         display: inline;
    padding: 1px 5px;
    font-size:24px;
    margin-right:15px;
    margin-left:5px;
    margin-bottom:10px;
/*    margin-top:20px;*/
    border: 3px solid black !important;
    font-weight:400;
    font-variant:small-caps;
    display:inline-block;
    /*box-shadow*/
}
.btn a:hover {
    text-decoration:underline;
}
.btn a:link {
    color:white;
    text-decoration:none;
}
.btn a:visited {
    color:white;
    text-decoration:none;
}
#gradeframe {
    padding: 15px 15px;
    padding-top:5px;
    padding-bottom:5px;
    display:inline-block;
    margin-bottom:10px;
    /*box-shadow*/
}
#gradeframe>h2 {
    font-size:200%;
    display:inline;
    font-weight:300;
}
/*News box*/
div#news {
    display:inline-block;
vertical-align:top;
/*    width:400px;*/
    margin-right:20px;
    border:0px solid;
/*    box-shadow: 5px 5px 5px                     #ccf;*/

}
div#news h1 {
    margin:10px;
}
div#news li {
    margin:0px;
    padding:10px 20px;
}
div#news>ul {
    list-style-type:none;
}
div#news ul {
            margin:0px; padding:0px;
            list-style-position:inside;
}
div#news li:nth-child(odd)  {
/*	background-color:	                        #ccf;*/
}
div#news li:nth-child(even) {
/*	background-color:	                        #bbf;*/
}
.updated {font-size:75%;color:grey;font-style:italic}

/*Assignments*/
div#recordings {
    display:inline-block;

}
div#recordings table {
    border-collapse:collapse;
    border:0px;
/*    box-shadow: 5px 5px 5px                     #ccf;*/
}
div#recordings th {
    padding: 4px 10px;
    border:1px solid;
}
div#recordings td {
    padding: 2px 5px;
    min-width:70px;
    text-align:center;
    border:1px solid;
    border-color: black;
}
div#recordings tr>td:nth-child(even) {
/*    background-color:                           #bbf;*/
}
tr.current th {
           color:black;
font-size:150%;
           border-color:black !important;
           border-width:3px !important;
}
tr.current td {
/*    background-color:                           #aff;*/
}
tr.current td:nth-child(even) {
/*    background-color:                           #bdf !important*/
}
.quiz {
    border-right:3px solid !important;
}
#grades td {
    color: white;
    padding-right:1px;
}
#recordings {
/*float:right;*/
padding-right:10px;}
/*iPhone*/
@media (max-width:700px) {
    div#news {width:100%;}
    div.class {width:100%;padding-left:0px;border:0px;min-width:auto;}
    div#professor {width:90%;margin-left:2.5%;margin-top:10px;}
    div#middle {display:block;margin-top:20px;}
div#middle>div {display:block;text-align:center;}
    #recordings {float:none;padding-right:0px;}
    #classwrapper {width:100%;}
    #weeklyT {font-size:50% !important;padding-left:0px;}
    .ui-tabs-panel {padding-left:0px !important;}
#chatframe {
           max-width:300px;
}
}
@media (max-width:1152px) {
    #recordings {float:none;}
}

.ui-widget-header {background: none;
border:0px;
border-bottom:1px solid grey;
}
.ui-widget-content {background:none;border:0px;}
.date {font-size:50%;}

#tabs {
max-width:800px;
background-color:rgba(1,1,1,0); /*transparent*/
}
.ui-tabs-panel {width:95%;}

.collapsed {line-height:0px;}
.collapsed> th,.collapsed > td {visibility:hidden;}
.collapseheader {position:relative; left:-30px;bottom:-30px;
cursor:pointer;
}

.tooltip {
         position:relative;
         display: inline-block;
         width:50px;
         background-color:yellow;
         font-size:9px;
         z-index:1;
         left:-30px;
         visibility:hidden;
}
.collapseheader>.tooltip {visibility:normal;}
#triinstructions {color:blue;font-size:75%;}
.arrow {color:blue;}

#newsticker {

    max-width:800px;
    height:20px;
    background-color: #444;
    color:lavender;
    margin-top:5px;
    border: 2px ridge;
    padding:3px;
}
/*.ui-widget-content a {color:inherit !important;} /*Have links inherit color of surrounding text*/
.innerlist {border: 2px solid black;}
.weeknumber {font-size:150%;padding-bottom:0px;}
.quizbutton {
    height:15px;
    vertical-align:middle;
    margin-left:4px;
}
.note {display:inline-block;
       background-color:gold;
       border:1px solid;
       padding:2px;
      }

.grade.correction {color:red;font-weight:bold;}
.grade.correction:not(:empty)::before {content:"(→ "}
.grade.correction:not(:empty)::after {content:")"}
#loginheader {
    max-width:790px;
}
.ui-tooltip {
    opacity:1 !important;
    background-color:gold !important;
    max-width: 120px !important;
    text-align:center !important;
    font-size:80% !important;
    font-weight:bold !important;
  
 /* for IE */
 filter:alpha(opacity=100) !important;     
}

.marktable {
    border-collapse:collapse;
}
.marktable td {border:1px solid;padding:4px 8px;}
#startweek {display:none}

#buttongrid td {
    text-align: center;
}

.extraimg {
    max-width: 120px;
    max-height: 120px;
    margin: 0px 10px;
    border: 2px inset blue;
    float: right;
/*    vertical-align: middle;*/
}
#extra p {
    clear: right;
}
#refresh {
    font-style:italic;
    font-size:85%;
}

#gradeerror {
    display: none;
}

#grades.error {
    display:none;
}
#gradeerror.error {
    display:block;
    font-size:150%;
    color: red;
    font-weight: bold;
}
