/* =============================================================================================
	BASE STYLES AND LAYOUT
============================================================================================= */

/* ------------------------------------------------------------------------ Page Styles & Resets */

html {
	position: relative; /*for sticky footer*/
  	min-height: 100%;
}

body {
	font: normal 100%/1.6 'Open Sans', Arial, Helvetica, sans-serif; 
	color: #222;	
	background-color: #FFF;
} 

.preload * { /* Transitions fire only after page load http://css-tricks.com/transitions-only-after-page-load/ */
	-webkit-transition: none !important;
		transition: none !important;
	}

@media (min-width: 992px) {

	/*offset sticky footer*/
	.body--sticky-footer {
		padding-bottom: 4.5rem; /*This will change depending on the height of the footer*/
	}

}

form{ height: 100%; }


/* ------------------------------------------------------------------------ Under 1024px message */

/*.portrait-warning {
	display:none;
}


@media (max-width: 992px) {

	.portrait-warning {
		display:block;
		position: absolute;
		top:0;
		left:0;
		width:100%;
		height:100%;
		background: rgba(0,0,0,.75);
		color: #fff;
		text-align: center;
		z-index: 2000;
	}

	.portrait-warning-text {
		width:80%;
	}

}*/



/* ------------------------------------------------------------------------ Keyboard Accessibility */

.skip-link { 
	position:absolute; 
	left:-10000px; 
	top:0; 
	width:1px; 
	height:1px; 
	overflow:hidden;
	background-color: #666;
	color: #fff;
	font-size: 0.875rem;
	text-decoration:none;
	z-index: 1100;
	padding:0.5rem 0.625rem; 
} 

.skip-link:focus, .skip-link.sr-only-focusable:active, .skip-link.sr-only-focusable:focus {
	position: absolute; 
	outline: none; 
	left:0;
	outline: none; 
	width:auto; 
	height:auto;
} 

.skip-link:hover {
	color: #fff;
	background-color: #777;
}

a:focus, .carousel-control-next:focus,.carousel-control-prev:focus, .btn:focus, .carousel__link:focus .carousel__btn, .form-control-file:focus {
	outline: solid thin rgba(0, 0, 0, 0.5);
	box-shadow: none;
} 

.sidenav__header-link:focus, .card__header-link:focus {outline: solid thin rgba(255, 255, 255, 0.5);}

a:hover, a:active { outline: none !important; } /*...not with mouse (kinda) */



/* ------------------------------------------------------------------------ Reveal Overrides */

[hidden] {
  display: inherit !important;
}

.reveal .slides {text-align:left;}

.reveal .slides > section, .reveal .slides > section > section {
	padding: 0;
	height:100%;
}

.reveal:not(.has-vertical-slides) .controls .navigate-left,
.reveal:not(.has-vertical-slides) .controls .navigate-right {
	bottom:0;
}

.reveal .controls {
    bottom: 4px;
}

.reveal .controls .enabled {
    background-color: #fff;
    padding: .25rem;
    border-radius: 50%;
}

.reveal .slide-number {
	bottom: auto;
	top: 16px;
    right: 16px;
    color: #222;
    background-color: transparent;
}

@media (min-width: 768px) {	

	.reveal .controls {
	    bottom: 10px;
	}
	
}

@media (min-width: 992px) {	

	.reveal .controls {
	    bottom: 3px;
	}
	
}		

@media (min-width: 1200px) {	

	.reveal .controls {
	    bottom: 7px;
	}
	
}	

@media (min-width: 1440px) {	

	.reveal .controls {
	    bottom: 12px;
	}
	
}	



/* ------------------------------------------------------------------------ Headers */

h1, h2, h3,
.h1, .h2, .h3  { 		
	font-weight: bold;
	line-height:1.3;
	margin-bottom: .75rem;
	
}	

h1, .h1 {	
	font-size: 2rem;	
	line-height:1.1;	
	text-transform: uppercase;
	margin-bottom: 1.25rem;	
}

.h1--title-page {
	font-size: 2.5rem;	
	text-transform: initial;
	color: #78133b;
	display:inline-block;
	border-bottom: 6px solid #78133b;
	padding-bottom: .5rem;
	margin-bottom: 2rem;
}

.text-capitalize {
	text-transform: none !important;
}

.h1--icon {
	padding:.5rem 0 .5rem 3.75rem;
	background-position: left center;
	background-repeat: no-repeat;
	background-size: 3rem;
	color: #78133b;
}

.h1--icon--records {
	background-image: url(../../../uploads/userfiles/images/slides/h1-icon-records.png);
}

.h1--icon--sops {
	background-image: url(../../../uploads/userfiles/images/slides/h1-icon-sops.png);
}

.h1--icon--compliance {
	background-image: url(../../../uploads/userfiles/images/slides/h1-icon-compliance.png);
}

.h1--icon--audit {
	background-image: url(../../../uploads/userfiles/images/slides/h1-icon-audit.png);
	color: #222;
}

	
h2, .h2 {
	font-size: 1.5rem; 
}
		
h3, .h3 { 
	font-size: 1.375rem; 
}	
	
		
@media (min-width: 992px) {	

	h1, .h1 {
		font-size: 2.25rem;
	}

	.h1--title-page {
		font-size: 3.5rem;	
	}

	h2, .h2 {
		font-size: 1.75rem;
	}

}	


@media (min-width: 1680px) {	

	h1, .h1 {
		font-size: 3.25rem;
	}

	.h1--title-page {
		font-size: 4.5rem;
	}

	h2, .h2 {
		font-size: 2.75rem;
	}

	h3, .h3 { 
		font-size: 2.25rem; 
	}	
	

}	


	
/* ------------------------------------------------------------------------ Lists */
		
ul, ol {
	padding-left: 2.5rem;
}	

ul li, ol li {
	margin-bottom: .625rem;
	line-height: 1.4;
}

ul ul, ol ol, ol ul {
	padding-left: 2.25rem;
	margin-top: 0.75rem;
}
		
li:last-child { 
	padding-bottom:0;
}

.ul--checkmarks { 
	list-style: none; 
	list-style-position: outside;
	padding-left: .25rem;
}

.ul--checkmarks li {	
    padding-left:1.75rem;
	position: relative;
	background-image: url(../../../uploads/userfiles/images/slides/li-checkmark.png);
	background-repeat: no-repeat;
	background-position: left 0.375rem;
	background-size: 1.25rem;
}

.li--icon {
	padding:.5rem 0 .5rem 3.25rem;
	background-position: left 30%;
	background-repeat: no-repeat;
	background-size: 2.5rem;
}

.li--icon--sop-records {
	background-image: url(../../../uploads/userfiles/images/slides/li-icon-sops-records.png);
}

.li--icon--conversation {
	background-image: url(../../../uploads/userfiles/images/slides/li-icon-conversation.png);
}

.li--icon--observe {
	background-image: url(../../../uploads/userfiles/images/slides/li-icon-observe.png);
	background-position: left 15%;
}
		
		

/* ------------------------------------------------------------------------ Other Base Text Styles */

p {
    margin-bottom: .75rem;
}

.intro-text {
	font-size:1.25rem;
}

.note {
	font-size: .875rem;
}

.text-burgundy {
	color: #78133b;
}

sup, sub {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup { 
	top: -0.5em; 
}

sub { 
	bottom: -0.25em; 
}

@media (min-width: 992px) {	

	.intro-text {
		font-size:1.625rem;
		line-height: 1.4;
	}	

	.note {
		font-size: 1rem;
	}

}

@media (min-width: 1680px) {	

	.intro-text {
		font-size:2.25rem;
	}	

	.note {
		font-size: 1.25rem;
	}

}


	
/* ------------------------------------------------------------------------ Links */

a { 
	color: #78133b; 
	font-weight: bold;
	transition: all 0.25s;
}	

a:hover {
	text-decoration: underline;
	color: #444;
}

main a { 
	word-wrap: break-word; 
}

a img {
	border: none;
	-webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0) scale(1.0, 1.0);
	transition: opacity 0.25s;
}				

a img:hover { 
	opacity: .9;
}		

.btn {
	font-size: 1.25rem;
	padding: .75rem 2rem;
	border-radius:0;
	cursor: pointer;
}

.btn-primary {
	background-color: #78133b;
	border-color: #78133b;
	font-weight: 600;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:not([disabled]):not(.disabled).active, .btn-primary:not([disabled]):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
	background-color: #444;
	border-color: #444;
	box-shadow: none;
}

@media (min-width: 1200px) {	

	.btn {
		font-size: 1.5rem;
	}

}



/* ------------------------------------------------------------------------ Images */
	
img {
	max-width: 100%;
	height: auto!important; 
}

.img--float-left, .img--float-right { 
	margin: .5rem 0 1rem 0;	
}

.img--icon {
	width: 6rem;
}

.img--ccp-badge {
	margin-bottom: 2rem;
	max-width: 20rem;
}

.img--programs {
	width: 75%;
}


@media (min-width: 576px) {	
	.img--float-left {
		float: left;
		margin: .5rem 1.5rem .375rem 0;
		max-width:50%;
	}
		
	.img--float-right {
		float: right;
		margin: .5rem 0 .375rem 1.5rem;
		max-width:50%;
	}
}

@media (min-width: 768px) {	
	.img--float-left, 
	.img--float-right { 
		max-width:33%; 
	}

	.img--programs {
		width: 100%;
	}

	.img--slide8 {
		width:75%;
	}

}	

@media (min-width: 992px) {	
	.img--ccp-badge {
		margin-bottom: 1.5rem;
	}

	.img--slide5 {
		width: 85%;
	}

	.img--slide8 {
		width:100%;
	}

	.img--slide16 {
		width: 50%;
	}

	.img--slide21 {
		width: 60%;
	}

	.img--slide24 {
		width: 75%;
	}

	.img--slide31 {
		width: 85%;
	}

}

@media (min-width: 1200px) {	
	.img--slide3 {
		width:85%;
	}

	.img--slide5 {
		width: 75%;
	}

	.img--slide8 {
		width:90%;
	}

	.img--slide21 {
		width: 50%;
	}

	.img--slide24 {
		width: 62%;
	}

	.img--slide31 {
		width: 75%;
	}

}


	
/* ------------------------------------------------------------------------ SVG's */

svg {
	width: 1rem;
	height: 1rem;
}	



/* ------------------------------------------------------------------------ Horizontal Rules */

hr, .hr { 
	margin: 1.5rem auto;
}	

@media (min-width: 768px) {

	hr, .hr {
		margin: 2rem auto;
	}

}	


/* ------------------------------------------------------------------------ Misc Styles */

.w-60 {
	width: 60%;
}

.w-85 {
	width: 85%;
}

.grid--slide7 {
    display: grid;
    grid-gap: 0;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-template-areas: 
        "ia ib"
        "l l";
}

.img--slide7a {
    grid-area: ia;
}

.img--slide7b {
    grid-area: ib;
}

.ul--slide7 {
    grid-area: l;
}


@media (min-width: 768px) {	

	.grid--slide7 {
	    grid-template-areas: 
	        "ia ib"
	        "ia l";
	}

}

@media (min-width: 992px) {	

	.row--line {
		background: url(../../../uploads/userfiles/images/slides/row-line.svg) repeat-y 50% top;
	    background-size: .25rem;
	}

	.row--line .col-lg-6:first-child {
	    padding-right: 25px;
	}

	.row--line .col-lg-6:last-child {
	    padding-left: 25px;
	}

}

@media (min-width: 992px) {	

	.grid--slide7 {
		width:90%;
	}

}

@media (min-width: 1440px) {

	.col-xxl-8 {
	    -ms-flex: 0 0 66.666667%;
	    flex: 0 0 66.666667%;
	    max-width: 66.666667%;
	}

}

@media (min-width: 1680px) {	

	.grid--slide7 {
		width:85%;
	}

}


/* =============================================================================================
	MAIN CONTENT AREA
============================================================================================= */

.container {
    height: 100%;
}

@media (min-width: 992px) {		

	main p,
	main li,
	label,
	table {
		font-size: 1.375rem;
	}	
					
}

@media (min-width: 1440px) {

	.container {
	    max-width: 1360px;
	}

	main p,
	main li,
	label,
	table {
		font-size: 1.5rem;
	}	

}

@media (min-width: 1680px){ 

	.container {
	    max-width: 1600px;
	}

	main p,
	main li,
	label,
	table {
		font-size: 2rem;
	}

}



/* ------------------------------------------------------------------------ Sections */

.section { 
	padding: 2rem 0;
	height: calc(100vh - 3.625em);
	overflow-x: auto;
    /*-webkit-overflow-scrolling: touch;*/
}

body {
	background: url(../../../uploads/userfiles/images/slides/slide-header.png) no-repeat right top;
    background-size: 62.5rem;
}

.section--content-page {
	margin-top:.4375rem;
}


@media (min-width: 768px){ 

	.section { 
		height: calc(100vh - 4.5rem);
	}

	.section--content-page {
		margin-top:.5rem;
	}


}

@media (min-width: 992px){ 

	.section { 
		height: calc(100vh - 3.625rem);
		/*overflow: visible;*/
	}

	body {
		background: url(../../../uploads/userfiles/images/slides/slide-header.png) no-repeat right top;
	    background-size: 100%;
	}

}

@media (min-width: 1200px){ 

	.section { 
		height: calc(100vh - 4rem);
	}

}

@media (min-width: 1440px){ 

	.section { 
		height: calc(100vh - 4.75rem);
	}

	.section--content-page {
		margin-top:.625rem;
	}

}

@media (min-width: 1680px){ 

	.section { 
		padding: 3rem 0;
		height: calc(100vh - 5rem);
	}

	.section--content-page {
		background-position: center -3px;
		margin-top:.75rem;
	}
}


/* ------------------------------------------------------------------------ Cards */

.card, .card-header:first-child  {
	border-radius: 0;
}

.card {
	background: #ebeced;
	border: none;
	margin: 1.5rem 0;
}

.card:hover {
	text-decoration: none;
}

@media (min-width: 1400px) {

	.card-body {
		padding: 1.25rem 2rem;
	}

}



/* =============================================================================================
	FOOTER
============================================================================================= */

.print-footer { 
	display:none;
}

.footer { 
	position: fixed;
	width: 100%;
	bottom: 0;
	background: #78133b;
	padding: 0;
}

.logo { 
	flex: 1;
	display: block;
}

.img--logo {
	width: 14rem;
	margin: 0.313rem 0;
}

@media (min-width: 768px) {

	.img--logo {
		width: 18rem;
	}

}

@media (min-width: 992px) {

	.footer {
		background: #78133b url(../../../uploads/userfiles/images/slides/slide-footer.png) no-repeat left bottom;
    	background-size: 100%;
		text-align: right;
	}

	.img--logo {
		width: 23%;
		margin: 0.313rem 6rem 0.313rem 0;
	}

}

@media (min-width: 1200px) {

	.footer {
		background-size: 90%;
	}

}

@media (min-width: 1680px) {

	.footer {
		background-size: 75%;
	}

	.img--logo {
		width: 20%;
		margin-right: 6rem;
	}

}

@media (min-width: 1920px) {

	.img--logo {
		margin-right: 2rem;
	}

}