/* Will Dove's new Header code */

.shrink {
  height: 60px;
}
img.custom-hint-img {    width: 104px;}
.hint_images:hover img.custom-hint-img {
    margin-top: -55.5px!important;
}
img.custom-hint-img {
    box-shadow: none !important;
    margin: 0!important;
}
.hint_images { 
	height: 54px;
	overflow: hidden;
	padding-top: 10px;
} 

.image_box img {
    width: auto;
}
   
/*This is for the message bar (found in the nav.php file). Currently commented out.*/
/*.message {
    background: #E4B124;
    text-align: center;
    height: 50px;
    margin: 0 -20px;
    padding: 0;
    
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    -ms-transition: all .3s ease;
    transition: all .3s ease;
}

.message p{
    color: #000;
    padding-top: 15px;
    font-family: 'Domine', serif;
    font-style: italic;
    font-weight: bold;
}*/

/*-----end message bar-----*/

.topbar {
    margin-top: 40px;
    height: 40px;
    background: #fff;
    border-bottom: 1px solid #cccccc;
}

.contact span {
    font-weight: 700;
    font-size: 16px;
    padding-top: 5px;
}

.contact a{
    color: #4f6d7a;
}

.contact a:hover{
    color: #4f6d7a;
}

.contactbtn {
    margin-left: 40px;
}

.contactbtn a{
    margin-top: 6px;
    display: inline-block;
    background: #4f6d7a;
    border-radius: 100px;
    font-family: 'Domine', serif;
    color: white;
    padding: 3px 30px;
}

.contactbtn a:hover{
    background: #000;
    color: white;
}

.menubar{
    background: #fff;
    box-shadow: 0 2px 2px #4f6d7a;
    height: 60px;
    
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    -ms-transition: all .3s ease;
    transition: all .3s ease;
}

.logobox {
    margin: 8px 0;
}

.xlLogo {
    width: 120px;
}

/* Will Dove's new mega-menu code */


/* Reset */
.mega-nav,
.mega-nav a,
.mega-nav ul,
.mega-nav li,
.mega-nav div,
.mega-nav form,
.mega-nav input {
	margin: 0;
	padding: 0;
	border: none;
	outline: none;
}

.mega-nav a { text-decoration: none; }

.mega-nav li { list-style: none; }

/* Menu Container */
.mega-nav {
    width: 100%;
    margin-top: 10px;
    display: inline-block;
    position: relative;
    cursor: default;
    z-index: 500;
}

/* Menu List */
.mega-nav > li {
	display: block;
	float: left;
}

/* Menu Links */
.mega-nav > li > a {
	position: relative;
	display: block;
	z-index: 510;
	height: 40px;
	padding: 0 20px;
	line-height: 40px;
	
	font-family: 'Montserrat', sans-serif;
	font-weight: bold;
	font-size: 13px;
        text-transform: uppercase;
	color: #000;
	text-shadow: 0 0 1px rgba(0,0,0,.35);

	background: #fff;

	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	-ms-transition: all .3s ease;
	transition: all .3s ease;
}

.mega-nav > li > a:hover{
    color: #02723B;
}

@keyframes pulse {
  0% {
    transform: scale(1.0);
  }
  50% {
    transform: scale(1.1);
  }
    100% {
    transform: scale(1.0);
  }
}

.mega-nav > li:first-child > a {
    z-index: 9999;
	border-radius: 100px;
	border-left: none;
        background: #02723B;
        color: #fff;
    animation: pulse 2.5s 3;
}

.mega-nav > li:first-child > a:hover {
    background: none;
    color: #02723B;
}

/* Dropdown styling */

.mega-menu__image {
    overflow: hidden;
    border: 1px solid darkgray !important;
    border-radius: 6px;
    width: 100%;
    height: 150px;
}

.mega-menu__image img{
    	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	-ms-transition: all .3s ease;
	transition: all .3s ease;
}

.nav-column:hover img{
    transform: scale(1.1) translate(0, -2px);
}

.nav-column:hover .meganav__heading {
    color: #02723B;
}

.nav-column p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    height: 70px;
    padding: 10px;
    border-radius: 6px;
    line-height: 1.6rem;
    color: white;
}

.mega-menu__color01 {
    background-color: #4f6d7a;
}

.mega-menu__color02 {
    background-color: #db504a;
}

.mega-menu__color03 {
    background-color: #02723b;
}

.mega-menu__color04 {
    background-color: #e3b505;
}

/* Search Form */

li .nav-search {
    display: none !important;
}

.nav-search input {
    display: none !important;
}

.mega-nav > li.nav-search > form {
	position: relative;
	width: inherit;
	height: 54px;
	z-index: 510;
}

.mega-nav > li.nav-search input[type="text"] {
	display: block;
	float: left;
	width: 1px;
	height: 24px;
	padding: 15px 0;
	line-height: 24px;

	font-family: Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 13px;
	color: #000;
	text-shadow: 0 0 1px rgba(0,0,0,.35);

	-webkit-transition: all .3s ease 1s;
	-moz-transition: all .3s ease 1s;
	-o-transition: all .3s ease 1s;
	-ms-transition: all .3s ease 1s;
	transition: all .3s ease 1s;
}

.mega-nav > li.nav-search input[type="text"]:focus { color: #fcfcfc; }

.mega-nav > li.nav-search input[type="text"]:focus,
.mega-nav > li.nav-search:hover input[type="text"] {
	width: 110px;
	padding: 15px 20px;

	-webkit-transition: all .3s ease .1s;
	-moz-transition: all .3s ease .1s;
	-o-transition: all .3s ease .1s;
	-ms-transition: all .3s ease .1s;
	transition: all .3s ease .1s;
}

.mega-nav > li.nav-search input[type="submit"] {
	display: block;
	float: left;
	width: 20px;
	height: 54px;
	padding: 0 25px;
	cursor: pointer;

	
	border-radius: 0 3px 3px 0;

	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	-ms-transition: all .3s ease;
	transition: all .3s ease;
}

.mega-nav > li.nav-search input[type="submit"]:hover { background-color: #4b4441; }

/* Menu Dropdown */
.mega-nav > li > div {
	position: absolute;
	display: block;
	width: 70vw;
	top: 48px;
	left: 30%;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
        box-shadow: 0 1px 5px #000000;

	opacity: 0;
	visibility: hidden;
	overflow: hidden;

	background: #ffffff;
	border-top: 3px solid green;

	-webkit-transition: all .3s ease .15s;
	-moz-transition: all .3s ease .15s;
	-o-transition: all .3s ease .15s;
	-ms-transition: all .3s ease .15s;
	transition: all .3s ease .15s;
}

.mega-nav > li:hover > div {
	opacity: 1;
	visibility: visible;
	overflow: visible;
}

/* Menu Content Styles */
.mega-nav .nav-column {
	float: left;
	width: 25%;
	padding: 2.5% 1% 1% 1%;
}

.mega-nav .nav-column h3 {
	margin: -20px 0 10px 0;
	line-height: 18px;
	
	font-family: Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 14px;
	color: #372f2b;
	  
	text-transform: uppercase;
}

.mega-nav .nav-column h3.orange { color: #ff722b; }

.mega-nav .nav-column li a {
	display: block;
	line-height: 26px;
	
	font-family: Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 13px;
	color: #888888;
}

.mega-nav .nav-column li a:hover { color: #666666; }

/*
 * ------------------------- END: WILL'S CODE ----------------------
 */

/*
 * ------------------------- Base structure - EXISTING (OLD) CODE ----------------------
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
/*  padding-top: 50px;*/
  background-color: white;
  /*background-image: url(../images/bg.jpg);*/
  /*background-image: url(../images/6bb5a8775e803191e629c649ee6521ce.png);*/
  background-repeat: repeat;
  background-size: 100%;
  background-position: fixed;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  margin-bottom: 60px;
}


/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
  border: 0;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
/*    top: 190px !important;*/
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f9f8f8;
    /*border-right: 1px solid #eee;*/
    /*box-shadow: 5px 5px 5px #CCC;*/
    background-image: url(../images/01.jpg);
  }

  .rightsidebar {
    position: fixed;
/*    top: 190px;*/
    bottom: 0;
    right: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #4f6d7a;
    /*border-right: 1px solid #eee;*/
    /*box-shadow: 5px 5px 5px #CCC;*/
    background-image: url(../images/01.jpg);
  }
  
  .customizednavlinks{
	width: 450px;
	margin: 0 auto;
	float: none;
  }

  .customizednav{
    background-color: #fff;
  }

  .logoright{
    position: absolute;
    right: 32px;
    top: 6px;
  }

  .logoright img{
    height: 40px;
  }
}

@media (min-width: 768px) and (max-width: 1023px){
.bodytopmargin {
    margin-top: 96px !important;
}
	
	.customizednavlinks{
		width: 450px;
		margin: 0 auto;
		float: right;
	  }
	  
	.col-sm-6{
		width: 65%;
	}
	
	.rightsidebar {
		width: 10%;
	}
	
	h1{
		margin-left: 25% !important;
		width: 65% !important;
		font-size: 30px !important;
	}
	
	.logoright{
		right: 2px;
		top: 15px;
	}
	
	.logoright img{
		height:25px;
	}
}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #000;
  background-color: #fff;
}


/*
 * Main content
 */

.main {
  padding: 20px;
}
@media (min-width: 768px) {
	.bodytopmargin {
		margin-top: 96px !important;
	}
  .main {
    padding-right: 40px;
    padding-left: 40px;
    margin-top: -70px;
    margin-bottom: -70px;
  }
}
.main .page-header {
  margin-top: 0;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}

a.nav-link{
  color: #fff;
}

.nav-pills .nav-item.show .nav-link, .nav-pills .nav-link.active{
  color: #000;
  cursor: default;
  background-color: #fff;
}

.nav > li > a:focus, .nav > li > a:hover{
  color: #222222;
  background-color: #4f6d7a;
}

.consolepanel{
  background-color: #333333;
  margin: 30px 0;
  border: none;
}

.consolepanel p{
  color: #fff;
  font-family: 'Domine', serif !important;
}

.consolepanel input[type=text], .consolepanel textarea{
  width: 100%;
  border: none;
  background-color: #333333;
  color: #fff;
  font-family: 'Domine', serif !important;
  margin-left: 15px; 
  outline: none;
  resize: none;
  overflow: hidden;
}

.sectionblock{
  display: none;
}

h4{
  margin-top: 30px;
}

.error-border { 
    outline: none;
    box-shadow: 0 0 15px #F43535;
    border: 1px solid #F43535;
    border-radius: 7px;
}

.questionhint{
    cursor: pointer;
    font-size: 28px;
    padding: 10px;
    right: 33px;
    position: absolute;
	color: blue;
	z-index:9999;
	margin-top: -35px;
}
.newquestionhint {
    cursor: pointer;
    font-size: 28px;
    padding: 10px;
    right: 33px;
    position: absolute;
    color: blue;
    z-index: 9999;
    margin-top: -35px;
}

.questionhint:hover{
  /*background-color: #999;*/
  color: #cc1a1a;
  text-shadow: 0 0 12px #FF0000;
}

/* old code formatting
code{
  color: #fff;
  background-color: #B9A986;
}
*/

    pre {
        font-family: "Courier 10 Pitch", Courier, monospace;
        font-size: 95%;
        line-height: 140%;
        white-space: pre;
        white-space: pre-wrap;
        white-space: -moz-pre-wrap;
        white-space: -o-pre-wrap;
    }      
    
    code {
        font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
        font-size: 95%;
        line-height: 140%;
        white-space: pre;
        white-space: pre-wrap;
        white-space: -moz-pre-wrap;
        white-space: -o-pre-wrap;
        background: #faf8f0;
    }

/* http://adis.ca/entry/2011/pretty-code-block-in-css/
    pre {
        font-family: "Courier 10 Pitch", Courier, monospace;
        font-size: 95%;
        line-height: 140%;
        white-space: pre;
        white-space: pre-wrap;
        white-space: -moz-pre-wrap;
        white-space: -o-pre-wrap;
    }      
    
    code {
        font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
        font-size: 95%;
        line-height: 140%;
        white-space: pre;
        white-space: pre-wrap;
        white-space: -moz-pre-wrap;
        white-space: -o-pre-wrap;
        background: #faf8f0;
    }
    
    #content code {
        display: block;
        padding: 0.5em 1em;
        border: 1px solid #bebab0;
    }
*/


.label {
    display: inline;
    padding: 0.5em 1em .5em;
    font-family: 'Domine', serif !important;
    box-shadow: 5px 5px 5px #B9A986;
}

.sidebar h3{
  color: #FEF0C9;
  text-align: center;
  margin-bottom: 20px;
}

h2{
  padding: 20px 20px;
  background: #4f6d7a;
  color: #fff;
  margin-bottom: 30px; 
  font-size: 36px;
}

h3{
  font-size: 26px;
  margin: 30px 0;
}

h3,h4{
  font-weight: 600;
}

.disabledconsole{
  z-index: 1000;
  opacity: 0.7;
  pointer-events: none;
}

.consoleheading{
  font-weight: 600;
  margin: 30px 0 0 0;
  font-size: 18px;
}

.qhinttxt{
  display: none;
}

.chapterswitchbtn{
  text-align: center;
  margin: 40px 0;
}

.continuebtn{
  margin-top: 20px; 
}

.chapstimeline{
  color: #fff;
  list-style: none;
  padding: 0;
  width: 32px;
  margin: 0 auto;
  font-size: 10px;
  font-weight: bold;
  pointer-events: none;
}

.chapstimeline .chap{
  border: 2px solid #555;
  border-radius: 50%; 
  list-style: none;
  width: 32px;
  height: 32px;
  line-height: 30px;
  font-size: 18px;
  color: #555;
}

.chapstimeline li{
  text-align: center;
  width: 32px;
  color: #555;
}

.chapstimeline li.bar{
  text-align: center;
  width: 32px;
}

.chapcompleted{
  background-color: #B8A988;
  /*box-shadow: 0 0 20px 12px #B8A988;*/
  color: #000 !important;
  border: 2px solid #fff !important;
}

.currentchap{
  background-color: #417509;
  box-shadow: 0 0 20px 12px #417509;
  color: #fff !important;
  border: 2px solid #fff !important;
}

.traversed{
  color: #fff !important;
}

.nav > li{
  border-bottom: 1px dotted #444;
}

.sectionblock img{
  box-shadow: 0px 0px 5px 5px #B9A986;
  margin: 20px 0;
}

.sectionblock table{
  width: 70%;
  border: 1px solid #B9A986;
  font-size: 14px;
  margin: 20px 0;
  box-shadow: 0px 0px 5px 5px #B9A986;
  margin: 20px 0;
  background-color: #fff;
}

.sectionblock table th{
  font-weight: 600;
  border: 1px solid #B9A986;
  padding: 10px;
}

.sectionblock table td{
  border: 1px solid #B9A986;
  padding: 10px;
}

.chap2 th:nth-child(2){
  width: 15%;
}

.chap3 th:nth-child(2){
  width: 75%;
}

.chap3{
  width: 30% !important;
}

.chapterblock{
  display: none;
}

h1{
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  border-bottom: 3px solid;
  padding-bottom: 20px;
  width: 70%;
  margin: 90px auto 40px auto;
}

.navbar-brand{
  font-size: 24px;
}

/*.overlaycover{
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #FBEFD3;
  z-index: 999;
}*/

.maincontainer{
  position: relative;
}

.coursecontent{
  margin: 10px 0 30px 0;
}

.coursecontent a{
  color: #333333;
  font-weight: bold;
  text-decoration: none;
}

.coursecontent a:hover{
  color: #666666;
}

.coursecontent h4{
  margin: 0 0 25px 0;
}

.startcoursebtn{
    color: white !important;
    width: 100%;
    padding: 20px;
    margin: 20px auto;
    background: #02723b !important;
    border: none !important;
    font-size: 16px;
    /* text-align: center; */
}

.startcoursebtn:hover{
    background: #09bc8a !important;
    color: white !important;
}


@media only screen and (max-width: 640px) {
	.bodytopmargin {

    margin-top: 96px !important;

}
    
    .rightsidebar{
      display: none;
    }

    h1{
      width: auto;
      font-size: 30px;
	  margin: 10px auto;
    }

    h2{
      font-size: 26px;
    }

    h3{
      font-size: 22px;
    }

    body{
      font-size: 14px;
    }

    .consoleheading{
      font-size: 16px;
      line-height: 20px;
    }

    .logoright{
      display: none;
    }
}

.showallbtn{
  margin: 20px 0 0 10px;
  float: right;
}

.hideallbtn{
  margin: 20px 0;
  float: right;
}

.thankyoutxt{
  font-size: 32px;
  text-align: center;
  margin: 50px 0;
}

.creditinfo{
  font-size: 12px;
  color: #fff;
  text-align: center;
  position: absolute;
  bottom: 20px;
  width: 100%;
  left: 0;
}

.creditinfo a{
  color: #B8A988;
}

.creditinfo a:hover{
  color: #FBEFD3;
}

.chapcompletedbadge{
	box-shadow: none;
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	font-weight: 500;
	padding: 5px;
}
}

.coursecontenttable{
	border:none;
	border: 1px dotted #B8A988;
	border-collapse: collapse;
}

.coursecontenttable td{
	padding: 10px;
	border: 1px dotted #B8A988;
}

.coursecontenttable th{
	padding: 10px;
	border: 1px dotted #B8A988;
	background: #4f6d7a;
	color: #fff;
}

    /** border-bottom: 1px solid #B8A988; */
#chaptercontainer {
    margin: 0 0 20px 0;
    padding-bottom: 20px;
}

a {
    color: #9e6009;
    text-decoration: none;
}
a:hover {
    color: #EC971F;
    text-decoration: none;
}


/**************** Keyboard Shortcut CSS ********************/

.keyboardshortcutresult{
	margin: 0;
	font-size: 14px;
}

.keyboardshortcutresult .key{
	background-color: #333;
	color: #fff;
	padding: 2px 8px;
	border-radius: 5px;
	border: 3px outset #666;
}

.keyboardshortcutresult .keymac{
	background-color: #fff;
	color: #333;
	padding: 2px 8px;
	border-radius: 5px;
	border: 2px solid #999;
}

.keyboardshortcutresult .connector{
	margin: 0 10px;
	font-size: 14px;
}

.keyboardshortcutresult .shortcuttxt{
	margin: 0 10px 0 0;
	font-weight: 600;
}

/**************** Keyboard Shortcut CSS ********************/

/**************** Share Buttons *****************/
ul.share-buttons{
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

ul.share-buttons li{
  display: inline;
}

ul.share-buttons .sr-only {
  position: absolute;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

ul.share-buttons img{
  width: 38px;
}
.navbar-fixed-bottom, .navbar-fixed-top{
	z-index:99999;
}
/**************** Share Buttons *****************/

/**************** Bookmarks ******************/
#bookmark-this {
  padding: 5px 10px;
  font-size: 12px;
  background: #f0ad4e;
  color: #fff;
  border: 1px solid #eea236;
  border-radius: 4px;
  text-decoration: none;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
  -webkit-user-select:none;
  -moz-user-select:none;
  -ms-user-select:none;
  user-select:none;
}

#bookmark-this:hover {
  background: #ec971f;
  border: 1px solid #d58512;
  text-decoration: none;
}

#bookmark-this:active {
  border: 1px solid #d58512;
  -webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.2);
  background: #ec971f;
}
/**************** Bookmarks ******************/

.myaccountusersection{
	/*! border: 1px solid #000; */
	height: 40px;
	width: 100%;
        position: fixed;
	top: 0;
	left: 0;
	background: #E3b505;
	z-index: 99999;
	line-height: 40px;
	text-align: center;
}

.myaccountusersection a{
    	color: #000;
        font-weight: bold;
        margin: 0 20px;
}

.sidebar{
    background: #484349 !important;
	top:135px;
        
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    -ms-transition: all .3s ease;
    transition: all .3s ease;
}

.sidebar a:hover {
    background: #fff !important;
}

a.nav-link.homelink:hover {
    color: #000 !important;
}

.rightsidebar {
  background: #fff !important;
    top: 135px;
    /* border-left: 3px solid #02723b; */
    right: 0px;
    padding: 0px;
    width: 135px;
}

.bodytopmargin{
	margin-top:150px !important;
}


.certificateblock{
	border:1px solid #B8A988;
	padding: 12px;
	box-shadow: 0px 0px 20px 0px #B8A988;
	background: #fff;
	border-radius: 5px;
}
.certificateblock h3{
	margin: 5px 0 15px 0;
	padding-bottom: 5px;
	border-bottom: 1px solid;
	width: 310px;
	font-size: 25px;
	text-shadow: 2px 2px 4px #CCC;
}
.material-switch span{
	margin-right: 10px;
}
.material-switch{
	margin: 15px 0;
}


@media screen and (max-width:767px){
	h1{
		margin: 10px auto;
	}
img{ max-width:100%;}	
}


