/*
Theme Name: D. Ferruccio
Theme URI: 
Author: Consumer Focus Marketing
Author URI: https://consumerfocusmarketing.com
Description: Theme for Company Name
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: TAGS
Text Domain: #
*/

:root {

	/* COLORS */

	--white: #FFFFFF;
	--black: #000000;
	--body: #333333;
	--lt-gray: #bebebe;
	--dk-blue:#1b2234;
	--lt-blue:#50a0d0;

	--page-title-bkg: ;
	--page-title-bkg: ;

	/* TYPOGRAPHY */

	--body-font: 'Source Sans Pro', sans-serif;
	--headline-font: 'Vollkorn', serif;

	--base-font-size: 1.05rem;
	--base-line-height: 1.575rem;
}

/*** DEFAULTS ***/

/* font size will +/- by 1px for every 100px of the viewport width */

html {
	font-size: calc(10px + 0.5vw); 
}

body { 
	font-family: var(--body-font);
	font-size: var(--base-font-size);
	line-height: var(--base-line-height);
	overflow-x: hidden;
	color: var(--body);
	margin: 0;
}

@media (max-width: 767px) {
	body {
		font-size: calc(var(--base-font-size) + 1vw);
		line-height: calc(var(--base-line-height) + 1vw);
	}
}

* {
	transition-property: all;
	transition-duration: 0.2s;
	transition-timing-function: linear;
}

*, ::after, ::before {
	box-sizing: border-box;
}

.wrapper {
	padding: 0 15px 4rem;
}

img {
	max-width: 100%;
	height: auto;
}

.clearfix::after {
	content: "";
	clear: both;
	display: table;
}

h1, h2, h3, h4 {
	margin: 0 0 .5rem;
	font-family: var(--headline-font);
}

/**

Font size formula: Target Size / Base Size = Value
Example: 50px / 16px = 3.125rem

**/

h1 {
	font-size: 2.15rem;
font-weight: 500;
	color: var(--lt-blue);
}

h2 {
font-size: 1.7rem;
	font-weight: 500;
}

h3 {
	font-size: 1.463rem;
}

h4 {
	font-size: 1.15rem;
}

p {
	padding: 0;
}

a {
	
	color: #1b2234;
}

a:hover {
	color: #004370;
	text-decoration: underline;
}


a[href^="tel:"], a[href^="mailto:"] {
	color: inherit;
	
}

input[type="checkbox"]  {
	margin-top: 0 !important;
}

input[type="radio"]  {
	margin-top: 3px !important;
}


/*** "GLOBAL" STYLES ***/

/* .container {
	min-width: 90vw;
} */

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

.text-right {
	text-align: right;
}

.text-left {
	text-align: left;
}

.w-100 {
	width: 100%;
}

.page-content a[target="_blank"]::after, 
.navbar a[target="_blank"]::after, 
.site-main a[target="_blank"]::after {

	background: transparent url("img/newtab.svg") 0 0
		no-repeat;
	background-size: 16px;
	content: "";
	display: inline-block;
	height: 16px;
	margin-left: 5px;
	width: 16px;
}


/*** BUTTONS ***/

button:hover {
	cursor: pointer;
}

.btn {
	padding: .5rem 2.25rem;
	margin: 1rem .25rem;
	border-radius: .25rem;
	text-decoration: none;
	display: inline-block;
	white-space: pre-wrap;
}

.btn:hover {
	transition: all 0.2s ease 0s;
	text-decoration: none;
	border-radius: 0;
}

.btn-primary, .gform_button {
background-color: var(--lt-blue);
	color: var(--white);
}

.btn-primary:hover, .gform_button:hover {
background-color: var(--dk-blue);
	color: var(--white);
}

.btn-default {


}

.btn-default:hover {


}


@media(max-width: 768px) {
	.btn {
		display: block;
	}
}


/*** COLORS ***/


/*** HEADER ***/
.top-header {
	padding-top:2rem;
	padding-bottom: 1.5rem;
}
.top-header > .row > div:nth-child(2) {
	display: flex;
	align-items: center;
	justify-content: end;
}
.top-header > .row > div:nth-child(2) a {
	color: var(--lt-gray);
	font-size: 2rem;
	font-family: 'Vollkorn', serif;
}

a.phone{
	text-decoration: none;
}

@media (max-width:575px){
	.top-header, a.phone{
		text-align: center;
		margin: auto;
	}
}
/*** NAV BAR ***/

.main-menu {

}

.main-menu .nav-link {
	color: var(--white);
	text-transform: uppercase;
	font-size: 1rem;
	text-decoration: none;
}

.navbar {
	z-index: 10000;
	background-color: var(--dk-blue);
}
.navbar-toggler {
	background-color: var(--white);
}
/*** MENU - BASE STYLES ***/

/* show dropdown menus on hover */
.dropdown:hover > .dropdown-menu {
	display: block;
}

.dropdown-item {
	text-align: left;
	padding: .5rem 1.5rem;
	color: var(--white);
}


/* removes the deadzone click area */
.dropdown-menu {
	margin: 0;
	border: 0;
	border-radius: 0;
}

.dropdown-menu .submenu-two {
	width: 100%;
}

.dropdown-menu li a {
	text-align: center;
}
.nav-item > .nav-link:hover,
.nav-item > .dropdown-menu > .nav-item:hover {
	color: var(--dk-blue);
	background: var(--white);
}


.nav-item.active > a {

}

.dropdown-item:hover {

}


@media(min-width: 768px) {
	.dropdown-menu {
		background: ;
	}

	.dropdown-menu {
		left: auto;
		right: 0;
		margin: 0 auto;
	}

	/* hides carets */
	.dropdown-toggle::after {
		display: none;
	}
}


/*** MENU - TOP LEVEL ***/
.navbar-expand-md .navbar-nav .dropdown-menu{
	background: var(--dk-blue);
}
a.dropdown-item {
    text-decoration: none;
}

/*** MENU - SECOND LEVEL MENU DROPDOWNS ***/

.second-level {
	position: relative;
}

.second-level > .dropdown-menu {
	top: 0;
	left: 100%;
}

.dropdown-menu {
	box-shadow: rgba(0, 0, 0, 0.19) 0 0 8px 0;
}


@media (min-width: 768px) {
	.second-level > .dropdown-menu {
		margin-top: -.5rem;
	}

	.second-level.menu-item-has-children > a:after {
		display: block;
		content: "▸";
		float: right;
		margin-right: -20px;
	}

	.second-level:hover > a:after {
		border-left-color: inherit;
	}

	.menu-item-has-children > .dropdown-item {
		padding: .5rem 2.25rem .5rem 1.5rem;
	}
}


/*** MENU - THIRD LEVEL MENU DROPDOWNS ***/

.submenu-two {

}

@media (max-width: 768px) {
	.third-level .dropdown-item {
		padding-left: 40px;
	}

	.second-level.menu-item-has-children .dropdown-item::after {
		display: inline-block;
		margin-left: .255em;
		vertical-align: .255em;
		content: "";
		border-top: .3em solid;
		border-right: .3em solid transparent;
		border-bottom: 0;
		border-left: .3em solid transparent;
	}

	.third-level a.dropdown-item::after {
		display: none !important;
	}
}


/*** HOME ***/
/* Hero banner */
.heroRow {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    min-height: 350px;
    padding: 2.5rem;
    margin: 1.8rem 0;
}
.heroRow .col-md-4 {
    background-color: var(--lt-blue);
    text-align: center;
    padding: 0 0 1rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.heroRow .col-md-4 p {
    margin: 0;
    color: var(--white);
    font-size: 1rem;
}
.heroRow .priceLine {
    margin-bottom: 1rem;
}
.heroRow .col-md-4 h2 {
    color: #fff;
    background-color: #1b2234;
    padding: 1rem .8rem;
}
.heroRow .col-md-4 p.finePrint{
	font-size: .75rem;
}
.price {
    font-size: 2.125rem;
    font-weight: 400;
}
.center-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}


@media(max-width:767px){
	.heroRow .col-md-4 p{
		font-size: 1.5rem;
		line-height: 1.25;
	}

	.heroRow .col-md-4 p.finePrint {
	    font-size: 1rem !important;
	}
	.price {
   	 font-size: 3rem;
	}
}


/* End of hero banner */

/* About section */
.about-container {
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}
/* End of about section */

/* Boxes section */
.boxes-container {
	text-align: center;
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}
.icon-container img {
	max-width: 100px;
	height: auto;
	padding-bottom: 1rem;
}
/* End of boxes section */



/*** FOOTER ***/

footer {
background-color: var(--dk-blue);
	color: var(--white);
	padding-top: 4rem;
	padding-bottom: 2rem;
}
footer p {
	margin-top: 0;
	margin-bottom: .4rem;
}
footer a {
	color: var(--white);
	text-decoration: none;
}
footer a:hover {
	color: var(--white);
}
footer .container:nth-child(2) {
	padding-bottom: 2rem;
}
footer .container .row:last-child .col-md-6:last-child {
	text-align: right;
}
/*** PAGES ***/

.page-background {
	background-color: var(--page-title-bkg);
	width: 100%;
	position: relative;
	padding: 2rem 0.25rem 0;
}

.page-background::before {
	content:"";
	display: block;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: var(--page-title-bkg-overlay);
}

.page-background h1 {
	margin-bottom: 0;
}
.page p {
	margin-top: 0;
}
.page h1 {
	margin-bottom: .5rem;
}
.large{
    font-size: 22px;
    color: #50a0d0;
}

/*** 404 ***/

.not-found {
	min-height: 15rem;
	flex-direction: column;
}

.not-found h1 {
	font-size: 10rem;
}

.not-found h2 {
	margin-bottom: 1.66rem;
}


/*** SIDEBARS ***/
.well {
    min-height: 20px;
    padding: 1rem;
    margin: 1rem auto;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
}
.well h2 {
	color: var(--lt-blue);
}


/*** PAGE CALLOUTS ***/


.edge_callout {

	width: 100vw;
	position: relative;
	left: 50%;  
	margin-left: -50vw;
}

.edge_callout .col-md-12 {
	max-width: 90vw;
	margin-left: calc((100% - 90vw) / 2);
}


/*** BLOG POSTS ***/

.blog-categories ul, .blog-categories li {
	list-style: none;
	padding: 0;
}



/*** CATEGORIES & TAGS ***/

.post-tags, .post-categories {
	font-size: small;
	font-style: italic;
}



/*** SCREEN READERS ***/

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	border: 0;
}


/*** TOOLTIPS ***/

.external a, .external {
	position: relative;
	display: inline-block;
}

.footer .external a, .external{
	display: block;
}

.external a[title]:hover::after, 
.external[title]:hover::after  {
	content: attr(title);
	position: absolute;
	top: -115%;
	left: 0;
	white-space: nowrap;
	background: #333;
	border-radius: 5px;
	padding: .5rem;
	line-height: 1;
	box-shadow:0 1px 8px rgba(0,0,0,0.5);
}



/*** SOCIAL SHARING ***/


.social-before {
	padding: .25rem;
	margin: 1rem .25rem 1rem 0;
}

.social-links-before {
	display: flex;
	align-items: center;
	line-height: 0;
}


.social-link {
	padding: .5rem;
}

.social-facebook {
	background: #3b5998;
}

.social-pinterest {
	background: #E60023;
}

.social-twitter {
	background: #00acee;
}

.social-linkedin {
	background: #0e76a8;
}

.social-email {
	background: #333;
}


.social-sharing h5 {
	font-size: small;
	margin-bottom: 0;
}

.social-link:after {
	content: none !important;
}

.social-link {
	padding: 2px 8px 4px 8px !important;
	color: #fff;
	font-size: small;
	line-height: normal;
	border-radius: 2px;
	margin-right: 2px;
	cursor: pointer;
	-moz-background-clip: padding;
	-webkit-background-clip: padding-box;
	box-shadow: inset 0 -3px 0 rgba(0,0,0,.2);
	-moz-box-shadow: inset 0 -3px 0 rgba(0,0,0,.2);
	-webkit-box-shadow: inset 0 -3px 0 rgba(0,0,0,.2);
	margin-top: 2px;
	display: inline-block;
	text-decoration: none;
}

.social-link:hover, 
.social-link:active {
	color: #fff;
	text-decoration: none;
}

.social-twitter {
	background: #00aced;
}

.social-twitter:hover, 
.social-twitter:active {
	background: #0084b4;
}

.social-facebook {
	background: #3B5997;
}

.social-facebook:hover, 
.social-facebook:active {
	background: #2d4372;
}

.social-email {
	background: #444;
	color: #fff !important;
}

.social-email:hover, 
.social-email:active {
	background: #222;
}

.social-pinterest {
	background: #bd081c;
}

.social-pinterest:hover, 
.social-pinterest:active {
	background: #aa0719;
}

.social-linkedin {
	background: #0074A1;
}

.social-linkedin:hover, 
.social-linkedin:active {
	background: #006288;
}

.social-sharing {
	margin: 20px 0px 25px 0px;
	-webkit-font-smoothing: antialiased;
	font-size: 12px;
}



