/*
	Theme Name: The Op-Ed Initiative V1
	Theme URI: 
	Description: WP Theme for The Op-Ed Initiative
	Version: 1.001
	Author: Squatch Creative
	Author URI: https://squatchcreative.com

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,700');

:root {
	--row:1280px;
	--transition:240ms ease all;
}

/*WP CORE
=========================*/

*,:after,:before{-moz-box-sizing:border-box;box-sizing:border-box;-webkit-font-smoothing:antialiased;font-smoothing:antialiased;text-rendering:optimizeLegibility}.wp-caption{background:#FFF;border:1px solid #F0F0F0;max-width:96%;padding:5px 3px 10px;text-align:center}.wp-caption.alignleft,.wp-caption.alignnone{margin:5px 20px 20px 0}.wp-caption.alignright{margin:5px 0 20px 20px}.wp-caption img{border:0;height:auto;margin:0;max-width:98.5%;padding:0;width:auto}.gallery-caption,.wp-caption .wp-caption-text{font-size:11px;line-height:17px;margin:0;padding:0 4px 5px}

.alignfull, .container.alignfull {
	width:100%;
	max-width:100%;
	margin:0;
}

.alignwide,
.container.alignwide {
	width: var(--row);
	max-width: calc(100% - 2rem);
	position: relative;
	left: 0;
	margin:0 auto;
}

article > *:not(.alignwide, .alignfull) {
    width: 968px;
    margin: 0 auto;
	max-width: calc(100% - 2rem);
}

.wp-block-image {
	margin-bottom:0;
}

.wp-block-image img {
    max-width: 100%;
    display: block;	
}

.wp-block-columns {
    margin-bottom: 0;
}

::selection {
    background-color:#000;
    color: #ffffff;
}

html {
	font-size:18px;
	scroll-behavior: smooth;
}

a.large-link {
	display:block;
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index:5;
}
image-overlay {
	display:block;
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index:2;
	background:rgba(0,0,0,0.5);
}
svg {
	display:block;
	position:relative;
	width:100%;
	height:auto;
	max-width:100%;
}
small {font-size:70%;}
.bold, strong {font-weight:bold;}
.italic, em { font-style:italic;}
.hidden { display:none; }
.clear {	clear:both; float:none; display:block; position:relative; }
.text-center { text-align:center; }
.text-right { text-align:right; } 
.text-balance { text-wrap:balance; }
.no-gap { margin:0px auto !important; padding:0px !important; } 
hr.wp-block-separator {
    display: block;
    clear: both;
    position: relative;
    max-width: 100%;
    border: 0px;
    height: 1px;
    margin: 0 auto;
}

/* FOOTER 
================================*/


.builtby {
	max-width: 96px;
	padding: 0;
	margin:0;
	display: flex;
	opacity: 0.45;
}

.builtby svg {
	display:block;
	width:100%;
	height:auto;
}

.builtby svg path {
	fill:#000000;
}

.builtby:hover {
	animation: shake .2s 1;
	opacity:1.0; 
}


/* ANIMATIONS
========================*/
@keyframes shake {
	0% { transform: translate(2px, 1px) rotate(0deg); }
	10% { transform: translate(-1px, -2px) rotate(-1deg); }
	20% { transform: translate(-3px, 0px) rotate(1deg); }
	30% { transform: translate(0px, 2px) rotate(0deg); }
	40% { transform: translate(1px, -1px) rotate(1deg); }
	50% { transform: translate(-1px, 2px) rotate(-1deg); }
	60% { transform: translate(-3px, 1px) rotate(0deg); }
	70% { transform: translate(2px, 1px) rotate(-1deg); }
	80% { transform: translate(-1px, -1px) rotate(1deg); }
	90% { transform: translate(2px, 2px) rotate(0deg); }
	100% { transform: translate(1px, -2px) rotate(-1deg); }
}













/* THEME MODS
=================================== */


body {
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
}

.header {
	background: black;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100px;
	transition: var(--transition);
	display: flex;
	z-index: 999;
}

.header .row {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    padding: 24px 50px;
    gap: 10px 100px;
}

.menu-toggle {
	display: none;
}

a.logo {
	display: flex;
	flex-flow: row;
	justify-content: flex-start;
	align-items: center;
	gap: 2px;
	color: white;
	text-decoration: none;
	position: relative;
    z-index: 99999;
}

a.logo img {
	width: auto;
	height: 58px;
	object-fit: contain;
}

nav.nav.header-nav {
    flex: 1;
    max-width: 940px;
}


ul.menu {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}

ul.menu li {
	margin: 0;
}

ul.menu li a {
	display: block;
	color: white;
	line-height: 100%;
	text-decoration: none;
	padding: 6px 0;
	margin-bottom: 0;
	font-size: 18px;
    line-height: 100%;
	position: relative;
	background-image: linear-gradient(var(--main-color), var(--main-color));
	background-position: 100% 91%;
	background-repeat: no-repeat;
	background-size: 0% 2px;
	transition: background-size .5s;
}

ul.menu li a:hover {
	background-size: 100% 2px;
	background-position: 0% 91%;
}




footer {
	display: flex;
	width: 100%;
	height: auto;
	position: relative;
}

.footer {
	width: 100%;
	margin-top: 100px;
}

.footer .row {
	display: flex;
	position: relative;
	width: 100%;
	height: auto;
	padding: 50px 50px;
	justify-content: space-between;
	align-items: flex-start;
	gap: 50px;
}

.footer .row:after {
	position: absolute;
	top: 0;
	left: 50%;
	width: calc(100% - 100px);
	height: 4px;
	background: black;
	content: '';
	transform: translate(-50%,0);
}

.right-footer {
	display: flex;
	flex-flow: column;
	align-items: flex-end;
	gap: 25px;
}

.left-footer {
	display: flex;
	flex-flow: column;
	align-items: flex-start;
	gap: 25px;
}

.footer .social ul {
	justify-content: flex-start;
}

nav.footer-nav ul.menu {
    gap: 10px 50px;
}

nav.nav.footer-nav ul li a {
	font-size: 18px;
	color: black;
}

p.copyright {
    padding: 6px 0;
    font-size: 18px;
    text-align: right;
}

.grecaptcha-badge {
    visibility: hidden;
    pointer-events: none;
    display: none;
    opacity: 0.0;
}









.fn__link:hover {
	color: black;
}

.main_title {
	text-wrap: balance;
}

.main_title p a:hover {
	color: black;
}

.rewall_fn_content {
	padding: 0px 50px;
}

.fn__next_section .container {
	max-width: 100%;
}





.rewall_fn_contact .contact_form input[type="submit"] {
    display: block;
    line-height: 26px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 20px 20px;
    background-color: var(--main-color);
    color: var(--text-color-for-main-bg);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    border: 2px solid var(--main-color);
    width: 100%;
    height: auto;
}

.rewall_fn_contact .contact_form input[type="submit"]:hover{
	border-color: var(--main-color);
	color: var(--main-color);
	background-color: transparent;
}






section#hero {
	padding: 125px 0;
}


#hero .fn_cs_about_modern .dots {
	z-index: -1;
}

.fn_cs_about_modern .border img {
	opacity: 0.0;
}

section#hero .fn_cs_about_modern .img_holder:after {
	content: '';
	width: calc(100% - 60px);
	height: calc(100% - 60px);
	position: absolute;
	top: 30px;
	left: 30px;
	background: black;
	opacity: 0.48;
}

.whole_part {
	position: relative;
	width: 100%;
	height: auto;
}

no-wrap {
	white-space: nowrap;
}

section#hero .container .whole_part img {
	display: block;
	width: 100%;
	object-fit: cover;
	height: 100%;
	max-height: calc(100vh - 125px - 125px);
}

@media all and (min-width:1080px) { 
	section#hero .container .whole_part img {
		min-height: 550px;
	}
}

#hero .fn_cs_about_modern .abs_img {
	background-position: 50% 25%;
}

#hero .main_title {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	z-index: 100;
	text-align: center;
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	color: white;
}

#hero p.subtitle {
	font-size: 30px;
	font-weight: bold;
}

#hero .main_title h3:after {
	left: 50%;
	transform: translate(-50%,0);
	background: white;
}

#hero .main_title * {
	color: white;
}


h3 span {
	display: block;
	font-size: 24px;
	line-height: 125%;
	text-wrap: balance;
	margin: 8px 0 0 0;
}

body.about .main_title.center {
	margin-bottom: 142px;
}

.fn_cs_about_modern .row {
	align-items: flex-start;
}

.fn_cs_about_modern.letter-bio .row {
	align-items: flex-start;
	flex-flow: column;
	margin-top: 100px;
	gap: 40px;
}

.fn_cs_about_modern.letter-bio .main_title p {
	margin-bottom: 28px;
	font-size: 20px;
}

.letter-bio h3 {
	margin-bottom: 0;
}

body.page-id-16 section#blog {
	padding-top: 0;
	margin-top: -72px;
}
.blog_list .img_holder {
    height: auto;
    aspect-ratio: 4 / 3;
}
.blog_list .abs_img.contain {
    background-size: contain;
    transform: scale(1);
    background-color: black;
}
.blog_list figure {
    display: flex;
    flex-flow: row;
    align-items: center;
    margin: 0 0 25px 0;
    padding: 0;
    gap: 50px;
}
.blog_list figure.black-bg {
	background: black;
    display: inline-flex;
}
.blog_list figure img {
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    max-height: 54px;
    max-width: 240px;
}
.fn_cs_partners li {
	padding: 0 50px;
}
.fn_cs_partners li a img {
	display: block;
	max-width: 100%;
	height: auto;
	width: 240px;
	max-height: 120px;
	object-fit: contain;
}

.fn_cs_testimonials .desc p {
	text-wrap: balance;
}

.fn_cs_boxed_list .badge {
	text-align: center;
}

.fn_cs_boxed_list p {
	margin-bottom: 24px;
}

.fn_cs_boxed_list p:last-of-type {
	margin-bottom: 0;
}

.quick-links h3 {
    white-space: nowrap;
    display: flex;
    flex-flow: row;
    justify-content: center;
    gap: 50px;
    margin-bottom: 20px;
}

.quick-links h3:after {
    display: none;
}

.quick-links h3 title-text {
    display: block;
    position: relative;
}

.quick-links h3 title-text:after {
    content: '';
    display: block;
    position: absolute;
    right: -28px;
    height: 100%;
    width: 6px;
    background: black;
    top: 0;
}

.quick-links h3 title-text:last-of-type:after {
    display: none;
}

ul.quick-links-list {
	list-style: none;
	margin: 100px auto;
	padding: 0;
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
	align-items: stretch;
	--gap: 50px;
	gap: var(--gap);
}

ul.quick-links-list li {
	width: calc(50% - (var(--gap) / 2));
	position: relative;
	margin: 0;
}

ul.quick-links-list li a {
	display: flex;
	flex-flow: column;
	justify-content: flex-start;
	align-items: flex-start;
	padding: 20px 100px 20px 20px;
	border: 10px solid black;
	text-decoration: none;
	color: black;
	text-wrap: balance;
	gap: 20px;
	background: transparent;
}

ul.quick-links-list li a p strong {
	font-size: 30px;
}

ul.quick-links-list li svg {
	display: block;
	position: absolute;
	top: 40px;
	right: 30px;
	width: 25px;
	height: auto;
	transition: 300ms ease all;
	fill: black;
}

ul.quick-links-list li:hover a {
	color: white;
	background: black;
}

ul.quick-links-list li:hover svg {
	fill: white;
}

.fn_cs_testimonials .name p {
    text-wrap: balance;
    width: 720px;
    max-width: 100%;
    line-height: 125%;
}







body.home section#about {
    padding-top: 50px;
    padding-bottom: 125px;
    scroll-margin-top: 140px;
}

section#quick-links {
	padding: 125px 0;
}

body.home section#quick-links ul.quick-links-list {
	margin-bottom:0;
}

body.home section#customer {
	padding: 125px 0;
}

body.home section#blog {
	padding: 0 0 125px 0;
	margin-top: -60px;
}

body.home section#contact {
	padding: 125px 0;
}

















/**** MEDIA QUERIES *****/
/**** MEDIA QUERIES *****/
/**** MEDIA QUERIES *****/
@media all and (max-width:1080px) {
	
	.header {
		height: auto;
	}
	
	.header .row {
		padding: 10px 20px;
		gap: 10px;
	}
	
	a.logo img {
		height: 48px;
	}
	
	.menu-toggle {
		display: flex;
		position: relative;
		z-index:999;
		width: 64px;
		height: 64px;
		cursor: pointer;
		justify-content: center;
        align-items: center;
	}
	
	.menu-toggle svg {
		width: 32px;
		height: 32px;
		fill:white;
	}
	
	nav.nav.header-nav {
        display: flex;
        position: fixed;
        top: 0;
        left: calc(100vw + 2rem);
        width: 100%;
        max-width: 100%;
        height: 100%;
        padding: 120px 50px 150px 50px;
        align-items: flex-end;
        justify-content: flex-start;
        background: #000000;
        z-index: 998;
        flex-flow: column wrap;
        transition: var(--transition);
    }

	body.nav-opened nav.nav.header-nav {
		left:0;
	}
	
	ul.menu {
		flex-flow: column;
		gap: 20px;
	}
	
	.header-nav ul.menu {
		align-items: flex-end;
		text-align: right;
	}
	
	.header-nav ul.menu li a {
		font-size: 26px;
		line-height: 100%;
	}
	
	.footer .row {
		flex-flow: column;
		justify-content: center;
		align-items: center;
		padding: 50px 20px;
		gap: 25px;
	}

	.left-footer {
		align-items: center;
		text-align: center;
	}

	p.copyright {
		text-align: center;
	}

	.right-footer {
		align-items: center;
	}
	
	
	
	
	
	
	.rewall_fn_content {
		padding: 0 20px !important;
	}
	
	.container {
		padding: 0;
	}
	
	section#hero .container .whole_part img {
		min-height: 600px;
	}
	
	#hero .main_title {
		width: calc(100% - 50px);
	}

	#hero p.subtitle {
		font-size: 20px;
	}

	#hero .main_title h3 {
		font-size: 40px;
		margin-bottom: 20px;
		padding: 20px;
	}

	body.about {
		padding:0;
	}
	
	section#biography,
	section#customer,
	section#service {
		padding: 125px 0 0 0;
	}
	
	body.page-id-16 section#blog {
		margin-top: 0;
		padding-top: 50px;
	}
	
	.quick-links h3 {
		flex-flow: column;
		gap: 10px;
	}

	.quick-links h3 title-text:after {
		display: none;
	}

	.quick-links h3 title-text:last-of-type:after {
		content: '';
		display: block;
		top: calc(100% + 20px);
		left: 50%;
		margin-left: -75px;
		width: 150px;
		height: 6px;
		background-color: #000;
	}
	
	ul.quick-links-list {
		margin: 50px auto;
		flex-flow: column;
	}

	ul.quick-links-list li {
		width: 100%;
	}
	
	.fn_cs_boxed_list .item_top {
		flex-flow: column;
	}

	.fn_cs_boxed_list .item_top span {
		margin: 0;
	}
	
}
