/*
Theme Name: Fonaj
Theme URI: http://intside.com/themes/fonaj/
Author: Intside
Author URI: http://intside.com/
Description: Fonaj 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: Fonaj

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
 * ----------------------------------------------------------------------------
*/

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

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

:root {
	--color-primary: #223366;
	--color-secondary: #e91635;
}
html {
	font-size: 16px;
}

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

h1,
.h1,
h2, 
.h2,
h3,
.h3 {
  font-weight: 700;
}
h4,
.h4, 
h5, 
.h5 {
  font-weight: 600;
}

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

.h1,
h2 {
	color: var(--color-secondary);
}

h3, 
.h3 {
	font-size: 1.5rem;
}

h4, 
.h4 {
	font-size: 1.125rem;
}

h5, 
.h5 {
	font-size: 1rem;
}

h6, 
.h6 {
	font-size: .875rem;
	font-size: 400;
}

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

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

img {
	max-width: 100%;
}
.logo {
	width: 124px;
	height: 72px;
	object-fit: cover;
}

.btn-primary,
.btn-outline-primary,
.btn-secondary,
#custom-from form .btn-primary,
#custom-from form input[type=submit] {
	line-height: 2;
	height: 3rem;
	padding: .5rem 1.5rem;
	border-radius: 24px;
}
.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;
}
#custom-from form .btn-primary,
#custom-from form input[type=submit] {
	background-color: var(--color-secondary);
	border-color: var(--color-secondary);
}
#custom-from form input[type="checkbox"] {
margin-right: .5rem;
}
.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);
}
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus,
.btn:first-child:active.btn-secondary,
:not(.btn-check)+.btn:active.btn-secondary,
.btn:focus-visible.btn-secondary {
	background: var(--color-secondary);
	border-color: var(--color-secondary);
	box-shadow: none;
	color: #fff;
}
.custom-content {
	background-color: #fafafa;
	padding: 2rem;
	border-radius: 24px;
}
#custom-from .gform-theme--foundation .gform_fields {
	grid-row-gap: 1rem;
	row-gap: 1rem;
}
#custom-from form .gfield--type-section {
	padding: 0;
	margin: 2.5rem 0 1.5rem;
	border-bottom: none;
}
#custom-from form h3 {
	font-size: 1.125rem;
	font-weight: 600;
	margin-bottom: 0;
	color:  var(--color-primary);
}
#custom-from form h3 + .gsection_description {
	margin-top: 1.5rem;
}

.form-control,
#custom-from form input[type="email"],
#custom-from form input[type=text],
#custom-from form input[type=number],
#custom-from form input[type=tel],
#custom-from form input[type=url],
#custom-from form select,
#custom-from form textarea {
	border-color: #2233661A;
	border-radius: 24px;
}
#custom-from form input[type="email"],
#custom-from form input[type=text],
#custom-from form input[type=number],
#custom-from form input[type=tel],
#custom-from form input[type=url],
#custom-from form select {
	padding: .375rem 1rem;
	height: 3rem;
}
#custom-from form textarea {
	padding: 1rem;
	resize: none;
}
.form-control:focus,
#custom-from form .form-control:focus {
	border-color:  var(--color-secondary);
	outline: none;
}

.subtitle-primary,
.subtitle-secondary  {
	display: inline-block;
	font-size: .875rem;
  padding: 0.25rem .75rem;
	border-radius: 8px;
}
.subtitle-primary {
  background-color: rgba(34, 51, 102, 0.1);
	color: var(--color-primary);
}
.subtitle-secondary {
	background-color: rgba(255, 255, 255, 0.1);
	color: #fff;
}

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

.slick-slide {
	padding: 0 .75rem;
}
.slick-slide img {
	margin: auto !important;
}
.slick-slide > div,
.slick-slide > div > div { 
  height: 100%;
}
.section-desc p {
	margin-bottom: 0;
}

.section-content ul {
	margin-bottom: 1rem;
  padding-left: 1.5rem ;
}
.section-content ul li {
  list-style-type: disc;
}
.section-content h3 {
 color: var(--color-primary);
}

/* .section-content ul li:not(:last-child) {
  margin-bottom: 1rem;
} */

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

nav .navbar-nav .menu-item a {
	display: block;
	margin: 1rem 0;
}
nav .navbar-nav .menu-item a:hover {
  color: var(--color-secondary);
}
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"]{
	font-weight: 600;
	color: var(--color-secondary);
}
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-secondary);
}
.navbar-collapse .btn-primary {
  width: 100%;
}

.welcome {
 	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	display: flex;
	position: relative;
	z-index: 1;
	padding: 4rem 0 4.375rem;
	color: #fff;
}
.welcome::before {
  content: '';
	background-color: var(--color-secondary);
	position: absolute;
	top: 6rem;
	left: 0;
	width: .375rem;
	height: 12rem;
}

.date-content > li {
	display: inline-block;
	margin: 0 1rem;
}
.date-content ul > li {
  display: block;
}
.date-content .date-number {
	font-size: 1.5rem;
	font-weight: 600;
}
.date-content .date-item {
	position: relative;
}
.date-content .date-item::before,
.date-content .date-item::after {
	content: '';
	background-color: #c9c9c9;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
  height: 41px;
  border-width: 1px;
} 
.date-content .date-item::before {
	left: -1rem;
}
.date-content .date-item::after {
	right: -1rem;
}
.date-content .date-text {
	font-size: 1.125rem;
	color: #ccc;
}

.welcome h1 {
  text-transform: uppercase;
}

.cta-slick a {
	display: flex;
	font-size: 1.25rem;
	font-weight: 700;
	text-align: center;
	width: auto;
	height: 152px;
	border-radius: 8px;
	box-shadow: 2px 4px 6px 0px rgba(0, 0, 0, 0.251);
	color: #fff;
}
.cta-slick a span {
	margin: auto;
}

.about-img {
  position: relative;
	z-index: 1;
}
.about-img-left::before,
.about-img-right::before {
	content: '';
	background-color: var(--color-primary);
	position: absolute;
	top: -1.125rem;
	z-index: -1;
	width: 7.375rem;
	height: 8.25rem;
	border-radius: 24px;
}
.about-img-left {
  margin: 1.125rem 2.125rem 0 0;
}
.about-img-left::before {
	right: -2.125rem;
}
.about-img-right {
	margin: 1.125rem 0 0 2.125rem;
}
.about-img-right::before {
	left: -2.125rem;
}
.about-img img {
  border-radius: 24px;
}

.data-content {
	background-color: #fff;
	display: inline-flex;
	position: relative;
	width: 172px;
	height: 172px;
	border-radius: 16px;
	box-shadow: 0px 4px 36px 0px rgba(0, 0, 0, 0.05);
}
.data-content > li {
	margin: auto;
  text-align: center;
}
.data-content:before,
.data-content::after {
	content: '';
	background-color: var(--color-secondary);
	position: absolute;
	z-index: -1;
  width: 95px;
  height: 110px; 
}
.data-content:before {
	top: -.25rem;
	left: -.25rem;
	border-top-left-radius: 24px;
	border-bottom-left-radius: 24px;
}
.data-content::after {
	bottom: -.25rem;
	right: -.25rem;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
}
.data-number {
	position: relative;
	font-weight: 900;
  font-size: 24px;
	margin-bottom: .5rem;
	color: var(--color-primary);
}
.data-number::before {
	content: '';
	background-color: #f6f6f6;
	position: absolute;
	bottom: -.25rem;
	left: 50%;
	transform: translateX(-50%);
	width: 108px;
	height: 1px; 
}
.data-text {
	font-size: 1.125rem;
}

.activity {
  background:url(assets/images/bg_activity.png), linear-gradient(180deg, rgba(34, 51, 102, 1) 0%, rgba(7, 20, 58, 1) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
	background-repeat: repeat;
	background-size: contain;
}
.activity p {
	color: #c9c9c9;
}
.activity-content {
  position: relative;
  perspective: 1000px;
  aspect-ratio: 4 / 3;
}

.activity-flip {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.5s;
  transform-style: preserve-3d;
}

.activity-content:hover .activity-flip {
  transform: rotateY(180deg);
}

.activity-front,
.activity-back {
  position: absolute;
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  background-color: var(--color-primary);
  text-align: center;
  padding: 1rem;
	width: 100%;
  height: 100%;
	border-radius: 24px;
	color: #fff;
}
.activity-front {
  transform: rotateY(0deg);
}
.activity-back {
  transform: rotateY(180deg);
}

.speakers-content {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-align: center;
}
.speakers-header {
	position: relative;
	margin-top: 2rem;
}
.speakers-header .speakers-img { 
  display: inline-block;
}
.speakers-header .speakers-img img { 
	object-fit: cover;
	border-radius: 1000px;
}
.speakers-icon {
	display: inline-block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.speakers-icon .svg-hover {
  display: none;
}
.speakers-content:hover .speakers-icon .svg-default {
  display: none;
}
.speakers-content:hover .speakers-icon .svg-hover {
  display: block;
}

.speakers-networks li {
  display: inline-block;
}

.resources {
	background-color: var(--color-secondary);
	background-image: url(assets/images/bg_resources.png);
	background-repeat: repeat;
	background-size: contain;
	color: #fff;
}
.resources-content {
	background-color: #fff;
	padding: 1rem 1.5rem;
	border-radius: 12px;
}
.resources-item {
	color: #000;
}

.partners img {
	max-width: 220px;
	max-height: 72px;
	width: auto;
	height: auto;
}

footer,
footer a,
footer a:hover {
	color: #fff;
}

footer section:first-child {
	background-color: var(--color-primary);
	padding: 3.125rem 0;
}
footer section:first-child .networks {
	margin-top: .5rem;
}
footer section:first-child .networks li {
  display: inline-block;
}
footer section:first-child ul li a {
	display: block;
	margin-bottom: .5rem;
}
footer section:first-child form {
	display: flex;
}
footer section:first-child .form-control,
footer section:first-child #custom-from form input[type="email"] {
	background-color: transparent;
	border-color: #fff;
  border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	color: #fff;
}
footer section:first-child .form-control:focus,
footer section:first-child #custom-from form .form-control:focus {
	border-color: var(--color-secondary);
	outline: none;
}
footer section:first-child #custom-from form input[type="email"]::placeholder {
	color: #fff;
}
footer section:first-child #custom-from form .gform-footer {
	margin: 0;
}

footer section:first-child  #custom-from form .btn-primary,
footer section:first-child  #custom-from form input[type=submit] {
	background-color: transparent;
	background-image: linear-gradient(91.96deg, rgb(233, 22, 53) -27.32%, rgb(203, 26, 60) -22.01%, rgb(148, 34, 74) 45.56%, rgb(34, 51, 102) 188.04%);
	background-repeat: no-repeat;
	border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
#custom-from form .btn-primary:focus,
footer section:first-child  #custom-from form input[type=submit]:focus {
	border-color: transparent;
} 

footer section:last-child {
	background-image: radial-gradient(195.42% 3271.97% at 158.37% 378.3%, rgb(203, 26, 60) 2.46%, rgb(41, 50, 100) 4.65%, rgb(233, 22, 53) 14.56%, rgb(183, 29, 65) 35.53%, rgb(148, 34, 74) 55.32%, rgb(169, 31, 69) 83.9%, rgb(34, 51, 102) 100%);
	background-repeat: no-repeat;
	background-size: cover;
}
footer section:last-child p {
	font-size: .875rem;
	font-weight: 600;
}

/**
 * 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;
	}

	.welcome  {
    padding: 8rem 0 8.75rem;
	}

	.welcome-content {
		position: absolute;
		bottom: -76px;
		left: 50%;
		transform: translateX(-50%);
	}

}

/* 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;
	}

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

	.about-img-left::before,
	.about-img-right::before {
		width: 14.75rem;
		height: 16.5rem;
  }
}

/* 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;
	}

	h1{
		font-size: 3rem;
	}
	.h1,
	h2,
	.h2 {
		font-size: 2.5rem;
	}
   
	.custom-content {
	  padding: 1.5rem 5.125rem 4rem 5.125rem;
  }

	.menu-navigation-menu-container {
		margin: 0 auto;
	}
	nav .navbar-nav .menu-item {
		padding: 1.5rem .75rem;
	}
  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);
  }

  .date-content > li {
		margin: 0 2rem;
	}
	.date-content .date-item::before {
		left: -2rem;
  }
  .date-content .date-item::after {
		right: -2rem;
  }
	.date-content .date-number {
	  font-size: 4rem;
  }

	.welcome::before {
		width: 1.25rem;
  }
	.welcome p {
	  font-size: 1.125rem;
  }

	.resources-content {
		padding: 2rem 3.625rem;
	}

	footer section:first-child {
	  padding: 6.25rem 0;
  }

}

/* 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: 3.25rem;
	}
}

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

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

	h1 {
		font-size: 3.875rem;
	}

}