﻿@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,700,800);
@import url(https://fonts.googleapis.com/css?family=Lora:300,400,700);
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;700&display=swap');

body {
  line-height: 1.7;
  font-weight: 400;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 1.5em;
  color: #222222;
  background: #FFFFFF; }

.container {
  max-width: 90% !important;
}

h2, h3, h4, h5, h6 {
		/* font-family: Georgia, serif; */
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
	}

h2 {
  font-size: 1.9em;
  margin-top: 40px;
  margin-bottom: 20px;
  background-color: #FFD54F;
  padding: 5px;
  line-height: 1.2em;
  display: table;
}

h3 {
  font-size: 1.6em;
  margin-top: 30px;
  margin-bottom: 15px;
}

h4 {
  font-size: 1.05em;
  text-transform: uppercase;
  /* border-bottom: 1.5px dotted #3D3D3D;
  padding-bottom: 2px; */
  margin-top: 15px;
  margin-bottom: 15px;
  display: table;
}

li, li li {
  padding-bottom: 5px;
}

.course_note {
  margin: 10px 0;
  padding: 5px;
  border-top: 1px dashed #CCCCCC;
  border-bottom: 1px dashed #CCCCCC;
  }

.course_note::before {
  content: "NOTE: ";
  color: #C70039;
  font-weight: bold;
}

.course_text-center{
  text-align: center !important;
}

a {
  color: #0000EE;
  text-decoration: underline; }
  a:hover {
    color: #5555ff; }
  a:active {
    color: #0000bb; }
  a:visited {
    color: #551A8B; }
  a:focus {
    color: #000055; }

.icons {
  position: relative;
  top: 2px;
  width: 16px;
  height: 16px;
  display: inline-block;
  margin-right: 5px; }
  .icons.new-tab {
    background-image: url(https://learn.uwaterloo.ca/shared/uw_media/master/icons/new-tab.png); }

table {
  margin: 0 auto;
  margin-bottom: 18px;
}

table > caption {
  display: none;
}

td {
  line-height: 20px;
  padding: 10px;
}

th {
  padding: 10px;
  background: #EEEEEE;
}

td.shade {
  background-color: #E8E8E8;
}

.table-responsive {
    padding: 20px 0 20px 0;
}

.table-responsive > .table > tbody > tr > th, .table-responsive > .table > tbody > tr > td {
  white-space: normal !important;
  border-color: #bbb;
}

.table-responsive > .table > tbody > tr > td > p {
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 8px;
}

.table-responsive > .table > tbody > tr > td > ol >li, .table-responsive > .table > tbody > tr > td > ul >li {
    font-size: 1.4rem;
}

.copyright, .cel_copyright {
  color: #444444;
	text-align: right;
	padding:7px 0;
	border:none;
	font-size:12px;
  clear:both;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-word;
  -ms-hyphens: manual;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
}

/* mediaelement player */
.media-copyright {
    font-size:12px;
    line-height:1.2;
    text-align:right;
    margin-top:10px;
    margin-bottom:60px;
}
.media-copyright.mp4video {
    position: relative;
    top: 40px;
}

.floatimgleft {
  float:left;
  margin-right:35px;
}
.floatimgright {
  float:right;
  margin-left:35px;
}


.page-table-of-contents h1 {
  background: none;
  border-bottom: none;
  padding: 0;
  margin: 0;
  color: #000;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 2.2em;
  font-weight: 700;
}

.page-table-of-contents h2 {
  color: #000;
  border: none;
  margin-left: 0;
  }

/* Help icon */
.custom-div-one {
  margin-top: 30px;
  margin-bottom: 30px;
  margin-left: 40px;
  padding: 15px 25px 10px 100px;
  /* border: #FFD54F 2px solid; */
    border: #FFD54F 2px solid;

}

 .custom-div-one:before{
  content: " ";
  background-image: url(../../media/images/kl_icons_head.png);
  background-repeat: no-repeat;
  width: 111px;
  height: 112px;
  position: absolute;
  margin-top: -2.5%;
  margin-left: -150px;  
}

/* FOR Downloadable Checklist */

.custom-div-two {
  margin-top: 30px;
  margin-bottom: 30px;
  margin-left: 0;
  padding: 15px 25px 10px 25px;
  /* border: #FFD54F 2px solid; */
    border: #FFD54F 2px solid;
}

/* Print icon */
.custom-div-three {
  margin-top: 30px;
  margin-bottom: 30px;
  margin-left: 30px;
  padding: 15px 25px 15px 50px;
  /* border: #FFD54F 2px solid; */
    border: #FFD54F 2px solid;

}
 .custom-div-three:before{
  content: " ";
  background-image: url(../../media/images/kl_icons_print.png);
  background-repeat: no-repeat;
  width: 80px;
  height: 80px;
  position: absolute;
  margin-top: -25px;
  margin-left: -90px;
  background-size: 80px;  
}

/* ==========================================================================
Icons - New Tab
========================================================================== */
.cel_z-icons-new-tab
{} 
.cel_z-icons-new-tab:after
{
  content:'';
  padding-right: 20px;
} 
.cel_z-icons-new-tab:before
{
  position: absolute; 
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
/* new tab */
.cel_z-icons-new-tab:after {
  background: url(https://learn.uwaterloo.ca/shared/uw_media/master/icons/new-tab.png) no-repeat 100% 0; 
}
.cel_z-icons-new-tab:before {
  content: "Link opens in a new tab. ";
}

/* ==========================================================================
header
========================================================================== */
header {
  background: #000;
  height: 60px;
  line-height: 60px;
  color: #ececec;
  margin:0;
}

header a {
text-decoration: none;
color: #FFF;
}

header a:hover {
text-decoration: underline;
color: #FFF;
}

header p {
  margin:0;
}
.uw-site--cbar {
  display: flex;
  width: 100%;
}
.uw-site--cbar .uw-cbar {
  height: 15px;
  flex: 1;
}
.uw-site--c1 {
  background-color: #fffaaa;
}
.uw-site--c2 {
  background-color: #ffea30;
}
.uw-site--c3 {
  background-color: #fdd54f;
}
.uw-site--c4 {
  background-color: #e4b429;
}

.homeTag {
  font-family: "Lora", serif;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  margin-top: 11px;
  position: absolute;
  line-height:1.3;
}
.uw-site--header {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: .8rem 0 .5rem 0;
    text-align: center;
    min-height: 3.438rem;
    line-height: 1.4;
    height: auto;
    background-color: #eee;
    text-transform: uppercase;
    font-family:"impact", sans-serif;
}
.uw-section--inner {
    padding: 0 .8rem 0 .8rem;
    clear: both;
    margin-left: auto;
    margin-right: auto;
    font-size: 32px;
}
.uw-section--inner a, .uw-section--inner a:hover {
    color:#000;
    text-decoration:none;
}
.uw-section--inner a:visited {
    color: #4e4e4e;
}
/* ==========================================================================
Heading (h1 hero)
========================================================================== */
.heading {
  background:#FFF;
  height:180px;
  max-height:180px;
  overflow:hidden;
}
.heading h1 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size:2.2em;
  font-weight: 700;
  color:#000;
  margin:-10px 0 0 0;
}
.heading h1 .small, .course_headingSmall {
  font-size:12px;
  display:inline-block;
}
.course_img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}
.vertical-align {
  display: flex;
  align-items: center;
  height:200px;
}
/* ==========================================================================
Search
========================================================================== */
header input.form-control {
  border-radius: 6px;
  box-shadow: none;
  height: 40px;
  margin-top: 10px;
  padding-right: 40px;
}
header input.form-control:focus {
  border:1px solid #717171;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(0,0,0, 0.2);
}
.searchInput {
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    transition: all .5s ease;
    border: 1px solid #CCC;
}
.courseSearch {
    position:relative;
}
.courseSearch.mobile {
    padding: 0 29px
}
.courseSearch.mobile i.fa {
    right: 30px;
}
.courseSearch i.fa {
        float: right;
    top: 1px;
    right: 1px;
    position: absolute;
    color: #aaa;
    cursor: pointer;
    font-size: 14px;
    width: 34px;
    height: 32px;
    padding: 9px;
    border-left: 1px solid #ccc;
    background: #fff;
    border-radius: 0 6px 6px 0;
}
/* ==========================================================================
Footer
========================================================================== */
footer.ccs-footer {
  min-height:200px;
  background:#464646;
  color:#FFF;
  margin-top:40px;
  font-size:12px;
  padding-top:30px;
}
footer.ccs-footer strong {
  font-size:14px;
  color: #fff;
}
footer.ccs-footer a {
  color:#FFF;
  text-decoration:underline;
}
footer.ccs-footer a:hover, footer.ccs-footer a:active, footer.ccs-footer a:focus, footer.ccs-footer a:visited {
  color:#FFF;
  text-decoration:none;
}
/* ==========================================================================
Print
========================================================================== */

@media print {
  a:after {display:none;}
  .table-responsive {
      overflow-x: visible;
  }
  a, ol, td{
    word-break: break-word;
  }

  @page {
    margin: 0.5cm;
  } 

  h1, h2, h3, h4, h5 {
    page-break-after: avoid;
  }
  h2 {
    padding:0;
  }
  .ccs-footer,.custom-div-three {
    display: none;
  }
  h1,h2,h3 {
    letter-spacing: -1px;
  }
  h1 {
    margin-top:-80px !important;
  }
  .heading {
    height:100px;
  }

}


/*-------------------------------
FAKE CHECKLIST Unordered lists
----------------------------------*/
.course_checklist {
  margin-top: 5px;
}

.course_checklist li {
  list-style-type: none;
  text-indent: -20px;
}
.course_checklist li:before
{
    content: "\2610";
    margin-right:5px;
}




/* accordion element */
.accordionToggle[aria-expanded="false"]:after {
    width:16px;
    height: 16px;
    content: '+';
    float:left;
}
.accordionToggle[aria-expanded="true"]:after {
    width:16px;
    height: 16px;
    content: '-';
    float:left;
}
.accordion-toggle-open-close {
  float:right;
  font-size:12px;
}
.accordion-toggle-open-close a, .accordion-toggle-open-close a:visited, .accordion-toggle-open-close a:focus {
  color:#0000EE;
}

/*-------------------------------
H5P Page - Images
----------------------------------*/

.h5p {
  padding: 20px 0px;
}