/* -------------------------------- 
CLP Templates CSS file
-------------------------------- */

/* -------- Confirmation Popup Box CSS ---- */
.img-replace {
  /* replace text with an image */
  display: inline-block;
  overflow: hidden;
  text-indent: 100%;
  color: transparent;
  white-space: nowrap;
}

.cd-nugget-info {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 50px;
  line-height: 50px;
  bottom: 0;
  left: 0;
}
.cd-nugget-info a {
  position: relative;
  font-size: 14px;
  color: #5e6e8d;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}
.no-touch .cd-nugget-info a:hover {
  opacity: .8;
}
.cd-nugget-info span {
  vertical-align: middle;
  display: inline-block;
}
.cd-nugget-info span svg {
  display: block;
}
.cd-nugget-info .cd-nugget-info-arrow {
  fill: #5e6e8d;
}

.cd-popup-trigger {
  display: block;
  width: 170px;
  height: 50px;
  line-height: 50px;
  margin: 3em auto;
  text-align: center;
  color: #FFF;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 50em;
  background: #35a785;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.07);
}
@media only screen and (min-width: 1170px) {
  .cd-popup-trigger {
    margin: 6em auto;
  }
}

.cd-popup {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(94, 110, 141, 0.9);
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  transition: opacity 0.3s 0s, visibility 0s 0.3s;
}
.cd-popup.is-visible {
  opacity: 1;
  visibility: visible;
   z-index: 10;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0s;
}

.cd-popup-container {
  position: relative;
  width: 90%;
  max-width: 400px;
  margin: 4em auto;
  background: #FFF;
  border-radius: .25em .25em .4em .4em;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  -webkit-transform: translateY(-40px);
  -moz-transform: translateY(-40px);
  -ms-transform: translateY(-40px);
  -o-transform: translateY(-40px);
  transform: translateY(-40px);
  /* Force Hardware Acceleration in WebKit */
  -webkit-backface-visibility: hidden;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.cd-popup-container p.confirm-message {
	font-size: 18px;
    color: black;
    margin-left: 10px;
  	padding: 3em 1em;
}
.cd-popup-container .cd-buttons:after {
  content: "";
  display: table;
  clear: both;
}
.cd-popup-container .cd-buttons li {
  float: left;
  width: 50%;
  list-style: none;
}
.cd-popup-container .cd-buttons a {
  display: block;
  height: 60px;
  width: 100%;
  line-height: 60px;
  text-transform: uppercase;
  color: #FFF;
  -webkit-transition: background-color 0.2s;
  -moz-transition: background-color 0.2s;
  transition: background-color 0.2s;
}
.cd-popup-container .cd-buttons li:first-child a {
  background: #0e8dc7;
  border-radius: 0 0 0 .25em;
}
.no-touch .cd-popup-container .cd-buttons li:first-child a:hover {
  background-color: #fc8982;
}
.cd-popup-container .cd-buttons li:last-child a {
  background: #ff6700;
  border-radius: 0 0 .25em 0;
}
.no-touch .cd-popup-container .cd-buttons li:last-child a:hover {
  background-color: #c5ccd8;
}
.cd-popup-container .cd-popup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
}
.cd-popup-container .cd-popup-close::before, .cd-popup-container .cd-popup-close::after {
  content: '';
  position: absolute;
  top: 12px;
  width: 14px;
  height: 3px;
  background-color: #8f9cb5;
}
.cd-popup-container .cd-popup-close::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  left: 8px;
}
.cd-popup-container .cd-popup-close::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  right: 8px;
}
.is-visible .cd-popup-container {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}
@media only screen and (min-width: 1170px) {
  .cd-popup-container {
    margin: 8em auto;
  }
}
/* -------- END Confirmation Popup Box CSS ---- */

/* -------- Product Library Template CSS ---- */
.price-credit-btns p {
	font-size: 12px;
    color: red;
    margin-left: 10px;
}
.available-credits {
	font-weight: bold;
}
.content_desc{
	display: block;

	margin-top: 10px;
}

div.featured-image img.no-access {
	 -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
  filter: gray; /* IE 6-9 */
}

div.featured-image img.grayscale { 
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
	filter: gray;
	-webkit-filter: grayscale(100%);
}

div.library-page article {
  padding: 20px 25px !important;
}
div.hide-credit-btn {
	background: #c5c5c5 !important;
    border: 1px solid #b90d25 !important;
}
div.hide-credit-btn:hover {
	cursor: default;
}

.price-credit-btns .price-credit-btns-links {
    width: 49%;
    display: inline-block;
}
.price-credit-btns a:last-child {
     float: right;
}
.price-credit-btns a:first-child {
     float: left;
}
.bottom-title {
	display: block;
	clear: left;
}
#ribbon {
    background-color: #088ab1;
    box-shadow: 0px 2px 4px #088ab1;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    margin: 5px 0 0 -9px;
    min-width: 40px;
    padding: 2px 10px 2px 10px;
    position: absolute;
    Text-transform: uppercase;
}
#ribbon:before, #ribbon:after {
    content: ' ';
    height: 0;
    position: absolute;
    width: 0;
}
#ribbon:after {
    border-color: #07627d #07627d transparent transparent;
    border-style: solid;
    border-width: 4.5px 4px;
    left: 0px;
    top: 100%;
}
.pl-grid-wrapper {
	clear: both;
	display: flex;
	flex-wrap: wrap;
	/*float: left;*/
	margin-bottom: 30px !important;
	margin-left: -10px;
	margin-right: -10px;
	/*margin-top: 30px;*/
}

.pl-col-14 {
	margin-bottom: 20px;
	min-height: 1px;
	padding-left: 7px;
	padding-right: 7px;
	position: relative;
}

/* 4 columns layout, 4 courses + 1 view More */
.pl-col-14 {
	float: left;
	width: 20%;
}

@media (max-width: 500px) {
	
	.pl-col-14 {
		margin-left: 5px;
		padding-right: 0;
		width: 100%;
	}

	.pl-3-col {
		width: 100%;
	}
}

@media (max-width: 1330px) and (min-width: 501px) {
	
	.pl-col-14:nth-child(2n+0) {
		clear: right;
	}
	
	.pl-col-14:nth-child(2n+1),
	.pl-col-14:first-child {
		clear: left;
	}
}

	.pl-col-14 {
		width: 20%;
	}

	.pl-3-col {
		width: 31%;
	}

	.pl-3-col:nth-child(3n+0) {
		clear: right;
	}

	.pl-3-col:nth-child(3n+1) {
		clear: left;
	}

.pl-grid-wrapper .grid-course .featured-image {
	overflow: hidden;
}

.pl-grid-wrapper .grid-course .course-title {
	font-size: 14px;
}

.pl-grid-wrapper .grid-course h4 {
	color: #088ab1;
	font-size: 14px;
	text-align: center;
	text-transform: uppercase;

}

.pl-grid-wrapper .grid-course .course-info-holder {
	background: #f5f5f5;
	display: block;
	line-height: 1.2;
	/*min-height: 60px;*/
	padding: 10px;
	min-height: 51px;
	padding-bottom: 40px;
	transition: all 0.75s ease;
	-moz-transition: all 0.75s ease;
	-ms-transition: all 0.75s ease;
	-o-transition: all 0.75s ease;
	-webkit-transition: all 0.75s ease;
}

.pl-grid-wrapper .grid-course h4.view-course-outline {
	background: #088ab1;
	border: 1px solid #088ab1;
	/*border-radius: 4px;*/
	color: #fff;
	/*display: table;*/
	font-size: 11px;
	margin: 0 auto;
	/*white-space: nowrap;*/
	padding: 5px;
	text-transform: uppercase;
	width: 100%;
	box-sizing: border-box;
}

.pl-grid-wrapper .grid-course h4.view-course-outline:hover {
	background: #fff;
	color: #088ab1;
	text-decoration: none;
}

.pl-grid-wrapper .uo-view-more-holder.hidden {
	display: none;
}

.pl-grid-wrapper .grid-course .course-info-holder .list-tag-container {
	font-size: 12px;
	text-transform: uppercase;
}

.pl-grid-wrapper .grid-course .course-info-holder.completed .list-tag-container {
	color: #36ac2d;
}

.pl-grid-wrapper .grid-course .course-info-holder.completed .list-tag-container i {
	margin-left: 7px;
}

.pl-grid-wrapper .grid-course .course-info-holder.completed dd.uo-course-progress div.course_progress {
	background: #36ac2d;
}

/*Hovers*/

.pl-grid-wrapper .grid-course img {
	opacity: 1;
	transition: all 0.75s ease;
	-moz-transition: all 0.75s ease;
	-ms-transition: all 0.75s ease;
	-o-transition: all 0.75s ease;
	-webkit-transition: all 0.75s ease;
	vertical-align: bottom;
	width: 100%;
	max-width: 100%
}

.pl-grid-wrapper .grid-course:hover img {
	opacity: 1;
	text-decoration: none;
}

.pl-grid-wrapper .grid-course:hover .course-info-holder {
	background: #e5e5e5;
	cursor: pointer;
	text-decoration: none;
}

.pl-grid-wrapper .grid-course img:hover .course-info-holder.completed {
	background: rgba(54, 172, 45, 0.15);
	cursor: pointer;
	text-decoration: none;
}

.pl-grid-wrapper .grid-course .pl-border {
	border: 3px solid #fff;
	transition: all 0.75s ease;
	-moz-transition: all 0.75s ease;
	-ms-transition: all 0.75s ease;
	-o-transition: all 0.75s ease;
	-webkit-transition: all 0.75s ease;
}

.pl-grid-wrapper .grid-course:hover .pl-border {
	/*border: 3px solid #088ab1;*/
	text-decoration: none;
}

.pl-grid-wrapper .grid-course:hover .pl-border.completed {
	border: 3px solid #36ac2d;
}

.pl-grid-wrapper .grid-course,
.pl-grid-wrapper .grid-course .pl-border {
	display: flex;
}

.pl-grid-wrapper .grid-course .featured-image {
	overflow: hidden;
}

.pl-grid-wrapper .grid-course .course-info-holder:not(.bottom) {
	flex: 1 0 auto;
	position: relative;
}

.pl-grid-wrapper .grid-course .course-info-holder.bottom {
	position: relative;
}

.pl-grid-wrapper .grid-course h4 {
	background-color: #ddd;
	bottom: 0;
	/*color: #088ab1;*/
	font-size: 16px;
	font-weight: 600;
	left: 0;
	margin: 0;
	padding: 10px;
	position: absolute;
	width: 100%;
}

.pl-grid-wrapper .course-info-holder p {
	/*margin-top: 10px;*/
	font-size: 12px;
	padding-right: 15px;
	color: slategray;
}
@media (max-width: 500px) {
	.pl-col-14 {
		margin-left: 5px;
		padding-right: 0;
		width: 100%;
		margin-bottom: 30px;
	}
	.pl-grid-wrapper {
		margin-right: 0px; 
	}
	.pl-3-col {
		width: 100%;
	}
}
@media (max-width: 667px) and (min-width: 501px) {
	.pl-col-14 {
		margin-left: 5px;
		padding-right: 0;
		width: 100%;
		margin-bottom: 30px;
	}
	.pl-3-col {
		width: 100%;
	}
}
@media (max-width: 1024px) and (min-width: 668px) {
	.pl-col-14 {
		margin-left: 5px;
		padding-right: 0;
		width: 100%;
		margin-bottom: 30px;
	}
	.pl-3-col {
		width: 47%;
	}
	.pl-grid-wrapper {
		margin-right: -30px;
	}
	.pl-grid-wrapper .grid-course .course-info-holder{
		min-height: 74px;
	}
}

@media (min-width: 1330px) {
	
	.pl-3-col {
		width: 32%;
	}
}

div.view-course-outline {

	text-align: center;
	background: #088ab1;
    border: 1px solid #088ab1;
    /* border-radius: 4px; */
    color: #fff;
    /* display: table; */
    font-size: 11px;
    margin: 0 auto;
    /* white-space: nowrap; */
    padding: 5px 0px;
    text-transform: uppercase;
    position: relative;

}

div.view-course-outline:hover {
	background: #fff;
    color: #ff6700;
    text-decoration: none;
}

a.access-product-link {
	background: #0e8dc7;
    padding: 15px;
    border-radius: 10px;
    color: #fff;
} 

.is-desktop .page-right-sidebar .course.type-sfwd-courses {
  width:33%;
  max-width: 100%;
}  
.info-posts-list {
  margin-left: -50px;
  margin-right: -50px;
}

/* -------- END Product Library Template CSS ---- */

/* Custom S3 Downloads shortcode CSS */
div.s3file-class {
    background: #f1f4f9;
    border: 2px solid #ef5f43;
    line-height: 2.8;
    margin-top: 20px;
    padding-left: 20px;
    border-left: 0px solid;
    border-right: 0px solid;
    font-size: 18px;
}
a.s3file-link span {
    padding-left: 15px;
    color: #ef5f43;
}
a.s3file-link, div.s3file-class .fa {
    color: #ef5f43;
    font-size: 30px;
}

a.s3file-link:hover, .fa:hover {
    color: #ffffff;
}

/* -------- END Custom S3 Downloads shortcode CSS ---- */


