/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

/* old red: rgb(255,102,102);
   new red: rgb(173,5,21);
   newes red: rgb(189,5,23); */

/* FONTS */
@import "css/localfonts.css";

html {
    color: #222;
    font-size: 14px;
    line-height: 1.4;
    box-sizing:border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}



/* ==========================================================================
   Author's custom styles
   ========================================================================== */


html { height: 100%; }
body {
	font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
	font-size: 14px;
	font-weight: 300;
	line-height: 1.5;
	background: #f1f1f1;
	color: #333;
	height: 100%;
}

body.overlayed:before {
	content: ' ';
	display: block;
	width: 100%;
	height: 100%;
	position:fixed;
	background-color: rgba(0,0,0,0.7);
	z-index: 1000;
	transition: 0.5s;
}

a, a:visited, a:active {
	text-decoration: none;
	font-weight: normal;
	border-bottom: 1px solid transparent;
	color: rgb(189,5,23);
}

a:hover {
	border-bottom: 1px solid white;
}

strong { font-weight: normal; }
.small { color: #999; }

button, .button, a.button {
	padding: 0.5rem 1rem;
	border-bottom: none;
	border: 1px solid white;
	background: rgba(189,5,23,0.9);
	color: white;
	transition: 0.5s;
	font-size: 1rem;
	font-weight: normal;
}
#mitmachen-button {
	transition: 0s;
}

button.small-button, .button.small-button {
	background: #ccc;
	padding: 0.1rem 0.5rem;
	font-size: 0.8rem;
}

button.small-button.active, .button.small-button.active {
	background: #666;
}

button:hover, .button:hover {
	border: 1px solid rgba(189,5,23,1);
	background: white;
	color: rgba(189,5,23,1);
}


header button {
	border: 1px solid rgba(255,255,255,1);
	background: transparent;
	color: rgba(255,255,255,1);
}

header button:hover {
	border: 1px solid rgba(255,255,255,1);
	color: rgba(255,255,255,1);
	background: transparent;
}


.toolbar { 	padding: 1rem 1.5rem; }


.toolbar-links {
	clear: both;
	display: block;
	list-style: none;
	margin-top: 0;
}

.toolbar-links li {
	display: inline-block;
}

.toolbar-links .register-button,
.toolbar-links .login-button,
.toolbar-links .password-reset-button  {
	display: inline-block;
	padding: 0 0.5rem;
	line-height: 2.6em;
	text-align: center;
	color: white;
	border: 1px solid transparent;
	font-size: 0.8rem;
}

.toolbar-links .register-button {
	background: white;
	color: rgb(189,5,23);
	font-weight: 700;
}
.toolbar-links .register-button:hover,
.toolbar-links .login-button:hover,
.toolbar-links .password-reset-button:hover {
	border: 1px solid white;
}

.toolbar-links .register-button.is-active,
.toolbar-links .login-button.is-active,
.toolbar-links .password-reset-button.is-active,
 #mitmachen-button.is-active {
	background: white;
	color: rgb(189,5,23);
}


.toolbar-window .register-link {
	float: right;
	font-size: 0.8rem;
	padding-top: 1.5rem;
}

.toolbar-window .register-link a {
	color: rgb(189,5,23);
	width: auto;
	height: auto;
	line-height: 1;
}




.quick-links {
	height: auto;
}

.quick-links li.members a 			{	background-image: url(01-mitglieder.png); }
.quick-links li.forum a 			{	background-image: url(02-forum.png); }
.quick-links li.news a 				{	background-image: url(03-news.png); }
.quick-links li.calendar a 			{	background-image: url(04-calendar.png); }
.quick-links li.standards-austria a {	background-image: url(05-normenpaket.png); }
.quick-links li.standards-vienna a 	{	background-image: url(06-weisungsdatenbank.png); }

.quick-links li a {
	display: block;
	background-position: left center;
	background-repeat: no-repeat;
	background-size: 40px;
	padding-left: 50px;
	color: white;
	font-weight: bold;
	opacity: 1;
	line-height: 40px;
	font-size: 1.2rem;
}

.quick-links li a:hover,
.quick-links li.active a {
	opacity: 1;
	text-decoration: none;
	border: 0;
}


h1, h2 {
	font-weight: 300;
	font-size: 2rem;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 1.1;
}

.logo {
	width: 13rem;
	height: 2rem;
	text-indent: none;
	background-image: url(linkarching-logo-white.svg);
	background-size: contain;
	background-repeat: no-repeat;
}

.logo span { visibility: hidden; }


header {
	background-color: rgb(189,5,23);
	background-repeat: no-repeat;
	background-position: center bottom;
	background-position-y: 95%;
	color: white;
	padding-bottom: 5em;
	background-image: url( background-millimeterpapier-dark.svg);
	background-repeat: repeat-x;
	background-position-y: 100px;
	background-position-x: 0;
	
}

header h2 {
/* 	max-width: 15em; */
	margin-top: 0;
}



.intro p {
	font-size: 1.2em;
	max-width: 30em;
	margin-top: 0;
	font-weight: 500;
}


.intro {
	min-height: 10em;
}


footer {
	padding: 0 0;
	margin-top: 3rem;
}



.widget {
	background: white;
	-webkit-box-shadow: 10px 10px 43px -1px rgba(0,0,0,0.06);
	-moz-box-shadow: 10px 10px 43px -1px rgba(0,0,0,0.06);
	box-shadow: 10px 10px 43px -1px rgba(0,0,0,0.06);
}

.widget + .widget {
	margin-top: 2rem;
}

.widget .widget-header,
.widget .widget-filter {
	padding: 0.5rem 1.5rem;
	margin: 0;
	border-bottom: 1px solid #f1f1f1;
}

.widget .widget-filter {}

.widget .widget-content {
	padding: 1rem 1.5rem;
	margin: 0;
}


.widget .widget-header h2 {
	font-size: 2rem;
	padding-bottom: 0rem;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.widget h2 {
	margin-top: 2rem;
}

.widget h3 {
	margin-bottom: 0;
}

.widget label {
	font-size: 0.8rem;
/* 	color: rgb(189,5,23); */
	font-weight: bold;
}

.widget .form-row {
	margin: 0;
	padding: 0.5em 3em;
}

.widget .button-row {
	margin-left: 11rem;
}

.widget .button {
	width: 90%;
	text-align: center;
	display: inline-block;
	font-weight: 700;
}

.widget .button.login-button {
	background: white;
	border: 1px solid rgb(189,5,23);
	color: rgb(189,5,23);
}

.widget .form-row label {
	min-width: 10rem;
	display: inline-block;
	text-align: right;
	margin-right: 1rem;
}

.widget label.error {
	margin-left: 1rem;
	color: rgb(189,5,23);
}

.widget .form-row input[type="text"] {
	min-width: 15em;
}

.main {
	margin-top: -4rem;
}


.comments-container .loading {
	padding: 1rem 1.5rem;
}


/* FEATURES */

.feature-list li {
	background-size: 2.4rem;
	background-position: 2rem 1.5rem; 
	background-repeat: no-repeat;
} 

.feature-list li:nth-child(1) {
	background-image: url( feature-01-dark.svg );
}

.feature-list li:nth-child(2) {
	background-image: url( feature-02-dark.svg );
}

.feature-list li:nth-child(3) {
	background-image: url( feature-03-dark.svg );
}

.feature-list li:nth-child(4) {
	background-image: url( feature-04-dark.svg );
}


ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.feature-list li {
	padding: 1.5rem;
	padding-left: 6rem;
	border-bottom: 1px solid #f1f1f1;
}

.link-list li {
	padding: 1rem 1.5rem;
	border-bottom: 1px solid #f1f1f1;
}

.site-list li {
	padding: 1rem 1.5rem;
	border-bottom: 1px solid #f1f1f1;
	padding-left: 5rem;
	background-size: 2rem;
	background-position: 1.5rem 1rem; 
	background-repeat: no-repeat;
}

.site-list .item {
	width: 100%;
}

.site-list li.open-group {
	background-image: url(site-open.svg );
}


.site-list li.closed-group {
	background-image: url(site-closed.svg );
}

		
.site-list li span {
	margin-top: 1rem;
	font-weight: 300;
	color: #333;
	font-size: 1.5rem;
	line-height: 1.3;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: greyscale;
}

.feature-list li:last-child,
.link-list li:last-child {
	border: 0;
}


.feature-list strong {
/* 	color: rgb(189,5,23); */
}


/* TOPICS */

.topic {
	padding: 1.5rem;
	border-bottom: 1px solid #f1f1f1;
}

.topic .title, .topic .site, .topic .author {
	font-weight: 300;
	font-size: 1rem;
	color: #333;
	line-height: 1.1;
}

.topic .author { display: block;  }
.topic .entrycontent {
	display: block;
	margin-top: 1rem;
	padding-left: 0rem;
	font-weight: 300;
	color: #333;
	font-size: 1.5rem;
	line-height: 1.3;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing;
}

.topic .counter {
	background-image: url(diskussion-hellgrau-48x48.svg);
	background-position: left center;
	background-repeat: no-repeat;
	background-size: 75%;
	display: block;
	float: right;
	height: 3rem;
	width: 2.5rem;
	text-align: right;
	margin-right: 1rem;
}

.topic .counter span {
	font-weight: normal;
	font-size: 0.8rem;
	line-height: 1;
	padding: 0.1em 0.5em;
	color: white;
/* 	background: rgb(189,5,23); */
	background: #333;
	border-radius: 0.7rem;
	position: absolute;
	margin-left: -1.5em;
	margin-top: -0.2em;
}


.alfrescolink,
.topiclink {
	margin-top: 1rem;
	display: block;
	font-size: 0.8rem;
	width: 100%;
	padding: 0.5rem 1rem;
	text-align: center;
	border: 1px solid rgb(189,5,23);
	border-color: rgb(189,5,23) !important;

}

.alfrescolink {
	margin-bottom: 2rem;
}

.modul {
	display: none;
	position: absolute;
	top:0;
	left: 0;
	right: 0;
	z-index: 1000;
}

.topic-fullview .counter {
	margin-top: 1.5rem;
	margin-left: 1.5rem;
}
.topic-fullview .entry {
	padding: 1.5rem;
	border-bottom: 1px solid #f1f1f1;
}

.topic-fullview .entry:nth-child(even) {
	background-color: #f9f9f9;
}

.topic-fullview .entry:nth-child(odd) {
	background-color: #fff;
}

.topic-fullview .entries-container {
	background-color: #333;
}

.topic-fullview .level::before {
	 margin-top: -0.2rem; content: '▶'; position: absolute; color: white; font-size: 0.8rem;
}

.topic-fullview .entry.level-0:before { content: ''; }

.topic-fullview .entry.level-1 { margin-left: 1.4rem; } 
.topic-fullview .entry.level-1:before {  content: '▶'; margin-left: -2.4rem; }

.topic-fullview .entry.level-2 { margin-left: 2rem; }
.topic-fullview .entry.level-2:before {  content: '▶▶'; margin-left: -3rem; }

.topic-fullview .entry.level-3 { margin-left: 2.6rem; }
.topic-fullview .entry.level-3:before { content: '▶▶▶'; margin-left: -3.6rem; }

.topic-fullview .entry.level-4 { margin-left: 3.2rem; }
.topic-fullview .entry.level-4:before { content: '▶▶▶▶'; margin-left: -4.2rem; }

.topic-fullview .entry.level-5 { margin-left: 3.8rem; }
.topic-fullview .entry.level-5:before { content: '▶▶▶▶▶'; margin-left: -4.8rem; }

.topic-fullview .entry.level-6 { margin-left: 4.4rem; }
.topic-fullview .entry.level-6:before { content: '▶▶▶▶▶▶'; margin-left: -4.4rem; }

.topic-fullview .entry.level-7 { margin-left: 5rem; }
.topic-fullview .entry.level-7:before { content: '▶▶▶▶▶'; margin-left: -6rem; }



.topic-fullview .entry .entrycontent {
	color: #333;
	font-weight: 400;
	font-size: 1.3rem;
	margin-top: 0;
	padding-left: 0;
}

.modul.is-active {
	display: block;
}

.modul-content {
	width: 95%;
	max-width: 60em;
	margin: 6rem auto;
}

.topic-fullview .button-container {
	padding: 1.5rem;
	text-align: right;
}

.modul .closebutton {
	float: right;
	margin: 1rem;
}
.mitmachen {
	color:#333;
}
.mitmachen h2 {
	max-width: none;
}




/* register form */

.register-step {
	display: none;
	padding-bottom: 2rem;
}

.register-step-0 {
	display: block;
}

#signup-form-response {
	font-weight: bold;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 959px) {
	body, html { font-size: 16px; }
	.topic .author { margin-top: 0; }
	.alfrescolink, .topiclink {
		margin-top: 0rem;
		margin-left: 1rem;
		display: block;
		float: right;
		font-size: 0.8rem;
		width: auto;
		border: 0;
		padding: 0;
	}
	
	h1, h2 {
		font-size: 2.5rem;
	}

	.topic .entrycontent {
		padding-left: 3.5rem;
	}

	.topic .counter { float: left; }
	.toolbar-links { float: right; margin-top: -4rem; }
	.toolbar-window { width: 24rem; margin-left: -17rem; }
	
	.toolbar-links .register-button,
	.toolbar-links .login-button,
	.toolbar-links .password-reset-button  {
		padding: 0 1rem;
		line-height: 2.6rem;
	}
	
	.quick-links {
		margin: 2.5rem 0;
	}
	
	.quick-links li {
		float: left;
		width: 20%;
		text-align: center;
	}

	.quick-links li a {
		display: block;
		background-position: center top;
		background-repeat: no-repeat;
		background-size: 100px;
		padding-top: 100px;
		padding-left: 0;
		color: white;
		font-weight: bold;
		opacity: 0.5;
	}

	.quick-links li a:hover,
	.quick-links li.active a {
		opacity: 1;
		text-decoration: none;
		border: 0;
	}

	.widget .col {
		width: 50%;
		float: left;
	}
	
	.widget label {
		font-size: 1rem;
	}
	
	.widget .form-group label {
		display: inline-block;
		min-width: 20%;
	}
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}
*:focus {
    outline: 0;
}
/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


/* bootstrap overrides */

.alert {
	text-align: center;
	padding: 1em;
	margin: 1.5em 0;
	font-weight: bold;
}

.alert-danger {
	background-color: rgba(255,0,0,0.2);
}

.alert-success {
	background-color: rgba(0,255,0,0.2);
}

input[type="text"] {
	padding: 0.2em;
}

.form-group label {
	display: block;
	font-weight: 1rem;
}

.form-group {
	margin-bottom: 0.5rem;
}

.btn-group {
	margin: 2em 0;
}
.btn-danger {
	background: transparent;
	border: 1px solid rgba(189,5,23,1);
	color: rgba(189,5,23,1);

}

table {
	margin: 1em 0;	
}


tr {
	border-bottom: 1px solid #CCC;
}

tr:last-child {
	border-bottom: 0;
}

td {
	padding: 0.2em 2em 0.2em 0;
}

#mob_number,
#usr_regphone,
 {
	display: block;
	margin-top: 0.5em;
}
