/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');
/*
 * Video styling
 */
video.video-bg.fill.visible {
    z-index: 10;
}

/*.banner-layers.container .text-box.banner-layer.text-box-margin-left {
    z-index: 2;
}*/

/*Remove if destroying layout*/
.section-title-container {
    margin-bottom: 0;
}

#masthead {
    display: none;
}

div#content {
    margin-top: 60px;
}



.home div#content {
    margin-top: 0;
}

h1, h2, h3, h4, h5, h6, .heading-font, .off-canvas-center .nav-sidebar.nav-vertical > li > a,
.nav > li > a, #nav,
body {
    font-family: "Urbanist", sans-serif!important;
    font-style: normal;
    line-height: 1.2;
    font-size: 20px;
}

@media only screen and (min-width: 48em) {
    
h1, .banner h1, .h1 {
    font-size: 90px;
}

h2 {
    font-size: 60px;
    margin-bottom: .3em;
}

h3 {
    font-size: 50px;
    margin-bottom: .5em;
}

h4 {
    font-size: 30px;
    margin-bottom: .5em;
}

p {
    font-size: 20px;
}

p.lead, a.lead {
    font-size: 30px;
    margin-bottom: 0;
}

}

@media only screen and (max-width: 48em) {
    
h1, .banner h1, .h1 {
    font-size: 60px;
    margin-bottom: .5rem;
}

h2 {
    font-size: 50px;
    margin-bottom: .3em;
}

h3 {
    font-size: 40px;
    margin-bottom: .5em;
}

h4 {
    font-size: 30px;
    margin-bottom: .5em;
}

p {
    font-size: 20px;
}

p.lead, a.lead {
    font-size: 30px;
    margin-bottom: 0;
}

}

.button, button, input[type=submit], input[type=reset], input[type=button] {
    font-weight: normal!important;
    font-size: 20px;
}

.header-button .button {
    font-weight: bold!important;
}

.button.secondary:hover,
input[type='submit']:hover {
    border-color: #00288F;
}

.button.success:hover {
    border-color: #4C88FF;
}
.button {
    line-height: 2em!important;
    min-height: 2em!important;
}
.button.is-outline {
    padding: 0 1.2em;
}


input[type='submit'] {
    background: #FF7100!important;
    text-transform:none;    
}

label {
    color: #00288F;
    font-weight: 400;
    font-size: 20px!important;
}

legend, .gfield_label, .gfield_required {
    text-transform: inherit!important;
    font-size: 20px!important;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="date"],
input[type="datetime-local"],
input[type="month"],
input[type="time"],
input[type="week"],
textarea {
  height: 60px;
  border-radius: 10px;
  padding: 0 1rem;
  border: 0;
  font-size: 1rem;
  box-shadow: none!important;
  background-color: #ffffff!important;
}

input[type="checkbox"] {
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  margin: 6px;
  padding: 0;
  border: 0;
  appearance: none;
  background-color: transparent;
  outline: none;
  transition: outline 0.1s;
  background-color: #ffffff!important;
}

input[type="checkbox"]:checked {
  background-size: cover;
  padding: 2px;
}

input[type="checkbox"]:not(:disabled):checked {
  border-color: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18.689' height='19.875' viewBox='0 0 18.689 19.875'><path d='M-32.784-34.128c-1.907-2.44-3.925-4.637-5.927-7.024-.388-.342-1.672-1.784-3.024-3.347l2.955-3.119c.292-.319.583-.639.87-.94.428-.444.99-.994,1.413-1.421-.053.012.172-.248.382-.488a.677.677,0,0,0,.174-.4c.015-.119-.012-.2-.133-.214.308-.259.772-.646.738-.723a.5.5,0,0,1,.047-.474A2.132,2.132,0,0,1-34.461-53a7.207,7.207,0,0,1,.687-.308c.227-.1.426-.178.5-.209.039-.042.034-.041.007-.017a.881.881,0,0,1-.18.062c-.147.044-.295.088-.182.037a24.277,24.277,0,0,0-8.15,4.856c-.211.284-.928,1-1.8,1.919-.751-.891-1.386-1.659-1.716-2.085l-.111-.125a19.324,19.324,0,0,0-2.084-2.256c-.315-.244-.648-.481-.977-.719.073.178.136.346.186.5a3.472,3.472,0,0,0-.653-.7c-.667-.555-.493-.07-.468.339.07.25-.26.11-.106.464l-.42-.52c-.1.042.569.6.322.562a6.559,6.559,0,0,0-.536-.61c-.046.159.555.741.425.8-.116-.09-.341-.693-.5-.624-.033.014.135.222.219.326-.569-.6-.984-.84-.642-.146-.164-.2-.346-.531-.541-.727,0,0,0,0,0,0,.084.109.21.313.29.412l-.295-.365a1.062,1.062,0,0,0,0,.108,2.342,2.342,0,0,0,.2.3l-.2-.243a2.094,2.094,0,0,0,.05.305,5.76,5.76,0,0,0,.386.884c.979,1.29,1.981,2.57,3.012,3.814.05-.038.043-.144.151-.06.317.284.373.679.69.963l.1-.042c.177.277.352.574.539.871q.34.386.685.765c-1.23,1.409-2.34,2.841-2.83,3.478l-.094.142A13.954,13.954,0,0,0-50.087-38.1c-.149.4-.3.808-.466,1.2a3.7,3.7,0,0,1,.37-.336,5.649,5.649,0,0,0-.525.826c-.429.778-.126.4.2.257.1-.068.117-.02.137,0,0,.009.018.006.154-.12l-.474.471c-.013.03.577-.586.461-.44l-.574.574c.077-.054.661-.647.644-.606-.1.1-.549.512-.571.563,0,.01.186-.178.281-.271-.579.584-.893.91-.341.4l-.653.627h0l.363-.346-.337.326.064-.052.259-.245-.225.217.2-.173c.276-.248.545-.481.69-.619,1.172-1.115,2.345-2.239,3.5-3.371-.006-.01-.075.043.017-.055.293-.3.561-.514.854-.817l.008-.035.739-.694,1.344-1.355c-.017.007-.027.007.016-.039.081-.084.177-.181.283-.285,1.317,1.262,2.679,2.526,4.135,3.908a11.954,11.954,0,0,1,1,.832c.427.447.882,1.092,1.259,1.559.215-.3,1.292.708,1.382.251.251.312.629.78.727.738.293-.124.76-.114,1.584.583.3.291.614.863.756.936.223.115-.183-.551.04-.437' transform='translate(51.444 53.553)' fill='%23eb6d1e'/></svg>");

}



.gchoice {
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
}

.rounded,
.box-image, 
.rounded .fill.banner-link, 
.rounded .banner-inner, 
.rounded .fill,
.rounded, .rounded .img-inner  {
overflow: hidden!important;
border-radius: 10px!important;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
}



.nav>li>a, .nav-dropdown>li>a, .nav-column>li>a,
.social-icons, a.remove:hover, a.icon-circle:hover,
.nav>li>a:hover, .nav>li.active>a, .nav>li.current>a,
.nav>li>a.active, .nav>li>a.current, .nav-dropdown li.active>a,
.nav-column li.active>a, .nav-dropdown>li>a:hover,
.nav-column li>a:hover, a.remove:hover, a.icon-circle:hover,
.social-icons a:hover {
    color: #ffffff;
}

.button span {
    line-height: inherit;
}

.dark .button.is-form:hover, .button:hover,
input[type='submit']:hover, input[type='reset']:hover,
input[type='button']:hover {
    color: white !important;
    box-shadow: inset 0 0 0 100px #00288F;
}

.section-title-normal span {
    border: none;
}

.border-bottom {
    border-bottom: 1px solid #A9A8A8;
}

.section-title-normal {
    border-bottom: 1px solid #A9A8A8;
}

.banner .text-inner h2 {
    font-size: 48px;
    line-height: 54px;
}

.banner-layers.container {
    max-width: 100%;
    background: #00288F;
background: linear-gradient(0deg, rgba(0, 40, 143, 1) 0%, rgba(0, 40, 143, 0) 60%);
}

.text-box-margin-left {
    margin-left: 10%;
}

#ff-stream-1 {
    margin-left: auto;
    margin-right: 0;
}

.header-full-width .container {
    max-width: 80% !important;
    margin: 25px auto;
}

.nav-dropdown-has-arrow li.current-dropdown.has-dropdown:before,
.nav-dropdown-has-arrow li.current-dropdown.has-dropdown:after {
    opacity: 0;
}

.nav-dropdown-has-border .nav-dropdown {
    border: none;
    border-radius: 0 15px;
}

.nav-dropdown {
    background-color: #03479B;
}

.nav-dropdown-default .nav-column li>a, .nav-dropdown.nav-dropdown-default>li>a {
    border-bottom: 0;
}

.nav-dropdown-default {
    padding: 10px;
}

.nav-column li>a, .nav-dropdown>li>a {
    padding: 5px 20px;
}

.nav-dropdown {
    min-width: 150px;
}

.has-dropdown .icon-angle-down,
.box-text-inner.blog-post-inner .is-divider {
    display: none;
}

.translate-y {
    transform: translateY(-260px);
}

.button.is-outline {
    line-height: 3.19em;
}

.section-title-normal span {
    font-size: 26px;
}

/* Social media viewer */
.ff-stream.ff-layout-list {
    padding: 0;
}

.ff-content br {
    margin: 0 !important;
}

.overflow-scroll {
    height: 80%;
    overflow-y: scroll;
}

.overflow-scroll::-webkit-scrollbar {
    display: none;
}

/* Removing images and galleries from posts */
.ff-slideshow:not([data-size=large]) .ff-slide-wrapper .ff-media-wrapper>.ff-img-holder,
.ff-slideshow-carousel .slick-list, .ff-slideshow-carousel.slick-slider,
.ff-media-wrapper {
    display: none;
}

.ff-stream .ff-stream-wrapper {
    margin: 0;
}

/* attempting to create linear design */
.ff-slideshow:not([data-size=large]) .ff-slide-wrapper{
    display: inline-flex !important;
    flex-direction: column;
}

.ff-media-wrapper {
    order: 3;
}

.ff-item-cont {
    order: 2;
}

.ff-item-header {
    order: 1;
}

.ff-stream-wrapper.ff-infinite .ff-item-header {
    border-bottom: none !important;
    align-items: center;
}

.ff-loadmore-wrapper {
    padding-bottom: 55px;
}

.ff-loadmore-wrapper .ff-btn {
    border-radius: 5px !important;
    background-color: rgb(3, 71, 155) !important;
    border: 2px solid white;
}

.ff-slideshow .ff-item-header {
    padding: 0 !important;
    margin: 20px 20px 0 20px !important;
    display: inline-flex;
    flex-direction: row;
}

.ff-slideshow .ff-item-meta {
    padding: 0 0 20px 0 !important;
    margin: 0 20px !important;
}

.ff-stream-wrapper.ff-infinite>li {
    border: none !important;
}

.ff-infinite .ff-userpic {
    width: 50px !important;
    height: 50px !important;
    border-radius: 25px !important;
}

.ff-infinite .ff-dropdown {
    display: none;
}

#ff-stream-1 .ff-content a {
    text-decoration: underline !important;
}

.ff-upic-timestamp .ff-nickname {
    display: inline-flex;
    order: 2;
}

#ff-stream-1 .ff-item, #ff-stream-1 .ff-stream-wrapper.ff-infinite .ff-content {
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

#ff-stream-1 .ff-stream-wrapper.ff-infinite > li:first-child {
    padding-top: 10px;
}

/* Parti styling (vertical post overview) */
.box-vertical h5.post-title.is-large {
    font-size: 16px;
    font-weight: 400;
}

@media screen and (min-width: 550px){
    .box-vertical .box-text {
        vertical-align: top;
    }
}

/* Overview post */
p.cat-label {
    font-weight: 600;
    color: #00288F;
    text-transform: inherit;
    font-size: 20px;
    margin: 10px 0 22px 0;
}

h5.post-title.is-large {
    font-size: 30px;
}

p.authors {
    color: #FF6920;
    margin-top: 5px;
    font-size: 12px;
}

span.last-author:last-child {
    display: none;
}

/* Single post */
.entry-image.relative {
    width: 130%;
    margin-left: -15%;
    margin-bottom: 80px;
}

.entry-header-text-top,
.entry-content {
    width: 570px;
    margin: 0 auto;
}

/* Politician overview */

.politician-profile {
    font-weight: 500;
}

.politician-profile .box-image {
    border-radius: 10px 10px 0 0!important;
    -webkit-border-radius: 10px 10px 0 0;
    -moz-border-radius: 10px 10px 0 0;
}

.politician-profile .box-image .image-cover {
    padding-top: 324px!important;
}

.politician-profile .box-text {
    border-radius: 0 0 10px 10px!important;
    -webkit-border-radius: 0 0 10px 10px;
    -moz-border-radius: 0 0 10px 10px;
}


.politician-profile h3 {
    font-size: 30px;
    font-weight: 600;
}

.politician-profile .social-icons {
    margin-top: 10px;
}

.politician-profile a,
.politician-profile a:hover {
    color: #fff;
}

.politician-profile .box-text.text-center {
    height: 263px;
    padding-top: 25px;
}

.buttons_absolute {
    position: absolute;
    top: -20px;
    z-index: 1;
}

/* Single politician */
.parent-pageid-12 {

}

.border-bottom iframe {
    padding-bottom: 30px;
}

.parent-pageid-12 .section-title span,
.parent-pageid-14 .section-title span {
    text-transform: inherit;
}

/* Arrangementer (Event card) */
.event-card {
    height: 100%;
}

.event-card h3 {
    font-size: 26px;
}

.event-card .box-text {
    min-height: 240px;
}

.event-card .box-text .box-text-inner {
    width: 90%;
}

.event-card .box-text .text:last-child{
    position: absolute;
    bottom: 20px;
}

.translate-y-equalizer {
    margin-top: -260px;
}

.orange-date {
    background-color: #FF6920;
    width: auto;
    position: absolute;
    z-index: 1;
    padding: 5px 40px;
    color: white;
    font-size: 14px;
}

/* Header Search form */
.dark .form-flat input:not([type="submit"]){
    background-color: #FF7100 !important;
    padding: 25px;
}

.form-flat input:not([type="submit"]) {
    border-radius: 0 30px 0 0;
}

.mfp-container:before {
    vertical-align: top;
}

.mfp-bg {
    background: transparent;
}

input[type='search'],
.autocomplete-suggestion {
    font-size: 16px;
}

.searchform .button.icon i{
    font-size: 20px;
}

.live-search-results.text-left.z-top {
    background-color: #03479B;
}

/* Footer styling */
.footer img {
    height: 20px !important;
    width: auto !important;
    margin-left: 15px;
}

.footer .dark .is-divider,
.absolute-footer.dark {
    display: none;
}

.footer-widgets .widget:last-child {
    text-align: right;
}

.footer-widgets .widget:last-child span.widget-title {
    text-transform: inherit;
}

.footer ul.menu>li+li, .widget>ul>li+li {
    border: none;
}

.dark .widget a {
    font-size: 14px;
}

.widget div:last-child {
    margin-top: 20px;
}

.widget div:last-child .social-icons {
    margin-top: 0;
}

.widget div:last-child .social-icons a {
    font-size: 20px;
}

/* Gallery page */
.gallery-box p {
    font-weight: 600;
    color: #000000;
    font-size: 26px;
}

.gallery-overflow {
    overflow: hidden;
    -webkit-transition: max-height .31s linear;
    -moz-transition: max-height .31s linear;
    -o-transition: max-height .31s linear;
    transition: max-height .31s linear;
    max-height: 1350px;
}

.no-overflow-gallery {
    overflow: visible;
    -webkit-transition: max-height .31s linear;
    -moz-transition: max-height .31s linear;
    -o-transition: max-height .31s linear;
    transition: max-height .31s linear;
    max-height: 5000px;
}

.flickity-button-icon {
    display: none;
}

.flickity-prev-next-button {
    width: 100px;
}

.close-gallery {
    position: absolute;
    right: 20px;
    top: 20px;
    left: auto;
}

.close-gallery:hover {
    cursor: pointer;
}

/* Search result styling */
.archive .entry-image.relative,
.search-results .entry-image.relative {
    width: 100%;
    margin-left: inherit;
}

.archive footer.entry-meta,
.archive .entry-meta.uppercase.is-xsmall.
.search-results footer.entry-meta,
.search-results .entry-meta.uppercase.is-xsmall {
    display: none;
}

.archive .entry-header-text,
.search-results .entry-header-text {
    padding: 0;
}

.archive .entry-content,
.search-results .entry-content {
    padding-top: 0;
}

/* Media query for landscape mobile and tablet properties */
@media only screen and (max-width: 1024px){
    .text-box-margin-left {
        width: 50% !important;
    }

    .banner .text-inner h2 {
        font-size: 38px;
        line-height: 44px;
    }

    .ff-stream {
        display: none;
    }
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    div#content {/*
        margin-top: 0;
        padding-top: 0;
    */}

    .row-collapse {
        padding: 0 15px;
    }

    #masthead {
        display: inherit;
    }

    .off-canvas-left .mfp-content {
        background-color: #F8F6EF;
    }
    .nav-sidebar,
    .nav-sidebar a {
        font-size: 20px!important;
        color: #00288F!important;
    }

    .nav-sidebar .html_topbar_left {
        text-align: left!important;
    }

    .banner {
        min-height: 400px;
    }

    .text-box-margin-left {
        width: 90% !important;
    }

    .banner .text-inner h2 {
        font-size: 32px;
        line-height: 36px;
    }

    .header-full-width .container {
        margin: 0 auto;
    }

    .stuck #logo img {
        max-height: 70px !important;
    }

    .transparent #logo img {
        max-height: 70px !important;
    }
    .transparent .header-main {
        height: 70px !important;
    }
    
    .header-main {
        height: 70px !important;
    }

    .translate-y {
        transform: inherit;
    }

    .translate-y-equalizer {
        margin-top: inherit;
    }

    .show-more {
        margin-top: 20px;
    }

    .col:last-child {
        padding-bottom: 0;
    }

    .nav-sidebar.nav-vertical>li+li {
        border-top: none;
    }

    .icon-angle-down:before,
    .nav-vertical>li>ul li a,
    .nav-vertical>li>ul li a:hover {
        color: white;
    }

    #main-menu > div > ul > li:last-child {
        display: none;
    }

    div#main-menu {
        height: 100%;
        display: inline-flex;
        width: 100%;
    }

    .off-canvas .sidebar-menu {
        width: 100%;
        align-self: center;
    }

    .politician-profile h3 {
        font-size: 30px;
    }

    .buttons_absolute {
        position: inherit;
        top: inherit;
    }

    .raad_nav_item {
        margin: 0 .25rem;
        font-size: 16px;
    }

    .button {
        padding: 0 1em;
        margin-right: 0;
    }

    .col-inner.text-right {
        display: inline-flex;
        justify-content: space-between;
    }

    .entry-header-text-top, .entry-content {
        width: 100%;
    }

    .footer-widgets .widget:last-child {
        text-align: center;
    }

    .widget_nav_menu {
        max-width: 50%;
        -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
    }

    .entry-image.relative {
        margin-bottom: 50px;
    }

}