
/*
* === MINIFIED 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,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}

/*
* === FOR THE OLDER BROWERS ===
*/

html, body {
	width: 100%;
	height:100%;
	margin:0;
	padding: 0;
	font-size: 62.5%;
	font-family: 'Roboto Slab Regular', sans-serif;
}

/*
* === Common ===
*/

.bold {
	font-family: 'Roboto Slab Bold';
}

a { text-decoration: none; color: #a31b1b; transition: all 0.25s; }
a:visited { text-decoration: none; color: #a31b1b; }
a:hover { text-decoration: none; color: #fff;}
a:active { text-decoration: none; color: #fff; }

/*
* === Hero ===
*/

#hero {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/hero-1024.jpg', sizingMethod='scale');
		-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/hero-1024.jpg', sizingMethod='scale')";
        background: url(../img/hero-1024.jpg) no-repeat left center scroll;
    }

@media screen and (min-width: 1367px) { /* Displays above 1366px width */
    #hero {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/hero-1920.jpg', sizingMethod='scale');
		-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/hero-1920.jpg', sizingMethod='scale')";
        background: url(../img/hero.jpg) no-repeat center center scroll;
    }
}

@media screen and (min-width: 1025px) and (max-width:1366px) { /* Displays between 1024 and 1366px width */
    #hero {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/hero-1366.jpg', sizingMethod='scale');
		-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/hero-1366.jpg', sizingMethod='scale')";
        background: url(../img/hero-1366.jpg) no-repeat left center scroll;
    }
}

@media screen and (max-width:1024px) { /* Displays below 1024px width */
    #hero {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/hero-1024.jpg', sizingMethod='scale');
		-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/hero-1024.jpg', sizingMethod='scale')";
        background: url(../img/hero-1024.jpg) no-repeat center center scroll;
    }
}

@media all and (-webkit-min-device-pixel-ratio: 2) { /**  RETINA IMAGES **/
	#hero {
		background: url(../img/hero.jpg) no-repeat left center scroll;
	}
}

#hero {
	position: relative;
  	padding-bottom: 25px;
  	min-height:100%;
	height: 100vh;
	width:100%;
  	z-index: 100;
  	background-color: #000;
  	background-size: cover;
  	font-family: "DIN Condensed", "Alte DIN 1451";
}

#hero_mob {
	display: none;
}

#hero-top-bar {
	height:90px;
	width: 100%;
	position: relative;
	background-color: #232b31;
}

#hero-top-bar-logo {
	display: inline-block;
	*zoom: 1;
	*display: inline;
	position: absolute;
	left:5%;
	top:5px;
	width:175px;
}

#hero-nav {
	display: inline-block;
	*zoom: 1;
 	*display: inline;
 	position: absolute;
	left:15%;
	top:5px;
	font-size: 20px;
	font-size: 2rem;
}

#hero-nav .fa {
	color: #fff;
	font-size: 1.6rem;
}

#hero-nav li {
	display: inline-block;
	*zoom: 1;
 	*display: inline;
 	height:85px;
 	line-height: 85px;
	margin: 0 10px 0px 10px;
}

#hero-shop-banner {
	width: 60px;
	height:92px;
	display: inline-block;
	*zoom: 1;
 	*display: inline;
 	position: absolute;
	right:5%;
	top:0px;
	background-color: #a31b1b;
	text-align: center;
	font-size: 14px;
	font-size: 1.4rem;
}

#hero-shop-banner:after {
    content:'';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -30px;
    width: 0;
    height: 0;
    border-top: solid 15px #a31b1b;
    border-left: solid 30px transparent;
    border-right: solid 30px transparent;
}

#hero-shop-banner img {
	margin-top:49px;
	margin-bottom: 5px;
}

#hero-tagline {
	display: none;
	color: #a31b1b;
	text-transform: uppercase;
	font-size: 100px;
	font-size: 10rem;
	width: 100%;
	text-align: center;
	position: relative;
	top:10%;
}

#hero-phone a { color: #fff; }

#hero-more {
	color: #fff;
	border: 1px solid #fff;
	padding: 0 40px;
	margin: 0 auto;
	width:275px;
	text-align: center;
	font-size: 20px;
	font-size: 2rem;
	text-transform: uppercase;
	height:60px;
	line-height: 65px;
	position: relative;
	top:70%;
}

#hero-nav a { text-decoration: none; color: #fff; transition: all 0.25s; }
#hero-nav a:visited { text-decoration: none; color: #fff; }
#hero-nav a:hover { text-decoration: none; color: #a31b1b;}
#hero-nav a:active { text-decoration: none; color: #a31b1b; }

#hero-shop-banner a { text-decoration: none; color: #000; transition: all 0.25s; }
#hero-shop-banner a:visited { text-decoration: none; color: #fff; }
#hero-shop-banner a:hover { text-decoration: none; color: #fff;}
#hero-shop-banner a:active { text-decoration: none; color: #fff; }

#hero-more a { text-decoration: none; color: #232b31; transition: all 0.25s; }
#hero-more a:visited { text-decoration: none; color: #232b31; }
#hero-more a:hover { text-decoration: none; color: #a31b1b;}
#hero-more a:active { text-decoration: none; color: #a31b1b; }

@media screen and (max-width: 620px) {
	
	#hero {
		background: none;
		height: auto;
		min-height: auto;
		padding-bottom: 0;
	}

	#hero_mob {
		display: block;
	}

	#hero-top-bar {
		height: auto;
	}
	#hero-top-bar-logo {
	display: block;
	position: static;
	width:175px;
	margin: 0 auto;
	padding: 20px 0;
	}
    #hero-nav {
        position: static;
        display: block;
        width:100%;
        text-align: center;
    }
    #hero-shop-banner {
    	display: none;
    }
    #hero-more {
    	width: 60%;
    	height:auto;
    }
    #hero-tagline {
    	top:45%;
		font-size: 6rem;
    }
    #hero-more {
    	display: none;
    }

    #hero-nav li.mob_no {
    	display: none;
    }
}

@media screen and (max-width: 500px) {
	#hero-tagline {
    	top:30%;
		font-size: 4rem;
    }
}

/*
* === ABOUT ===
*/

#rpm-about {
	width: 100%;
	background-color: #fff;
	color: #000;
}

#about-title {
	width: 100%;
	text-align: center;
	font-family: "DIN Condensed", "Alte DIN 1451";
	font-size: 50px;
	font-size: 5rem;
	margin: 80px 0;
}

#about-text {
	width:80%;
	margin: 0 auto;
	font-size: 18px;
	font-size: 1.8rem;
	font-family: 'Roboto Slab Light';
}

#about-stats {
	width:80%;
	margin: 50px auto;
	font-size: 18px;
	font-size: 1.8rem;
	font-family: 'Roboto Slab Light';
	text-align: center;
}

.about-stats-block {
	width: 45%;
	display: inline-block;
	*zoom: 1;
 	*display: inline;
 	vertical-align: top;
}

#about-stats-pitches {
	padding-top: 20px;
}

#about-stats-pitches img {
	float: left;
	padding-right: 15px;
	margin-top: -20px;
}

@media screen and (max-width: 620px) {
	.about-stats-block {
		width: 100%;
		margin: 20px 0;
		text-align: center;
	}
	#about-stats-pitches img {
		display: block;
		float:initial;
		margin: 0;
		padding:0;
	}
}

/*
* === Success ===
*/

#rpm-success {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/success-1024.jpg', sizingMethod='scale');
		-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/success-bg-1024.jpg', sizingMethod='scale')";
        background: url(../img/success-bg-1024.jpg) no-repeat center center scroll;
    }

@media screen and (min-width: 1367px) { /* Displays above 1366px width */
    #rpm-success {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/success-bg-1920.jpg', sizingMethod='scale');
		-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/success-bg-1920.jpg', sizingMethod='scale')";
        background: url(../img/success-bg.jpg) no-repeat center center scroll;
    }
}

@media screen and (min-width: 1025px) and (max-width:1366px) { /* Displays between 1024 and 1366px width */
    #rpm-success {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/success-bg-1366.jpg', sizingMethod='scale');
		-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/success-bg-1366.jpg', sizingMethod='scale')";
        background: url(../img/success-bg-1366.jpg) no-repeat center center scroll;
    }
}

@media screen and (max-width:1024px) { /* Displays below 1024px width */
    #rpm-success {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/success-bg-1024.jpg', sizingMethod='scale');
		-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/success-bg-1024.jpg', sizingMethod='scale')";
        background: url(../img/success-bg-1024.jpg) no-repeat center center scroll;
    }
}

@media all and (-webkit-min-device-pixel-ratio: 2) { /**  RETINA IMAGES **/
	#rpm-success {
		background: url(../img/success-bg.jpg) no-repeat center center scroll;
	}
}

#rpm-success {
  	padding-bottom: 25px;
  	min-height:100%;
	min-height: 100vh;
	width:100%;
  	z-index: 100;
  	background-color: #000;
  	background-size: cover;
  	font-family: "DIN Condensed", "Alte DIN 1451";
}

#success-content {
	width: 80%;
	margin: 0 auto;
	padding-bottom: 100px;
}

#success-content ul {
	margin-top: 10px;
}

#success-content ul li {
	list-style-type: circle;
	margin-left: 20px;
	margin-top:2px;
}

#success-content hr {
	width: 30%;
}

#success-title {
	padding: 80px 0 20px 0;
	color: #fff;
	font-family: "DIN Condensed", "Alte DIN 1451";
	font-size: 60px;
	font-size: 6rem;
}

#rpm-success hr {
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
}

.success-text {
	padding: 60px 0;
	width: 80%;
	color: #fff;
	font-size: 18px;
	font-size: 1.8rem;
	font-family: 'Roboto Slab Light';
}

.success-text p {
	padding-bottom: 10px;
}

.success-block {
	width: 30%;
	min-height: 420px;
	display: inline-block;
	*zoom: 1;
 	*display: inline;
 	vertical-align: top;
 	font-size: 18px;
	font-size: 1.8rem;
	font-family: 'Roboto Slab Light';
	color: #fff;
	text-align: justify;
}

.success-block-title {
	font-size: 50px;
	font-size: 5rem;
	font-family: "DIN Condensed", "Alte DIN 1451";
}

.success-block hr {
	width: 30%;
}

.success-block:nth-child(4) {
	padding-right: 15px;
}

.success-block:nth-child(5) {
	padding: 0 15px;
	border-left:1px solid white;
	border-right:1px solid white;
}

.success-block:nth-child(6) {
	padding-left: 15px;
}

.success-block hr {
	margin: 20px 0;
}

@media screen and (max-width: 820px) {
	#success-text {
		width: 100%;
	}
	.success-block {
		width: 100%;
		margin-bottom: 50px;
		height: auto;
	}
	.success-block:nth-child(5) {
		padding: 0;
		border:0;
	}
	.success-block:nth-child(6) {
	padding-left: 0;
	}
}

/*
* === Safety Awareness Training ===
*/

#safety-awareness {
	width: 100%;
	padding: 0 10%;
	background-color: #f0f0f0;
	position: relative;
	text-align: left;
	font-size: 20px;
	box-sizing: border-box;
}

#safety-awareness p {
	margin: 20px 0;
}

#safety-awareness .safety-subtitle {
	font-size: 3rem;
	margin: 10px 0;
}

#safety-awareness ul {
	list-style-type: circle;
}

#safety-awareness ul li {
	padding: 4px 0;
	margin-left: 22px;
}
/*
* === Machines for Sale ===
*/

#rpm-machines-for-sale {
	width: 100%;
	background-color: #f0f0f0;
	position: relative;
	text-align: center;
	font-size: 20px;
}

.machine-for-sale-desc:nth-child(odd) {
	margin-top:25px;
	padding-top: 120px;
	position: relative;
}

.machine-for-sale-desc:nth-child(odd):before {
	content: "\268B \268B \268B \268B \268B";
	font-size: 200px;
	font-size: 20rem;
	position: absolute;
	top:-120px;
	margin-left: -280px;
}

.for-sale-title {
	padding: 80px 0 10px 0;
	color: #000;
	font-family: "DIN Condensed", "Alte DIN 1451";
	font-size: 60px;
	font-size: 6rem;
}

#rpm-machines-for-sale li {
	font-size: 14px;
	margin: 2px 0;
}

#rpm-machines-for-sale img {
	padding: 10px;
}

@media screen and (max-width: 420px) {
	#rpm-machines-for-sale img {
		width: 80%;
	}
}

/*
* === Contact ===
*/

#contact-rpm {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/contact-1024.jpg', sizingMethod='scale');
		-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/contact-bg-bg-1024.jpg', sizingMethod='scale')";
        background: url(../img/contact-bg-1024.jpg) no-repeat center center scroll;
    }

@media screen and (min-width: 1367px) { /* Displays above 1366px width */
    #contact-rpm {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/contact-bg-1920.jpg', sizingMethod='scale');
		-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/contact-bg-1920.jpg', sizingMethod='scale')";
        background: url(../img/contact-bg.jpg) no-repeat center center scroll;
    }
}

@media screen and (min-width: 1025px) and (max-width:1366px) { /* Displays between 1024 and 1366px width */
    #contact-rpm {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/contact-bg-1366.jpg', sizingMethod='scale');
		-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/contact-bg-1366.jpg', sizingMethod='scale')";
        background: url(../img/contact-bg-1366.jpg) no-repeat center center scroll;
    }
}

@media screen and (max-width:1024px) { /* Displays below 1024px width */
    #contact-rpm {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/contact-bg-1024.jpg', sizingMethod='scale');
		-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/contact-bg-1024.jpg', sizingMethod='scale')";
        background: url(../img/contact-bg-1024.jpg) no-repeat center center scroll;
    }
}

@media all and (-webkit-min-device-pixel-ratio: 2) { /**  RETINA IMAGES **/
	#contact-rpm {
		background: url(../img/contact-bg.jpg) no-repeat center center scroll;
	}
}

#contact-rpm {
  	padding-bottom: 25px;
  	min-height:500px;
	width:100%;
  	z-index: 100;
  	background-color: #000;
  	background-size: cover;
  	font-family: "DIN Condensed", "Alte DIN 1451";
}

#contact-content {
	width: 80%;
	margin: 0 auto;
	text-align: center;
}

#contact-title {
	padding: 80px 0 10px 0;
	color: #fff;
	font-family: "DIN Condensed", "Alte DIN 1451";
	font-size: 60px;
	font-size: 6rem;
}

#contact-subtitle {
	padding: 0px 0 20px 0;
	color: #777777;
	font-family: "Roboto Slab Regular";
	font-size: 18px;
	font-size: 1.8rem;
}

.contact-block {
	display: inline-block;
	*display: inline;
	*zoom:1;
	width: 350px;
	vertical-align: top;
}

.contact-block input[type="text"], input[type="email"], input[type="number"] {
	font-size: 18px;
	background: #fff;
	border: 0;
	text-align: left;
	width:90%;
	height:40px;
	border-radius: 5px;
	padding: 10px;
	margin-bottom: 20px;
}

.contact-block textarea {
	font-size: 18px;
	background: #fff;
	border: 0;
	text-align: left;
	width:90%;
	height:200px;
	border-radius: 5px;
	padding: 10px;
	margin-bottom: 20px;

}

.submit-contact-form-button {
	width:150px;
	height:60px;
	margin: 20px auto;
	line-height: 60px;
	text-align: center;
	font-family: 'Roboto Slab Regular';
	font-size: 20px;
	font-size: 2rem;
	color: #fff;
	background-color: #a31b1b;
	border-radius: 5px;
	border: 1px solid #a31b1b;
	transition: all 0.5s;
}

.submit-contact-form-button:hover {
	background-color: transparent;
	color: #a31b1b;
	border: 1px solid #fff;
	cursor: pointer;
}

#submitErrors {
        display: none;
        color: red;
        margin-top: 0.5vh;
        font-family: 'Roboto Slab Light';
    }

#email-success {
	width: 100%;
	padding-top: 0;
	text-align: center;
	font-size: 18px;
	font-size: 1.8rem;
	color: #fff;
}

@media screen and (max-width: 420px) {
	.contact-block {
		width: 100%;
	}
}

#street-address {
	width: 80%;
	margin: 20px auto;
	color: #fff;
	text-align: center;
	font-size: 22px;
}

/*
* === Clients ===
*/

#rpm-clients {
	width: 100%;
	height:20vw;
  	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/clients.png', sizingMethod='scale');
	-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/clients.png', sizingMethod='scale')";
        background: url(../img/clients.png) no-repeat center center scroll;
}

@media (max-width: 1024px) {
  #rpm-clients {
  display:none;
  }
}

/*
* === FOOTER ===
*/

#footer {
	width: 100%;
	background-color: #f0f0f0;
	font-family: 'Roboto Slab Regular';
	font-size: 18px;
	font-size: 1.8rem;
	text-align: center;
}

.footer-block {
	display: inline-block;
	*display: inline;
	*zoom:1;
	height: 80px;
	line-height: 80px;
	vertical-align: middle;
	transition: all 0.5s;
	text-align: center;
}

#facebook-link {
	margin: 15px 40px;
	width:50px;
	height:50px;
	border-radius: 25px;
	border: 1px solid #f1f1f1;
	background-color: #1f1f1f;
	color: #fff;
	transition: all 0.5s;
	line-height: 50px;
	font-size: 22px;
}

#facebook-link:hover {
	border: 1px solid #1f1f1f;
	background-color: #f0f0f0;
	color: #1f1f1f;
	cursor: pointer;
}

.footer-block a { color: #a31b1b; text-decoration: none;}
.footer-block a:visited { color: #a31b1b; text-decoration: none;}
.footer-block a:hover { color: #a31b1b; text-decoration: underline;}
.footer-block a:active { color: #a31b1b; text-decoration: underline;}

#facebook-link a { color: #fff; text-decoration: none;}
#facebook-link a:visited { color: #fff; text-decoration: none;}
#facebook-link a:hover { color: #1f1f1f; text-decoration: none;}
#facebook-link a:active { color: #1f1f1f; text-decoration: none;}

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

	.footer-block {
		display: block;
		height: auto;
	}
	#facebook-link {
		margin: 0 auto;
		padding: 0;
	}
}

/*
* === Privacy & Terms ===
*/

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  text-align: left;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 70px auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 30%;
  position: relative;
  transition: all 5s ease-in-out;
  font-size:16px;
  max-height: calc(100vh - 210px);
  overflow-y: auto;
}

.popup h2 {
	font-size: 24px;
	margin: 8px 0;
}

.popup h3 {
	font-size: 20px;
	margin: 8px 0;
}

.popup p {
	margin: 4px 0;
}

.popup .close {
  position: absolute;
  top: 15px;
  right: 15px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup .close:hover {
  color: #a31b1b;
}
.popup .content {
  max-height: 60%;
}

.popup .content ul {
	margin-top: 4px;
	margin-left: 20px;
}

.popup .content ul li {
	list-style-type: circle;
	margin-left: 20px;
	margin-top:2px;
}

.overlay a:hover { text-decoration: none; color: #c3c3c3;}
.overlay a:active { text-decoration: none; color: #c3c3c3; }

@media screen and (max-width: 700px){
  .box{
    width: 70%;
  }
  .popup{
    width: 70%;
  }
}

/*
* === FONTS ===
*/

@font-face {
    font-family: 'Roboto Slab Light';
    src: url('../fonts/RobotoSlab-Light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto Slab Regular';
    src: url('../fonts/RobotoSlab-Regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto Slab Bold';
    src: url('../fonts/RobotoSlab-Bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Alte DIN 1451';
    src: url('../fonts/din1451alt_g-webfont.woff2') format('woff2'),
         url('../fonts/din1451alt_g-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}