/* Last-Modified: Thu, 1 Jun 2017 12:15:34 GMT [ver: ] */
/* Current-Time:Thu, 01 Jun 2017 15:43:33 -0500*/
/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/*
 * apply a natural box layout model to all elements
 */
 
*, *:before, *:after {
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
			box-sizing: border-box;
}

/*Fix select boxes on certain browsers that were inheriting the select color from   content.text or other variables that make it hard to read. */  
.select { 
	color: black; 
}

/* ==========================================================================
   General
   ========================================================================== */

body {
	margin: 0;
	padding: 0;
	height: 100%;
	width: 100%;
	font: 16px/24px 'Questrial', sans-serif;
	font-weight: normal;
	color: #1F1F1F;
	-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
	-webkit-text-size-adjust: 100%;
	background: #FFFFFF;
}

img {
	max-width: 100%;
	height: auto;
	border: 1px solid #1F1F1F;
}

.float-right { float: right !important; }
.float-left { float: left !important; }
.float-none { float: none !important; }
.block { display: block !important; }

.margin-none { margin: 0 !important;}
.margin-top { margin-top: 50px !important; }
.margin-bottom { margin-bottom: 50px !important; }
.margin-bottom-dbl { margin-bottom: 100px !important; }
.margin-bottom-half { margin-bottom: 25px !important; }
.margin-bottom-10 { margin-bottom: 10px !important; }

.padding-none { padding: 0 !important; }
.padding-top { padding-top: 50px !important; }
.padding-bottom { padding-bottom: 50px !important; }
.padding-bottom-dbl { padding-bottom: 100px !important; }
.padding-bottom-half { padding-bottom: 25px !important; }

hr {
	margin-top: 50px;
	margin-bottom: 50px;
	border-top: 1px solid #1F1F1F;
	clear: both;
}

hr.less-padding {
	margin-top: 25px;
	margin-bottom: 25px;
}

.hide-on-mobile {
	display: block !important;
}

.hide-on-desktop {
	display: none !important;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 { 
	color: #1F1F1F;
	font-family: 'Cinzel', serif;
	font-weight: normal;
	line-height: normal;
	text-transform: lowercase;
	letter-spacing: 1px;
	margin-bottom: 25px;
	margin-top: 0;
}

h1, .h1 { font-size: 48px; }
h2, .h2 { font-size: 32px; line-height: 32px; }
h3, .h3 { font-size: 26px; }
h4, .h4 { font-size: 20px; }
h5, .h5 { font-size: 18px; }
h6, .h6 { font-size: 16px; }

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: #1F1F1F; text-decoration: none; }
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover { color: #1F1F1F; }

p { margin: 0 0 25px 0; }
em { font-style: italic; }
strong, b { font-weight: bold; }
small, .small { font-size: 85%; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-left-center { text-align: left; }
.text-right { text-align: right; }
.text-right-center { text-align: right; }
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }

@font-face {
    font-family: 'boldbrush';
    src: url('//tonypro-fineart.com/styles/shared/fonts/boldbrush-webfont.eot');
    src: url('//tonypro-fineart.com/styles/shared/fonts/boldbrush-webfont.eot?#iefix') format('embedded-opentype'),
         url('//tonypro-fineart.com/styles/shared/fonts/boldbrush-webfont.woff2') format('woff2'),
         url('//tonypro-fineart.com/styles/shared/fonts/boldbrush-webfont.woff') format('woff'),
         url('//tonypro-fineart.com/styles/shared/fonts/boldbrush-webfont.ttf') format('truetype'),
         url('//tonypro-fineart.com/styles/shared/fonts/boldbrush-webfont.svg#new_fontregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

.fleur:before {
	content: 'F';
	font-family: 'boldbrush';
	font-size: 28px;
	font-style: normal;
	position: relative;
	top: 4px;
	left: 0;
	margin-right: 5px;
}
.enso:before {
     content: 'B';
     font-family: 'boldbrush';
     font-size: 28px;
     font-style: normal;
     position: relative;
     top: 4px;
     left: 0;
     margin-right: 5px;
 }

.dpw:before {
	content: 'D';
	font-family: 'boldbrush';
	font-size: 64px;
	font-style: normal;
	position: relative;
	top: 15px;
	left: 0;
}

.boldbrush {
	font-family: 'boldbrush';
	font-size: 28px !important;
	font-style: normal;
	position: relative;
	top: 2px;
	left: 0;
}

/* ==========================================================================
   Links
   ========================================================================== */

a {
	color: #201A16;
	text-decoration: underline;
	outline: 0;
	-webkit-transition:0.2s color linear;
			transition:0.2s color linear;
}

a:hover { color: #1F1F1F; }
a:hover, a:active, a:focus { outline: 0; }

/* ==========================================================================
   Lists
   ========================================================================== */
   
.inline-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: inline-block;
}

.inline-list li {
	float: left;
	margin: 0 10px;
}

.inline-list li:first-child {
	margin-left: 0px;
}

.inline-list li:last-child {
	margin-right: 0px;
}

/* ==========================================================================
   Header
   ========================================================================== */
   
.header {
	text-align: center;
	width: 100%;
	background: #FFFFFF;
	padding-top: 50px;
	padding-bottom: 50px;
}

.site-title {
	margin-bottom: 15px;
	padding-left: 15px;
}

.site-title a {
	font-family: 'Cinzel', serif;
	font-weight: normal;
	line-height: normal;
	text-transform: uppercase;
	font-size: 36px;
	letter-spacing: 10px;
	text-decoration: none;
	color: #1F1F1F;
}

/* ==========================================================================
   Main Nav
   ========================================================================== */

/*** ESSENTIAL STYLES ***/

.sf-menu, .sf-menu * {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sf-menu li {
	position: relative;
}

.sf-menu ul {
	position: absolute;
	display: none;
	top: 100%;
	left: 0;
	z-index: 99;
}

.sf-menu > li {
	display: inline-block;
}

.sf-menu li:hover > ul,
.sf-menu li.sfHover > ul {
	display: block;
}

.sf-menu a {
	display: block;
	position: relative;
}

.sf-menu ul ul {
	top: 0;
	left: 100%;
}

/*** SKIN ***/

.main-nav {
	border-top: 1px solid #1F1F1F;
	border-bottom: 1px solid #1F1F1F;
}

.sf-menu {
	position: relative;
	margin: 12px 0;
}

.sf-menu ul {
	min-width: 10em; /* allow long menu items to determine submenu width */
	*width: 10em; /* no auto sub width for IE7, see white-space comment below */
	left: 50%;
	top: 24px;
	background: #201A16;
	padding-top: 10px;
	padding-bottom: 10px;
	-webkit-transform: translate(-50%);
		-ms-transform: translate(-50%);
			transform: translate(-50%);
}

.sf-menu a {
	font-family: 'Cinzel', serif;
	font-size: 16px;
	font-weight: normal;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 4px;
	color: #201A16;
	position: relative;
}

.sf-menu li {
	white-space: nowrap; /* no need for Supersubs plugin */
	*white-space: normal; /* ...unless you support IE7 (let it wrap) */
	-webkit-transition: background .2s;
			transition: background .2s;
}

.sf-menu > li {
	padding-right: 22px;
	padding-left: 22px;'
}

.sf-menu li:hover > a, .sf-menu li > a:hover {
	color: #1F1F1F;
}

.sf-menu li li a {
	font-size: 14px;
	padding-left: 15px;
	padding-right: 15px;
	color: #FFFFFF;
}

.sf-menu li li a:hover {
	color: #F2F2F2;
}

.sf-menu li li.selectednavlink a {
	color: #F2F2F2;
}

.sf-menu > .selectednavlink > a {
	color: #1F1F1F !important;
}

.sf-menu ul .selectednavlink a {
	color: #1F1F1F !important;
}

.sf-menu .emptynavlink {
	display: none !important;
	visibility: hidden;
}

/* ==========================================================================
   Mobile Nav
   ========================================================================== */
   
.overlay {
	display: none;
	position: fixed;
	top: 0;
	height: 100%;
	width: 100%;
	background: #FFFFFF;
	overflow: auto;
	z-index: 99999;
}

.nav-wrapper {
	text-align: center;
	width: 100%;
	padding-left: 60px;
	padding-right: 60px;
	position: relative;
}

.mobile-nav {
	padding: 75px 0px 25px;
}

.mobile-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile-nav > ul > li {
	margin-bottom: 25px;
}

.mobile-nav ul li a {
	font-family: 'Cinzel', serif;
	font-size: 22px;
	font-weight: normal;
	text-transform: lowercase;
	text-decoration: none;
	letter-spacing: .5px;
	color: #201A16;
	display: inline-block;
}

.mobile-nav ul li a:hover {
	color: #1F1F1F;
}

.mobile-nav ul li li a {
	font-size: 18px;
}

.mobile-nav .selectednavlink a {
	color: #1F1F1F !important;
}

.mobile-nav .emptynavlink {
	display: none !important;
	visibility: hidden;
}

.nav-wrapper .close {
	cursor: pointer;
	position: absolute;
	right: 25px;
	top: 25px;
}

.nav-wrapper .close i {
	font-size: 24px;
	-webkit-transition:0.2s color linear;
			transition:0.2s color linear;
}

.hamburger {
	display: none;
	cursor: pointer;
}

.hamburger i {
	font-size: 20px;
	line-height: 50px;
	text-align: center;
	width: 50px;
	height: 50px;
	-webkit-transition:0.2s all linear;
			transition:0.2s all linear;
}

/* ==========================================================================
   Content
   ========================================================================== */

.content {
	background: #FFFFFF;
	padding-bottom: 75px;
}

.page-title {	
	font-size: 40px;
	line-height: 40px;
	letter-spacing: 6px;
	margin-bottom: 50px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
   
.footer {
	font-size: 14px;
	text-align: center;
	width: 100%;
	clear: both;
	padding-top: 40px;
	padding-bottom: 40px;
	color: #1F1F1F;
	background: #FFFFFF;
}

.footer a {
	text-decoration: none;
	color: #201A16;
}

.footer a:hover {
	color: #1F1F1F;
}

.footer .top {
	display: block;
	margin-top: 25px;
}

.social {
	margin-bottom: 20px;
}

.social ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.social ul li {
	display: inline;
	margin-right: 10px;
	margin-left: 10px;
}

.social ul li i {
	font-size: 20px;
}

.social ul li a {
	text-decoration: none;
}

/* ==========================================================================
   Blog
   ========================================================================== */

.follow-link i {
	padding-right: 15px;
}

.post-comment {
	margin-bottom: 10px;
	padding: 20px;
}

.post-comment .avatar {
	margin-right: 12px;
	float: left;
}

.post-comment .post-message {
	margin-bottom: 20px;
}

.post-comment .post-meta {
	font-size: 13px;
	line-height: normal;
}

.post-comment .post-body {
	overflow: hidden;
}

.post-message p:last-child {
	margin-bottom: 0px;
}

.blog-comment-odd {
	background: #F2F2F2;
}

.blog-comment-even {
	background: none;
}

.social-buttons {
	overflow: hidden;
	margin-bottom: 25px;
}

.social-buttons ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.social-buttons li {
	display: inline;
	line-height: normal;
	margin: 0;
	padding: 6px 12px;
}

.social-buttons li a {
	font-size: 25px;
	line-height: normal;
}

.post-nav {
	list-style: none;
	margin: 0 0 25px;
	padding: 0;
	overflow: hidden;
}

.post-nav li {
	float: left;
	width: 33.33333%;
	text-align: center;
}

.post-nav li:first-child {
	text-align: left;
}

.post-nav li:last-child {
	text-align: right;
}

.post-nav li a {
	text-decoration: none;
	text-transform: lowercase;
	font-size: 13px;
}

.social-helper {
	display: inline-block;
}

.share-buttons {
	width: 100%;
	text-align: center;
}

.share-buttons table {
	margin: 0 auto;
}

.related-posts {
	margin-bottom: 50px;
}

.related-posts ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.related-posts ul li {
	margin-bottom: 10px;
}

.caption {
	display: inline-block;
	font-size: 14px;
	margin-top: 10px;
}

.success_message {
	font: 14px/24px 'Questrial', sans-serif !important;
	padding: 20px;
	color: #1F1F1F;
	background-color: #D4D0C8 !important;
}

.success_message h2 {
	font-size: 24px !important;
}

.success_message .blog_comment {
	border-bottom: none !important;
}

.sidebar-blog-topical ul, .sidebar-blog-archives ul, .sidebar-blog-recent ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sidebar-blog-topical li, .sidebar-blog-archives li, .sidebar-blog-recent li {
	margin-bottom: 10px;
}

/* ==========================================================================
   Works
   ========================================================================== */
   
.works {
	overflow: hidden;
	position: relative;
	text-align:center;
	width: 100%;
}

.works-item {
	padding: 10px;
	display: inline-block;
}

.works-item img { height: 250px; width: auto; }
.works-item h2 { font-size: 30px; }
.works-item p:last-child { margin-bottom: 0 !important; }

.works figure {
	position: relative;
	overflow: hidden;
	margin: 0;
	cursor: pointer;
}

.works figure img {
	position: relative;
	display: block;
	max-width: 100%;
}

.works figure figcaption {
	-webkit-backface-visibility: hidden;
			backface-visibility: hidden;
}

.works figure figcaption::before,
.works figure figcaption::after {
	pointer-events: none;
}

.works figure figcaption,
.works figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.works figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.works figure h2 {
	margin: 0;
}

figure.hover-effect img {
	opacity: 1;
	-webkit-transition: opacity 1s, -webkit-transform 1s;
			transition: opacity 1s, transform 1s;
	-webkit-backface-visibility: hidden; /* Image movement fix on hover */
			backface-visibility: hidden;
}

figure.hover-effect:hover img {
	opacity: .2;
}

figure.hover-effect h2 {
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	padding: 10px 15px;
	width: 100%;
	text-align: left;
	font-size: 18px;
	line-height: 20px;
	-webkit-transform: translate3d(0,20px,0);
			transform: translate3d(0,20px,0);
	-webkit-transition: opacity 1s, -webkit-transform 1s;
			transition: opacity 1s, transform 1s;
}

figure.hover-effect:hover h2 {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
			transform: translate3d(0,0,0);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
   
.btn, input[type='submit'] {
	font-family: 'Cinzel', serif;
	font-weight: normal;
	line-height: normal;
	text-transform: uppercase;
	color: #000000;
	letter-spacing: 1px;
	line-height: normal;
	font-size: 15px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	cursor: pointer;
	position: relative;
	background: #D4D0C8;
	border: 1px solid #D4D0C8;
	padding: 16px 46px;
	max-width: 100%;
	-webkit-transition: 0.2s all linear;
			transition: 0.2s all linear;
}

.btn:hover, input[type='submit']:hover {
	color: #000000;
	border: 1px solid #D4D0C8;
	background: #D4D0C8;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination {
	text-align: center;
	clear: both;
}

.pagination ul {
	display: inline-block;
	margin: 0;
	padding: 0;
}

.pagination ul li {
	float: left;
	list-style: none;
}

.pagination ul li a {
	text-decoration: none;
	padding: 10px 15px;
}

.pagination ul li a.current {
	font-weight: bold;
	border: 1px solid #FFFFFF;
}

/* ==========================================================================
   Forms
   ========================================================================== */

::-webkit-input-placeholder {
   color: #000000;
}

:-moz-placeholder { /* Firefox 18- */
   color: #000000;  
}

::-moz-placeholder {  /* Firefox 19+ */
   color: #000000;  
}

:-ms-input-placeholder {  
   color: #000000;  
}

textarea:focus, input:focus, button:focus, select:focus {
    outline: 0 !important;
}

input[type="text"], textarea {
	font: 16px/24px 'Questrial', sans-serif;
	color: #000000;
	width: 100%;
    padding: 10px 20px;
    margin: 0;
	border: 1px solid #D4D0C8;
	background: #FFFFFF;
	
	-webkit-appearance: none;
	-webkit-border-radius: 0px;
    border-radius: 0;
}

input[type="text"]:focus, textarea:focus {
	background: none;
}

input[type="text"] {
	height: 46px;
}

textarea {
	height: 200px;
}

input[type="submit"] {
	display: block;
	-webkit-appearance: none;
	-webkit-border-radius: 0px;
	border-radius: 0;
}

.myic {
	margin-bottom:15px;
	font-weight: bold;
}

.form-item {
	margin-bottom: 25px;
}

.form-item.error input, .form-item.error textarea {
	border: 1px solid #ff0000;
}

.form-item.error label {
	color: #ff0000;
}

.radio-group {
	display: block;
	margin-bottom: 20px;
}

input[type='radio'] {
    margin-right: 5px;
}

.alert {
	margin-bottom: 20px;
	display: block;
}

.alert label {
	color: #ff0000;
	display: block;
}

.subscribe {
	width: 350px;
	margin: 0 auto;
}

.subscribe p {
	line-height: normal;
	margin-bottom: 10px;
}

.signup-form {
	position: relative;
	display: block;
}

.signup-form .alert {
	line-height: normal;
}

.signup-form label.error {
	margin-bottom: 25px;
}

.signup-form input[type="text"] {
	width: 100%;
}

.signup-form button {
	position: absolute;
	top: 0;
	right: 0;
	padding: 10px;
	background: none;
	border: 0;
	cursor: pointer;
	font-size: 20px;
	color: #1F1F1F;
	line-height: normal;
	-webkit-transition:0.2s color linear;
			transition:0.2s color linear;
}

.signup-form button:hover {
	color: #1F1F1F;
}

.signup-form ::-webkit-input-placeholder {
   color: #A8A49B;
}

.signup-form :-moz-placeholder { /* Firefox 18- */
   color: #A8A49B; 
}

.signup-form ::-moz-placeholder {  /* Firefox 19+ */
   color: #A8A49B; 
}

.signup-form :-ms-input-placeholder {  
   color:#A8A49B;
}

/* ==========================================================================
   Grid
   ========================================================================== */

.row {
	max-width: 1170px;
	margin: 0 auto;
	position: relative;
	overflow: hidden;
}

.row .row {
    width: auto;
    margin: 0 -15px !important;
}

*[class*='col-'] {
	float: left;
	padding: 0 15px;
	position: relative;
	overflow: hidden;
}

.col-1-1 { width: 100%; float: none; }
.col-1-2 { width: 50%; }
.col-1-3 { width: 33.33333%; }
.col-2-3 { width: 66.66666%; }
.col-1-4 { width: 25%; }
.col-3-4 { width: 75%; }
.col-1-5 { width: 20%; }
.col-2-5 { width: 40%; }
.col-3-5 { width: 60%; }
.col-4-5 { width: 80%; }

.centered {
	margin: 0 auto;
	position: relative;
	float: none;
}

.cell {
	padding: 25px;
	background: #F2F2F2;
}

.grid { overflow: hidden; }
.grid-item { padding: 0 15px 30px; margin: 0; }
.grid-item img { width: 100%; }
.grid-item h2 { line-height: 28px; }
.grid-item p:last-child { margin-bottom: 0 !important; }

/* ==========================================================================
   lightGallery Overrides
   ========================================================================== */

@font-face {
  font-family: 'lg';
  src: url("//tonypro-fineart.com/styles/shared/fonts/lg.eot?n1z373");
  src: url("//tonypro-fineart.com/styles/shared/fonts/lg.eot?#iefixn1z373") format("embedded-opentype"), url("//tonypro-fineart.com/styles/shared/fonts/lg.woff?n1z373") format("woff"), url("//tonypro-fineart.com/styles/shared/fonts/lg.ttf?n1z373") format("truetype"), url("//tonypro-fineart.com/styles/shared/fonts/lg.svg?n1z373#lg") format("svg");
  font-weight: normal;
  font-style: normal;
}

.lg-sub-html {
	font-family: 'Questrial', sans-serif;
	font-weight: normal;
	color: #fff;
	font-size: 16px;
	width: 100%;
	white-space: normal;
  	padding: 10px 50px;
  	background-color: #000;
  	background-color: rgba(0, 0, 0, 0.85);
}

.lg-sub-html a {
	color: #fff;
	text-decoration: underline;
}

.lg-sub-html a:hover {
	color: #999;
}

.lg-outer .lg-thumb-item {
	border-radius: 0px;
}

#lg-counter {
	padding-left: 50px;
}

#lg-counter:before {
	content: 'F';
	font-family: 'boldbrush';
	font-size: 24px;
	font-style: normal;
	position: absolute;
	top: 12px;
	left: 20px;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width : 993px) {

	.grid-item {
		width: 33.33333%;
	}
	
	.grid-item-2 {
		width: 50%;
	}
	
}

@media only screen and (max-width : 992px) {

	.grid-item {
		width: 50%;
	}

}

@media only screen and (max-width : 768px) {

	*[class*='col-'] {
		float: none;
		width: 100%;
	}
	
	.hide-on-mobile {
		display: none !important;
	}
	
	.hide-on-desktop {
		display: block !important;
	}
	
	.text-left-center { text-align: center; }
	.text-right-center { text-align: center; }
	
	.grid-item {
		width: 50%;
	}
	
	.sf-menu {
		display: none;
	}
	
	.hamburger {
		display: block;
	}
	
	.header {
		padding-top: 25px;
	}
	
}

@media only screen and (max-width: 640px) {
	
	.grid-item {
		width: 100%;
	}
	
	.site-title a {
		font-size: 34px;
		letter-spacing: 12px;
	}

}

@media only screen and (max-width : 480px) {

	.btn, input[type='submit'] {
		width: 100%;
	}
	
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
