:root {
	--primary:#000000;
}

/* body */
body {	
	background-image: url(/static/custom/fond.jpg);
	background-repeat: no-repeat;
	background-position: top center;
	background-size: cover;
}

a, a:hover, a:focus {
    color: black;
}

#nav-search input {
	color: #ffffff;
	font-weight:bold;
	background-color:#000000;
	border:0px;
	border-bottom: 2px solid #ffffff;
	border-radius:0px;
}
#nav-search input.form-control::placeholder {
	color: #8c8c8c;	
}
#nav-search input.form-control:focus {
	box-shadow: 0 0 0 .1rem #fff043;
	border-bottom: 0px;
}

/* enleve le tire en haut */
.navbar-brand > strong {
	display:none;
}

/* bar de nav */
.navbar.fixed-top {
	background-color:#000000 !important;
	color:white;
}

/* lien de la barre de nav */ 
#nav-mainbar .nav-link {
	color:white;
	font-weight:bold;
}

/* svg de la barre de nav */ 
#nav-mainbar svg {
	color:#fff043;
}
#nav-usermenu svg {
	color:black;
}
#nav-usermenu #navbarDropdown {
	border-radius:50px;
}


#nav-usermenu .dropdown-menu {
	background-color: #FFFFFF;
	color: #000000;
	border: 2px solid #000000;
	border-radius: 25px;
	top: 90%;	
}

#nav-usermenu .dropdown-menu .dropdown-item:last-child:hover {
	background-color:transparent;
	color: #000000;
}

/* profil user */
#nav-usermenu #navbarDropdown:hover, #nav-usermenu #navbarDropdown:focus  {
	color: white;
	background-color: black;
	border-color: white;
	border: 0px;
	box-shadow: none;
}

#nav-usermenu #navbarDropdown:focus {
	color:transparent;
}

.userinitial {
	font-weight:bold;
}

.userpicture {
    height: 50px;
	border-radius:50px !important;
}

/* boutton */ 
.btn-primary {
	color: black;
	font-weight:bold;
	background-color: #fff043;
	border-color: #fff043;
	border-radius:0px;
}
.btn-primary.focus, .btn-primary:focus, .btn-primary:hover  {
	color: white;
	background-color: black;
	border-color: black;
}
.btn-primary.disabled, .btn-primary:disabled {
    
}

.btn-secondary {
	color: #ffffff;
	font-weight:bold;
	background-color: #000000;
	border-color: #000000;
	border-radius:0px;
}
.btn-outline-primary:hover {
	color: #ffffff;
	background-color: #000000;
	border-color: #000000;
	font-weight:bold;
}

a.btn:not([href]):hover {
	color: #ffffff !important;
}
a.btn:not([href]) {
	color: #000000 !important;
}


/* ajout de video dans la barre de anv */
a.addvideo img {
	filter: invert(1);
}

a.addvideo.focus, a.addvideo:focus, a.addvideo:hover {
    color: white;
    background-color: black;
	border-color: black;
}
a.addvideo.focus img, a.addvideo:focus img, a.addvideo:hover img{
	filter: invert(0);
}

/* slecteur de lang */
.btn-lang{
	border-radius:0px;
}





/* lien des texte dans la custom bar */
.custom-block h5 a {
	color:black;
	text-transform: uppercase;
	font-weight:bold;
	font-size:85%;
}
#mainContent .custom-block .picto img{
    width: 85px;
	filter: brightness(0%);
}
#mainContent .custom-block .picto img:hover{
    transform: rotate(45deg);
}
#mainContent .custom-blocks-row {
    display: flex;
}
#mainContent .custom-add-video {
    display: flex;
    align-items: center;
    text-align: center;
}
#mainContent .custom-add-video .btn {
    margin: auto;
    white-space: normal;
    display: flex;
    align-items: center;
    min-height: 95%;
}
#mainContent .custom-add-video .btn svg, .custom-add-video .btn img  {
    height: 80px;
    width: auto;
    vertical-align: bottom;
    margin-right: 4%;
}
#mainContent .custom-block {
    font-size: 13px;
    padding: 4px 0px;
    display: flex;
    align-items: stretch;
}
#mainContent .custom-block .content {
    padding: 1%;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
	align-items: center;
}
#mainContent .custom-block .picto {
    display: block;
    margin-right: 3%;
}
#mainContent .custom-block .content .btn {
    text-align: right;
}

/* pas de radius sur les jumbotron*/ 
.jumbotron {
	border-radius:0px;
}

/* titre dernier video */
#mainContent h3 {
	text-transform:uppercase;	
}

#card-tags a.badge {
	white-space: normal;
	text-align: left;
	font-size:14px!important;
}
/* #mainContent h3::before { */
    /* content: ""; */
    /* display: block; */
    /* width: 240px; */
    /* height: 12px; */
    /* background-color: #badfee; */
    /* position: relative; */
    /* top: 30px; */
	/* opacity:0.8; */
/* } */

/* carte de video */
.card {
	border:2px solid black !important;
	border-radius:0px;
}

.card-header {
	border-bottom:2px solid black !important;	
}

.card .video-title a{
	color:black;
	font-weight:bold;
	
}


/* footer */
footer.bg-dark {
	background-color:#000000 !important;
	color:white;
}

footer .footer-contact-title{
	display:none;
}

footer img[src*="logo_ul.png"] {
    display: none;
}

footer .ul-footer-link img {
	width:170px;
}

footer .footer_links li  {
	padding:0.8em 0 0 0;
	font-weight:bold;
}

footer .footer_links > li::before {
	content: "";
}

footer .top_link {
	display:none;
	opacity: 0;
	visibility: hidden;
}

footer a:focus {
    color: white;
}

/* back to top */
a.back-to-top{
	color: #000000;
}
.back-to-top {
    background-color:  #fff043;
	border:2px solid #000000;
    color: #000000;
	font-size: 20px;
    border-radius: 3px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    line-height: 50px;
    width: 50px;
    text-align: center;
    z-index: 10;
    transition: opacity 300ms ease-in-out;
	opacity: 0;
	visibility: hidden;
	z-index: 1000;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top .screen-reader-text {
    border: 0;
    clip: rect(1px,1px,1px,1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}
.back-to-top .btt-icon {
    display: inline-flex;
    align-self: center;
}
.back-to-top .btt-icon svg {
    height: 1.3em;
    width: 1.3em;
    top: .165em;
    position: relative;
    fill: currentColor;
}

/* bouton de changement de langue */
#nav-languagechoicelg .btn-lang-active {
	padding: 5px 15px;
	border: 2px solid #FFFFFF;
	border-radius: 25px;
	background-color:#000000;
	color: #FFFFFF;
	width: 100%;
	text-transform: uppercase;
	font-weight:bold;
}

#nav-languagechoice .active {
	border: 2px solid #FFFFFF;
	border-radius: 25px;
	background-color:#000000;
	color: #FFFFFF;
	text-transform: uppercase;
	font-weight:bold;
}

#nav-languagechoicelg .btn-lang-active:hover, #nav-languagechoicelg .btn-lang-active:focus  {
	background-color:#FFFFFF;
	color: #000000;
}

#nav-languagechoicelg  .dropdown-menu {
	background-color: #FFFFFF;
	color: #000000;
	border: 2px solid #000000;
	border-radius: 25px;
	text-transform: uppercase;
	top: 90%;	
}

#nav-languagechoicelg  .dropdown-menu .dropdown-item {	
	text-transform: uppercase;	
	font-weight:bold;
}

#nav-languagechoicelg  .dropdown-menu .dropdown-item:hover {
	border-radius: 25px;
	background-color:#000000;
	color: #FFFFFF;
}

#nav-languagechoice form input[type="submit"] {
	text-transform: uppercase;	
	font-weight:bold;
}
/*
html:lang(fr) .btn-lang-active {
	border: 3px solid red;
	background-image: url(/static/custom/french-icon.png);
	background-repeat: no-repeat;
	background-position: top center;
	background-size: cover;
}

html:lang(en) .btn-lang-active {
	border: 3px solid green;
}
*/

#filterType a.collapsed, #filterType a:not(.collapsed),  #filterDiscipline a.collapsed, #filterDiscipline a:not(.collapsed), #filterCursus a.collapsed, #filterCursus a:not(.collapsed), #filterTag a.collapsed, #filterTag a:not(.collapsed){
	font-size: 1.5rem;
}
#filterType a.collapsed::after, #filterType  a:not(.collapsed)::after, #filterDiscipline a.collapsed::after, #filterDiscipline a:not(.collapsed)::after, #filterCursus a.collapsed::after, #filterCursus a:not(.collapsed)::after, #filterTag a.collapsed::after, #filterTag a:not(.collapsed)::after {
    content: '...';
}


@media screen and (max-width:992px) {
	#nav-mainbar #navbarSupportedContent {
		background-color:black;
	}
  
	#mainContent .custom-add-video .btn svg, .custom-add-video .btn img {
		width:50px;
		height: auto;
	}
	#mainContent .custom-block {
		padding: 0px 15px ;
	}
	
	#mainContent .custom-block .picto img {
		width:50px;
	}
	
	#mainContent .custom-block .content {
		width:100%;
		padding: 4px 16px;
	}
	#mainContent .custom-block .content div p {
		display:none;
	}
		
	#collapseAside {
		order:14
	}
}

/*
.field_type #id_type  option[value="1"] {
	display:none;
}
*/

/* hack to reduce witdh of vjs-control on mobile */
@media only screen and (max-width: 440px) {
	.video-js .vjs-control {
	  width: 2.9em !important;
	}
}