/* Global styles update fungerar du?*/
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    flex: 1;
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,...) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.footer {
    background-color: #343a40;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin-top: auto;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0;
}

/*-------------------------------------------------------------*/

/* Section styles */
.left-top, .left-bottom, .right-top, .right-bottom {
    box-sizing: border-box;
    padding: 20px;
    width: 48%;
}

@media (max-width: 768px) {
    .left-top, .left-bottom, .right-top, .right-bottom {
        width: 100%;
        padding: 10px;
    }

    .left-bottom {
        flex-direction: column;
        height: auto;
    }

    .small-container {
        width: 100%;
        height: 150px;
        margin: 10px 0;
    }
}

.left-top, .right-top, .right-bottom {
    background-color: white;
}

.left-bottom {
    display: flex;
    justify-content: space-between;
    height: 300px;
}

.small-container {
    width: 30%;
    height: 100px;
    margin: 10px 0;
    background-color: #b0b0b0;
    border: 2px solid #000;
}

/*-------------------------------------------------------------*/

/* Text and media styles */
h1 {
    font-family: 'Baskervville', sans-serif;
    margin-bottom: 40px;
}

p {
    font-family: 'Baskervville', sans-serif;
    margin-top: 20px;
}

img {
    border-radius: 50%;
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
}

.admin-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.admin-profile-section {
    background-color: #f0f0f0;
    width: 25%;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.admin-profile-picture {
    width: 100%;
    max-width: 150px;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.admin-profile-description {
    margin: 20px 0;
    font-size: 14px;
    color: #666;
}

.admin-profile-details {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    font-size: 14px;
    color: #333;
}

    .admin-profile-details li {
        margin-bottom: 10px;
    }

.admin-edit-profile-button {
    background-color: #e0e0e0;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

.admin-templates-section {
    background-color: #f0f0f0;
    width: 70%;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.admin-templates-title {
    font-size: 24px;
    margin-bottom: 10px;
    padding-top: 15px;
    padding-left: 30px;
}

.admin-templates-description {
    font-size: 16px;
    padding-left: 30px;
    margin-bottom: 10px;
    color: #666;
}

.admin-template-carousel {
    display: flex;
    align-items: center;
    padding-top: 40px;
    margin-bottom: 20px;
}

.admin-carousel-control {
    background-color: #e0e0e0;
    border: none;
    padding: 10px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    margin: 0 10px;
}

.admin-template-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.admin-template-card {
    background-color: #d3f1d8;
    width: 22%;
    height: 150px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .admin-template-card {
        width: 48%;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .admin-template-card {
        width: 100%;
    }

    .admin-profile-section, .admin-templates-section {
        width: 100%;
    }


}



/*Content_placment*/

.Content_Layout {
    padding-top: 30px;
}

/*BackButton*/
.backbutton{
    margin-top: 20px;
}


