/**
 **** last news
 **/
div#first-news-contents > div.row {
	height: 100%;
}

div#first-news-contents p {
	font-size: 0.85em;
	margin: 1em 0;
}

div#first-news-contents div.order-md-2 {
	padding: 0;
}

div#first-news-contents img.img-fluid {
	object-fit: cover;
    width: 100%;
    height: 100%
}

div#last-news h2 {
	border-bottom: 1px solid #ccc;
	font-family: FFMetaWebProLight;
	font-size: 1.5em;
    margin-bottom: 0.2em;
    padding-bottom: 0.2em;
}

div#most-read-container span.common-title,
div#last-news span.common-title {
	font-size: 1em;
	font-weight: normal;
	line-height: 1.2em;
}

div#most-read-container span.common-title {
	font-size: 1.2em;
}

div#last-news a {
	line-height: 1.2em;
}


div#last-news div.news-contents {
	border-top: 1px solid #ddd;
	margin-bottom: 0;
	padding: 0.6em 0;
}

div#last-news > div.news-contents:nth-child(2) {
	border-top: none;
}

div#last-news div.news-contents span.news-title {
	font-size: 0.9em;
}

div.news-summary {
	font-size: 0.6em;
	margin-top: auto;
	padding-top: 1em;
}

span.news-category {
	color: #aaa;
	padding: 0 1em;
	text-transform: uppercase;
}

span.news-specific-details {
	border-left: 1px solid #aaa;
	font-family: FFMetaWebProBold;
	padding: 0 0.5em;
}

div.news-contents {
	margin-bottom: 2em;
}

div.news-contents > div.row > div:first-child {
	margin-bottom: 0.5em;
}


/**
 **** most read
 **/
div#most-read-container > h2 {
	border-bottom: 1px solid #ccc;
	margin-bottom: 0.7em;
	padding-bottom: 0.5em;
}

div#most-read-container > div:last-child {
	margin-bottom: 0;
}

div.most-read-numbering {
	color: #ccc;
	font-size: 2em;	
	font-style: italic;
	line-height: 2.2em;
	margin-top: -15px;
}

div#most-read-container div.most-read-numbering {
	font-size: 3em;	
	margin-top: -30px;
}

div.most-read {
	margin-bottom: 3.5em;
}

div.most-read span.company-name {
	padding-left: 0.5em;
}

div.most-read span.news-category {
	font-size: 0.7em;
}

div.most-read:hover div.most-read-numbering {
	color: #000;
	font-weight: bold;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

div.most-read-infos {
	line-height: 1em;
	margin-top: 6px;
}


/**
 **** Newsletter
 **/
div#newsletter {
	background-color: #f9f9f9;
	padding: 2em 4em 1.4em;
}

div#newsletter form {
	margin-top: 2em;
}

div#newsletter form input {
	border-color: #f3f3f3;
}

div#newsletter form .input-container {
	padding: 0 1em 0 0;
}

div#newsletter form label {
	color: #aaa;
	font-size: 0.8em;
	font-style: italic;
	margin: 0.5rem 0;
}

div#newsletter form button {
	height: calc(2em + 1rem - 4px) !important;
	margin-top: 2px;
}

div.newsletter-chapo {
	font-size: 1.5em;
	padding-left: 1.5em;
}

div.newsletter-chapo > span:first-child {
	font-family: FFMetaWebProBold;
	font-size: 1.25em;
}

div.newsletter-chapo > span:last-child {
	font-size: 0.8em;
}

div#newsletter_confirmation_message,
div#newsletter_confirmation_message-modal {
	font-family: FFMetaWebProBold;
	font-size: 1.25em;
	margin-top: 1em;
}

/**
 **** Table of contents
 **/
div#toc-title {
	border-bottom: 1px solid #ccc;
	padding-bottom: 1.7em;
	font-size: 0.9em;
	margin-bottom: 2em;
}

div#toc-title > div .btn {
	color: #666;
	text-transform: uppercase;
}

div#toc-title > div .btn:hover {
	color: #0B60A8;
	-webkit-transition: all 0.1s ease-in-out;
	-moz-transition: all 0.1s ease-in-out;
	-o-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
}

div#toc-title > div .btn i.fa,
div#toc-title > div .btn i.far {
	color: #666;
	font-size: 1em;
	margin-left: 6px;
}

div#toc-title > div > span:first-child {
	text-align: right;
}

div.toc-category-contents > h3 {
	color: #0B60A8;
	font-size: 1.25rem;
	margin-bottom: 1em;
	text-align: center;
	text-transform: uppercase;
}

div.toc-category-contents > div.toc-img {
	height: 150px;
	padding-right: 0;
	padding-left: 0;
}

div.toc-category-contents > div.toc-img img {
	height: 150px;
	width: 100%;
	object-fit: cover;
}

div.toc-cta {
	text-align: center;
}

div.toc-item {
	border-top: 1px solid #ddd;
	display: flex;
	flex-direction: column;
	padding: 0.8em 0;
}

div.toc-item:first-child {
	border-top: none;
}

div.toc-item > span.company-name {
	margin-bottom: 0.5em;
}

div.toc-item > span.common-title {
	font-size: 1em;
	font-weight: normal;
}


/**
 **** Directory
 **/
div#directory {
	background-color: #f9f9f9;
	padding: 1.5em 2em 2em 2em;
}

div#directory p {
	font-family: Helvetica;
}

div#directory p:first-child {
	font-size: 2em;
	font-weight: bold;
}

div#directory p:last-child {
	color: #666;
	font-size: 1em;
	margin-top: 1em;
	margin-bottom: 0;
}

div#directory button {
	padding: 8px 16px;
}

div#directory div.actions {
	text-align: right;
}


/**
 **** Other categories card
 **/
div#other-categories-container {
	border: none;
	line-height: 1em;
	margin: 0;
	padding: 0;
}

div#other-categories-container .card-body {
	padding: 0;
}

div#other-categories-container .card-header {
	background-color: unset;
	border-bottom: 3px solid #ccc;
	color: #0B60A8;
	font-family: Montserrat;
	font-size: 1.25rem;
	padding: 0.25em 0 1.1em;
	text-align: center;
	text-transform: uppercase;
}

div#other-categories-container .card-title {
	font-family: FFMetaWebProRegular;
	margin: 0;
}

div#other-categories-container li.list-group-item {
	border: none;
	border-bottom: 1px solid #ccc;
	margin-bottom: 0.25em;
	padding: 1em 0;
}

div#other-categories-container li.list-group-item .badge-primary {
	background-color: #0b60a8;
	padding: 0.5em 1em;
}


div#password_reset-container {
	padding-top: 3em;
	margin: 0 auto;
	width: 60%;
}

div#password_reset-container h2 {
	margin-bottom: 0.5em;
}
