@CHARSET "UTF-8";

/*****************
 * Filter Formatting
 */
 
 .page-schedule  #page-title {
 	display:none;
 }


/*modal css*/
 
.xmodal {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .8 ) 
                url('/images/busy.gif') 
                50% 50% 
                no-repeat;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.xloading {
    overflow: hidden;   
}

/* Anytime the body has the loading class, our
   modal element will be visible */
body.xloading .modal {
    display: block;
}


#schedule-output .bold {
	font-weight:700;
}



#modal {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .8 ) 
                url('/images/busy.gif') 
                50% 50% 
                no-repeat;
   	overflow: hidden;                
}

#modal.show {
	display: block;
}



/*test modal code*/

#modaltest {
	display:none;
	width:100%;
	text-align: center;
}
#modaltest.show {
	display:block;
}
#modaltest div {
	margin: 10px;
	padding:20px;
	border: 1px solid black;
	background-color: #EEF;	
}



#block-spscc-sched-spscc-sched-filter {
	border: 1px solid black;
	background-color: #DDD;
	padding: 0.25em;
	margin: 0;
	max-width:100%;
	clear:both;
}

#block-spscc-sched-spscc-sched-filter h2 {
	border-bottom:1px solid black;
}

#spscc-sched-filter-form .form-item {
	margin: 0 0;
}



/* select */
#spscc-sched-filter-form .form-type-select label {
	max-width:220px;
	font-size: 80%;
	display: table-cell;
	vertical-align:bottom;
}

#spscc-sched-filter-form .form-type-select {
	float: left;
	width: 25%;
	min-width:190px;
	height:70px;
}

#spscc-sched-filter-form .form-type-select label {
	min-width:150px;
	font-size: 97%;
	display: table-cell;
	vertical-align:bottom;
	height: 43px;
}

#spscc-sched-filter-form .form-type-select select {
	min-width:150px;
	width:100%;
	max-width: 100%;
	
}

/* checkbox */

#spscc-sched-filter-form .form-type-checkbox {
	float: left;
	min-width:150px;
	xmax-width:250px;
	xwidth: 100%;
	margin-left: 5px;
}
#spscc-sched-filter-form .form-type-checkbox:before {
	content:' ';
	height:43px;
	display: table-cell;
}

@media all and (max-width:420px) {
	#spscc-sched-filter-form .form-type-checkbox:before {
		height:unset;
	}	
}

/* textfield */


#spscc-sched-filter-form .form-type-textfield:before {
	content:'.';
	color: #c0c0c0;
	clear:both;
}

#spscc-sched-filter-form .form-type-textfield {
	float: left;
	min-width: 150px;
	max-width: 250px;
	width:100%;
	height: 70px;
	display: block;
}

#spscc-sched-filter-form .form-type-textfield input {
	width: 99%;
	/* font-size: 100%; */
	margin-right: 1%;
}

#spscc-sched-filter-form .form-type-textfield label   {
	max-width:220px;
	font-size: 97%;
	display: table-cell;
	vertical-align:bottom;
}



/* fieldset */

#spscc-sched-filter-form fieldset#edit-classformat {
	float: left;
	width: 25%;
	min-width:100px;
	height:70px;
	margin: 5px;
}


#spscc-sched-filter-form .form-submit {
	display: block;
	clear: both;
	width: 98%;
	margin-left: 1%;
	margin-right: 1%;
	/* padding:8px; */ /* apple firefox does NOT like this */
	height: 2.5em;
}

html.js #spscc-sched-filter-form .jshide {
	display: none;
}














/************
 * Schedule Output
 */
 

div#schedule-output {
	min-width: 300px;
	width:100%;
	min-height:300px;
}

div#schedule-output .searchtext {
	margin: 10px;
	padding: 10px;
	text-align:center;
	background-color: #FFE;
	border: 1px solid #EEE;
	font-size: 110%;
}

div#schedule-output .searchtext span.right-down {
	float: right;
	font-size:90%;
	padding-right:34px;
	min-height:34px;
	background: url('../images/right_down.svg') no-repeat bottom right transparent;
	
}


/* need to set font size for h2/h3/h4 and possibly h5 inside .schedule */
table.schedule, table.schedule * {
	margin: 0px;
	border-spacing: 0px;
	padding: 0px;
	font-family: Helvetica,Arial,San-serif;
	border: 0px none;
	border-collapse: collapse;
	empty-cells:hide;
}

table.schedule {
	width:100%;
}

#schedule-output a,
#schedule-output a:visited,
#schedule-output a:hover,
#schedule-output a:active,
#schedule-output a .fix {
	text-decoration: underline;
	color: blue;
	outline: 0;
}

#schedule-output.plan a,
#schedule-output.plan a:visited,
#schedule-output.plan a:hover,
#schedule-output.plan a:active,
#schedule-output.plan a .fix,
#planbar-output a,
#planbar-output a:visited,
#planbar-output a:hover,
#planbar-output a:active,
#planbar-output a .fix {
	text-decoration: underline;
	color: #001;
	outline: 0;	
} 


#schedule-output a.light {
	color: #EEF;
}

table.schedule td {
	padding: 0px 4px 0px 4px;
	line-height: 1.3em;
}

table.schedule tr {
	border-bottom: inherit;
	background-color: inherit;
}

.schedule .quarter,
.schedule .quarter h2 {
	background-color: #003DA2;
	color:white;
	line-height: 1.5em;
}

.schedule .rank {
	background-color: #3B636D;
	color:white;
}

.schedule .rank td {
	padding: 0px;
}

.schedule .rank.HIGH {
	background-color: #009744;
}

.schedule .rank.MEDIUM {
	background-color: #009744;
}

.schedule .rank.LOW {
	background-color: #009744;
}



.schedule .department {
	background-color: black;
	color:white;
}

.schedule .department a,
.schedule .department a:visited,
.schedule .department a:hover {
	color: white;
}

.schedule .course {
	background-color: #625C5A;
	color:white;
	font-size: 85%;
	border: 1px solid #625C5A;
	border-left: none !important;
}

.schedule .course .id,
.schedule .course .credits {
	text-align: center;
}

.schedule .course .offerings {
	border-left: 1px solid white;
	text-align: center;
}



.schedule .course .offerings input {
	font-size: 80%;
	border: 1px;
	border-radius:3px;
	padding:2px 4px;
}


.schedule .course .title {
	background-color: white;
	color: black;
	font-weight:700;
}
.schedule .course .title i {
	font-weight:400;
}

.schedule .coursedescription,
.schedule .coursedescription * {
	padding: 0px;
	text-align:justify;
}

.schedule .coursedescription .border {
	background-color: #e9e5e5;
	color: black;
	border-bottom: 1px solid #625C5A;
	border-right: 1px solid #625C5A;
	border-left: 1px solid #625C5A;
	padding: 3px;
	font-size: 95%;	
}

.schedule .location div {
	margin: 0 20px;
	background-color: #CCD3C7;
}

.schedule .coursedescription td {
	padding-bottom: 10px;
}

.schedule .itemheader,
.schedule .item {
	margin: 0 30px;
	border-bottom:1px solid #888;
}

.schedule .endlocation div {
	margin: 0 30px 5px;
}












/* Line one */
.schedule .item-line-1 {
	display: inline; /* inline-block no float */
	float: left;
	min-width:373px;
	max-width:50%;
	font-size: 85%;
	white-space: nowrap;
	line-height: 200%;
}
.schedule .item-line-1 .itemno {
	min-width:40px;
	width:8%;
	display: inline-block;
	font-weight: 700;	
}
.schedule .item-line-1 .courseid {
	min-width:104px;
	width:8%;
	display: inline-block;
}
.schedule .item-line-1 .seatsleft {
	min-width:79px;
	width:12%;
	display: inline-block;
}
.schedule .item-line-1 .where {
	min-width:69px;
	width:10%;
	display: inline-block;
}
.schedule .item-line-1 .day {
	min-width:75px;
	display: inline-block;
}


/* Line two */
.schedule .item-line-2 {
	margin-left: 0px;
	display: inline;
	float: left;
	min-width:346px;
	max-width:49%;
	font-size: 85%;
	white-space: nowrap;
	line-height: 200%;
}
.schedule .item-line-2 .time {
	min-width:115px;
	width:15%;
	display: inline-block;
}

.schedule .item-line-2 .startdate {
	min-width:90px;
	width:12%;
	display: inline-block;
}
.schedule .item-line-2 .operation {
	min-width:135px;
	width:15%;
	display: inline-block;
}







/* line item additional */
.schedule .itemheader .clear,
.schedule .item .clear {
	clear:both;
}
.schedule .item-line-1 .itemno a,
.schedule .item-line-1 .itemno a:visited,
.schedule .item-line-1 .itemno a:active {
	color: blue;
}

.schedule a .item,
.schedule .item a .item-line-1,
.schedule .item  {
		text-decoration: none !important;
		color:black;
}

.schedule .item .fee {
	display:inline-block;
	background: url('../images/fee.svg') no-repeat 0 0 transparent;
	width: 26px;
	height:13px;
}

.schedule .item .link {
	display:inline-block;
	background: url('../images/link.svg') no-repeat 0 0 transparent;
	width: 33px;
	height:13px;	
}

.schedule .item .note {
	display:inline-block;
	background: url('../images/note.svg') no-repeat 0 0 transparent;
	width: 13px;
	height:13px;	
}

.schedule .item .alts {
	display:inline-block;
	background: url('../images/has_alt.svg') no-repeat 0 0 transparent;
	width: 13px;
	height:13px;	
}

.schedule .item .fee *,
.schedule .item .link *,
.schedule .item .note *,
.schedule .item .alts * {
	display:none;
}












.schedule .red {
	color: red;
}

.schedule tbody.linked div {
	background-color: #F5F5F5;
	
}

.schedule tbody.linked:before {
}


dl.fees dd {
	font-size: 80%;
}



















/* .schedule thead.planbar section */

.schedule thead.planbar {
	border: 1px solid #BB4227;
}


table.schedule thead.planbar td {
	padding: 0;
}

.schedule thead.planbar .title {
	background-color: #BB4227;
	color: white;
}

.schedule thead.planbar .plan div {
	float:left;
	padding: 2px 4px;
	width: 100%;
	max-width:124px;
	min-height: 6.5em;
	text-align: center;	
	font-size: 85%;
	
}

.schedule thead.planbar .plan .all {
	background-color: #BB4227;
	color: white;
	font-weight: 700;
	font-variant: small-caps;
	text-decoration: underline;
	display: table-cell;
	vertical-align: middle;
}

.schedule thead.planbar .plan .all span {
	display:block;
	padding-top: 2em;
}



















/* .schedule.plan section */


div#schedule-output.plan {
	xmin-width:584px;
	xwidth:100%;
	xoverflow: auto;
}



.schedule.plan {
	border: 1px solid black;
}

.schedule.plan td,
.schedule.plan th {
	text-align: center;
	empty-cell: show;
	border-collapse:collapse;
	vertical-align:middle;
	font-size: 80%;
}

.schedule.plan tr.quarter td,
.schedule.plan tr.arranged td {
	text-align: left;
}


.schedule.plan td {
	border: 1px solid #AAA;
}

.schedule.plan .weekdays {
	background-color: black;
	color: white;
}
.schedule.plan .weekdays th {
	padding-left: 2px;
}

.schedule.plan .even {
	background-color: #FFE;
}

.schedule.plan .odd {
	background-color: #FEE;
}

.schedule.plan .warn {
	border: 4px dashed red;
}

.schedule.plan td div {
	margin: 1px;
	padding: 2px 0;
	display: inhert;
}

.schedule.plan tr.arranged td.title {
	text-align: center;
	font-size: 100%;
}

.schedule.plan tr.arranged td div {
	float:left;
	padding: 2px 4px;
	width: 100%;
	max-width:116px;
	text-align: center;
}

.schedule.plan tr.arranged td:after {
	content:" ";
	clear:both;
}

.schedule.plan .books {
	font-size:120%;
	line-height:200%;
}




#-spscc-sched-menu-sched-detail-form div,
#-spscc-sched-menu-plan-view-form div {
	text-align:center;
	margin: 2px auto;
}

#-spscc-sched-menu-sched-detail-form input.form-submit,
#-spscc-sched-menu-alt-form input.form-submit {
	max-width:100%;
	min-height:2.8em;
	width:99%;
	margin: 0 0.5%;
}

#-spscc-sched-menu-plan-view-form input.form-submit {
	max-width:25%;
	min-height:2.8em;
	width:24.5%;
	margin: 0 0.25%;
}




#schedule-output .feetitle:after {
	display:inline-block;
	background: url('../images/fee.svg') no-repeat 0 0 transparent;
	width: 26px;
	height:13px;
	margin-left:4px;
	content:" ";
}

#schedule-output tr.note div {
	display:inline-block;
	background: url('../images/note.svg') no-repeat 0 1px transparent;
	padding-left:15px;
	min-height:15px;
}














/* Media selection */

@media all and (max-width:480px) {
	
	div#schedule-output {
		min-width: 360px;
		width:100%;
		font-size: 90%;
		min-height:0;
	}
	
	table.schedule td {
		padding: 0px 2px 0px 2px;
	}
	
	.schedule .item-line-1 {
		min-width:336px;
		line-height: 250%;
	}
	.schedule .item-line-1 .itemno {
		min-width:37px;
	}
	.schedule .item-line-1 .courseid {
		min-width:94px;
	}
	.schedule .item-line-1 .seatsleft {
		min-width:72px;
	}
	.schedule .item-line-1 .where {
		min-width:63px;
	}
	.schedule .item-line-1 .day {
		min-width:68px;
	}
	
	.schedule .item-line-2 {
		min-width:312px;
		top:0px;
	}
	.schedule .item-line-2 .time {
		min-width: 104px;
	}
	.schedule .item-line-2 .startdate {
		min-width:82px;
	}
	.schedule .item-line-2 .operation {
		min-width:122px;
	}
	
	.schedule .location div {
		margin: 0 10px;
	}
	
	.schedule .itemheader,
	.schedule .item {
		margin: 0 20px;
	}
	
	.schedule .endlocation div {
		margin: 0 20px 5px;
	}
	.schedule.plan tr.arranged td div {
		width: auto;
	} 
	
	.schedule thead.planbar .plan div {
		width: 90px;
		font-size: 75%;
		line-height: 1.3em;
	}
	
}

@media all and (max-width:420px) {
	div#schedule-output {
		min-width: 320px; /* 320 * 3 / 2 = 480 */
		width:100%;
		font-size: 80%;
		min-height:0;
	}
	
	table.schedule td {
		padding: 0px;
	}
	
	.schedule .item-line-1 {
		min-width:299px;
		line-height: 250%;
	}
	.schedule .item-line-1 .itemno {
		min-width:33px;
	}
	.schedule .item-line-1 .courseid {
		min-width:84px;
	}
	.schedule .item-line-1 .seatsleft {
		min-width:64px;
	}
	.schedule .item-line-1 .where {
		min-width:56px;
	}
	.schedule .item-line-1 .day {
		min-width:61px;
	}
	
	.schedule .item-line-2 {
		min-width:277px;
	}
	.schedule .item-line-2 .time {
		min-width: 93px;
	}
	.schedule .item-line-2 .startdate {
		min-width:73px;
	}
	.schedule .item-line-2 .operation {
		min-width:109px;
	}
	
	.schedule .location div {
		margin: 0;
	}

	.schedule .itemheader,
	.schedule .item {
		margin: 0;
	}

	.schedule .endlocation div {
		margin: 0 0 5px;
	}

}

 
 
