﻿@charset "utf-8";
/* CSS Document */

body {
	font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
	margin: 0;
	padding: 0;
	color: #000;
	overflow-x: hidden;

}

body#kcbody, body#tcbody {
	font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
	background: #CCCCCC url("https://s3.amazonaws.com/cspublic/bckgrd.jpg") repeat scroll left 0 ;
	margin: 0;
	padding: 0;
	color: #000;

}

/* ~~ Element/tag selectors ~~ */
ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
	padding: 0;
	margin: 0;
}
h1, h2, h3, h4, h5, h6, p {
	margin-top: 0;	 /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
	padding-right: 15px;
	padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
	
}

h1,h2 {
	margin-bottom:15px;
}

a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
	border: none;
}
/* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
a:link {
	color:#414958;
	text-decoration: underline; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
}
a:visited {
	color: #4E5869;
	text-decoration: underline;
}
a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
	text-decoration: none;
}

/* ~~ this container surrounds all other divs giving them their percentage-based width ~~ */
.container {
	max-width: 1200px;
	background-color: #FFF;
	margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
}

/* ~~the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo~~ */
.header {
	background-color: #6aaa67;
	overflow:hidden; /**for float containment**/
	color:#000;
	padding-top:25px;
}

/* ~~the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo~~ */
.kcheader, .tcheader {
	background-color: #774977;
	overflow:hidden; /**for float containment**/
	color:#FFF;
	box-shadow: 0 8px 6px -6px #777;
	margin: 0;
	padding-top: 15px;
	height: 60px;
	font-size: 1.5em;
	text-align:center;
}

/* ~~ This is the layout information. ~~ 

1) Padding is only placed on the top and/or bottom of the div. The elements within this div have padding on their sides. This saves you from any "box model math". Keep in mind, if you add any side padding or border to the div itself, it will be added to the width you define to create the *total* width. You may also choose to remove the padding on the element in the div and place a second div within it with no width and the padding necessary for your design.

*/
.content {
	padding: 10px 0;
	line-height:150%;
	padding-left:20px;
	padding-right:20px;
	text-align:justify;
}

/* ~~ This grouped selector gives the lists in the .content area space ~~ */
.content ul, .content ol { 
	padding: 0 15px 15px 40px; /* this padding mirrors the right padding in the headings and paragraph rule above. Padding was placed on the bottom for space between other elements on the lists and on the left to create the indention. These may be adjusted as you wish. */
}

.kch1, .tch1 {
	color:#404040; 
	text-align:center;
	font-size: 20px;
}

/* ~~ The footer ~~ */
.footer, .kcfooter {
	padding: 10px 0;
	background-color: #774977;
	color: #FFF;
	text-align:center;
	font-weight:bold;
}

.footer2 {
	color: #fff !important;
	background-color: #9c27b0 !important;
	padding: 8px 16px!important;
    box-shadow: 0 4px 10px 0 rgba(0,0,0,0.2),0 4px 20px 0 rgba(0,0,0,0.19);
}

.footer2 p {
	padding: 8px 16px!important;
    text-align: center!important;
}


/* ~~ miscellaneous float/clear classes ~~ */
.fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 20px;
}
.fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
	float: left;
	margin-right: 20px;
}
.clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
}

.imagecaption {
	font-size:70%; 
	text-align:center;
	font-weight:bold;
	text-align:center;
}

blockquote.calloutStop, blockquote.KCcalloutStop {
  padding-left: 80px;
  padding-top: 18px;
  padding-bottom: 18px;
  padding-right: 10px;
  background-color: #FFE5E5;
  border: solid 2px #FFD1D1;
  border-radius:15px 30px;
  box-shadow: 5px 5px 3px lightgrey;
  margin: 20px;
  background-image: url("https://s3.amazonaws.com/cspublic/Stop.png");
  background-position: 2% 20%;
  background-repeat: no-repeat;
  font-weight:bold;
  font-size:95%;
} 

blockquote.calloutPoint, blockquote.KCcalloutPoint {
  padding-left: 80px;
  padding-top: 18px;
  padding-bottom: 18px;
  padding-right: 10px;
  background-color: #FFF2C1;
  border: solid 2px #FFE896;
  border-radius:15px 30px;
  box-shadow: 5px 5px 3px lightgrey;
  margin: 20px;
  background-image: url("https://s3.amazonaws.com/cspublic/Cone.png");
  background-position: 2% 50%;
  background-repeat: no-repeat;
  font-weight:bold;
  font-size:95%;
} 

blockquote.codeBox {
  padding-left: 40px;
  padding-top: 18px;
  padding-bottom: 18px;
  padding-right: 10px;
  background-color: #EFEFEF;
  border: 2px solid lightgrey;
  border-radius:5px 20px 20px 20px;
  box-shadow: 3px 3px 2px lightgrey;
  font-family:"Courier New", Courier, monospace;
  font-size:125%;
  margin: 20px;
 } 
 
 blockquote.workWithMe {
  background-color: #E8F8FF;
  padding:20px;
  border-radius:15px;
  box-shadow: 5px 5px 3px lightgrey;
  border: 2px solid #CCEFFF;
  margin: 20px;
 } 
 
 blockquote.workWithMe > p:first-child {
	font-weight: bold;
	font-size: 125%;
}

blockquote.workWithMe > p:first-child:before {
	content:url("https://s3.amazonaws.com/cspublic/gears.png");
	display:inline-block;
	vertical-align:middle;
	padding-right:10px;
}

blockquote.workWithMe > h3:first-child {
    text-indent: 60px;
}

.variable {
  color:#630;
  font-family:"Courier New", Courier, monospace;
  font-size:125%;
  font-weight:bold;	
}

.grayText {
	color: gray;
}

img.floatleft { 
	float: left;
	padding-right:15px;
	border:1px solid #000;
}
	 
img.floatright { 
	float: right;
	padding-left:15px;
  border:1px solid #000;
}

img {
	max-width: 100%;
  height: auto;
}
#lesson-text  {
	font-size: x-small;
	background-color: LightGray;
	padding: 20px;
	margin:30px;
	border-width: 2px;
  	border-style: solid;
  	border-color: darkgray;
    box-shadow: 5px 5px 3px lightgrey;
    border-radius: 5px;
}

#lesson-text img {
  -webkit-transform: scale(0.8); /* Saf3.1+, Chrome */
     -moz-transform: scale(0.8); /* FF3.5+ */
      -ms-transform: scale(0.8); /* IE9 */
       -o-transform: scale(0.8); /* Opera 10.5+ */
          transform: scale(0.8);
             /* IE6蜂E9 */
             filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.9999619230641713, M12=-0.008726535498373935, M21=0.008726535498373935, M22=0.9999619230641713,SizingMethod='auto expand');

}

#lesson-text blockquote {

	background-size: 10% 90%;

}

#lesson-text blockquote.workWithMe {

	background-size:auto;

}

.bluecena {
  font-family: 'ARCena','Times New Roman','serif';
  font-weight: normal; 
  color:#2A439D;
  text-shadow: 1px 1px 3px #727696;
}

.whitecena {
  font-family: 'ARCena','Arial','serif';
  font-weight: normal; 
  font-style: normal;
  font-size: 36px;
  color:#FFF;
  text-shadow: 2px 3px 1px rgba(0,0,0,0.4);
}

.yellowcena {
  font-family: 'ARCena','Arial','serif';
  font-weight: normal; 
  color:#FFFB76;
  text-shadow: 1px 1px 3px #727696;
}

.greencena {
  font-family: 'ARCena','Arial','serif';
  font-weight: normal; 
  color:#045808;
  text-shadow: 1px 1px 3px #446044;
}

.kctable, .tctable {
  margin-left: 5%;
  margin-right: 5%;
	font: normal normal normal 16px/150% Arial, Helvetica, sans-serif; 
	background: #fff; 
	/*overflow: hidden; */
	-webkit-border-radius: 3px; 
	-moz-border-radius: 3px; 
	border-radius: 3px; 
}

.kctable table, .tctable table { 
  border: 1px solid #000; 
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse; 
  text-align: left; 
} 

	
.kctable table td, .kctable table th, .tctable table td, .tctable table th { 
	padding: 3px 10px; 
	vertical-align:top;
}

.kctable table th, .tctable table th {
	background-color:#842584; color:#FFFFFF; 
	font-weight: bold; 
	border-left: 1px solid #000; 
} 

.kctable table th:first-child, .tctable table th:first-child { 
border: none; 
}

.kctable table td, .tctable table td { 
	color: #000; 
	border-left: 1px solid #000;
	font-weight: normal;
}

.kctable table .alt td, .tctable table .alt td { 
	color: #000; 
}

.kctable table td:first-child, .tctable table td:first-child { 
	border-left: none; 
}

.kctable table tr:last-child td, .tctable table tr:last-child td { 
	border-bottom: none; 
}

.kctable table tr, .tctable table tr { 
	border-bottom: 1px solid darkgray; 
}


.CCaptions {
        text-transform: uppercase;
        font-family: "Tahoma";
        font-size: 10px;
}

.strikethrough {
  text-decoration:line-through; 
}

.resp-video {
	max-width:100%;
	height: auto;
}

.cs-terminal, .cs-static-text
{
  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  padding: 1em;
  border: .05em solid black;
  background-color: #333;
  color: #FFFFFF;
  border-radius: .3em;
  max-width:100%;
  overflow: auto;  
}

/* Styling dfn tag to highlight the word with the tooltip */
dfn {
  border-bottom: dashed 1px rgba(0,0,0,0.8);
  /*padding: 0 0.4em;*/
  cursor: help;
  font-style: normal;
  position: relative;
  font-weight: bold;
  white-space: nowrap;
}

.cs_vocab_tooltip {
  display: none;
  position: absolute;
  top: 22px; left: 0;	
  opacity: 1;
  width: 230px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5em;
  padding: 0.5em 0.8em;
  background: rgba(0,0,0,0.8);
  color: #fff;
  transition: opacity 250ms, top 250ms;
  white-space: normal;
	z-index:1030;
}

#cs-vocab-list {
	background-color:#C9FFCD;
	padding: 20px;
	border-radius:15px;
	box-shadow:5px 5px 3px lightgray;
	border: 2px solid lightgreen;
        margin: 20px;
}

#cs-vocab-list > p:first-child {
	font-weight: bold;
	font-size: 125%;
	text-align:center;
	color:darkgreen;
}

#vocab-list >p:first-child:before {
	font-family: "Font Awesome 5 Free";
	font-weight: 600;
	content: "\f02d   ";
	font-size:125%;
	color:darkgreen;

}

.vocab_list_word {
text-transform:capitalize;
}

.chapterhead {
    color: #fff!important;
    background-color: #9c27b0!important;
    padding: 8px 16px!important;
    box-shadow: 0 4px 10px 0 rgb(0 0 0 / 20%), 0 4px 20px 0 rgb(0 0 0 / 19%);
}

h1.chapter_title {
    font-weight: bold;
    text-align: center!important;
    opacity: 0.75;
    font-family: "Segoe UI",Arial,sans-serif;
    margin: 10px 0;
    font-size: 36px;
}

h2.cs_lesson_title
{
	font-weight:bold;
	line-height:1.2em;
}

h3.cs_section_title
{
	font-weight:bold;
	padding:.75em;
	clear:both;
}

h1.cs_chapter_title
{
	font-weight:bold;
}

div.ap_additional_resources
{
    color: #000!important;
    background-color: #ffffcc!important;
    box-shadow: 0 4px 10px 0 rgba(0,0,0,0.2), 0 4px 20px 0 rgba(0,0,0,0.19);
    border-radius: 4px;
}

div.ap_additional_resources>header
{
    color: #000!important;
    background-color: #ffeb3b!important;
    padding:.75em; 
    font-weight: bold;
    font-family: "Segoe UI",Arial,sans-serif;
    margin: 10px 0;
    font-size: 24px;
}

div.ap_additional_resources>p
{
    padding: 8px 16px!important;
}


div.ap_loek
{
    color: #fff!important;
    /*background-color: #4CAF50!important;*/
    background-color: #48A34E!important;
    padding: 8px 16px!important;
    box-shadow: 0 4px 10px 0 rgba(0,0,0,0.2), 0 4px 20px 0 rgba(0,0,0,0.19);
    border-radius: 8px;
}

div.code-toolbar
{
	font-size:initial;
}
