/**
 * All the CSS relative to the new design of the platform.
 */
body {
	font-family: 'Poppins', sans-serif;
}

.ff-raleway, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: 'Raleway', sans-serif;
}

.ff-poppins {
	font-family: 'Poppins', sans-serif;
}

/**
 * Colors
 */
 
.color-logo {
	color: #4b3cf9;
}

.color-white {
	color: white;	
}

.color-black {
	color: black;
}

.bgcolor-logo {
	background-color: #4b3cf9;
}

.color-primary {
	color: #4772ff;
}

.bgcolor-primary {
	background-color: #4772ff;
}

.bgcolor-secondary {
	background-color: #f7f9fa;
}

.border-primary {
	border: 2px solid #4772ff;
}

.color-primary {
	color: #4772ff;
}

.bgcolor-gradient {
	background: rgb(75,60,249);
	background: linear-gradient(90deg, rgba(75,60,249,1) 0%, rgba(71,114,255,1) 100%, rgba(0,212,255,1) 100%);
}

.navbar {
	margin-top: 5px;
}

/**
 * Buttons
 */
.uibtn {
	display: inline-block;
	padding: 8px;
	border: 2px solid transparent;
	padding-left: 15px;
	padding-right: 15px;
	font-weight: bold;
}

a.uibtn {
	text-decoration: none;
}

.uibtn.uibtn-primary {
	border: 2px solid #4772ff;
	color: #4772ff;
}

.uibtn.uibtn-primary.uibtn-primary-fill:hover {
	color: white;
}

.uibtn.uibtn-primary.uibtn-primary-fill {
	background-color: #4772ff;
	color: white; 
}

.uibtn.uibtn-primary.uibtn-primary-fill a:hover {
	color: white !important; 
}


.uibtn.uibtn-secondary {
	border: 2px solid white;
	color: white;
}

.uibtn.uibtn-logo {
	border: 2px solid #4b3cf9;
	background-color: #4b3cf9;
	color: white;
}

.uibtn.uibtn-logo:hover {
	color: white;
	border: 2px solid #6D61FA;
	background-color: #6D61FA;
}

.uibtn.uibtn-primary:hover {
	border: 2px solid #3363FF;
	color: #3363FF;
}

/**
 * Headings
 */
.course-heading {
	margin: 55px 0 25px 0;
}

.course-subheading {
	margin: 25px 0 25px 0;
}
 
/**
 * Text
 */
.fs-smaller {
	font-size: 0.8rem;
}
 
.fs-small {
	font-size: 0.9rem;
}

.fs-bigger {
	font-size: 1.2rem;
}


.fs-big-icon {
	font-size: 1.8rem;
}

.fw-200 {
	font-weight: 200;
}

.fw-300 {
	font-weight: 300;
}

.fw-800 {
	font-weight: 800;
} 


.fw-900 {
	font-weight: 900;
} 

a.card-link {
	text-decoration: none !important;
	color: black;
}

.iframe-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
  border-radius: 15px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
}

/* Then style the iframe to fit in the container div with full height and width */
.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  max-height: 600px;
}

.card {
	border-radius: 15px;
	-webkit-box-shadow: 7px 21px 99px -14px rgba(0,0,0,0.23);
	-moz-box-shadow: 7px 21px 99px -14px rgba(0,0,0,0.23);
	box-shadow: 7px 21px 99px -14px rgba(0,0,0,0.23);
}

.card-body {
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 15px;
}

.course-card {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 380px;
}

.current-chapter {
	-webkit-box-shadow: 7px 21px 99px -14px rgba(0,0,0,0.23);
	-moz-box-shadow: 7px 21px 99px -14px rgba(0,0,0,0.23);
	box-shadow: 7px 21px 99px -14px rgba(0,0,0,0.23);

}

h2.course-heading {
	margin: 0px;
	margin-bottom: 1rem;
	padding-left: 0px;
}

/**
 * Exercise box
 */
 
.ex-card {
  padding-top: 15px;
  padding-bottom: 15px;
  margin-top: 15px;
}

.ex-card h3 {
  margin: 0;
}

.ex-card-content p {
  margin:  0px;
}

.ex-card-content a.btn {
  min-width: 200px;
  font-weight: bold;
}

.exercise-tip {
	padding-left: 5px;
	font-size: 0.9rem;
	position: absolute;
	height: 26px;
	background-color: #482e7e;
	bottom: 0;
	left: 0;
	width: 100%;
	line-height: 26px;
	text-align: center;
	color: white;
}

ul.lectures {
	width: 100% !important;
	border-bottom-right-radius: 15px;
	margin-bottom: 0px;
	align-self: start;
	overflow-y: auto;
	height: 100%;
	flex-wrap: nowrap;
}

.mh-900 {
	max-height: 600px;
}

ul.lectures  li {
	width: 100%;
}

ul.lectures li:first-child div {
	padding-top: 0px;
	margin-top: 0px !important;
}


ul.lectures li:last-child {
	padding-bottom: 0px;
	margin-bottom: 0px !important;
	
	
}

.mobile-dropdown {
	position: absolute;
	display: none;
	top: 69px;
	left: 0px;
	width: 100%;
	background-color: #4772ff;
	color: white;
	padding: 10px;
	z-index: 999;
}


.mobile-dropdown ul {
	padding-bottom: 0px;
	margin-bottom: 0px;
	list-style-type: none;
	font-size: 1.3rem;
	padding-left: 0px;
}

.mobile-dropdown ul li {
	padding: 5px 0px 5px 0px;
}

.mobile-dropdown ul li a {
	text-decoration: none;
	color: white;
	font-family: 'Raleway';
	font-weight: bold;
}

#lecturesTab li a.nav-link {
	padding: 0px !important;
	border: 0px !important;
}

.form-select {
	border-radius: 15px;
	width: 100%;
	padding-left: calc(50% - 110px);
}


.heading-traccia {
	font-family: 'Raleway';
	border-radius: 15px;
	background-color: #F7F9FA;
	color: #4772ff;
	font-weight: bold;
	text-align: center;
	padding: 12px;
	margin: 10px 0px 15px 0px;
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
}

.heading-svolgimento {
	padding: 12px;
	font-weight:bold;
	text-align: center;
	font-family: 'Raleway';
	background-color: #F7F9FA;
	color: #4772ff;
	border-radius: 0px;
	margin: 10px 0px 15px 0px;
}


.main-exercise {
	-webkit-box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.12); 
	box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.12);
	border-radius: 15px;
}

.box-chapter {
	-webkit-box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.12); 
	box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.12);
	border-radius: 15px;
	max-height: 480px;
}

.lectures-navigation {
	max-height: 480px;
	overflow: auto;
}

.tab-content {
	width: 100%;
}

.nav-tabs {
	border-bottom: 0px !important;
}

.video-wrapper {
  width: 100%;
  margin: 0 auto;
}


h5 .bi-arrow-left-circle-fill {
	font-size: 2rem;
	margin-right: 10px;
}

h5 .bi-arrow-right-circle-fill {
	font-size: 2rem;
	margin-left: 10px;
}


.card-img-top {
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
}

.exercise-wrapper {
	padding-bottom: 150px;
}


.top-tab {
	width: 50%;
	/*
	border-top-right-radius: 15px;
	padding: 5px;
	color: #4772ff;
	border: 1px solid #4772ff;
	text-align: center;*/
}

.top-tab a {
	border-top-right-radius: 15px;
	color: #4772ff;
	width: 100%;
	display: inline-block;
	height: 100%;
	border: 1px solid #4772ff;
	text-align: center;
}

.top-nav {
	height: 36px;
}

.content-tabs {
	height: calc(100% - 36px);
}

#lecturesTab, #exercisesTab {
	height: 100%;
}

.top-tab a.first {
	border-top-right-radius: 0px;
	border-right: 0px;
}

.top-tab a {
	color: #4772ff;
}

.top-tab a.active {
	background-color: #4772ff;
	color: white;
}

.top-tab.active {
	background-color: red;
}

.dropdown-chapters {
	position: absolute;
	background: #F7F9FA;
	border: 1px solid #4772ff;
	z-index: 90;
	border-radius: 15px;
	min-width: 300px;
	top: 50px;
	left: 0px;
	-webkit-box-shadow: 7px 21px 99px -14px rgba(0,0,0,0.23);
	-moz-box-shadow: 7px 21px 99px -14px rgba(0,0,0,0.23);
	box-shadow: 7px 21px 99px -14px rgba(0,0,0,0.23);
	display: none;
}

.dropdown-chapters ul {
	padding-left: 0px;
	list-style-type: none;
	margin: 0px;
}

.dropdown-chapters ul li:first-child {
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
}


.dropdown-chapters ul li a {
	text-decoration: none;
	display: inline-block;
	width: 100%;
	height: 100%;
	padding: 15px;
}


.dropdown-chapters ul li:hover {
	background-color: #c4d2ff;
}

.dropdown-chapters ul li:last-child {
	border-bottom: 0px;
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 15px;
}

.heading-chapter {
	border-radius: 10px;
	background-color: #EFEFEF;
	padding: 10px;
	display: inline-block;
	width: 300px;
}


.help-modal-icon {
	float: right;
	display: inline-block;
	margin-right: 15px;
}


/** Media queries for responsive video player and
  * overflow scroll on right tabs menu */
@media screen and (max-width: 991px) {
	.iframe-container {
	  border-top-right-radius: 15px;
	  border-bottom-right-radius: 15px;
	}
}


@media screen and (min-width: 992px) and (max-width: 1199px) {
	.box-chapter {
		max-height: 405px;
	}
	
	.lectures-navigation {
		max-height: 405px;
	}
}


@media screen and (min-width: 1200px) and (max-width: 1399px) {
	.box-chapter {
		max-height: 480px;
	}
	
	.lectures-navigation {
		max-height: 480px;
	}
}

@media screen and (min-width: 1400px) {
	.box-chapter {
		max-height: 556px;
	}
	
	.lectures-navigation {
		max-height: 556px;
	}
}