/*
 Theme Name: Ayoko Design Web Print
 Author: Ayame Ulrich
 Template: gp
 Version: 1.0.0
 Text Domain: gp
*/

body {
	font-family: "ten-oldstyle", serif;
}

hr {
	background-color: #000;
}

/* Typography */

h1,
h2,
h3,
h4 {
	font-family: "alternate-gothic-no-3-d",sans-serif;
	letter-spacing: 2px;
}

h5 {
	letter-spacing: .2em;
	margin-bottom: 8px;
}

h1.product_title {
	font-size: 50px;
}

.small-accent, h6 {
	font-family: "montserrat", sans-serif;
	font-size: 12px;
	line-height: 1.2;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin: 0 auto;
}

h6 {
	display: table;
	letter-spacing: .2em;
	border-bottom: 1px solid black;
	padding-bottom: 5px;
	margin-bottom: 20px;
}

.small-accent-menu a {
	font-family: "montserrat"!important;
}

.subtitle {
	font-size: 1.5em;
	font-style: italic;
}

.no-margin {
	margin-bottom: 0;
}

blockquote {
	border-left: none;
}

.main-navigation .main-nav ul li a {
	font-family: "alternate-gothic-no-3-d",sans-serif;
	letter-spacing: .1em;
	font-weight: 300;
}

.main-navigation .main-nav ul ul li a {
	font-size:17px;
	letter-spacing:.1em;
	font-weight:300;
}

.main-navigation {
	vertical-align: middle!important;
}

.spacer {
	margin-bottom:50px;
}

/* NAVIGATION */

#site-navigation {
	border-bottom: solid #000 1px;
}

/* HERO */

.page-hero h6 {
	border-bottom: solid #fff 1px;
}

/* Forms */

.outline {
	width:30%!important;
	margin: 0 auto;
	border: 1px solid #fff!important;
	color: #fff;
	background: transparent!important;
	margin-top: 15px;
	margin-bottom: 25px;
	text-transform: uppercase;
	letter-spacing: 1px;
	-webkit-transition: all 0.125s ease;
	transition: all 0.125s ease;
	text-align: center;
}

.outlineblk {
	width:30%!important;
	margin: 0 auto;
	border: 1px solid #000!important;
	color: #000!important;
	background: transparent!important;
	margin-top: 15px;
	margin-bottom: 25px;
	text-transform: uppercase;
	letter-spacing: 1px;
	-webkit-transition: all 0.125s ease;
	transition: all 0.125s ease;
	text-align: center;
}

.outline:hover {
	border: 1px solid #d0b281!important;
	color: #d0b281;
}
.outline-blk:hover {
	border: 1px solid #d0b281!important;
	color: #d0b281!important;
}

button,
.button,
input[type="button"],
input[type="reset"],
input[type="submit"],
button:visited,
input[type="button"]:visited,
input[type=search] {
	border: 1px solid #d0b281;
	color: #000;
	background: #d0b281;
	font-family:"montserrat", arial, sans-serif;
	font-size: 10px;
	padding: 1em;
	margin-top: 15px;
	width: 100%;
	text-transform: uppercase;
	letter-spacing: 1px;
	-webkit-transition: all 0.125s ease;
	transition: all 0.125s ease;
	text-align: center;
}

input[type="button"],
input[type="reset"],
input[type="submit"],
button:visited,
input[type="button"]:visited,
input[type=search]{
	padding: 1em;
}

button:hover,
.button:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #000;
	background: #000;
	color: #fff;
}

button.menu-toggle:hover {
	background: #fff;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #d0b281;
	box-shadow: none;
	outline: none;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	background-color: transparent;
	color: #000;
	border: 1px solid #000;
	outline: none;
}

select {
	border: 1px solid #d0b281;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #000;
	border: 1px solid #d0b281;
	box-shadow: none;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"] {
	padding: 3px;
	width: 100%;
}

textarea {
	padding-left: 3px;
	width: 100%;
}

label,
.recaptcha {
	font-size: 13px;
	letter-spacing: 1px;
}

.mc-field-group {
	margin-bottom: 5px;
}
.asterisk {
	color: #D1B382;
}

#mc_embed_signup div.mce_inline_error {
	background-color: #D7182A!important;
	font-size: 10px;
	letter-spacing: 1px;
	line-height: 1;
}

#mc_embed_signup input.mce_inline_error {
	border-color: #D7182A!important;
}

/* Cyclone Slider */

.cycloneslider-template-dark .cycloneslider-caption {
    right: 0!important;
	left: auto!important;
    max-width: 50%!important;
    margin: 5% 0 10%!important;
	text-align: left;
}

.cycloneslider-template-dark .cycloneslider-slides {
    overflow: visible!important;
}

.cycloneslider-template-dark .cycloneslider-caption-title,
.cycloneslider-template-dark .cycloneslider-caption-description,
.cycloneslider-template-dark .cycloneslider-caption-more {
    float: right!important;
    clear: both;
    margin-bottom: 2px;
	background: #d0b281!important;
	color: #000!important;
}

.cycloneslider-template-dark .cycloneslider-pager span {
	border-radius: 50%;
}

.cycloneslider-caption-title {
	font-family: "alternate-gothic-no-3-d",sans-serif;
	letter-spacing: .1em;
	font-weight: 300;
	font-size: 35px!important;
}

.cycloneslider-caption-description {
	font-size: 17px!important;
	color: #fff!important;
}

.cycloneslider-template-dark .cycloneslider-caption-more {
	border: 1px solid #d0b281;
	font-family: "montserrat", arial, sans-serif;
	font-size: 10px;
	padding: 1em 1em;
	margin-top: 15px;
	text-transform: uppercase;
	letter-spacing: 1px;
	-webkit-transition: all 0.125s ease;
	transition: all 0.125s ease;
	text-align: center;
}

.cycloneslider-template-dark .cycloneslider-caption-more:hover {
	border-color: #000;
	background: #000!important;
	color: #fff!important;
}

/* Featured Images */

.featured-image.page-header-image.grid-container.grid-parent {
	margin-left: 66px!important;
}

/* Service Section */

#service-section {
	display: flex;
	width: 100%;
	flex-wrap: wrap;
}

.service-grid {
	width: 25%;
	flex-grow: 1;
	padding: 25px;
	border-right: 1px solid #000;
	text-align: center;
}

.service-grid img:hover{
	opacity: .6;
}

.service-grid a:hover{
	color: #d0b281;
}

.service-grid:nth-child(3n+3) {
	border-right: 0px;
}

.service-grid:nth-child(-n+3) {
	border-bottom: 1px solid #000;
}

@media (max-width: 768px) {
.generate-sections-inside-container {
    padding-left: 34px;
    padding-right: 34px;
	}
}

@media screen and (min-width: 479px) and (max-width: 888px) {
	.service-grid {
		width: 30%;
	}
	.service-grid:nth-child(3n+3) {
		border-right: 1px solid #000;
	}
	.service-grid:nth-child(even) {
		border-right: 0!important;
	}
	.service-grid:nth-child(-n+4) {
		border-bottom: 1px solid #000;
	}
}

@media screen and (max-width: 478px) {
	.service-grid {
		width: 100%;
		border-right: 0!important;
	}
	.service-grid:nth-child(-n+5) {
		border-bottom: 1px solid #000;
 }
}

/* Portfolio */

.portfolio-entry-column-2:first-child {
	width: 100%!important;
}

.portfolio-entry-last-item-row:first-child {
	clear: none;
	margin-right: 4%;
}

.portfolio-entry-last-item-row:nth-child(3) {
	clear: none!important;
}

/* Portfolio Page Header */

.skip-down {
    font-size: 25px;
	bottom: 0;
}

/* About */

.image-round,
.owner-profile h4,
.team-profile h3 {
	text-align: center;
}

.owner-profile h4,
.team-profile h3  {
	text-align: center;
}

.owner-section, .team-section {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin: 80px 0;
}

.owner-profile {
	width: 40%;
	padding: 4%;
	flex-grow: 1;
	border-right: 1px solid #000;
}

.owner-profile:last-child {
	margin-right: 0;
	border-right: 0;
}

.owner-profile p:last-child{
	margin-bottom: 0;
}

.team-profile {
	width: 20%;
	flex-grow: 1;
	padding: 25px;
	border-right: 1px solid #000;
	text-align: center;
}

.team-profile:nth-child(4n+4) {
	border-right: 0px;
}

.team-profile:nth-child(-n+4) {
	border-bottom: 1px solid #000;
}

@media screen and (min-width: 479px) and (max-width: 888px) {
	.team-profile {
		width: 30%;
	}
	.team-profile:nth-child(4n+4) {
		border-right: 1px solid #000;
	}
	.team-profile:nth-child(-n+4) {
		border-bottom: 1px solid #000;
	}
}

@media screen and (max-width: 478px) {
	.team-profile {
		width: 100%;
		border-right: 0!important;
	}
	.team-profile:nth-child(-n+5) {
	    border-bottom: 1px solid #000;
    }
}

/* Sidebar */

#right-sidebar {
	border-left: 1px solid #000;
	padding-left: 30px;
}

/* Pages */

.generate-sections-container.pattern {
	background-image: url("/wp-content/themes/ayokodesign/img/AyokoMoroccanTile.png");
	background-repeat: repeat;
	background-size: 58px;
}

h1.offset {
	font-size: 6em;
	line-height: .85em;
	letter-spacing: 5px;
	position: relative;
	bottom: -90px;
}

.align-bottom {
	display: flex;
}

.community {
	align-self: flex-end;
}

/* Service Pages */

.title-section .lgc-grid-parent {
	display: flex;
}

.title-section .inside-grid-column {
	align-self: center;
}

/* Woo */

.cart button, .cart .button, .button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
	width: auto;
}

/* Post Navigation */

.post-navigation {
	display: flex;
	justify-content: space-between;
}

.nav-previous, .nav-next {
	border: 1px solid #878787;
	padding: 10px;
}

.nav-next .next:after {
    content: "\f105";
}

.nav-next .next:before {
    content: none;
}

.cat-links {
	margin-bottom: 15px;
}

.nav-next .next:after {
    font-family: FontAwesome;
    font-weight: 400;
    font-style: normal;
    display: inline-block;
    text-decoration: inherit;
    position: relative;
    margin-left: .6em;
    width: 13px;
    text-align: center;
    speak: none;
}

/*--------------------------------------------------------------
Porfolio
--------------------------------------------------------------*/

.portfolio {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
}

.portfolio-item {
	display: inline-flex;
	flex-grow: 1;
	flex-direction: column;
	width: 32.3333%;
	margin-right: 1%;
	margin-bottom: 10px;
}

.portfolio-item h3 {
	margin-bottom: 0;
}

.portfolio-item .portfolio-image {
	display: flex;
	position: relative;
	width: 100%;
	padding-bottom: 100%;
}

.portfolio-item .portfolio-image:hover {
opacity: .7;
}

.portfolio-item .portfolio-image img {
	position: absolute;
	min-height: 100%;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.portfolio-item .portfolio-text {
	display: flex;
	flex-direction: column;
	flex: 1;
	margin: 30px 10px 30px;
	text-align:center;
}

.portfolio-more {
	border: 1px solid #000;
}

.portfolio-item .vertical {
	border: none;
	border-left: 3px solid #d0b281;
	height: 40px;
	position:absolute;
	bottom: -20px;
	left: 50%;
	margin: 0;
}


@media screen and (min-width: 889px) {
	.portfolio-item:nth-child(3n) {
		margin-right: 0;
	}
}

@media screen and (max-width: 888px) {
	.portfolio-item {
	  width: 49%;
	}
	.portfolio-item:nth-child(2n) {
		margin-right: 0;
	}
}

@media screen and (max-width: 500px) {
	.portfolio-item {
	  width: 100%;
	}
	.portfolio-text h3 {
		font-size: 25px;
	}
	.portfolio-item {
		margin-right: 0;
	}
}

/* Filter */

.portfolio-filter {
	overflow: hidden;
}

.portfolio-filter ul {
	margin: 0 0 2em;
	padding: 0;
	text-align: center;
	width: 100%;
}

.portfolio-filter ul li {
	background: #d0b281;
	color: #000;
	cursor: pointer;
	display: inline-block;
	list-style-type: none;
	margin: 0 1em 0.7em 0;
	padding: 1em;
	text-align: center;
	transition: all 0.2s ease;
}

.portfolio-filter ul li.active {
	background: #000;
	color: #fff;
}

.portfolio-filter ul li:focus, .portfolio-filter ul li:hover {
	color: #fff;
	background: #000;
}

.portfolio-filter ul li:first-child {
	margin-right: .8em;
}

.portfolio .small-accent {
	margin-bottom: 10px;
}

.service-portfolio {
	padding-top:40px;
	padding-bottom:40px;
}

.projectflex .lgc-grid-parent {
    display: flex;
}

.projectflex .inside-grid-column {
    flex-direction: column;
    align-self: flex-end;
}

/* Gutenberg Theme Fixes */

ol.wp-block-gallery,
ul.wp-block-gallery {
	margin: 0;
}

.gallery-item {
    position: relative;
	overflow: hidden;
	text-align: initial;
}

.gallery-item img {
    position: absolute;
    min-height: 100%;
	width: 100%;
  	height: 100%;
	object-fit: cover;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
	width: 25%;
	padding-bottom: 25%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.3333%;
	width: 33.3333%;
	padding-bottom: 33.3333%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
	width: 50%;
	padding-bottom: 50%;
}

/* ReCap */

.grecaptcha-badge {
	visibility: hidden;
}