/*
 Theme Name:   Saab car museum
 Theme URI:    http://www.uanet.se
 Description:  Saab car museum
 Author:       Rikard B
 Author URI:   http://uanet.se
 Template:     bootstrap3base
 Version:      1.0.0
 Tags:         Saabcarmuseum
 Text Domain:  Saabcarmuseum
*/

@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800italic,800);
@import url("../bootstrap3base/style.css");

/* =Theme customization starts here
-------------------------------------------------------------- */

body {
    background: url(img/bg.jpg) repeat-x #E6E7E8;
    padding-top: 0px;
    font-family: 'Open sans';
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Open sans';
}

body.home {
    background: #fff;
}

a {
    text-decoration: underline;
}

.btn {
    text-decoration: none;
}

.header {
    z-index: 1000;
}

.container {
    position: relative;
}

.main-container {
    background: url(img/main-bg.jpg) repeat-x #fff;
    margin-bottom: 50px;
    min-height: 400px;
    -webkit-box-shadow: 0px 0px 15px 0px rgba(50, 50, 50, 0.55);
    -moz-box-shadow:    0px 0px 15px 0px rgba(50, 50, 50, 0.55);
    box-shadow:         0px 0px 15px 0px rgba(50, 50, 50, 0.55);
}


.home .main-container {
    background: #fff;
    margin-bottom: 0px;
    min-height: 0px;
    -webkit-box-shadow: 0px 0px 0px 0px rgba(50, 50, 50, 0.55);
    -moz-box-shadow:    0px 0px 0px 0px rgba(50, 50, 50, 0.55);
    box-shadow:         0px 0px 0px 0px rgba(50, 50, 50, 0.55);
}

.md-page-header {
    background: #568bc8;
    height: 250px;
    margin-bottom: 0px;
    padding: 0;
}

.home .md-page-header {
    display: none;
}

.md-page-header h1, .md-page-header h2 {
    color: #fff;
    font-size: 45px;
    margin: 145px 0 45px -20px;
}

.md-page-header .container {
    z-index: 3;
}

.md-page-header-image {
    background-attachment: fixed;
    background-position: 50% 0;
    background-repeat: no-repeat;
    height: 250px;
    position: relative;
    width: 100%;
    background-color: #fff !important;
    margin-bottom: 0px;
    padding: 0;
}

.overlay-black {
	background: #000;
	z-index: 2;
	position: absolute;
	top: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
    opacity: 0.4;
}

.slide-wrap { position: relative; }
.carousel .wp-post-image { margin-bottom: 0; }
.carousel-caption h4 { display: none;}

.btn-info {
    background: #568bc8;
    border-color: #568bc8;
}

/**
 * Navbar
 */
.mobile-top-menu  {
 	display: none;
}
 
.navbar {
    border-bottom: 5px solid #568BC8;
    background: #fff;
    min-height: 0px;
    padding: 0;
}

.navbar-fixed-top {
    opacity: 0.9;
}

.top-nav-collapse #main-menu { margin-top: 0px; }
    
.top-nav-collapse .navbar-brand img { width: 130px; }

//.top-nav-collapse .topmenu-link { display: block !important; }

.top-nav-collapse .scalp-menu { display: none !important; }

.navbar-inverse { 

}

.current-menu-item {
    background: #568BC8;
}

.navbar-nav > li.current-menu-item > a {
    color: #fff;
}

.navbar-nav > li > a {
    padding-top: 16px;
    padding-bottom: 16px;
    text-decoration: none;
}

#scalp-menu > li > a { font-size: 10px; padding: 5px; }
.scalp-menu {
    position: absolute;
    top: 0;
    right: 0;
}

#main-menu { margin-top: 53px; transition: all 0.5s ease 0s; }
.navbar-brand { padding: 0; height: auto;}
.navbar-brand img {  transition: all 0.5s ease 0s; height: auto; }

.navbar-toggle {
    background: #568BC8;
}

#scalp-menu > .lang-item > a {
    line-height: 1.7;
}

.icon-bar { background: #fff; }


.bottom-widget-right img, .bottom-widget-left img {
    max-width: 100%;
    height: auto;
    border: 5px solid #fff;
    line-height: 1;
    margin: 10px 0 20px;
    padding: 0;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.55);
    -moz-box-shadow:    0px 0px 5px 0px rgba(50, 50, 50, 0.55);
    box-shadow:         0px 0px 5px 0px rgba(50, 50, 50, 0.55);
}

/**
 * Content
 */
.start-scrolling {
    top: 50%;
    position: absolute;
    left: 50%;
    margin-left: -100px;
    margin-top: -60px;
}
.bcg {
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 450px;
    width: 100%;
    position: relative;
}
.homeSlide {
    height: 450px !important;
}

.right-col {
    background: #F1F1F2;
    border-left: 1px solid #D1D2D4;
    padding: 20px;
    min-height: 400px;
}

.right-col .attachment-full {
    margin: 30px auto;
    display: block;
    width: 200px;
    height: auto;
}

.post h3 {
    font-size: 20px;
}
.post a {
    text-decoration: none;
}
.post div a {
    text-decoration: underline;
}

/**
 * Sidebar
 */
.blog-widget h2 {
    font-size: 18px;
}
.blog-widget ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.blog-widget li {
    padding: 5px 0;
    margin: 0;
}

/**
 * Sections
 */
.section-content {
    z-index: 10;
    padding-top: 85px;
    padding-bottom: 85px;
    font-size: 18px;
}
.section-content h2 {
    font-size: 50px;
    margin-bottom: 40px;
}
.section-parallax .section-content {
    padding-top: 140px;
    padding-bottom: 140px;
}
.home .main-container { display: none; } //-- Hide edit for mainpage in edit mode
section .container {
    z-index: 100;
}

section img, .section img { max-width: 100%; height: auto; }

#section-fadebg {
    background: url(img/main-bg.jpg) repeat-x #fff;
}
#section-fadebg .section-content {
    padding: 50px 0;
}

.section-start-top .section-content {
    padding: 50px 0;
}

/**
 * Link page
 */
.link-item {
    width: 100%;
    
}

.link-image {
    width: 140px;
    height: 140px;
    float: left;
}

.link-item-content {
    width: 200px;
    float: left;
}

.link-item-content h3 {
    font-weight: bold;
    font-size: 14px;
    margin-top: 10px;
}



/**
 * Gallery overrides
 */
#gallery-1 .gallery-item, #gallery-2 .gallery-item, #gallery-3 .gallery-item, #gallery-4 .gallery-item, #gallery-5 .gallery-item {
    width: auto !important;
    margin-right: 3px !important;
    
}
#gallery-1 img, #gallery-2 img, #gallery-3 img, #gallery-4 img, #gallery-5 img {
    border: 1px solid #fff !important;
    background: #fff;
    padding: 1px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    transition: all 0.5s ease 0s; height: auto;
}
#gallery-1 img:hover, #gallery-2 img:hover, #gallery-3 img:hover, #gallery-4 img:hover, #gallery-5 img:hover {
    border: 1px solid #568bc8 !important;
    opacity: 0.9;
    
}

/**
 * Sections
 */
.section-firstpage h2 {
    font-size: 60px;
    color: #fff;
}

/**
 * Footer
 */
#footer {
    background: #fff;
    color: #777;
    border-top: 5px solid #568BC8;
    text-align: center;
}

#footer h4 { color: #777; margin-top: 20px; margin-bottom: 0; padding-bottom: 0; }

.footer-logo img {margin: 10px auto; display: block; max-width: 100%; height: auto;}




@media (max-width: 767px) {

    .start-scrolling {
        width: 140px;
        height: auto;
        margin-left: -70px;
        margin-top: -40px;
    }
	
    .alignright, .alignleft {
        float: none;
        display: block;
        margin-left: auto;
        margin-right: auto; 
        max-width: 100%;
        height: auto;
    }
    
    .section-content {
    	padding-top: 40px;
    	padding-bottom: 40px;
    }
    
    h1 { font-size: 18px; }
    h2 { font-size: 16px; }
    h3 { font-size: 14px; }
    
    .section-firstpage h2 {
        font-size: 30px;
    }
    
    .section-content h2 {
        font-size: 25px;
        margin-bottom: 20px;
    }
    
    .section-content {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    
    .md-page-header h1 {
        margin-left: 20px;
        margin-top: 65px;
        margin-bottom: 20px;
    }
    
    
    .md-page-header-image {
        height: 150px;
    }
    
    .bcg {
        height: 250px;
    }
    .homeSlide {
        height: 250px !important;
    }
    
    body #gallery-1.gallery .gallery-item, body #gallery-2.gallery .gallery-item,body #gallery-3.gallery .gallery-item,body #gallery-4.gallery .gallery-item,body #gallery-5.gallery .gallery-item {
        width: 25% !important;
        margin-bottom: 10px !important;
        margin-right: 0 !important;
    }
    
}

/**
 * Change navbar collapse side
 */
@media (max-width: 991px) {

	body {
		padding-top: 57px;
	}
	
	body.home {
		padding-top: 150px;
	}

	.mobile-top-menu {
		background: #568BC8;
		color: #fff;
		height: 40px;
		overflow: hidden;
		display: block;
	}
	
	.mobile-top-menu li > a {
		color: #fff;
		text-decoration: none;
	}
	
	.navbar-mainmenu {
		top: 40px;
	}
	
	.mobile-top-menu .container {
		padding: 0;
	}
	
	.navbar-fixed-top {
		opacity: 1;
	}
	
	.container > .navbar-header, .container-fluid > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-collapse {
		margin-left: 0;
	}
	
	.md-page-header h1, .md-page-header h2 {
		font-size: 26px;
		margin-top: 80px;
	}
    
    .right-col {
        height: auto !important;
        text-align: center;
    }
    
    .navbar-brand img {
		width: 130px;
		max-width: 130px;
		height: auto;
	}
    
    #scalp-menu { display: none;}
    
    .navbar-right {
        float: none !important;
    }
    
    .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
        max-height: 340px !important;
        overflow-x: visible;
        padding-left: 15px;
        padding-right: 15px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-collapse ul {
        margin: 0 !important;
    }
    .top-nav-collapse .container {
        
    }
    .navbar-collapse.collapse.in {
        overflow-y: auto !important;
    }
    .navbar-nav {
        float: none!important;
        margin: 7.5px -15px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    /* since 3.1.0 */
    .navbar-collapse.collapse.in { 
        display: block!important;
    }
    .collapsing {
        overflow: hidden!important;
    }
}

@media (max-width: 1200px) {
    .navbar-nav > li > a {
        font-size: 13px;
        padding: 15px 10px;
    }
}