/* Make the page look a little nicer larger screens. */
@media (min-width: 768px) {
    body {
        background: #eeeeee;
    }
    .container .main {
        position: relative;
        padding-bottom: 80px;
        padding-left: 80px;
        padding-right: 80px;
        background: #fff;
        box-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
    }
}

.container .main {
    padding-top: 20px;
}

a.navbar-brand { padding: 1px 0 }
a.navbar-brand img { width: 48px; margin-left: 10px }

h1 { text-align: center; margin-top: 30px }

.get-started { margin: 50px 0; text-align: center; }

/* Adjust the spacing of the fluff text on the homepage. */
.fluff { margin-top: 15px }
.fluff p, p.larger-text  { font-size: 130% }

img { width: 100%; height: auto }

/* These are used on the home page to hide images so that they
 * appear rearrange correctly on small screens.
 */
img.small { display: none }
img.large { display: block }
@media only screen and (max-width: 767px) {
    img.large { display: none }
    img.small { display: block }
}

img.shadow {
            border-radius: 3px;
       -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
            box-shadow: 0 0 2px 2px #ccc;
       -mox-box-shadow: 0 0 2px 2px #ccc;
    -webkit-box-shadow: 0 0 2px 2px #ccc;
}

#bio { margin-bottom: 20px }
img.mugshot {
    margin-top: 25px;
            border-radius: 50%;
       -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
}
#bio h2 { margin-top: 20px }

dt { font-size: 150%; margin-bottom: 10px }
dd { font-size: 130%; margin-bottom: 30px }

/* Fancy divider between normal and social authentication. */

.auth label {
    margin-bottom: 5px;
    font-size: 17px;
}

.auth input{
    box-sizing: border-box;
    width: 100%;
    min-width: 40%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.05);
}

.auth .divider {
    position: absolute;
    width: 1px;
    height: 190px;
    left: 50%;
    top: 0;
    background: #ddd;
}

.auth .divider:before {
    content: 'OR';
    position: absolute;
    top: 95px;
    left: -8px;
    padding: 5px 0;
    margin-top: -20px;
    font-size: 12px;
    background: #fff;
    color: #222;
}

@media only screen and (max-width: 767px) {
    .auth .divider {
        position: relative;
        width: 100%;
        height: 1px;
        left: 0;
        top: 0;
        margin-top: 40px;
    }

    .auth .divider:before {
        top: -8px;
        left: 50%;
        padding: 0 5px;
        margin-top: 0;
        margin-left: -10px;
    }
}

/* Log in buttons for Facebook and Twitter */

.auth a.button {
    box-sizing: border-box;
    display: block;
    position: relative;
    width: 100%;
    padding: 15px 10px 15px 70px;
    margin: 20px 0 31px 0;
            border-radius: 5px;
       -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    color: #fff;
    text-decoration: none;
}

.auth a.button.fb { background:  #4c70ba }
.auth a.button.twitter { background: #22c2ff }

.auth .icon {
    display: block;
    position: absolute;
    height: 100%;
    width: 50px;
    left: 0;
    top: 0;
            border-radius: 5px 0 0 5px;
       -moz-border-radius: 5px 0 0 5px;
    -webkit-border-radius: 5px 0 0 5px;
    text-align: center;
    line-height: 50px;
    font-size: 30px;
}

.auth .icon.fb {
    background: url("/static/img/f.png") no-repeat 0 0;
    background-size: 100%;
}

.auth .icon.twitter {
    background: url("/static/img/t.png") no-repeat 0 0;
    background-size: 100%;
}

input.half-width {
    width: 300px;
    max-width: 100%;
}

/* Copy some select styles that bootstrap 3 doesn't seem to have anymore. */
select {
    width: 220px;
    max-width: 100%;
    border: 1px solid #cccccc;
    background-color: #ffffff;
    height: 30px;
    display: inline-block;
    padding: 4px 6px;
    margin-bottom: 10px;
    color: #555555;
    line-height: 30px;
            border-radius: 4px;
       -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    vertical-align: middle;
}

#mailcheck { margin-left: 10px }

/* Use, tweak, improve, enjoy. Just link back! */
/* http://marvelapp.com */
/* http://twitter.com/olegtsaplin */

.top-bar, .bottom-bar {
	height: 3px;
	background: black;
	width: 100%;
	display: block;
}

.middle-bar {
	width: 3px;
	height: 4px;
	top: 0px;
	left: 90px;
	background: black;
	position: absolute;
}

.device .screen {
	width: 100%;
	position: relative;
	height: 100%;
	z-index: 2;
	text-align: left;
	text-indent: -999px;
	display: block;
	-webkit-border-radius: 1px;
	border-radius: 1px;
	-webkit-box-shadow: 0 0 0 3px #111;
	box-shadow: 0 0 0 3px #111;
}

.device .screen{
	background-image: url(/static/img/screenshot.png);
    background-size: 100%;
}

#iphone5s .device {
	padding: 105px 22px;
	margin: 0 auto;
	background: #2c2b2c;
	position: relative;
	width: 320px;
	height: 568px;
	display: block;
	-moz-border-radius: 50px;
	-webkit-border-radius: 50px;
	border-radius: 50px;
    box-sizing: content-box;
}

#iphone5s.landscape .device {
	padding: 22px 105px;
	height: 320px;
	width: 568px;
}

#iphone5s .inner {
	width: calc(100% - 8px);
	height: calc(100% - 8px);
	position: absolute;
	top: 4px;
	left: 4px;
	-moz-border-radius: 46px;
	-webkit-border-radius: 46px;
	border-radius: 46px;
	background: #1e1e1e;
	z-index: 1;
}

#iphone5s .sleep {
	position: absolute;
	top: -4px;
	right: 60px;
	width: 60px;
	height: 4px;
	-webkit-border-radius: 2px 2px 0px 0px;
	border-radius: 2px 2px 0px 0px;
	background: #282727;
}

#iphone5s.landscape .sleep {
	right: -4px;
	top: calc(100% - 120px);
	height: 60px;
	width: 4px;
	-webkit-border-radius: 0px 2px 2px 0px;
	border-radius: 0px 2px 2px 0px;
}

#iphone5s .volume {
	position: absolute;
	left: -4px;
	top: 180px;
	z-index: 0;
	height: 27px;
	width: 4px;
	-webkit-border-radius: 2px 0px 0px 2px;
	border-radius: 2px 0px 0px 2px;
	background: #282727;
}

#iphone5s.landscape .volume {
	width: 27px;
	height: 4px;
	top: -4px;
	left: calc(100% - 180px);
	-webkit-border-radius: 2px 2px 0px 0px;
	border-radius: 2px 2px 0px 0px;
}

#iphone5s .volume:before {
	position: absolute;
	left: 0px;
	top: -75px;
	height: 35px;
	width: 4px;
	-webkit-border-radius: 2px 0px 0px 2px;
	border-radius: 2px 0px 0px 2px;
	background: inherit;
	content: '';
	display: block;
}

#iphone5s.landscape .volume:before {
	width: 35px;
	height: 4px;
	top: 0px;
	right: -75px;
	left: auto;
	-webkit-border-radius: 2px 2px 0px 0px;
	border-radius: 2px 2px 0px 0px;
}

#iphone5s .volume:after {
	position: absolute;
	left: 0px;
	bottom: -64px;
	height: 27px;
	width: 4px;
	-webkit-border-radius: 2px 0px 0px 2px;
	border-radius: 2px 0px 0px 2px;
	background: inherit;
	content: '';
	display: block;
}

#iphone5s.landscape .volume:after {
	bottom: 0px;
	left: -64px;
	z-index: 999;
	height: 4px;
	width: 27px;
	-webkit-border-radius: 2px 2px 0px 0px;
	border-radius: 2px 2px 0px 0px;
}

#iphone5s .camera {
	background: #3c3d3d;
	width: 10px;
	height: 10px;
	position: absolute;
	top: 32px;
	left: 50%;
	margin-left: -5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	z-index: 3;
}

#iphone5s.landscape .camera {
	left: calc(100% - 32px);
	top: 50%;
	margin-left: 0px;
	margin-top: -5px;
}

#iphone5s .sensor {
	background: #3c3d3d;
	width: 10px;
	height: 10px;
	position: absolute;
	top: 60px;
	left: 160px;
	z-index: 3;
	margin-left: -32px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

#iphone5s.landscape .sensor {
	top: 160px;
	left: calc(100% - 60px);
	margin-left: 0px;
	margin-top: -32px;
}

#iphone5s .speaker {
	background: #292728;
	width: 64px;
	height: 10px;
	position: absolute;
	top: 60px;
	left: 50%;
	margin-left: -32px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	z-index: 3;
}

#iphone5s.landscape .speaker {
	height: 64px;
	width: 10px;
	left: calc(100% - 60px);
	top: 50%;
	margin-left: 0px;
	margin-top: -32px;
}

#iphone5s .home {
	-moz-border-radius: 36px;
	-webkit-border-radius: 36px;
	border-radius: 36px;
	width: 68px;
	-webkit-box-shadow: inset 0 0 0 4px #2c2b2c;
	box-shadow: inset 0 0 0 4px #2c2b2c;
	height: 68px;
	position: absolute;
	left: 50%;
	margin-left: -34px;
	bottom: 19px;
	z-index: 3;
}

#iphone5s.landscape .home {
	left: 19px;
	bottom: 50%;
	margin-bottom: -34px;
	margin-left: 0px;
}

#iphone5s.landscape .home {
	left: 19px;
	bottom: 50%;
	margin-bottom: -34px;
	margin-left: 0px;
}

#iphone5s .home:after {
	display: none;
}

#iphone5s .top-bar {
	top: 70px;
	position: absolute;
	left: 0;
}

#iphone5s.landscape .top-bar {
	left: 70px;
	top: 0px;
	width: 3px;
	height: 100%;
}

#iphone5s .bottom-bar {
	bottom: 70px;
	position: absolute;
	left: 0;
}

#iphone5s.landscape .bottom-bar {
	right: 70px;
	left: auto;
	bottom: 0px;
	width: 3px;
	height: 100%;
}

.landing {
    background: #fff;
    margin-top: 70px;
}

.landing .big {
    margin-top: 100px;
    margin-bottom: 40px;
}

.landing #iphone5s {
    margin-bottom: 50px;
}

.landing .fluff {
    font-size: 20px;
    margin-bottom: 50px;
    color: #333;
}

.landing .btn-huge {
    padding: 15px 24px;
    font-size: 24px;
    line-height: 1.33;
    border-radius: 12px;
    margin-bottom: 10px;
    white-space: normal;
}

.center-block {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

footer {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

footer {
    margin-top: 30px;
}

footer small {
    color: #999;
}
