﻿/*=== Base CSS - Move to _base.scss when all other css has been moved to scss.*/
:root {
    color: #000;
}
body {
    background-color: #ededed;
}
h1 {
    font-size: 1.9rem;
    font-weight: bold;
}
h2 {
    font-size: 1.45rem;
    color: rgb(80, 80, 80);
}
h3 {
    font-size: 1.3rem;
    margin: 5px auto 5px auto;
    color: rgb(48, 136, 155);
}
h4 {
    margin: 5px auto 5px auto;
}
a, a:visited {
    color: rgb(29, 125, 147);
}
    a:hover {
        color: rgb(40, 40, 40);
    }
button {
    color: #000;
    border: 1px solid #797979;
    background-color: rgb(245,245,245);
    border-radius: 3px;
}
    button:not(:disabled) {
        cursor: pointer;
    }
hr {
    border-color: rgba(0,0,0,0.1);
}
/*=== Base CSS - END.*/



/*EV INTE HA KVAR????    */
  /*  .t_dashbord {border-color: rgba(29, 188, 191, 1.0) !important;  }*/
    .t_overview {border-color: rgba(139, 139, 139, 1.0) !important;  }
        .sitemap .t_dashbord {box-shadow: inset 0px -10px 0px 0 rgba(29, 188, 191, 1.0);}
        /*.sitemap .t_dashbord:hover {background-color: rgba(29, 188, 191, 1.0);}*/

    .t_organization {border-color: rgba(125, 209, 49, 1.0) !important;}
        .sitemap .t_organization {box-shadow: inset 0px -10px 0px 0 rgba(125, 209, 49, 1.0);}
        /*.sitemap .t_organization:hover {background-color: rgba(125, 209, 49, 1.0);}*/

    .t_budget {border-left-color: rgba(49, 145, 229, 1.0) !important;}
        .sitemap .t_budget {box-shadow: inset 0px -10px 0px 0 rgba(49, 145, 229, 1.0);}
        /*.sitemap .t_budget:hover {background-color: rgba(49, 145, 229, 1.0);}*/
    
    .t_products {border-color: rgba(209, 165, 45, 1.0) !important;}
        .sitemap .t_products {box-shadow: inset 0px -10px 0px 0 rgba(209, 165, 45, 1.0);}
        /*.sitemap .t_products:hover {background-color: rgba(209, 165, 45, 1.0);}*/

    .t_portfolio {border-color: rgba(209, 165, 45, 1.0) !important;}
        .sitemap .t_portfolio {box-shadow: inset 0px -10px 0px 0 rgba(209, 165, 45, 1.0);}
    
    .t_statistics {border-color: rgba(208, 94, 44, 1.0) !important;}
        .sitemap .t_statistics {box-shadow: inset 0px -10px 0px 0 rgba(208, 94, 44, 1.0);}
        /*.sitemap .t_statistics:hover {background-color: rgba(208, 94, 44, 1.0);}*/
    
    .t_social {border-color: rgba(29, 188, 191, 1.0) !important;}
        .sitemap .t_social {box-shadow: inset 0px -10px 0px 0 rgba(29, 188, 191, 1.0);}
        /*.sitemap .t_social:hover {background-color: rgba(29, 188, 191, 1.0);}*/

    .t_settings {border-color: rgba(169, 55, 44, 1.0) !important;}
        .sitemap .t_settings {box-shadow: inset 0px -10px 0px 0 rgba(207, 41, 56, 1.0);}
        /*.sitemap .t_admin:hover {background-color: rgba(207, 41, 56, 1.0);}*/

    .t_admin {border-color: rgba(207, 41, 56, 1.0) !important;}
        .sitemap .t_admin {box-shadow: inset 0px -10px 0px 0 rgba(207, 41, 56, 1.0);}
        /*.sitemap .t_admin:hover {background-color: rgba(207, 41, 56, 1.0);}*/


/*LAYOUT NOT SIGNED IN*/

:root {
    --header-height: 60px;
    --main-font-size: 0.95rem;
    --main-line-height: 1.3rem;
}



.contents{
    display:contents;
}

/*.sback {
    overflow:hidden;
    position:relative;
}*/
/* ::after, not ::before: body::before in site_common.css is the background-image
   backdrop, and this gradient is meant to sit on top of it. */
.sback::after {
    content: "";
    /*position: absolute;*/
    position: fixed;
    /*    display: block;*/
    z-index: -1;
    width: 100%;
    min-height: 100%;
    background: linear-gradient(100deg,#0aa2b6,#e88bed,#77a73b);
    background-size: 150% 150%;
    animation: gradient-animation 30s ease infinite;
    opacity: 15%;
}

@keyframes gradient-animation {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 100%;}
    100% {background-position: 0% 50%;}
}
/*@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}*/

/*Testar att ta bort för index topp som istället får klassen flexcontainer*/
/*header .container{ display:flex;}*/
.container {max-width: 1400px;}

.site-header {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    /*justify-content: space-between;*/
    position: sticky;
    top: 0;
    z-index: 1020;
    height: var(--header-height);
    padding: 0;
    background: linear-gradient(0deg, rgba(50,50,50,1) 0%, rgba(90,90,90,1) 100%);
    box-shadow: 0px 5px 5px rgba(0,0,0,.15);
}
    .site-header > .container{
        flex-wrap:nowrap;
    }

    main:not(.indialog) {
        /* box-shadow: inset 0 15px 15px -15px #2c3e50, inset 0 -15px 15px -15px #2c3e50;*/
        padding: 0px;
        min-height: calc(100vh - 140px); /*(för att få footern i botten)*/
    }

    /*TEST
        main::before { 
        content: "";
        position:absolute;
        z-index:1;*/
        /*    background: #ffffff url(/images/backgrounds/color_quad.png) no-repeat center center;*/
        /*background-color: blue;
        background-size: cover;*/
        /*  background-attachment: fixed;*/
        /*transition: background-image ease-in-out 0.3s;
        min-width: 100%;
        min-height: 100%;}*/



/*----------------------------*/

.content-box-site {
    box-shadow: 0px 1px 8px 0px rgba(80,80,80,0.4);
    margin: 20px auto; /* (auto förut men ställer till flex items i avtal)*/
    border-radius: 8px 8px 4px 4px;
    background-color: rgba(250,250,250,0.9);
    min-height: 100px; /* (Nyinlagt, kan ställa till)*/
}

.content-padd-x2 {
    padding: 20px;
}

/* ORGLIST ----------------------------*/

.org-container {
    height:auto;
    margin: 0px auto;
/*    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 1px 8px 0px rgba(40,40,40,0.2);
    max-width: 1400px;
    background: linear-gradient(20deg, rgba(245, 245, 245, 0.95), rgba(255, 255, 255, 1.9), rgba(245, 245, 245, 1.95),rgba(245, 245, 245, 1.95), rgba(235, 235, 235, 1.75), rgba(255, 255, 255, 1.9),rgba(255, 255, 255, 1.9), rgba(235, 235, 235, 1.75), rgba(255, 255, 255, 1.9), rgba(245, 245, 245, 1.95),rgba(255, 255, 255, 1.9));
    background-size: 400% 400%;
    animation: login-gradient-anim 60s ease infinite;*/
}
    .org-container .sorgtitle {
        text-align: center;
    }
.org-container .orglist {
    list-style: none;
    margin-top: 40px;
    margin-bottom: 40px;
}

.org-container .orglist li {
    width: 33%;
    text-align: center;
    padding: 10px 10px;
}

    .org-container .orglist li a span {
        text-overflow: ellipsis;
        overflow: hidden;
    }

.org-container .orglist .orglogo {
    max-height: 100%;
    /* max-width:70px; */
    vertical-align: middle;
    padding-right: 10px;
    /* display:inline-block; */
}

.org-container .orglist .btn.on_bright {
    height: 90px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 1px 4px 0px rgba(40,40,40,0.2);
    max-width: 500px;
    /*--orgbtn-start: rgba(245, 245, 245, 0.95);
                --orgbtn-end: rgba(255, 255, 255, 1.0);
                background: linear-gradient(5deg, var(--orgbtn-start), var(--orgbtn-end)) !important;
                transition: box-shadow ease-in-out 0.2s, --orgbtn-start 0.2s ease-in-out, --orgbtn-end 0.2s ease-in-out;*/
    background: linear-gradient(5deg, rgba(245, 245, 245, 0.95), rgba(255, 255, 255, 1.0));
    transition: box-shadow ease-in-out 0.4s;
    /*    background: linear-gradient(20deg, rgba(245, 245, 245, 0.95), rgba(255, 255, 255, 1.9), rgba(245, 245, 245, 1.95),rgba(245, 245, 245, 1.95), rgba(235, 235, 235, 1.75), rgba(255, 255, 255, 1.9),rgba(255, 255, 255, 1.9), rgba(235, 235, 235, 1.75), rgba(255, 255, 255, 1.9), rgba(245, 245, 245, 1.95),rgba(255, 255, 255, 1.9));
    background-size: 400% 400%;
    animation: login-gradient-anim 60s ease infinite;*/
}

    .org-container .orglist .btn.on_bright:hover {
        /*--orgbtn-start: rgba(225, 225, 225, 1.0);
                    --orgbtn-end: rgba(235, 235, 235, 1.0);*/
        /*background: linear-gradient(5deg, rgba(225, 225, 225, 1.0), rgba(235, 235, 235, 1.0));*/
        background: linear-gradient(5deg, rgba(235, 235, 235, 1.0), rgba(245, 245, 245, 1.0));
        box-shadow: 0px 1px 8px 0px rgba(40,40,40,0.2);
    }

                .org-container .datetd{
                    white-space:nowrap;
                }

/*MEDIA -------------------------------------------
--------------------------------------------------*/

@media screen and (max-width:850px) {
    h1 {font-size: 1.65rem;}
    h2 {font-size: 1.3rem;}
    h3 {font-size: 1.1rem;}

    .org-container .orglist li { width: 50%;}
}

@media screen and (max-width:550px) {

    .org-container .orglist li { width: 100%;}
}
