/*
Theme Name:   ISC
Theme URI:    https://la-grange.solutions
Description:  ISC Formations theme
Author:       La Grange
Author URI:   https://la-grange.solutions
Template:    oceanwp 
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain: oceanwp-child
*/

/*  Top header */

#top-bar-wrap {
	margin-top: -1px;
}

.top-header {
	width: 100%;
	display: flex;
        flex-direction: row-reverse;
	justify-content: end;
	background-color: #0079B9;
	height: 35px;
}

.top-header-inner {
	display: flex;
	width: 860px;
}

.top-header p {
	color: white;
	margin: auto 10px auto auto;
	font-size: 13px;
	letter-spacing: 1px;
	font-family: muli;
	font-weight: 800;
	text-transform: uppercase;
}

.top-header p a {
	color: white;
}

.anchor::before {
	  content: "";
	    display: block;
	      height: 190px; /* fixed header height*/
	        margin: 0; /* negative fixed header height */
	}

#isc-navigation {
    width: 100%;
    background-color: #0079B9;
    height: 40px;
    display: flex;
    justify-content: flex-start;
    flex-direction: row-reverse;
}

#isc-navigation #site-navigation-wrap .dropdown-menu>li>a {
	color: white;
}

#isc-navigation .fa {
	color: #0079B9;
}

#isc-navigation .oceanwp-social-menu li {
	margin: 0 3px;
	background: white;
        height: 30px;
        border-radius: 15px;
        width: 30px;
	position: relative;
}

#isc-navigation .oceanwp-social-menu li a {
	position: absolute;
	top: 7px;
	left: 3px
}


@media screen and (max-width: 800px) {
	.top-header {
		display: none;
	}
}

section.hide {
	display: none;
}

/* Menu formations */
.isc-formations-menu {
	float: right;
}

.isc-formations-menu ul {
	display: flex;
	list-style: none;
}

.isc-formations-menu ul li {
	margin: 0 15px;
}	

.isc-formations-menu a img {
	width: 5vw;
	display: block;
	margin: auto;
	opacity: 1;

	-webkit-transition: opacity 0.5s ease-in-out;
	-moz-transition: opacity 0.5s ease-in-out;
	-o-transition: opacity 0.5s ease-in-out;
	transition: opacity 0.5s ease-in-out;
}

.isc-formations-menu li:hover a img {
	opacity: 0.5;
}

.isc-formations-menu a span {
	display: block;
	text-align:center;
}

.isc-formations-menu a span.particuliers {
	color: #5271ff;
}
.isc-formations-menu a span.entreprises {
	color: #e9540e;
}
.isc-formations-menu a span.informatique {
	color: #ffbd59;
}
.isc-formations-menu a span.traduction {
	color: #bc1823;
}

#site-header-inner {
	padding: 1px !important;
}


/* Menu */
#site-navigation {
	margin-top: -3px;
}

.has-social #site-navigation-wrap {
	right: 20px !important;
}

.oceanwp-social-menu.simple-social {
	right: 20px;
	display: flex;
}

.oceanwp-social-menu.simple-social .social-menu-inner {
	margin: auto;
        height: 30px !important;
}

.section-actus .col-desk-1:nth-child(even) {
	background-color: #ddd;
}

.section-actus .col-desk-1 .jw-posts__inner-box {
	display: flex;
	flex-direction: row;
}

.section-actus .col-desk-1:nth-child(even) .jw-posts__inner-box {
	flex-direction: row-reverse;
}

.section-actus .col-desk-1:nth-child(odd) .jw-posts__inner-box .jw-posts__inner-content {
	margin-left: 20px;
}

.section-actus .col-desk-1:nth-child(even) .jw-posts__inner-box .jw-posts__inner-content {
        margin-right: 20px;
}

.section-actus h4.entry-title,
.section-home-actus h4.entry-title {
	font-size:1.2em;
}

.section-actus .entry-excerpt,
.section-home-actus .entry-excerpt {
	line-height: 1.3em;
	font-size:1.1em;
}

/* main */
#content-wrap {
	padding-top: 0px !important;
}

.archive #content-wrap {
	padding-top: 50px !important;
}

/* Single formation */
.sf-top {
	background: #092C47;
    	padding: 75px 0;
}

.sf-top-inner h2 {
	color: white;
	margin-bottom: 5px;
	text-transform: uppercase;
}

.sf-top-inner h2:first-child {
	border-bottom: 2px solid #00AFEC;
	padding-bottom: 5px;
}

span.etiquette {
	margin-left: 5px;
	font-size: 0.6em;
	background: #00AFEC;
	display: flex;
	padding: 6px 20px;
	border-radius: 10px;
}

@media screen and (max-width: 800px) {
	.element-formation span.etiquette {
		display: block;
	}

	.element-formation .objectif:first-child {
		margin-left: 5px !important;
	}
	.formation-top {
		background: url(/wp-content/uploads/2019/10/formation_top.jpg) no-repeat 100% 100% !important;
	    margin-top: 125px !important; 
	}
	
	#je_recherche {
		padding: 25px 20% !important;
	}
	.recommandations {
		padding-bottom: 50px !important;
	}
	.recommandations > img {
		margin-bottom: 20px;
	}
}

span.etiquette > span {
	margin: auto;
}


.sf-top-inner p {
	color: white;
}

.image-band > * {
	width: 520px;
	height: 346px;
}

.sf-body, .image-band, #af-body {
    display: flex;
    width: 1040px;
    max-width: 90%;
    margin: 0 auto;
}

.image-band {
	padding-top: 30px;
}

.sf-body {
    margin-top: 50px;
    color: black;
}

.sf-content {
    width: 75%;
}

.sf-side {
    width: 25%;
    margin-left: 50px;
}

.sf-grid,
.af-grid {
	box-shadow: 2px 2px 10px #ccc, -2px -2px 10px #ccc
}

.sf-grid {
	display: flex;
	flex-wrap: wrap;
}

.sf-cell {
    width: 33.3333%;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    border: 1px solid #f7f7f7;
    padding-top: 10px;
    line-height: 1.3em;
    padding: 5px;
}

.sf-cell > * {
	margin: auto;
	text-align: center;
}

p.icon-title {
    display: flex;
    margin: 5px auto;
    color: #00AFEC;
}

.objectifs img,
p.icon-title > img {
	height: 20px;
        margin-right: 7px;
}

.sf-cell img {
	height: 20px;
	margin:auto;
}

.descriptif {
	margin-top: 25px;
}

p.sf-title {
	width: 45%;
        background: #00AFEC;
	color: white;
	text-transform: uppercase;
        font-weight: 600;
	padding-left: 10px;
	display: flex;
}

.sf-side > div,
.langues,
.objectifs {
	margin-bottom: 40px;
}

.objectifs,
.langues,
.formations-complementaires {
	background: #F2F2F2;
	padding-bottom: 10px;
}

.sf-side > div:first-child {
	padding-top: 0;
}

.sf-side p.sf-title,
.langues p.sf-title,
.objectifs p.sf-title {
	width: 100%;
}

.langues,
.objectifs {
	display: none;
}

.sf-side .langues,
.sf-side .objectifs {
	display: block;
}

.langues-inner,
.objectifs-inner,
.pointsforts-inner {
	max-width: 85%;
	margin: auto;
}

.langues-inner {
	color: #666;
}

.pointfort > img,
img.flag,
.element-formation .picto {
	 height: 1em;
	 margin-right: 10px;
}

.element-formation .picto {
	height: 1.8em;
}

.objectifs-inner {
	display: flex;
	flex-wrap: wrap;
}

.objectif {
	width: calc(50% - 10px);
	font-size: 0.9em;
	background: #fff;
        margin: 5px;
	padding: 8px;
        border-radius: 10px;
	text-align: center;
        line-height: 1.2em;
	border: 1px solid #999;
}

.pointsforts {
	background: #00AFEC;
}

.pointsforts-inner {
	padding-bottom: 30px;
}

.pointfort {
	color: white;
}

.formation-complementaire:before {
	content: "";
	width: 20px;
	height: 20px;
	background: url("/wp-content/uploads/pictos/fleche_bleue.svg") no-repeat;
	display: block;
	position: absolute;
	top: 2px;
	left: 20px;
}

.formation-complementaire {
	padding-left: 40px;
	position: relative;
}

.formation-complementaire:hover {
	background: #0079B9;
}

.formation-complementaire:hover > a {
	color: #fff;
}

.formation-complementaire:hover:before {
	background-image: url("/wp-content/uploads/pictos/fleche_blanche.svg"); 
}

.sf-contact {
	background: #EF6230;
	color: white;
	padding: 0 10px 30px 10px;
}

.sf-contact .sf-title-contact {
	text-transform: uppercase;
        font-weight: bold;
}

.sf-contact .flex-col p {
	margin-top: 10px;
}

span.sf-title-contact {
	display: block;
	text-align: center;
	line-height: 0.8em;
}

.sf-contact p {
	margin: auto;
	font-size: 14px;
}

.sf-contact div.flex-col {
	display: flex;
	flex-direction:column;
}

.sf-contact .no_display {
	display: none;
}

.sf-contact .wpcf7-not-valid-tip {
	color: #0079B9;
}

.sf-contact div.wpcf7-mail-sent-ok {
    border: 2px solid #fff !important;
}

.sf-contact input {
	background: white !important;
	padding: 0 !important;
	margin: 0 !important;
        min-height: 30px !important;
}

.sf-contact input[type="file"] {
	width: 100%;
}

.sf-contact input[type="submit"] {
	display: block;
	margin: 20px auto !important;
	width: 80%;
	color:  #EF6230;
	text-align: center;
	letter-spacing: 0;
}

.sf-contact input[type="submit"]::before {
	content:url(/wp-content/uploads/pictos/telephone.svg);
}

.photos {
	display: flex;
}

.photos > * {
	width: 30%;
	margin-right: 5%;
}

.photos img:last-child {
	margin-right: 0;
}

.temoignages {
	background-color: #F2F2F2;
	display: flex;
}

.temoignages-inner {
	width: 50%;
	margin: auto;
}

.single-formation {
	font-family: muli;
}

.single-formation .temoignages h2,
.single-formation .recommandations h2 {
	width: 100%;
	text-align: center;
	color: #203B6A;
	font-size: 2.5em;
	padding-top: 40px;
}


.temoignages-inner p {
	text-align: center;
	color: black;
}

.temoignages-inner h6 {
	font-style: italic;
	text-align: center;
	color: #666;
	font-weight: unset;
}

.recommandations p {
	text-align: center;
	margin: auto;
}

.recommandations p img {
	display: inline !important;
	margin-right: 40px;
}

#je_recherche {
    	height: 200px;
    	padding: 50px 20%;
        background: #092C47;
}

#je_recherche h2 {
	color: white;
	font-size: 25px;
}

#je_recherche button {
	display: flex;
	margin: auto;
	background: #EF6230;
	width: 260px;
	height: 40px;
        justify-content: space-around;
	border-radius: 20px;
	border: none;
	color: white;
	font-size: 1.1em;
}

#je_recherche button > * {
	margin: auto;
}

#je_recherche button img {
	height: 25px;
}

.single-formation .separator {
	border-top: 4px solid #e3a72f;
	width: 48px;
	display: block;
	margin: 10px auto;
}

.single-formation #je_recherche .separator {
	margin: 0 0 20px 0;
}

/* Archive formation / recherche à facettes */

#formation-content {
	display: flex;
	font-size: 0.9em;
	margin-top: 40px;
	font-family: muli;
	width: 100%;
}

.formation-top {
	display: flex;
	justify-content: space-around;
	height: 175px;
	background: url(/wp-content/uploads/2019/10/formation_top.jpg) no-repeat center/100%;
	margin-top: 196px;
	position: relative;
}

.formation-top > h1 {
	font-family: "Reenie Beanie", Sans-serif;
	color: white;
	font-size: 50px;
	position: absolute;
	bottom: 20px;
	width: 1024px;
	max-width: 90%;
	margin: auto;
	font-weight: 100;
}

.post-type-archive-formation #content-wrap {
	padding: 0 !important;
}

#formation-content .side {
	width: 30%;
	color: black;
	font-size: 1.1em;
}

#formation-content .content {
	width: 70%;
	margin-left: 30px;
}

.af-grid {
	position: relative;
	padding: 5px 20px;
	margin-bottom: 40px;
}

.af-grid .af-picto {
	position: absolute;
	height: 1.3em;
	top: 7px;
	right: 10px;
}
.af-grid .af-picto.recherche {
	height: 1em;
}

.af-title {
	font-weight: bold;
	margin: 0;
}

.af-separator {
	border-top: 1px solid #EF6230;
	width: calc(100% + 20px);
	display: block;
	margin: 0px auto 10px auto;
}

.facetwp-facet {
	margin: 0 !important;
}

.af-grid .facetwp-radio {
	background: url(/wp-content/uploads/pictos/radio.png) 0 50% no-repeat;
	background-size: 14px 14px;
}

.af-grid .facetwp-checkbox {
        background: url(/wp-content/uploads/pictos/checkbox.png) 0 50% no-repeat;
        background-size: 14px 14px;
}


.af-grid .facetwp-radio.checked {
	background-image: url(/wp-content/uploads/pictos/radio-on.png);
	color: #EF6230;
}


.af-grid .facetwp-checkbox.checked {
        background-image: url(/wp-content/uploads/pictos/checkbox-on.png);
	color: #EF6230;
}

.af-results {
	height: 2.2em;
	color: #666;
}

article.element-formation {
	width: 100%;
	height: 210px;
	border: 1px solid #ccc;
	background-color: #F2F2F2;
	padding: 5px 10px;
	position: relative;
	display: flex;
	margin-bottom: 30px;
}

.element-formation p {
	margin: 0;
}

.ef-title {
	text-transform: uppercase;
	margin: 0;
	color: #0079B9;
	font-size: 1.2em;
}

.ef-title b {
	font-weight: 800;
}

p.extrait {
	margin-top: 10px;
	line-height: 1.2em;
	font-size: 1.1em;
	height: 46px
}

.text {
	width: calc(100% - 266px);
}

.image {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
}

.image-inner {
	overflow: hidden;
	width: 280px;
}

.ef-separator {
        border-top: 1px solid #0079B9;
        width: 100%;
        display: block;
        margin: 0 auto 10px auto;
}

.element-formation .etiquette {
	display: inline;
	font-size: 1em;
	color: white;
	text-transform: uppercase;
}

.element-formation .objectifs {
	margin-top: 8px;
	display: flex;
}

.element-formation .objectif {
	background: white;
	width: calc(25% - 10px);
	display: flex;
}

.element-formation .objectif:first-child {
	margin-left: 0;
}

.element-formation .objectif > span {
	margin: auto;
	font-weight: 500;
	font-size: 1.1em;
}

.ef-pointfort {
	position: absolute;
	top: 7px;
	right: -5px;
	background: #EF6230;
	padding: 0px 15px;
	color: white;
	font-size: 0.9em;
	border-radius: 9px 0 0 9px;
	font-weight: 700;
}



.aplat {
	display: flex;
	justify-content: space-around;
	width: 100%;
	position: absolute;
        bottom: 0px;
	padding: 20px 0px 5px 0px;
	background-image: linear-gradient(to top, #0a2b45, transparent);
	color: white;
}
.aplat .effectif {
	margin: 0 15px;
}

.search_widget {
	background-color: #F2F2F2;
	padding-bottom: 40px;
	margin: 40px 0;
}

.search_widget h2 {
	text-align: center;
	color: #3783ba;
	font-family: "Reenie Beanie", Sans-serif;
	font-size: 70px;
	font-weight: 300;
	letter-spacing: -3.6px;
}

.search_widget form {
	display: flex;
	flex-direction: column;
}
.search_widget .form_inner {
	display: flex;
	margin: auto;
}

.search_widget form .form_inner select {
	background: white;
	width: 300px;
}

.search_widget form .form_inner label {
	margin: auto 10px;
	color: black;
	font-weight: bold;
}

.search_widget form .form_inner .af-picto {
	height: 30px;
	margin: auto 10px auto 0;
}

.search_widget form .form_inner .af-picto.recherche {
	height: 20px;
}
.search_widget .submit-button {
	position: absolute;
	bottom: 20px;
	width: 100%;
	display: flex;
}

.search_widget .submit-button > span {
	position: relative;
	margin: auto;
}


.search_widget .submit-button > span > input {
	background-color: #EF6230;
	padding-left: 45px;
	font-weight: 500;
	border-radius: 20px;
	font-family: "Muli", Sans-serif;
	font-size: 15px;
	text-transform: none;
}

.search_widget .submit-button > span:before {
	content: ' ';
	width: 20px;
	height: 20px;
	background: url('/wp-content/uploads/pictos/loupe-blanc.svg') no-repeat left;
	top: 10px;
	left: 10px;
	position: absolute;
}

.search_widget .submit-button > span > input:hover,
#je_recherche button:hover {
	background-color: #CD4010;
	/*
	color: #e3a72f;
	border-radius: 30px 30px 30px 30px;
	border-style: solid;
	border-width: 1px 1px 1px 1px;
	border-color: #e3a72f;
	*/
}

.facetwp-counter {
	display: none;
}

.no-mobile {
	display: block;
}

.mobile {
	display: none;
}

.overlay {
	display:none;
}

.overlay.popup_content {
	background: white;
	width: 60%;
	height: 60%;
        padding: 20px;
	overflow: auto;
}

#video {
	height: 80vh;
}

.overlay .close {
	color: white;
	font-size: 50px;
	position: fixed;
	top: 20px;
	right: 20px;
	cursor: pointer;
}

.sidr-inner {
	display: block !important;
}

.formation-template-default .widget_categories,
.home .widget_categories, 
.page .widget_categories {
	display: none;
}

@media screen and (max-width: 1000px) {
	.image-band {
		display: none;
	}

	.sf-body {
		flex-direction: column;
	}

	.sf-top-inner.container {
		padding-top: 30px;
	}

	.sf-side {
	    width: 100%; 
	    margin-left: 0; 
	}

	.sf-content {
		width: 100%;
	}

	.sf-cell {
		width: 50%;
	}
	
	.temoignages-inner {
		width: 100%;
	}

	.recommandations img {
		width: 30%;
	}

	.sf-side .langues,
	.sf-side .objectifs {
		display: none;
	}

	.langues,
	.objectifs {
		display: block;
		max-width: 90%;
		margin: auto;
		margin-top: 30px;
	}

	p.sf-title {
		width: 100%;
	}

	.pointsforts {
		margin-top: 20px;
	}


	.search_widget h2 {
		line-height: 60px;
	}

	.search_widget form .form_inner label {
		margin: auto 5px auto auto;
	}

	.search_widget form .form_inner .af-picto {
		margin: auto auto auto 5px;
	}

	.search_widget form .form_inner select {
		margin: 15px auto;
	}

	.search_widget .form_inner {
		flex-wrap: wrap;
	}
	
	#formation-content {
	        flex-direction: column;
	}
	#formation-content .side {
		width: 100%;
	}
	#formation-content .content {
		width: 100%;
		margin-left: 0px;
	}

	article.element-formation {
		height: auto;
	}

	article.element-formation .image {
		display:none;
	}
	article.element-formation .text {
		width: 100%;
	}

	.element-formation .objectifs {
		flex-wrap: wrap;
		max-width: 80%;
		margin: auto;
	}

	.element-formation .objectif {
		width: auto;
		max-width: 48%;
	}

	.no-mobile {
		display: none;
	}

	.mobile {
		display: block;
	}

	.mobile-effectifs {
		margin-top: 10px;
	}

	.mobile-effectifs .effectif {
		margin-right: 10px;
	}

	.etiquette {
		margin-top: 5px;
		display: block;
	        width: 200px;
	}

	footer#footer.site-footer {
		margin-top: 0;
	}
}
