/* ==========================================================================
   Embedded fonts
   ========================================================================== */
 	@font-face{
		font-family: 'Noto Sans';
		src: url(fonts/NotoSans-Regular.woff2) format('woff2'), url(fonts/NotoSans-Regular.woff) format('woff');
		font-style: normal;
	}

	@font-face{
		font-family: 'Noto Sans';
		src: url(fonts/NotoSans-Bold.woff2) format('woff2'), url(fonts/NotoSans-Bold.woff) format('woff');
		font-style: normal;
		font-weight: bold;
	}

	@font-face{
		font-family:'Overpass';
		src: url(fonts/Overpass-Regular.woff2) format('woff2'), url(fonts/Overpass-Regular.woff) format('woff');
		font-style: normal;
	}

	@font-face{
		font-family: 'Overpass';
		src: url(fonts/Overpass-Bold.woff2) format('woff2'), url(fonts/Overpass-Bold.woff) format('woff');
		font-style: normal;
		font-weight: bold;
	}

/* ==========================================================================
   General
   ========================================================================== */
body {
	font-family: 'Noto Sans';
	font-size: 14px;
}
   
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: 'Overpass';
	font-weight: 700;
	color: #1E2DBE;
}

#content h1 {
    text-transform: uppercase;
    line-height:normal;
	margin-top:0;
}

h2 {
	line-height: normal;
}

output, .form-control, .dropdown-menu {
	font-size: 14px;
}

.radio label label {display: none}

.h1-txt {
	font-size: 18px;
	margin-bottom: 30px;
}

.h2-txt {
	font-size: 12px;
}

.text-small {
	font-size: 0.8em;
}

.details{
	line-height: 140%;
}

.udr {
	border-bottom: 2px solid #fa3c4b;
	width: fit-content;
	margin-bottom: 20px;
}

#sidebar .udr {
	width: 100%;
}

.red {
	color: #FA3C4B;
}

.purple {
	color: #230050;
}

a.details,  a.details:visited{
	text-decoration: underline;
}

a.details:hover, a.details:active{
	color: #777;
}

.main-section{
	border-right: 1px solid #ccc;
	margin-bottom: 30px;
}

.details, .details a {
	color: #999;
	font-size: 12px;
	font-weight: 500;
	font-weight: normal;
}

@media (max-width: 480px){
	html, body {
		overflow-x: hidden;
		max-width: 100%;
	}
}


/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary,.btn-primary:visited {
	background-color: #1E2DBE;
	border: none;
}

.btn-primary.active, .btn-primary.focus, .btn-primary:active, .btn-primary:focus, .btn-primary:hover, .open>.dropdown-toggle.btn-primary, 
.btn-primary.disabled, .btn-primary.disabled.active, .btn-primary.disabled.focus, .btn-primary.disabled:active, .btn-primary.disabled:focus, .btn-primary.disabled:hover, .btn-primary[disabled], .btn-primary[disabled].active, .btn-primary[disabled].focus, .btn-primary[disabled]:active, .btn-primary[disabled]:focus, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary, fieldset[disabled] .btn-primary.active, fieldset[disabled] .btn-primary.focus, fieldset[disabled] .btn-primary:active, fieldset[disabled] .btn-primary:focus, fieldset[disabled] .btn-primary:hover {
	background-color: #151F83;
    border-color: none;
}

.btn-info ,.btn-info:visited {
	background-color: #230050;
	border: none;
}

.btn-info.active, .btn-info.focus, .btn-info:active, .btn-info:focus, .btn-info:hover, .open>.dropdown-toggle.btn-info, 
.btn-info.disabled, .btn-info.disabled.active, .btn-info.disabled.focus, .btn-info.disabled:active, .btn-info.disabled:focus, .btn-info.disabled:hover, .btn-info[disabled], .btn-info[disabled].active, .btn-info[disabled].focus, .btn-info[disabled]:active, .btn-info[disabled]:focus, .btn-info[disabled]:hover, fieldset[disabled] .btn-info, fieldset[disabled] .btn-info.active, fieldset[disabled] .btn-info.focus, fieldset[disabled] .btn-info:active, fieldset[disabled] .btn-info:focus, fieldset[disabled] .btn-info:hover {
	background-color: #14002e;
	border: none;
}

.btn-pres {
	background-image: url(images/elearning/icon_module-view.png);
	background-repeat: no-repeat; 
	background-position: left top;
	width: 100%;
	text-align: left;
	font-size: 23px;
    margin-bottom: 10px;
    padding-left: 75px;
    text-transform: uppercase;
}

.btn-note {
	background-image: url(images/elearning/icon_module-read.png);
	background-repeat: no-repeat; 
	background-position: left top;
	width: 100%;
	text-align: left;
	font-size: 23px;
    margin-bottom: 10px;
    padding-left: 75px;
    text-transform: uppercase;
}

.btn-eval {
	background-image: url(images/elearning/icon_module-start.png);
	background-repeat: no-repeat; 
	background-position: left top;
	width: 100%;
	text-align: left;
	font-size: 23px;
    margin-bottom: 30px;
    padding-left: 75px;
    text-transform: uppercase;
}

.btn.social{
	color: #fff;
	margin-right: 3px;
	height: 34px !important;
	width: 34px;
	padding: 4px 5px 5px 6px;
	font-size: 20px;
}

.btn.twitter, .btn.twitter:visited, .btn.twitter:active {
	background-color: #00ACED;
}

.btn.twitter:hover,.btn.twitter:focus {
	background-color: #009ed9;
}

.btn.linkedin, .btn.linkedin:visited, .btn.linkedin:active{
	background-color: #1884BB;
}

.btn.linkedin:hover,.btn.linkedin:focus {
	background-color: #1577A8;
}

.btn.youtube, .btn.youtube:visited, .btn.youtube:active{
	padding: 3px 5px 4px 4px;
	background-color: #d50000;
}

.btn.youtube:hover,.btn.youtube:focus {
	background-color: #c10000;
}

.btn.instagram, .btn.instagram:visited, .btn.instagram:active {
	padding: 3px 5px 5px 5px;
	background-color: #e95950;
}

.btn.instagram:hover,.btn.instagram:focus {
	background-color: #ff5c54;
}

/* ==========================================================================
   Forms
   ========================================================================== */
input[type="checkbox"] + label , input[type="radio"] + label{
	display:inline;
	font-weight:normal;
	margin-left: 7px;
}

input[type="checkbox"] + label:after, input[type="radio"] + label:after {
	content:"\a"; white-space:pre;
}

.form-control:focus{
	border: 1px solid #1E2DBE;
}

/* ==========================================================================
   Lists
   ========================================================================== */
ul.list {
	padding-left: 10px;
}   
   
ul.list li {
	list-style: none;
	padding: 5px 0;
}
   
ul.list li:before {
	font-size: 10px;
	content: "\f04b";
	font-family: FontAwesome;
	color:#fa3c4b;
	display: inline-block;
	width: 1.6em;
}

ul.list.udr {
	border-bottom: none;
	width: auto;
}

ul.list.udr li {
	border-bottom: 1px solid #1e2ebe2d;
	padding: 8px 0;
}

ul.fa-ul li:before {
	content: none;
}

.corps {
	float: none;
	padding: 10px;
	border-bottom: 1px solid #ccc;
}

.corps0 {
	float: none;
	padding: 5px;
	background-color: #f2f2f2;
}

.corps1 {
	float: none;
	padding: 5px;
}

.corps b, .corps0 b, .corps1 b {
	color: #230050;
}

.corps:hover, .corps0:hover, .corps1:hover {
	background-color: #CFCFCF;
	cursor: pointer;
}

.corps a:hover, .corps0 a:hover, .corps1 a:hover {
	text-decoration:none;
}

/* ==========================================================================
   Header
   ========================================================================== */
body>nav {
	background-color: #151f85;
	font-size: 12px;
	max-height: 40px;
}

header {
	background-color: #1e2dbe;
}

header h1 {
	font-size: 32px;
	float: left;
	color: #fff;
	margin: 30px 0 0 15px;
}

header h2 {
    color: #fff;
    white-space: nowrap;
    font-size: 17px;
    line-height: 25px;
    margin-bottom: 0;
}

header .logo {
	background: url(images/logo/EN_ILO.svg) no-repeat;
    width: 215px;
    height: 70px;
	display: block;
    float: left;
    border-right: 1px solid #fff;
    margin: 10px 0;
}

header .logo .es {
	background: url(images/logo/ES_ILO.svg) no-repeat;
}

header .logo .fr {
	background: url(images/logo/FR_ILO.svg) no-repeat;
}

header h2::before, footer h2::before {
	content: '';
    background: url(images/logo/red-triangle.svg) no-repeat 0 50%;
    background-size: 12px 14px;
    display: inline-block;
    width: 17px;
    height: 14px;
}

header .head {
	display: flex;
   	flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: center;
    align-items: center;
}

header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width:100%;
    z-index: 999;
    transition: position 0.4s ease-in-out;
}

header.sticky .logo {
	width: 125px;
    height: 40px;
    border-right: none;
    transition: all 0.4s ease-out;
    margin: 7px 0;
}

header.sticky #htitle, header.sticky #hsubtitle {
    display: none;
}

header.sticky .nav-item, header.sticky .dropdown-item {
	font-size: 12px;
}

header.sticky .nav-item a {
	padding: 8px;
}

header nav .nav-link {
	color: #fff;
}

header nav .nav-link:hover {
	opacity: 0.7;
}

#navbar .dropdown:hover>.dropdown-menu {
	display: block;
	margin-top: 0;
}

#navbar .dropdown > .dropdown-toggle:active {
    pointer-events: none;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background-color: #151F85;
}

#dropdown-login {
	min-width: 300px;
}

@media (max-width: 1500px) {
	header .nav-item, header .dropdown-item {
		font-size: 12px;
	}

	header .nav-item a {
		padding: 8px;
	}
}

@media (max-width: 991px) {
	header .logo {
	    height: 40px;
    	border-right: none;
    	transition: all 0.4s ease-out;
    	margin: 7px 0;
	}
	
	header #htitle, header #hsubtitle {
	    display: none;
	}
	
	header .nav-item, header .dropdown-item {
		font-size: 12px;
	}
}

@media (max-width: 768px) {
	body>nav .navbar-nav:first-of-type {
	    display: none;
	}
}

/* ==========================================================================
   E-learning menu
   ========================================================================== */
#sidebar a.nav {
    background: none !important;
    font-size: 12px;
    color: #337AB7;
    padding-left: 10px !important;
    padding-bottom:5px !important;
}

/* ==========================================================================
   E-learning icon
   ========================================================================== */
.link-link {
	background: url(images/elearning/icon_link.png) no-repeat left bottom;
    margin-left: 5px;
    margin-top: 5px;
    background-size: 30px 30px;
    width: 100%;
    height: 100%;
}

.link-pdf {
    background: url(images/elearning/icon_pdf.png) no-repeat left center;
    background-size: 30px 30px;
    margin-left: 5px;
    margin-top: 5px;
    width: 100%;
    height: 100%;
}

.link-video {
    background: url(images/elearning/icon_video.png) no-repeat left center;
    margin-left: 5px;
    margin-top: 5px;
    background-size: 30px 30px;
    width: 100%;
    height: 100%;
}

.link-audio {
    background: url(images/elearning/icon_audio.png) no-repeat left center;
    margin-left: 5px;
    margin-top: 5px;
    background-size: 30px 30px;
    width: 100%;
    height: 100%;
}

.link-title {
    font-size: 12px;
    font-weight: 100;
    color: #337AB7;
    padding-left: 50px;
    margin-bottom: 0px;
}

.link-details {
    font-size: 11px;
    font-weight: 100;
    color: #999999;
    padding-left: 50px;
    margin-bottom: 0px;
}

/* ==========================================================================
   article
   ========================================================================== */
.article {
	margin-bottom: 10px;
}

.article img, .article iframe{
	display: block;
	max-width: 100%;
	padding-bottom: 15px;
}

.source {
	font-size: 12px;
	font-weight: 500;
	font-weight: normal;
	color: #999;
}


/* ==========================================================================
  Thematic areas
   ========================================================================== */
.thematic-thumbnails {
    display: grid;
    grid-auto-rows: 1fr;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    gap: 10px 10px;
}

.thematic-card {
    display: flex;
    align-items: flex-end;
    padding: 0.6rem;
    min-height: 180px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
    color: #fff;
    text-align: left;
    cursor: pointer;
    background-position: center;
    background-size: cover;
    background-blend-mode: soft-light;
    background-color: #1e2ebe9a;
}

.thematic-card:hover {
    background-color: #1e2ebe48;
}

.sub-hero-layout {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-background {
    background-size: cover;
    height: 100%;
    position: absolute;
    top: -24px;
    left: 0;
    right: 0;
}

.uuper_box {
    clip-path: polygon(calc(100% - 60px) 0, 100% 60px, 100% 100%, 0 100%, 0 0);
    background: rgba(255,255,255,0.5);
    padding: 2.5rem 1rem 2rem 6rem;
}

.uuper_box h4 {
    color: #230050;
}

.uuper_box h5 {
    background: #1e2dbe;
    color: #fff;
    width: fit-content;
    padding: 7px 15px;
}

.flip figure {
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 15rem;
    cursor: pointer;
    border: 1px solid #1e2ebe2d;
}

.flip figure img {
    width: 90%;
}

.flip figure figcaption {
    padding: 1rem;
    background: #230050;
}

.single-gallery {
    align-items: center;
    overflow: hidden;
}

.gallery-thumb a {
    display: block;
    overflow: hidden;
    border-radius: 1px;
    transition: 0.3s;
}

.fit-image {
    width: 100%;
    object-fit: cover;
    object-position: center;
    clip-path: polygon(calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%, 0 0);
    transition: all 0.3s ease-in-out 0s;
}

.gallery-content {
    position: absolute;
    bottom: -15%;
    left: 0;
    right: 0;
    padding: 1rem 0.5rem;
    background: #fff;
    opacity: 0.9;
    border-radius: 1px;
    transition: 0.3s;
    visibility: hidden;
    z-index: 99;
    margin: 0;
    width: 100%;
    padding: 2.5rem 1.5rem;
}

.gallery-content a {
    color: #1e2dbe;
    font-size: 13px;
    text-decoration: underline;
}

.single-gallery:hover .gallery-content {
	bottom: 0%;
	visibility: visible
}

.bottom-tags {
    padding-top: 1rem;
    border-top: 1px solid #ebf5fd;
}

.bottom-tags .tags {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.bottom-tags i {
    color: #bedcfa;
    font-size: 14px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
	background-color: #230050;
}

footer .logo {
	background: url(images/logo/EN_ILO.svg) no-repeat;
    height: 80px;
    width: 220px;
}

footer .logo .es {
	background: url(images/logo/ES_ILO.svg) no-repeat;
}

footer .logo .fr {
	background: url(images/logo/FR_ILO.svg) no-repeat;
}

footer .top {
	border-bottom: 1px solid #fff;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    color: #fff;
    font-size: 12px;
	padding: 2rem 0;
}

footer .top a {
	color: #fff;
}

footer .links {
    color: #fff;
    list-style: none;
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-content: flex-end;
    align-items: center;
}

footer .links li {
    margin: 0 1rem;
}

footer .bottom {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    padding: 2rem 0;
}

footer h2 {
    color: #fff;
    white-space: nowrap;
    font-size: 18px;
    line-height: 30px;
    text-align: right;
    margin-bottom: 0;
}

footer p {
    font-size: 12px;
    color: #b0b9e1;
    text-align: right;
}

/* ==========================================================================
   Bootstrap overload
   ========================================================================== */
@media (min-width: 1200px) {
    .container{
        max-width: 100%;
        padding: 0 12%;
    }
}

@media print {
	html, body {width: 100%;}
	a[href]:after {content: none !important;}
	nav, header, footer, .btn {display:none !important;}
	.d-print-none {display:none}
}

/* ==========================================================================
   CKeditor overload
   ========================================================================== */
.ck-editor__editable {
    max-height: 400px;
}