/**
 * CH01 - Resets
 * CH02 - Typography
 * CH03 - Page Structure
 * CH04 - Header & Navigation
 * CH05 - Content & Media
 * CH06 - Footer
 * CH07 - UIKIT Optimisation
 * CH08 - SMARTMEDIA
**/

/***********************
 * CH01 - Resets
***********************/

.uk-link:hover, a:hover {
  color: #D21E1E;
}

.uk-search-large .uk-search-input {
  font-size: 1.625rem;
}

#article p a {
  color: red;
  font-size: 16px;
}

html {
  background: none;
}

/***********************
 * CH02 - Typography
***********************/

body {
  font-family: 'Arial', sans-serif;
}

#entrepreneur .entrepreneur-card {
  width: 100px;
  margin: 0 auto;
  font-size: 11px;
  line-height: 11px;
  text-align: left;
}

#entrepreneur .entrepreneur-name {
  font-weight: 800;
}

.searchItemText {
  padding: 15px;
  font-size: 12px;
  font-weight: 900;
  text-align: left;
  line-height: 12px;
}

b, strong {
  font-weight: 900;
}

.uk-text-medium-meta {
  font-size: 0.875rem;
}
/***********************
 * CH03 - Page Structure
***********************/

#habillage {
  position: absolute;
  width: 100%;
}

#habillage > img {
  position: relative;
  display: block;
  margin: 0 auto;
  z-index: -1;
}

#maincontainer {
  padding-top: 150px;
}

#agenda li .uk-text-small, #agenda li a {
  line-height: 3;
}

#lettre .dm-titre{
  font-size: 8pt;
  font-weight: bold;
  color: #4A4A4A;
  height: 40px;
  line-height: 1.2;
}

#lettre a {
  color: gray;
  font-size: 13px;
}

/***********************
 * CH04 - Header & Navigation
***********************/

#first_menu .uk-navbar-item,
#first_menu .uk-navbar-nav>li>a,
#first_menu .uk-navbar-nav>li,
#first_menu .uk-navbar-toggle,
#second_menu .uk-navbar-item,
#second_menu .uk-navbar-nav>li>a,
#second_menu .uk-navbar-nav>li,
#second_menu .uk-navbar-toggle {
  height: 22px;
  font-size: 11px;
}

#first_menu a, #first_menu p {
  color: #fff;
}

#first_menu p {
  height: 22px;
  font-size: 11px;
  margin: 0;
  line-height: 2;
}

#first_menu_left a:hover, #second_menu a:hover {
  text-decoration: underline;
}

#second_menu .uk-navbar-nav>li>a {
  color: #000;
  font-family: 'Arial', sans-serif;
  font-size: 12px;
  color: #313131;
}

#main_menu {
  height: 50px;
}

#main_menu .uk-navbar-center li a {
  font-size: 12px;
  padding: 0 8px;
  font-weight: 700;
  color: #000;
  height: 36px;
}

#main_menu .uk-navbar-center > ul > li > .dm-hoverweird:hover {
  background: url(../img/diagonal.gif) repeat-x 50% 85%;
  -moz-transition: none !important;
  -webkit-transition: none !important;
  -o-transition: color 0 ease-in !important;
  transition: none !important;
  background-clip: content-box;
}

#mainMenuDropdown li > .dm-hoverweird:hover {
  background: url(../img/diagonal.gif) repeat-x 50% 85%;
  -moz-transition: none !important;
  -webkit-transition: none !important;
  -o-transition: color 0 ease-in !important;
  transition: none !important;
  background-clip: content-box;
  width: 100px;
}

#main_menu .uk-navbar-right {
  margin-right: -120px;
  margin-top: -57px;
}

#main_menu img {
  max-width: 85%;
}

#logo .uk-position-center {
  width: 250px;
}

#logo .dm-logo-text {
  color: rgba(186, 186, 186, 0.42);
  font-family: 'Arial', sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
  font-size: 18px;
}

#logo .dm-logo-text:hover {
  color: rgba(186, 186, 186, 0.52);
}

#mySideMainMenu li {
  padding: 10px;
  padding-left: 30px;
}

#mySideMainMenu li:hover, #ml li:hover {
  background-color: rgba(186, 186, 186, 0.52);
}

#mySideMainMenu .uk-offcanvas-bar {
  padding: 0px;
}
/***********************
  * CH05 - Content & Media
***********************/

/*
* Cards
*/

.dm-card-accordion {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.dm-card-annuaire {
  color: #fff;
  border-bottom: 1px solid #fff;
}

/*
* Carousel
*/

#dmCarousel {
  overflow: hidden;
}

#dmSwiperMobile .uk-inline {
  width: 100%;
}

.dm-carousel-item h4 {
  line-height: 0.7;
  padding: 10px;
  margin-top: -26px;
}

.dm-carousel-label {
  padding-left: 10px;
}

.ulimage {
  padding-bottom: 14px;
  padding-left: 10px;
}

.dm-carousel-item h4 a {
  left: 10px;
  color: #fff;
  text-shadow: 0px 1px 6px #000;
  font-size: 14px;
  bottom: 10px;
}

.swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
  bottom: -4px;
  position: relative;
}

/*
* Card
*/

.dm-big-card h5{
  font-weight: bold;
  font-size: 20px;
  line-height: 20px;
  /* margin-bottom: 6px; */
}

.dm-small-card h5{
  color: #000;
  font-weight: bold;
  font-size: 11px;
  line-height: 12px;
  /* margin-bottom: 6px; */
}


/*
* Vidéo
*/

.dm-videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.dm-videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Page Video */

#portfoliolist_video .dm-video {
  width: 100%;
}
/*
* Social Média
*/

#socialmedia {
  position: absolute;
  top: 867px;
  width: 150px;
  margin-top: -230px;
  margin-left: 2px;
}

#rsMobile {
  position: fixed;
  width: 100%;
  bottom: 0;
  padding: 0;
  margin: 0;
}

.countbox {
  max-width: 100px;
}

/* Responsive Social Media */

@media (max-width: 960px) {
  #rs_bar {
    position: fixed;
    bottom: 0;
    top: auto;
    width: 100%;
    left: 0;
    display: flex;
  }

  .contact-button-link, .contact-button-link:hover, .contact-button-link:focus, .contact-button-link:active {
    padding-left: 10px;
    width: auto;
    height: 30px;
    font-size: 0px;
  }

  .rs_item {
    width: 100%;
  }

  .countbox {
    max-width: none;
  }


}


/* Portfolio */

#portfoliolist .portfolio,
#portfoliolist_livre .portfolio,
#portfoliolist_modele .portfolio,
#portfoliolist_lettre .portfolio,
#portfoliolist_video .portfolio,
#portfoliolist_partenaire .portfolio	{
  display:none;
  overflow: hidden;
}

/* Search */

.logo_search {
  background-color: rgb(84, 84, 84);
}

.logo_search i {
  font-size: 70px;
  color: #fff;
}

.logo_search div {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

/* Agence Editoriale */


#agenceeditoriale h2, .cd-aed-heading {
  color: orange;
}

#agenceeditoriale h3, .cd-aed-heading {
  font-size: 24px;
}

#agenceeditoriale h4, .cd-aed-heading {
  font-weight: 900;
}

#agenceeditoriale h2 {
  font-size: 36px;
}

#agenceeditoriale h4 {
  font-size: 40px;
}

#agenceeditoriale .uk-button-agence {
  background-color: orange;
  color: #fff;
  font-weight: 600;
}



/***********************
 * CH07 - UIKIT Optimisation
***********************/

/* TODO Change primary color for uikit */
.dm-background-primary {
  background-color: #ededed;
}

.dm-background-white {
  background-color: #fff;
}

/* TODO Change uk-container-small base value on uikit */
.uk-container-small {
  max-width: 970px;
}

.uk-text-meta {
  font-size: 0.675rem;
}

.uk-section-flash {
  background-color: #f7e400;
}

.uk-section-club {
  background-color: #010916;
}

.uk-section-black {
  background-color: #000;
}

.uk-button-flash {
  color: #f7e400;
  background-color: #000;
}

/***********************
  * CH08 - SmartMedia
***********************/

body {
  background-position-y: 20em!important;
}
