#menu-button-container {
	display: none;
	position: absolute;
	right: 10px;
	margin-top: -29px;
	top: 50%;
	z-index: 999;
}
@media all and (max-width: 1600px) {
	.rslides_nav.next {
		right: 20px;
	}

	.rslides_nav.prev {
		left: 20px;
	}
}

@media all and (max-width: 1550px) {
	.featured-course.subtitle {
		font-size: 20pt;
		font-weight: lighter;
	}
}


@media all and (max-width: 1250px) {
	#logo {
		width: 380px;
		padding: 42px 0;
	}

	ul#menu a {
		font-size: 12pt;
	}
}

@media all and (max-width: 1100px) {
	.rslides_nav.prev, .rslides_nav.next {
		top: 50%;
	}
}
/*
	###########
	Start ipad-mini style
	###########
*/

@media all and (max-width: 1100px) {

	body {
		font-size: 11pt;
	}

	.btn {
		font-size: 11pt;
	}

	#menu-button-container {
		display: block;
	}

	.menu-trigger {
		/*visibility: none;*/
	}

	button.menu-trigger {
		background: #000000;
		border: none;
		cursor: pointer;
		display: inline-block;
		height: 48px;
		margin-top: 5px;
		overflow: hidden;
		outline: none;
		position: absolute;
		right: 0px;
		top: 50%;
		text-indent: -900em;
		vertical-align: top;
		width: 48px;
	}

	button.menu-trigger:hover {
		menu-trigger: #aaa;
	}

	button.menu-trigger:after {
		content: '';
		position: absolute;
		width: 68%;
		height: 4px;
		background: #ffffff;
		top: 12px;
		left: 16%;
		box-shadow:
		0 10px 0 #ffffff,
		0 20px 0 #ffffff;
		border-radius: 1px;
	}

	#navigation {
		display: none;
		height: auto;
		left: 0;
		margin: 0px;
		padding: 0px;
		position: absolute;
		text-align: left;
		top: 100px;
		width: 100%;
		z-index: 9999;
	}

	#navigation.open {
		display: block;
	}

	#top-buttons {
		display: none;
	}

	#logo {
		width: 380px;
		padding: 17px 0;
	}

	#header {
		height: 100px;
	}

	.user-pf-mobile {
		display: block!important;
	}

	ul#menu {
		border: 0px;
		height: auto;
		list-style-type: none;
		margin: 0px;
		padding: 0px;
		width: 100%;
	}

	ul#menu > li {
		width: 100%;
	}

	ul#menu > li > a > span {
		display: block;
		padding: 0;
	}

	ul#menu ul {
		border: 0px;
		display: block;
		left: 0px;
		list-style-type: none;
		margin: 0px;
		padding: 0px;
		top: 0px;
		position: relative;
		width: 100%;
	}

	ul#menu ul li {
		display: block;
		float: none;
		text-align: left;
		width: 100%;
	}

	ul#menu li {
		display: block;
		float: none;
		height: auto;
	}

	ul#menu li:hover li a,
	ul#menu li.iehover li a {
		background-color: #ffffff;
		color: #000000;
		float: none;
		height: auto;
		line-height: 1.2em;
		padding: 15px 15px 15px 35px;
		text-align: left;
		text-decoration: none;
	}

	ul#menu li:hover li a:hover,
	ul#menu li:hover li:hover a,
	ul#menu li.iehover li a:hover,
	ul#menu li.iehover li.iehover a {
		background-color: #ffffff;
		color: #000000;
					}

	ul#menu li.current a {
		background-color: #ffffff;
		color: #000000;
	}

	ul#menu li ul a {
		padding-left: 35px;
		color: #ffffff;

	}

	ul#menu li a {
		background-color: #000000;
		color: #ffffff;
		display: block;
		font-size: 13pt;
		height: auto;
		letter-spacing: 2px;
		line-height: 1.2em;
		padding: 15px;
		text-align: left;
		text-decoration: none;
		text-transform: uppercase;
	}

	ul#menu li:hover li a,
	ul#menu li.iehover li a {
		border: 0px;
		font-size: 13pt;
	}

	ul#menu li.current > a:hover,
	ul#menu li.current:hover > a,
	ul#menu li.iehover.current > a {
		background-color: #ffffff;
		color: #000000;
		}

	ul#menu li.current ul li a {
		background-color: #000000;
		color: #ffffff;
	}

	ul#menu li.current ul li a {
		background-color: #000000;
		color: #ffffff;
	}

	ul#menu a:hover,
	ul#menu li:hover a,
	ul#menu li.iehover a {
		background-color: #ffffff;
		color: #000000;
		padding-bottom: 15px;
	}

	ul#menu li:hover li a,
	ul#menu li.iehover li a {
		background-color: #ffffff;
		color: #000000;
		padding: 15px 15px 15px 35px;
	}

	ul#menu li:hover li.current a,
	ul#menu li.iehover li.current a {
		color: #ffffff;
	}

	#content {
		padding: 15px;
	}

	img.left {
		margin: 0px 15px 15px 0px;
		max-width: 415px;
	}

	img.right {
		margin: 0px 0px 15px 15px;
		max-width: 415px;
	}

	div.right {
		margin: 0px 0px 15px 15px;
		max-width: 415px;
	}

	.slideshow-title {
		font-size: 30pt;
	}

	.slideshow-subtitle {
		font-size: 30pt;
	}

	#slideshow {
		height: 500px;
	}

	div.section-container {
		padding: 30px 0;
	}
}

@media all and (max-width: 987px) {


	#corporate-map {
		background-image: url('https://maps.googleapis.com/maps/api/staticmap?center=6566+Ellis+Road,+Cambridge,+On,+CANADA&zoom=14&scale=false&size=470x320&maptype=roadmap&format=png&visual_refresh=true&style=saturation:-100%7Cgamma: 0.52&markers=icon:http://dev.canadiansafetygroup.com/shared/skins/default/images/corporate-office-label.png%7C43.430032,-80.270113');
		height: 320px;
		max-width: 100%;
	}

	#st-catharines-map {
		background-image: url('https://maps.googleapis.com/maps/api/staticmap?center=52+Scott+St+West,+St.Catharines,+On,+CANADA&zoom=15&scale=false&size=470x300&maptype=roadmap&format=png&visual_refresh=true&style=saturation:-100%7Cgamma: 0.52&markers=color:red%7Clabel:S%7C43.176836,-79.262230');
		height: 320px;
		max-width: 100%;
	}

	#course-container {
		padding: 0px;
	}

	#upcoming-course-container {
		padding: 20px 0;
	}
}


@media all and (max-width: 768px) {

	/*--- NAVIGATION ---*/
	img.left {
		max-width: 315px;
	}

	img.right {
		max-width: 315px;
	}

	div.right {
		max-width: 315px;
	}

	#corporate-map {
		background-image: url('https://maps.googleapis.com/maps/api/staticmap?center=6566+Ellis+Road,+Cambridge,+On,+CANADA&zoom=14&scale=false&size=729x220&maptype=roadmap&format=png&visual_refresh=true&style=saturation:-100%7Cgamma: 0.52&markers=icon:http://dev.canadiansafetygroup.com/shared/skins/default/images/corporate-office-label.png%7C43.430032,-80.270113');

		height: 200px;
		max-width: 100%;
	}

	#st-catharines-map {
		background-image: url('https://maps.googleapis.com/maps/api/staticmap?center=52+Scott+St+West,+St.Catharines,+On,+CANADA&zoom=15&scale=false&size=729x200&maptype=roadmap&format=png&visual_refresh=true&style=saturation:-100%7Cgamma: 0.52&markers=color:red%7Clabel:S%7C43.176836,-79.262230');
		height: 200px;
		max-width: 100%;
	}

	#corporate-map,
	#st-catharines-map {
		margin: 10px 0;
	}

	div.blog-list-item-info {
		margin-top: 20px;
	}

	.featured-course.subtitle {
		font-size: 16pt;
	}

	div.service-option-container {
		margin: 20px 0;
		padding-left: 0;
	}

	div.service-option-image-container {
		margin: 10px 0;
		padding: 0;
	}

	h2.month-title {
		font-size: 13pt;
	}

	div.event-day {
		font-size: 16pt;
		min-height: 55px;
	}

	div.event-list-item {
		padding: 5px;
	}

	div.event-title {
		font-size: 12pt;
	}

	#event-search span {
		display: block;
		font-size: 15pt;
	}

	div#event-search {
		text-align: left;
	}

	div.calendar-day {
		padding: 1px;
	}

	div.calendar-week.heading div.calendar-day {
		font-size: 10pt;
		word-break: break-all;
	}

	div.calendar-day-container {
		height: 70px;
	}

	div.calendar-day-number {
		font-size: 18pt;
	}

	span.calendar-day-count {
		background-image: url( ../images/notification.png );
		background-repeat: no-repeat;
		background-position: center;
		background-size: 12px;
		height: 12px;
		text-indent: -9999px;
		text-align: left;
		width: 12px;
	}

	span.calendar-heading-long {
		display: none;
	}

	span.calendar-heading-short {
		display: block;
	}

	#event-search span {
		display: block;
	}

	#event-search .btn {
		margin: 0;
	}

	#event-search select, select.form, input.form[type="text"], textarea.form, form.notify select, form.notify input[type="text"], form.notify textarea {
		padding: 10px 10px;
	}

	div#myaccount-menu {
		padding: 10px 0;
	}

	div.field {
		margin-bottom: 5px;
	}

	legend {
		margin-bottom: 10px
	}
}

	/*
		###########
		Start mobile style
		###########
	*/
@media all and (max-width: 675px) {

	h1,
	div.blog-view-container h1 {
		font-size: 22pt;
	}

	h2 {
		font-size: 16pt;
	}

	legend {
		font-size: 16pt;
	}

	h3,
	div.blog-list-item-info h3 {
		font-size: 16pt;
	}

	blockquote {
		margin: 0;
	}

	div.section-title.inside h1 {
		font-size: 22pt;
	}

	div.section-title.banner h1 {
		font-size: 20pt;
	}

	.featured-course-list.title {
		font-size: 12pt;
	}

	#content hr {
		margin: 20px 0px;
	}

	div.contact-form {
		width: auto;
	}

	div.contact-information {
		float: none;
		width: auto;
	}

	div.right {
		max-width: 675px;
	}

	.slideshow-title {
		font-size: 20pt;
		padding-bottom: 5px;
	}

	.slideshow-subtitle {
		font-size: 20pt;
	}

	#slideshow {
		height: 400px;
	}

	.rslides_nav.prev, .rslides_nav.next {
		top: 41%;
	}

	div.section-container {
		padding: 15px 0;
	}

	.featured-course.title,
	.featured-blog.title {
		font-size: 14pt;
		letter-spacing: 7px;
	}

	.featured-course-container {
		margin: 10px 0;
		padding: 0;
	}

	.key-feature {
		margin: 10px 0;
	}

	.featured-blog.description {
		padding: 0;
	}

	.table,
	.table tr,
	.table td,
	.table th,
	.table tfoot,
	.table tbody,
	.table thead {
		display: block;
		text-align: left!important;
	}

	.table {
		padding: 0!important;
	}

	.table thead {
		display: none;
	}

	.table tfoot {
		background-color: #eee;
	}

	.table td,
	.table th {
		padding: 1px 0;
		word-break: normal;
		width: 100%!important;
	}

	.table tr {
		padding: 5px 0;
	}

	.table td {
		padding: 5px 10px!important;
		font-weight: normal!important;
		font-size: 10pt!important;
	}

	.table td:before {
		font-weight: bold;
	}

	.table td a.btn {
		margin: 0px!important;
	}


	/* training records table */

	.table#recordList tr td:nth-of-type(1):before {
		content: "ID";
		display: block;
	}

	.table#recordList tr td:nth-of-type(2):before {
		content: "User";
		display: block;
	}

	.table#recordList tr td:nth-of-type(3):before {
		content: "Course";
		display: block;
	}

	.table#recordList tr td:nth-of-type(4):before {
		content: "Company";
		display: block;
	}

	.table#recordList tr td:nth-of-type(5):before {
		content: "Course Date";
		display: block;
	}

	.table#recordList tr td:nth-of-type(6):before {
		content: "Course Expiry";
		display: block;
	}

/*	.table#recordList tr td:nth-of-type(4):before {
		content: "Book";
		display: block;
	}*/


}
@media all and (max-width: 500px) {

	div.field div.input {
		margin-left: 0;
	}
	div.field label {
		text-align: left;
		width: 100%;
		margin-bottom: 4px;
	}
	input#o-event_payment_postal_code {
		width: 150px!important;
	}
}


	/*
		###########
		Start iphone style
		###########
	*/
@media all and (max-width: 500px) {

	body#home .wrapper,
	body#events .wrapper {
		padding: 0 10px;
	}

	#navigation {
		display: none;
		height: auto;
		left: 0;
		margin: 0px;
		padding: 0px;
		position: absolute;
		text-align: left;
		top: 70px;
		width: 100%;
		z-index: 9999;
	}

	#navigation.open {
		display: block;
	}

	#top-buttons {
		display: none;
	}

	#logo {
		width: 220px;
		padding: 15px 0;
	}

	#header {
		height: 70px;
	}

	.btn {
		padding: 8px 10px;
		letter-spacing: 1px;
		font-size: 10pt;
	}

	.rslides_nav.prev, .rslides_nav.next {
		top: 35%;
	}

	div.our-motto,
	.featured-course.title,
	.featured-blog.title {
		font-size: 11pt;
		letter-spacing: 4px;
	}

	.featured-course.subtitle,
	.featured-blog.subtitle {
		font-size: 16pt;
		min-height: 50px;
	}

	#corporate-map {
		background-image: url('https://maps.googleapis.com/maps/api/staticmap?center=6566+Ellis+Road,+Cambridge,+On,+CANADA&zoom=14&scale=false&size=400x220&maptype=roadmap&format=png&visual_refresh=true&style=saturation:-100%7Cgamma: 0.52');
		height: 200px;
		max-width: 100%;
	}


	#corporate-map img.map-marker {
		left: 35%;
		top: 34%;
		width: 150px;
	}

	#st-catharines-map {
		background-image: url('https://maps.googleapis.com/maps/api/staticmap?center=52+Scott+St+West,+St.Catharines,+On,+CANADA&zoom=15&scale=false&size=400x200&maptype=roadmap&format=png&visual_refresh=true&style=saturation:-100%7Cgamma: 0.52');
		height: 200px;
		max-width: 100%;
	}


	#st-catharines-map img.map-marker {
		left: 35%;
		top: 31%;
		width: 150px;
	}

	div.event-location span, div.event-course span, div.event-start span, div.event-end span {
		margin-left: 0;
	}
	div.event-location strong, div.event-course strong, div.event-start strong, div.event-end strong {
		float: none;
	}


}
@media all and (max-width: 400px) {

	div.our-motto,
	.featured-course.title,
	.featured-blog.title {
		font-size: 8pt;
		letter-spacing: 4px;
	}

	.btn {
		padding: 8px 10px;
		letter-spacing: 1px;
		font-size: 9pt;
	}

	table {
		font-size: 9pt!important;
	}

	div.calendar-week.heading div.calendar-day {
		font-size: 8pt;
	}

}
