/* ====================== */
/* ! Mobile Style Sheet   */
/* ====================== */

/* Smaller screens */

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

}


/* Mobile */

@media handheld, only screen and (max-width: 767px) {
	
	body {
		-webkit-text-size-adjust: none;
	}
	
	header {
		padding:2px 3%;
		width: 94%;
		height:auto;
	}
	
	header .toplink{
		/*line-height:34px;
		text-align:center*/
	}

	#logo, #header-area {
		width: 100%;
		min-width: 0;
		margin-left: 0px;
		margin-right: 0px;
		padding-left: 0px;
		padding-right: 0px;
	}
	
	#logo {
		/*margin-bottom:3%;
		text-align:center;*/
	}
	
	#logo a{padding-left:0}
	
	#logo img{
    	max-width:96%;
	}
	#logo:after{background:none}
	
	.logo_gap{display:none}
	
	a#logo-text {
		margin-top: -20px!important;
	}
	header .toplink a {
		font-size: 10px;
		margin: 0 5px;
	}
	#header-area {
		max-width:100%;
		text-align:left;
	}
	#header-area form {
		margin-bottom:10px;
	}
	
	nav {
		padding:0;
	}
	.sf-menu {
		float:none;
	}
	nav ul li {
		float:none!important;
		border-top:1px solid #444;
	}
	nav ul li:first-child, nav ul li li {
		border-top:none!important;
	}
	nav ul li a {
		font-size:1.1em;
		padding:0.75em 1em !important;
	}
	nav li li a {
		padding:1em 1.25em !important;
	}
	#mobile-nav-btn {
        display: block;
    }
    .mobnav-subarrow {
        display: block;
        background-color: #111;
        opacity: .3;
        border-bottom: 1px solid white;
        border-top: 1px solid black;
        height: 20px;
        width: 30px;
        background-position: top left!important;
        position: absolute;
        top: 7px;
        right: 10px;
        -webkit-border-radius: 5px;
        border-radius: 5px;
        cursor: pointer;
        -webkit-border-radius: 5px;
        border-radius: 5px;
        cursor: pointer;
        -webkit-transition: all .1s ease-in-out;
        -moz-transition: all .1s ease-in-out;
        -ms-transition: all .1s ease-in-out;
        -o-transition: all .1s ease-in-out;
        transition: all .1s ease-in-out;
    }
    .sf-menu {
        width: 100%!important;
        display: none;
    }
    .sf-menu.xactive {
        display: block!important;
    }
    .sf-menu li {
        float: none!important;
        display: block!important;
        width: 100%!important;
    }
    .sf-menu li a {
        float: none!important;
    }
    .sf-menu ul {
        position:static!important;
        display: none!important;
		opacity:1!important;
		box-shadow:none!important;
    }
    .xpopdrop > ul {
        display: block!important;
    }
	.sf-arrows .sf-with-ul:after {
		border:none;
	}
	
	.col_1, .col_2, .col_3, .col_4, .col_5, .col_6, .col_7, .col_8, .col_9, .col_10, .col_11 {
		/*margin-bottom:1.5em;*/
	}
	
	#breadcrumbs {
		float:none!important;
	}
	
	footer{padding:40px 4% 20px;}
	
	footer #credits p {
		float:none!important;
		margin-bottom: 1em;
	}
	
	img.left, img.right {
		float:none!important;
	}
	img.left {
		margin-right:0!important;
	}
	img.right {
		margin-left:0!important;
	}
	
	.ccm-layout-table .ccm-layout-col {
		float: none !important;
		width: 100% !important;
	}
	
	#login_page, #register_page{background:none; width:95%;}
	#frost_login, #frost_register{width:100%; margin-top: 30px;}
	#frost_login form input[type="text"], #frost_login form input[type="password"], #frost_register form input[type="text"], #frost_register form input[type="password"]{
		width: 80%;
	}
	#frost_login h1, #frost_register h1{
		font: bold 20px/20px Helvetica,Arial,sans-serif;
	}
	#frost_login h1:before, #frost_login h1:after, #frost_register h1:before, #frost_register h1:after{
		width:17%;
	}
	#frost_login form div a, #frost_register form div a{
		margin: 30px 15px 15px 0;
	}
	
}

/* iPad */
@media handheld, only screen and (min-width: 768px) and (max-width: 979px) {
	header .toplink a {
		font-size: 12px;
		margin: 0 10px;
	}
	#login_page{width:95%; background: url(images/login.png) no-repeat scroll 0 center / 350px auto transparent;}
	#register_page{width:95%; background: url(images/register.png) no-repeat scroll right 100px / 350px auto transparent;}
	#frost_login form input[type="text"], #frost_login form input[type="password"], #frost_register form input[type="text"], #frost_register form input[type="password"]{
		width:85%;
	}
	#frost_login h1, #frost_register h1{
		font: bold 22px/20px Helvetica,Arial,sans-serif;
	}
	#frost_login h1:before, #frost_login h1:after, #frost_register h1:before, #frost_register h1:after{
		width: 20%;
	}
}