/*
Theme Name: Houdini WPTemplate
Author: Martin Erlandsson, Houdini Group AB
Author URI: https://houdini.se
Version: 1.0
*/

html {
	margin: 0;
	padding: 0;
	height: 100%;
}
body {
	min-height: 100%;
	background-color: #FFF;
	color: #1b1b1b;
	font-family: 'PT Sans', sans-serif;
	font-size: 16px;
	font-weight: 400;
	overflow-x: hidden;
	overflow-y: visible;
}

.site-main .inner-box ul {
	list-style: none;
	padding: 0;
	margin: 10px 0 20px;
}

.site-main .inner-box li {
	padding-left: 10px;
	text-indent: -10px;
}

.site-main .inner-box li::before {
	content: "• ";
	color: #026673;
	font-size: 18px;
}

h1, .h1, h2, .h2, h3, .h3 {
	font-family: 'PT Sans Narrow', sans-serif;
	text-transform: uppercase;
	font-weight: 700;
}

h1, .h1, h2, .h2, .jumbotron .h1, .jumbotron h1, .jumbotron .h2, .jumbotron h2 {
	font-size: 30px;
}

h3, .h3 {
	font-size: 18px;
}

h4, .h4 {
	font-family: 'PT Sans Narrow', sans-serif;
	font-weight: 700;
}

.btn.btn-default {
	background-color: #000;
	border-radius: 20px;
	font-weight: bold;
	color: #fff;
	box-shadow: none;
	border: none;
	text-decoration: none;
	padding: 10px 20px;
}

.btn.btn-default:hover, .btn.btn-default:focus, .btn.btn-default:active {
    background-color: #026673;
    color: white !important; 
}

a {
	color: #1b1b1b;
	text-decoration: underline;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

a:hover, a:focus, a:active {
	color: #026673 !important;
	text-decoration: underline !important;
}

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

.btn {
	-webkit-transition: all 0.25s ease;
	-moz-transition: all 0.25s ease;
	-o-transition: all 0.25s ease;
	transition: all 0.25s ease;
}

.row {
	position: relative;
}

.container {
	position: relative;
}

.content-area {
	min-height: 100vh;
	padding-bottom: 100px;
	position: relative;
	padding-top: 93.85px;
}

.text-content {
	padding: 30px;
	max-width: 600px;
}

.divider-row {
	text-align: center;
}

.divider-row img {
	width: 170px;
}

.divider-lines {
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	height: 5px;
	position: absolute;
	margin-top: 33px;
	left: 15px;
	right: 15px;
	z-index: -1;
}

.inner-box {
	padding: 30px;
	padding-top: 60px;
}

.inner-box h4, .inner-box .h4 {
    margin-top: 30px;
}

.pad-row {
	padding-top: 30px;
	padding-bottom: 30px;
}

.quote-box {
	padding: 30px;
	max-width: 500px;
	margin: 0 auto;
	padding-bottom: 60px;
	padding-top: 60px;
}

.quote-box .h2 {
	text-align: center;
	margin-top: 0;
}

/* JUMBOTRON */

.jumbotron {
	padding: 0;
	background-color: transparent;
	margin-bottom: 0;
}

.jumbotron p {
	font-size: 16px;
	font-weight: 400;
}

.jumbotron-box {
	position: absolute;
	top: 50px;
	background-color: rgba(255,255,255,0.8);
}

.jumbotron-box::before {
	background-color: rgba(255,255,255,0.8);
	position: absolute;
	width: 4000px;
	height: 100%;
	content: "";
	left: -4000px;
	top: 0;
}

.jumbotron .h1, .jumbotron h1, .jumbotron .h2, .jumbotron h2 {
	margin-top: 15px;
}

/* HEADER */

.main-header {
	background-color: #FFF;
	border-top: 10px solid #026673;
	padding-top: 15px;
	position: absolute;
	width: 100%;
	z-index: 100;
}

.header-logo {
	display: block;
	float: left;
}

.header-logo img {
	width: 210px;
}

#search-header-icon {
    float: left;
}

#search-header-icon > a {
    padding: 4px 15px;
    display: block;
    font-size: 25px;
}

#navbar-lang-change-button {
	float: left;
	margin-left: 10px;
	margin-top: 4px;
}

.main-menu-holder {
	float: right;
	margin-top: 11px;
}
.main-menu {
	float: left;
}

ul.menu, ul.menu ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.main-menu ul.menu li.menu-item {
	float: left;
	margin-right: 5px;
}

.main-menu ul.menu li.menu-item a {
	color: #1b1b1b;
	padding: 10px 10px;
	display: block;
	position: relative;
}

.main-menu ul.menu > li.menu-item > a {
	padding-bottom: 25px;
}

.main-menu ul.menu li.menu-item a:hover, .main-menu ul.menu li.menu-item a:focus, .main-menu ul.menu li.menu-item a:active {
	color: #026673 !important;
	text-decoration: none !important;
}

.main-menu ul.menu .sub-menu li.menu-item a:hover, .main-menu ul.menu .sub-menu li.menu-item a:focus, .main-menu ul.menu .sub-menu li.menu-item a:active {
	color: #FFF !important;
}

.main-menu ul.menu li.menu-item.current-menu-item a,
.main-menu ul.menu li.menu-item.current-menu-ancestor a {
	color: #026673;
	font-weight: 700;
}

.main-menu ul.menu > li.menu-item:hover > .sub-menu,
.main-menu ul.menu > li.menu-item.hover-active > .sub-menu,
.main-menu ul.menu > li > ul.sub-menu > li.menu-item.current-menu-item > .sub-menu,
.main-menu ul.menu > li > ul.sub-menu > li.menu-item.current-menu-ancestor > .sub-menu {
	display: block;
}

.main-menu ul.menu > li.menu-item-has-children:hover > a::after,
.main-menu ul.menu > li.menu-item-has-children.hover-active > a::after {
	content: "";
	position: absolute;
	border-bottom: 15px solid #026673;
	border-left: 15px solid transparent;
	border-right: 15px solid transparent;
	bottom: 0;
	left: 50%;
	margin-left: -15px;
}

.main-menu ul.menu > li > ul.sub-menu,
.main-menu ul.menu > li > ul.sub-menu > li > ul.sub-menu {
	display: none;
	position: absolute;
	width: 100% !important;
	/*right: 15px;*/
	padding: 0;
	background-color: #026673;
	list-style: none;
	top: 68px;
	text-align: left;
}

.main-menu ul.menu > li > ul.sub-menu > li > ul.sub-menu {
	top: 43px;
	border-top: 1px solid #FFF;
	text-align: left;
	max-width: 600px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1;
}

.main-menu ul.menu .sub-menu::before {
	position: absolute;
	content: "";
	width: 4000px;
	left: -4000px;
	background-color: #026673;
	height: 100%;
	top: 0;
}
.main-menu ul.menu .sub-menu::after {
	position: absolute;
	width: 4000px;
	background-color: #026673;
	height: 100%;
	right: -4000px;
	content: "";
	top: 0;
}
.main-menu ul.menu .sub-menu .sub-menu::before,
.main-menu ul.menu .sub-menu .sub-menu::after {
	border-top: 1px solid #FFF;
	margin-top: -1px;
}
.main-menu ul.menu > li > ul.sub-menu > li.menu-item {
	float: none;
	display: inline-block;
}
.main-menu ul.menu ul.sub-menu ul.sub-menu > li.menu-item {
    display: block;
    float: none;
}
.main-menu ul.menu ul.sub-menu li.menu-item a {
	color: #FFF;
	font-weight: 400;
	position: relative;
}
.main-menu ul.menu ul.sub-menu li.menu-item.current-menu-item > a,
.main-menu ul.menu ul.sub-menu li.menu-item a:hover,
.main-menu ul.menu ul.sub-menu li.menu-item a:focus,
.main-menu ul.menu ul.sub-menu li.menu-item a:active {
    background-color: #a0a0a0;
    font-weight: 400;
}

.main-menu ul.menu ul.sub-menu ul.sub-menu li.menu-item > a::before {
	position: absolute;
	content: "";
	width: 4000px;
	left: -4000px;
	background-color: transparent;
	height: 100%;
	top: 0;
	z-index: 1;
	transition: background-color 0.5s ease;
}

.main-menu ul.menu ul.sub-menu ul.sub-menu li.menu-item > a::after {
	position: absolute;
	width: 4000px;
	background-color: transparent;
	height: 100%;
	right: -4000px;
	content: "";
	top: 0;
	z-index: 1;
	transition: background-color 0.5s ease;
}

.main-menu ul.menu ul.sub-menu ul.sub-menu li.menu-item.current-menu-item > a::before,
.main-menu ul.menu ul.sub-menu ul.sub-menu li.menu-item a:hover::before,
.main-menu ul.menu ul.sub-menu ul.sub-menu li.menu-item a:focus::before,
.main-menu ul.menu ul.sub-menu ul.sub-menu li.menu-item a:active::before,
.main-menu ul.menu ul.sub-menu ul.sub-menu li.menu-item.current-menu-item > a::after,
.main-menu ul.menu ul.sub-menu ul.sub-menu li.menu-item a:hover::after,
.main-menu ul.menu ul.sub-menu ul.sub-menu li.menu-item a:focus::after,
.main-menu ul.menu ul.sub-menu ul.sub-menu li.menu-item a:active::after {
	background-color: #a0a0a0;
}

.main-menu ul.menu ul.sub-menu li.menu-item:hover .sub-menu {
	display: block;
	z-index: 10;
}

#navbarMobile, .navbar-toggler {
	display: none;
}

/* MOBILE */
#navbarMobile {
    margin-top: 15px;
}
.navbar-toggler {
    float: right;
    border: none;
    padding: 2px 10px;
    background-color: transparent;
}
.navbar-toggler-icon {
    display: block;
    font-size: 34px;
}
ul.menu a {
	text-decoration: none;
}
.mobile-menu ul.menu ul.sub-menu {
	display: none;
}
.mobile-menu ul.menu li.current-menu-ancestor > ul.sub-menu,
.mobile-menu ul.menu li.current-menu-item > ul.sub-menu {
	display: block;
}

.mobile-menu ul.menu a::before {
	position: absolute;
	width: 4000px;
	height: calc(100% + 1px);
	left: -4000px;
	content: "";
	top: 0;
	z-index: 1;
	background-color: transparent;
	border-bottom: 1px solid #a0a0a0;
}
.mobile-menu ul.menu a::after {
	position: absolute;
	width: 4000px;
	height: calc(100% + 1px);
	right: -4000px;
	content: "";
	top: 0;
	z-index: 1;
	background-color: transparent;
	border-bottom: 1px solid #a0a0a0;
}

.mobile-menu ul.menu > li.current-menu-item > a,
.mobile-menu ul.menu > li.current-menu-item > .menu-item-link-wrapper > a,
.mobile-menu ul.menu > li.current-menu-item > ul.sub-menu > li > a,
.mobile-menu ul.menu > li.current-menu-item > ul.sub-menu > li > .menu-item-link-wrapper > a,
.mobile-menu ul.menu > li.current-menu-ancestor > a,
.mobile-menu ul.menu > li.current-menu-ancestor > .menu-item-link-wrapper > a,
.mobile-menu ul.menu > li.current-menu-ancestor > ul.sub-menu > li > a,
.mobile-menu ul.menu > li.current-menu-ancestor > ul.sub-menu > li > .menu-item-link-wrapper > a,
.mobile-menu ul.menu > li > ul.sub-menu > li.current-menu-ancestor > a,
.mobile-menu ul.menu > li > ul.sub-menu > li.current-menu-ancestor > .menu-item-link-wrapper > a,
.mobile-menu ul.menu > li > ul.sub-menu > li.current-menu-item > a,
.mobile-menu ul.menu > li > ul.sub-menu > li.current-menu-item > .menu-item-link-wrapper > a,
.mobile-menu ul.menu > li.current-menu-item > a::before,
.mobile-menu ul.menu > li.current-menu-item > .menu-item-link-wrapper > a::before,
.mobile-menu ul.menu > li.current-menu-item > ul.sub-menu > li > a::before,
.mobile-menu ul.menu > li.current-menu-item > ul.sub-menu > li > .menu-item-link-wrapper > a::before,
.mobile-menu ul.menu > li.current-menu-ancestor > a::before,
.mobile-menu ul.menu > li.current-menu-ancestor > .menu-item-link-wrapper > a::before,
.mobile-menu ul.menu > li.current-menu-ancestor > ul.sub-menu > li > a::before,
.mobile-menu ul.menu > li.current-menu-ancestor > ul.sub-menu > li > .menu-item-link-wrapper > a::before,
.mobile-menu ul.menu > li > ul.sub-menu > li.current-menu-ancestor > a::before,
.mobile-menu ul.menu > li > ul.sub-menu > li.current-menu-ancestor > .menu-item-link-wrapper > a::before,
.mobile-menu ul.menu > li > ul.sub-menu > li.current-menu-item > a::before,
.mobile-menu ul.menu > li > ul.sub-menu > li.current-menu-item > .menu-item-link-wrapper > a::before,
.mobile-menu ul.menu > li.current-menu-item > a::after,
.mobile-menu ul.menu > li.current-menu-item > .menu-item-link-wrapper > a::after,
.mobile-menu ul.menu > li.current-menu-item > ul.sub-menu > li > a::after,
.mobile-menu ul.menu > li.current-menu-item > ul.sub-menu > li > .menu-item-link-wrapper > a::after,
.mobile-menu ul.menu > li.current-menu-ancestor > a::after,
.mobile-menu ul.menu > li.current-menu-ancestor > .menu-item-link-wrapper > a::after,
.mobile-menu ul.menu > li.current-menu-ancestor > ul.sub-menu > li > a::after,
.mobile-menu ul.menu > li.current-menu-ancestor > ul.sub-menu > li > .menu-item-link-wrapper > a::after,
.mobile-menu ul.menu > li > ul.sub-menu > li.current-menu-ancestor > a::after,
.mobile-menu ul.menu > li > ul.sub-menu > li.current-menu-ancestor > .menu-item-link-wrapper > a::after,
.mobile-menu ul.menu > li > ul.sub-menu > li.current-menu-item > a::after,
.mobile-menu ul.menu > li > ul.sub-menu > li.current-menu-item > .menu-item-link-wrapper > a::after {
	/*background-color: #026673;*/
	/*color: #FFF;*/
	border-color: #FFF;
}

.mobile-menu ul.menu ul.sub-menu ul.sub-menu > li > a,
.mobile-menu ul.menu ul.sub-menu ul.sub-menu > li > a::before,
.mobile-menu ul.menu ul.sub-menu ul.sub-menu > li > a::after {
	background-color: #a0a0a0;
	color: #FFF;
	border-color: #FFF;
}

.mobile-menu ul.menu li:last-child a,
.mobile-menu ul.menu li:last-child a::before,
.mobile-menu ul.menu li:last-child a::after {
    border-bottom: none;
}
.mobile-menu ul.menu li:last-child a::before,
.mobile-menu ul.menu li:last-child a::after {
    height: 100%;
}
.mobile-menu ul.menu li a,
.mobile-menu > ul.menu > li:last-child > a {
    display: block;
    padding: 10px 15px;
    position: relative;
    border-bottom: 1px solid #a0a0a0;
}
.mobile-menu ul.menu li a::before,
.mobile-menu > ul.menu > li:last-child > a::before,
.mobile-menu ul.menu li a::after,
.mobile-menu > ul.menu > li:last-child > a::after {
	border-bottom: 1px solid #a0a0a0;
	height: calc(100% + 1px);
}
.mobile-menu ul.menu ul.sub-menu {
    padding-left: 15px;
}
.mobile-menu ul.menu li.menu-item-has-children > .menu-item-link-wrapper > a {
	width: calc(100% - 46px);
}
.menu-item-link-wrapper {
	position: relative;
}
a.show-children {
	color: #026673;
	position: absolute !important;
	top: 0;
	right: 0;
	width: 46px !important;
	border-bottom: none !important;
	z-index: 1;
}
a.show-children.folded .glyphicon.menu-icon-unfolded,
a.show-children.unfolded .glyphicon.menu-icon-folded {
	display: none;
}
a.show-children::before, a.show-children::after {
    border-bottom: none !important;
    width: 0 !important;
    position: relative !important;
}

/* FRONTPAGE */

#jumbo1 {
	height: 400px;
}

#jumbo2 {
	height: 600px;
	margin: 30px 0;
}

/* PAGES */

#search-box {
	background-image: url(images/search_bg.jpg);
	background-position: center center;
	background-size: cover;
    /*background-color: #c7c8ca;*/
    padding: 30px;
    text-align: center;
}

.error404 #search-box {
	background-image: url(images/404_bg.jpg) !important;
	background-position: center center;
	background-size: cover;

}



#search-box h1 {
	margin-top: 0;
}

.form-control {
    max-width: 300px;
    display: inline-block;
    margin: 0 15px;
    padding: 10px 20px;
    height: 42px;
    border-radius: 21px;
}

.horizontal-divider-lines {
	position: absolute;
	top: 60px;
	width: 5px;
	border-left: 1px solid #000;
	border-right: 1px solid #000;
	right: 33.3333333%;
	bottom: 30px;
}

.page-content .h1 {
	margin-top: 0;
}

.page-sidebar .h3:first-child {
	margin-top: 0;
}

.page-sidebar-image-caption,
.wp-caption-text {
    font-size: 14px;
    font-style: italic;
}

.sidebar-item {
	position: relative;
}

.gallery-item {
	margin-bottom: 30px;
}

.gallery-item a {
	height: 200px;
	overflow: hidden;
	position: relative;
	display: block;
}

.gallery-item a img {
	width: 100%;
	height: auto;
}

.gallery-item-overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: #000;
	opacity: 0.3;
	-webkit-transition: opacity 0.5s ease;
	-moz-transition: opacity 0.5s ease;
	-o-transition: opacity 0.5s ease;
	transition: opacity 0.5s ease;
}

.gallery-item a:hover .gallery-item-overlay {
	opacity: 0;
}

.page-top-jumbo-image {
	height: 400px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.page-top-jumbo-image.page-top-jumbo-image-static {
	height: auto;
}

.content-jumbo {
	height: 600px;
}

.page-top-jumbo-video {
	background-color: #FFF;
}

.page-top-jumbo-video iframe,
.youtube-flex-content iframe {
	display: block;
	max-width: 100%;
	width: 1140px;
	height: 641px;
}

.youtube-flex-content,
.soundcloud-flex-content {
	padding-top: 30px;
	padding-bottom: 30px;
}

.page-sidebar img,
.page-sidebar iframe {
	max-width: 100%;
}

.box-post {
	padding-bottom: 30px;
}

/*
.box-post a {
	display: block;
	text-decoration: none;
}
*/

.box-post-inner > a {
	text-decoration: none;
	
}

.box-post a p {
}

.box-post .box-post-inner {
	border: 1px solid #c7c8ca;
}

.box-post .box-post-inner .inner-box {
	padding-top: 30px;
}


.box-post a:hover, .box-post a:focus, .box-post a:active {
	text-decoration: none;
	color: #1b1b1b;
}

.box-post .h3 {
	margin-top: 0;
}

.post-arrow-box {
	text-align: right;
	position: relative;
}

.post-arrow-box img {
	width: 60px;
}

.post-arrow-box .arrow_hover {
	position: absolute;
	right: 0;
	opacity: 0;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

.box-post a:hover .post-arrow-box .arrow_hover, .box-post a:focus .post-arrow-box .arrow_hover, .box-post a:active .post-arrow-box .arrow_hover {
	opacity: 1;
}

.box-post-image {
	position: relative;
	height: 200px;
	overflow: hidden;
}

.box-post-image img,
.box-post-image.width-img img {
	width: 100%;
	height: auto;
	position: absolute;
	transform: translateY(-50%);
	top: 50%;
	padding-left: 1px;
	padding-right: 1px;
	
}

.box-post-image.height-img img {
	width: auto;
	height: 100%;
	position: absolute;
	transform: translateX(-50%);
	top: 0;
	left: 50%;
}

/* FOOTER */

.main-footer {
	padding-bottom: 30px;
	background-color: #026673;
	padding-top: 30px;
	margin-top: -60px;
	color: #FFF;
}

.footer-img-box {
    float: left;
    width: 120px;
}
.footer-img-box img {
	width: 100%;
}
.footer-text-box {
	float: left;
	width: calc(100% - 120px);
	padding-left: 20px;
	max-width: 350px;
}
.left-footer-box .h3,
.right-footer-box p {
	margin-top: 20px;
}

.list-checkbox-wrap li::before {
	content: "" !important;
}

.nf-field-label label {
	font-weight: normal !important;
}

.label-above .nf-field-label {
	margin-bottom: 2px !important;
}

.nf-mp-body {
	max-width: 400px;
}

.html-wrap h3 {
	text-transform: none;
}

.nf-field-container {
	margin-bottom: 10px !important;
}

.med_pil {
	
	background: transparent url(http://dev.houdini.se/signatur/wp-content/themes/wptemplate/images/arrow_black.png) center right no-repeat;
	background-size: 30px;
    padding-right: 18px;	
}

.med_pil:hover {
	background: transparent url(http://dev.houdini.se/signatur/wp-content/themes/wptemplate/images/arrow_teal.png) center right no-repeat;
	background-size: 30px;
    padding-right: 18px;
	
}

.submit-wrap {
	padding-top: 10px;
}

.current_page_item > .menu-item-link-wrapper > a {
	background-color: #a0a0a0;
}

.current-menu-ancestor > .menu-item-link-wrapper > a {
	color: #026673;
	font-weight: 700;
}


.videowrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.videowrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


.home div.box-post-inner a:hover, a:focus, a:active {
	text-decoration: none !important;
}

.home div.inner-box h3,
.home div.inner-box p {
	color: black !important;
	text-decoration: none !important;
}



.mgbutton.moove-gdpr-infobar-allow-all, .moove-gdpr-modal-save-settings {
	background: #000 !important;
	border: none !important;
}

.mgbutton {
	border-radius: 20px !important;
}

.moove-gdpr-cookie-notice p {
	font-size: 18px !important;
}

.gdpr-nav-tab-title, .gdpr-icon {
	color: #000 !important;
}

.moovegdpr-arrow-close {
	color: #fff !important;
	background-color: #000 !important;
	border: none !important;
}

.moove-gdpr-branding-cnt {
	display: none;
}

/**********************************************************************************************************/
/* EXPAND TOGGLE
/**********************************************************************************************************/

.expand-toggle-title {
    cursor: pointer;
    margin: 0;
    background-image: url(images/arrow-down-dark.png);
    background-repeat: no-repeat;
    background-position: left 3px;
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 18px;
    font-weight: 700;
    padding: 0 0 0 16px;
}

.expand-toggle-title h3 {
	margin:0;
}

.expand-toggle-title.active {
	background-image: url(images/arrow-up-dark.png);
}

.expand-toggle-content {
    display: none;
    padding:0 0 0 16px;
}

