body {
    color: var(--offblack);
    background: url("/static/images/public/bg/light.png") var(--offwhite);
    line-height: 1.7em;

    hr {
        border-color: #a7a7a7;
    }

    p {
        margin: 0 0 15px;
    }
}

.row {
    margin: auto 0;
}

a {
    color: var(--offblack);
}

address.contact {
    h5 {
        margin-bottom: 0;
        margin-top: 20px;
        color: #999;
        font-weight: normal;
    }
}

.contact-icon {
    margin-top: -30px;
    margin-bottom: 60px;
    margin-right: 10px;
    line-height: 2;
}

.equipment {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;

    .links a {
        margin-right: 15px;
        color: var(--offblack);
    }
}

h2 {
    font-size: 40px;
}

h1, h2, h3, h4 {
    font-weight: 200;
    font-family: "Lato", "Helvetica Neue", "Arial";
}

header {
    nav.navbar {
        .nav-link.active {
            color: white !important;
        }
        background-color: rgba(0, 0, 0, 0.85);
        color: var(--offwhite);

        border-width: 0 0 1px;
        border-color: #080808;
        padding: 0;

        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 1030;

        .navbar-nav {
            margin-right: 100px;
        }

        .navbar-brand {
            padding: 6px;
            display: none;
            transition: all 0.2s ease-in-out 0s;
        }

        .navbar-toggler {
            color: var(--offwhite);
            &:focus {
                box-shadow: none;
            }
        }

        .navbar-collapse {
            justify-content: flex-end;

            &:not(.show,.collapsing) {
                .nav-item.active > a {
                    background-color: rgba(0, 0, 0, 0.7) !important;
                }
            }
        }

        a {
            color: #999;
            outline: none;
            border-radius: 2px;

            &:hover {
                color: #fff;
                background-color: transparent;
            }
        }
    }
}

.bg-image {
    background-color: #000;
    background-repeat: no-repeat;
    background-size: cover;
    top: 0;
    left: 0;
}

.fixed {
    background-attachment: fixed;
}

.jumbotron {
    color: var(--offwhite);
    margin-bottom: 0;
    border-radius: 0;

    .container-fluid {
        padding: 15px;
        backdrop-filter: blur(10px);
    }
    .container p {
        font-size: 24px;
    }
}

section.container {
    padding: 100px 0;
}

.transparent-bg {
    background-color: rgba(0, 0, 0, 0.36);
}

section#start {
    padding: 230px 0 0;

    background-image: url("/static/images/public/bg/start.jpg");
    background-position: center;
    height: 750px;

    .arrows {
        text-align: center;
        margin-top: 100px;

        a {
            color: var(--offwhite);
        }

        .double-down-circle {
            color: rgba(0, 0, 0, 0.452);
        }

        .dark {
            color: #e0e0e0;
        }
    }
}

.contact-cell {
    min-width: 22em
}

aside#bg-kontakt {
    background-image: url("/static/images/public/bg/kontakt.jpg");
    height: 500px;
    background-position: 60%;
}

aside#bg-bokning {
    background-image: url("/static/images/public/bg/bokning.jpg");
    height: 500px;
    background-position: 80%;
}

aside#bg-medlemmar {
    background-image: url("/static/images/public/bg/medlemmar.jpg");
    height: 500px;
    background-position: 50%;
}

aside#bg-sok {
    background-image: url("/static/images/public/bg/sok.jpg");
    height: 500px;
    background-position: 50%;
}

.contact-form {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 32px;  /* Needed for text to stay on background lines. */
    margin-top: 30px;

    font-family: 'Indie Flower';
    font-size: 1.45em;
    line-height: 1.52em;
    background: url("/static/images/public/bg/paper.png");


    input {
        border: none;
        border-bottom: 2px dotted #999;
        background-color: inherit;
        margin: 0 5px;
        color: #666;
        text-align: center;

        &#id_name {
            width: 200px;
        }

        &#id_email {
            width: 250px;
        }
    }

    button {
        font-family: "Lato", "Helvetica Neue", "Arial";
        background: #eee;
    }
}

.contact-form-sent {
    opacity: 0;
    display: none;
    margin-top: -200px;
    margin-left: 50px;
}

footer {
    background-image: url("/static/images/public/bg/footer.jpg");
    height: 400px;
    width: 100%;
    background-position: bottom;
    background-attachment: fixed;

    .container {
        position: relative;
        padding: 20px;
        margin-top: 60px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;

        * {
            margin-bottom: 15px;
        }
    }

    .container, .container a {
        color: rgba(255, 255, 255, 0.9);
    }

    .lysator-logo {
        display: flex;

        .lysator-text {
            width: 50%;
        }
}
}

.contactables {
    margin-top: 30px;
}

.fa, h2 {
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3);
}

.table-narrow {
    max-width: 500px;
}


section#medlemmar {
    .members {
        display: grid;
        grid-template-columns: repeat(3, 33%);
				/* grid-template-columns: auto auto auto; */
        row-gap: 20px;

    }
    .member {
        line-height: 1em;
        .info-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-left: 5px;
            margin-right: 10px;
        }

        .info-row {
            width: 100%;
        }

        div {
            margin-left: 5px;
        }

        h4 {
            margin-top: 5px;
        }

        /* Workaround since Bootstrap img classes fucks up image height when */
        /* loading, which fucks upp parallax. */
        img.img-responsive {
            max-height: 210px;
            filter: grayscale(100%);
        }
    }
}

fa fa-angle-double-down fa-stack-1x dark {
	font-size: 160%;
}

@media (max-width: 767px) {
    section#medlemmar .members {
        font-size: small;
    }
    .info-row p, .info-row h4{
        margin-bottom: 3px;
    }
}

@media (max-width: 576px) {
    section#medlemmar .members {
        grid-template-columns: repeat(2, 50%);
    }
}

@media (max-width: 450px) {
    section#medlemmar .member .info-row {

        font-size: small;
    }

    .contact-form {
        padding: 10px;
        padding-top: 30px;
    }
}

/* Kommande är formatering av publika dagsansvariga sidan. */

#da_page {
	background-color: black;
}

#da_page .da{
	align-content: center;
	margin: auto;
	text-align: center;
	color: white;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

#da_page h1{
	font-family: 'Times New Roman', Times, serif;
	font-style: italic;
	font-weight: bold;
	font-size: 35vmin;
	margin-top: -.2em;
	margin-left: .2em;
	margin-bottom: .1em;
}

#da_page h2{
	font-weight: bold;
	font-size: 7vmin;
	/* font-size: .3em; */
	margin-bottom: 1.5em;
}

#da_page #person strong {
	font-size: 8vmin;
}

#da_page #person .da_num {
	font-size: 6vmin;
	margin-top: 5em;
}

#da_page #MyClockDisplay{
	font-size: 10vmin;
	color: white;
	position: absolute;
	bottom: .5em;
	right: .3em;
}
