.pg-header {
	display: none;
}

body {
	padding-top: 50px;
}

@media (min-width: 768px) {
	.pg-header {
		display: block;
		text-align: left;
		font-size: 24px;
		position: relative;
		padding: 60px 50px;
		color: white;
        	background: black url(../img/background.jpg);
		background-size: cover;
		margin-bottom: 40px;
	}

	.pg-header h1 {
        	margin-top: 0px;
        	line-height: 1;
        	font-size: 60px;
		color: white;
	}

        .pg-header p {
        	margin-bottom: 0px;
        }

	.pg-header .container {
		position: relative;
	}
}

#logo {
	margin-top: -5px;
	background-image: url(../img/logo_hover.png);
	opacity: 0.5;
	background-size: 32px;
	width: 32px;
	height: 32px;
}

#logo:hover {
	opacity: 1;
}

@media (max-height: 480px) {
    #navbar {
        max-height: 200px;
    }
}

@media (max-height: 300px) {
    #navbar {
        max-height: 150px;
    }
}

@media (max-width: 767px) {
    #navbar {
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), white 40%);
    }

    #navbar > ul:last-child {
        border-bottom: 4px double rgba(0, 0, 0, 0.1);
    }
}

#trafficgauge {
    height: 200px;
    /* Hack to remove upper spacing of the trafficgauge
     * See https://github.com/toorshia/justgage/issues/172
     */
    margin-top: -50px;
}

.module {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #E1E8ED;
}

.module h2 {
    font-size: 18pt;
    margin: 0px 0px 15px 0px;
    text-align: center;
}

.module div:last-child > address {
    margin-bottom: 0px;
}

.module hr {
    margin-top: 10px;
    margin-bottom: 10px;
}

.module .full {
    margin-left: -15px;
    margin-right: -15px;
}

a#traffic_gauge_link {
    text-decoration: none;
    transition: text-shadow 1s ease, color 1s ease;
    -moz-transition: text-shadow 1s ease, color 1s ease;
    -webkit-transition: text-shadow 1s ease, color 1s ease;
    -o-transition: text-shadow 1s ease, color 1s ease;
}

#traffic_gauge_error {
    margin-top: 1em;
}

div#row-contact div.module > div > div.row + div.row{
    margin-top: 1em;
}

td {
	vertical-align: top;
	padding-bottom: 20px;
}

#trafstat {
	width: 100%;
}

img[alt=software_logo] {
	width: 100px;
}
