/* Containers */
body {
    background: #fff;
}
.site-inner .wrap  {
    background: #fff;
}
.site-inner {
    padding-top: 0;
}
.site-inner .wrap {
    padding-top: 2em;
    padding-bottom: 2em;
}
.content-sidebar .content {
    width: 70%;
}
.content-sidebar .sidebar {
    width: 25%;
    float: right;
}

/* Typography */
h1, h2, h3, h4, h5, h6 { color: #1C336B;}
h1.entry-title { font-size: 2.75em; margin-bottom: .25em;}
h2 { font-size: 2.25em; margin-bottom: .5em; line-height: 1.25;}
h3 { font-size: 1.75em; margin-bottom: .5em; line-height:1;}
h4 { font-size: 1.4em; line-height: 1.2; margin-bottom: .75em;}
h5 { font-size: 1.2em;}
h6 { font-size: 1em;}
.site-inner a {
    color: #25408F;
    border-bottom: 1px dotted;
}
.site-inner a:hover {
    border-bottom: 1px solid;
}

.entry-content p {
    margin-bottom: 1em;
}
blockquote {
    margin: 1em;
    margin-bottom: 2em;
    padding: .25em 1em;
    color: #333;
    border-left: 2px solid #1C336B;
}
blockquote:before {
    content: "";
}
.entry-content blockquote p {
    margin-bottom: .5em;
}
blockquote footer {
    font-style: italic;
    font-size: .9em;
}
button, input[type="button"], input[type="reset"], input[type="submit"], .button, .entry-content .button {
    background: #25408F;
}
button:hover, input:hover[type="button"], input:hover[type="reset"], input:hover[type="submit"], .button:hover, .entry-content .button:hover {
    background: #1C336B;
}

.brand-links {
    padding-top: 1em;
}
.brand-links a, .brand-links a:hover {
    border: 0;
}
.brand-links a img {
    margin: .5em;
}
.brand-links img {
    border: 2px solid #ddd;
    vertical-align: middle;
    margin: .5em;
}

img.border {
    border: 5px solid #F5F5F5;
    border-radius: 3px;
    box-shadow: 0px 3px 5px #9f9f9f;
}

/* Gravity Forms */
label.gfield_label {
    font-weight: bold;
}
div.gform_wrapper .ginput_complex label {
    display: none;
}
.gform_wrapper #field_1_2 .ginput_complex .ginput_full input[type=text], .gform_wrapper #field_1_2 .ginput_complex input[type=text]{
    margin-bottom: .25em;
}
.gform_wrapper .datepicker {
    width: auto !important;
}
.gform_wrapper.gf_browser_chrome ul.gform_fields li.gfield select {
    height: 52px;
}
.gform_wrapper ul.gfield_checkbox li {
    display: inline-block;
    width: 33%;
}
.gform_wrapper #field_1_9 ul.gfield_checkbox li {
    width: 24%;
}
.gform_wrapper .gfield_checkbox li label {
    margin-left: 20px;
}
/* Site Header */
.site-header {
    background: #1C336B;
}
.site-header .wrap {
	padding-top: .25em;
	padding-bottom: .25em;
}
.header-image .site-title a {
    background-image: url('images/logo/NC-logo.png');
    width: 400px;
    height: 120px;
    text-indent: 150%;
    max-width: 100%;
}
.site-description {
    color: #fff;
    margin-top: .25em;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
}
.nav-header {
    margin-bottom: .5em;
}
.nav-header .genesis-nav-menu a {
    color: #fff;
    text-transform: uppercase;
    padding: .5em 1em;
    display: inline-block;
    margin-right: 4px;
    vertical-align: middle;
}
.nav-header .genesis-nav-menu a:hover {
    color: #a0cbd0;
}
.nav-header .genesis-nav-menu li:after {
    content: "|";
    color: #a0cbd0;
    vertical-align: middle;
}
.nav-header .genesis-nav-menu li:last-child:after {
    content: "";
}
.site-header p {
    color: #fff;
    margin-bottom: .5em;
    line-height: 1.25;
}
.site-header .cta.phone a {
    font-size: 1.75em;
    padding: .25em .5em;
}
.site-header .cta.est a {
   font-size: 1.25em;
   font-weight: 700;
   color: #25408F;
   background: #fcfcfc;
   border-radius: 3px;
   padding: .5em 1em;
   margin-right: 1em;
   margin-bottom: .5em;
   display: inline-block;
   box-shadow: 2px 2px 7px #000;
}
.site-header .cta.est a:hover {
    background: #25408F;
    color: #fff;
}

/* Primary Navigation */
.nav-primary {
    background: #1C336B;
    text-align: center;
}
.nav-primary .genesis-nav-menu a {
    color: #a0cbd0;
    text-transform: uppercase;
}
.nav-primary .genesis-nav-menu a:hover, .nav-primary .current-menu-item > a {
    background: #25408F;
    color: #fff;
}
.nav-primary .genesis-nav-menu .sub-menu a {
    background: #1C336B;
    border: 0;
    text-transform: none;
}
.nav-primary .genesis-nav-menu .sub-menu a:hover {
    background: #25408F;
    color: #fff;
}
.nav-primary .genesis-nav-menu .sub-menu .current-menu-item > a {
    background: #25408F;
    color: #fff;
}
.nav-primary .mobile {
    display: none;
}

/* Sidebar */
.sidebar {
    text-align: center;
}
.sidebar a, .sidebar a:hover {
    border: 0;
}
.sidebar .widget {
    margin-bottom: 2em;
}
.sidebar .widget-title {
    margin-bottom: .5em;
    border-top: 1px solid;
    border-bottom: 1px solid;
    padding: .25em 0;
}
.sidebar .social li {
    display: inline-block;
    margin: 2%;
}
.sidebar .social li a {
    font-size: 2em;
}
.sidebar .social li a:hover {
    color: #1C336B;
}
/* Sidebar Navigation */
#menu-main-sidebar .menu-item {
    margin-bottom: .25em;
}
#menu-main-sidebar .menu-item a {
    display: block;
    width: 100%;
    text-transform: uppercase;
    background: #efefef;
    color: #333;
    padding: .5em;
}
#menu-main-sidebar .menu-item a:hover {
    background: #25408F;
    color: #fff;
}

/* Home Page */
.home .royalSlider .rsSBlock {
    width: 50% !important;
    left: 4% !important;
    top: initial !important;
    bottom: 50px !important;
    background: rgba(0,0,0,.3);
    border-radius: 4px;
    padding: 1em;
    color: #fff;
}
.home .royalSlider .rsSBlock h3 {
    color: #fff;
}
.home .royalSlider .rsSBlock .cta {
    padding: .75em 3em;
    text-align: center;
}
.home .royalSlider .rsSBlock .cta:hover {
    border: 0;
    color: #fff;
}
.home .rsDefaultInv .rsBullets {
    margin-top: -30px;
    line-height: 8px;
}
.home .rsDefaultInv .rsBullet span {
    background: #fff;
    height: 8px;
    width: 8px;
}
.home .rsDefaultInv .rsBullet.rsNavSelected span {
    background: #25408F;
}

ul.blocks {
    margin: 1em 0;
}
ul.blocks li {
    display: inline-block;
    width: 31.623931623931625%;
    margin-left: 1.564102564102564%;
}
ul.blocks li.block-1 {
    margin-left: 0;
}
.blocks img {
    margin: 0 auto;
    width: 100%;
}
.blocks span.text {
    border: 0;
    text-align: center;
    background: #25408F;
    border-top: 0;
    color: #fff;
    display: block;
    padding: 1em;
    margin-bottom: 1em;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}
.blocks a:hover > span.text {
    border: 0;
    background: #1C336B;
}

.home-block {
    background: #1C336B;
    width: 100%;
    text-align: center;
    padding: 2em 0;
}
.home-block li {
    display: inline-block;
    width: 18%;
    margin-left: -4px;
}
.home-block li a {
    display: inline-block;
    width: 100%;
    padding: 1em;
    color: #fff;
    border-right: 1px solid #fff;
}
.home-block li:last-child a {
    border-right: 0;
}
.home-block li a:hover {
    background: #25408F;
}

/* Flooring Products */
ul.product-blocks {
	margin: 0;
	padding: 0;
}
ul.product-blocks li {
	list-style-type: none;
	display: inline-block;
	width: 31.623931623931625%;
	margin-left: 2.564102564102564%;
	margin-right: -4px;
	text-align: center;
	margin-bottom: 1em;
}
ul.product-blocks li:nth-child(3n+1) {
	margin-left: 0;
}
ul.product-blocks li a {
	background: #25408F;
	display: inline-block;
	border: 0;
	padding-bottom: 1em;
}
ul.product-blocks li a:hover {
	border: 0;
	background: #1C336B;
}
ul.product-blocks li img {
	margin-bottom: 1em;
}
ul.product-blocks li span.link-text {
	color: #fff;
}

/* Footer */
.footer-widgets {
    background: #1C336B;
    padding: 0;
}
.footer-widgets .wrap {
    background: transparent;
    padding-top: 2em;
}
.footer-widgets .widget-area {
    width: 31%;
    margin: .5em 1%;
    color: #fff;
    opacity: .8;
}
.footer-widgets .footer-widgets-2 {
    text-align: center;
}
.footer-widgets .footer-widgets-3 {
    text-align: right;
}
.footer-widgets .social li {
    display: inline-block;
    margin: 1%;
}
.footer-widgets .social li a {
    font-size: 2em;
    color: #fff;
    opacity: .8;
}
.footer-widgets .social li a:hover {
    color: #fff;
    opacity: 1;
}
.site-footer {
    background: #1C336B;
    padding-top: 0;
    padding-bottom: 0;
    font-size: .9em;
    text-align: left;
}
.site-footer .wrap {
    background: transparent;
    color: #fff;
    padding-top: 2em;
    padding-bottom: 2em;
}
.site-footer a, .site-footer p {
    color: #fff;
    opacity: .8;
}
.site-footer a:hover {
    opacity: 1;
}

/* Media Queries */
@media only screen and (max-width: 1045px) {
    .nav-primary .genesis-nav-menu a {
        font-size: .95em;
    }
    .nav-primary .genesis-nav-menu .menu-item-58 .sub-menu {
        right: 0;
    }
}
@media only screen and (max-width: 1023px) {
    .content-sidebar .content {
        width: 65%;
    }
    .content-sidebar .sidebar {
        width: 30%;
    }
    .site-header .widget-area {
        margin-top: 1em;
    }
    .home .royalSlider .rsSBlock {
        width: 75% !important;
    }
    ul.product-blocks li {
    	width: 48.717948717948715%;
    }
    ul.product-blocks li:nth-child(3n+1) {
    	margin-left: 2.564102564102564%;
    }
    ul.product-blocks li:nth-child(2n+1) {
    	margin-left: 0;
    }
}
@media only screen and (max-width: 995px) {
    .nav-primary .wrap {
        padding: 0 2%;
    }
    .nav-primary .genesis-nav-menu a {
        padding: 1em .5em;
    }
    .nav-primary .genesis-nav-menu .sub-menu {
        margin-top: -1px;
    }
    .nav-primary .genesis-nav-menu .sub-menu a {
        font-size: .8em;
    }
}
@media only screen and (max-width: 960px) {
    ul.blocks li {
        font-size: .8em;
    }
}
@media only screen and (max-width: 900px) {
    .home-block li {
        width: 30%;
        margin-bottom: 1em;
    }
    .home-block li:nth-child(3) a{
        border-right: 0;
    }
}
@media only screen and (max-width: 845px) {
	.site-header .wrap {
		padding-bottom: .25em;
	}
	.site-header .cta.est a {
		margin: 0;
	}
}
@media only screen and (max-width: 767px) {
    .content-sidebar .content, .content-sidebar .sidebar {
        width:100%;
    }
    .gform_wrapper ul.gfield_checkbox li, .gform_wrapper #field_1_9 ul.gfield_checkbox li {
        width: 48%;
    }
    ul.blocks {
        text-align: center;
    }
    ul.blocks li {
        font-size: 1em;
        width: 50%;
        margin-left: 0;
    }
    .home .royalSlider .rsSBlock {
        width: 92% !important;
    }

    .footer-widgets .widget-area {
        width: 100%;
        text-align: center;
    }
    .site-footer {
        text-align: center;
    }
    ul.product-blocks li {
    	width: 31.623931623931625%;
    }
    ul.product-blocks li:nth-child(2n+1) {
    	margin-left: 2.564102564102564%;
    }
    ul.product-blocks li:nth-child(3n+1) {
    	margin-left: 0;
    }

}
@media only screen and (max-width: 675px) {
	ul.product-blocks li {
    	width: 48.717948717948715%;
    }
    ul.product-blocks li:nth-child(3n+1) {
    	margin-left: 2.564102564102564%;
    }
    ul.product-blocks li:nth-child(2n+1) {
    	margin-left: 0;
    }
}
@media only screen and (max-width: 600px) {
    .home-block li {
        width: 80%;
        margin-bottom: 0;
    }
    .home-block li a {
        border-right: 0;
        border-bottom: 1px solid #fff;
        padding: 1.5em;
    }
    .home-block li:first-child a {
        border-top: 1px solid #fff;
    }
}
@media only screen and (max-width: 450px) {
    ul.blocks li {
        width: 90%;
    }
    ul.product-blocks li {
    	width: 100%;
    	margin-left: 0;
    }
    ul.product-blocks li:nth-child(3n+1) {
    	margin-left: 0;
    }
}



/* Responsive Navigation Overrides */

@media only screen and (min-width: 846px) {
	nav,
	nav .sub-menu {
		display: block;
	}
}
@media only screen and (max-width: 845px) {

    .site-header .widget_nav_menu {
        display: none;
    }
    .nav-primary .mobile {
        display: block;
    }

 	.menu-toggle,
	.sub-menu-toggle {
		display: block;
		margin: 0 auto;
		overflow: hidden;
		padding: 1em;
		text-align: center;
		visibility: visible;
	}
	button.menu-toggle,
	button.sub-menu-toggle {
		background-color: #eee;
		border: 1px solid #ddd;
		border-radius: 3px;
		color: #333;
		margin: .5em auto;
		padding: .75em;
	}
	button.menu-toggle, button.sub-menu-toggle {
        background: #1C336B;
        color: #a0cbd0;
        border: 0;
    }
    button.menu-toggle {
        width: 100%;
        margin: 0;
        padding: 1em;
        border-radius: 0;
        font-size: 1.1em;
    }
	button.menu-toggle:hover,
	button.sub-menu-toggle:hover,
	button.menu-toggle.activated {
		background-color: #eee;
		border: 1px solid #ddd;
	}
	button.menu-toggle:hover, button.sub-menu-toggle:hover, button.menu-toggle.activated {
        background: #25408F;
        border: 0;
    }
    button.sub-menu-toggle, button.sub-menu-toggle:hover {
        border: 1px solid #a0cbd0;
    }
	.sub-menu-toggle {
		position: absolute;
		right: .5em;
		top: -.2em;
	}
	.menu-toggle:before {
		content: "\f0c9  ";
		font-family: FontAwesome;
	}
	.menu-toggle:after {
	    content: "Menu";
	}
	.menu-toggle.activated:before {
		content: "\f077  ";
		font-family: FontAwesome;
	}
	.menu-toggle.activated:after {
	    content: "Close";
	}
	.sub-menu-toggle:before {
		content: "\f078";
		font-family: FontAwesome;
	}
	.sub-menu-toggle.activated:before {
		content: "\f077  ";
		font-family: FontAwesome;
	}
	.sub-menu-toggle.activated:after {
		content: "Close";
	}
	nav {
		display: none;
		position: relative;
	}
	.nav-header {
		background: #eee;
		border: 1px solid #ddd;
		border-radius: 5px;
		padding-top: 6em;
		margin-top: -5em;
		z-index: 1;
		position: relative;
	}
	button.menu-toggle.activated {
		position: relative;
		z-index: 10;
	}
	.genesis-nav-menu {
		border-top: 1px solid #ddd;
	}
	.genesis-nav-menu .menu-item {
		border-bottom: 1px solid #ddd;
		display: block;
		position: relative;
		text-align: center;
		width: 100%;
	}
	.genesis-nav-menu .menu-item:last-child {
		border-bottom: 0;
	}
	.genesis-nav-menu .menu-item:hover {
		position: relative;
	}
	.genesis-nav-menu .sub-menu {
		clear: both;
		display: none;
		opacity: 1;
		position: static;
		width: 100%;
	}
	.genesis-nav-menu .sub-menu a {
		border: 0;
		position: relative;
		width: auto;
	}
	.genesis-nav-menu .sub-menu .sub-menu {
		margin: 0;
	}
	.genesis-nav-menu .sub-menu .sub-menu a {
		padding-left: 30px;
	}
	.genesis-nav-menu .sub-menu .sub-menu .sub-menu a {
		padding-left: 40px;
	}
	.nav-primary .wrap {
        padding: 0;
    }
    .nav-primary .genesis-nav-menu a {
        font-size: 1em;
    }
}
