
body{
    font-size: 100.01%;
    font-family: verdana, arial;
    color: black;
    background: /*url("../img/bkg.png")*/ #e7f3f7;
}

/*--- logga och meny ---------------------------------------------------------*/
.topwrapper{
    display: inline-block;
    max-width: 900px;
    width:100%;
    height: 100px;
    position: fixed;
    top: 0;
    right: 0;
    left:0;
    margin: auto;
    background: white;
    padding: 0;
    z-index: 24000;
}

.logowrapper {
    display: inline-block;
    height: 90px;
    width: auto\9; /* ie8 */
    margin: 0;
    background-color: white;
}

#logotype{
    display: inline-block;
    max-width: 400px;
    width: 100%;
    height: auto;
    width: auto\9; /* ie8 */
    margin: 0;
}

#sun {
    width:100px; 
    height:85px; 
    background-image: url('../img/sun.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display:flex; 
}
#suntxt {
    font-size: 0.8em;
    margin: auto;
    margin-top: auto;
    display:inline-block;
    text-decoration: none;
    text-align: center;
    color: black;
}

#imgloga{
    width: 70%;
}

.menubar{
    display: inline-block;
    width: 100%!important;
    background-color: #87CEEB; 
    text-align: left;
    position: relative;
    top:0px;
    z-index: 24001;
}

.menuitem, .menuiteml {
    color:white;
    background-color:inherit;
    cursor:pointer;
    padding:5px 24px!important;
    float:right!important;
}

.menuiteml {
    float:left!important;
    visibility: hidden;
}

.dropdownitem{
    color:darkblue!important;
    text-decoration:none;
    cursor:pointer;
    font-weight: 900;
    font-size: 1.2em;
}

.dropdownitem:hover{
    color:maroon!important;
    /*background-color:rgba(255, 255, 255, 0.9);*/
}

#dropdown {
    display: inline-block;
    position: fixed;
    margin-left: auto;
    margin-right: auto;
    padding: 2em;
    top: 140px;
    left: 50%;
    width: 250px;
    transform: translateX(-50%);
    line-height: 2.5;
    padding:12px 24px!important;
    background-color:rgba(231, 243, 247, 0.9);
    border: 1px solid black;
    visibility: hidden;
    z-index: 999;
}

#notice {
    display: inline-block;
    position: absolute;
    top: 0px;
    min-height: 110px;
    left: calc(100% - 315px);
    padding-left: 10px;
    font-size: 0.9em;
    width:300px;
    background-color: rgba(255,255,255,0.8);
    z-index: 900;
}

/*--- textinnehåll -----------------------------------------------------------*/
.container{
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    background: white;
    top:132px;
}

.main {
    font-size: 1.0em;
    width: 100%;
    background-color: white;
}

div.footer {
    display:block;
    float: left;
    width: 100%;
    background-image: url(../img/top53.jpg);
    background-size:900px 120px;
}

table.footer {
    width:100%;
    /*font-size:0.9em;*/
    background: rgba(255,255,255,0.7);
    padding-bottom: 10px;
    padding-top: 10px
        
}

.footer td {
    font-size: 1.0em;
}

@media screen and (min-width: 601px) {
    .footer {
        font-size: 1.0em;
    }
    #sun {
        width:100px; 
        height:85px; 
    }
    #suntxt {
        font-size: 0.8em;
    }
    .container{
        top:132px;
    }
    #dropdown {
        top: 140px;
    }
    #info {
	left: calc(100% - 315px);
	width:300px;
	font-size: 0.9em;
    }
}

@media screen and (max-width: 600px) {
    .footer {
        font-size: 0.7em;
    }
    #sun {
        width:80px; 
        height:80px; 
    }
    #suntxt {
        font-size: 0.7em;
    }
    .container{
        top:125px;
    }
    #dropdown {
        top: 133px;
    }
    #info{
	min-height: 70px;
	left: calc(100% - 210px);
	width:200px;
	font-size: 0.65em;
    }
}

h1{
    font-size: 1.2em;
}

.link {
    cursor:pointer;
    color:blue;
    text-decoration: none;
}

.link:hover {
    color:maroon;
}

/*--- e-post -----------------------------------------------------------------*/
#tel{
    width: 70px;
}

#mail{
    width: 70px;
}

.btns {
    position: absolute;
    top: 300px;
    width: 70px;
}

/*--- Modal window -----------------------------------------------------------*/
@media screen and (max-height: 600px) {
    .modal {
        position: absolute;
        height: 200%;
    }
    .modal-content {
        width: 300px;
    }
}

@media screen and (min-height: 601px) {
    .modal {
        position: fixed;
        height: 100%;
    }
    .modal-content {
        width: 350px;
    }
}

.modal {
    display: none;
    padding-top: 0px;
    left: 0;
    top: 10px;
    width: 100%;
    overflow: auto;
    z-index: 99999;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 10px;
    border: 1px solid #888;
    position: relative;
}

.content {
    border: none;
}

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    text-align: right;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.buttons{
    background-color: #87CEEB;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    color: white;
}

.buttons:hover {
    opacity: 0.7;
    color: maroon;
}

.logout {
    float: right; 
    padding-top: 10px; 
    padding-right: 10px; 
    text-align: center; 
    cursor: pointer;
}

