/*
Theme Name: Linguish 2020
Theme URI: https://benjamin-grolleau.fr
Author: Design // Dev : Benjamin Grolleau
Author URI: https://benjamin-grolleau.fr
Description: Linguish 2020
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
Version: 1.3
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: linguishtheme
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.
*/

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

html > *, body {
    padding: 0;
    margin: 0;
    font-size:16px;
	font-family: ff-scala-sans-pro, sans-serif;
}

a, a:visited, a:hover, a:active {
color:inherit;
text-decoration: none;
}

article a, article a:visited, article a:hover, article a:active {
color:#2874b3;
text-decoration: underline;
}

article a:visited, article a:hover, article a:active {
color:#65aae3;
text-decoration: underline;
}

ul {
	padding:0;
	margin:0;
}

ul li {
	list-style-type: none;
}

article ul li {
	list-style-type: inherit;
}

.home .site .site-main {
	position:relative;
	top:0;
}

.search #primary {
    max-width: 1100px;
    margin:0 auto;
    
}

.search article {
    background:#F6F6F6;
    border-radius: 12px;
    padding:24px 48px;
    margin-bottom: 24px;
}

.search article h2 {
    color:#6E509B;
}

.resultContent {
    display: grid;
    grid-template-columns: repeat(2, 50%);
    grid-column-gap: 24px;
}

.single-post,
.page  {
    max-width: 100%;
}

.single-post #primary,
.page #primary {
    background:#F6F6F6;
    padding-top: 48px;
}

.single-post article.type-post,
.page article.type-page {
    max-width: 1100px;
    margin:0 auto;
    background:white;
    padding:0 48px 24px 48px;
}

.single-post article header,
.page article header {
    margin:-48px;
    background:#6E509B;
    color:white;
    padding-top:24px;
}

.single-post article header h1,
.page article header h1
 {
    color:white;
}

.post-thumbnail img {
    max-width: 100% !important;
}

.post-navigation h2 {
    display: none;
}

.contentCentres {
    display: grid;
    grid-template-columns: 33% 33% 33%;
    grid-template-rows: auto;
    grid-auto-flow: column;
    max-width: 1100px;
    margin: 0 auto;
    grid-gap:12px;
}

.singleCentre {
    border-radius: 4px;
}

.singleCentre img {
    max-width: 100%;
    border-radius: 4px;
}

.singleCentre h4 {
    display: block;
    padding:12px 24px;
    background: #6E509B;
    color:white;
    border-radius: 96px;
    text-align: center;
    width:max-content;
    margin:-24px auto 0;
    z-index:9;
    position: relative;
}

.single-post .post-navigation,
.single-post #comments,
.page .post-navigation,
.page #comments {
    max-width: 1100px;
    margin:0 auto;
}

#imgContentHome {
    width:100%;
    position:absolute;
    top:0;
    min-height:100vh;
    z-index: -5;
	background:url(https://linguish.fr/wp-content/uploads/2021/01/background.png);
	background-size:contain;
}

.headerSite {
	display: flex;
	width: 100%;
	padding:36px;
	position:sticky;
	top:0;
    justify-content: end;
    z-index: 9999;
    background:white;
	transition:0.25s ease-in-out background;
}

.headerSite.nothome {
		background:white;
}

.nothome #mainNav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.nothome #mainNav img {
	max-height:96px;
}

.home .headerSite {
	background:transparent;
}

.headerSite ul {
    display: flex;
    background:white;
}

#mainNav ul li {
    margin-right:24px;
}

#mainNav ul li a {
    text-decoration: none;
    color:#6E509B;
    font-size:0.85rem;
    text-transform:uppercase;
}

.home #mainNav #menuContainer {
	background:transparent;
}

#recherche {
    background: #6E509B 0% 0%;
    box-shadow: 0px 5px 10px #6E509B33;
    color:white;
    padding:12px;
    border-radius: 50%;
    display: flex;
    margin-top:-12px;
}

.searchForm {
    display:none;
}

.searchForm.active {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    background: #6E509B;
    position: fixed;
    align-items: center;
    z-index: 999;
}

.searchForm .screen-reader-text {
    color:white;
    font-size: 1.4rem;
}

.search-form,
.search-form label {
    display: flex;
    flex-direction: column;
}

.search-form label > * {
    margin-bottom: 12px;
}

.search-field {
    background:white;
    border:none;
    border-radius: 24px;
    padding:12px 24px;
    color:#6E509B;
}

.search-form input[type="submit"] {
   background:white;
   color:#6E509B;
   border-radius: 24px;
    padding:12px 24px;
    border:none;
}

#close {
    display:none;
}

.contentContainer {
	max-width: 80%;
	margin: 0 auto;
	display:flex;
	justify-content: center;
	flex-direction: column;
}

#heroContainer .contentContainer {
	text-align: center;
}

#heroContainer {
	position:relative;
	min-height: 90vh;
}

h1 {
    width: 60%;
    text-align:center;
    color:#6E509B;
    font-size:3.75rem;
    margin:48px auto;
}

#buttonMethode,
#gform_submit_button_1 {
    color:white;
    background:#6E509B;
    border-radius:50px;
    padding:18px 32px;
    font-weight: 700;
    font-size:0.80rem;
    letter-spacing: 2px;
    text-transform:uppercase;
    transition:all 0.3s ease-in-out;
    display: block;
    max-width: max-content;
    margin:24px auto;
}

#buttonMethode:hover,
#gform_submit_button_1:hover{
    transform:scale(110%);
	cursor:pointer;
}

.gform_body input,
.gform_body textarea {
	background:#efefef;
	border-radius:8px;
	border:none;
	padding:8px 16px !important;
}

a#voirSuite {
    bottom:0;
    display: flex;
    text-align: center;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 2px;
    color:#6E509B;
    margin: 0 auto 96px;
	justify-content:center;
	align-items:center;
}

a#voirSuite img {
	margin-right:24px;
	max-width:22px;
	max-height:32px;
	transition:transform ease-in-out 0.2s;
}

a#voirSuite:hover img {
	transform:translate(0, 12px);
	transition:transform ease-in-out 0.2s;
}

#bottomLeft {
    position: absolute;
    bottom:0;
    left:0;
    z-index: 0;
}

#bottomRight {
    position:absolute;
    bottom:0;
    right: 0;
}

#topLeft {
    position: absolute;
    left:0;
    top:0;
    z-index: 0;
}


.contentSection {
    max-width: 1100px;
    width: 100%;
    margin:0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

main section {
    padding:96px 0;
    width: 100%;
}

#what {
    background-color:#E53831;
    color:white;
    position: relative;
    z-index: 999;
}

#youtubeButton {
    background-color:#E53831;
    padding:8px 16px;
    border-radius: 32px;
    grid-row:1/2;
    grid-column:1/2;
    display: block;
    width: max-content;
    margin: 0 auto;
}

#what .contentSection {
    grid-template-columns: 50% 50%;
    grid-gap:24px;
}

#what .textContent {
    grid-column: 1/2;
}

#what .videoContent {
    grid-column:2/3;
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: 100%;
    grid-template-rows: 100%;
    justify-content: center;
}

#what .videoContent img {
    width:100%;
    height: auto;
    grid-row:1/2;
    grid-column:1/2;
}

.youtubeContainer {
    width:100%;
    height:100%;
    display: flex;
    top:0;
    position:fixed;
    background:black;
    z-index: 9999;
    justify-content: center;
    align-items: center;
    color:white;
}

.buttonClose {
    display: block;
    font-size:2rem;
    position:absolute;
    top:48px;
    right:48px;
    color:white;
    cursor:hand;
}

h2 {
    font-size: 2.85rem;
}

#centres {
    color:#6E509B;
    text-align: right;
    padding:0;
}

#centres .contentSection {
    grid-template-columns: 60% 40%;;
}

#centres .textContent {
    grid-column: 2/3;
    grid-row: 1/2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
    z-index:2;
}

#centres .imageContent {
    z-index: 1;
    grid-column: 1/3;
    grid-row: 1/2;
    display: grid;
    grid-template-rows: 10% 80% 10%;
    background:url('https://www.linguish.fr/wp-content/uploads/2020/08/blob.svg');
    background-size:cover;
}

#carteFrance {
    grid-column: 1/2;
    grid-row: 2/3;
    height:100%;
    opacity:1;
}

#centres .imageContent  img {
    max-width: 100%;
}

.cta {
    display: inline-block;
    width:max-content;
    background:#6E509B;
    color:white;
    padding:16px 32px;
    color:white;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-top: 24px;
    transition:all 0.3s ease-in-out;
}

.cta:hover {
    transform:scale(110%);
    transition:all 0.3s ease-in-out;
}

#linguishSchool {
    background:#F6A32F;
    color:white;
    position:relative;
}

#linguishSchool .cta {
    color:#F6A32F;
    background:white;
}

#linguishSchool .imageContent {
    position: absolute;
    bottom:0;
    right: 0;
    display: flex;
}

#teachers {
    align-content: center;
    color:#6E509B;
}

#teachers .contentSection {
    display:flex;
    flex-direction: column;
    text-align: center;
}

.teachersContent {
    max-width: 1100px;
    margin: 0 auto;
    margin-top:48px;
}

.singleTeacher {
    text-align: center;
    display: flex;
    align-items: center;
}

.singleTeacher img {
    max-width: 80%;
    margin:0 auto;
}

.singleTeacher p {
    font-size: 1.2rem;
    font-weight: 700;
}

.slick-dots li button {
    color:#6E509B !important;
}

h3 {
    font-size: 2.45rem;
}

#teachers .contentSection p {
    width: 50%;
    margin:0 auto;
}

#linksFooter {
    max-width: 1100px;
    margin:0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap:24px;
}

#linksFooter div {
    display: flex;
    flex-direction: column;
    text-align: center;
}

#linksFooter h5 {
    text-transform: uppercase;
    color:#6E509B;
    letter-spacing: 1px;
}

#linksFooter a {
    color:#9E9E9E;
    font-size: 0.85rem;
    margin:4px 0;
}

#menuToggle {
        display:none;
    }



#testimonials {
    text-align:center;
    background:linear-gradient(0deg, rgba(229,56,49,1) 0%, rgba(229,56,49,1) 40%, rgba(246,246,246,1) 40%, rgba(246,246,246,1) 100%);
}

#testimonials h3 {
    color:#E53831;
}

.testimonialsContent {
    max-width: 1100px;
    margin:0 auto;
}

.singleTestimonials {
    background:white;
    box-shadow: 0px 0px 30px #0000000D;
    border-radius: 5px;
}

.singleTestimonials img.guillemets {
    margin:0 auto;
}

.singleTestimonials p {
    padding: 12px 24px;
}

.singleTestimonials h6 {
    font-size:1.2rem;
    color:#e53831;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0;
    padding-bottom: 0;
}

.singleTestimonials p:last-of-type {
    color: #9E9E9E;
    margin-top: 0;
    padding-top: 0;
}

#instagramFeed {
    background-color: #E53831;
}

#instagramFeed .contentSection {
    display:flex;
    flex-direction: column;
    color:white;
    text-align:center;
}

#instagramFeed .socials {
    display: flex;
    justify-content: center;
    max-width: 60%;
    margin:48px auto 0;
}


#instagramFeed .contentSection a {
    display: block;
    padding:8px 16px;
    border:1px solid white;
    border-radius: 120px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 24px;
}

.site-info {
    display: grid;
    grid-template-columns: 33% 33% 33%;
    max-width: 1100px;
    width:100%;
    margin: 0 auto;
    text-align:center;
    margin-top:24px;
    color:#9E9E9E;
}

.site-info h4 {
    color:#6E509B;
    font-size: 1.4;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footerCol a {
    margin-bottom: 12px;
}

.footerCol {
    display: flex;
    flex-direction: column;
}

.socialIcons a {
    margin:0 6px;
}

#credits {
    max-width: 1100px;
    margin:24px auto;
    padding-top: 24px;
    border-top:#9E9E9E 1px solid;
    text-align: center;
}

#mail {
    padding:8px 24px;
    border-radius:24px;
    border:1px solid #e9e9e9;
    width:max-content;
    margin:0 auto 8px;
}

.contentBlog {
    display:grid;
    grid-template-columns: 50% 50%;
    grid-gap:24px;
    max-width: 1100px;
    margin:0 auto;
}

@media screen and (max-width : 760px) {
    .contentSection {
        display:flex;
        flex-direction: column;
    }

    #imgContentHome img {
        max-width: 50%  ;
    }

    main section,
    #centres {
        padding:96px 24px;
    }

    .socials {
        display: flex;
        flex-direction: column;
    }

    .socials a {
        margin:12px 0 0;
    }

    .contentContainer h1 {
        font-size:1.85rem;
        margin:48px auto;
        width:80%;
    }

    #menuToggle {
        display:block;
        background:white;
        border:1px solid grey;
        height:48px;
        width:48px;
    }

    #close {
        display: block;
        position: absolute;
        top:24px;
        right:24px;
        display:block;
        background:white;
        border:1px solid grey;
        height:48px;
        width:48px;
    }

    #menuContainer {
        display: none;
        padding:24px 0;
    }

    .headerSite {
        background:none;
        padding:24px;
    }

    .headerSite ul li {
        margin:12px 24px;
    }

    #mainNav {
        width:100%;
        /* background:white; */
    }

    #recherche {
        content:'Recherche';
        width:max-content;
        border-radius: 12px;
        margin-top: 12px;
    }

    .site-info {
        grid-template-columns: 100%;
    }

    #heroContainer {
        padding:0px 12px 96px;
    }

    #linguishSchool {
        display:flex;
        flex-direction: column;
    }

    #linguishSchool .imageContent {
        margin-right: -24px;
        margin-bottom: -96px;
        margin-top: 48px;
        position:relative;
    }

    #centres {
        padding-top: 0;
    }


}

/* SLICK -------------------------------------------------------------------------------------------------------------------------------------------------- */

/* Slider */
.slick-slider
{
    position: relative;

    display: block;
    box-sizing: border-box;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;

    display: block;
    overflow: hidden;

    padding: 0;
}
.slick-list:focus
{
    outline: none;
}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-track
{
    position: relative;
    top: 0;
    left: 0;

    display: block;
    margin-left: auto;
    margin-right: auto;
}
.slick-track:before,
.slick-track:after
{
    display: table;

    content: '';
}
.slick-track:after
{
    clear: both;
}
.slick-loading .slick-track
{
    visibility: hidden;
}

.slick-slide
{
    display: none;
    float: left;

    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide
{
    float: right;
}
.slick-slide img
{
    display: block;
}
.slick-slide.slick-loading img
{
    display: none;
}
.slick-slide.dragging img
{
    pointer-events: none;
}
.slick-initialized .slick-slide
{
    display: block;
}
.slick-loading .slick-slide
{
    visibility: hidden;
}
.slick-vertical .slick-slide
{
    display: block;

    height: auto;

    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}

.slick-slide {
    margin-left:27px;
}


.slick-list {
    margin-left:-27px;
}