/*
Theme Name: esiea
Theme URI:
Author: DSI Volant
Author URI: http://www.dsivolant.com/
Version: 0.1.0
Description: ESIEA Theme
Text Domain: esiea
*/
/**
*
* This file is for wordpress only.
* It will not actually be used in our theme.
*
*/

@keyframes slidy {
    0% {
        left: 0;
    }
    20% {
        left: 0;
    }
25% { left: -100%; }
45% { left: -100%; }
50% { left: -200%; }
70% { left: -200%; }
75% { left: -300%; }
95% { left: -300%; }
100% { left: -400%; }
}

body { margin: 0; }
div#slider { overflow: hidden; }
div#slider figure img { width: 20%; float: left; }
div#slider figure {
  position: relative;
  width: 500%;
  margin: 0;
  left: 0;
  text-align: left;
  font-size: 0;
  animation: 30s slidy infinite;
}

/* Correctifs CSS */

.bloc-evenementiel__logos {
	width: 25%;
}

ul.list-unstyled li:before {
	content: "" !important;
}

.footer-main__map--img {
    display: inline-block !important;
    max-width: 100% !important;
}

.footer-main__linkssup {
    margin-top: 10px;
}

.footer-logos a:hover,
.footer-logos a:focus,
.footer-logos a:active {
	text-decoration: none !important;
}

/* Nouveautés CSS */

.titre-accordeon a {
	text-decoration: none !important;
}
.titre-accordeon a.collapsed::after {
	content: ' [+]';
	font-size: 60%;
}
.titre-accordeon {
	margin: 15px 0 0 0;
}

/* @Tanguy
 * Breadcrumb
 */
.breadcrumb {
    background: none !important;
    padding-left: 0 !important;
}

.breadcrumb .active {
    color: #333 !important;
}

/* @Tanguy
 * Page 404
 */
.num-pg-404 {
    position: relative;
    vertical-align: middle;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: #0086c7 solid 5px;
    font-size: 40px;
    color: #0086c7;
    text-align: center;
    margin: 30px auto 5px auto;
}

.num-pg-404 .num {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
}

a.page__form--submit {
    color: #fff !important;
    text-decoration: none !important;
    display: inline-block;
    line-height: 36px;
}

a.page__form--submit:hover,
a.page__form--submit:focus,
a.page__form--submit:active {
    text-decoration: none;
    color: #fff;
}

.pg-404 img {
    margin: 10px 0;
}

.pg-404 .search__container {
    padding-top: 20px;
    margin: 0;
}

.pg-404 h3 {
    margin-top: 10px;
    margin-bottom: 15px;
}

.pg-404 a.page__form--submit {
    margin-top: 0;
}

/* CONSEILS & PREFERENCE:  menu */
#jsSecondaryNav {
	background-color: #000000;
	border-top: 1px solid #2FA8DB;
}
.secondary-nav > .menu-item-has-children > .sub-menu > .menu-item > a {
	background: none !important;
}
.secondary-nav > .menu-item-has-children > .sub-menu > .menu-item ~ .menu-item > a {
	border-left: none !important;
}

@media screen and (min-width: 993px) {
	#jsSecondaryNav > .menu-item > .sub-menu > .menu-item ~ .menu-item-type-post_type,
	#jsSecondaryNav > .menu-item > .sub-menu > .menu-item ~ .menu-item-type-custom {
		background: url(/wp-content/uploads/2016/11/separator.png) no-repeat left center;
	}
}
.secondary-nav > .menu-item-has-children > .sub-menu > .menu-item > a {
	opacity: 0.75;
	font-size: 15px;
}
.secondary-nav > .menu-item-has-children > .sub-menu > .menu-item:hover > a,
.secondary-nav > .menu-item-has-children > .sub-menu > .menu-item.current-menu-ancestor > a,
.secondary-nav > .menu-item-has-children > .sub-menu > .menu-item.current-menu-item > a {
	color: #FFFFFF !important;
	opacity: 1;
}
ul.sub-menu.show-lvl3 {
	border-top-style: none;
}
.secondary-nav > .menu-item-has-children > .sub-menu > .menu-item:hover > a:after,
.secondary-nav > .menu-item-has-children > .sub-menu > .menu-item:focus > a:after,
.secondary-nav > .menu-item-has-children > .sub-menu > .menu-item.current-menu-item > a:after,
.secondary-nav > .menu-item-has-children > .sub-menu > .menu-item.current-menu-ancestor > a:after {
	display: none;
}
.secondary-nav > .current-menu-ancestor > a {
	display: none !important;
}
.page-type-tab__title, .page-type__title, .single__title {
	font-size: 40px !important;
	font-weight: 100 !important;
	padding: 19px 0 0 0 !important;
	margin-bottom: 0 !important;
	line-height: 1.2;
	text-align: center;
}
@media screen and (max-width: 991px) {
	h1.page-type-tab__title, h1.page-type__title, h1.single__title, h1.page__title--rubrique {
		color: #0086c7 !important;
	}

	header.page__header {
		min-height: 150px;
	}

	.page__title--rubrique {
		font-size: 40px !important;
		background-color: #ffffff !important;
	}
}

@media screen and (min-width: 768px) and (max-width: 991px) {
	.page-template-template-demande-documentation .page__title {
		color: #0086c7;
	}
}
@media screen and (min-width: 992px) {
	h1.page-type-tab__title, h1.page-type__title, h1.single__title, h1.page__title--rubrique {
		color: #ffffff !important;
	}

	header.page__header {
		min-height: 110px;
	}

	#jsSecondaryNav > .menu-item > .sub-menu > .menu-item ~ .menu-item-type-post_type, #jsSecondaryNav > .menu-item > .sub-menu > .menu-item ~ .menu-item-type-custom {
		background: url(/wp-content/uploads/2016/11/separator.png) no-repeat left center;
	}

	.secondary-nav > .menu-item-has-children > .sub-menu > .menu-item-has-children > .sub-menu > .menu-item > a {
		background: none !important;
		color: #FFFFFF !important;
	}

	.secondary-nav > .menu-item-has-children > .sub-menu > .menu-item-has-children > .sub-menu > .menu-item-has-children > a {
		text-transform: uppercase !important;
	}
}