/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html, body {
    /*background: #F1F2F2;*/
    min-height: 100%;
}
#content-container {
    width: 100%;
    color: #555; 
    font-family: Arial,sans-serif;
    text-align: center;
}
#content {
    padding: 0px;
    margin: auto;
    width: 100%; 
    padding-top: 0px;
    background-color: #FCF3CA;
    background-color: #fff;
    font-size: 16px;
    font-family: 'Old Standard TT', serif;
    font-family: arial, sans-serif;
    color: #555;  
}
input, textarea {
    font-size: 16px;
    font-family: 'Old Standard TT', serif;
    font-family: arial, sans-serif;
    color: #666666;
    color: #555;  
}
a {
    color: #555;
}
a:hover {
    opacity: 0.9;
}
#menu_small {

}
.content-frame {
    width: 490px;
    width: 40%;
    max-width: 530px;
    padding: 25px;
    margin: 20px;
    margin-bottom: 0px;
    display: inline-block;
    vertical-align: top;
    font-family: arial,sans-serif;
    text-transform: center;
}
.content-frame-mobile {
     width: 70%;
}
.content-frame img {
    width: 85%;
}
.bildtext {
    font-size: 14px;
    font-style: italic;
    line-height: 40px;
    font-family: serif;
}
.img_box_back {
    display: inline-block;
    background-repeat: no-repeat;
    background-size: cover;
    width: 310px;
    height: 245px;
    background-position: center center;
}
/*
    Start view
*/
#start-section {
    /*background-image: url('../img/back3.jpg');*/
    background-image: url('../img/huset_back.jpg');
    background-size: cover;
    background-position: center right;
    height: 500px;
    text-align: center;
    border-bottom: 0px solid #EF4B3A;
}
.big-pic {
    margin: 50px;
    /*max-width: 1300px;*/
    margin-bottom: 10px;
}
#start-logo {
    display: none;
}
#start-back {

}
#start-title {
    text-align: center;
    top: 40%;
    position: relative;
    font-size: 27px;
    font-family: Arial;
    height: 260px;
}
#title {
    color: #fff;
    background-color: #EF4B3A;
    padding: 15px;
    padding-top: 2px;
    padding-bottom: 5px;
    border: 0px #EF4B3A solid;
    font-family: 'Petit Formal Script', cursive;
    font-family: 'Old Standard TT', serif;
    font-weight: bold;
    border-radius: 0px;
    border: 0px solid #FBB03B;
    text-transform: uppercase;
    line-height: 26px;
    font-size: 30px;
    letter-spacing: 1px;
    background-color: #E74F4E;
}
#start-menu {
    margin-top: 0px;
}
#start-pics {
    height: 400px;
    margin-top: -170px;
}
#start-pic-1 {
    background-image: url('../img/back1_2.jpg');
    background-size: cover;
    background-position: center center;
    height: 100%;   
}
#start-text {
    margin-top: 75px;
    text-align: center;
}
/*
    Menu
*/

#menu, #menu_small {
    display: none;
    text-align: center;
    font-family: 'Old Standard TT', serif;
    font-family: 'Merriweather Sans', sans-serif;
    position: absolute;
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    width: 100%;
    z-index: 99999;
    background-color: #fff;
    padding-top: 18px;

}
#menu {
    /* border-bottom: 1px solid #05A9E2; */
}
#menu-border {
    width: 80%;
    left: 10%;
    position: absolute;
    bottom: -1px;
    height: 0px;
    background-color: yellow; 
}
#meny-drop {
    width: 130px;
    color: #555; 
    background-color: #fff;
    padding-top: 14px;
    font-size: 20px;

}
#menu_small {
    margin: auto;
    margin-left: 50px;
    margin-right: 50px;
    height: 50px;
    width: auto;
    overflow: hidden;
    text-align: right;
}
.menu-item {
    display: block;
    display: inline-block;
    padding-top: 0px;
    padding-bottom: 10px;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 16px;
    /* font-weight: bold; */
    text-transform: uppercase;
    background-color: #EFC335;
    background-color: #05A9E2;
    color: #EF4B3A;
    color: #05A9E2;
    color: #555; 
    letter-spacing: 1px;
    margin: auto;
    border-bottom: 2px solid #C7E7EF;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    letter-spacing: 1px;
    background-color: #fff;
    color: #05A9E2;
    color: #6ABDD3;
    font-family: "futura-pt";
    text-align: center;
    /* max-width:300px; */
}
.menu-item-small {
    padding-bottom: 17px;
    font-size: 18px;
}
.color-code {
    display: inline-block;
    width: 18px;
    height: 18px;
}
#menu_small .menu-item {
    width: 100%;
}
.menu-item:hover {
    border-bottom: 2px solid #EF4B3A;
    color: #EF4B3A;
    /*color: #EF4B3A; */
}
#menu_small .menu-item:hover {
    border-bottom: 4px solid transparent;
}
#menu_small a {
    text-decoration: none;
}
#menu_small a .menu-item:hover {
    background-color: yellow;
}
.menu-title {
    position: absolute;
    left: 25px;
    top: 0px;
    padding: 0px;
    z-index: 999999;
    font-size: 24px;
    font-color: #EF4B3A;
    font-family: 'Merriweather Sans', sans-serif;
    font-family: 'Petit Formal Script', cursive;
    font-weight: bold;
    
    left: 50%;
    /*top: 75px; */
    margin-left: -142px;
    
}
#title {
    line-height: 32px;
}
.menu-title .sno {
    font-size: 26px;
    font-color: #EF4B3A;
    font-family: 'Merriweather Sans', sans-serif;
    font-family: 'Petit Formal Script', cursive;
    font-weight: bold;
    text-transform: none;  
    line-height: 40px; 
}
.menu-title .h {
    font-size: 24px;
}
/*
    Karta
*/
#map_canvas {
    height: 350px;
    width: 85%;
    display: inline-block;
}
/*
    Pris
*/

#pris-calendar {
    max-width: 500px;
    height: 400px;
    display: inline-block;
}
.tablestyle {
    table-layout: fixed;
    display: inline-block;
}
.tablestyle td {
    border-bottom: 1px dashed #808080;
    padding: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: left;
    vertical-align: top;
}
/*
    Kontakt
*/
.contact {
    text-align: left;
    width: 100%;

}
.contact input, .contact textarea {
    border: 0px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.contact input {
    width: 40%;
    min-width: 200px;
}
.contact textarea {
    width: 80%;
    min-width: 400px;
    height: 200px;
}
/*
    Page
*/
#page-section {
    margin-top: 60px;
}
/*
    Topics
*/
.topic-start {
    background-size: cover;
    background-position: center center;
    height: 600px;
    text-align: center;
    border-bottom: 0px solid #EF4B3A;
}
.topic-title {
    text-align: center;
    margin-top: -45px;
    font-size: 27px;
}
.title {
    color: #fff;
    background-color: #EF4B3A;
    background-color: #E74F4E;
    padding: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
    border: 0px #EF4B3A solid;
    font-family: 'Petit Formal Script', cursive;
    font-family: 'Old Standard TT', serif;
    font-weight: bold;
    border-radius: 0px;
    border: 0px solid #FBB03B;
    text-transform: uppercase;
    line-height: 33px;
    font-size: 30px;
    letter-spacing: 2px;
}
.topic-section {
    margin-top: 0px;
}
.topic-content {
    max-width: 780px;
    background-color: #fff;
    text-align: center;
    display: inline-block;
    padding: 50px;
    border: 0px solid #EF4B3A;
    border-bottom: 0px solid #fff;
}
.page-huset {
    /*background-image: url('../img/huset_back.jpg');
    background-image: url('../img/galleri/IMG_3168.jpg'); */
    background-image: url('../img/huset_back3.jpg');
}
.page-narhet {
    background-image: url('../img/back3.jpg');
    background-image: url('../img/back1_2.jpg');
    background-image: url('../img/narhet_back.jpg');
    background-position: center bottom;
}
.page-att_gora {
    background-image: url('../img/back1_2.jpg');
    background-image: url('../img/back_flowers.jpg');
    background-image: url('../img/back3.jpg');
    background-position: center center;
}
.page-karta {
    background-image: url('../img/karta_back.jpg');
    background-position: center center;    
}
.page-pris {
    background-image: url('../img/back_flowers.jpg');
    background-position: left top;     
}
.page-kontakt {
    background-image: url('../img/hamn_back.jpg');
    background-position: center center;
}
.text img {
    display: inline-block;
}
/*
    Page-admin
*/
#page-admin {
    margin-top: 100px;
}
#page-admin-form {
    max-width: 800px;
    display: inline-block;
    text-align: left;
}
#page-admin-form input {
    padding: 5px;
    margin-bottom: 10px;
    font-family: inherit;
    border: 1px solid grey;
    box-shadow: 0px;
    width: 300px;
    color: inherit;
    font-size: 20px;
    font-family: 'Petit Formal Script', cursive;
}
.admin-button {
    padding: 10px;
    background-color: #EF4B3A;
    cursor: pointer;
    color: #fff;
    display: inline-block;
}
.admin-heading {
    padding: 10px;
    padding-left: 0px;
    font-size: 20px;
    border-bottom: 2px solid grey;
    font-family: 'Petit Formal Script', cursive;
}
.admin-button:hover {
    background-color: #C94039;
}
/*
    Footer
*/
#footer {
    margin-top: 50px;
    padding-bottom: 30px;
    text-align: center;
}
#footnote {
    display: inline-block;
    max-width: 600px;
    text-align: center;
    font-size: 10px;
    font-family: 'Merriweather Sans', sans-serif;
}
/*
    General functions
*/
.reg {
    font-family: 'Merriweather Sans', sans-serif;
    font-size: 16px;
}
.inline {
    display: inline-block;
}
.fifty {
    float: left;
    width: 50%;
}
.text {
    max-width: 800px;
    /* font-family: 'Old Standard TT', serif; */
    display: inline-block;
    font-size: 16px;
    font-family: 'Old Standard TT', serif;
    font-family: arial, sans-serif;
    line-height: 24px;
    color: #555; 
    color:  #6E6E73;
    padding: 10px;
}
.text p {
    margin-top: 0px;
}
.text ul {
    display: inline-block;
}
.text li {
    text-align: left;
}
.cols {
    text-align: left;
    columns: auto 2;
    -webkit-columns: auto 2; /* Safari and Chrome */
    -moz-columns: auto 2; /* Firefox */    
}
.h {
    font-family: 'Petit Formal Script', cursive;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 36px;
    padding-bottom: 11px;
    padding-top: 3px;
    color: #EF4B3A;
    margin-top: 25px;
}
.galleri-thumbs {
    max-width: 2000px;
    margin: auto;

}
.galleri-button {
    width: 100%;
    height: 330px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.galleri-thumbs img, .galleri-thumbs .img_box_back {
    /*margin: 60px;*/
    cursor: pointer;
    border: 5px solid transparent;
}
.gallerhusetimg {
    width: 200px;
}
.galleri-thumbs img:hover, .galleri-thumbs .img_box_back:hover {
    border: 5px solid #EF4B3A;
    cursor: pointer;
}
#galleri-1000 {
    display: none;
    position: absolute;
    position: fixed;
    top: 0px;
    left: 0px;
    padding: 0px;
    width: 100%;
    height: 100%;
}
#galleri-1000-back {
    background-color: #fff;
    opacity: 0.8;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #fff;
    cursor: pointer;
}
#galleri-1000-content {
    position: absolute;
    top: 2%;
    left: 2%;
    /*margin-left: -500px;*/
    z-index: 9999999;
    /* background-color: #fff; */
    text-align: center;
    height: 94%;
    width: 96%;
}
#galleri-1000-content .cont {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
}
#galleri-1000-close {
    font-size: 30px;
    width: 30px;
    height: 30px;
    z-index: 9999999;
    position: absolute;
    left: 50%;
    bottom: 20px;
    margin-left: -15px;
    color: #fff;
    
    cursor: pointer;
}
#galleri-1000-close:hover {
    color: #EF4B3A;
}

.bild-box {
    display: inline-block;
    line-height: 12px;
    margin: 50px;
}
.bildtext-edit {

}
.bildtextedit {
    padding: 5px;
}
.admin-info-box {
    font-size: 11px;
}

/*

    Calender

*/
#baacalendar {
    width: 100%;
    height: 100%;
    font-family: 'Merriweather Sans', sans-serif;
    overflow: hidden;
}
#baacalendar table a {
    color: #fff;
}
#baacalendar td {
    border: 0px solid #E56161;
}
#baacalendar th {
    background-color: #242939;
    color: #fff;
}
#baacalendar .week-labels {
    font-size: 12px;
    font-weight: normal;
}
#baacalendar table {
    width: 100%;
    height: 100%;
    table-layout: fixed;
    font-family: 'Merriweather Sans', sans-serif;
}
#baacalendar td {
    background-color: #57BC57;
    color: #fff;
    font-size: 12px;
    position: relative;
}
#baacalendar td:hover {
    background-color: #80cb80;
    cursor: pointer;
}
#baacalendar .calendar-control {

}
#baacalendar .calendar-control:hover {
    background-color: #303747;
    cursor: pointer;
}
#baacalendar .calendar-data {
    height: 100%;
    width: 100%;
    position: relative;
    display: table;
    /*width: 100%;
    height: 100%;
    position: absolute;
    text-align: center;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px; */
}
#baacalendar .datatype-1 {
    background-color: #EF4B3A;

}
#baacalendar .cal-data {
    display: table-cell;
    height: 100%;
    vertical-align: middle;
    /*
    height: 20px;
    vertical-align: middle;
    top: 20px;
    margin-top: 0px;
    position: relative; */
}

#vader-table td {
    padding: 10px;
    border: 1px dotted grey;

}

/* Admin stuff */
#login-form {
    text-align: left;
}
#login-form input {
    padding: 10px;
    width: 200px;
    font-size: 20px;
}
.admin-but {
   background-color: #EF4B3A; color: #fff; display: inline-block; padding: 10px; cursor: pointer; 
}
.admin-but:hover {
    background-color: orange;
}
.hello {
    background-color: orange;
    padding: 15px;
    display: none;
    margin-bottom: 15px;
    color: #fff;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
