/*
Theme Name: Ritter Transportation
Theme URI: http://underscores.me/
Author: Tony Leighty
Author URI: http://underscores.me/
Description: A theme designed for Ritter Transportation
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ritter-transportation
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Ritter Transportation is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/

/*--------------------------------------------------------------
Fonts
--------------------------------------------------------------*/


@font-face {
	font-family: 'robotoregular';
		src: url('css/fonts/roboto-regular-webfont.eot');
		src: url('css/fonts/roboto-regular-webfont.eot?#iefix') format('embedded-opentype'),
			 url('css/fonts/roboto-regular-webfont.woff2') format('woff2'),
			 url('css/fonts/roboto-regular-webfont.woff') format('woff'),
			 url('css/fonts/roboto-regular-webfont.ttf') format('truetype'),
			 url('css/fonts/roboto-regular-webfont.svg#robotoregular') format('svg');
	font-weight: normal;
	font-style: normal;
}	
	
@font-face {
	font-family: 'robotolight';
		src: url('css/fonts/roboto-light-webfont.eot');
		src: url('css/fonts/roboto-light-webfont.eot?#iefix') format('embedded-opentype'),
			 url('css/fonts/roboto-light-webfont.woff2') format('woff2'),
			 url('css/fonts/roboto-light-webfont.woff') format('woff'),
			 url('css/fonts/roboto-light-webfont.ttf') format('truetype'),
			 url('css/fonts/roboto-light-webfont.svg#robotolight') format('svg');
	font-weight: normal;
	font-style: normal;
}
	
@font-face {
	font-family: 'robotobold';
		src: url('css/fonts/roboto-bold-webfont.eot');
		src: url('css/fonts/roboto-bold-webfont.eot?#iefix') format('embedded-opentype'),
			 url('css/fonts/roboto-bold-webfont.woff2') format('woff2'),
			 url('css/fonts/roboto-bold-webfont.woff') format('woff'),
			 url('css/fonts/roboto-bold-webfont.ttf') format('truetype'),
			 url('css/fonts/roboto-bold-webfont.svg#robotobold') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'robotoblack';
		src: url('css/fonts/roboto-black-webfont.eot');
		src: url('css/fonts/roboto-black-webfont.eot?#iefix') format('embedded-opentype'),
			 url('css/fonts/roboto-black-webfont.woff2') format('woff2'),
			 url('css/fonts/roboto-black-webfont.woff') format('woff'),
			 url('css/fonts/roboto-black-webfont.ttf') format('truetype'),
			 url('css/fonts/roboto-black-webfont.svg#robotoblack') format('svg');
	font-weight: normal;
	font-style: normal;
}


/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Reset
2.0 Typography
3.0 Elements
4.0 Forms
5.0 Navigation
	5.1 Links
	5.2 Menus
6.0 Accessibility
7.0 Alignments
8.0 Clearings
9.0 Widgets
10.0 Content
	10.1 Posts and pages
	10.2 Asides
	10.3 Comments
11.0 Infinite scroll
12.0 Media
	12.1 Captions
	12.2 Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 Reset
--------------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centered in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust:     100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
	box-sizing: border-box; /* Apply a natural box layout model to the document; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
}
*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
	font-family: 'robotolight', Arial, sans-serif;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}

ol,
ul {
	list-style: none;
}

table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

a img {
	border: 0;
}

/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: sans-serif;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

b,
strong {
	font-weight: bold;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 1.5rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	bottom: 1ex;
}

sub {
	top: .5ex;
}

small {
	font-size: 75%;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
3.0 Elements
--------------------------------------------------------------*/
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

figure {
	margin: 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

th {
	font-weight: bold;
}

/*--------------------------------------------------------------
4.0 Forms
--------------------------------------------------------------*/
button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

input[type="checkbox"],
input[type="radio"] {
	padding: 0; /* Addresses excess padding in IE8/9 */
}

input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}

textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 3px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 100%;
}

/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/
a {
	color: royalblue;
}

a:visited {
	color: purple;
}

a:hover,
a:focus,
a:active {
	color: midnightblue;
}

@media screen and ( min-width: 800px ) {
        a[href^="tel:"]{
                 cursor: auto;
         }
}

/*--------------------------------------------------------------
5.2 Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

/*.main-navigation ul ul a {
	width: 200px;
}*/

.main-navigation ul ul li {

}

.main-navigation li:hover > a {
}

.main-navigation ul ul :hover > a {
}

.main-navigation ul ul a:hover {
}

.main-navigation ul li:hover > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a {
}

/* Small menu */
.menu-toggle {
	display: none;
}

@media screen and (max-width: 600px) {
	.menu-toggle,
	.main-navigation.toggled .nav-menu {
		display: block;
	}

	.main-navigation ul {
		display: none;
	}
}

.site-main .comment-navigation,
.site-main .paging-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.paging-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.paging-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
6.0 Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 1.4rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

/*--------------------------------------------------------------
7.0 Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/*--------------------------------------------------------------
8.0 Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
9.0 Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Search widget */
.widget_search .search-submit {
	display: none;
}

/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
10.1 Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
10.2 Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

.widget-area aside {
	margin-bottom: 1em;
}

@media screen and ( min-width: 1200px ) {
	.widget-area aside#side-apply h3,
	.widget-area aside#side-app-download h3 {
		font-size: 2em;
	}
}

/*--------------------------------------------------------------
10.3 Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
11.0 Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
12.0 Media
--------------------------------------------------------------*/
.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
12.1 Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 auto;
}

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

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

/*--------------------------------------------------------------
12.2 Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
>>> USER ADDED STYLES:
----------------------------------------------------------------*/


	
/*--------------------------------------------------------------
General
--------------------------------------------------------------*/
body.page-id-73,
body.error404 {
	background: #2E2A25;
}

img {
	max-width:100%;
	height:auto;
}
	
p,
label, 
.entry-content ul li{
	line-height:  30px;
	font-family: 'robotolight', Arial, sans-serif;
}

strong {
	font-weight:bold;
}
	
.wrapper{
	padding:0 1.5em;
	position: relative;
}
	
.wrapper:after, 
.small-wrapper:after, 
.call-out .left:after, 
.call-out:after,
.main-navigation ul ul:after,
.logo-container:after,
#aux-menu-items:after{
	content: " ";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height:0;
}

.hentry {
    margin: 0;
}

a,
a:visited,
a:focus,
a:active {
	color: #dd0030;
	text-decoration: none;
}

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

.disclaimer {
	font-size: .9em;
	font-style: italic;
}

.alignright{
	margin-top: 10px;
}

@media screen and (min-width: 960px){
	p, .entry-content ul li {
		font-size: 1.25em;
		line-height: 35px;
	}
}

/*--------------------------------------------------------------
Header & Navigation
--------------------------------------------------------------*/
	
.site-header{
	background: none repeat scroll 0 0 rgba(255, 255, 255, 0.8);
	position: relative;
	z-index: 50;
}

.page-id-73 .site-header,
.error404 .site-header {
	background: #fff;
}
	
.site-header .wrapper{
	/*max-width: 2000px;*/
	margin: 0 auto;
	padding-top: 1em;
	padding-bottom: 0;
	padding-right: 0;
	padding-left: 0;
}
	
#logo-main{
	width: 138px;
	float: left;
}

.site-header .wrapper > a[rel="home"] {
    display: block;
    padding-left: 1.5em;
}
	
.main-navigation{
	float: right;
	clear: right;
	display: block;
	margin-top: .5em;
	width: 100%;
	border-top: 2px solid #dd0031;
}
	
.main-navigation li{
	list-style: none;
	float: none;
	text-align: right;
}
	
.main-navigation li a{
	font-family: 'robotoblack', Arial, sans-serif;
	text-decoration: none;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding-right: 2.5em;
}

.main-navigation ul ul li a{
    padding-right: 4em;
}

	
.main-navigation .current-menu-item a/*,
.main-navigation li:hover > a*/{
	color: #000;
}

	
#button-wrapper {
	border: thin solid #000;
	clear: right;
	float: right;
	margin-top: 1.5em;
	padding: 0.25em 0.5em;
}

	
#button-wrapper span.login-button a {
	color: #000;
	text-decoration: none;
}

.main-navigation button.menu-toggle {
    background: url("images/nav-tab.svg") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    border-color: transparent;
    border-image: none;
    border-style: none;
    border-radius: 0;
    border-width: 0;
    box-shadow: none;
    color: #000;
    cursor: pointer;
    font-family: "robotoblack",Arial,sans-serif;
    font-size: 1em;
    height: 65px;
    line-height: 1;
    margin-right: 2em;
    padding: 0.6em 1em 0.4em;
    position: absolute;
    right: 0;
    text-shadow: none;
    text-transform: uppercase;
    top: -9px;
    width: 20px;
}

.main-navigation button.menu-toggle[aria-expanded="true"] {
    background: url("images/nav-tab-expanded.svg") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    cursor: pointer;
    padding: 0.6em 1em 0.4em;
    position: absolute;
    right: 0;
    top: -9px;
    height: 65px;
    width: 20px;
}

.menu-toggle, .main-navigation.toggled .nav-menu {
	float: right;
}

.menu.nav-menu {
    width: 100%;
    background-color: #000;
}

.menu.nav-menu li{
	background-color: #dd0031;
	margin-bottom: 1px;
}

.menu.nav-menu li.current-menu-item{
	background-color: #FCCE01;
}

.menu.nav-menu li:first-child{
	margin-top: 10px;
}

.menu.nav-menu li:last-child{
	margin-bottom: 10px;
}

.menu-toggle > span {
    position: relative;
    right: 4em;
    top: 1.2em;
}

.main-navigation ul ul { 
	display:block;
	float: none;
	position: relative; 
}

.main-navigation ul ul {
	left: 0;
	right: 0;
	top: 0;
	background-color: #000;
}

.main-navigation ul li:hover > ul {
	left: 0;
	right: 0;
	top: 0;
	background-color: #000;
}

.main-navigation ul ul.sub-menu li{
	background-color: #000;
	text-align: right;
	padding: .1em 0;
	height: auto;
}

.main-navigation ul ul.sub-menu li > a,
.main-navigation ul ul.sub-menu li.current_page_item:hover a {
    color: #fff;
    font-size: .8em;
    font-family: 'robotolight', Arial, sans-serif;
}

.main-navigation ul ul.sub-menu li:hover{
	background-color: #dd0031;
}

.main-navigation ul ul.sub-menu li.current-menu-item{
	background-color: #FCCE01;
}

.main-navigation ul li.menu-item-has-children a{
	height: 18px;
}

.aux-nav {
	float: right;
}

.aux-nav-items li {
    float: left;
    list-style: outside none none;
    padding: 0 1em;
}


@media screen and (max-width: 599px){
	.main-navigation ul ul.sub-menu li.current_page_item a{
		color: #000;
	}
}


@media screen and (min-width: 600px){

	#logo-main {
		margin-top: 1.2em;
	}

	.main-navigation ul ul { 			/* TO TOGGLE SUBNAVIGATION VISIBILITY FOR TESTING, CHANGE DISPLAY: NONE; -> DISPLAY: BLOCK; */
		display: none;
		float: none;
		position: relative; 
	}
	.main-navigation{
		margin-top: 2em;
		width: auto;
		border-top: none;
	}

	.main-navigation li{
		float: left;
		padding-right: 1em;
		text-align: left;
	}

	.main-navigation li a{
		padding-right: 0;
	}

	.site-header {
		border-bottom: 2px solid #dd0031;
	}

	.site-header .wrapper{
		padding-right: 1.5em;
		padding-left: 1.5em;
	}

	.site-header .wrapper > a[rel="home"] {
	    padding-left: 0;
	}

	.menu.nav-menu {
    	width: auto;
    	background-color: transparent;
	}

	.main-navigation li.login-button a,
	.main-navigation li.contact-button a {
		display: block;
		font-size: 0.7em;
		border: thin solid #000;
		margin-top: -.25em;
		padding: 0.25em 0.5em;
	}

	.main-navigation li.login-button,
	.main-navigation li.contact-button{
		height: auto;
		position: absolute;
		top: 1em;
	}

	.main-navigation li.login-button{
		right: 1.5em;
	}

	.main-navigation li.contact-button{
		right: 11em;
	}

	.main-navigation .current-menu-item a,
	.main-navigation li:hover > a{
		color: #dd0031;
	}

	.main-navigation li a{
		color: #000;
	}

	.main-navigation ul ul li a{
    	padding-right: 0;
	}

	.menu.nav-menu li{
		background-color: transparent;
		margin-bottom: 0;
	}

	.menu.nav-menu li.current-menu-item, .menu.nav-menu li:hover{
		background-color: transparent;
	}

	.menu.nav-menu li:first-child{
		margin-top: 0;
	}

	.menu.nav-menu li:last-child{
		margin-bottom: 0;
	}

	.main-navigation li {
		position: static;
		height: 60px;
	}

	.main-navigation ul li.current-menu-item ul.sub-menu,
	.main-navigation ul li.current-page-ancestor ul.sub-menu{
		display: block;
	}

	.main-navigation ul ul.sub-menu li > a, 
	.main-navigation ul ul.sub-menu li:hover a {
	    font-size: .7em;
	}

	.main-navigation ul ul{
		position: absolute;
		top: 6.9em;

	}

	.main-navigation ul li:hover > ul {  	/* TO SHOW SUBNAVIGATION ON HOVER, UNCOMMNENT THE DISPLAY PROPERTY */
		/*display:block;*/				 
		top: 6.9em;
	}

	.main-navigation ul ul.sub-menu li{
		background-color: transparent;
		text-align: center;
		width: 25%;
		padding: 1em 0;
	}

	.main-navigation ul ul.sub-menu li.current-menu-item{
		background-color: #dd0031;
	}

	.main-navigation ul li.current-menu-ancestor a{
		color: #dd0031;
	}

	.main-navigation ul li.menu-item-16 ul.sub-menu li {
		width: 20%;
	}

	.main-navigation ul li.menu-item-18 ul.sub-menu li {
		width: 33.29%;
	}

	.main-navigation ul li.menu-item-has-children a{
		height: auto;
	}

}
	

@media screen and (min-width: 709px){
	.main-navigation ul ul{
		top: 6.9em;
	}

	.main-navigation ul li:hover > ul {
		top: 6.9em;
	}
}
	
@media screen and (min-width: 960px){
	#logo-main{
		width: 200px;
		margin-top: .73em;
	}
	
	.site-header .wrapper {
		padding-top: 2em;
	}
	
	.main-navigation{
		margin-top: 2.3em;
	}

	.main-navigation ul ul{
		top: 8.2em;
	}

	.main-navigation ul li:hover > ul {
		top: 8.2em;
	}

	.main-navigation li{
		padding-right: 0;
		width: 142px;
		text-align: center;
	}
	
	#button-wrapper{
		margin-top: 3.5em;
	}

	.main-navigation li.login-button{
		right: 3.75em;
	}

	.main-navigation li.contact-button{
		right: 14em;
	}
}
	
@media screen and (min-width: 1200px){
	#logo-main{
		width: 256px;
	}

	.menu.nav-menu {
		padding-right: 2em;
	}

	.main-navigation{
		margin-top: 2.7em;
	}

	.main-navigation li{
		padding-right: 0;
		width: 150px;
	}

	.main-navigation li a{
		font-size: 20px;
	}
	
	.main-navigation ul ul.sub-menu li {
		padding: .9em 0;
	}

	.main-navigation li.login-button{
		right: 5.25em;
	}

	.main-navigation li.contact-button{
		right: 16em;
	}

	.main-navigation li.login-button a,
	.main-navigation li.contact-button a {
		margin-top: -0.1em;
		padding: 0.5em;
	}

	.main-navigation ul ul{
		top: 8.59em;
	}

	.main-navigation ul li:hover > ul {
		top: 8.59em;
	}
}
	
@media screen and (min-width: 1400px){
	.menu.nav-menu {
		padding-right: 5em;
	}

	.main-navigation li{
		width: 175px;
	}

	.main-navigation ul ul{
		top: 8.55em;
	}

	.main-navigation ul li:hover > ul {
		top: 8.55em;
	}

	.main-navigation ul ul.sub-menu li > a, 
	.main-navigation ul ul.sub-menu li:hover a,
	.main-navigation ul ul.sub-menu li.current_page_item:hover a {
	    font-size: .9em;
	}

	.main-navigation li.login-button{
		right: 9.25em;
	}

	.main-navigation li.contact-button{
		right: 21em;
	}
}
	
/*--------------------------------------------------------------
Main Content
--------------------------------------------------------------*/
	
.home.page #main{
	text-align: center;
	top: -6em;
	z-index: 0;
	padding: 0;
}
	
.page-template-default #main,
.page-template-page-career-two-column #main{
	text-align: left;
	padding: 1.5em 1em;
}

.slides .container{
	margin: 0 auto;
	position: relative;
	top: 2em;
}
	
#main h1, 
#sub-main h1 {
	font-family: 'robotobold', Arial, sans-serif;
	text-transform: uppercase;
	color: #000;
}

.home #main h1,      			/* NEW HEADER STYLES */
.page-template-page-primary #sub-main h1,
.page-template-page-career-two-column #main h1,
.page-template-default #main h1 {
	font-size: 2em;
}

#main h2,
#sub-main h2,
.page-parent #sub-main h2 {
	font-family: 'robotoregular', Arial, sans-serif;
	color: #000;
}

.home #main h2, 				/* NEW HEADER STYLES */
.page-template-page-primary #sub-main h2,
.page-template-default #main h2 {
	font-size: 1.5em;
}

.page-template-default #main h2 {
	display: inline-block;
}

#main h3 {
	font-family: 'robotoregular', Arial, sans-serif;
	font-size: 1.25em;
	color: #000;
	margin-bottom: .5em;
}

.page-template-page-primary #sub-main h1{
	color: #000;
	margin-bottom: 1em;
}

.cta-button {
	margin: 0 auto;
	width: 220px;
	background: #dd0031;
	border: thin solid #fff;
	padding: .85em;
	margin-top: 1em;
	-webkit-transition: all 300ms linear;
	-webkit-transition: all 300ms linear;
	-moz-transition: all 300ms linear;
	-o-transition: all 300ms linear;
	transition: all 300ms linear;
}

.cta-link,
.cta-link:hover,
.cta-link:active,
.cta-link:visited {
	color: #fff;
	font-family: 'robotoregular', Arial, sans-serif;
	font-size: .8em;
	text-decoration: none;
	text-transform: uppercase;
}

.cta-text:before{
	background: url("images/cta-button-arrow.svg") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    content: " ";
    padding-right: 7px;
    position: relative;
    right: 5px;
    top: 1px;
    width: 12px;
}

.home.page #main{
	min-height: 300px;
}

.error404 #main {
	padding: 3em 0;
}

.page-template-page-primary #main,
.page-template-default #main,
.page-template-page-career-two-column #main,
.error404 #main {
	background-color: #f3f3f4;
}

.page-template-page-primary #hero-main {
	position: static;
}

.page-id-21 #hero-main {
	margin-bottom: 4.75em;
}
	
.page-template-page-primary #sub-content{
	background-color: #f3f3f4;
	position: relative;
	top: -5em;
	z-index: 0;
	padding: 1em 1.5em;
	text-align: center;
}

.page-template-page-primary #sub-content p{
	font-size: 1.1em;
}

#sub-main{
	background: none repeat scroll 0 0 #f3f3f4;
	position: relative;
	z-index: 50;
}


.logo-container {
	max-width: 800px;
	margin-bottom: 1em;
}

.logo-container > img {
    float: left;
    max-width: 200px;
    width: 38%;
}

.logo-container > p {
    float: right;
    width: 51%;
}

.interior-page-image {
	box-shadow: 0 0 10px #9e9a95;
	width: 40%;
}

.page-id-133 #main .logo-main {
    width: 250px;
    margin: -1em 0 1em;
}

.page-id-7 #hero-main, .page-id-10 #hero-main {
    margin-bottom: 4em;
}

@media screen and (max-width: 600px){

	.page-id-13 #hero-main {
		margin-bottom: 5em;
	}
}

@media screen and (min-width: 600px) and (max-width: 699px){
	.page-id-13 #hero-main > img{
		position: relative;
		display: block;
		top: -19vw;
		max-width: none;
		width: 124%;
	}
}

@media screen and (min-width: 600px){
	.page-template-default #main,
	.page-template-page-career-two-column #main{
		padding: 5.5em 1em;
	}

	.slides .container{
		top: 4em;
	}
}


@media screen and (min-width: 700px){
	.page-template-page-primary #hero-main {
		position: relative;
	}

	.page-template-page-primary #hero-main{
		/* top: -9em; */
	}

	.page-id-7 #hero-main,
	.page-id-10 #hero-main,
	.page-id-13 #hero-main,
	.page-id-21 #hero-main{  		
		margin-bottom: 0;
	}

	.logo-container > p {
	    font-size: 1.4em;
	}

}

	
@media screen and (min-width: 800px){
	.home.page #main{
		min-height: 350px;
	}
	
	.home #main h1,					/* NEW HEADER STYLES */
	.page-template-page-primary #sub-main h1,
	.page-template-page-career-two-column #main h1,
	.page-template-default #main h1,
	.error404 #main h1 {
		font-size: 2.4em;
	}

	
	.home.page #main h1, 
	.home.page #main h2{
		color: #fff;
		text-shadow: 0 0 13px rgba(0, 0, 0, 1), 0 0 13px rgba(128, 128, 128, 1)
	}
	
	.page-template-page-primary #main{
		min-height: 460px;
		position: relative;
	}
	
	.page-template-page-primary #sub-content{
		position: static;
		min-height: 250px;
		padding: 2em 1.5em;
		top: 18em;
	}

	.page-template-default #main,
	.page-template-page-career-two-column #main{
		padding: 4.5em 1em;
	}
	
	.page-template-page-primary #hero-main {
		position: absolute;
		bottom: 0;
		width: 100%;
		/* right: -41em;
   		top: -8em; */
	}
	
	.page-template-page-primary #hero-main > img{
		width: 2000px;
	}

	.page-id-7 #hero-main{ 			/* ABOUT PAGE BANNER */
		top: -9em;
	}

	.slides .container{
		left: 29%;
		position: fixed;
		top: 13em;
	}

	.logo-container > img {
	    width: 21%;
	}

	.logo-container > p {
	    width: 70%;
	}
	
}

@media screen and (min-width: 960px){
	.home.page #main{
		min-height: 450px;
	}

	.home #main h1,      			/* NEW HEADER STYLES */
	.page-template-page-primary #sub-main h1 {
		font-size: 3.3em;
	}

	.page-template-default #main h1,
	.page-template-page-career-two-column #main h1,
	.error404 #main h1 {
		font-size: 3em;
		line-height: 1;
	}

	.home #main h2, 				/* NEW HEADER STYLES */
	.page-template-page-primary #sub-main h2,
	.page-template-default #main h2 {
		font-size: 2em;
	}

	#main h3 {
		font-size: 1.5em;
	}

	.cta-button:hover{
		box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
	}
	
	.page-template-page-primary #sub-main h1{
		margin-bottom: .5em;
	}
	
	.page-template-page-primary #sub-content {
		top: 23em;
	}

	.page-id-7 #hero-main{ 			/* ABOUT PAGE BANNER */
		top: -12em;
	}

	.slides .container{
		left: 6%;
		top: 18em;
		width: 900px;	
	}
		
	.page-template-page-primary #sub-content p{
		font-size: 1.4em;
		line-height: 30px;
	}

}

@media screen and (min-width: 1050px){
	.page-id-21 #hero-main {
	    top: -9em;
	}
}

@media screen and (min-width: 1100px){
	.slides .container{
		left: 11%;
	}
	
	.page-id-7 #hero-main { 		/* ABOUT PAGE BANNER */
	    top: -16em;
	}

	.page-template-page-career-two-column .career .small-wrapper > article{
		float: left;
		width: 67%;
	}

	.page-template-page-career-two-column .widget-area {
		float: right;
		width: 28%;
	}

}

@media screen and (min-width: 1200px){
	.home.page #main{
		min-height: 583px;
	}

	.home #main h1,      			/* NEW HEADER STYLES */
	.page-template-page-primary #sub-main h1{
		font-size: 4.3em;
	}

	.home #main h2{ 				/* NEW HEADER STYLES */
		font-size: 2.7em;
	}

	.page-template-page-primary #sub-main h2,
	.page-template-default #main h2 {
		font-size: 2.5em;
	}


	#main h3 {
		font-size: 2.25em;
	}

	.page-id-21 #hero-main{ 		/* SERVICES PAGE BANNER */
    	top: -9em;
	}
	
	.slides .container{
		left: 18%;	
	}
	
	.page-template-page-primary #main{
		min-height: 630px;
		position: relative;
	}
	
	.page-template-page-primary #sub-content{
		top: 24em;
	}
	
	.page-template-page-primary #hero-main {
		/* right: -30em; */
		position: absolute;
		bottom: 0;
	}

	.page-id-7 #hero-main { 		/* ABOUT PAGE BANNER */
	    top: -17em;
	}
	
	.cta-button {
		width: 250px;
	}

	.cta-text:before{
	    padding-right: 8px;
	    top: 2px;
	}

	.cta-link,
	.cta-link:hover,
	.cta-link:active,
	.cta-link:visited {
		font-size: 1em;
	}
}

@media screen and (min-width: 1400px){	
	.page-id-7 #hero-main { 		/* ABOUT PAGE BANNER */
	    right: 0;
	    top: -23em;
	}

	.page-id-7 #hero-main > img{ 	/* ABOUT PAGE BANNER IMAGE SIZE */
		width: 100%;
	}

	.page-id-13 #hero-main {		/* CAREERS PAGE BANNER */
		top: -17.5em;
	}

	.logo-container {
	    float: left;
	    width: 50%;
	}

	.interior-page-image {
		width: auto;
	}

	.page-id-133 #main .logo-main {
	 
	    width: 500px;
	}

}
	
@media screen and (min-width: 1500px){
	.slides .container{
		left: 24%;
	}
	
	.page-template-page-primary #hero-main > img{
		width: 100%;
	}
	
	.page-template-page-primary #sub-content{
		min-height: 335px;
		top: 34em;
	}

	.page-id-7 #hero-main { 		/* ABOUT PAGE BANNER */
	    top: -29em;
	}
		
}

@media screen and (min-width: 1700px){

	.page-id-13 #hero-main {		/* CAREERS PAGE BANNER */
		top: -26.5em;
	}

}

@media screen and (min-width: 1800px){
	.slides .container{
		left: 28%;
	}

	.page-id-7 #hero-main { 		/* ABOUT PAGE BANNER */
	    top: -41em;
	}
	.page-id-13 #hero-main > img{
		position: relative;
    	display: block;
    	top: 2vw;
	}
	.page-id-10 #hero-main > img{
		position: relative;
    	display: block;
    	top: 13vw;
	}

}


@media screen and (min-width: 2000px){
	.page-id-7 #hero-main { 		/* ABOUT PAGE BANNER */
	    top: -49em;
	}

}

@media screen and (min-width: 2200px){
	.slides .container{
		left: 30%;
	}


}

@media screen and (min-width: 2300px){
	.page-id-7 #hero-main { 		/* ABOUT PAGE BANNER */
	    top: -61em;
	}
}

.small-wrapper{
	max-width: 1340px;
	margin: 0 auto;
}

.call-out{
	margin-bottom: 3em;
	text-align: center;
	padding: 0 .5em;
}

.call-out .left > span{
	font-family: 'robotolight', Arial, Helvetica, sans-serif;
	display: block;
	margin: 1em 0;
	font-size: 1.6em;
}

.logo-head{
	width: 23px;
}

.call-out img{
	margin-bottom: 1em;
}

.call-out .right > span{
	font-family: 'robotolight', Arial, Helvetica, sans-serif;
	font-size: 1.1em;
	line-height: 28px
}

.call-out .right > span a{
	text-transform: uppercase;
	font-weight: bold;
	display: block;
	margin-top: .5em;
}

.call-out .right > span a, 
.call-out .right > span a:hover,
.call-out .right > span a:visited,
.call-out .right > span a:active {
	font-family: 'robotobold', Arial, Helvetica, sans-serif;
	letter-spacing: 1px;
	color: #dd0031;
	text-decoration: none;
}

.call-out .right > span a:before {
	font-family:'FontAwesome';
	content:"\f105";
	display: inline-block;
	padding-right: 5px;
}

.learn-more-link:after{
	content:"\f105";
	display: inline-block;
    font-family: "FontAwesome";
    padding-left: 5px;
    position: relative;
    top: 1px;
}

@media screen and (min-width: 960px){
	#tab-content{
		margin-top: -140px;
	}
	
	.call-out{
		text-align: left;
	}

	.call-out .left {
		float: left;
		width: 29%;
	}

	.logo-head{
		width: 29px;
		margin-left: 1.5em;
	}

	.call-out .left > span{
		float: left;
		width: 78%;
		font-size: 1.7em;
		line-height: 46px;
		margin: 0;
		text-align: right;
	}

	.call-out .left > span > span{
		display: block;
	}

	.call-out img{
		float: right;
		margin-top: 39px;
		margin-bottom: 0;
		position: absolute;
	}

	.call-out .right {
		float: right;
		width: 69%;
	}

	.call-out .right > span{
		font-size: 1em;
		line-height: 20px;
	}
}

@media screen and (min-width: 1340px){
	.call-out{
		padding: 0;
	}
}

@media screen and (min-width: 1200px){
	.call-out .left > span{
		font-size: 2.7em;
		line-height: 46px;
	}

	.call-out .right > span{
		font-size: 1.4em;
		line-height: 40px;
	}

	
	.logo-head{
		width: 39px;
	}

}

/*--------------------------------------------------------------
Footer
--------------------------------------------------------------*/

.site-footer{
	font-family: 'robotolight', Arial, Helvetica, sans-serif;
	background-color: #2e2a25;
	padding: 1em 0 1.5em;
	color: #b6b4b3;
	text-align: center;
	z-index: 50;
	position: relative;
	min-height: 200px;
}

.site-footer .wrapper{
	/*max-width: 2000px;*/
	margin: 0 auto;
}

#logo-footer{
	width: 140px;
}

#logo-mm4{
	width: 90px;
}

#address-wrapper{
	float: none;
}

#footer-tel{
	color: #b6b4b3;
	text-decoration: none;
	cursor: auto;
}

#address-wrapper > span{
	font-size: .86em;
	margin-bottom: .5em;
	display: block;
	text-transform: uppercase;
}

#mm4-wrapper{
	float: none;
}

#mm4-wrapper img{
	float: none;
}

#mm4-wrapper > span{
	font-size: .7em;
}

@media screen and (min-width: 700px){
	.site-footer{
		text-align: left;
	}

	#logo-footer{
		width: 160px;
	}

	#logo-mm4{
		width: 115px;
		display: inline;
	}

	#address-wrapper{
		float: left;
	}

	#footer-tel {
		display: inline-block;
		margin-left: 1.5em;
	}

	#address-wrapper span{
		display: inline;
		margin-bottom: 0;
	}

	#mm4-wrapper{
		width: 166px;
		float: right;
	}
}


/*--------------------------------------------------------------
Form Styles
--------------------------------------------------------------*/
#side-apply label {
	display: block;
	font-size: .9em;
	padding: 1em 0 .1em;
}

#side-apply > p{
	font-size: 1em;
}

#side-apply  p{
	line-height: 25px;
}

#side-apply input {
	width: 96%;
}

#side-apply input[type=file] {
	cursor: pointer;
	font-family: 'robotolight', Arial, sans-serif;
}

#side-apply input[type=submit]{
	margin-top: 1em;
	width: 30%;
}

div.wpcf7-response-output {
    margin: 2em 0 1em;
    padding: 0.2em 1em;
}

#wpcf7-f231-p228-o1{
	clear: right;
}

#wpcf7-f231-p228-o1 textarea {
	width: 100%;
}

#wpcf7-f231-p228-o1 input{
	width: 100%;
}

#wpcf7-f231-p228-o1 label{
	display: block;
	padding: 1em 0 .1em;
}

#wpcf7-f231-p228-o1 input[type=submit]{
	display: block;
	margin-top: 1em;
	width: 30%;
}

@media screen and (min-width: 600px){
	#wpcf7-f231-p228-o1{
		clear: none;
	}

	#wpcf7-f231-p228-o1 textarea {
	width: 55%;
	}

	#wpcf7-f231-p228-o1 input{
	width: 55%;
	}

	#wpcf7-f231-p228-o1 input[type=submit]{
	width: 20%;
	}
}

/*--------------------------------------------------------------
Home Page Slider
--------------------------------------------------------------*/
/*#main #slides .slides-container li#slide-1{
	background-image: url("images/shutterstock_10922464.jpg");
	background-position: 97% 84%;
	background-repeat: no-repeat;
	background-size: 167% auto;
}*/

.flexslider {
	border: none;
	border-radius: 0;
	box-shadow: none;
	margin: 0;
	position: relative;
	background-color: #F3F3F4;
}

.slides {
	position: relative;
	top: -5em;
}

.flex-active-slide > img{
	/*height: 100% !important;
	min-height: 100% !important;
	max-height: 100% !important;*/
	width: 100% !important;
	min-width: 100% !important;
	max-width: 1000% !important;
	border: none !important;
}

.flex-direction-nav {
	position: relative;
	top: -24em;
}

.flex-direction-nav a{
	width: 67px;
	height: 137px;
}

.flex-direction-nav .flex-next,
.flexslider:hover .flex-next{
	right: 10px;
}

.flex-direction-nav .flex-prev,
.flexslider:hover .flex-prev {
   	left: 0;
}

.flex-direction-nav a.flex-prev:before{
	content:url('images/slider-previous-arrow.svg');
	width: 33px;
}

.flex-direction-nav a.flex-next:before{
	content:url('images/slider-next-arrow.svg');
	width: 33px;
}

@media screen and ( min-width: 377px ) {
	.flex-direction-nav a{
		margin-top: 20px;		
	}

}


@media screen and (min-width: 600px){
	.flex-direction-nav {
		top: -30em;
	}

	.slides {
		top: -9em;
	}
	
	@media screen and ( min-width: 375px ) {
	.flex-direction-nav a{
		margin-top: -20px;		
	}

}
}

@media screen and (min-width: 800px){
	.slides {
		position: fixed;
		top: -2em;
	}
	
	.flex-direction-nav {
		top: 8em;
	}
}

@media screen and (min-width: 900px){
	.flex-direction-nav {
		top: 13em;
	}
}
	
@media screen and (min-width: 1200px){
	.flex-direction-nav a{
		width: 100px;
		height: 200px;
	}
	
	.flex-direction-nav .flex-next{
		right: 0;
	}
	
	.flexslider:hover .flex-next {
		right: 10px;
	}
	
	.flex-direction-nav .flex-prev {
   		left: 0;
	}
		
	.flexslider:hover .flex-prev {
		left: 10px;
	}
	
	.flex-direction-nav a.flex-prev:before{
		content:url('images/slider-previous-arrow.svg');
		width: 100px;
	}
	
	.flex-direction-nav a.flex-next:before{
		content:url('images/slider-next-arrow.svg');
		width: 100px;
	}	
}

@media screen and (min-width: 1500px){
	.slides {
		top: -15em;
	}
}

@media screen and (min-width: 1800px){
	.slides {
		top: -33em;
	}
}


/*--------------------------------------------------------------
Tabs and Accordion
--------------------------------------------------------------*/

.ui-widget-content{
	background: #fff;
	border: none;
	color: #222222;
}

.ui-tabs .ui-tabs-nav{
	padding: 0;
	text-align: center;
}

.ui-widget-header,
.ui-accordion-header.ui-helper-reset.ui-state-default.ui-corner-all.ui-accordion-icons {
	background: #fcce01;
	color: #2e2925;
	font-weight: bold;
	border: none;
}

.ui-tabs{
	padding: 0;
}

.tabs .ui-state-default, 
.tabs .ui-widget-content .ui-state-default, 
.tabs .ui-widget-header .ui-state-default{
	background: none;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-active, 
.ui-tabs .ui-tabs-nav li{
	border: none;
	border-radius: 0;
	margin-top: 0;
	display: inline-block; 
	float: none; 
	top: 0px; 
	margin: 0em; 
	width: 25%;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-active:after,
.ui-accordion-header.ui-helper-reset.ui-state-default.ui-accordion-header-active.ui-state-active.ui-corner-top.ui-accordion-icons:after {
	border-left: 25px solid transparent;
	border-right: 25px solid transparent;
	border-top: 25px solid #fee17c;
	content: " ";
	height: 0;
	left: 43%;
	position: absolute;
	top: 100%;
	width: 0;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-active, 
.ui-tabs .ui-tabs-nav li:hover,
.ui-accordion-header.ui-helper-reset.ui-state-default.ui-accordion-header-active.ui-state-active.ui-corner-top.ui-accordion-icons{
	background-color: #fee17c;
	margin-bottom: 0;
	padding-bottom: 0
}
.ui-accordion-header.ui-helper-reset.ui-state-default.ui-accordion-header-active.ui-state-active.ui-corner-top.ui-accordion-icons{
	padding: 1.5em 0.5em 1.5em 0.7em;
	border: none;
}

.ui-accordion-header.ui-helper-reset.ui-state-default.ui-corner-all.ui-accordion-icons{
	padding: 1.5em 0.5em 1.5em 0.7em;
}

.ui-tabs .ui-tabs-nav li a{
	width: 100%;
	font-family: 'robotoregular', Arial, sans-serif;
}

.ui-tabs .ui-tabs-nav li a, 
.ui-tabs .ui-tabs-nav li:hover a, 
.ui-tabs .ui-tabs-nav li.ui-tabs-active, 
.ui-tabs .ui-tabs-nav li.ui-tabs-active, 
.ui-accordion-header.ui-helper-reset.ui-state-default.ui-accordion-header-active.ui-state-active.ui-corner-top.ui-accordion-icons a, 
.ui-accordion-header.ui-helper-reset.ui-state-default.ui-corner-all.ui-accordion-icons a,
.ui-accordion-header.ui-helper-reset.ui-state-default.ui-corner-all.ui-accordion-icons li a:hover{
	color: #000;
	float: none;
	display: inline-block;
	text-transform: uppercase;
}

.ui-accordion .ui-accordion-header:first-child{
	margin-top: 0;
}	

.ui-accordion .ui-accordion-content{
	padding: 1em 1.5em;
}

.ui-corner-all, 
.ui-corner-bottom, 
.ui-corner-right, 
.ui-corner-br,
.ui-corner-all, 
.ui-corner-top, 
.ui-corner-right, 
.ui-corner-tr,
.ui-corner-all, 
.ui-corner-top, 
.ui-corner-left, 
.ui-corner-tl
{
	border-radius: 0;
}

.ui-accordion-header.ui-helper-reset.ui-state-default.ui-accordion-icons.ui-corner-all,
.ui-accordion-header.ui-helper-reset.ui-state-default.ui-accordion-header-active.ui-state-active.ui-corner-top.ui-accordion-icons
{
	text-align: center;
	padding-left: 0;
}

.ui-state-default, 
.ui-widget-content .ui-state-default, 
.ui-widget-header .ui-state-default{
	background: #fcce01;
	text-align: center;
	padding-left: 0;
	margin-left: 0;
	border: none;
}

.ui-state-default a, 
.ui-state-default a:link, 
.ui-state-default a:visited, 
.ui-state-default a:active {
	color: #000;
	padding-left: 0;
	margin-left: 0;
}

.ui-tabs .ui-tabs-panel {
	padding-top: 3em;
	padding-bottom: 3em;
}

@media screen and (min-width: 550px){
	.ui-accordion-header.ui-helper-reset.ui-state-default.ui-accordion-header-active.ui-state-active.ui-corner-top.ui-accordion-icons:after {
		left: 45%;
	}
	
}

@media screen and (min-width: 650px){
	.ui-tabs .ui-tabs-nav li.ui-tabs-active:after {
		left: 37%;
	}
	
	.ui-tabs .ui-tabs-nav li a{
		padding-top: 1.5em;
		padding-bottom: 1.5em; 
	}
}

@media screen and (min-width: 1200px){
	.ui-tabs .ui-tabs-nav li.ui-tabs-active:after {
		left: 42%;
	}
}

@media screen and (min-width: 1500px){
	.ui-tabs .ui-tabs-nav{
		padding: 0 10%;
		text-align: center;
	}

	.ui-tabs .ui-tabs-nav li.ui-tabs-active, 
	.ui-tabs .ui-tabs-nav li{
		width: 33%;
	}
}

@media screen and (min-width: 1600px){
	.ui-tabs .ui-tabs-nav li.ui-tabs-active:after {
		left: 45%;
	}
}

