/*
Theme Name:   Lufthavna
Description:  Temaet til lufthavna.no
Author:       Lufthavna
Template:     twentytwelve
Version:      1.0.0
*/


@import url("../twentytwelve/style.css");


body {
    color: black;
}

body.custom-font-enabled {
    font-family: helvetica, arial, sans-serif;
    font-size: 14px;
}


body.attachment-post-thumbnail,
body.page-id-17 .entry-title {
    display: none;
}

body.archive .entry-header .entry-title {
	margin-bottom: .6em;
}

body.event-template-default .entry-header {
	margin-bottom: 0;
}

body.single .entry-header img {
    display: none;
}

#content > article {
    border: 0;
}

footer[role="contentinfo"] {
	border-top: 2px dotted #ed1c24;
}

a {
    outline: none;
    color: currentColor;
}

a:hover {
    color: #ed1c24;
}

a:visited {
    currentColor;
}

.site-title #site-logo {
    width: 50px;
    margin: auto;
    margin-bottom: 1em;
}

.site-title a {
    margin-top: 1em;
}

.site-header h1 a,
.site-header h2 a {
	color: #000;
	display: inline-block;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: normal;
    text-align: left;
}

.menu-toggle {
    position: absolute;
    top: 1em;
    right: 1em;
    font-size: 14px;
    box-shadow: none;
    background: white;
    border-color: #eee;
    color: black;
    border-radius: 0;
    padding-right: 2em;
}

.menu-toggle::before {
    position: absolute;
        right: 0;
        width: 1em;
        padding: 0.4em 1em 0 0;
        height: 1em;
        content: '';
        background: url(/wp-content/themes/lufthavna/img/menu.svg) no-repeat center center;
        background-size: contain;
}


.menu-toggle.toggled-on {
    box-shadow: none !important;
    background: white !important;
    border: 1px solid black;
    color: black;
}

.site-header h1 a:hover,
.site-header h2 a:hover {
	color: #000;
}

.site-title #site-logo {
    display: inline-block;
    float: left;
    margin: 0;
    margin-right: 1em;
}

.main-navigation li {
    font-size: 16px;
    padding: 1em;
    border-bottom: 2px solid #eee;
    margin: 0;
}

nav .nav-menu.toggled-on {
    width: 100%;
    background: white;
}

nav .nav-menu > .menu-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

nav .menu-item a {
    flex: 1;
    text-align: left;
}

nav .sub-nav-toggle {
    display: none;
}

nav .menu-item-has-children .sub-nav-toggle {
    display: inline-flex;
    justify-content: center;
}

nav .menu-item-has-children .sub-nav-toggle:hover {
    cursor: pointer;
}

nav .menu-item .sub-menu {
    display: none;
}

nav .sub-nav-toggle.toggled {
    transform: rotate(180deg);
}

nav .sub-nav-toggle.toggled + .sub-menu.toggled {
    display: block;
    width: 100%;
    margin-top: 1em;
    text-align: left;
}

nav .sub-nav-toggle.toggled + .sub-menu.toggled li {
    border: 0;
    border-top: 2px solid #eee;
}

nav .sub-nav-toggle.toggled + .sub-menu.toggled li:last-child {
    padding-bottom: 0;
}

nav .sub-menu .sub-menu,
nav .sub-menu .sub-nav-toggle {
    display: none;
}

.main-navigation li a {
    color: black;
    text-decoration: none;
}

.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a,
.main-navigation .current_page_item > a,
.main-navigation .current_page_ancestor > a {
    color: #ed1c24;
    font-weight: normal;
}

.main-navigation li a:hover {
    color: #ed1c24;
}

.main-navigation .current-menu-item > a {
    font-weight: normal;
}

#program {
    background-color: #fff;
    border-bottom: 2px dotted #ed1c24;
    min-height: 175px;
    margin-top: 0px;
}

.renovation-intro {
    margin-bottom: 4em;
    padding-bottom: 2em;
}

.renovation {
    border-bottom: 2px dotted #ed1c24;
    margin-bottom: 4em;
}

.renovation .title {
    margin-bottom: 1.2em;
}

.renovation .title a {
    font-size: 1.6em;
    margin-bottom: .3em;
	text-decoration: none;
}

.renovation .title .date {
    margin-top: .5em;
}

.renovation .image + p {
    padding: 2em 0;
	margin: 0 0 1.714285714rem;
    line-height: 1.714285714;
}

div.programbilde {
    margin: 0px;
    padding: 10px 0;
}

div.programbilde img {
    width: 100%;
}

div.programtittel a {
    font-size: 16px;
    text-decoration: underline;
    color: black;
    margin-top: 0px;
}

div.programtittel a:hover {
    color: #ed1c24;
}

div.programtid {
    font-size: 12px;
    color: black;
    margin-bottom: 8px;
}

.entry-content a:visited, .comment-content a:visited {
    color: currentColor;
}

.entry-content img,
.comment-content img,
.widget img,
img.header-image,
.author-avatar img,
img.wp-post-image {
    border-radius: 0;
    box-shadow: none;
}

.widget-area .widget {
    margin-top: -28px;
}

.widget-area .widget a,
.widget-area .widget a:visited,
.widget_recent_entries .post-date,
.widget_rss .rss-date {
    color: black;
}

.widget-area .widget h3 {
    font-weight: normal;
    font-size: 16px;
    margin: 0;
}

.archive-title, .page-title, .widget-title, .entry-content th, .comment-content th {
    font-size: 14px;
    line-height: 2.181818182;
    text-transform: uppercase;
    color: #000;
}

.entry-content a:hover,
.widget-area .widget a:hover {
    color: #ed1c24;
}

.entry-content h1, .comment-content h1, .entry-content h2, .comment-content h2, .entry-content h3, .comment-content h3, .entry-content h4, .comment-content h4, .entry-content h5, .comment-content h5, .entry-content h6, .comment-content h6 {
    margin: 0;
    line-height: 16px;
    text-transform: uppercase;
    font-weight: normal;
}

.entry-meta {
    display: none;
}

@media screen and (min-width: 600px) {

    .site-title a {
        margin-top: 0;
    }

    nav .nav-menu > .menu-item:first-of-type {
        padding-left: 0;
    }

    nav .nav-menu > .menu-item {
        display: inline-block;
        position:  relative;
        border: 0;
        padding-bottom: 0;
    }

    nav .nav-menu > .menu-item .sub-menu {
        display: inline-block;
    }

    nav .nav-menu > .menu-item .sub-menu li {
        padding: 0;
    }

    nav .menu-item a {
        text-align: left
    }

    nav .nav-menu .sub-nav-toggle {
        display: none;
    }

    .main-navigation ul.nav-menu {
        border: 0;
    }

    .main-navigation li ul li a {
        font-size: 16px;
    }

    #program {
        padding: 0 10px 20px 0px;
    }

    div.programbilde {
        float: right;
        padding: 0 0 0 10px;
    }
}

@media screen and (min-width: 960px) {
    body {
        background: white;
    }

    body .site {
        box-shadow: none;
    }
}
