/*
Theme Name: Voix feministes du benin
Theme URI: http://intside.com/themes/voix-feministes-du-benin/
Author: Intside
Author URI: http://intside.com/
Description: Voix feministes du benin is a startup theme for Advanced user who want to build professional WordPress theme based on Bootstrap
Version: 0.1
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Tags: blue, black, white, light, one-column, two-columns, right-sidebar, fluid-layout, responsive-layout, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain: Voix feministes du benin

This theme is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/


/**
 * Table of Contents:
 *
 * 1.0 - Basic Structure
 * 2.0 - Media Queries
 * ----------------------------------------------------------------------------
 */


/**
 * 1.0 Basic Structure
 * ----------------------------------------------------------------------------
 */

html :where(.wp-block) {
	max-width: 100% !important;
}

.site-content > *:not(div) {
	margin-left: auto;
	margin-right: auto;
}

:root {
	--color-primary: #ff8e00;
	--color-secondary: #623f93;
}

html {
	font-size: 16px;
}

body {
	font-family: "Poppins", sans-serif;
	font-size: 1rem;
	font-weight: 400;
  color: #000;
}

h1, 
.h1,
h2, 
.h2,
h3, 
.h3,
h4, 
.h4,
h5, 
.h5,
h6, 
.h6 {
	font-family: "Sofia Sans", sans-serif;
	font-style: normal;
}
h1,
.h1,
h2 {
	font-weight: 900;
	font-style: italic;
}
h1 {
	font-size: 1.75rem;
}

.h1,
h2 {
	font-size: 1.5rem;
}

h5,
.h5 {
	font-size: 1.125rem;
	font-weight: 500;
}

ul {
	padding: 0;
	margin: 0;
}
ul li {
	list-style-type: none;
}

a {
	display: inline-block;
	color: #000;
}
a:hover {
	text-decoration: none;
	color: var(--color-secondary);
}

img {
	max-width: 100%;
}

.logo {
	max-width: 14rem;
	max-height: 1.25rem;
	width: auto;
	height: auto;
}

.bg-default {
	background-color: #fff;
}
.primary-bg {
	background-color: var(--color-secondary);
	color: #fff;
}
.secondary-bg {
	background-color: rgba(255, 142, 0, 0.05);
} 

.primary-text {
	color: var(--color-secondary);
}

.slick-slide {
	padding: 0 .75rem;
}
.slick-slide > div,
.slick-slide > div > div {
  height: 100%;
}

.title_content,
.title_content-center {
	position: relative;
	padding-bottom: 1.5rem;
}
.title_content-center {
	text-align: center;
}
.title_content::before,
.title_content-center::before {	
	content: '';
	background: linear-gradient(90deg, rgb(98, 63, 147) 0%, rgb(255, 142, 0) 100%);
	position: absolute;
	bottom: 0;
	width: 132px;
	height: .5rem;
	border-radius: 8px;
}
.title_content::before {	
	left: 0;
}
.title_content-center::before {	
	left: 50%;
	transform: translateX(-50%);
}
.title_content h1,
.title_content h2,
.title_content-center .h1,
.title_content-center .h1,
.title_content-center h2 {
	margin-bottom: 0;
	color: var(--color-secondary);
}
.title_content p, 
.title_content-center p {
	margin: 1rem 0 0;
}

.nav-links .page-numbers {
  position: relative;
  display: inline-block;
  background-color: rgba(255, 142, 0, 0.5);
  text-align: center;
  line-height: 2.5;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 24px;
  color: #fff;
}
.nav-links .page-numbers.current {
  background-color: var(--color-primary);
}
.nav-links .page-numbers svg path {
  stroke: #fff;
}
.custom-from {
	background-color: #fafafa;
	padding: 1rem 1.5rem;
}
#custom-from .gform-theme--foundation .gform_fields {
  grid-row-gap: 2.5rem;
  row-gap: 2.5rem;
}
#custom-from .gfield_label {
	font-size: 1.125rem;
	margin-bottom: 1.5rem;
	color: var(--color-secondary);
}
#custom-from .form-control,
#custom-from input:not([type="submit"]):not([type="image"]):not([type="checkbox"]):not([type="radio"]) {
  height: 3rem;
  padding: .5rem 1rem;
	border-color: #a6a6a6;
  border-radius: 8px;
	color: #878787;
}
#custom-from textarea {
  resize: none;
  border-radius: 8px;
}

#custom-from input:not([type="submit"]):not([type="image"]):not([type="checkbox"]):not([type="radio"])::placeholder,
#custom-from textarea {
  color: #878787;
}
#custom-from .form-control:focus,
#custom-from input:not([type="submit"]):not([type="image"]):not([type="checkbox"]):not([type="radio"]):focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: none;
}

#custom-from form .btn-primary,
#custom-from form input[type=submit], 
#custom-from form input[type=image],
.btn-primary,
.btn-outline-primary {
	line-height: 1.5;
	height: 3rem;
	padding: .75rem;
	border-radius: 8px;
}
#custom-from form .btn-primary,
#custom-from form input[type=submit], 
#custom-from form input[type=image],
.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
:not(.btn-check)+.btn:active.btn-primary,
.btn:first-child:active.btn-primary,
.btn:focus-visible.btn-primary {
	background-color: var(--color-primary);
	border-color: var(--color-primary);
	box-shadow: none;
	color: #fff;
}
.btn-outline-primary,
.btn-outline-primary:hover,
.btn-outline-primary:focus,
:not(.btn-check)+.btn:active.btn-outline-primary,
.btn:first-child:active.btn-outline-primary,
.btn:focus-visible.btn-outline-primary {
	background-color:  transparent;
	border-color: var(--color-primary);
	box-shadow: none;
	color: var(--color-primary);
}

/**
 * 1.0 Basic Structure
 * ----------------------------------------------------------------------------
 */

nav .navbar-nav .menu-item a {
	display: block;
	margin: 0 0 .875rem;
}
nav .navbar-nav .menu-item a:hover {
  color: var(--color-primary);
}
nav .navbar-nav .menu-item-has-children {
	position: relative;
	cursor: pointer;
	margin-right: 0;
}
nav .navbar-nav .menu-item-has-children > a::before  {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	background-image: url(assets/images/down.svg);
	background-repeat: no-repeat;
	background-position: center;
	width: 1rem;
	height: 1rem;
	transition: transform 0.2s ease-in-out;
} 
nav .navbar-nav .menu-item-has-children:hover > a::before {
	transform: rotate(-180deg); 
}
nav .navbar-nav .menu-item .sub-menu {
	display: none;
}
nav .navbar-nav .menu-item-has-children:hover > .sub-menu {
	display: block;
}
nav .navbar-nav .current-menu-ancestor a,
nav .navbar-nav .menu-item a[aria-current="page"]{
	color: var(--color-primary);
}
nav .navbar-nav .menu-item .sub-menu .menu-item a {
	font-size: .875rem;
	padding: 0.5rem;
	margin: 0;
	border-radius: 8px;
} 
nav .navbar-nav .menu-item .sub-menu .menu-item a:hover {
	background-color: rgba(233, 22, 53, .1);
}
nav .navbar-nav .menu-item .sub-menu .menu-item a:hover,
nav .navbar-nav .menu-item .sub-menu .menu-item a[aria-current="page"] {
	color: var(--color-primary);
}
.navbar-collapse .btn-primary {
  width: 100%;
}

.category {
	margin-bottom: 1rem;
}
.category li {
	background-color: rgba(255, 142, 0, 0.1);
  display: inline-block;
	margin: .25rem .5rem;
	padding: .25rem 1rem;
	border: 1px solid rgba(255, 142, 0, 0.2);
	border-radius: 24px;
}
.quote {
	background-color: rgba(98, 63, 147, 0.05);
	margin-bottom: 1rem; 
	padding: 1rem;
  border-left: 3px solid var(--color-secondary);
	border-radius: 4px;
}
.quote:last-child {
  margin-bottom: 0;
}

.card {
	height: 100%;
	border-radius: 8px;
}
.card-img {
	position: relative;
}
.card-img:hover::before {
	content: '';
	background-color: rgba(0, 0, 0, 0.2);
	position: absolute;
	width: 100%;
	height: 100%;
}
.card-img a {
	display: none;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.card-img:hover a {
	display: block;
}
.card-img img {
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}
.card-body  {
	display: flex;
	flex-direction: column;
}
.card-body > li:first-child {
	color: #c1c1c1;
}
.card-body > li {
	margin-bottom: .75rem;
}
.card-body li .category {
	margin-bottom: 0;
}

.join-content {
	background: linear-gradient(0deg, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%), var(--image_id);
	background-repeat: no-repeat;
	background-size: cover;
	padding: 1.75rem 1.5rem;
	border-radius: 10px;
	color: #fff;
}
.join-content p {
	color: rgba(255, 255, 255, 0.6);
}

footer,
footer a,
footer a:hover {
	color: #fff;
}
footer section:first-child {
	background-color: var(--color-secondary);
	padding: 1.5rem 0;
}
footer section:first-child .foooter-text {
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 0;
}
footer section:first-child .h5 {
	font-weight: 600;
	margin-bottom: 1rem;
}
footer section:first-child .footer-title {
	background: linear-gradient(269.59deg, rgb(255, 142, 0) 78%, rgb(255, 179, 68) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
footer section:first-child .h5  +  ul li:not(:last-child),
footer section:first-child .h5  + div ul li:not(:last-child) {
	margin-bottom: .5rem;
}
footer section:first-child .social-icons li {
	display: inline-block;
	margin-bottom: 0 !important;
}
footer section:first-child  .social-icons li a {
	background-color: rgba(255, 255, 255, 0.1);
	text-align: center;
	line-height: 2.5;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 100px;
}
footer section:first-child #custom-from .gform_validation_errors {
  background-color: #fff;
}
footer section:first-child #custom-from .gfield_description {
	color: #fff;
}
footer section:first-child #custom-from form {
	display: flex;
}

footer section:first-child #custom-from input:not([type="submit"]):not([type="image"]):not([type="checkbox"]):not([type="radio"]) {
	background-color: transparent;
	width: 258px;
	border-color: rgba(245, 245, 245, 0.4);
  border-top-right-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
	color: #c2c2c2;
}
footer section:first-child #custom-from input:not([type="submit"]):not([type="image"]):not([type="checkbox"]):not([type="radio"])::placeholder {
	color: #c2c2c2;
}

footer section:first-child #custom-from input[type="submit"],
footer section:first-child #custom-from input[type="image"] {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;	
} 
footer section:first-child #custom-from form .gform-footer {
	margin: 0;
}
footer section:last-child {
	background-color: var(--color-primary);
}
/**
 * 2.0 Media Queries
 * ----------------------------------------------------------------------------
 */

/* WordPress Media Queries */
@media (max-width: 600.98px) {
}
@media (min-width: 601px) and (max-width: 782.98px) {
}
@media (min-width: 783px) {
}

/* X-Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
	.site-content > *:not(div) {
		max-width: calc(100% - 24px);
	}
}

@media (min-width: 576px) {
	.site-content > *:not(div) {
		max-width: 540px;
	}
}

/* Small devices (landscape phones, 576px, up to 768px) */
@media (min-width: 576px) and (max-width: 767.98px) {
}

@media (min-width: 576px) and (max-width: 991.98px) {
}

@media (min-width: 768px) {
	.site-content > *:not(div) {
		max-width: 720px;
	}

	.custom-from {
		padding: 2rem 2.5rem; 
	}

	h1,
	.h1,
	h2 {
		font-size: 2rem;
	}

	.navbar-collapse .btn-primary {
    width: auto;
  }

	.join-content {
	  padding: 3.75rem 3.375rem;
  }
}

/* Medium devices (tablets, 768px, up to 992px) */
@media (min-width: 768px) and (max-width: 991.98px) {
}

@media (max-width: 991.98px) {
}

@media (min-width: 992px) {
	.site-content > *:not(div) {
		max-width: 960px;
	}

	.custom-from {
		padding: 4rem 5rem;
	}

	.section-sticky {
    position: sticky;
    top: 3rem;
  }

	.menu-header-menu-container {
		margin: 0 0 0 auto;
	}
	nav .navbar-nav .menu-item {
		padding: .75rem .5rem;
	}
  nav .navbar-nav .menu-item a {
    margin: 0;
  }
  nav .navbar-nav .menu-item .sub-menu .menu-item  {
    padding: 0;
  }
  nav .navbar-nav .menu-item-has-children > a::before  {
    background-image: url(assets/images/down-line.svg);
    top: 50%; 
    right: -1rem;
    transform: translateY(-50%);
  } 
  nav .navbar-nav .menu-item-has-children:hover > a::before {
    transform: translateY(-50%) rotate(-180deg); 
  } 
  nav .navbar-nav .menu-item .sub-menu {
    position: absolute;
    top: 100%;   
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
    width: 200px;
    border-radius: 8px;
		box-shadow: 1px 1px 6px rgba(34, 51, 102, .1);
  }

}

/* Large devices (desktops, 992px, up to 1200px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
}

@media (max-width: 1199.98px) {
}

@media (min-width: 1200px) {
	.site-content > *:not(div) {
		max-width: 1140px;
	}
  
	h1 {
		font-size: 2.75rem;
	}
}

/* X-Large devices (large desktops, 1200px, up to 1400px) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
}

/* X-Large devices (large desktops, 1300px,) */
@media (min-width: 1199px) {
  .logo {
		max-width: 19.125rem;
  }
}	

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
	.site-content > *:not(div) {
		max-width: 1320px;
	}

	h1 {
		font-size: 3.375rem;
	}

	.join-content {
	  padding: 7.5rem 6.875rem;	
	}
}