@media (max-width:768px) {

html, body {
	margin:0;
	padding:0;
	background-color:#333333;
	width:100%;
	height:100%;
}

.container {
	height:auto;
	width:100%;
	position: relative;
	display:table;
}

.header {
	width:100%;
	height:25%;
	max-height:150px;
	min-height:auto;
	position:relative;
	margin:0 0 10px 0;
	display:table-cell;
}

.logo {
	max-width:500px;
	width:50%;
	height:auto;
	margin:10px 0 5px 10px;
	float:left;
}

.navbar {
	position:relative;
	background-color:#800000;
	padding:5px;
	box-shadow: 0px 3px 1px #222;
	text-align:right;
	width:100%;
	float:right;
	margin:0 0 0 0;
	font-family:Oswald, Verdana, Arial;
	font-size:18px;
}

.navlink, .navlink a:link,  .navlink a:hover, .navlink a:visited, .navlink a:active {
	border-left:5px solid #600000;
	padding:0 30px 0 7px;
	display:inline;
    color:#FFFFFF;
}

.scroller {
	width:100%;
	height:50%;
	min-height:500px;
	max-height:1080px;
	border-top:5px solid #FFF;
	border-bottom:5px solid #FFF;
	position:relative;
	display:table-row;
}

.borders {
	margin:10px 0 0 0;
	border-top:5px solid #FFF;
	border-bottom:5px solid #FFF;
	height:65vh;
	width:100vw;
	overflow:hidden;
	box-shadow: 0 0 15px #000;
}

.bordersbackground {
	height:calc(100% - 4px);
	width:100%;
	position:relative;
	box-shadow: 0px 0px 15px #000;
	background-image:url(../images/1b.jpg);
	background-color:#000;
	background-size:100% cover;
	background-position:center center;
	text-align: center;
	overflow:hidden;
	border-top:2px solid #333333;
	border-bottom:2px solid #333333;
}

.contentarea {
    width:500px;
    margin:20px auto;
    height:auto;
}

.missionstatement, .aboutus, .ratequote, .employmentform {
    width:460px;
    margin:20px;
    vertical-align: top;
    display:inline-block;
    vertical-align: top;
    float:none;
}

.redbar {
    padding:5px 15px;
    background-color:#800000;
    font-family:Oswald, Verdana, Arial;
    font-size:20px;
    color:#FFFFFF;
    position:relative;
    max-width:50%;
    height:auto;
    margin:0;
    text-align:center;
    box-shadow: 0 3px 5px rgba(0,0,0,.5);
}

.bodytext {
    padding:10px 10px 20px 10px;
    color:#000000;
    background-color:white;
    border-radius: 4px;
    margin:-20px 0 0 20px;
    box-shadow: 0 0 5px #000;
}

.textarea {
    margin:-10px 20px 10px 20px;
    text-align:left;
    font-family:Verdana, Arial;
    font-size:16px;
    text-align:left;
    line-height:22px;
}

.imageheader {
    width:100%;
    height:auto;
}

label {
    font-size:12px;
}

#crossfade > img { 
    width: auto;
    height: 100%;
    position: absolute;
    top: 0;
    left:0;
    right:0;
    margin:0 auto;
    color: transparent;
    opacity: 0;
    z-index: 0;
    -webkit-backface-visibility: hidden;
    -webkit-animation: imageAnimation 32s linear infinite 0s;
    -moz-animation: imageAnimation 32s linear infinite 0s;
    -o-animation: imageAnimation 32s linear infinite 0s;
    -ms-animation: imageAnimation 32s linear infinite 0s;
    animation: imageAnimation 32s linear infinite 0s; 
}

#crossfade > img:nth-child(2)  { 
    background-image: url(../images/2.jpg);
    -webkit-animation-delay: 8s;
    -moz-animation-delay: 8s;
    -o-animation-delay: 8s;
    -ms-animation-delay: 8s;
    animation-delay: 8s; 
}
#crossfade > img:nth-child(3) { 
    background-image: url(../images/3.jpg);
    -webkit-animation-delay: 16s;
    -moz-animation-delay: 16s;
    -o-animation-delay: 16s;
    -ms-animation-delay: 16s;
    animation-delay: 16s; 
}
#crossfade > img:nth-child(4) { 
    background-image: url(../images/4.jpg);
    -webkit-animation-delay: 24s;
    -moz-animation-delay: 24s;
    -o-animation-delay: 24s;
    -ms-animation-delay: 24s;
    animation-delay: 24s; 
}

@-webkit-keyframes imageAnimation { 
    0% { opacity: 0;
    -webkit-animation-timing-function: ease-in; }
    8% { opacity: 1;
         -webkit-animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}

@-moz-keyframes imageAnimation { 
    0% { opacity: 0;
    -moz-animation-timing-function: ease-in; }
    8% { opacity: 1;
         -moz-animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}

@-o-keyframes imageAnimation { 
    0% { opacity: 0;
    -o-animation-timing-function: ease-in; }
    8% { opacity: 1;
         -o-animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}

@-ms-keyframes imageAnimation { 
    0% { opacity: 0;
    -ms-animation-timing-function: ease-in; }
    8% { opacity: 1;
         -ms-animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}

@keyframes imageAnimation { 
    0% { opacity: 0;
    animation-timing-function: ease-in; }
    8% { opacity: 1;
         animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}

}