/* appstyles.css (c) Petena AB 1994-2019, 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/
  20190203 PiS -> Separation of app.css and appstyles.css
  20190310 PiS -> Made accordion work

BUGS: *********** ( !=Warning, +=Additions to be made, -=Bug ) ************************************
  - 20190125 -> background image not scaled on iPhone

NOTES: ********************************************************************************************
  This file contains styling elements that we change frequently
  Hierarchy: appstyles.css -> app.css -> foundation.min.css
  Masters: article, section, index
*/

.min-margin-bottom {margin-bottom: 0.25rem;}

.AnnouncementBody {text-align:center;}
.AnnouncementBody p {margin-bottom:0px;}

.svmss-logo {
    background-image: url("images/Logo2014.png"); /*url("images/Logo.png");*/
    background-repeat: no-repeat;
    display: block;
    width: 228px;
    height: 44px; /*43px;*/ /*60px;*/
    text-align: center;
}


/* Text Styling */
.intro {
    font-size: 1.1em;
    line-height: 1.3em;
}

.ingress {
    margin-top: 6px;
    /*	margin-bottom: 1em; */
    text-align: left;
    /*	font-family: Arial; */
    font-size: 1.04em;
    /*	line-height: 1.3em; */
    font-weight: bold;
}

.featureimage {
    height: 100vh;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

    .featureimage h2, .featureimage h3 {margin-left: 2rem; color: #fff; float: left;}
 
.fixedbg {
    height: 40vh;
    background-attachment: fixed;
    background-size: cover contain;
    background-repeat: no-repeat;
    background-position: center;
}

.fixedbg h2, .fixedbg h3 {margin-left: 2rem; color: #fff; float: left;}


/* backgrounds FROM PREVIOUS VERSION */

.important, .important a { line-height: 30px; vertical-align: middle; color: #fff; background: url(images/bakgrundstoner.jpg);	background-position: 0px -525px; }
.greengo, .greengo a { line-height: 30px; vertical-align: middle; color: #fff; background: url(images/bakgrundstoner.jpg);	background-position: -4px -128px; }
.lightgreengo, .lightgreengo a { line-height: 30px; vertical-align: middle; color: #fff; background: url(images/bakgrundstoner.jpg);	background-position: -4px -2px; }
.babybluego, .babybluego a { line-height: 30px; vertical-align: middle; color: #fff; background: url(images/bakgrundstoner.jpg);	background-position: -4px -409px; }
.bluego, .bluego a  { line-height: 30px; vertical-align: middle; color: #fff; background: url(images/bakgrundstoner.jpg); background-position: -4px -370px; }
.deepredgo, .deepredgo a {  line-height: 30px; vertical-align: middle; color: #fff; background: url(images/bakgrundstoner.jpg); background-position: -4px -520px;}
.yellowgo, .yellowgo a  { line-height: 30px; vertical-align: middle; color: #fff; background: url(images/bakgrundstoner.jpg);	background-position: -4px -740px; }
.yellow, .yellow a { color: yellow; }
.white, .white a { color: white; }

/** TEST STYLING **/
.header {line-height: 30px; vertical-align: middle; color: #fff;}
.blueleft {background-color: #002D75;}
.bluefront {background-color: #004ECC;}
.redleft {background-color: #600000;}
.redfront {background-color: #B50900;}
.yellowsphere {background-color: #FFD600;}

.newsgo, .newsgo a {
    line-height: 30px;
    vertical-align: middle;
    color: #fff;
    background: url(images/bakgrundstoner.jpg);
    background-position: 0px -460px;
}
/*.LeftColumnLinksBody {border:1px solid black;}*/

/* accordion begin */
.accordion-title {
    font-weight: bold;
    font-size: 1.25rem;
    font-family: Cambria, Times New Roman, serif;
    color: #0a0a0a;
}
.accordion-title::before {
    background-color: #438455;
    width: 24px;
    border-radius: 50%;
    background-color: #002D75; /* #49A15E; */
    box-shadow: 0 1px 1px rgba(0,0,0,0.2);
    transition: background-color 500ms ease;
    font-size: 20px;
    line-height: 24px;
    color: white;
    text-align: center;
    vertical-align: middle;
    content: '?';
    top: calc(50% - 4px);
}
.is-active > .accordion-title::before {
    content: '!';
    background-color: #600000;
}

/* accordion end */

.ingress {font-weight:bold; font-size:110%;}
.verylarge {font-size:128%;}
.large {font-size:114%;}
.small{font-size:86%;}
.verysmall{font-size:72%;}

.snippet {
    background-color: #f5f7f5;
    display: inline-table;
    margin-top: 1.2em;
    margin-right: 0.2em;
    margin-bottom: 1.5em;
    padding-top: 0.6em;
    padding-bottom: 0.6em;
    padding-left: 0.6em;
    width: auto;
    border: solid 1px #688;
    height: auto;
}


/** NEWS LIST STYLES **************************************************************************************************************/
/** <newslist><h3 newsgo><ol news><li><h4><a></a></h4><newsdate/><newsrunpage/></li></ol></newslist> **/
.newslist {padding-bottom: 12px;margin-bottom: 12px;border-bottom: solid 2px #a0a0a0;}
    .newslist h3 a {
        color: #fff;
        line-height: 30px;
        vertical-align: middle;
    }
.newslist h4 a {color: #fff;}
.newsgo {line-height: 30px; vertical-align: middle; color: #fff; background: url(images/bakgrundstoner.jpg); background-position: 0px -460px; margin-top: 4px;}
.center {text-align:center;}
.news h4 a {
    color: #304e8d;
}

    .news h4 a:hover {
        text-decoration: underline;
    }
/*
ol.news {
    list-style-type: none;
    line-height: 1.2em;
}

    ol.news li {
        padding-bottom: 12px;
    }

.newsdate {
    font-size: .85em;
    color: #c30f1e;
}

.newsrunpage {
}
 
    ol.news h4 {
        font-size: 130%;
        font-weight: bold;
        line-height: 1.0;
    }


    */
.news {}

    .news .newsdate {
/*        font-size: 1.2 em; */
        color: #808080;
    }

    .news .newsrunpage {
        font-size: 1.02em;
        font-weight: bold;
        color: #303030;
        padding-top: 0.5em;
    }

    .news .newsbody {
        padding-top: 0.5em;
        padding-bottom: 1em;
        border-bottom: solid 1px #a0a0a0;
    }


ol.news {
    display: block;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

    ol.news li h2 {
        padding-top: 1em !important;
    }

    ol.news li h3 {
        padding-top: 1em !important;
    }

    ol.news li h4 {
        padding-top: 1em !important;
        font-size: 0.96em;
        margin-top: 0;
    }

    ol.news li {
        margin: 0;
        padding: 0;
        line-height: 1.4em;
    }

        ol.news li .newsdate {
            font-size: 0.87em;
            color: Red;
            float: left;
            padding-right: 6px;
        }

        ol.news li .newsrunpage {
            font-size: 0.87em;
            font-weight: normal;
            padding: 0;
            color: #101010;
        }

/** tst **/
