@font-face { 
	font-family: "Ionicons"; 
	src: url("fonts/ionicons.woff");
}

.icon {
  font-family: Ionicons;
  font-size: 133%;
}

TD.icon {
  text-align: center;
  width: 1.5rem
}




TABLE.md { 
	width: 100%; 
	height: 300px; 
}

TABLE.md TD { position: relative; width: 50%; }
TABLE.md TD TEXTAREA {
	resize: none;
}
TABLE.md TD DIV.md-preview { 
	overflow: auto;
	background: #ddd;
	color: #222;
}

TABLE.md TD DIV.md-preview,
TABLE.md TD TEXTAREA {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	box-sizing: border-box;
	margin: 0px;
	padding: 1em;
}

TABLE.md TD TEXTAREA {
	font-family: monospace;
}

DIV.md-preview P {
	padding: 1ex 0; 
	margin: 0; 
}



.syllabus-preview {
  background-color: white;
  padding: 1rem;
  border: 1px solid lightgray;
}

.syllabus-preview H1:first-child,
.syllabus-preview H2:first-child,
.syllabus-preview H3:first-child {
  margin-top: 0;
}

.last-modify {
	font-size: 80%;
	text-align: right;
}


.stats {
	display: flex;
	gap: 10px;
    min-height: 80px;
}

.stats P {
	margin: 0px;	
}

.stat-boxes {
	display: flex;
	gap: 5px;
}

.stat-box span {
    display: block;
    padding: 3px;
    font-size: 10px;
    text-align: center;
    color: #444;
    letter-spacing: 1px; 
}

.stat-box strong {
    display: block;
    line-height: 40px;
    text-align: center;
    font-size: 30px;
    letter-spacing: 0.2ex;
}

.stat-box {
    display: inline-block;
    width: 70px;
    height: 60px;
    background-color: #e1e8e6;
    border: 1px solid #cccccc;
    color: black;
    background-origin: content-box;
}



DIV.warn-box {
	position: relative;
	padding: 10px 60px;
}

DIV.warn-box:before {
	color: #ffab0d;
	position: absolute;
	top: 0;
	left: 0;
	font-family: IonIcons;
	font-size: 48px;
	content: '\f268';
}

.warn-msg {
	color: #ffab0d;
}

.error-msg {
	color: #8e0606;
}


DIV.info-box {
	border: 1px dashed #004735;
	position: relative;
}

DIV.info-box:before {
	color: #004735;
	content: '\f311';
}

DIV.info-box:before,
DIV.error-box:before,
DIV.warn-box:before {
	position: absolute;
	display: block;
	inset: 0px;
	font-family: IonIcons;
	font-size: 44px;
	width: 60px;
	line-height: 60px;
	text-align: center;
}

DIV.info-box ,
DIV.error-box ,
DIV.warn-box {
	padding: 20px 60px;
}

DIV.error-box {
	border: 1px dashed #8e0606; 
	color: #8e0606;
	position: relative;
}

DIV.error-box:before {
	color: #8e0606;
	content: '\f367';	
}



DIV.warn-box P {
	font-size: inherit;
}


.left-right { display: flex; width: 100%; }
.left-right > *:first-child {  }
.left-right > *:last-child  { margin-left: auto;  }

TABLE TD.btn:last-child   { text-align: right; }


TABLE.courses TH:nth-child(3) { width: 20ex; }
TABLE.courses TH:nth-child(4) { width: 20ex; }
TABLE.courses TH:nth-child(5) { width: 30ex; }
TABLE.courses TH:nth-child(7) { width: 10ex; }
TABLE.courses TD:nth-child(7) { text-align: right; }

TABLE.software-needs TH:nth-child(1) { width: 12ex; } 
TABLE.software-needs TH:nth-child(3) { width: 10ex; } 

TABLE.thesis-application-review TH:nth-child(1) { width: 50%; }
TABLE.thesis-application-review TH:nth-child(2) { width: 50%; }

TABLE.office-hours TH:nth-child(1) {  width: 18ex; }

TABLE.single-office-hours TH:nth-child(1) { width: 40ex; } 

TABLE.office-hours TH:nth-child(2), 
TABLE.office-hours TD:nth-child(2), 
TABLE.single-office-hours TH:nth-child(2), 
TABLE.single-office-hours TD:nth-child(2) { width: 15ex; text-align: right; }
 
TABLE.office-hours TH:nth-child(3), 
TABLE.office-hours TD:nth-child(3), 
TABLE.single-office-hours TH:nth-child(3), 
TABLE.single-office-hours TD:nth-child(3) { width: 15ex; text-align: left; }

.main-services .items {
	margin: 2rem 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;	
}

.main-services .item A {
	display: flex;
	align-items: center;
	gap: 1rem;
	background-color: #e1e8e6;
	padding: 1rem;
	text-decoration: none;
}

.main-services .item A:hover {
	color: black;
}

.main-services .item A .icon {
	font-size: 2rem;
	min-width: 3rem;
	text-align: center;
	margin: 5px 0;
}

@media (min-width: 576px) {
	.main-services .items {
		grid-template-columns: 1fr 1fr;
	}
}


SECTION > HEADER CODE {
	display: inline-block;
	background-color: #e1e8e6;
	padding: 1ex;
}



DIV.prop4 {
	border: 1px solid #d3d3d3;
	background-color: white;
	display: grid;
	grid-template-columns: 1fr;
	gap: 0ex;
}

@media (min-width: 576px)  { DIV.prop4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px)  { DIV.prop4 { grid-template-columns: 1fr 1fr 1fr;  } }
@media (min-width: 992px)  { DIV.prop4 { grid-template-columns: 1fr 1fr 1fr 1fr;  } }
@media (min-width: 1200px) { DIV.prop4 { grid-template-columns: 1fr 1fr 1fr 1fr; } }

DIV.prop4 > * {
	padding: 1ex;
}

DIV.prop4 > * > * {
	display: block;
}

UL.props {
	display: grid;
	width: fit-content;
	grid-template-columns: auto auto;
	padding: 0;
}

UL.props > LI > STRONG::before {
	content: '\2022';
	padding-right: 1ex;
}

UL.props > LI > STRONG::after {
	content: ':';
	padding-right: 1ex;
}

UL.props > LI {
	display: contents;
}

UL.props > LI > EM {
	font-style: normal;
}


.radiogroup .radio {
    position: relative;
    padding-left: 2em;
}

.radiogroup .radio LABEL {
    cursor: pointer;
}

.radiogroup .radio INPUT {
    position: absolute;
    visibility: hidden;
}

.radio LABEL STRONG::before {
    content: '\F380';
    font-family: ionicons;
    padding-right: 1ex;
    width: 1.2em;
    display: inline-block;
}

.radio INPUT + LABEL STRONG::after { content: ': '; }

.radio INPUT + LABEL STRONG::before { content: '\F380'; }
.radio:hover INPUT + LABEL STRONG::before { content: '\F381'; }
.radio INPUT:checked + LABEL STRONG::before { content: '\F2B8'; }
.radio:hover INPUT:checked + LABEL STRONG::before { content: '\F2B9'; }



