/* Tools */
.hidden {
    display: none;
}
.fullsize {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
iframe {
     border: none;
     display: block;
}
.cta-action i + span {
    white-space: nowrap;
}
h1 {
    line-height: normal; /* IE compatibility */
}

/* Header */
.main-logo {
	max-width:150px; 
	max-height:40px;
}
.profile-container {
    margin-right: 0;
    margin-left: auto;
}
@media (min-width: 1024px) {
    .search-field {
        max-width: none;
        margin-right: 30px;
    }
}

.authentication-form {
    padding: 10px;
}
.authentication-form {
    padding: 10px;
}
.authentication-form hr {
    margin-top: 10px;
    color: #2d5e87;
    background-color: #2d5e87;
    height: 1px;
    border: 0;
}
.authentication-form a {
    text-decoration: none;
    font-weight: normal;
    display: block;
    margin: 4px 0;
    font-size: inherit;
}
/*
.authentication-form a.cta-action i {
    min-width: 25px;
    width: 25px;
    height: 25px;
}*/
.authentication-form label {
    color: black;
    font-weight: normal;
}
/*
.search-field-container-mobile,
.open-search-field .search-field-container-mobile {
    display: none;
    width: 100%;
}
.search-field-container-mobile a {
    margin-right: 0;
    margin-left: auto;
}
.open-search-field .search-field-container {
    display: block;
}
.open-search-field .search-field {
    max-width: none;
}
.open-search-field .search-field-background {
    background-color: rgba(0, 0, 0, 0.5);
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    cursor: pointer;
}
.open-search-field .main-container {
    position: static;
}
@media (max-width: 768px) {
    .search-field-container {
        display: none;
        padding: 10px 20px 10px 20px;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        z-index: 1001;
    }
    .search-field-container-mobile {
        display: flex;
        align-items: center;
        padding: 20px 10px;
    }
}*/

/* Menus */
.side-nav-btn span {
    text-transform: uppercase;
}
.profile-container {
	z-index: 10;
}
.nav-item-icon img, 
.channel-icon img {
	width: 36px;
    height: 36px;
}
.nav-submenu {
	list-style-type: none;
}
.nav-submenu li a i{
    padding-right: 10px;
}
.nav-submenu li:last-of-type a {
	padding-bottom: 20px;
}
.sidebar-content:empty {
    display: none;
}
.sidebar-items li a {
    overflow: hidden;
    max-height: 50px;
}
.sidebar-items .channel-thumbnail {
	width: 100%;
}
.sidebar-items li a span:not(.nav-item-icon) {
	align-items: start;
	line-height: normal;
}
.sidebar-items .channel-thumbnail span:not(.nav-item-icon) {
	line-height: 30px;
}

/*#sidebar-profile-container .video-main-info h5, 
#sidebar-profile-container .video-main-info h5 a {
    white-space: normal;
    max-height: 33px;
}*/

/* Footer */
.footer-logo-container img {
    max-width: 160px;
    max-height: 36px;
}
footer .footer-col {
    width: 30%;
}
.footer-col + .footer-col {
    padding-left: 20px;
}
footer .footer-details {
	width: 50% !important;
	text-align: justify;
}
footer h3 {
	font-size: inherit;
	color: inherit;
	text-transform: inherit;
	font-weight: bold;
}
footer a {
    color: #ffffff;
    font-weight: normal;
}

.footer-version {
    margin-top: 20px;
    display: block;
}
.footer-version div {
    display: inline-block;
}
.footer-version .langDiv {
    float: right;
}

@media (max-width: 768px) {
	.footer-content:not(.footer-version) {
		display: block;
		text-align: center !important;
	}
	.footer-content .footer-col {
		width: 100% !important;
		padding-left: 0;
		margin-bottom: 10px;
		padding-bottom: 20px;
		border-bottom: 1px solid #b3bcc3;
	}
	.footer-content img {
		margin: auto;
	}
	.footer-content ul {
		display: flex;
		justify-content: center;
	}
    .footer-content .dropup ul {
        display: inline;
    }
    .footer-content .dropup ul ul li {
        background-color: #1f2340;
    }
}

/* Form */
input[type="text"].form-control,
input[type="password"].form-control,
select.form-control,
textarea.form-control {
    display: block;
    height: 30px;
    line-height: 30px;
    padding: 0 10px 0 10px;
    margin-bottom: 10px;
    width: calc(100% - 20px);
    max-width: 600px;
    border: none;
    background-color: #e8edf1;
}
textarea.form-control {
    height: 70px;
    outline: none;
    resize: none;
    line-height: normal;
}
select.form-control {
    width: 100%;
    max-width: 620px;
    padding-right: 0;
}
.summernote.form-control + .note-editor {
    margin: 10px auto;
}
.summernote.form-control + .note-editor .note-editable,
#shareModal .form-group {
    background-color: #e8edf1;
}
.profile-container input[type="text"],
.profile-container input[type="password"],
#login-modal input[type="text"],
#login-modal input[type="password"] {
    width: calc(180px - 40px);
}
.form-actions {
    display: flex;
    margin-top: 20px;
}

.form-actions.MT40 {
    margin-top: 40px;
}

.form-actions .cta-action + .cta-action {
    margin-left: 20px;
    font-size: 12px;
}

.customUploadZone {
    text-align: center;
    max-width: 620px;
    font-size: 14px;
}
.customUploadZone img {
    margin: auto;
}
.customUploadZone .thumbnail {
    padding: 5px;
    border: 1px solid #e8edf1;
    max-width: 160px;
    max-height: 160px;
}
.customUploadZone .file-input-text {
    color: gray;
    display: block;
}
.customUploadZone .file-input-button {
    cursor: pointer;
    color: #2d5e87;
}

.asp-rdlist input[type="radio"] {
    margin-right: 5px;
}

.form-group {
    position: relative;
}
.form-group .form-icon {
    line-height: 30px;
    position: absolute;
    top: 0;
}
.form-group .form-icon.icon-left{
    left: 5px;
}
.form-group .form-icon.icon-right{
    right: 5px;
}
.form-group .form-icon.icon-left ~ input[type="text"],
.form-group .form-icon.icon-left ~ input[type="password"],
.form-group .form-icon.icon-left ~ textarea {
    padding-left: 30px;
}
.form-group .form-icon.icon-right ~ input[type="text"],
.form-group .form-icon.icon-right ~ input[type="password"],
.form-group .form-icon.icon-right ~ textarea {
    padding-right: 30px;
}

/* Custom select *******************/

.custom-select-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 300px;
}
.custom-select-container label {
    bottom: -4px;
    position: relative;
}
.custom-select {
    display: inline-block;
    position: relative;
    max-width: 300px;
    width: 100%;
    height: 30px;
    white-space: nowrap;
    line-height: 30px;
    box-sizing: border-box;
    text-align: left;
}
.custom-select ul {
    list-style-type: none;
}
.custom-select:not(.open) > ul {
    height: 30px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
}
.custom-select.flag-select {
    width: 135px;
}
.custom-select.flag-select.noIcon {
    width: 90px;
}
.custom-select i {
    display: block;
    position: absolute;
    right: 10px;
    top: 0;
    pointer-events: none;
    line-height: 30px;
}
.custom-select.flag-select i {
    top: 2px;
}
.select-list .placeholder {
    display: block;
    cursor: pointer;
    padding: 0;
    border-left: none;
    border-right: none;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    background-color: transparent;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 32px;
    height: 30px;
}
.custom-select.flag-select:not(.open) > ul {
    border: none;
}
.flag-select .select-list .placeholder {
    padding: 2px 10px;
}
.flag-select .placeholder img {
    padding-top: 4px;
    vertical-align: top;
}
.select-list > li:last-child {
    display: none;
    box-sizing: border-box;
    overflow-y: auto;
    max-height: 250px;
    position: relative;
    z-index: 1;
    overflow: visible;
    top: -1px;
    min-width: 100%;
    width: intrinsic;
    width: -moz-max-content;
    width: -webkit-max-content;
    width: max-content;
}
.flag-select .select-list > li:last-child {
    max-height: 180px;
    min-width: 100%;
}
.select-list ul {
    width: auto;
    border-style: solid;
    border-width: 1px;
    max-width: 250px;
    min-width: 100%;
    box-sizing: border-box;
    overflow-x: visible;
    overflow-y: auto;
}
.select-list ul li {
    position: relative;
    padding: 10px;
    line-height: 30px;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.flag-select .select-list ul li {
    height: 36px;
    padding: 3px 10px;
}
.flag-select img {
    pointer-events: none;
    vertical-align: middle;
    margin-right: 5px;
}
.flag-select:not(.open) .select-list .placeholder {
    border: none;
}
.custom-select.open .select-list > li:last-child {
    display: flex;
}
.custom-select.open .select-list ul li:hover {
    cursor: pointer;
}
.dropup .custom-select > ul {
    display: flex;
    flex-direction: column-reverse;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}
.dropup .custom-select .placeholder.selected {
    border: none;
}
.dropup .custom-select.flag-select i {
    top: 0;
}
.flag-select .select-list .placeholder {
    padding: 0 10px;
}
@media (max-width: 768px) {

    .custom-select-container,
    .custom-select-container .custom-select {
        max-width: inherit;
    }
}

/* Home */
.title-container:not(:first-of-type) {
    margin-top: 40px;
}
.carousel .item a {
    border: none;
}
.video-slider-container .slider {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
}
.slider li {
    min-width: 228px;
}
.slider li + li {
    margin-left: 10px;
}

/* Featured videos */
.featured-info-container .video-desc {
	max-height: 58px;
	overflow: hidden;
	text-align: justify;
}
.owl-carousel .owl-item .user-pic img {
    width: 34px; /* fix pb with chrome */
}

/* Channels */
.channel-header {
    position: relative;
}
.channel-header h1 {
    padding-right: 30px;
}
.rss {
    position: absolute;
    top: 0;
    right: 0;
}

/* Videos */
/*.video-player iframe {
    min-height: 540px;
}*/
.video-report {
    margin-left: 30px;
    color: #b3bcc3;
}
.video-actions {
	display: inline;
	margin-top: -10px;
	float: right;
}
.video-actions .cta-action {
    display: inline;
    margin-right: 20px;
}
.video-actions .star-ranking-container {
    display: inline;
}
.video-attachments {
    margin-top: 40px;
}
.comment-report {
    margin-left: 10px;
}
.comment-container .comment-options .add-comment:not(:first-child) {
    margin-left: 0px;
}
.comment-container .comment-options .more-comments,
.comment-container .comment-options .less-comments {
    margin-right: 20px;
}
.add-comment-container textarea {
    width: calc(100% - 126px);
}

@media (max-width: 1064px) {
	.video-container + .video-main-info .video-likes, .video-container + .video-main-info .video-views, .video-container + .video-main-info .video-report {
		margin-left: 10px;
	}
}
@media (max-width: 768px) {
	.video-actions .cta-action span {
		display: none;
	}
}
@media(max-width: 640px) {
	.video-actions {
		margin-top: 20px;
		display: block;
		float: none;
	}
}

.video-tag .tag-list {
    margin-top: 20px;
}
.video-tag .tag-list li {
    display: inline;
    margin: 0 2px;
}

/* Search results */
.search-results-container {
    margin-top: 40px;
}
.search-results-container .channel-results li a {
    display: flex;
    padding: 10px 0;
    align-items: center;
    text-decoration: none;
    font-weight: normal;
}
.search-results-container .channel-results li a img {
    margin-right: 30px;
	width: 36px;
	height: 36px;
}

.criteria label {
    display: inline-block;
    padding: 8px 25px;
    border-width: 1px;
    border-style: solid;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-right: 10px;
}
.criteria input {
	display: none;
}
.criteria input:not(disabled) + span {
	cursor: pointer;
}
.criteria label span {
	font-weight: 300;
	float: right;
	padding-left: 30px;
}
.criteria label span {
    color: #b3bcc3;
    border-color: #b3bcc3;
}
.criteria label {
    color: #2d5e87;
}
.criteria input:checked + label {
    background-color: #2d5e87;
    color: #ffffff;
    border-color: #2d5e87;
}
.criteria input:checked + label span {
	color: #ffffff;
}

/* Vignettes vidéos */
#sidebar-profile-container .video-small-thumbnail {
    display: flex;
}
#sidebar-profile-container .video-small-thumbnail .video-thumbnail {
    width: 120px;
    height: 66px;
    margin-right: 20px;
}
.multiple-video-container::after {
    content: "";
}
.video-preview h5 { /* h3 */
    color: #2d5e87;
    font-size: 16px;
    font-weight: normal;
}
.video-preview .video-details {
    max-height: 55px;
    overflow: hidden;
}

/* Tags */
.tag {
    max-width: calc(100% - 40px);
}

/* Scorm content */
.main-content.scorm-content {
    padding-top: 20px;
}
.loading-overflow {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 12000;
    left: 0;
    top: 0;
    background-color: rgba(0,0,0, 0.9);
    overflow-x: hidden;
}
.loading-overflow div {
    position: relative;
    top: 40%;
    display: block !important;
    margin: 20px auto;
}
.loader {
    border-radius: 50% !important;
    width: 100px;
    height: 100px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    border-color: #e8edf1;
    border-top-color: #2d5e87;
    border-style: solid;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Modals */
.modal {
    background-color: transparent;
}
.modal a {
    color: #2d5e87;
}
.modal-content {
    border-radius: 0;
}
.cta-action {
    color: #2d5e87 !important;
}

/* custom forms */
.lang-container {
	max-width: 620px; 
	margin-top: 15px; 
	margin-bottom: 35px;
	display: flex;
}
.lang-label {
	color: #666; 
	margin-top: 10px; 
	font-size: 14px;
	display: inline-block; 
	margin-right: 15px;
}

.lang-dropdown {
	display: inline-block !important; 
	background-color: transparent !important; 
	border: 1px solid #d6d6d6 !important; 
	height: 40px !important;
}

.check-label {
	color: #666;
	margin-top: 10px; 
	font-size: 14px;
}

/* Components.min Override */
.general-item-list > .item > .item-head > .item-details > .item-pic {
	width: 35px !important;
}

.item-pic {
	width: 35px !important;
}

/* Connexion Form - Override other css pages */
@media (min-width: 768px) {
	.modal-dialog {
		width: 400px !important;
	}
}

.modal-content {
    padding: 35px;
}

.modal-header {
    padding: 15px;
    border-bottom: none;
}

.modal-body {
	padding: 0 !important;
}

.modal .authentication-form hr {
    margin-top: 25px;
    margin-bottom: 5px;
}

.modal .rememberMe {
	margin-top: 25px;
	margin-bottom: 35px;
}

/* Video Share form - override other css*/
@media (min-width: 768px) {
	#shareModal .modal-dialog {
		width: 480px !important;
	}
}

#shareModal .fa-envelope {
	margin-top: 9px;
}

#shareModal.modal .js-float-label-wrapper.focused .fa-envelope, 
#shareModal.modal .js-float-label-wrapper.populated .fa-envelope {
	margin-top: -3px;
}

#shareModal h4.modal-title {
	font-size: 16px;
}

#shareModal.modal .form-control {
	padding-top: 5px;
}

#shareModal.modal input.form-input {
	margin: 0;
}

#shareModal.modal .authentication-form label {
    font-weight: normal;
}

#shareModal.modal .js-float-label-wrapper.focused label {
	font-weight: bold;
	margin-left: 15px;
}

#shareModal.modal .js-float-label-wrapper.populated label {
	font-weight: bold;
	margin-left: 15px;
}

#shareModal.modal .js-float-label-wrapper {
    margin-bottom: 14px;
}

    .cta-contextual.external-auth-btn-content {
	width:280px;
	margin:2px;
	font-weight: bold;
	border-color:white;
}
    /* external authentication */
a > .fa.externalauthicon {
	color:white;
}
    .external-auth-text {
		color:white;
}
    .external-auth-btn-content.facebook {
		background-color: #3b5998;
}
    .external-auth-btn-content.google {
		background-color: #a32b1c;
}
    .external-auth-btn-content.linkedin {
		background-color: #007bb6;
}
    .external-auth-btn-content.live { 
	  background-color: #2672ec;
}
    .external-auth-btn-content.twitter {
		background-color: #55acee;
}
    .cta-contextual {
	display: inline-block;
	height: 48px;
	line-height: 48px;
	border-radius: 3px;
	padding-left: 40px;
	padding-right: 40px;
	border-width: 2px;
	border-style: solid;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	position: relative;
	background-color: transparent;
	outline: none;
	white-space: nowrap;
}

.cta-contextual .fa {
	display: inline-block;
	height: 48px;
	line-height: 48px;
}

.cta-contextual > span + .fa {
	padding-right: 0;
	padding-left: 10px;
}

.cta-contextual:hover {
	text-decoration: none;
}

.cta-contextual:active:before,
.cta-contextual.selected:before {
	content: '';
	display: block;
	border-width: 1px;
	border-style: solid;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	pointer-events: none;
}

.cta-contextual.multiline {
	display: block;
	height: auto;
	line-height: 18px;
	padding-top: 10px;
	padding-bottom: 10px;
	white-space: normal;
}

.cta-contextual.multiline span span {
	display: block;
	font-weight: normal;
	font-size: 12px;
}