﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification\
for details on configuring this project to bundle and minify static web assets. */

@import url("fa.css");
@import url('https://fonts.googleapis.com/css2?family=Rubik&display=swap');


@font-face {
    font-family: 'Ash';
    src: url("../webfonts/dcc-ash.ttf") format("opentype");
}


a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.navbar-brand img {
    max-height: 130px;
    margin-top:-20px;
}

.top-nav.navbar .nav-item, .top-nav.navbar .nav-separater {
    font-family: Ash;
    font-size: 2em;
    font-weight: normal;
}
.top-nav.navbar .nav-separater {
    line-height: 2;
}

    a {
        color: #0077cc;
    }

.form-control:focus {
    border-color: #0077cc;
    box-shadow: 0 0 0 0.2rem #0077cc;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn-link.nav-link:focus {
    outline: black auto 1px;
}

html {
    font-size: 14px;
    font-family: 'Rubik', sans-serif;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.container {
    max-width: 960px;
}

.pricing-header {
    max-width: 700px;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: #F4E30C;
    background-image: url(/images/bg-graphic.png);
    background-repeat: no-repeat;
    background-size: 45%;
    background-position-y: 20%;
    font-family: 'Rubik', sans-serif;
}

.footer {
    width: 100%;
}

    footer .btn {
        background-color:rgba(255,255,255,0.6);
    }

.home-grid .grid-item {
    display: inline-block;
    margin: 8px;
    position: relative;
    width: 135px;
    height: 135px;
    background-size:cover;
    background-position:center;
}

    .home-grid .grid-item span {
        opacity: 0;
        transition: opacity 0.3s;
        position: absolute;
        top: 0;
        left: 0;
        width: 135px;
        height: 135px;
        text-align: center;
        background-color: rgba(0, 0, 0, .6);
        color: white;
        font-family: Ash;
        font-size: 2em;
        line-height: 0.9;
        overflow: hidden;
        hyphens: auto;
    }

    .home-grid .grid-item:hover span {
        opacity: 1;
    }

.image-row:hover {
    background-color: #f7f7f7;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.tag-list a {
    display: inline-block;
    border: solid 1px silver;
    text-decoration: none;
    padding: 2px 10px 2px 10px;
    background-color:rgba(255,255,255,0.6);
    border-radius: 18px 1px 1px 18px;
    color:black;
    margin-bottom:8px;
    font-size:1.2em;
    font-family: Ash;
}
    .tag-list a span {
        font-family: 'Rubik', sans-serif;
        font-size:15px;
    }

    .tag-list a:hover {
        background-color: rgba(255,255,255,0.2);
    }

h1, h2, h3 {
    font-family:Ash;
}

.artefact-list .card {
    background:none;
    border:none;
}
    .artefact-list .card a {
        text-decoration:none;
        color:black; 
        font-weight:bold;
    }
    .artefact-list .card img {
        background-color:white;
    }
    .artefact-list .card .type-icon {
        color:white;
        margin: 0 0 5px 5px;
        border-radius:50%;
        background-color:rgba(0,0,0,0.5);
        padding:1px 5px 1px 5px;

    }

main form {
    background-color:rgba(255,255,255,0.4);
    padding:20px;
}

.by-date .card {
    background-color: rgba(255,255,255,0.6);
}
.by-date .card:hover {
    background-color: rgba(255,255,255,0.9);
}

.pre-line {
    white-space: pre-line;
}

.edit-description {
    height:300px;
}