/*
 Theme Name:   Aktuellt om vetenskap - Bootstrap
 Theme URI:    http://example.com/twenty-fourteen-child/
 Description:  Vetenskap och hälsa
 Author:       Ingemar Hultquist
 Author URI:   http://example.com
 Template:     wordpress-bootstrap-master
 Version:      1.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  wp-boostrap-child
*/

@import url("../wordpress-bootstrap-master/style.css");

/* Custom container */
.container-fixed {
  margin: 0 auto;
  max-width: 960px;
}
.container-fixed > hr {
  margin: 30px 0;
}




body {
/*    background: url(images/bodybg.png);
    background-repeat: repeat-x;*/
    margin: 1em;
    margin-top: 0;

    
    }



a {
    color: #00649c;
    
}

blockquote {
    border-left: 8px solid #379BBF;
    font-style: italic
}




blockquote p {
    font-size: inherit !important;
    font-weight: normal !important;
    line-height: inherit !important;
}

body.ungdom blockquote {
    border: none;
    font-style: normal;
}

body.ungdom blockquote p {

    font-weight: 300 !important;

}

.siteid-small {
    background-image: url(images/small-siteid-logos.png);
    background-repeat: no-repeat;
    border-bottom: 2px solid #C5D214;
    height: 64px;
    padding: 0 0 12px 0;
    max-width: 740px;
  
}

.small-siteinfo a {
    padding: 0 0 0 140px;
    display: block;
    font-size: 12px;
    font-weight: normal;
    color: #999;
    max-width: 334px;

}


table.poddavsnitt td {
   padding: 1em;
   vertical-align: top;

}

table.poddavsnitt tr {
    border-top: 1px solid #ccc;
}

table.poddavsnitt img {
   min-width: 250px !important;
   max-width: 250px;

}



/* Fix för fdag-tabell */

td, th {
     vertical-align: top;
}

td img {
    min-width: 72px;
    height: auto;
}


.page-wrapper {
    background-color: #fff;
    border: 1px solid #ddd; 
    border-radius: 4px;    
    max-width: 1172px;
    margin: 0 auto;
    padding-top: 16px;
}


/* Page head */

.navbar {
    margin-bottom: 0;
}

.navbar-default {
    background: transparent;
    border: none;
}

/*.navbar-nav > li > a {
    padding-bottom: 10px;
    padding-top: 10px;
}*/


/*.navbar-default .container {
    border-bottom: 8px solid #0a69a0;
}
*/


.navbar-toggle {
    margin-left: 16px;
    float: none;
    font-weight: bold;
    border: none;
    border-bottom: 5px solid black;
    padding: 0;
    border-radius: 0px;
}

.site-logo {
    height: auto;
    max-width: 100%;
    margin-top: 16px;
    margin-bottom: 0px;
    margin-left: 16px;
}

.site-logo-small {
    height: auto;
    max-width: 75%;
    margin-top: 16px;
    margin-bottom: 0px;
    margin-left: 16px;
}

.navbar-right {
    max-width: 400px;
}





/* Social icons */

ul#menu-social-links {
    text-align: right;
}

#menu-social-links li, #menu-sitelinks li {
    display: inline;
    list-style-type: none;
    padding-right: 20px;
    }
    
#menu-social-links li.follow {
    font-size: 13px;
    }
    
/* Site-links */







.main-menu {
    background-color: #e9eeb9;
    border-left: 12px solid #c5d214;
    border-right: 12px solid #c5d214;    
 
}



#menu-sitelinks a {
    text-transform: uppercase;
    color: #333;
    font-size: 11px;
}


@media (max-width: 800px) {
    
    ul#menu-sitelinks {
    border-left: 4px solid #eee;
    padding-left:4px;
    
    }
    
    #menu-sitelinks li{
        display: block;
        margin: 0;
        padding:0;

        }
        
    .menu-main_for_mobile-container ul {
        border-left: 4px solid #E9EEB9;
        padding-left: 4px;
        list-style: none;
        text-transform: uppercase;
        color: #333;
        font-size: 11px;        
    }
    
    .menu-main_for_mobile-container ul li {
        margin-bottom: 5px;
    }
    
    .menu-main_for_mobile-container a {
        color: #333;    
    }
}



    
/* END page head */

/*#menu-toppmeny-1 ul { 
    width: 100%;

    
}
*/
#menu-toppmeny  li {
    float: left;
    margin-right: 12px;
/*    display: block !important;
 *
 * 
*/

}

    
#menu-toppmeny li a{
    display: inline-block;
    line-height: normal;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    color: #000;


}

#menu-toppmeny li.active a, #menu-toppmeny li a:hover, #menu-toppmeny li a:active {
    background-color: #c5d214;
    color: #000;
}

li.menu-item-home a {
    background-color: transparent !IMPORTANT;
    color: #000;
}

li.menu-item-home a:hover {
    background-color: #c5d214 IMPORTANT;
    color: #000;
}

/* Images and floats */

.alignright {
    float: right;
    margin-left: 12px;
}

.alignleft {
    float: left;
    margin-right: 12px;   
}

.thumbnail {
    padding: 0;
}

@media (max-width: 500px) {
    .alignright {
        float: none;
        margin-left: 0px;
        }
    
    .alignleft {
        float: none;
        margin-right: 0px;
        }
    img.alignleft {
        float: none;
        margin-right: 0;
        }
    img.alignright {
        float: none;
        margin-left: 0;
        }
        
    .wp-caption-text {
        font-size: 12px;
        }       
        
}


@media (min-width: 768px) {
    body {
        padding-top: 36px !important;}
  }



/* Homepage */

.carousel-indicators {
    bottom: 0;
    right: 0;
    left: 90%
}

.carousel-indicators li {
    background-color: #f0cbbb;
    border-color: #f0cbbb;
    height: 14px;
    width: 14px;

}

.carousel-indicators li.active {
    background-color: #c02824;
    border-color: #c02824;
    height: 14px;
    width: 14px;
}

.carousel-caption {
    color: #000;
    background-color: rgba(255, 255, 255, 0.85);
    text-shadow: none;
    text-align: left;
    line-height: normal;
    left: 5%;
    right: 5%;
    bottom: 10%;

    padding: 16px 12px 16px 12px;
    
}

.carousel-caption a {
    color: #000;
    font-size: 18px;
    font-family: helvetiva, arial, sans-serif;
    font-weight: bold;
    text-shadow: none;

    
    
}


.carousel-inner > .item > img, .carousel-inner > .item > a > img {
    border: 1px solid #fff;
    border-radius: 4px;
}



/*.carousel-inner > .item { 
    height: 384px;
}
*/

.featureimagetext {
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857;
    }


div.featureimagetext:focus {
    text-decoration: none !important;
}


.promo-widget {
    border-right: 1px solid #e3e4e5;
/*    min-height: 384px;*/
    
    
}

.promo-widget img, .siteid-widget img {
    height: auto;
    max-width: 100%;
}
    


.siteid-widget {
    padding: 16px;
    padding-top: 8px;
}

.siteid-widget img {
    padding-top: 12px;
    padding-bottom: 8px;
/*    margin-left: 32px; */
}



/* frontpage portraits */

.portraits-front {
    margin-bottom: 24px;
}

.frontpage-portraits {
    padding-top: 24px;
}

.frontpage-portraits h2 {
    margin-top: 0;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 8px;
 /*   border-bottom: 1px solid #ddd; */
    clear: both;
     
}

.frontpage-portraits h2.bg-green {
    background-color: #C5D214;
    color: #fff;
}

.frontpage-portraits h2.bg-blue {
    background-color: #3099BB;
    color: #fff;
}

.frontpage-portraits h2.bg-red {
    background-color: #C54041;
    color: #fff;
}


.frontpage-portraits .thumbnail {
    margin-bottom: 6px;
}

div.random-portrait {
    margin-right: 12px;
    float: left;
    }

.random-portrait img, .recent-videos img {
    max-width: 100%;
    min-width: 64px;
    min-height: 64px;
}



.portraits-grid-larger ul {
    margin-left: 0;
    padding-left: 0;

}

.frontpage-portraits ul li{
    list-style-position: outside;
    list-style-type: none;
    float: left;
    margin-right: 24px;
}

.frontpage-portraits  a.morelink {
    margin-left: 6px;
    display: block;
    max-width: 400px;

}





.recent-videos ul {
    margin-top: 16px;
    margin-left: -40px;
}

.recent-videos ul li{
    margin-right: 24px;
}






/* Frontpage Tabs */

.nav-tabs {
    margin-top: 12px;
}

.frontpage-panels {
    margin-top: 12px;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    background-color: #e9eeb9;
    color: #000;
    font-weight: bold;
    border-color: #fff #fff transparent;

}







.nav > li > a:hover, .nav > li > a:focus {
    background-color: #e9eeb9;
    color: #000;
}

#latest img {
    float: left;
    clear: both;
    margin-top: 12px;
    margin-right: 12px;
}

.news-item {
    padding-bottom: 12px;
    border-bottom: 1px solid #ddd;
}

.news-item a{
    color: #000;
}

.news-item h3{
    margin-bottom: 6px;
}


.news-item a:hover{
    text-decoration: none !important;
}

.news-item a > h3{
    color: #00649c;
    font-size: 14px;
}

.news-item a:hover > h3{
    text-decoration: underline;
}


.archive-link {
    display: block;
    margin: 12px;
    text-align: right;
}

.more-arrow {
    background: url("images/red-arrow.png") no-repeat scroll 0 0 transparent;
    background-position: left;
    display: inline-block;
    height: 10px;
    width: 16px;
}

.widget_categories h2 {
    display: none;
}

.frontpage-categories {
    -webkit-column-count: 2; /* Chrome, Safari, Opera */
    -moz-column-count: 2; /* Firefox */
    column-count: 2;
    margin:0;
    margin-top: 12px;
    padding:0;

    
    
    }


.frontpage-categories li{
    -moz-column-break-inside:avoid;
    -webkit-column-break-inside:avoid;
          page-break-inside: avoid;
               break-inside: avoid;
    }




#tags ul, #pop ul {
    margin: 0;
    padding: 12px;
    padding-top: 0;
    margin-top: 0px;

}

#tags ul li, #pop ul li {
    list-style-type: none;
     background: url("images/red-arrow.png") no-repeat scroll transparent;
     background-position: left center;
    padding-left: 16px;
    margin-bottom: 12px;
        margin-top: 0px;
    margin-left:0;
}

#pop ul {
    margin-top: 12px;
}


/* Pages and posts */

/*

Bilder

*/


.post_content img {
    margin-bottom: 12px;
}

.wp-caption {
    font-size: 14px;
    font-style: italic;
    padding: 0px;
    margin-top: 12px;
}

/* Fix för problem med extra divar */

.attribute-caption {
    margin-bottom: 10px;
}




#main article {
    padding-left: 12px;
/*    padding-right: 12px;*/
/*    border: 1px solid #e3e4e5;
    border-radius: 5px;  */  
}


/*    #main article iframe, object{
        width: 100% !important;
        height: auto !important;
        margin-top: 12px;
    }*/

#fakta {
    border-right: 1px solid #e3e4e5;
    /*    border-radius: 5px;*/
    padding-top: 12px;
    padding: 12px;
    min-height: 600px;
    margin-bottom: 24px;
}

#fakta h3,h4{
    font-size: 16px !IMPORTANT;
    margin: 12,0,3,0;
    font-weight: bold;
}

#fakta h2{
/*    margin-top: 12px;*/
    font-size: 12px;
    font-weight: bold;
/*    border-bottom: 1px solid #c5d214; */   
    border-left: 12px solid #c5d214;
    padding: 10px 6px 10px 12px;
    background-color: #E9EEB9;
    text-transform: uppercase;
    

}

#fakta p > a, #fakta li > a {
    background: url("images/red-arrow.png") no-repeat scroll 0 0 transparent;
    background-position: left;
    padding-left: 16px;
}

#fakta ul {
    margin-top: 12px;   
    padding-left:0px;

    }

#fakta ul li{
 /*   list-style: none; */
    margin-top: 12px;
    margin-left: 12px;
    }



#fakta img {
    text-align: center !important;
    height: auto;
    width: 100%;
    max-width: 100%;
    background-image: none !important;
    display: block;
    margin-top: 6px;
    margin-bottom: 6px;
}

a.factbox-button {
    background-color: #E9EEB9 !IMPORTANT;
    background-image: none !important;
    color: #000 !important;
    max-width: 150px !important;
    padding: 6px !important;
    padding-left: 12px !important;
    margin-bottom: 12px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
}


.lead {
    font-size: 14px;
    font-weight: normal !important;
    line-height: 1.4;
    margin-bottom: 20px;
}


.sidebar-id-featured .textwidget img {
    margin-left:33px;
    margin-top: 4px;
}

.sidebar-id-featured {
    margin-top: 12px;
}

.sidebar-id-featured h2 {
    border-bottom: 1px solid #ddd;
    clear: both;
    font-size: 16px;
    margin-top: 0;
    padding-bottom: 6px;
    text-transform: uppercase;
    
}

.sidebar-id-featured-news-item {
    margin-bottom: 12px;
}

.sidebar-id-featured-news-item img.thumbnail {
    margin-bottom: 0;
}

/* Archive */

.archive-sidebar {
    border-left: 1px solid #eee;
}

/* Sidfot */

#inner-footer {
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
}


#inner-footer .widget {
    padding-left: 48px;
    padding-top: 24px;
    font-family: helvetica,arial, sans-serif;
    font-size: 12px;

}

#inner-footer .widget a {

}


#inner-footer .widget h4 {
    font-size: 18px;
}


/* Specialsidor */

.forskningens-dag-fakta {

}


/* forskningens dag */

.fdag-banner {
    margin-top:24px !IMPORTANT;


}

.fdag-banner-new{
  
    background-color: #92C9D2;
    margin: 24px 0 0 0;
    font-family: Montserrat, sans-serif;
    padding-bottom: 12px;
}

.fdag-banner-left {
    padding-left: 36px;

}

.fdag-stoplights {
    float: right;
    margin-top: 12px;
    margin-right: 28px;
}

.fdag-main-heading {
    font-family: Montserrat, sans-serif;
    font-size: 38px;
    font-weight: bold;
    color: #484846;
    margin-bottom: 5px;

}

.fdag-sub-heading-1, .fdag-sub-heading-2 {
    font-family: Montserrat, sans-serif;
    color: #fff;

}

.fdag-sub-heading-1 {
    font-size: 34px;
}

.fdag-sub-heading-2 {
    margin-top: -6px;
    font-size: 22px;

}

.fdag-banner-right {
    padding-left: 0px;
    font-size: 17px;
}

.fdag-date-top {
    border-bottom: 1px solid #fff;
    padding-bottom: 6px;
    margin-top: 32px;
    margin-bottom: 6px;
}

.fdag-logos {
    height: 263px !IMPORTANT;
    width: 80px !IMPORTANT;
}

.fdag-live-video iframe {
    margin-top: 12px;
    height: 480px;
    width: 100%;
}

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

    .fdag-stoplights {
	float: none;

	margin-top: 12px;
    }

    .fdag-main-heading {
	font-size: 24px;

    }

    .fdag-sub-heading-1 {
    font-size: 20px;
}

.fdag-sub-heading-2 {

    font-size: 18px;

}

.fdag-banner-right {
    padding-left: 30px;
    font-size: 16px;
    
}

.fdag-date-top {
    margin-top: 12px;
}

 }













body.ungdom {

    background-color: /*#E2DFD7*/ #EBE5E5 !important;
    color: #333333;
    font-family: "rooney-web", Georgia,"Times New Roman", serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    padding-top: 0 !important;
    margin-top: 0 !important;
    }
 
body.ungdom .navbar-toggle {
    margin-left: 24px;
}
 
 body.ungdom .small-siteinfo a {
    padding: 0 0 0 140px;
    display: block;
    font-size: 13px;
    font-weight: bold;
    color: #999;
    max-width: 334px;
    margin: 12px 0 12px 0;

}
   
    
body.ungdom .main-menu {
    background-color: transparent;
    padding: 0 !important;
    margin: 0 !important;
    border: none;
 
}

ul#menu-skolkategorier {
    padding-left: 24px !important;
    padding-bottom: 24px;
}

#menu-skolkategorier li {
    list-style: none;
    float: left;
    margin-right: 25px;
    margin-left:0;
    text-transform: uppercase;
}

#menu-skolkategorier li a {
    color: #000;
    font-weight: bold;
}

body.ungdom .site-logo-ungdom {
    max-width: 100%;
    height: auto;
    margin: 0 0 50px 36px;
    padding-bottom: 0px;
    
}


body.ungdom .site-logo-ungdom-small {
    max-width: 100%;
    height: auto;
    margin: 24px 0px 12px 0px;
    
}


body.ungdom .current-menu-item, body.ungdom .current-post-parent {
    background-color: #C5D214;
    padding: 0 6px 0 6px;
}

body.ungdom .container {
    max-width: 960px;
}

body.ungdom .page-wrapper {
    background-color: #fff !important; border: none;
    margin; 0 auto;
    max-width: 960px;
    padding-top: 48px;

    }

body.ungdom a {
    color: #000;
}

body.ungdom a:hover {
    text-decoration: underline
}








body.ungdom #main {
    background-color: #FFFDF8;

}




body.ungdom .post, body.ungdom .archive_title{
    margin-top: 10px;
    margin-left: 12px;
    margin-right: 24px;


}




body.ungdom .archive_title{
    margin-left: 24px;
    margin-right: 24px;
    display: none;
}


body.ungdom .post_content_category {
    padding-bottom: 12px;
/*    border-bottom: 8px solid #EFEBE3;
*/}

body.ungdom .post_content_category a:hover {
        text-decoration: none;
*/}

body.ungdom h3 a:hover {
        text-decoration: underline !important;
*/}

body.ungdom #main article {
    border: none;
}


body.ungdom .category .page-header{
    display: none;
    height:0px;
    margin: 0 !important;
    padding: 0 !important;
    padding-bottom: 0 !important;
    visibility: hidden;
}

body.ungdom .post_content_category h3 {
    font-size: 32px;
    margin-top: 10px;
}

body.ungdom .siteid-small {
    border-bottom: none;
}

body.ungdom .siteid-small a{
    font-family: helvetica, arial, sans-serif;
    color: #7C6C64;
    margin-bottom: 12px;

    
}

body.ungdom .site-logo{
    margin-left: 36px;  
    
}

/*body.ungdom .navbar-header{
    margin-bottom: 10px;  
    
}*/



body.ungdom .navbar-responsive-collapse {
    border: none;
    float: left;
    margin-left: 0px;
    margin-top: 0px;
}



.menu-skolkategorier-small-container ul{
    list-style: none;
    margin-top: 24px;
    margin-left: -30px;
}


.menu-skolkategorier-small-container ul li {
    padding: 0;
    list-style-position: outside;
    text-transform: uppercase;
    font-family: "brandon-grotesque",sans-serif;
    font-weight: bold;
    font-size: 12px;

}

h3.archive_title, .archive h3 {
    font-size: 32px;
    line-height: 1em !important;
    margin-top: 12px !important;
    margin-bottom: 10px;
}



h3.archive_title {
    font-size: 24px;
    line-height: 1em !important;
    margin-top: 12px !important;
    margin-bottom: 10px;
}


ul.ungdom-small-menu {
    margin-top: -32px;
    margin-left: 60px;
}

body.ungdom button {
    text-transform: uppercase;
    font-family: "brandon-grotesque",sans-serif;
    font-weight: bold;
    border: none;
}

.ungdom-small-menu li{
    float: left;
    list-style: none;
    margin-right: 20px;
    text-transform: uppercase;
    font-family: "brandon-grotesque",sans-serif;
    font-weight: bold;
}


body.ungdom .row-main-columns {
    background-color: /* #EFEBE3 */ #F5EFEF;
    padding-top: 0 !important;
}


body.ungdom .ingress {
    font-size: 18px;
}

body.ungdom .ingress_arrow {
    color: #000;
    font-family: "brandon-grotesque",sans-serif;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;

}

body.ungdom .page-header {
    border: none;
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

body.ungdom .page-header h1{
    font-size: 32px;
    margin-top: 20px;
    margin-bottom: 10px;
}


body.ungdom p.meta a {
    text-transform: uppercase;
    font-style: normal;
    font-weight: bold;
    color: #7C6C64;
    text-decoration:none
}

body.ungdom p.meta a:hover {
    text-decoration: underline;
}

body.ungdom h1, body.ungdom h2, body.ungdom h3, body.ungdom h4 {
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 56px;
    margin-bottom: 12px;
    
}

body.ungdom h4 {
    font-size: 20px;
}

body.ungdom .lead {
    font-size: 18px;
    line-height: 1.5;
}

body.ungdom .lead strong,
body.ungdom .lead b {
/*    font-weight: normal;  */
}


body.ungdom div.artikel-faktaruta {
    display: block;
    border: none;
    background-color: #EAEDA4;
    max-width: 340px;
    padding: 12px;
    padding-top: 6px;
    padding-bottom: 16px;
}


body.ungdom .artikel-faktaruta h3, body.ungdom .artikel-vidarelasning h3{
    font-size: 18px;
}


body.ungdom .artikel-vidarelasning {
    background-color: #F5F3EB;
    padding: 12px; 
}

body.ungdom .relatedposts {
    display: none;
    background-color: #F5F3EB;
    padding: 12px;
}

#ung-sidebar {
    padding-top: 10px;
}

#ung-sidebar h1, #ung-sidebar h2, #ung-sidebar h3, #ung-sidebar h4 {
    font-size: 22px;
}


body.ungdom #ung-sidebar h2 {
    margin-top: 18px;
    margin-bottom: 6px;
}


body.ungdom #ung-sidebar img {
    width: 100%;
    height: auto;
    padding: 0 !important;
    margin: 0 !important;
}

.wp-image-45111 {

    max-width: 240px !important;
    height: auto;
}

.ungdom-logos {
    margin-top: 24px;
    margin-left: 22px;}

body.ungdom #ung-sidebar ul{
    list-style: none;
    background-color: #ECEEC3;
    margin-top: 4px;
    margin-bottom: 48px;

}

body.ungdom #ung-sidebar ul li a {
    display: block;
    padding: 6px 20px 6px 0;
    text-transform: uppercase;
    text-align: right;
    font-weight: bold;
    color: #7C6C64;    

    
}




.wp-video {
    height: 140px !important;
margin-top: 12px;
}



.videowrapper         {width:100%;height:100%;margin:0 auto;}
.h_iframe        {position:relative;}
.h_iframe .ratio {display:block;width:100%;height:auto;}
.h_iframe iframe {position:absolute;top:0;left:0;width:100%; height:100%;}


.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    background-color: #333333;
    border-color: #333333;
    color: #ffffff;
    cursor: default;
    z-index: 2;
}


/* Footer ungdom */




body.ungdom #inner-footer {
    background-color: #333 !important;
    min-height: 300px;
    padding-bottom: 50px;
/*    background-image: url(images/logo-small-screen-invert.png);
    background-position: 42px 30px;
    background-repeat: no-repeat;*/
}

body.ungdom #inner-footer div.widget {
    float: left;
    padding-left: 60px;
    margin-right: 48px;
    margin-top: 12px;
    padding-top: 24px;
    font-family: helvetica,arial, sans-serif;
    font-size: 12px;
    color: #FFFDF8;
}


.ungdom-footer-widget-1 .widget{
    max-width: 270px;
}

body.ungdom #inner-footer .widget a {
    color: #FFFDF8;
}


body.ungdom #inner-footer .widget h4 {
    font-size: 18px;
}

 body.ungdom ul.pagination  a{
    border: none;
    background-color: transparent;
    font-family: "brandon-grotesque",sans-serif;
    font-weight: bold;
    text-transform: uppercase;
 }
 
 body.ungdom .pagination > .active > a,
 body.ungdom .pagination > .active > span, 
 body.ungdom .pagination > .active > a:hover,
 body.ungdom .pagination > .active > span:hover,
 body.ungdom .pagination > .active > a:focus,
 body.ungdom .pagination > .active > span:focus {
     background-color: #c5d214 !important;
     color: #000;
  }

 body.ungdom .pagination .prev a{
    color: #FFFDF8;
    
 }

.footer-logo {
    margin-top: 24px;
    margin-left: 60px;
    max-width: 100%;
    height: auto;
}

/* Ändra breakpoint för navbar utseende för faktaruta */


@media (max-width: 900px) {
    
    body {
        margin-top: 12px !important;
        padding-top: 0;
    }
    
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
		top: 0;
		border-width: 0 0 1px;
	}
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
		margin-top: 7.5px;
	}
	.navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
  		display:block !important;
	}
        
    #fakta {
        border: 1px solid #ddd;
        border-radius: 5px;
        margin-left: 5%;
        margin-right: 5%;
        }
        
    #fakta h2{
        color: #000;
        border-left: none !important;
        border-bottom: 2px solid #C5D214;
        background-color: transparent !important;
        padding-left: 0 !important;    
    }
    

    body.ungdom .page-wrapper {
    background-color: #fff !important; border: none;
    margin: 0px auto;
    max-width: 1024px;
    padding-top: 6px !important;

    }
    
    body.ungdom div.row-main-columns {
    max-width: 736px;
    }
    body.ungdom .site-logo-small {
        margin-left: 36px;
        margin-bottom: 12px;
    }
    
    body.ungdom .post, body.ungdom .archive_title{
        margin-top: 10px;
        margin-left: 0px;
        margin-right: 12px;
    }
    


}
    
    
    h1,h2,h3,h4 {
        font-size: 150%;
        margin-bottom: 16px;
    }
    
    h1.single-title {
        font-size: 240%;
    }

/*@media only screen and (-webkit-min-device-pixel-ratio: 2){
    body{background:blue !important;}
}
*/

@media only screen and (min-width:901px) and (max-width: 991px)  {

   ul.ungdom-small-menu {
       visibility: hidden;
       display: none;

}


.skolkategorier-small ul {
    margin-top: -20px;
}


.skolkategorier-small li {
/*    display: none !IMPORTANT; */
/*    visibility: hidden; */
    float: right;
    margin-left: 12px;
    font-size: 16px;
}

.skolkategorier-small li a {
/*    display: none !IMPORTANT; */
/*    visibility: hidden; */
    font-size: 16px;
}

