/*
 Theme Name:     CLE du CAES du CNRS
 Theme URI:      https://wp-themes.com/wp-bootstrap-starter
 Description:    A child theme of WPBS Theme
 Author:         Afterimage Designs
 Author URI:     https://afterimagedesigns.com/
 Template:       wp-bootstrap-starter
 License: GNU General Public License v3
 License URI: https://www.gnu.org/licenses/gpl-3.0.html
 Version: 1.0.0
 Text Domain: caes-cle-bootstrap
*/



/****************************************
*** Theme customization starts below ***
*****************************************/

/* Global */

h1, h2, h3, h4 {
	font-family: "ff-prater-sans-web", Helvetica, sans-serif;
	color: #004D89;
	text-transform:Uppercase;
}
.page-title {
    color: #fff;
    font-family: "ff-prater-sans-web";
    font-size: 3.25rem;
    line-height: 3rem;
    text-transform: uppercase;
}
.section-title {
    font-family: "ff-prater-sans-web";
    color: #004D89;
    font-size: 3.25rem;
    line-height: 3.87rem;
    text-transform: uppercase;
}
.entry-excerpt {
    color: #313131;
    font-family: 'Roboto', sans-serif;
    font-size: 1.125rem;
    line-height: 1.6rem;
}

.wp-block-file:not(.wp-element-button) {
	font-size: 1.2rem;
    color: #004D89;
    text-transform: uppercase;
    border: 1px solid #004D89;
    padding: 15px;
    display: inline-block;
    border-radius: 15px;
}

.wp-block-file *+.wp-block-file__button {
    margin-left: 0.75em;
    font-size: 1rem;
    background: #eee;
}

.gform_wrapper.gravity-theme .gfield_label {
	font-family: "ff-prater-sans-web";
    color: #004D89;
	font-size:1.75rem !important;
    text-transform: uppercase;
	font-weight:inherit !important;
}

.gform_wrapper .gfield_required {
	font-size:26px !important;
}

button, .wp-block-button__link, .gform_wrapper .button, .post-navigation .nav-previous a, .post-navigation .nav-next a{
    border: none;
    outline: none !important;
    padding: 10px 15px 2px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: cover;
}

.gform_wrapper .button, .post-navigation .nav-previous a, .post-navigation .nav-next a{
	font-family: "ff-prater-sans-web";
	text-transform:uppercase;
	color: #004D89;
}

.button-primary,  .wp-block-button__link, .gform_wrapper .button, .post-navigation .nav-previous a, .post-navigation .nav-next a{
    background-image: url('assets/background-button_yellow.svg');
    padding: 6px 12px 4px 12px;
	border-radius:0px;
}
.button-primary.arrow::after,  .wp-block-button__link::after, .gform_wrapper .button::after{ 
    content: url('assets/arrow_blue.svg');
        margin-left: 8px;
}
.button-primary a, gform_wrapper input.button a {
    color: #004D89;
}
.button-secondary {
    background-image: url('assets/background-button_blue.svg');
    padding: 15px 20px 4px 12px;
}
.button-secondary.arrow::after {
    content: url('assets/arrow_yellow.svg');
    margin-left: 8px;
}
button.button-secondary a {
    color: #FFD478 !important;
}
button a {
    font-size: 1.5rem;
    line-height: 2.6rem;
}

body {background:none;}

.site {
		background-size: cover;
		background-repeat: no-repeat;
		background-attachment:fixed;
	}

a {font-family:ff-prater-sans-web;}

header {background:inherit}

header#masthead {
	background:none;
	box-shadow:none;
}

#header_logo {
	padding:10px;
	background:#fff;
	max-width:100px;
}

/* Navbar */

body:not(.theme-preset-active) #masthead .navbar-nav > li > a{
	font-size:21px;
	text-transform:uppercase;
	padding:15px;
	opacity:.5
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover, body:not(.theme-preset-active) #masthead .navbar-nav > li.current_page_item > a {
	font-weight:inherit;
	opacity:1
}

.navbar-toggler {
	background-color:#fff !important;
	height:50px !important;
	width:50px !important;
}

@media (max-width:991px) {
	.navbar-nav {
		background-image:none;
		background:#fff;
		border-radius:25px;
		padding:25px;
	}
	body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
    font-size: 21px;
    text-transform: uppercase;
    padding: 15px 15px 0 15px;
    opacity: .5;
	}
}


/* Posts */
.thumb-round img {
	border-radius:40px 80px 40px 80px;
	border : 10px solid #fff;
}

.thumb-round-big img {
	border-radius:40px 80px 40px 80px;
	border : 20px solid #fff;
}

.thumb-round {
	padding:0px;
}

.home-post-right {
	background:#fff;
	padding:30px;
	border-radius:50px;
	margin-top:50px
}

/* Sidebar */

#secondary>section {
    background-image: url('assets/background-sidebar_item.svg');
    background-repeat: no-repeat;
    background-size: cover;
    padding: 30px;
}

#secondary>section h2 {
    color: #004D89;
    font-family: "ff-prater-sans-web";
    font-size: 1.75rem;
    line-height: 2.18rem;
    text-transform: uppercase;
}

/* Carousel HP */
.home-carousel .carousel {
    border: 20px solid #fff;
    overflow: hidden;
    border-radius: 60px;
}
.home-carousel .carousel-indicators li {
    height: 12px;
    width: 12px;
    border-radius: 50%;
}
.carousel .carousel-indicators li.active {
    background-color: #004D89;
}


/* Posts HP */
.loop-home_posts .entry-content {
    position: relative;
}

.loop-home_posts p {
	margin-bottom:25px;
}

.category_name {
	font-family: "ff-prater-sans-web";
	text-transform:uppercase;
	color: #004D89;
	font-size:1.5rem;
}
.loop-home_posts .entry-meta {
    color: #313131;
    font-family: 'Roboto', sans-serif;
    font-size: .8rem;
    line-height: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.loop-home_posts .entry-title, .loop-presentation_liens h2{
    font-size: 2.18rem;
    line-height: 2.37rem;
    text-transform: uppercase;
    border: none;
}
.loop-home_posts .entry-excerpt {
    color: #313131;
    font-family: 'Roboto', sans-serif;
    font-size: 1.125rem;
    line-height: 1.6rem;
}
.loop-home_posts .entry-link {
    position: absolute;
}
.loop-home_posts .button-secondary {
    display: block;
    margin: 0 auto;
}

.loop-presentation_liens {
	border-radius:50px;
	background:#fff;
	max-width:800px;
}

.loop-presentation_liens img {
	border-radius:50px;
	
}

.bloc_prensentation_liens:nth-child(odd) article {
	display:flex;
	justify-content: flex-end;
	
}

.bloc_prensentation_liens:nth-child(even) .loop-presentation_liens {
	display:flex;
	flex-direction:row-reverse;
	padding:20px 5px 20px 20px;
}

.bloc_prensentation_liens:nth-child(odd) .loop-presentation_liens {
	
	padding:20px 20px 20px 5px;
}

.round-corner, .comments-area {
	border-radius:50px;
	padding:30px;
	background:#fff;
}

@media(max-width: 992px){
    .loop-home_posts .row {
        margin-right: unset !important;
    }
    .loop-home_posts .home-post-right {
        margin-left : unset !important;
        margin-top: -50px;
    } 
}
/* Featured Page HP */
.featured-page .thumb-round img {
    border-radius: 60px 110px 60px 110px;
    border: 20px solid #fff;
}
.featured-page .home-post-right {
    background: transparent;
    padding: 0;
    z-index: 1;
}
.featured-page .home-post-right::before {
    content: "";
    background: #fff;
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    display: block;
    border-radius: 50px;
    transform: rotate(-3deg);
    z-index: -1;
}
.featured-page .entry-content {
    padding: 40px;
}
.featured-page .entry-link {
    position: absolute;
    bottom: -30px;
    left: 40px;
}
@media(max-width: 992px){
    .featured-page .row {
        margin-right: unset !important;
    }
    .featured-page .home-post-right {
        margin-left : unset !important;
        margin-top: -50px;
    } 
}


/* Page Carousel */
.page-carousel {
    padding: 40px 0 80px;
    position: relative;
    z-index: 3;
}
.page-carousel::before {
    content: "";
    background: #fff;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    transform: rotate(2deg);
    border-radius: 45px;
    z-index: -1;
}
#pageCarousel {
    max-width: 70%;
    margin: 0 auto;
}
.page-carousel .carousel-indicators {
    bottom: -70px;
}
.page-carousel .carousel-indicators li {
    background-color: #FFD478;
    height: 26px;
    width: 26px;
    border-radius: 50%;
    opacity: 1;
}
.page-carousel .section-title {
    text-align: center;
}



/* PAGES */
.page-content {
    background: #fff;
    border-radius: 60px;
    padding: 40px;
}

