/* app.css (c) Petena AB 1994-2020, http://www.petena.se, http://www.praktit.se

  SvalovsMontessori.Se
  
DEVELOPMENT HISTORY: ******************************************************************************
  2018     PiS -> Start of new fluid design based on https://foundation.zurb.com/
  20190120 PiS -> First Public site version when foundation v6.5.1 was stable enough

BUGS: *********** ( !=Warning, +=Additions to be made, -=Bug ) ************************************
  - 20190125 -> background image not scaled on iPhone

NOTES: ********************************************************************************************
  Hierarchy: appstyles.css -> app.css -> foundation.min.css
  Masters: article, section, index

*/

/** BASIC LAYOUT **/
@media only print {
    /* For mobile phones: */
    [class*="large-"] {
        width: 100%;
}
    }
}

    body {
        margin-left: auto;
        margin-right: auto;
        margin-top: 0px;
    }

    #maintop {
        max-width: 1240px;
        margin-left: auto;
        margin-right: auto;
        /*    padding-top: 12px; */
        /* border-bottom: 1px solid lightgray; */
    }

    #mainmiddle {
        max-width: 1240px;
        margin-left: auto;
        margin-right: auto;
        /*    padding-top: 12px; */
        /* border-bottom: 1px solid lightgray; */
    }

    #mainbottom {
        max-width: 1240px;
        margin-left: auto;
        margin-right: auto;
        /*    padding-top: 12px; */
    }

    .borders {
        border-left: 1px solid lightgray;
        border-right: 1px solid lightgray;
    }

.grid-padding-x > .cell {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
}
    /* Layout Elements 
.off-canvas-absolute { background-color: #fff;}
.sticky-container { z-index: 99;}

        $offcanvas-sizes: (
        small: 450px,
        medium: 550px
      );
        $offcanvas-vertical-sizes: (
        small: 450px,
        medium: 550px,
      );  
    */

    /* #offCanvasLeft {width: 60%;} */
    .LeftColumnLinksBody .menu a {
        padding-top: 0.3rem;
        padding-bottom: 0.3rem;
    }

    #offCanvasLeft .accordion-menu li {
        width: 150px;
    }

    #offCanvasLeft ul.vertical.dropdown.menu li a {
        padding-top: 0.2rem;
        padding-bottom: 0.2rem;
    }

        #offCanvasLeft ul.vertical.dropdown.menu li a:hover {
            background-color: #e6e6e6;
            display: block;
        }

    /** BASIC TEXTUAL **/
html * {
    word-wrap: break-word;
}

html p, ul, ol, .news {
    font-family: Georgia, Cambria, Times New Roman, serif;
    line-height: 1.74em;
    margin-top: 0.20em;
    margin-bottom: 1.40em;
    font-size: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

    h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
        font-family: Georgia, Cambria, Times New Roman, serif;
        font-style: normal;
        font-weight: bold;
        color: inherit;
        text-rendering: optimizeLegibility;
    }

    @media print, screen and (min-width: 40em) {
        h1, .h1 {
            font-size: 2.5rem;
            margin-bottom: 0.25rem;
        }

        h2, .h2 {
            font-size: 1.8rem;
            margin-top: 1rem;
            margin-bottom: 0.2rem;
        }

        h3, .h3 {
            font-size: 1.35rem;
            margin-top: 0.9rem;
            margin-bottom: 0.16rem;
        }

        h4, .h4 {
            font-size: 1.2rem;
            margin-top: 0.8rem;
            margin-bottom: 0.12rem;
        }

        h5, .h5 {
            font-size: 1.125rem;
            margin-top: 0.75rem;
            margin-bottom: 0.1rem;
        }

        h6, .h6 {
            font-size: 1rem;
        }
    }

    @media 0 {
        a,
        a:visited {
            text-decoration: none;
        }

            a[href]:after {
                content: "";
                display: none !important;
            }

        abbr[title]:after {
            content: "";
            display: none !important;
        }

        #masthead, #footer {
            background-color: #e6e6e6 !important;
        }
    }

    #responsive-menu a:hover {
        display: block;
        /*	text-decoration: none;
	font-weight:bold;
  color: #7b262a;  */
        /*	background-color: #eeeeee;  */
    }

.menu.vertical {
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
    font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;
}

        .menu.vertical a:hover {
            display: block;
            /*	text-decoration: none;
  color: #7b262a;  */
            /*font-weight:bold;*/
            background-color: #e6e6e6;
            /*background: url(images/ikoner.png) no-repeat -112px -90px; z-index: 999;  */
        }


    #responsive-menu {
        z-index: 999 !important;
    }

        #responsive-menu ul {
            font-size: 110%;
            line-height: 1.10;
            -ms-text-size-adjust: 100%;
            -webkit-text-size-adjust: 110%;
            list-style-type: none;
        }

.menu {
    font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;
}
    .menu ul li {
        line-height: 1.0;
    }

    .title-bar {
        background: #e6e6e6;
    }

    .menu-icon {
        background: #0a0a0a;
    }

    .sticky.is-stuck.is-at-top {
        margin-top: 0;
    }

.densebuttons a {padding-left:0.4rem; padding-right:0.4rem;}

#ledning .grid-container {font-size: 86%;}
#ledning .card {border-radius: 16px;}
#ledning h3, .h3, h5, .h5 {margin: 0px;padding: 0px; white-space: nowrap;}
#ledning p {line-height: 1.4em; margin-top: 0.20em; margin-bottom: 0.20em;}
#personal .grid-container {font-size: 80%;}
#personal .card {border-radius: 12px;}
#personal h3, .h3, h5, .h5 {margin: 0px; padding: 0px; white-space: nowrap;}
#personal p {line-height: 1.4em; margin-top: 0.20em; margin-bottom: 0.20em;}
/*#personal img {
    background-image: url("/Files/Personal/unknown.jpg"); min-width: 264px;  min-height: 180px; 
}*/

#footer {
    border-top: solid 1px #7f8485; /* same situation as the masthead but this time we're rendering the top border. */
    padding-bottom: 1px; /* hack to force the entire footer to receive the background color */
    background-color: #e6e6e6;
    margin-left: 0;
    margin-right: 0;
    margin: 0;
    float: none;
}

        #footer p {
            text-align: center;
            font-size: 1.04em;
            line-height: 1.1rem;
            padding: 0;
            margin: 0;
            overflow: hidden;
            padding: 0;
            margin: 0;
            border: none;
            color: #606060;
        }

        #footer a, #footer a:visited {
            color: #606060;
        }

    #footer {
        font-size: 0.85em;
    }

        #footer * a, #footer * a:visited {
            color: #606060;
        }

    .aboutwebsite {
        font-family: Arial, Verdana, Sans-Serif;
        font-size: 9px;
        color: #999999;
        line-height: 1em;
        float: left;
        padding-left: 6px;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .poweredby {
        font-family: Arial, Verdana, Sans-Serif;
        font-size: 10px;
        color: #999999;
        line-height: 1em;
        float: right;
        padding-top: 6px;
        padding-bottom: 6px;
        padding-right: 6px;
    }

    /** container STYLES **************************************************************************************************************/

    .container-hover {
        border-radius: 3px;
        margin-bottom: 2rem;
        padding-bottom: 0.25rem;
        padding-left: 1.5rem;
        padding-right: 1rem;
        padding-top: 1rem;
        transition: background .25s ease-in-out;
    }

        .container-hover:hover {
            background: #e6e6e6;
            transition: background .25s ease-in-out;
        }

        .container-hover p { /*color:#333;*/
            margin-bottom: 0;
        }

        .container-hover a .thumb-description { /*color:#0a0a0a;*/
        }

        .container-hover .link { /*color:#1d92cf;*/
        }

    .attention * a, .interest * a, .desire * a, .action * a {
        color: #101010;
    }

        .attention * a:hover, .interest * a:hover, .desire * a:hover, .action * a:hover {
            color: #304e8d;
        }

    .attention h2 a, .interest h2 a, .desire h2 a, .action h2 a {
        color: #304e8d;
    }

    .attention h3 a, .interest h3 a, .desire h3 a, .action h3 a {
        color: #304e8d;
    }

    a {
        background-color: transparent;
        -webkit-text-decoration-skip: objects;
    }

    .dense td {
        padding: 0.2rem 0.2rem 0.2rem;
    }