/*
Theme Name: Barnekunstmuseet
Author: Design Container AS
Description: Barnekunstmuseet Child theme of Momo Template
Version: 1.0
Template: Momo
*/

/*
	COLORS
	grønn:      #89cbbe
	rød:        #e94561
	orange:     #fcc749
	svartgrå:   #575756
	lilla:      #84519c
*/
body{
	font-size: 15px;
	font-weight: 300;
	color: #575756;
	background-color: #FFFFFF !important;
	background:
		url(rsc/bg-top-left.jpg) 0px 0px no-repeat,
		url(rsc/bg-top-right.jpg) right 0px no-repeat;
}

a:hover{
	color: #00aee0;
}
p{
	-webkit-text-stroke: 0.3px;
}

#search-articles{
	color: #000;
}
::-webkit-input-placeholder { color: #000 !important; }
:-moz-placeholder  { color: #000 !important; }
::-moz-placeholder { color: #000 !important; }
:-ms-input-placeholder  { color: #000 !important; }


#sitesearch #topsearchsubmitwrap{
	position: absolute;
	top: 0;
	right: 0;
	margin: 0;
	height: 100%;
	width: 30px;
	padding: 0;
	right: 30px;
	font-size: 26px;
	line-height: 40px;
	color: transparent;
	visibility: visible;
	-webkit-transition: color 0.15s linear;
	-moz-transition: color 0.15s linear;
	-o-transition: color 0.15s linear;
	transition: color 0.15s linear;
}
#sitesearch #topsearchsubmitwrap:hover{
	
}
#sitesearch #topsearchsubmitwrap.active{
	visibility: visible;
	color: #575756;
	color: rgba(87, 87, 86, 0.7);
}
#sitesearch #topsearchsubmitwrap:hover{
	
}
#sitesearch #topsearchsubmitwrap input{
	position: absolute;
	top: 0;
	right: 0;
	padding: 0;
	opacity: 1;
	width: 30px;
	height: 100%;
	background-color: transparent;
}

#top-search .search-icon{
	font-size: 20px;
	margin-top: 8px;
	-webkit-transition: opacity 0.15s ease-in-out;
	-moz-transition: opacity 0.15s ease-in-out;
	-o-transition: opacity 0.15s ease-in-out;
	transition: opacity 0.15s ease-in-out;
}
#top-search .opacity-null{
	opacity: 0 !important;
}


.bottom_promo .widget-title{
	margin-top: 40px;
}
.promo-logos{
	padding-top: 15px;
	/*border-top: 2px dotted #DDD;*/
}
.promo-logos .k-post-box {
	position: relative;
	display: block;
	height: 150px;
	text-align: center;
	/*border-right: 1px solid #ddd;*/
}
/*.promo-logos .k-post-box:last-child {
	border-right: 0;
}
*/
.promo-logos img{
	padding: 30px 10px 0px;
	max-width: 100%;
	max-height: 75%;
	text-align: center;
	display: inline-block;
	vertical-align: middle;
}
.promo-logos a:hover img{
	opacity: 0.8;
}

.widget-title{
	font-size: 25px;
	line-height: 30px;
}
.k-meta-author{
	display: none;
}

#k-top-bar{
	margin-top: 0;
	max-width: 1170px;
}
#k-article-body p a {
	text-decoration: underline !important;
}
#k-article-body p a:hover{
	color: #333;
}
.k-page-title, .k-cat-tit a{
	text-shadow: none;
}
.k-cat-tit:hover{
	opacity: 0.85;
}
.breadcrumb > li a:focus, .breadcrumb > li a:hover, .breadcrumb > .active{
	color: #000;
}
.breadcrumb > li {
	font-size: 12px;
	line-height: 15px;
}
.breadcrumb > li a{
	border-bottom: 1px solid #575756;
}
.breadcrumb > li a:hover{
	border-bottom: 1px solid #000;
}
.breadcrumb>li+li:before{
	color: #575756; 
}
.moretag{
	text-decoration: underline !important;
}

.row .no-padding[class*="col-"]{
	padding-left: 0;
	padding-right: 0;
}
.no-margin{
	margin: 0;
}

/*.promo-240-wrapper*/
.carousel-inner>.item>img, .carousel-inner>.item>a>img{
	width: 100%;
/*  max-width: 1050px;
	max-height: 620px;*/
}
.col-lg-9 .carousel img{
	max-height: 460px;
}

.promo-widget-240x240 figure{
	position: relative;
	display: table;
	width: 100%;
	height: 210px;
	max-height: 240px;
/*	max-width: 240px;*/
	text-align: center;
	padding:0;
}
	@media screen and (max-width:1200px) and (min-width:990px) {
		.promo-widget-240x240 figure{
			height: 190px;
		}
	}
	@media screen and (max-width:990px) and (min-width:540px) {
		.promo-widget-240x240 figure{
			margin-right: 20px; 
		}
	}

.promo-widget-240x240 figure:first-child{
	margin-bottom: 40px;
}
.promo-widget-240x240 a, .promo-widget-240x240 h4, .promo-widget-240x240 p {
	color: #fff !important;
	position: relative;
}
.promo-widget-240x240 a{
	display: table-cell;
	vertical-align: middle;
	padding: 20px 10px;
	max-height: 100%;
	max-width: 100%;
}
.promo-widget-240x240 a:before{
	content: '';
	min-height: 210px;
	position: absolute;
	display: block;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.4);
	-webkit-transition: background-color 0.25s ease;
	-moz-transition: background-color 0.25s ease;
	-o-transition: background-color 0.25s ease;
	transition: background-color 0.25s ease;
}
.promo-widget-240x240 a:hover:before{
	background-color: rgba(0,0,0,0.6);
}
.promo-widget-240x240 h4{
	font-size: 22px;
	margin-top: 0;
}
.promo-widget-240x240 p{
	font-size: 17px;
	font-weight: bold;
}
.promo-heading{
	margin-top: 0px;
}


#k-main{
	padding-top: 0px;
	/*background: url(rsc/bg-bottom-right.png) no-repeat 75% bottom;*/
	border: 0;
	z-index: 11;
	position: relative;
	padding-bottom: 68px;
	border-bottom: 20px solid #f3f3f3;
}
.page-template-contact-php #k-main{
	border: none;
}
#k-main .white-bg{
	position: relative;
}
#paint-dots{
	position: absolute;
	bottom: -88px;
	right: -50px;
}
.k-post-title a{
	margin-right: 0;
}
.k-post-title a:hover{
	color: #575756;
	text-decoration: underline !important;
}
.k-post-box-small{
	margin-bottom: 20px;
	padding-bottom: 2px;
}

#menu {
	padding-top: 10px;
}
#menu ul{
	margin: 30px 0 0 -20px;
	padding: 0;
	display: block;
	overflow: hidden;
}
#menu ul li{
	overflow: hidden;
	margin: 0 4px;
}
#menu ul li a{
	font-weight: 700;
	display: block;
	padding: 10px 16px;
	position: relative;
	z-index: 10;
}
#menu ul li a:hover, #menu ul li.current-menu-item a{
	color: #00aee0;
}
#menu ul li:first-child a{

}
#menu ul li:before, #menu ul li:after{
	content: '';
	display: block;
	position: absolute;
	top: 12px;
	opacity: 0;
	width: 100%;
	height: 30px;
	z-index: 1;
	background-image: url(rsc/menu-bg.jpg);
	background-repeat: no-repeat;
	width: 10px;
	-webkit-transition: opacity 0.03s;
	   -moz-transition: opacity 0.03s;
			transition: opacity 0.03s;
}
#menu ul li:before{
	left: 0;
	background-position: 0 0;
	z-index: 10;
}
#menu ul li:after{
	width: 262px;
	right: 0;
	background-position: -10px 0;
}

#menu ul li:hover:after,
#menu ul li:hover:before,
#menu ul li.current-menu-item:after,
#menu ul li.current-menu-item:before,
#menu ul li.current-post-parent:after,
#menu ul li.current-post-parent:before
{
	opacity: 1;
}
#menu ul li a{
	border: none !important;
}
#head-banner{
	top: 23px;
}
#menu-nav.k-dropdown-menu a{

}
#menu-nav.k-dropdown-menu li.current-menu-item a, #menu-nav.k-dropdown-menu li.current-post-parent a {
	border-bottom: 2px solid #565656;
}
li.cat-menu-item-oslo.current-menu-item a, li.cat-menu-item-oslo.current-post-parent a{ 
	border-color: #e94561 !important;   
}
li.cat-menu-item-bergen.current-menu-item a, li.cat-menu-item-bergen.current-post-parent a {
	border-color: #84519c !important;   
}
li.cat-menu-item-trondheim.current-menu-item a, li.cat-menu-item-trondheim.current-post-parent a {
	border-color: #fcc749 !important;
}
.cat-trondheim .k-social-info li a, .cat-trondheim .k-social-info li a:visited,
  .cat-trondheim .search-icon, .cat-trondheim #k-bottom-bar-content,
  .cat-trondheim #k-bottom-bar-content a, .cat-trondheim #k-bottom-bar-content a:visited
{
	color: #333;
}
#k-bottom-bar-content{
	color: #122732;
}
.k-copyright-text{
	font-size: 15px;
	font-weight: 400;
}
.k-cat-tit.cat-trondheim a{
	color: #333 !important;
}
.k-cat-tit.cat-trondheim:hover a{
	color: #000 !important;
	opacity: 1;
}
#menu .k-dropdown-menu li.current-menu-item > a{
	border: 0;
}
.k-dropdown-menu > li a:after{
	position: absolute;
	right: 0;
}

#site-logo .home-link img{

}
ul#sidebar-utvalgene{
	list-style: none;
	padding-left: 0;
}
ul#sidebar-utvalgene li a{
	display: block;
	text-decoration: none;
	border-bottom:  1px solid #ddd;
	padding-left: 6px;
	line-height: 30px;
}
	ul#sidebar-utvalgene li:first-child a{
		border-top: 1px solid #ddd;
	}
	ul#sidebar-utvalgene li a:hover{
		color: #000;
		border-bottom-color: #575756;
	}

.widget_sckadvert_widget img{
	-webkit-transition: opacity 0.15s ease;
	-moz-transition: opacity 0.15s ease;
	-o-transition: opacity 0.15s ease;
	transition: opacity 0.15s ease;
}
.widget_sckadvert_widget:hover img{
	opacity: 0.9;
}

.contact-list{
	margin-top: 2em;
}
.contact-list > ul{
	list-style: none;
	padding: 0;
}
.contact-list > ul li{
	border-top: 1px solid #ddd;
	margin: 10px 0;
	padding-top: 10px;
}
.contact-list > ul li:last-child{
	border-bottom: 1px solid #ddd;
	padding-bottom: 10px;
}
.contact-list h3{
	font-size: 20px; 
	line-height: 23px;
	margin: 0 0 10px 0;
}
.contact-list, .contact-list a {
	color: #575756;
}
.contact-list a:hover{
	color: #000;
}

.login h1 a {
	height: 50px;
}
#grey-border{
	width: 100%;
	display: block;
	height: 20px;
	background-color: #f3f3f3;
	position: relative;
	z-index: 10;
	margin-top: -20px;
}
.full-width{
	margin: 0;
	width: 100%;
}
.full-width > .k-squeeze{
	margin: 0 auto;
	max-width: 1080px;
	padding-left: 15px;
	padding-right: 15px;
}
#k-footer{
	position: relative;
	z-index: 10;
	font-size: 15px;
	line-height: 24px;
}

#k-footer a:hover{
	color: #00aee0 !important;
}
#k-bottom-bar{
	background-color: #FFF !important;
	border-bottom: 5px solid #e41929;
	margin: 0;
	padding: 0;
}
#k-bottom-bar .k-squeeze{
	padding: 20px 15px;
	background: url(rsc/bg-copyright-right.png) no-repeat right top;
}
#k-bottom-bar a{
	color: #00aee0 !important;
	text-decoration: underline !important;
}
#k-bottom-bar a:hover{
	color: #00aee0 !important;
	opacity: 1 !important;
}
#k-google-map{
	border-bottom: 20px solid #f3f3f3;
}
#k-contact-map{
	margin: 0;
}
#k-google-map #paint-dots{
	display: none;
}
#k-contact-map #g-map-1{
	height: 450px;
}
#info-window a{
	text-decoration: underline !important;
}
.widget_mytext_widget ul{
	list-style: none;
	padding: 0;
}
.widget_mytext_widget ul li{
	border-bottom: 1px solid #0c1b23;
}
.widget_mytext_widget ul li a{
	display: block;
	padding: 0 0 4px 0;
}

.widget_mytext_widget h5{
	color: #00aee0;
	margin: 3px 0 2px 0;
}
#k-sidebar{
	font-size: 15px;
}
#k-sidebar .widget-title{
	color: #122732;
}
#k-sidebar ul li{
	border-color: #dedede;
}
#k-sidebar ul#k-sidebar-list > li{
	margin-bottom: 30px;
}
#k-sidebar ul li a{
	font-weight: 400;
	color: #575756;
	text-decoration: none;
}

#k-sidebar ul li a:hover{
	color: #00aee0;
}
#k-navigation{
	border-bottom: 2px dotted #ddd;
}
.k-dropdown-menu > li > a:after{
	display: none;
	content: '';
}
#k-main-content{
	background: #FFF;
}
#k-main-content p a{
	text-decoration: underline !important;
	font-weight: 300 !important;
	color: #575756;
}
#k-main-content p a:hover{
	color: #00aee0;
}
.top-margin-45{
	margin-top: 45px;
}
.white-bg{
	background-color: #FFF;
}
#k-main > .k-squeeze{
	padding-top: 68px;
}
#k-main .k-post-title{
	font-weight: 500;
}
.k-cat-tit a{
	line-height: 22px;
}
.k-page-title{
	font-weight: 300 !important;
	text-transform: uppercase;
	font-size: 25px;
	color: #122732 !important;
}
.widget_mc4wp_widget .mc4wp-form label{
	color: #00aee0;
	font-size: 16px;
	text-transform: none;
	font-weight: 500;
}
.button{
	background-color: #00aee0;
	border: none;
	padding: 8px 20px;
	color: #FFF;
	font-size: 16px;
	text-transform: none;
	font-weight: 500;
	-webkit-transition: background-color 0.2s;
	-moz-transition: background-color 0.2s;
	transition: background-color 0.2s;
}
.button:hover{
	background-color: #0082A3;
}
.inputbox{
	border: none;
	padding: 8px;
}
.widget_mc4wp_widget .mc4wp-form .inputbox:focus{
	-moz-box-shadow: none !important;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
}
.widget_mc4wp_widget .mc4wp-form .inputbox{
	background-color: #f3f3f3;
}
#infoWindow {
	width: 350px;
}
.k-social-info li#lang-select a:hover{
	-webkit-transform: none;
	-moz-transform: none;
	transform: none;
}

#header-language-list{
	display: block;
	width: 45px;
	height: 26px;
	position: relative;
	cursor: pointer;
}
#header-language-list > div{
	display: block;
	position: absolute;
	width: 45px;
	height: 60px;
	top: 0;
	-webkit-transition: top 0.2s;
	-moz-transition: top 0.2s;
	transition: top 0.2s;
}
#header-language-list a{
	display: block;
	width: 45px;
	height: 26px;
	position: absolute;
	left: 0;
	top: 30px;
	line-height: 25px;
	text-transform: uppercase;
	font-style: italic;
	font-weight: 700;
}
#header-language-list a.lang-active{
	top: 0;
	opacity: 0.8;
}
#header-language-list:hover > div{
	top: -30px;
}


#site-logo img{
	max-width: none;
}
#k-footer .mc4wp-notice, .mc4wp-alert{
	color: #122732;
	font-weight: 400;
}
#k-main-content .k-article-title{
	text-shadow: none;
	font-size: 25px;
	font-weight: 300;
}

.facebook-feed {
	width: 225px;
	height: 210px;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
	margin: 20px 15px 0px 15px;
	border: 2px solid #00aee0;
	padding: 10px;
}

.twitter-feed {
	width: 225px;
	height: 210px;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
	margin: 20px 15px 0px 15px;
	border: 2px solid #00aee0;
	padding: 10px;
}

.instagram-feed {
	width: 245px;
	height: 230px;
	overflow: hidden;
	margin: 0 0 0 5px;
}

#cff .cff-post-links a {
	font-size: 15px!important;
}

#cff .cff-post-links a:hover {
	text-decoration: underline!important;
}

#cff h3, #cff h4, #cff h5, #cff h6, #cff p {
	line-height: 21px!important;
}

.cff-wrapper {
	padding-bottom: 50px;
}

.cff-text {
	color: #333;
}

.cff-share-link {
	display: none;
}

.cff-dot {
	display: none;
}

.aptf-tweet-content {
	font-weight: 500;
	line-height: 21px;
	-webkit-font-smoothing: antialiased;
}

.aptf-tweet-content a {
	color: #333!important;
}

.aptf-tweet-content a:hover {
	text-decoration: underline!important;
	color: #00B0ED!important;
}

.widget-title i {
	margin-right: 10px;
}

.widget-title.first {
/*	margin-top: -10px;*/
	margin-left: 15px;
	margin-bottom: 10px!important;
}

.widget-title.second {
	margin-top: 20px;
	margin-left: 15px;
}

.widget-title.third {
	margin-top: 20px;
	margin-left: 15px;
}

.social-links {
	line-height: 20px;
}

.social-block {
	display: inline-block;
	position: relative;
}

.social-block > a {
	font-weight: 500!important;
	display: block;
	font-size: 15px;
	line-height: 30px;
}

.promo-widget-240x240.k-post-box-medium.k-overflow-hidden {
	padding-right: 0;
	width: 100%!important;
}

/*
* FRONTEND MEDIA UPLOADER FORM/GALLERY STYLING
*
**/

.ugc-notice.success {
	border: 0px;
}

.ugc-notice.success {
	border: none;
	color: #8fc447;
	margin-left: 0;
	padding-left: 0;
}

.error {
	color: red;
}

ul.user_gallery {
    display: block;
    position: relative;
    overflow: auto;
	list-style: none;
	padding-left: 0;
	margin-left: -15px;
}

ul.user_gallery li {
	position: relative;
	display: inline-block;
	margin: 0px 13px 13px 13px;
	float: left;
	max-width: 150px;
}

ul.user_gallery li p {
	max-width: 100%;
	height: 60px;
	overflow: hidden;
	border: 1px solid #f1f1f1;
	border-top: 0px;
    font-size: 12px;
    line-height: 16px;
    background-color: #fafafa;
    padding: 5px 10px;
    font-family: 'Lato', Helvetica, Arial, sans-serif !important;
    color: #575756;
    text-align: center;
    -webkit-font-smoothing: antialiased;
}

ul.user_gallery li p span {
	height: 48px;
	overflow: hidden;
	display: block;
}

ul.user_gallery li img {
	display: inline-block;
}

#paint-dots {
	pointer-events: none;
}

.user_gallery {
	margin-top: 50px;
}

.arrowbuttons {
	margin-top: 30px;
}

#k-main-content a.button{
	background-color: #00aee0;
	border: none;
	padding: 8px 20px;
	color: #FFF !important;
	font-size: 16px;
	text-transform: none;
	text-decoration: none !important;
	font-weight: 500;
	-webkit-transition: background-color 0.2s;
	-moz-transition: background-color 0.2s;
	transition: background-color 0.2s;
}
#k-main-content a.button:hover{
	background-color: #0082A3;
}


/*
* MEDIA QUERIES
*
**/

@media screen and (max-width: 998px) {
	.social-block {
		width: 100%;
		text-align: center;
		display: inline-block;
		position: relative;
	}
	.social-block > a {
		text-align: center;
		display: block;
	}
	.facebook-feed {
		margin: 0;
		width: 90%!important;
		display: inline-block;
		text-align: left;
	}
	.twitter-feed {
		margin: 0;
		width: 90%;
		display: inline-block;
		text-align: left;
	}
	.instagram-feed {
		margin: 0;
		width: 90%;
		display: inline-block;
	}
	.widget-title.first {
		text-align: center;
	}

	.widget-title.second {
		text-align: center;
	}

	.widget-title.third {
		text-align: center;
	}
	.promo-widget-240x240 {
		margin-bottom: 35px;
	}
}


/* desktop and bigger */
@media screen and (min-width: 1000px) {
	body.category figure.k-relative{
		height: 220px;
	}
	body.category .k-post-box p{
		height: 100px;
	}
	body.category .k-post-box .k-post-title{
		height: 50px;
	}
}

@media screen and (max-width: 1200px) {
	#k-top-bar{
		width: 1170px;
	}
}
@media screen and (max-width: 1170px) {
	#k-top-bar{
		width: 100%;
	}
}
@media screen and (max-width: 1025px) {
	#top-search{
		padding-right: 0 !important;
	}
	#header-language-list{
		width: auto;
	}
	#header-language-list > div{
		height: auto;
		position: static;
		width: 92px;
	}
	#header-language-list a{
		display: block;
		line-height: 25px;
		text-transform: uppercase;
		font-style: italic;
		position: static;
		float: left;
		opacity: 0.8;
	}
	#header-language-list a.lang-active{
		font-weight: 700;
		opacity: 1;
	}
	#header-language-list:hover > div{

	}
}
@media screen and (max-width: 768px) {
	#k-main{
		padding-top: 0;
	}
	#head-banner{
		top: 10px;
	}
	.k-squeeze{
		padding: 0 15px;
		margin: 0;
	}
}
@media screen and (max-width: 767px) {
	#top-search{
		width: 70%;
		float: left;
	}
	#k-top-bar #k-top-bar-content #top-social{
		display: block !important;
		float: right;
	}
	#k-top-bar #k-top-bar-content #top-social ul li{
		display: none;
	}
	#k-top-bar #k-top-bar-content #top-social ul li#lang-select{
		display: block;
	}
}
@media screen and (max-width: 580px) {
	.bottom_promo{
		margin-top: 40px;
	}
	#paint-dots{
		right: 0;
	}
	.full-width > .k-squeeze{
		padding-top: 10px !important;
	}
	.k-copyright-text{
		padding-top: 20px;
		background-color: rgba(255,255,255,0.7);
	}
	.promo-widget-240x240{
		width: 270px;
		margin: 0 auto;
	}
}
@media screen and (max-width: 480px) {
	#site-logo img{
		width: 89%;
	}
	#top-search{
		width: 60%;
	}
	#top-social{
		padding-left: 0;
	}
}