﻿

body {
    padding: 0em;
    font-family: Arial, Helvetica, sans-serif;
}

.body h1 {
    font-family: Arial, Helvetica, sans-serif;
}

html, body {
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.wrapper {
    display: flex;
    flex-flow: row wrap;
    font-weight: bold;
    text-align: center;
}

    .wrapper > * {
        padding: 0px;
        flex: 1 100%;
    }


/* Style the header */
.header {
    background: white !important;
    padding: 0px;
    text-align: left;
    font-size: 1em;
    z-index: 1000;
}


.header a {
    font-family: 'Archivo', sans-serif;
    color: #fff;
    text-decoration: none;
}
    .header a:link {
        color: #fff;
        text-decoration: none;
    }

    .header a:visited {
        color: #fff;
        text-decoration: none;
    }

    .header a:active {
        color: #fff;
        text-decoration: none;
    }

    .header a:hover {
        color: #808080;
    }



.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

    /* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */
    .sticky + .content {
        padding-top: 102px;
    }


.top {
    background-image: url('/gfx/top.jpg'); /* Ersätt 'path-to-your-image.jpg' med din bilds sökväg */
    background-size: cover;
    background-position: center;
    position: relative;
    width: 100%;
    height: 500px;
    z-index: -1;
}
.top-box {
    display: flex;
    background: #2966A1;
    color: #fff;
    height: 60px;
    border-radius: 0px;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    justify-content: center;
    align-items: center;
    z-index: -1;
    font-family: Arial, Helvetica, sans-serif;
}

.main {
    background: #fff;
    align-self: center;
}
.main, div.main p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: normal;
}

.main-bigbox {
    background: #E9ECEB;
    color: #000;
    height: auto;
    border-radius: 0px;
    width: 100%;
    margin-bottom: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
    z-index: -1;
}


.aside-1 {
    background: #fff;
    padding-bottom: 30px;
}

.aside-2 {
    background: #fff;
}







/* Style the footer */
.footer {
    background-color: #f1f1f1;
    padding: 0px;
    text-align: center;
}

.footer-item {
    color: white;
    font-size: 1em;
}
    .footer-item p {
        font-family: 'Archivo', sans-serif;
        color: #fff;
        text-decoration: none;
    }
    .footer-item a {
        font-family: 'Archivo', sans-serif;
        color: #fff;
        text-decoration: none;
    }
        .footer-item a:link {
            color: #fff;
            text-decoration: none;
        }

        .footer-item a:visited {
            color: #fff;
            text-decoration: none;
        }

        .footer-item a:active {
            color: #fff;
            text-decoration: none;
        }

    .footer-item a:hover {
        color: #808080;
    }


/* Text styles, list styles etc */

ul.no-bullets {
    list-style-type: none;
}


input {
    width: 200px;
    margin: 8px 0;
    border-radius: 5px;
    border-color: #EBEBEB;
}
input, select {
    width: 200px;
    margin: 8px 0;
    border-radius: 5px;
    border: 1px solid #EBEBEB; /* Add a border width and style */
    padding: 4px; /* Add padding for better appearance */

}

/* Tjänster */

.service-box1 {
    display: flex;
    background-image: url("/gfx/bild.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
    height: 250px;
    border-radius: 0px;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    justify-content: center;
    align-items: center;
    z-index: -1;
}

.service-box2 {
    display: flex;
    background-image: url("/gfx/bild1.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
    height: 250px;
    border-radius: 0px;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    justify-content: center;
    align-items: center;
    z-index: -1;
}

.service-box3 {
    display: flex;
    background-image: url("/gfx/bild2.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
    height: 250px;
    border-radius: 0px;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    justify-content: center;
    align-items: center;
    z-index: -1;
}




/* Loginpage */




@media all and (min-width: 600px) {
  .aside { flex: 1 0 0; }
}

@media all and (min-width: 800px) {
  .main    { flex: 3 0px; }
  .aside-1 { order: 1; } 
  .main    { order: 2; }
  .aside-2 { order: 3; }
  .footer  { order: 4; }
}



/* X-Admin-CSS */


.x-admin-placeholder {
    margin-top: 20px;

    padding-left: 10px;
    padding-right: 10px;
    align-content: center;
}

/* X-Admin-Userspage */

/* Stora skärmar */

.x-admin-container-userlist {

}
.x-admin-row-top-userlist {
    background-color: #EBEBEB;
    border-style: solid;
    border-width: 1px;
    border-color: #EBEBEB;
}
.x-admin-row-userlist {
    border-style: solid;
    border-width: 1px;
    border-color: #EBEBEB;
}
.x-admin-column-userlist-id {
    text-align: left;
}


/* Små skärmar */

.x-admin-container-userpuffs {
    background-color: #EBEBEB;
    width: 100%;
    text-align: left;
    font-weight: normal;
    border-style: solid;
    border-width: 1px;
    border-radius: 5px;
    margin-top: 10px;
}


@media all and (max-width: 800px) {
    .x-admin-row-userlist {
        display: none; /* or another display property that makes sense for your layout */
    }
    .x-admin-container-userlist-x {
        display: none; /* or another display property that makes sense for your layout */
    }


    .x-admin-container-userpuffs {
        display: block; /* ensures it's displayed on small screens */
        /* other styles for small screens */
    }
}
@media all and (min-width: 800px) {
    .x-admin-container-userpuffs {
        display: none;
    }
}


/* DYNAMIC FORM*/
.dynamic_form_row {
    margin-top: 5px;
    background: #FFE8DB;
    border-style: solid;
    border-width: 1px;

}
    .dynamic_form_row:hover {
        background: #FFEEE5;
    }


.dynamic_form_top {
    background-color: white; /* White background for the 'menu' */
    padding: 10px 0; /* Padding for aesthetic spacing */
    position: sticky; /* Sticky position to stay at the top */
    top: 56px; /* Stick to the very top of the page */
    z-index: 1000; /* High z-index to stay above other content */
}
.dynamic_form-top-menu{
    height: 50px;
    padding-top: 10px;
}

ul.dynamic_form-top-menu-list, ol.dynamic_form-top-menu-list {
    list-style-type: none; /* Removes the default list style */
    padding: 0; /* Removes the default padding */
    margin: 0; /* Removes the default margin */
    float: left;
    margin-left: 5px;
}

.dynamic_form-top-menu-list li {
    display: inline; /* Displays list items inline */
    margin-right: 10px; /* Adds space between list items */
}
.dynamic_form_row_top_container. {
    margin-top: 5px;
    background: #B7A69D;
    border-style: solid;
    border-width: 1px;
    border-radius: 5px;
}
}

.dynamic_form_buttonmenu {
    margin-left: 0px; /* 30px from the left */
    margin-top: 5px; /* 30px from the top */
}


.dynamic_form-group .sort-input {
    width: 50px;
}

.dynamic_form-group .step-input {
    width: 50px;
}

.dynamic_form-group .options-input {
    transition: height 0.3s ease; /* Smooth transition for the height change */
}

    /* You can still apply a specific style when the textarea is active, if needed */
    .dynamic_form-group .options-input.active-option {
        /* Styles when active, if needed */
    }

.alert-success {
    color: #000;
}

.alert-danger {
    color: #000;
}
/* The sidepanel menu */
.sidepanel {
    height: 250px; /* Specify a height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0;
    left: 0;
    background-color: #111; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidepanel */
}

    /* The sidepanel links */
    .sidepanel a {
        padding: 8px 8px 8px 32px;
        text-decoration: none;
        font-size: 25px;
        color: #818181;
        display: block;
        transition: 0.3s;
    }

        /* When you mouse over the navigation links, change their color */
        .sidepanel a:hover {
            color: #f1f1f1;
        }

    /* Position and style the close button (top right corner) */
    .sidepanel .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
        margin-left: 50px;
    }

/* Style the button that is used to open the sidepanel */
.openbtn {
    font-size: 20px;
    cursor: pointer;
    background-color: #111;
    color: white;
    padding: 10px 15px;
    border: none;
}

    .openbtn:hover {
        background-color: #444;
    }​