html, html a {
    -webkit-font-smoothing: antialiased;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
}

html, body {
    height: 100%;
    min-height: 100%;
}
button, input, select, textarea { font-family:inherit; }

/**************************************************/
/* Overrides */
/**************************************************/

.vc_container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}
@media (max-width: 767px) {
    .vc_container {
        width: 100%;padding:0;
    }
}
@media (min-width: 768px) {
    .vc_container {
        width: 100%;padding:0;
    }
}
@media (min-width: 992px) {
    .vc_container {
        width: 970px;
    }
}
@media (min-width: 1200px) {
    .vc_container {
        width: 1170px;
    }
}
.container-fluid {
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}
.vc_row { margin-left: 0 !important;margin-right: 0 !important; }

.wpb_text_column ul { list-style: disc inside none; }

/*.vc_container { max-width:960px;  margin-right: auto;margin-left: auto; }
.wpb_row/{
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 960px !important;
}*/
.vc_empty_space { clear:both; }
/*.vc_col-xs-1, .vc_col-sm-1, .vc_col-md-1, .vc_col-lg-1, .vc_col-xs-2, .vc_col-sm-2, .vc_col-md-2, .vc_col-lg-2, .vc_col-xs-3, .vc_col-sm-3, .vc_col-md-3, .vc_col-lg-3, .vc_col-xs-4, .vc_col-sm-4, .vc_col-md-4, .vc_col-lg-4, .vc_col-xs-5, .vc_col-sm-5, .vc_col-md-5, .vc_col-lg-5, .vc_col-xs-6, .vc_col-sm-6, .vc_col-md-6, .vc_col-lg-6, .vc_col-xs-7, .vc_col-sm-7, .vc_col-md-7, .vc_col-lg-7, .vc_col-xs-8, .vc_col-sm-8, .vc_col-md-8, .vc_col-lg-8, .vc_col-xs-9, .vc_col-sm-9, .vc_col-md-9, .vc_col-lg-9, .vc_col-xs-10, .vc_col-sm-10, .vc_col-md-10, .vc_col-lg-10, .vc_col-xs-11, .vc_col-sm-11, .vc_col-md-11, .vc_col-lg-11, .vc_col-xs-12, .vc_col-sm-12, .vc_col-md-12, .vc_col-lg-12 {
padding:0 !important
}*/

@media (min-width: 960px) {
    .vc_col-xs-1, .vc_col-sm-1, .vc_col-md-1, .vc_col-lg-1, .vc_col-xs-2, .vc_col-sm-2, .vc_col-md-2, .vc_col-lg-2, .vc_col-xs-3, .vc_col-sm-3, .vc_col-md-3, .vc_col-lg-3, .vc_col-xs-4, .vc_col-sm-4, .vc_col-md-4, .vc_col-lg-4, .vc_col-xs-5, .vc_col-sm-5, .vc_col-md-5, .vc_col-lg-5, .vc_col-xs-6, .vc_col-sm-6, .vc_col-md-6, .vc_col-lg-6, .vc_col-xs-7, .vc_col-sm-7, .vc_col-md-7, .vc_col-lg-7, .vc_col-xs-8, .vc_col-sm-8, .vc_col-md-8, .vc_col-lg-8, .vc_col-xs-9, .vc_col-sm-9, .vc_col-md-9, .vc_col-lg-9, .vc_col-xs-10, .vc_col-sm-10, .vc_col-md-10, .vc_col-lg-10, .vc_col-xs-11, .vc_col-sm-11, .vc_col-md-11, .vc_col-lg-11, .vc_col-xs-12, .vc_col-sm-12, .vc_col-md-12, .vc_col-lg-12 {
        /*padding:0 !important*/
    }
}
.vc_inner .wpb_column {
    /*padding:0 !important*/
}
.wpb_row *, .wpb_row *:before, .wpb_row *:after {
    box-sizing: border-box;
}
.wpb_row, .wpb_content_element, ul.wpb_thumbnails-fluid > li, .last_toggle_el_margin, .wpb_button {
    margin-bottom:10px;
}

.wpb_single_image .vc_single_image-wrapper {
    display:block;
}

@media (min-width: 768px) {
    .vc_container {
        /*width: 100%;*/
    }
}
.main-navigation .vc_container { padding:0; }
#primary .wpb_row { margin-bottom: 0 !important; }
h1.title {
    font-size: 16px;
    margin-bottom: 5px;
    margin-top: 0;
    padding-bottom: 0;
    padding-top: 0;
}

.blog article,
.archive article { margin-bottom:0;clear:both; }

@media (min-width: 768px) {
    .single-post #content { margin-bottom:30px;clear:both; }
}

/** Adminbar **/
.admin-bar .main-navigation { top:32px; }


#wpadminbar .quicklinks .ab-empty-item, #wpadminbar .quicklinks > ul > li > a { height: 32px !important }
#wpadminbar .ab-icon { height:32px !important;font-size:22px !important; }
html #wpadminbar { height:32px;position: fixed !important; }

@media (max-width: 783px) {
    #wpadminbar #wp-admin-bar-edit > .ab-item:before,
    #wpadminbar #wp-admin-bar-my-sites > .ab-item:before,
    #wpadminbar #wp-admin-bar-site-name > .ab-item:before,
    #wpadminbar #wp-admin-bar-my-account > .ab-item:before,
    #wpadminbar #wp-admin-bar-comments .ab-icon:before { font-size:22px !important;top:4px !important; }
    #wpadminbar #wp-admin-bar-new-content .ab-icon:before { line-height:36px !important;height: 34px !important; }
    #wpadminbar #wp-admin-bar-comments .ab-icon:before { line-height:27px !important;height: 34px !important; }
}


/**************************************************/
/* Standard selectors för lätta saker */
/**************************************************/
.desktop-textalign-right { text-align:right; }
.desktop-textalign-left { text-align:left; }
.desktop-textalign-center { text-align:center; }

@media (max-width: 991px) {
    .mobile-textalign-right { text-align:right; }
    .mobile-textalign-left { text-align:left; }
    .mobile-textalign-center { text-align:center; }
}

.text-uppercase { text-transform:uppercase; }
.text-lowercase { text-transform:lowercase; }


/**************************************************/
/* Body, footer, primary */
/**************************************************/
body {

}
a, input {
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}
.disable-scroll { overflow-y:hidden !important; }

.site-footer {
    /*background-color: #ffffff;*/
    /*border-top: 2px solid #e6e7e8;*/
    /*min-height:250px;*/
    position:absolute;
    width:100%;
}
.site-footer .footer-overlay {
    min-height:inherit;
    height:inherit;
}
.site-footer .wpb_row { margin-bottom:0px; }

#primary {
    /*background-color: #e6e7e8;*/
    margin-bottom:0px;
    min-height: 300px;
}

.error404 #primary,
.search #primary,
.archive #primary,
.blog #primary,
.single-post #primary {
    padding: 20px 25px 0;
}
@media screen and (max-width: 960px) {
    .error404 #primary,
    .search #primary,
    .archive #primary,
    .blog #primary,
    .single-post #primary {
        padding: 0 !important;
    }
}


/**************************************************/
/* Fonts, links, headings */
/**************************************************/
body { line-height:180% !important; }

a { font-weight:400;text-decoration:none }
/*a:hover, a:focus,*/
a:hover .fa { color:inherit;text-decoration:none }

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: #927CFB;font-weight:inherit; }

h1, h2, h3, h4, h5, h6, div[class^="p46-heading-"], div[class*=" p46-heading-"] { padding:15px 0 10px;line-height:115%; }

@media screen and (max-width: 450px) {
h1 { font-size: 28px;font-size: 2.8rem; }
h2, div[class^="p46-heading-"], div[class*=" p46-heading-"] { font-size: 22px;font-size: 2.2rem; }
h3 { font-size: 20px;font-size: 2rem; }
h4 { font-size: 18px;font-size: 1.8rem; }
}

@media screen and (min-width: 451px) and (max-width: 768px) {
h1 { font-size: 28px;font-size: 2.8rem; }
h2, div[class^="p46-heading-"], div[class*=" p46-heading-"] { font-size: 22px;font-size: 2.2rem; }
h3 { font-size: 20px;font-size: 2rem; }
h4 { font-size: 18px;font-size: 1.8rem; }
}

@media screen and (min-width: 769px) and (max-width: 959px) {
h1 { font-size: 28px;font-size: 2.8rem; }
h2, div[class^="p46-heading-"], div[class*=" p46-heading-"] { font-size: 22px;font-size: 2.2rem; }
h3 { font-size: 20px;font-size: 2rem; }
h4 { font-size: 18px;font-size: 1.8rem; }
}

@media screen and (min-width: 960px) {
h1 { font-size: 40px;font-size: 4.0rem; }
h2, div[class^="p46-heading-"], div[class*=" p46-heading-"] { font-size: 30px;font-size: 3rem; }
h3 { font-size: 25px;font-size: 2.5rem; }
h4 { font-size: 18px;font-size: 1.8rem; }
}

h1.title { margin-right:0;margin-left:0;width:100%; }
h1.title.alignleft {  }
h1.title.alignright { text-align:right; }
h1.title.aligncenter { text-align:center; }

/*h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover { color: #D52ABC; }

h1 a:hover strong, h2 a:hover strong, h3 a:hover strong, h4 a:hover strong, h5 a:hover strong, h6 a:hover strong { color: #D52ABC; }*/

/*h1, h2, h3, h4, h5, h6 { font-family: 'Lato', sans-serif;font-weight:700;color:#5E5E5E; }*/
/*h1 strong, h2 strong, h3 strong, h4 strong, h5 strong, h6 strong { font-family: 'Libre Baskerville', serif;color:#8F78FF;font-weight:400;font-style: italic; }*/


/**************************************************/
/* Menu */
/**************************************************/
.main-navigation {
width:100%;
height: auto;
top:0;
display:inline-block;
z-index:100;
}
.main-navigation.header-above-navbar { position:relative; }
.main-navigation.header-below-navbar { position:fixed; }

.nav-force-fixed-top .main-navigation { position:fixed !important;top:0 !important; }

/** Smartmenus */
.sm-simple.alignright { margin-left:0 !important;margin-right:0; }
.sm-simple.alignleft { margin-right:0 !important; }
.sm-simple.aligncenter { display:inline-block;width:auto; }
.sm-simple li li a:hover, .sm-simple li li a:focus, .sm-simple li li a:active, .sm-simple li li a.highlighted {  }

/** t.ex. flaggan */
.sm-simple .menu-item-object-custom:not(.menu-item-has-children),
.sm-simple .menu-item-object-custom:not(.menu-item-has-children) a { height:53px; }
/**
 * @todo ändra så inte flaggan har -custom klassen
 .sm-simple .menu-item-object-custom:not(.menu-item-has-children) a { padding:18px; }
 */

#navigation-toggle {padding:0;font-size:14px;margin:0;display:table; }
#navigation-toggle .fa { font-size:21px;padding: 1px 0; }
#navigation-toggle .navigation-toggle-text { padding:0 20px; display: table-cell;cursor: pointer;vertical-align:middle; }
#navigation-toggle img.logo { float:none;width:44px;margin:3px 0 0 14px }

.menu-smartmenus #navigation-toggle { display:none!important }
.standard-menu-logo { float:left; }

#navigation-toggle { height:53px; }

.main-navigation a.navigation-logo { height:53px; }
.main-navigation a.navigation-logo img { max-height: 100%; }

/** Visa logotype oxå */
.navigation-logo { margin-right:0;margin-left:0; }

/** Fix för headern osv när nav ska fixeras vid scroll */
.nav-force-fixed-top .menu-smartmenus.site-header.header-above-navbar .no-header-margin { height:53px; }
.nav-force-fixed-top .menu-smartmenus.site-header.header-above-navbar .logo.vc_hidden-sm.vc_hidden-xs { margin-bottom:53px; }

@media (max-width: 991px) {
.nav-force-fixed-top .menu-smartmenus.site-header.header-above-navbar .no-header-margin { height:37px; }
.nav-force-fixed-top .menu-smartmenus.site-header.header-above-navbar .logo.vc_hidden-lg.vc_hidden-md { margin-bottom:37px; }
}


@media (max-width: 991px) {

    /* öppnar submenu ul om man är på en supmenu page */
    .sm .current-menu-ancestor > ul { display:block !important; }

    .menu-smartmenus #nav-menu-wrapper { width:100%;overflow:auto; }
    .menu-smartmenus .header-above-navbar #nav-menu-wrapper { position:absolute;top:37px; }
    /*.site-header, */#navigation-toggle { height:37px; }
    .menu-smartmenus #navigation-toggle { display:table!important }
    #navigation-toggle .navigation-toggle-text { display:table-cell; }
    .main-navigation a.navigation-logo { height:37px; }
    .admin-bar .site-header { height:23px; }

    .sm-simple.mobile-textalign-left ul li a { padding-left:30px !important }
    .sm-simple.mobile-textalign-right ul li a { padding-right:30px !important }

    .sm-simple .menu-item-object-custom:not(.menu-item-has-children),
    .sm-simple .menu-item-object-custom:not(.menu-item-has-children) a { height:37px; }
    .sm-simple .menu-item-object-custom:not(.menu-item-has-children) a { padding:11px 18px; }
}

/** mMenu */
.mm-slideout { left:0; }
.mmenu-wrapper { height:100%;min-height:100%; }
.mm-menu { max-width:340px;z-index:100 !important;top:0; }
#nav-menu-wrapper .mmenu { display:none; }
.mm-header { height:53px;padding:0; }
.mm-header > a { display:inline-block;height:53px; }
.mm-header > a.centerlogo { position:absolute;width:100%;left:0;text-align:center;margin:0; }
.mm-header .logo-img { width:auto;max-height:100%; }
.mm-header #navigation-toggle-clone { margin:0;padding: 0 20px;cursor:pointer;height: 100%;top:0;position:relative; }
.mm-header #navigation-toggle-clone .navigation-toggle-text { display:table;height: 100%; }
.mm-header #navigation-toggle-clone .navigation-toggle-text .fa,
.mm-header #navigation-toggle-clone .navigation-toggle-text span { display:table-cell;height: 100%;vertical-align:middle; }
.mm-header #navigation-toggle-clone .fa { font-size:21px; }

.mmenu .menu-item-object-custom.search-menu { display:block !important; }
.mmenu .menu-item-object-custom.search-menu .header-search-form { display:block;padding:0 15px !important; }

.mm-menu.mm-vertical .mm-list .mm-panel { padding:0; }

.mm-list.desktop-textalign-left > li li a:not(.mm-subopen),
.mm-list.desktop-textalign-left > li li span,
.mm-list.mobile-textalign-left > li li a:not(.mm-subopen),
.mm-list.mobile-textalign-left > li li span { padding-left:30px !important }

.mm-list.desktop-textalign-right > li li a:not(.mm-subopen),
.mm-list.desktop-textalign-right > li li span,
.mm-list.mobile-textalign-right > li li a:not(.mm-subopen),
.mm-list.mobile-textalign-right > li li span  { padding-right:30px !important }

.mm-list.desktop-textalign-left > li li li a:not(.mm-subopen),
.mm-list.desktop-textalign-left > li li li span,
.mm-list.mobile-textalign-left > li li li a:not(.mm-subopen),
.mm-list.mobile-textalign-left > li li li span { padding-left:40px !important }

.mm-list.desktop-textalign-right > li li li a:not(.mm-subopen),
.mm-list.desktop-textalign-right > li li li span,
.mm-list.mobile-textalign-right > li li li a:not(.mm-subopen),
.mm-list.mobile-textalign-right > li li li span  { padding-right:40px !important }

.mm-list.desktop-textalign-right a.mm-subopen,
.mm-list.mobile-textalign-right a.mm-subopen { left:0;right:auto; }

.mm-list.desktop-textalign-right a.mm-subopen::after,
.mm-list.desktop-textalign-right a.mm-subclose::before,
.mm-list.mobile-textalign-right a.mm-subopen::after,
.mm-list.mobile-textalign-right a.mm-subclose::before { transform: rotate(135deg); }

.mm-menu.mm-hasheader > .mm-panel.mm-list { padding-top: 0;margin:0 }

#mmenu-header-holder { display:none; }
.mm-footer { height:auto;padding:41px 20px 10px !important; }
.mm-footer:after { border:0 !important; }
#mmenu-footer-holder { display:none; }
.mm-footer #mmenu-footer-holder { display:block; }
.mm-footer #mmenu-footer-holder p { margin:0; }

html.mm-opening .mm-slideout {
-webkit-transform: translate(340px, 0);
-moz-transform: translate(340px, 0);
-ms-transform: translate(340px, 0);
-o-transform: translate(340px, 0);
transform: translate(340px, 0);
}

@media (max-width: 991px) {
.mm-header #navigation-toggle-clone {  }
.mm-header, .mm-header > a { height:37px; }
.mm-header .logo-img {  }
.mm-menu.mm-hasheader > .mm-panel.mm-list { padding-top: 0;margin:0; }
.mm-list > li > a, .mm-list > li > span {  }
}

/** mMenu med header ovanför menyn/navbar */
.main-navigation.header-above-navbar.mm-slideout { position:absolute; }
/*.menu-mmenu.header-above-navbar .no-header-margin.vc_hidden-lg.vc_hidden-md { height:0 !important; }*/

.mm-slideout .site-header.header-above-navbar { margin-bottom:53px; }

@media (max-width: 991px) {
.mm-slideout .site-header.header-above-navbar { margin-bottom:37px; }
}


/**************************************************/
/* Header */
/**************************************************/

.site-header {   }
.site-header.header-below-navbar { padding-top:53px; }
/*.site-header.header-below-navbar .no-header-margin { height:0 !important; }*/

/*.no-header-margin { height:53px; }
.no-header-margin.vc_hidden-lg.vc_hidden-md { height:37px; }*/

.logo { position:relative; }
.logo h1 { padding:0;margin:0; }
.logo .logo-link { display:inline-block; }

.logo.logo-right h1,
.logo.logo-right > a.logo-link { text-align:right; }

.logo.logo-center h1,
.logo.logo-center > a.logo-link { text-align:center;display:block; }

.logo.logo-left h1,
.logo.logo-left > a.logo-link { text-align:left; }

.logo.below-navbar { }

@media (max-width: 991px) {
.logo.below-navbar { }
.site-header.header-below-navbar { padding-top:37px; }
}

/* Search form */
.header-search-form { position: absolute; top: 50%;-webkit-transform: translateY(-50%);-ms-transform: translateY(-50%);transform: translateY(-50%); }

.header-search-form input[type="text"] { width:120px;height:38px; }
.logo .header-search-form.align-left { left:0; }
.logo .header-search-form.align-right { right:0; }

.menu-item-object-custom.search-menu { height:50px;padding:5px 0;display:none; }

@media (max-width: 991px) {
.header-search-form { padding:0 15px }
.menu-item-object-custom.search-menu { display:block; }
.header-search-form input[type="text"] { width:100px; }
}


/**************************************************/
/* Primary, Content */
/**************************************************/
@media (min-width: 768px) {
#primary {
min-height: 300px;
}
}
@media (max-width: 959px) {
#primary {
border-left:0 !important;
border-right:0 !important;
}
}


/**************************************************/
/* Overlaybox */
/**************************************************/
.overlaybox-wrapper { overflow:hidden; }
.overlaybox-link { cursor:pointer; }

/* Storlekar */
.overlaybox-wrapper.ob-size-small-portrait { height:144px; }
.overlaybox-wrapper.ob-size-small { height:200px; }
.overlaybox-wrapper.ob-size-medium { height:350px; }
.overlaybox-wrapper.ob-size-medium-portrait { height:288px; }
.overlaybox-wrapper.ob-size-big { height:540px; }
/*
@media screen and (max-width: 450px) {
    .overlaybox-wrapper.ob-size-small-portrait { height:70px; }
    .overlaybox-wrapper.ob-size-small { height:100px; }
    .overlaybox-wrapper.ob-size-medium { height:150px; }
    .overlaybox-wrapper.ob-size-medium-portrait { height:140px; }
    .overlaybox-wrapper.ob-size-big { height:250px; }
}

@media screen and (min-width: 451px) and (max-width: 768px) {
    .overlaybox-wrapper.ob-size-small-portrait { height:80px; }
    .overlaybox-wrapper.ob-size-small { height:100px; }
    .overlaybox-wrapper.ob-size-medium { height:150px; }
    .overlaybox-wrapper.ob-size-medium-portrait { height:160px; }
    .overlaybox-wrapper.ob-size-big { height:250px; }
}

@media screen and (min-width: 769px) and (max-width: 959px) {
    .overlaybox-wrapper.ob-size-small-portrait { height:110px; }
    .overlaybox-wrapper.ob-size-small { height:150px; }
    .overlaybox-wrapper.ob-size-medium { height:240px; }
    .overlaybox-wrapper.ob-size-medium-portrait { height:220px; }
    .overlaybox-wrapper.ob-size-big { height:350px; }
}

@media screen and (min-width: 960px) {
    .overlaybox-wrapper.ob-size-small-portrait { height:144px; }
    .overlaybox-wrapper.ob-size-small { height:200px; }
    .overlaybox-wrapper.ob-size-medium { height:350px; }
    .overlaybox-wrapper.ob-size-medium-portrait { height:288px; }
    .overlaybox-wrapper.ob-size-big { height:540px; }
}*/

/* Färgscheman */
.ob-color-dark {  }
.ob-color-dark .ob-content { background: rgba(0, 0, 0, 0.65);color:#fff; }
.ob-color-dark h1, .ob-color-dark h2, .ob-color-dark h3, .ob-color-dark h4, .ob-color-dark h5, .ob-color-dark h6 { color:#9c9985; }
.ob-color-dark a, .ob-color-dark h1 a, .ob-color-dark h2 a, .ob-color-dark h3 a, .ob-color-dark h4 a, .ob-color-dark h5 a, .ob-color-dark h6 a { color:#9c9985; }
.ob-color-dark a:hover { color:#fff; }

.ob-color-light {  }
.ob-color-light .ob-content { background: rgba(255, 255, 255, 0.65);color:#000; }
.ob-color-light h1, .ob-color-light h2, .ob-color-light h3, .ob-color-light h4, .ob-color-light h5, .ob-color-light h6 { color:#008f70; }
.ob-color-light a, .ob-color-light h1 a, .ob-color-light h2 a, .ob-color-light h3 a, .ob-color-light h4 a, .ob-color-light h5 a, .ob-color-light h6 a { color:#008f70; }
.ob-color-light a:hover { color:#000; }

.ob-color-green {  }
.ob-color-green .ob-content { background: rgba(10, 38, 32, 0.87);color:#fff; }
.ob-color-green h1, .ob-color-green h2, .ob-color-green h3, .ob-color-green h4, .ob-color-green h5, .ob-color-green h6 { color:#9c9985; }
.ob-color-green a, .ob-color-green h1 a, .ob-color-green h2 a, .ob-color-green h3 a, .ob-color-green h4 a, .ob-color-green h5 a, .ob-color-green h6 a { color:#9c9985; }
.ob-color-green a:hover { color:#fff; }

.overlaybox-wrapper .ob-content { height:100%;padding:15px; }
.overlaybox-wrapper .ob-content p { margin:0; }
.overlaybox-wrapper .ob-content h1, .overlaybox-wrapper .ob-content h2, .overlaybox-wrapper .ob-content h3, .overlaybox-wrapper .ob-content h4, .overlaybox-wrapper .ob-content h5, .overlaybox-wrapper .ob-content h6 { padding:0 0 10px;margin:0; }

.overlaybox-wrapper .ob-content .wpb_text_column { height:100%;width:100%;display:table; }

.overlaybox-wrapper.ob-textalign-middle .ob-content .wpb_text_column .wpb_wrapper { display:table-cell;vertical-align: middle; }
.overlaybox-wrapper.ob-textalign-top .ob-content .wpb_text_column .wpb_wrapper { display:table-cell;vertical-align: top; }
.overlaybox-wrapper.ob-textalign-bottom .ob-content .wpb_text_column .wpb_wrapper { display:table-cell;vertical-align: bottom; }

@media screen and (max-width: 960px) {
    /*.overlaybox-wrapper { margin:0 -15px; }*/
}
@media screen and (max-width: 450px) {

}

@media screen and (min-width: 451px) and (max-width: 768px) {

}

@media screen and (min-width: 769px) and (max-width: 959px) {

}

/**************************************************/
/* Jumbotrons */
/**************************************************/
.jumbo-big { height:540px;margin-bottom:0 !important; }
/*.jumbo-big  .wpb_column > .wpb_wrapper,
.jumbo-big  .wpb_column { height:100%; }*/

.jumbo-medium { height:350px;margin-bottom:0 !important; }
/*.jumbo-medium  .wpb_column > .wpb_wrapper,
.jumbo-medium  .wpb_column { height:100%; }*/

.jumbo-small { height:200px;margin-bottom:0 !important; }
/*.jumbo-small  .wpb_column > .wpb_wrapper,
.jumbo-small  .wpb_column { height:100%; }*/

.jumbo-portrait-small { height:144px;/*margin:0 -15px !important;*/ }
/* Ställer in kolumnens storlek så covers fungerar */
.jumbo-portrait-small .wpb_column > .wpb_wrapper { height:100%;padding:15px; }
.jumbo-portrait-small .wpb_column { padding:0 !important; }

.jumbo-portrait { height: 288px;/*margin:0 -15px !important;*/ }
/* Ställer in kolumnens storlek så covers fungerar */
.jumbo-portrait .wpb_column > .wpb_wrapper { height:100%;padding:15px; }
.jumbo-portrait .wpb_column, .jumbo-portrait > .wpb_column { padding:0 !important; }

.jumbo-big > .wpb_column > .wpb_wrapper,
.jumbo-small > .wpb_column > .wpb_wrapper,
.jumbo-medium > .wpb_column > .wpb_wrapper {
/*padding: 15px 0;*/
}

@media screen and (max-width: 960px) {
.jumbo-small > .wpb_column,
.jumbo-medium > .wpb_column,
.jumbo-big > .wpb_column { padding:0; }

/*.jumbo-small,
.jumbo-medium,
.jumbo-big,*/
.jumbo-portrait,
.jumbo-portrait-small { margin:0 -15px !important; }

.jumbo-big > .wpb_column > .wpb_wrapper,
.jumbo-small > .wpb_column > .wpb_wrapper,
.jumbo-medium > .wpb_column > .wpb_wrapper {
/*padding: 25px 15px;*/
}
}


/**************************************************/
/* Covers till Jumbotrons */
/**************************************************/
.black-cover > .wpb_column > .wpb_wrapper {
/*.wpb_row > .black-cover > .wpb_wrapper {*/
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.65) 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
height: 100%;
}
.black-cover, .black-cover h1, .black-cover h2, .black-cover h3, .black-cover h4, .black-cover h5, .black-cover h6 { color:#fff; }
.black-cover a:hover { color:#fff; }

@media screen and (max-width: 960px) {

}

.white-cover > .wpb_column > .wpb_wrapper {
/*.wpb_row > .white-cover > .wpb_wrapper {*/
background: rgba(255,255,255,0.6);
height: 100%;
}
/*.white-cover, .white-cover h1, .white-cover h2, .white-cover h3, .white-cover h4, .white-cover h5, .white-cover h6 { color:#fff; }
.white-cover a:hover { color:#fff; }*/


/**************************************************/
/* FA icons */
/**************************************************/
.fa { font-size: 14px; }

@media screen and (max-width: 960px) {
blockquote { font-size: 2.5rem !important;line-height:37px !important }
}


/**************************************************/
/* Figure */
/**************************************************/
figure { max-width:100%; }
figure .wp-caption-text { padding-left:25px; }

@media screen and (max-width: 960px) {
figure .wp-caption-text { padding-left:15px; }
}

/**************************************************/
/* Swipebox */
/**************************************************/
#swipebox-prev,
#swipebox-next,
#swipebox-close,
#swipebox-zoomin,
#swipebox-zoomreset,
#swipebox-zoomout { height: auto !important;padding: 18px;position: absolute;width: auto !important;cursor:pointer; }

#swipebox-zoomin { right: 160px; }
#swipebox-zoomreset { right: 210px ;}
#swipebox-zoomout { right: 260px; }

#swipebox-prev .fa,
#swipebox-next .fa,
#swipebox-close .fa,
#swipebox-zoomin .fa,
#swipebox-zoomreset .fa,
#swipebox-zoomout .fa { color:#fff;font-size:20px }

@media screen and (max-width: 800px) {
#swipebox-zoomin { right: 110px; }
#swipebox-zoomreset { right: 160px ;}
#swipebox-zoomout { right: 210px; }
}

/**************************************************/
/* Blog */
/**************************************************/

.post .the-content { clear:both; }
.post-heading h2 { padding-top:0px;float:left;max-width:80%; }

.post-metas { margin-top: 0;overflow: hidden;padding-top: 10px !important; }

ul.meta-post{ float:left;margin: 0;padding:0;list-style:none;font-size:12px; }
ul.meta-post li{ float:left;padding:0 10px 0 0;margin:0 10px 0 0;list-style:none;display:table; }
ul.meta-post li i { padding:0 5px 0 0;display: table-cell;vertical-align:middle; }
ul.meta-post li a{ float:left;font-weight:600; }
ul.meta-post.details-title li a { float:none !important; }

.meta-categories { float:right;margin:3px 0 10px; }
.meta-categories .tag { /*background: #927cfb;*/display:block;float:left;margin: 0 1px; }
.meta-categories .tag:hover { /*background-color: #d52abc;*/ }
.meta-categories .tag a { /*color:#fff;*/padding: 2px 7px;font-size:14px; }
.meta-categories .tag a:hover { /*color:#fff;*/ }

article .post-image img.wp-post-image { margin-top:5px !important;float:left;clear:both; }

/** Tvingar ssba att ligga bredvid kategorier, skriver över redux config inställningarna */
.post-image div.ssba { float:left;width:auto;padding-right:0 !important; }
.post-image .ssba div {  margin-right:0 !important; }

.source { margin-top:10px;display:inline-block; }
.source span, .source a { display:inline-block;padding:0 7px;font-weight:400;float:left;margin: 0 1px 0 0; }

.blog-post-divider { margin:20px 0 5px -25px; }

/* Blog index static content */
.blog-page-content .vc_column-inner { padding:0; }

@media screen and (max-width: 450px) {
.blog-page-content h1 { padding: 0 0 5px; }
}

@media screen and (min-width: 451px) and (max-width: 768px) {
.blog-page-content h1 { padding: 0 0 5px; }

}

@media screen and (min-width: 769px) and (max-width: 959px) {
.blog-page-content h1 { padding: 0 0 10px; }
.blog #content .post-metas { padding:0 0 0 15px !important }
}

@media screen and (min-width: 960px) {
    .blog-page-content h1 { padding: 0 0 10px; }

    article .post-image { padding-bottom:10px; }
}

@media screen and (max-width: 960px) {
.blog #content, .single-post #content { padding:0 !important; }

article .the-content { overflow:hidden; }

.single-post #content .post-metas,
.single-post #content .post-heading,
.single-post #content div.ssba,
.single-post #content .post-pagination,
.single-post #content .post-go-back,
.single-post #content .source,
.single-post #content .the-content p,
.single-post #content .the-content h1, .single-post #content .the-content h2, .single-post #content .the-content h3, .single-post #content .the-content h4,.single-post #content .the-content h5,
.blog #content .post-metas,
.blog #content .post-heading,
.blog #content div.ssba,
.blog #content .post-pagination,
.blog #content .source,
.blog #content .the-content p,
.blog #content .the-content h1, .blog #content .the-content h2, .blog #content .the-content h3, .blog #content .the-content h4, .blog #content .the-content h5 { padding:0 15px; }

article .the-content img.alignleft {
    margin-bottom: 10px !important;
}

.single-post article .the-content .vc_single_image-img,
.single-post article .the-content img.alignleft,
.single-post article .the-content img.alignnone,
.blog article .the-content .vc_single_image-img,
.blog article .the-content img.alignleft,
.blog article .the-content img.alignnone {
    margin: 0 0 0 -15px;
    max-width: 104%;
    /*width: 104%;*/
}

.single-post article .the-content p img.alignleft,
.single-post article .the-content p img.alignnone
.blog article .the-content p img.alignleft,
.blog article .the-content p img.alignnone {
    margin: 0 0 0 -15px;
    max-width: 105%;
    /*width: 105%;*/
}

.meta-categories { margin-right:15px; }
}

/** Korrigera bildJ* i bloggen så dom flyter ut i kanterna */
@media screen and (min-width: 500px) and (max-width: 621px) {
.blog-page-posts article .the-content .vc_single_image-img,
.blog-page-posts article .the-content p img.alignleft,
.blog-page-posts article .the-content p img.alignnone { max-width: 107%;/*width: 107%;*/ }
}
@media screen and (min-width: 400px) and (max-width: 499px) {
.blog-page-posts article .the-content .vc_single_image-img, .blog-page-posts article .the-content p img.alignleft, .blog-page-posts article .the-content p img.alignnone { max-width: 108%;/*width: 108%;*/ }
}
@media screen and (min-width: 300px) and (max-width: 399px) {
.blog-page-posts article .the-content .vc_single_image-img, .blog-page-posts article .the-content p img.alignleft, .blog-page-posts article .the-content p img.alignnone { max-width: 111%;/*width: 111%;*/ }
}


/**************************************************/
/* Sidebars */
/**************************************************/
.right-sidebar aside { padding:0 0 0 30px;text-align:center;margin-bottom: 30px; }
.right-sidebar .widget_archive ul { list-style-type:none;margin:0; }
.right-sidebar .widget_categories ul { list-style-type:none;margin:0; }

.right-sidebar .widget_search #s {
    width: auto;
    max-width: 140px;
    height:38px;
}

@media screen and (max-width: 768px) {
    .right-sidebar aside { padding:0 !important; }
    .right-sidebar { clear:both; }
}


/**************************************************/
/* Pagination */
/**************************************************/
.post-pagination { display:inline-block;margin:20px 0;width:100%; }
.post-pagination .pagination-prev { float:left;width:28%;font-size:22px;min-height:1px; }
.post-pagination .pagination-next { float:right;width:23%;text-align:right;font-size:22px; }
.pagination-numeric { width:49%;display:block;float:left;text-align:center; }
.pagination-numeric .active a, .pagination-numeric a:hover { /*background: #927cfb;color:#fff;*/ }
.pagination-numeric a { margin: 0 7px 0 0;padding: 7px 10px;font-size: 12px;line-height:12px;font-weight:600;display: inline-block; }
.pagination-numeric .ellipses { margin: 0 0;padding: 0 5px 0 0;font-size: 12px;line-height:13px;font-weight:400;display: inline-block; }
.pagination-numeric a:hover { text-decoration:none; }

@media screen and (max-width: 500px) {
.post-pagination .pagination-prev, .post-pagination .pagination-numeric, .post-pagination .pagination-next { clear:both !important; width: 100%;text-align: center;margin-bottom: 10px; }
.post-pagination {
margin:20px 0 0 !important
}
}


/**************************************************/
/* breadcrumbs */
/**************************************************/
.breadcrumbs-wrapper { }
.breadcrumbs-wrapper.aligncenter { text-align:center; }
.breadcrumbs-wrapper.aligncenter li { display:inline; }


/**************************************************/
/* ssba */
/**************************************************/
div.ssba {  }
.post-image .ssba { margin-bottom:0; }
.ssba .aligncenter { text-align:center; }
.woocommerce-page .ssba { display:inline-block;width:100%; }

/**************************************************/
/* Visual composer overwrites */
/**************************************************/

/* Carousel */
.vc_carousel {
margin-bottom:30px !important;
}
.vc_carousel-indicators {
bottom: 15px !important;
}
.wpb_images_carousel { margin: 0 0 -6px !important; }
.wpb_images_carousel a {  }
.vc_carousel-control { opacity:0.8 !important;height:50px !important;width: 55px !important;margin-top: -25px !important;display:table;font-size: 36px !important;/*text-shadow:0 1px 2px rgba(0, 0, 0, 0.3) !important;*/ }
.vc_carousel-control .fa { font-size:36px !important; }
.vc_images_carousel .vc_carousel-control.vc_left { padding:0 20px 0 0 !important }
.vc_images_carousel .vc_carousel-control.vc_right { padding:0 0 0 20px !important }

.vc_carousel-control:hover, .vc_carousel-control:focus {
opacity:1 !important;
}
.vc_carousel-control i { display:table-cell;vertical-align:middle; }
.vc_carousel-control:hover i, .vc_carousel-control:focus i {
font-size:40px !important;
}
.vc_carousel-indicators .vc_active .fa:before, .vc_carousel-indicators li:hover .fa:before {
content: "\f192";
}
.vc_carousel-indicators li {
width:auto !important;height:auto !important;
border:0 !important;background-color:transparent !important;margin:1px !important;
color:#fff;
text-indent: 0 !important;
font-size: 14px;
/*text-shadow:0 1px 2px rgba(0, 0, 0, 0.3);*/
}
.vc_carousel-indicators li:hover {
background-color: transparent !important;
}
.vc_carousel-control .icon-next:before, .vc_carousel-control .icon-prev:before {
content:none !important;
}

.vc_images_carousel { max-width:100%; }

/* Post carous, Slick */
.slick-carousel .post-title { font-size:1.3em;padding: 0 !important;line-height:130%; }
.slick-carousel .post-thumb { float:left;margin:4px 8px 8px 0; }
.slick-carousel .post-thumb img { width:70px;height:70px; }
.slick-carousel .post-date { font-size: 12px; }
.slick-carousel .post-date i { margin-right:5px; }
.slick-carousel .post-date i { font-size:0;margin:0; } /* Ingen icon */
.slick-carousel .entry-content { line-height:130%; }
.slick-carousel .entry-content a { color: inherit; }
.slick-inner { padding-right:10px; }
.slick-dots .slick-active .fa:before, .slick-dots li:hover .fa:before {
content: "\f192";
}

.slick-carousel-vc .vc_single_image-img { margin:0 !important; }
.slick-carousel-vc .slick-slider { margin:0 !important } /* sträcker ut carous i kanterna */
.slick-slider { height:auto; } /* Fix för height problem med carous, den stträcker sig 100%/500px+ */
.slick-carousel-vc .slick-prev { left:0; }
.slick-carousel-vc .slick-next { right:0; }
.slick-carousel-vc .overlaybox-wrapper .ob-content { padding:0; }
.slick-carousel-vc .overlaybox-wrapper .ob-content > div { padding:15px 30px; }

/* product slider */
.p46-carousel-products .slick-items > div:not(.slick-list) { float:left;width:24.9%; }
.p46-carousel-products .slick-slider { padding-bottom: 40px; }
.p46-carousel-products .slick-slide { height:auto; }
.p46-carousel-products .slick-dots { display:block !important }

@media screen and (max-width: 960px) {
.wpb_images_carousel { margin: 0 -15px -6px !important; }
.vc_carousel-indicators { bottom:10px !important }

/* post carous */
.vc_carousel .vc_carousel-inner .vc_carousel-slideline .vc_carousel-slideline-inner > .vc_item:not(:first-child) {
/*display: none;*/
}

/*.slick-carousel-vc .slick-slider { margin:0 -15px !important } /* sträcker ut carous i kanterna */
/*.slick-carousel-vc { margin:0 -15px }*/
.slick-carousel-vc .overlaybox-wrapper { margin:0 }

}


/* Message boxes */
.vc_message_box, .wpb_alert-info, .wpb_alert-warning, .wpb_alert-success, .wpb_alert-error, .wpb_alert-danger { margin-bottom:15px !important;padding:5px !important; }
.vc_message_box p { padding-left:35px; }
.vc_message_box-icon { width: 2.5em; }

/* Toggle/FAQ */
.wpb_toggle_content { margin:10px 0; }
.last_toggle_el_margin { margin-bottom:10px !important; }

/* Buttons */
.wpb_button { margin-left:2px;margin-right:2px;}

/* Single images */
.vc_box_shadow_3d { margin-bottom:10px; }
.vc_box_shadow_circle,
.vc_box_shadow_border_circle,
.vc_box_shadow,
.vc_box_shadow_border,
.vc_box_shadow_border_circle,
.vc_box_shadow_circle { box-shadow: 0 0 4px rgba(0, 0, 0, 0.4); }

/** Call to Actions **/
@media screen and (max-width: 960px) {
.vc_call_to_action { margin:0 -15px }
}

/** Accordion & Tabs */
.wpb_accordion .wpb_accordion_wrapper .wpb_accordion_header { padding:0;margin:0; }

.wpb_content_element .wpb_tour_tabs_wrapper .wpb_tab, .wpb_content_element .wpb_accordion_wrapper .wpb_accordion_content  {
border-style:solid;
border-color:#D8D8D8;
border-width:1px 1px 1px;
background:#fff;
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05) inset;
}
.wpb_tabs .wpb_tabs_nav li:first-child {
border-style:solid;
border-color:#D8D8D8;
border-width:1px 0 0px 1px;
}
.wpb_tabs .wpb_tabs_nav li:last-child {
border-style:solid;
border-color:#D8D8D8;
border-width:1px 1px 0px 0;
}
.wpb_tabs .wpb_tabs_nav li {
border-style:solid;
border-color:#D8D8D8;
border-width:1px 0 0px 0;
}
.wpb_tour .wpb_tour_tabs_wrapper .wpb_tab { padding:1em; }

.wpb_tour .wpb_tabs_nav li {
border-style:solid;
border-color:#D8D8D8;
border-width:0 0 0px 1px;
}
.wpb_tour .wpb_tabs_nav li:first-child {
border-style:solid;
border-color:#D8D8D8;
border-width:1px 0 0px 1px;
}
.wpb_tour .wpb_tabs_nav li:last-child {
border-style:solid;
border-color:#D8D8D8;
border-width:0 0 1px 1px;
}

/** Post grid **/
.wpb_teaser_grid .post-title { font-size:1.3em;padding: 0 !important;line-height:130%; }
.wpb_teaser_grid .post-thumb { float:left;margin:8px 8px 8px 0; }
.wpb_teaser_grid .post-thumb img { width:70px;height:70px; }
.wpb_teaser_grid .post-date { font-size: 12px; }
.wpb_teaser_grid .post-date i { margin-right:5px; }
.wpb_teaser_grid .entry-content {  }
.wpb_teaser_grid .entry-content a { color: inherit; }

/** Slider Rev **/
.tp-caption { white-space: normal !important; } /* Fixar så texten bryts och inte flyter utanför området */
.tp-leftarrow.custom, .tp-rightarrow.custom {
background:none;
font-size: 40px;
/*text-shadow:0 1px 2px rgba(0, 0, 0, 0.3);*/
text-align:center;
font-family: FontAwesome;
z-index:50!important;
width:25px!important;
}
.tparrows { transition: all 0.2s ease-out 0s !important; }
.tparrows:hover { background: none !important;font-weight:bold !important }
@media screen and (max-width: 768px) {
    .tp-leftarrow.custom, .tp-rightarrow.custom {
        /*top:0 !important;
        margin-top:0 !important;*/
    }
}
.tp-leftarrow.custom:hover, .tp-rightarrow.custom:hover {
/*color:#fff;*/
}
.tp-leftarrow.custom:before {
content: "\f104";
}
.tp-rightarrow.custom:before {
content: "\f105";
}
.tp-bullets .tp-bullet {
    background:none;
/*text-shadow:0 1px 2px rgba(0, 0, 0, 0.3);*/
text-align:center;
font-family: FontAwesome;
font-size:14px;
padding: 0 3px;
float:left;
width:20px;
height:auto;
color:#fff;
cursor:pointer;
}
.tp-bullets .tp-bullet:before {
content:"\f10c";
}
.tp-bullets .tp-bullet.selected:before, .tp-bullets .tp-bullet:hover:before {
content:"\f192";
}
.tp-bullets { z-index:20 !important; }
.tp-bullet:hover, .tp-bullet.selected {
    background:none !important;
}

.rev_slider_wrapper .ob-content {
/*background: none repeat scroll 0 0 rgba(0, 0, 0, 0.5);*/
height: 100%;
position: absolute;
width: 100%;
top:0;
-webkit-transition: all 0.55s ease-in-out;
-moz-transition: all 0.55s ease-in-out;
-o-transition: all 0.55s ease-in-out;
-ms-transition: all 0.55s ease-in-out;
transition: all 0.55s ease-in-out;
opacity:1;
}

.tp-loader.spinner0 {
background:none;
box-shadow: none;
-webkit-box-shadow: none;
-webkit-animation:none;
animation: none;
border-radius: 0;
-moz-border-radius: 0;
-webkit-border-radius: 0;
margin:0;
width:auto;height:auto;
left: 48%;
}
.tp-loader.spinner0:before {
color: #fff;
font-size: 30px;
content: "\f1ce";
-webkit-animation: fa-spin 2s infinite linear;
animation: 2s linear 0s normal none infinite fa-spin;
font-family: fontawesome;
width:auto;
height:auto;
}

/*div[class^="p46-text-"], div[class*=" p46-text-"]  { line-height:125% !important; }
.p46-heading-white { line-height:115% !important; }*/

@media screen and (max-width: 470px) {
.slick-carousel .post-thumb-mobile { display:none; }
.slick-carousel .post-mobile-holder { max-width:100% !important; }
}
@media screen and (max-width: 768px) {

.rev_slider .tp-caption, .rev_slider .caption { position:static /*!important*/; }
.active-revslide { overflow:visible !important; }
.fullwidthbanner-container { max-height: none !important;transition: all 0.25s ease-in-out 0s; }
.tp-caption { max-height:none !important;max-width:none !important; }

div[class^="p46-heading-"], div[class*=" p46-heading-"] { padding:15px 15px 10px !important;line-height:initial !important; }
div[class^="p46-text-"], div[class*=" p46-text-"]  { /*color:#fff !important;*/padding:0 15px 15px !important;font-size:14px !important;line-height:initial !important; }

.rev_slider_wrapper .ob-content { background:none !important; }

.slidelink {
height: 100% !important;
position: absolute !important;
}

/*.slick-carousel .post-thumb,*/
.slick-carousel .entry-content { display:none; }
.slick-carousel .post-mobile-holder { float:left;max-width:75%; }
}

@media screen and (max-width: 960px) {
.wpb_revslider_element { margin:0 -15px; }
}


/**************************************************/
/* Portfolio overwrites */
/**************************************************/

.page-template-templatestemplate-portfolio-php #primary, .single-portfolio-page #primary { padding-top:0px !important; }
.p46-row { padding: 0 25px; }
.p46-column, .p46-columns { padding:0; }
.block-grid.three-up > li { padding:0 10px 10px;max-width:308px; }
.p46-portfolio-item-link img { min-width:100%; }

.p46-sc-portfolio .p46-portfolio li .p46-portfolio-item { box-shadow: 0 0 4px rgba(0, 0, 0, 0.3); }
.p46-sc-portfolio .p46-portfolio-item-link { height:auto;margin:0 0 10px;animation: 2s ease 0s normal none 1 anima; }

.p46-sc-portfolio .p46-portfolio-item-link .item-content {
width:100%;
background-image:none;
display: block;
height: 100%;
top: 0;
bottom:auto;
opacity:1;
transition: all 0.5s ease 0s;
overflow: hidden;
position: absolute;
}
.p46-sc-portfolio .p46-portfolio-item-link .item-content.text-left { text-align:left; }
.p46-sc-portfolio .p46-portfolio-item-link .item-content.text-center { text-align:center; }
.p46-sc-portfolio .p46-portfolio-item-link .item-content.text-right { text-align:right; }

.p46-sc-portfolio .p46-portfolio-item-link .item-content .text { font-size:14px;padding:0 10px;height: 56%;/*max-height:60px;*/overflow: hidden; }
.p46-sc-portfolio .p46-portfolio-item-link .item-content .text p { margin:0;line-height:180%; }
.portfolio-related  li { max-width:232px; }

.p46-sc-portfolio .p46-portfolio-item-link div.title h2 {
vertical-align: middle;
/*color: #6faecf;
font-size: 20px;*/
/*line-height: 40px;*/
padding: 10px 10px 5px;
}
.p46-portfolio-related .p46-portfolio-item-link div.title h2 { padding:10px 10px 2px; }
.portfolio-related .p46-portfolio-item-link div.title h2 { line-height: 27px;font-size: 2.2rem;margin: 68px 0 0; }
.portfolio-related .p46-portfolio-item-link .text { font-size:12px !important;line-height: 16px;max-height: 35px !important; }

.p46-sc-portfolio .p46-portfolio-item-link > div.image { transition: all 0.5s ease 0s; }

@media only screen and (min-width : 1224px) {

    .p46-single-portfolio-item .portfolio-item-header:hover .item-content { top:50%;opacity:0;transition: all 0.5s ease 0s; }

    /* Animerar bort textrutan nedåt */
    .p46-sc-portfolio .p46-portfolio-item-link:hover > div.item-content {
        background-color: rgba(0,0,0,0);
        bottom:auto;
        opacity:0;
        top:50%;
        transition: all 0.5s ease 0s;
    }
    .p46-sc-portfolio .p46-portfolio-item-link:hover > div.image {
        transform: scale(1.1);transition: all 0.5s ease 0s;
    }
}

.filter-heading { font-size:13px;margin-top:0; }
.p46-portfolio-filter { display:inline-block;margin: 0 0 5px !important; }
.p46-portfolio-filter li { display:block;margin:0 1px 2px;float:left; }
.p46-portfolio-filter li a { padding:2px 7px;font-size:14px; }

.portfolio-item-header { margin:25px 0 15px;height:200px; }
.portfolio-item-header a { position:relative;display:block;height:100%;overflow:hidden;width:100%;background-position:center;background-size:cover; }
/*.portfolio-item-header img { min-width:100%;display:none; } ????? */
.p46-single-portfolio-item .item-content { transition: all 0.5s ease 0s;opacity:1;padding:25px;margin:0;position:absolute;top:0;display:block;height:100%;width:100%; }

.p46-single-portfolio-item .item-content.text-left { text-align:left; }
.p46-single-portfolio-item .item-content.text-center { text-align:center; }
.p46-single-portfolio-item .item-content.text-right { text-align:right; }

.p46-single-portfolio-item .item-content h1 { font-size:3rem;margin-bottom:0px;padding-top: 0;/*margin-top:75px;*/ }
.p46-single-portfolio-item .item-content .text {  }

.p46-single-portfolio-item .p46-portfolio-filter { margin:5px 0 10px; }
.p46-single-portfolio-item .categories { clear:both; }

.p46-single-portfolio-item .wpb_image_grid_ul { display:inline-block;margin:0 0 20px; }

.p46-sc-quote { font-size: 150%;line-height: 180%; }

.p46-portfolio-gallery { margin-top:10px; }


@media screen and (max-width: 450px) {
    .p46-sc-portfolio .p46-portfolio-item-link .item-content .text { display:none; }
}

@media screen and (max-width: 600px) {
    .p46-sc-portfolio .p46-portfolio-item-link .item-content .text { /*display:none;*/ }
    .p46-sc-portfolio .p46-portfolio-item-link div.title h2 { margin-top:0 }
    .p46-sc-portfolio .p46-portfolio-item-link .item-content .text {  }
}

@media screen and (max-width: 960px) {
    .p46-row { padding:0 15px; }
    .p46-single-portfolio-item .vc_column_container { padding:0 !important; }

    /* item page */
    .p46-single-portfolio-item .wpb_image_grid .wpb_image_grid_ul .isotope-item { max-width:49%; }
    .block-grid.mobile > li { width:50%;float:left; }
    .portfolio-item-header { margin-left: -15px;margin-right: -15px;margin-top: 0; }
    .portfolio-item-header a { background-position:center;background-size:cover; }

    .p46-sc-portfolio .p46-portfolio-item-link div.title h2 { font-size:18px;line-height:20px !important;padding: 10px 10px 5px; }
    .p46-sc-portfolio .p46-portfolio-item-link .item-content .text { line-height:21px; }

    .p46-single-portfolio-item .item-content h1 { padding-top:0px; }
}


/**************************************************/
/* GC Social Wall */
/**************************************************/
#bricks .bricks-content .brick { border-radius: 0;border:0;box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.12); }
#bricks nav ul.bricks-buttons li a { border-radius:0; }
#bricks nav ul.bricks-buttons li a i {  }
.brick .panel img.circle { border-radius:0;margin:3px 10px 0 0; }
#bricks .bricks-content .brick .brick-type { border-radius:0 }
#bricks .bricks-content .brick .share-panel { left:47%; }
#bricks .bricks-content .brick .share-panel li a { border-radius:0;width:36px;height:36px; }
#bricks .bricks-content .brick .share-panel li a .fa { margin-top:9px; }
#bricks .bricks-content .brick .share-panel li a:hover { border:0;transform: scale(1.3);color:#fff; }
#bricks nav ul.bricks-buttons li.filter a, #bricks nav ul.bricks-buttons li a:hover { color:#fff !important;  }
#bricks .bricks-content .brick section { padding:15px 15px 10px; }
#bricks .bricks-content .brick section a:hover { color:inherit; }

#bricks .bricks-content .brick .share-panel li.facebook a { background: #3b5998;color: white; }
#bricks .bricks-content .brick .share-panel li.facebook a:hover{border-color: #3b5998;background: #3b5998;color: white;}
#bricks .bricks-content .brick .share-panel li.twitter a{background: #55acee;color: white;}
#bricks .bricks-content .brick .share-panel li.twitter a:hover{border-color: #55acee;background: #55acee;color: white;}
#bricks .bricks-content .brick .share-panel li.google-plus a{background: #dd4b39;color: white;}
#bricks .bricks-content .brick .share-panel li.google-plus a:hover{border-color: #dd4b39;background: #dd4b39;color: white;}
#bricks .bricks-content .brick .share-panel li.linkedin a{background: #007bb6;color: white;}
#bricks .bricks-content .brick .share-panel li.linkedin a:hover{border-color: #007bb6;background: #007bb6;color: white;}

#bricks nav ul.bricks-buttons li a:hover { transform: scale(1.3); }
#bricks nav ul.bricks-buttons li.filter a { opacity:0.6;transform: scale(0.9); }
#bricks nav ul.bricks-buttons li.facebook.filter a, #bricks nav ul.bricks-buttons li.facebook a:hover { background: #3b5998 none repeat scroll 0 0; }
#bricks nav ul.bricks-buttons li.instagram.filter a, #bricks nav ul.bricks-buttons li.instagram a:hover { background: #517fa4 none repeat scroll 0 0; }
#bricks nav ul.bricks-buttons li.vimeo.filter a, #bricks nav ul.bricks-buttons li.vimeo a:hover { background: #1ab7ea none repeat scroll 0 0; }

/* skriver över worpress ikonen för vanliga inlägg */
#bricks nav { text-align:center; }
#bricks nav ul.bricks-buttons { display:inline-block;margin:0 auto !important;text-align:center; }
#bricks nav ul.bricks-buttons li { display:inline;float:left;margin:0; }
#bricks nav ul.bricks-buttons li:not(:first-child) { margin: 0 0 0 15px !important; }
#bricks .bricks-content .brick.posttype .brick-type i {  }
.p46-favicon { width:100%;height:100%;background:rgba(0, 0, 0, 0) url("http://www.profil46.se/www/template/profil46/temp/Profil46_cutbox_Bgr_solid_RGB.png") no-repeat scroll center center / cover; }
#bricks nav ul.bricks-buttons li a i.p46-favicon {  }
#bricks nav ul.bricks-buttons li.posttype.filter a:hover, #bricks nav ul.bricks-buttons li.posttype a { border:0; }
#bricks .bricks-content .brick .brick-type i { font-size:18px; }

/* brick footer */
.brick footer a { font-weight:inherit; }
.brick a.panel:hover, .brick footer a:hover { background: inherit;color:inherit; }
.brick .panel .txt, .brick footer a .txt { color:inherit }

.brick .panel .txt small { display:none; }
.brick .panel { padding:10px 15px 5px 10px; }
#bricks .bricks-content .brick, #bricks .bricks-content .brick .text a { display:inline-block; }

/**************************************************/
/* Templates */
/**************************************************/

/* default */
.page-template-default #primary { padding-bottom:0px;}

/* Homepage */
.page-template-templatestemplate-frontpage-php #primary { padding-top:0 !important }

/* Clean frontpage, 960w */
.page-template-templatestemplate-emptyfrontpage-php #primary { background:none !important;/*margin-top: 53px;*/padding-top:0 !important }
.page-template-templatestemplate-emptyfrontpage-php .body_wrapper { height: auto;min-height: 100%;position: absolute;width: 100%; }

/* Clean frontpage, Fullwidth */
.page-template-templatestemplate-emptyfrontpage-fullwidth-php #primary { background:none !important;/*margin-top: 53px;*/width:100%;max-width:100%;padding-top:0 !important }
.page-template-templatestemplate-emptyfrontpage-fullwidth-php .vc_container,
.page-template-templatestemplate-emptyfrontpage-fullwidth-php .wpb_row { width:100% !important;max-width:100% !important; }
.page-template-templatestemplate-emptyfrontpage-fullwidth-php .body_wrapper { height: auto;min-height: 100%;position: absolute;width: 100%; }
.page-template-templatestemplate-emptyfrontpage-fullwidth-php .header-search-form { padding:0 15px }

@media (max-width: 991px) {
.page-template-templatestemplate-emptyfrontpage-php #primary { margin-top: 0; }
.page-template-templatestemplate-emptyfrontpage-fullwidth-php #primary { margin-top: 0; }
}