/*
Theme Name: CNRS Web Kit Child
Theme URI: https://wordpress.org/themes/cnrswebkit-child/
Author: the Atos team and N. LANDREIN
Author URI: https://www.mfp.cnrs.fr/
Description: CNRS Web Kit is a modernized take on an ever-popular WordPress layout — the horizontal masthead with an optional right sidebar that works perfectly for blogs and websites. It has custom color options with beautiful default color schemes, a harmonious fluid grid using a mobile-first approach, and impeccable polish in every detail. CNRS Web Kit will make your WordPress look beautiful everywhere.
Template: cnrswebkit
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready, blog
Text Domain: cnrswebkit-child

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

.single_contact{
  color:#ffffff;
	display:block;
  min-height:600px;
  width: auto;
  padding:50px;
  background-color: #eb004e;
}
.single_contact_function{
	color:#000000;
  font-size:30px;
}
.single_contact_email{
	color:#D3D3D3;
  font-size:20px;
  padding-top:20px;
}
.single_contact_image{
	float:left;
}
.single_contact_image img{
  margin:30px;
  max-width:250px;
}
.single_contact_twitter a{
	color:#ffffff;
}
.majuscule{
  text-transform:uppercase;
}
body.page-template-templatecontact .loop-contents-contact article .contactDetails .detailsContainer .mail{
	padding-top:30px;
}
body.page-template-templatecontact .loop-contents-contact article .contactDetails{
  background-color:darkgray;
}
.site-info .cnrs-bottom-line{
  width:50%;
}
body .site-main article .entry-content > p {
  width:100%;
}
/* Secondary menu
Modified for using multi level menus
TODO when using too much levels, last sub levels extand outside window !!
TODO check Language switcher when using several languages
*/

ul.sub-menu {
width: 150px;
font-size:12px;
}

header.site-header #site-header-menu nav#secondary-navigation .sub-menu li > a
{
font-size:15px;
}

/* impose fixed width for sub menu items (not for 1st level items)*/

.main-navigation ul ul li > ul {
left: -999em;
right: auto;
}

/* put Second level menu left aligned to its parent */

.main-navigation ul li:hover > ul,
.main-navigation ul li:focus > ul {
left: 25px;
}

/* put sub menu toggled item to the right of their parent */

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li:focus > ul {
left: 150px;
}

/* Change ^ character orientation from +90 to -90 deg*/

.main-navigation ul ul .menu-item-has-children > a:after {
right: 0.5625em;
top: 0.875em;
-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
-ms-transform: rotate(-90deg);
transform: rotate(-90deg);
}

a:hover:after {
font-weight: bolder;
}

header.site-header #site-header-menu ul li:last-of-type a {
padding: 0 25px 0 25px;
}

header.site-header #site-header-menu ul li:first-of-type a {
padding: 0 25px 0 25px;
}

.secondary-menu .menu-item-has-children > a::after {
right: 0px !important;
}

.main-navigation ul ul li {
background-color: #fff;
}

.main-navigation ul ul li a {
width: auto;
padding: 0 25px 0 5px !important;
}
.main-navigation ul ul::after {
content: none;
}