/*
 Theme Name:   Lär om Kärnvapen
 Theme URI:    https://www.rodeopark.se
 Description:  Svea child theme
 Author:       Eric Johansson
 Author URI:   https://www.rodeopark.se
 Template:     svea
 Version:      1.0.0
 Text Domain:  svea
*/

.small-top-menu,
.small-top-menu li {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.small-top-menu {
    float: right;
    margin-top: 12px;
}

.small-top-menu > li {
    display: inline;
    position: relative;
}

.small-top-menu a {
    font-family: Roboto;
    color: #000;
    text-transform: uppercase;
    font-size: 14px;
    text-decoration: none;
    padding: 10px;
}

.small-top-menu ul.sub-menu {
    display: none;
    position: absolute;
    z-index: 10;
    top: 25px;
    left: 0;
    width: 200px;
    background: #fff;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
    padding: 20px 25px;
    line-height: 2;
}

.small-top-menu ul.sub-menu a {
    display: block;
    font-size: 0.9em;
    float: none;
    text-transform: none;
    padding: 0;
}

.small-top-menu > li:hover .sub-menu {
    display: block;
}

.primary-menu-top > li > a {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 15px 0;
    display: inline-block;
    line-height: 1;
}

#nav > ul > li {
    margin-right: 0 !important;
    padding: 0 52px;
}

@media (max-width: 1408px) {
    #nav > ul > li {
        padding: 0 46px;
    } 
}

@media (max-width: 1204px) {
    #nav > ul > li {
        padding: 0 25px;
    } 
}

#nav .current-menu-item,
#nav .current_page_ancestor,
#nav .current_page_item,
#nav .current_page_parent {
    background: #669933;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

#nav .children .current_page_item {
    background-color: transparent;
    color: #000;
}

#nav .current-menu-item > a,
#nav .current_page_ancestor > a,
#nav .current_page_item > a,
#nav .current_page_parent > a,
#nav .current-menu-item > .fa,
#nav .current_page_ancestor > .fa,
#nav .current_page_item > .fa,
#nav .current_page_parent > .fa  {
    color: #fff !important;
}

#nav .children .current_page_item > a {
    color: #000 !important;
    font-weight: bold;
}


#nav .children li {
    border-bottom: 1px solid #e4e4e4;
    
}

#nav .children li:last-child {
    border-bottom: 0;
}

#nav .children a {
    display: inline-block;
    padding: 8px 16px;
    transition: all 200ms;
}

#nav .children li a:hover {
    padding-left: 21px;
}


@media (min-width: 832px) {
    #header {
        padding-bottom: 0 !important;
    }
}



html.logotype-pos-top #nav > ul {
    float: none !important;
    left: auto !important;
}

html.logotype-pos-top #nav > ul > li {
    right: auto !important;
}

#nav li:hover .children {
    top: 45px !important;
}

html #nav .children {
    padding: 0 !important;
    left: 0 !important;
    font-size: 0.9em !important;
    box-shadow: 0 0 35px rgba(0,0,0,0.1);
}

.search-form-item .search-form {
    margin-left: 15px !important;
    margin-top: 0 !important;
}

#mobile-nav-container li:last-child {
    border-bottom: 1px solid #4d4d4d !important;
}

header .languages,
header .languages li {
    list-style-type: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

header .languages {
    position: absolute;
    top: -20px;
    right: 0;
    z-index: 5;
}

header .languages li {
    float: left;
    margin-left: 5px;
}

.author-info {
    padding: 20px 25px;
    border: 1px solid #e4e4e4;
    overflow: hidden;
}

.author-info .author,
.author-info .updated {
    float: left;
    width: 50%;
    font-weight: bold;
}

.author-info .updated {
    text-align: right;
}

.author-info .heading {
    font-size: 13px;
    font-weight: normal;
}

.author-info h4 {
    margin: 0;
    padding: 0;
}

.home .jumbotron.big.light-text .button,
.page-id-2393 .jumbotron.big.light-text .button {
    background: #fff;
    color: #669933;
}

body .button {
    padding: 0.8em 1.5em;
    color: #fff;
    transition: all 200ms;
    font-size: 0.85em;
}

body .button:hover {
    transform: translateY(3px);
}

body .slideshow .slide-container a {
    display: inline-block;
    background: #669933;
}

/*body:not(.logged-in) ul.languages li:nth-child(3) {
    display: none !important;
}*/


@media (max-width: 1408px) {
    header .languages {
        right: 4em;
    }
}

@media (max-width: 1088px) {
    header .languages {
        right: 2em;
    }
}

@media (max-width: 832px) {
    .small-top-menu { display: none; }
    .row { max-width: none !important; }
    .row.top-menu-row img { max-width: 90% !important; }
}

@media (max-width: 512px) {
    header .languages {
        right: 1em;
        top: -5px;
    }
}