/* IMPORT BW_COMMON THEORY STYLES */
@import "/bw_common/css/theory.css?v=14";

/* GENERAL */
div.content_container h1 {
	margin-top: 1em;
	margin-bottom: 1.25em;
	line-height: 1.25em;
}

/* END GENERAL */

#overview_container {
	width: 100%;
	text-align: left;
}

#overview_title {
	margin-top: 0;
}

#overview_content {

	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;

	margin-top: 50px;

}

.overview_item {
	width:22%;
	margin-right: 3%;
	margin-bottom: 15px;
}

.overview_item img {
	display:block;
	width: 100%;
	background: #416d3d;
	padding: 2px;
}

.overview_item a {
	display:block;
	width: 100%;
	text-decoration: none;
}

.overview_item a div {
	text-align: center;
	font-weight: 500;
	color: black;
	margin: 10px;
}

.overview_item a:hover img {
	-webkit-filter: brightness(.8);
    filter: brightness(.8);
    background: dodgerblue;
}

.overview_item a:hover div {
	color: dodgerblue;
}

/*END OVERVIEW*/

/* HOME PAGE */
#home_wrapper {
	padding: 0;
	margin: 0;
}

#home_wrapper p {
	color: #333;
	margin-right: 3em;
}

#home_wrapper h2 {
	margin-top: 0;
}

#home_title {
	text-align: left;
}

#home_description {
	text-align: left;
	color: grey;
	margin-bottom: 2em;
}

#home_wrapper .chapter_items_container {
	width: 100%;
	margin-top: 1.5em;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	position: relative;
	text-overflow: ellipsis;
}

#home_wrapper .chapter_items_container .chapter_item {
	position: relative;
	width: calc(20% - 2.5em);
	height: auto;
	margin-right: 2.5em;
	text-align: center;
	margin-bottom: 2.5em;
	cursor: pointer;
	text-decoration: none;
}

#home_wrapper .chapter_items_container .chapter_item img {
	position: relative;
	width: 100%;
	z-index: 2;
	margin-bottom:0.75em;
	border-radius: 0.5em;
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}

#home_wrapper .chapter_items_container .chapter_item div {
	width: 100%;
	color: #333;
	font-weight: 500;
}

#home_wrapper .chapter_items_container .chapter_item:hover div {
	color: black;
	text-decoration: underline;
}

#home_wrapper .chapter_items_container .chapter_item:hover img {
	-webkit-transform: scale(1.025);
	transform: scale(1.025);
	-webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.6);
	box-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

#home_wrapper .chapter_items_container .chapter_item .chapter_item_progress {
	position: absolute;
	left: -1em;
	top: -1em;
	width: 2em;
	height: 2em;
	background: #fff;
	border-radius: 0.5em;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
	z-index: 2;
}

#home_wrapper .chapter_items_container .chapter_item .chapter_item_progress img {
	display: block;
	width: 1.5em;
	height: 1.5em;
	margin: unset;
	border-radius: unset;
	pointer-events: none;
	box-shadow: none;
	transform: none;
}

#home_wrapper .chapter_items_container .chapter_item .chapter_item_progress.done img {
	background-color: #4ddb63;
	border-radius: 50%;
}

#home_wrapper .chapter_items_container .chapter_item .chapter_item_progress .progress_locked {
	color: #40464c;
	pointer-events: none;
	position: absolute;
	top: 0.6em;
	left: 0.71em;
}

#home_wrapper .chapter_items_container .chapter_item .chapter_item_progress .progress_locked .progress_locked_icon {
	width: 0.6em;
	height: auto;
	display: block;
	fill: currentColor;
}

/* END HOME */

/* VIDEO COURSE */

div.content_container #course_video_container {
	position: relative;
	width: 100%;
	margin-top: 2em;
}

div.content_container #course_video_container #course_video {
	width: 100%;
}

div.content_container div.course_video_thumbnails_container {
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	gap: 2em 2em;
	margin-top: 3em;
}

div.content_container div.course_video_thumbnails_container div.thumbnail_item {
	position: relative;
	width: calc(33% - 1.25em);
	cursor: pointer;
	text-align: center;
}

div.content_container div.course_video_thumbnails_container div.thumbnail_item.disabled {
	opacity: 0.5;
	cursor: default;
	border: none;
}

div.content_container div.course_video_thumbnails_container div.thumbnail_item img.thumbnail {
	width: 100%;
	display: block;
	margin-bottom: 0.75em;
	border-radius: 0.5em;
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}

div.content_container div.course_video_thumbnails_container div.thumbnail_item:not(.selected):not(.disabled):hover img.thumbnail {
	-webkit-transform: scale(1.025);
	transform: scale(1.025);
	-webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.6);
	box-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

div.content_container div.course_video_thumbnails_container div.thumbnail_item.selected img.thumbnail {
	padding: 3px;
	background-color: dodgerblue;
}

div.content_container div.course_video_thumbnails_container div.thumbnail_item div.thumbnail_label {
	color: var(--text-lighter);
}

div.content_container div.course_video_thumbnails_container div.thumbnail_item.selected div.thumbnail_label,
div.content_container div.course_video_thumbnails_container div.thumbnail_item:not(.disabled):hover div.thumbnail_label {
	color: var(--text-default);
	font-weight: 500;
}

/* END VIDEO COURSE */

/* INHERITED FROM BOBOSHI/IOS */

img.full_width {
	width: 100%;
	height: auto;
}

/* END INHERITED FROM BOBOSHI/IOS */


/* END CONTEN */

/* * * * * * * * *
    RECO
 * * * * * * * * */
div.reco_container {
	display: none;
}

/* * * * * * * * *
    END RECO
 * * * * * * * * */

/* * * * * * * * *
    READSPEAKER
 * * * * * * * * */
#readspeaker_container {
	position: fixed;
	top: 7.2em;
	left: 1px;
	z-index: 10;
	width: 100%;
}

/* * * * * * * * *
    END READSPEAKER
 * * * * * * * * */


/********************

  MEDIA QUERIES

*********************/


@media only screen and (max-width : 1800px) {

	#home_wrapper .chapter_items_container .chapter_item {
		width: calc(25% - 2.5em);
		margin-right: 2.5em;
	}
}

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1500px) {

	#home_wrapper .chapter_items_container .chapter_item {
		width: calc(33% - 2.5em);
		margin-right: 2.5em;
	}

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {

	.overview_item {
		width:30%;
		margin-right: 3%;
	}

	#overview_description {
		text-align: center;
	}

	#home_title, #content h1 {
		font-size: 1.8em;
		line-height: 1em;
	}

	#content table tr img {
		margin-right: 0;
	}

}


/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 640px) {

	div.content_container h1 {
		margin-top: 0.5em;
		margin-bottom: 1em;
	}

	.overview_item {
		width:47%;
		margin-right: 3%;
	}

	#theory_menu {
		padding: 10px;
	}

	#home_wrapper .chapter_items_container {
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
	}

	#home_wrapper .chapter_items_container .chapter_item {
		width: calc(50% - 1.5em);
		margin: 0 0.5em 2.5em 0.5em;
	}

	div.content_container div.course_video_thumbnails_container div.thumbnail_item {
		width: calc(50% - 1em);
	}

}

/* Custom, iPhone Retina */ 
@media only screen and (max-width : 380px) {

    #content table, #content th, #content td {
        padding-left: 0.5em;
        padding-right: 0.5em;
        padding-top: 1em;
        padding-bottom: 1em;
    }

}

/********************

  END MEDIA QUERIES

*********************/



