/*
Theme Name: Permatex Child
Theme URI: http://www.deregulateny.org/permatex-child
Description: Permatex Child Theme
Author: Web Instinct
Author URI: https://www.webinstinct.com
Template: permatex
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: post-formats, theme-options, threaded-comments, translation-ready, one-column, two-columns, three-columns, four-columns, right-sidebar, responsive-layout
Text Domain: permatex-child
*/

@import url('https://fonts.googleapis.com/css?family=Merriweather:300,400&display=swap');

body {
  font: 16px/1.5 'Merriweather', serif;
 }

h1 {
  font-size: 50px;
  /*text-transform:uppercase;*/
}

h2 {
  font-size: 40px;
  /*text-transform:uppercase;*/
}

h3 {
  font-size: 36px;
  /*text-transform:uppercase;*/
}

h4 {
  font-size: 28px;
}

h5 {
  font-size: 24px;
}

h6 {
  font-size: 18px;
}

h1,h2,h3,h4,h5,h6 {
	font-family: 'Passion One', sans-serif;
	font-weight:400;
	letter-spacing:1px;
}

.aligncenter {
	display:block;
}

.superlist .subtitle,
.superlist2 .subtitle {
	color: #c7acea;
}

#totop {
	position: fixed;
	right: 20px;
	bottom: 20px;
	display: none;
}

header {
	min-height:auto;
}

header .tagline {
	font-family: 'Merriweather', serif;
	font-size:20px;
	margin-top:-10px;
	font-weight:bold;
	color:#6D6E71;
}

header .tagline a {
	color:#6D6E71 !important;
}

header .tagline a:hover {
	text-decoration:none;
	color:#ACADAE !important;
}

#navigation ul li a { 
	font-family: 'Passion One', sans-serif;
    font-size: 24px;
    /*text-transform: uppercase;*/
    color:#fff !important;
    font-weight:400;
    letter-spacing:1px;
}

#navigation {
	background-color:#BF1E2E;
	margin-top:10px;
	margin-bottom:0;
	padding:20px 0;
}

#logo {
    margin-top: 1%;
    margin-bottom: 0;
}

body #teaser-page {
	background:#CBCCCD;
	min-height:auto;
	padding:30px 0;

}

#teaser-page h1 {
	font-size:50px;
	font-weight:400;
	letter-spacing:1px;
	color:#6D6E71;
	margin:0;
	/*text-transform:uppercase;*/
}

section {
	padding:40px 0;
}

.section-black {
	color:#fff;
}

.section-black p {
	line-height:24px;
}

.section-black h1 {
	font-weight:400;
}

section h1 {
	font-size:50px;
	font-weight:500;
	/*text-transform:uppercase;*/
}

section h2 {
	font-size:40px;
	font-weight:500;
	/*text-transform:uppercase;*/
}

.home-buttons {
	padding-top:0;
}

.home-buttons a:not(.post-edit-link) {
	background: #BF1E2E;
    border: 0;
    color: #fff !important;
    padding:0.5em 1em;
    font-size:24px;
    font-family:'Passion One', sans-serif;
    /*text-transform:uppercase;*/
    transition: all .5s;
    margin-right:1em;
    font-weight:400;
    letter-spacing:1px;
}

.home-buttons a:not(.post-edit-link):hover,
.home-buttons a:not(.post-edit-link):active,
.home-buttons a:not(.post-edit-link):focus {
	background: #E63B40;
    transition: all .5s;
    text-decoration:none;
}

.nf-form-wrap .nf-error-msg,
.nf-form-wrap  .nf-error .nf-error-msg {
	color:#BF1E2E;
}

.nf-form-wrap .ninja-forms-req-symbol {
	color:#282828;
}

.nf-form-wrap .nf-form-content {
	margin:30px 0;
	max-width:100%;
}

.nf-form-wrap .nf-error .ninja-forms-field {
	border-color:#BF1E2E !important;
}

.nf-form-wrap .nf-error.field-wrap .nf-field-element:after {
    background: #BF1E2E;
}

.nf-field .nf-field-description {
	color:#6D6E71;
	font-size: 13px;
	margin-bottom:5px;
	margin-top:-5px;
	font-family:'Open Sans', sans-serif;
}

.nf-field .nf-field-description p {
	padding:0 !important;
}

footer {
	background-color:#CBCCCD;
	border-top:0px solid #6D6E71;
	font-size:13px;
	padding:40px 0 20px;
}

footer p {
	font-size:14px;
	margin-bottom:5px;
}

footer .footer-logo-empire {
	max-width:100px;
	display:block;
	margin:0 auto;
}

footer .footer-logo-dny {
	max-width:175px;
    margin: 0;
    margin-bottom: -8px;
    margin-top:-2px;
    float: left;
}

footer .flex-row.widget-row {
	display:flex;
	align-items:top;
	justify-content:space-between;
}

footer .widget-row .textwidget {
	display:inline-block;
	text-align:left;
}

footer .widget-row > div:nth-child(2) .textwidget {
	text-align:center;
}

footer .widget-row .textwidget i {
	font-size: 22px;
    width: 30px;
    display: inline-block;
    vertical-align: middle;
}

footer .widget-row .footer-logo-sm {
	max-width:250px;
}

footer .copyright,
footer .copyright a {
	color:#6D6E71 !important;
}

.error404 .searchform {
	max-width:500px;
}

@media (max-width:991px) {
	header .tagline {
		font-size:18px;
	}
}

@media (max-width:776px) {

	header .tagline {
		font-size:16px;
		margin-top:0.25em;
	}

	.home-banner img.alignright {
		float:none;
		display:block;
		margin:15px auto 30px;
		text-align:center;

	}

	.home-buttons a:not(.post-edit-link) {
		display:block;
		text-align:center;
		margin-right:0;
		margin-bottom:1.5em;
	}

	footer #logo-footer {
		max-width: 90%;
	}

	footer .flex-row.widget-row {
		display:block;
	}

	footer .flex-row.widget-row .span4 {
		width:100%;
		display:block;
		float:none;
	}

	footer .widget-row .textwidget {
	    text-align: center;
	    margin-bottom: 30px;
	}

	footer .footer-logo-empire {
		margin:10px auto 0;
	}
}

@media (max-width:500px) {

	header .tagline {
		font-size:15px;
	}
}
