
/* Mobile Styles (up to 768px)
======================================= */
@media (max-width: 768px) {
	section .section-text {
		padding: 40px 40px !important;
	}
	
	.hero .text-overlay h2 {
		font-size: 24px;
		line-height: 26px;
	}
	
	.hero .hero-slide {
		height: 395px;
	}
	
	.hero .text-overlay {
		height: 335px;
	}
}

/* Tablet Styles (768px to 992px)
======================================= */
@media (min-width: 768px) and (max-width: 992px) {
	section .section-text {
		padding: 40px 80px !important;
	}
}

/* Shared Styles - All Menu Collapse Devices
====================================== */
@media (min-width: 0px) and (max-width: 992px) {
	#header #logo img {
		height: auto;
	}
	
	#header .container {
		padding: 0px;
	}
	
	#header .container .row {
		padding: 0px 15px;
	}
	
	.navbar-custom .navbar-toggle {
		border: none;
		margin-top: 20px;
		margin-right: 20px;
		padding: 0px;
	}
	
	.navbar-custom .navbar-toggle:hover,
	.navbar-custom .navbar-toggle:focus {
		background: none;
	}
	
	.navbar-custom .navbar-toggle .icon-bar {
		background-color: #fff;
	}
	
	.navbar-container {
		padding: 0px;
	}
	
	.navbar-custom { /* Push the menu up to sit next to the EP logo */
		margin-top: -70px;
		border: none;
	}
	
	.navbar-custom .navbar-collapse {
		margin-top: 27px;
		background-color: #00acd0;
		max-height: 450px;
	}
	
	.navbar-custom li.hamburger {
		display: none;
	}
	
	.navbar-custom li.dropdown span {
		display: none;
	}
	
	.navbar-custom .navbar-nav > li > a {
		text-align: center;
		color: #fff;
		font-size: 18px;
		padding: 20px 0px;
		font-weight: 200;
	}
	
	.navbar-custom .navbar-nav > li.open > a {
		background: none;
	}
	
	.navbar-custom .navbar-nav > li > a:hover,
	.navbar-custom .navbar-nav > li > a:active,
	.navbar-custom .navbar-nav > li > a:focus {
		background: none;
	}
	
	.navbar-custom .dropdown-menu li a {
		text-align: center;
		color: #fff;
		font-size: 14px;
	}
	
	.navbar-custom .dropdown-menu li a:hover {
		background: none;
	}
	
	/* ---- Animated Hamburger Icon ---- */
	.navbar-toggle .icon-bar:nth-of-type(2) {
		top: 1px;
	}
	
	.navbar-toggle .icon-bar:nth-of-type(3) {
		top: 2px;
	}
	
	.navbar-toggle .icon-bar {
		position: relative;
		transition: all 200ms ease-in-out;
	}
	
	.navbar-toggle.active .icon-bar:nth-of-type(1) {
		top: 6px;
		transform: rotate(45deg);
	}
	
	.navbar-toggle.active .icon-bar:nth-of-type(2) {
		background-color: transparent;
	}
	
	.navbar-toggle.active .icon-bar:nth-of-type(3) {
		top: -6px;
		transform: rotate(-45deg);
	}
	
	section .section-text {
		text-align: center !important;
	}
	
	section .section-text ul {
		text-align: left !important;
	}
	
	section .section-img img {
		margin: 0px auto;
		max-width: 70%;
		display: block;
	}
	
	section .section-img.mobile-full-width img {
		max-width: 100%;
	}
	
	section h3.section-title br { /* Remove line breaks from titles */
		display: none;
	}
	
	/* Homepage - Section - Clients */
	section.clients {
		margin: 30px; 
	}
	
	section.clients .logos {
		margin-top: 30px;
	}
	
	section.clients .logos .logo {
		padding: 5px 0px;
	}
	
	a.btn-mobile-block {
		display: block;
		margin-bottom: 10px;
		width: 100%;
	}
	
	/* Section Global */
	section ul.mobile-no-margin {
		margin-bottom: 0px;
	}
	
	/* Content Hero */
	.content-hero {
		height: 245px;
	}
	
	.content-hero h1 {
		font-size: 26px;
		margin: 0px 10px;
		position: relative;
		top: 50%;
		transform: translateY(-50%);
	}
	
	/* Section - Intro */
	section.page-intro {
		padding: 60px 40px;
		margin: 0px;
	}
	
	section.page-intro h2 {
		padding: 0px;
	}
	
	/* Section - Software Tools */
	section.software-tools .btn-custom,
	section.software-tools-large .btn-custom {
		padding: 10px 25px;
	}
	
	section.software-tools .link,
	section.software-tools-large .link {
		display: block;
		padding-bottom: 20px;
	}
	
	section.software-tools-large .icons {
		margin-top: 45px;
	}
	
	/* Section - FAQs */
	section.faqs {
		padding: 40px 0px;
	}
	
	/* Section - Resources Grid */
	section.resources-grid {
		padding: 0px 30px;
	}
	
	/* Section - Resources Article */
	section.article {
		padding: 40px 30px;
	}
	
	/* Section - HR Subscription Model */
	section.hr-subscription-model {
		padding: 40px 0px;
	}
	
	section.hr-subscription {
		padding: 40px 0px;
	}
	
	/* Section - Succeed */
	section.succeed .imagebg {
		height: 370px;
	}
	
	section.succeed h3.vert-middle {
		position: relative;
		top: 50%;
		transform: translateY(-50%);
	}
	
	/* Section - Software HR Platform */
	section.software-hrplatform .section-img {
		padding: 40px 0px;
	}
	
	section.software-timesheet .section-img img {
		height: auto;
	}
	
	section.software-timesheet .section-img-inner,
	section.software-rostering .section-img-inner {
		position: relative;
	}
	
	section.software-timesheet,
	section.software-rostering {
		padding: 40px 0px;
	}
	
	section.extra-pad {
		padding: 40px 0px !important;
	}
	
	section div.pad-narrow {
		padding: 0px 40px !important;
	}
	
	section.about-map .map .map-pins,
	section.home-international .map .map-pins {
		display: none;
	}
	
	section.what-is-cmo-grid .cmo-statistic {
		padding: 30px;
	}
	
	section.what-is-cmo-grid .large-stat .number {
		font-size: 80px;
	}
	
	section .pad {
		padding: 40px 0px;
	}
	
	/* Section - Home -> Payroll */
	section.home-payroll .section-img img {
		float: none !important;
	}
	
	.mobile-center {
		text-align: center;
	}
	
	#footer {
		text-align: center;
	}
	
	#footer .row > div {
		margin-bottom: 30px;
	}
}

/* Smaller Desktop Styles / Landscape Tablet Styles (992px up to 1200px)
======================================= */
@media (min-width: 992px) and (max-width: 1200px) {
	.navbar-custom .navbar-nav > li > a {
		padding: 0px 10px !important;
	}
	
	#header #logo img {
		height: auto;
	}
	
	section .pad-right,
	section .pad-left {
		padding: 0px !important;
	}
	
	section .section-text {
		padding: 0px 50px !important;
	}
	
	/* iPad Tweaks */
	section.software-rostering .section-text {
		padding: 50px !important
	}
	
	section.software-timesheet .section-text {
		padding: 50px !important
	}
	
	section.page-intro h2 {
		padding: 0px !important;
	}
	
	section.home-software img.software {
		width: 90% !important;
		margin: 0px auto !important;
	}
	
	section.hr-statistic .large-stat {
		width: 100%;
	}
}

/* Large Desktop Styles (1200px and up)
======================================= */
@media (min-width: 1200px) {
	.navbar-custom .navbar-nav > li > a {
		padding: 0px 20px;
	}
}

/* Shared Styles - All Regular Menu Devices
====================================== */
@media (min-width: 992px) {
	
	/* ---- Header Shrink ---- */
	#header.shrink {
		height: 50px;
	}
	
	#header.shrink #logo {
		margin: 10px 0px 10px 0px;
	}
	
	#header.shrink #logo img {
		height: 30px;
	}
	
	#header.shrink .navbar-custom .navbar-nav {
		height: 50px;
	}
	
	#header.shrink .navbar-custom > .navbar-nav > li {
		height: 50px;
		line-height: 50px;
	}
	
	#header.shrink .navbar-custom .navbar-nav > li > a {
		line-height: 50px;
	}

	#push.shrink {
		margin-top: 50px;
	}

	/* ---- Nav Bar ---- */
	.navbar-custom {
		background: none;
		float: right;
		margin-bottom: 0px;
		border: none;
	}
	
	.navbar-custom .navbar-nav {
		height: 75px;
	}
	
	.navbar-custom > .navbar-nav > li {
		height: 75px;
		line-height: 75px;
	}
	
	.navbar-custom .navbar-nav > li > a {
		color: #fff;
		font-size: 12px;
		font-weight: 400;
		padding: 0px 20px;
		line-height: 75px;
		text-transform: uppercase;
	}
	
	.navbar-custom .navbar-nav > li > a:hover,
	.navbar-custom .navbar-nav > li:hover > a {
		background: none;
		color: #bde7fb;
	}
	
	.navbar-custom .navbar-nav > li > a:focus {
		color: #fff;
		background: none;
	}
	
	.navbar-custom .navbar-nav > .current_page_item > a,
	.navbar-custom .navbar-nav > .current_page_item > a:hover,
	.navbar-custom .navbar-nav > .current_page_item > a:focus {
		background: none;
		color: #bde7fb;
	}
	
	.navbar-custom .navbar-nav > .disabled > a,
	.navbar-custom .navbar-nav > .disabled > a:hover,
	.navbar-custom .navbar-nav > .disabled > a:focus {
		color: #1f5e89;
	}
	
	.navbar-custom .navbar-collapse,
	.navbar-custom .navbar-form {
		border-color: #101010;
	}
	
	.navbar-custom .navbar-nav > .open > a,
	.navbar-custom .navbar-nav > .open > a:hover,
	.navbar-custom .navbar-nav > .open > a:focus {
		color: #bde7fb;
		background: none;
	}
	
	.navbar-custom .navbar-nav li.hamburger > a {
		font-size: 20px;
	}
	
	/* ---- Navbar Dropdown ---- */
	.navbar-custom .dropdown:hover > ul.dropdown-menu {
	    display: block;    
	}
	
	.navbar-custom .dropdown-menu {
		position: absolute;
		padding: 0px;
		margin-left: 5px;
		left: 0;
		z-index: 1000;
		float: left;
		min-width: 160px;
		text-transform: uppercase;
		background-color: transparent;
		-webkit-background-clip: padding-box;
		background-clip: padding-box;
		border: none;
		border-radius: 0px;
		-webkit-box-shadow: none;
		box-shadow: none;
		border-bottom-left-radius: 10px;
		border-bottom-right-radius: 10px;
		background: #00acd0;
	}
	
	.navbar-custom .dropdown-menu li a {
		display: block;
		padding: 8px 20px 8px 16px;
		text-align: left;
		clear: both;
		color: #fff;
		white-space: nowrap;
		font-family: 'Gotham A', 'Gotham B', 'Open Sans', sans-serif;
		font-weight: 300;
		font-size: 11px;
	}
	
	.navbar-custom .dropdown-menu li:last-child a {
		border-bottom-left-radius: 10px;
		border-bottom-right-radius: 10px;
	}
	
	.navbar-custom .dropdown-menu li:first-child a {
	
	}
	
	.navbar-custom .dropdown-menu > li > a:hover,
	.navbar-custom .dropdown-menu > li:hover > a,
	.navbar-custom .dropdown-menu > li > a:focus {
		color: #00acd0;
		text-decoration: none;
		background: #bde7fb;
	}
	
	/* ---- Navbar Tools ---- */
	.navbar-custom .dropdown-tools {
		position: absolute;
		padding: 20px 25px 20px 25px;
		margin-left: -190px;
		left: 0;
		z-index: 1000;
		float: left;
		background-color: transparent;
		-webkit-background-clip: padding-box;
		background-clip: padding-box;
		border: none;
		border-radius: 0px;
		-webkit-box-shadow: none;
		box-shadow: none;
		border-bottom-left-radius: 10px;
		border-bottom-right-radius: 10px;
		background: #ffffff;
	}
	
	.navbar-custom .dropdown-tools li {
		
	}
	
	.navbar-custom .dropdown-tools li.heading {
		padding: 12px 0px 2px 0px;
		font-weight: bold;
		text-transform: uppercase;
		margin-top: 4px;
		color: #9b9da0;
		font-size: 11px;
	}
	
	.navbar-custom .dropdown-tools li.heading a {
		font-weight: bold;
	}
	
	.navbar-custom .dropdown-tools li a {
		padding: 2px 0px 2px 0px;
		display: block;
		text-align: left;
		clear: both;
		color: #9b9da0;
		white-space: nowrap;
		font-family: 'Gotham A', 'Gotham B', 'Open Sans', sans-serif;
		font-weight: 300;
		font-size: 11px;
	}
	
	.navbar-custom .dropdown-tools li:last-child a {
		border-bottom-left-radius: 10px;
		border-bottom-right-radius: 10px;
	}
	
	.navbar-custom .dropdown-tools > li > a:hover,
	.navbar-custom .dropdown-tools > li:hover > a,
	.navbar-custom .dropdown-tools > li > a:focus {
		color: #9b9da0;
		text-decoration: none;
		background: none;
	}
	
	/* Desktop Core Utility Styles */
	.vert-middle {
		margin: 0px 10px;
		position: relative;
		top: 50%;
		transform: translateY(-50%);
	}
	
	/* Homepage Hero */
	.hero .hero-slide {
		height: 595px;
	}
	
	.hero .text-overlay {
		height: 535px;
	}

	/* Content Hero */
	.content-hero {
		height: 445px;
	}
	
	/* Section - Intro */
	section.page-intro {
		padding: 60px 150px;
		margin: 30px 60px;
	}
	
	section.page-intro h2 {
		padding: 0px 100px;
	}
}

/* Navbar Menu Breakpoint 
======================================= */
@media (max-width: 992px) {
	.navbar-header {
		float: none;
	}
	.navbar-left,.navbar-right {
		float: none !important;
	}
	.navbar-toggle {
		display: block;
	}
	.navbar-collapse {
		border-top: 1px solid transparent;
		box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
	}
	.navbar-fixed-top {
		top: 0;
		border-width: 0 0 1px;
	}
	.navbar-collapse.collapse {
		display: none!important;
	}
	.navbar-nav {
		float: none!important;
		margin-top: 7.5px;
	}
	.navbar-nav>li {
		float: none;
	}
	.navbar-nav>li>a {
		padding-top: 10px;
		padding-bottom: 10px;
	}
	.collapse.in{
		display:block !important;
	}
	.navbar-nav .open .dropdown-menu {
		position: static;
		float: none;
		width: auto;
		margin-top: 0;
		background-color: transparent;
		border: 0;
		-webkit-box-shadow: none;
		box-shadow: none;
	}
}