/*
Theme Name: suweb2016
Theme URI: https://su.no
Author: Mats Johannesen
Author URI: http://matsj.no/
Description: Tema for SU
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: suweb2016
Tags: SU
*/

@import url('https://fonts.googleapis.com/css?family=Open+Sans');
@import url('https://fonts.googleapis.com/css?family=Roboto');
@import url('css/font-awesome.min.css');

body {
	font-family: 'Roboto', sans-serif;
	background-color: #fff;
	padding-top: 120px;
}

.container {
	background-color: #fff;
}

.navbar-default .navbar-nav>li>a,
a {
	color: #000;
}

.navbar-default .navbar-nav>li>a {
	font-size: 20px;
}

.navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover,
a:hover,
#menu-toppmeny a:hover {
	color: #FF0000;
	text-decoration: none;
}

.navbar-default {
	background-color: #fff;
	border: 0;
}

.navbar {
	min-height: 110px;
	margin-bottom: 0;
}

.banners .col-md-12,
#topbanners .col-md-12 {
	padding-left: 0;
	padding-right: 0;
}



.dropdown-menu>.active>a, .dropdown-menu>.active>a:focus, .dropdown-menu>.active>a:hover,
.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {
	background-color: inherit;
	color: #fff;
	text-decoration: underline;
}

.mactive {

}

.dropdown-menu>.inactive>a {
	color: #505050;
}
/*.dropdown-menu li {
	float: left;
	margin: 10px 20px;
}
*/
.dropdown-menu>li>a {
	font-size: 20px;
	color: #fff;
}


#menu-toppmeny a {
	font-size: 14px;
	color: #404040;
}


#topnav-small {
	display: none;
}

#mainMenu {
	padding-top: 70px;

}

#toppbuttons .col-md-4 {
	background-color: #DA2115;
	padding: 20px;
}

#toppbuttons h4 {
	margin-top: 0;
	margin-bottom: 0;
}


#toppbuttons .col-md-4:hover {
	background-color: #FF0000;
}

#toppbuttons a {
	color: #fff;
}

#hjertesaker .container-fluid {
	text-align: center;
	padding-top: 20px;
	padding-bottom: 20px;
	background-color: #f4f4f4;
}

#hjertesaker img {
	max-width: 100px;
	margin: 0 auto;
}

#nyheter .container,
#aktiviteter .container {
	text-align: center;
	padding-top: 20px;
	padding-bottom: 20px;

}

.banners {
	height: auto;
	max-height: 400px;
}

.banners .col-md-12 {
	max-height: 400px;
}

.banners .overlay {
	width: 100%;
	position: absolute;
	bottom: 10%;
	left: 0;
	text-align: center;
	color: #fff;
}

.banners .overlay a {
	color: #fff;
	border: 1px solid #fff;
	border-radius: 0;
	width: 220px;
}

@media (min-width: 1200px) {
	.banners img {
		margin-top: -100px;
	}
}

@media (min-width: 990px) {
	#hjertesaker .row,
	#nyheter .row,
	#aktiviteter .row,
	#mainnav .row {
		/*max-width: 900px;*/
		padding-left: 100px;
		padding-right: 100px;
		margin: 0 auto;
	}
}

#toppbuttons {
	text-align: center;
}

#aktiviteter h3,
#aktiviteter {
	text-align: center;
	padding-bottom: 20px;
}
#aktiviteter .col-md-4 {
	text-align: left;
	margin-bottom: 20px;
}

#aktiviteter h5 {
	height: 35px;
}

#aktiviteter p {
	border-bottom: 1px solid #c2c2c2;
	padding-bottom: 10px;
}

footer .col-md-4,
aside {
	background-color: #DA1514;
	color: #fff;
	padding-left: 100px!important;
}

aside {
	padding-right: 0!important;
}

aside ul {
	list-style: none;
	padding-left: 0;
}

aside ul li {
	border-bottom: 1px solid #A80D0D;
	padding-top: 5px;
	padding-bottom: 5px;
}

aside ul li:first-child {
	border-top: 1px solid #A80D0D;
}

footer .col-md-8 {
	background-color: #404040;
}

footer [class*="col-"] {
	color: #fff;
}


.pagecontent .row,
footer .row {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
    -webkit-flex-direction: row;
	flex-direction: row;
}


footer .menu {
	list-style: none;
	padding-left: 0;
}

footer .menu a {
	color: #fff;
}

footer .menu a:hover {
	color: #f4f4f4;
}

.bread {
	padding-top: 20px;
}

.bread span {
	color: #DA2115;
}

.content a {
	text-decoration: underline;
}

.pagecontent .col-md-8 {
	padding: 20px;
	padding-right: 20px!important;
}

.pagecontent .col-md-4 h3,
footer .col-md-4,
footer .col-md-8 {
	padding-top: 20px;
	padding-bottom: 20px;
}

.sosial {
	margin-top: 30px;
}

.sosial img {
	width: 25%;
}

/****** STICKY NAV **/

.sticky .brand-nosticky,
.brand-sticky {
	display: none;
}

.sticky .brand-sticky {
	display: block;
}

.navbar-default .navbar-brand {
	color: #DA1514;
}

.sticky #mainMenu {
	padding-top: initial;
}

.sticky {
	min-height: 50px;
}

.sticky .navbar-nav>li>a {
	font-size: 18px;
}

.sticky .topnav {
	display: none;
}

.fa-calendar-o {
	color: #DA1514;
}

.aktiv-dato {
	color: #909090;
	padding-bottom: 10px;
	display: block;
}

#nyheter {
	margin-bottom: 20px;
}
#nyheter h3 {
	text-align: center;
}

#nyheter .btn {
	margin: 0 auto;
	margin-bottom: 50px;
    width: 150px;
    display: block;
    border: 1px solid #DA1514;
}


/**** MOBILE ***/
@media screen and (max-width: 768px) {
	body {
		padding-top: 55px;
	}
	.brand-nosticky {
		display: none
	}

	.brand-sticky {
		display: initial;
	}

	#mainMenu {
		padding-top: 0;
		padding-right: 0;
		background-color: #fff;
		-webkit-box-shadow: 0px 1px 1px 1px rgba(0,0,0,0.15);
        -moz-box-shadow: 0px 1px 1px 1px rgba(0,0,0,0.15);
		box-shadow: 0px 1px 1px 1px rgba(0,0,0,0.15);
	}
	#menu-toppmeny {
		display: none;
	}

	#topnav-small {
		display: initial;
	}

	#toppbuttons h4{
		font-size: 15px;
	}

	.navbar {
		min-height: 50px;
	}

	.navbar-default .container{
		background-color: #DA1514;
		color: #fff;
	}

	.navbar-default .navbar-brand {
	color: #fff;
}

	.navbar-brand {
		padding-left: 10px;
	}

	.navbar-default .navbar-brand:focus, .navbar-default .navbar-brand:hover {
		color: #fff;
	}

	.pagecontent .row, footer .row {
		display: initial;
	}

	aside {
		display: none;
	}

	footer .container-fluid {
		padding-left: 0;
		padding-right: 0;
	}

	.navbar-default .navbar-brand {
		color: #DA1514;
	}

	.navbar-default .navbar-brand:focus, .navbar-default .navbar-brand:hover {
		color: #DA1514;
	}

	.navbar-fixed-bottom .navbar-collapse, .navbar-fixed-top .navbar-collapse {
		max-height: initial;
	}

	.navbar-nav {
		margin: initial;
	}

}

@media screen and (min-width: 768px) {
	.dropdown-menu {
		/*width: 20%;*/
		top: initial;
		border: none;
		background-color: #404040;
/*		padding-left: 100px;
		padding-right: 100px;
		-moz-column-count: 4;
    	-moz-column-gap: 20px;
    	-webkit-column-count: 4;
    	-webkit-column-gap: 20px;
    	column-count: 4;
    	column-gap: 20px;*/
	}

	.pagecontent .col-md-8 {
		padding-right: 100px !important;
	}

	.banners {
		height: 400px;
		overflow: hidden;
	}

	#topbanners {
		max-height: 500px;
		overflow: hidden;
	}
}




/***** Forms ****/
fieldset {
	padding: .35em .625em .75em;
    margin: 0 2px;
    border: 1px solid silver;
}

legend {
	width: auto;
	padding: 0 10px;
	border: 0;
	border-bottom: 0;
	margin: 0 10px;
}

.gform_body .gfield {
	position: relative;
}
.gform_body li {
	margin-bottom: 10px;
}

.gform_body .gfield_label {
	position: absolute;
    top: -15px;
    z-index: 1;
    border: 5px solid white;
    left: 15px;
    background: white;
}

.gform_body .ginput_container {

	margin-bottom: 10px;
}



.gform_button {
	    background-color: #da1514;
    color: #fff;
    border: 0;
    padding: 10px 20px;
    float: right;
    margin: 0!important;
}

textarea:focus, input:focus{
    outline: none;
    border: 1px solid #000;
}

aside a {
	color: #fff;
	font-size: 16px;
	display: block;
	width: 90%;
}

aside a:hover {
	color: #fff;
}

aside ul .current_page_parent {
	display: none;
}

aside ul .current_page_item a {
	font-weight: bold;
}

aside ul a:hover:after,
aside ul .current_page_item a:after {
	background-image: url(img/arrow_right.png);
	background-size: 10px 16px;
	background-repeat: no-repeat;
	background-position: center center;
	content: "";
	float: right;
	color: #fff;
	padding-right: 20px;
	font-size: 40px;
	font-weight: bolder;
	height: 20px;
}

aside .btn {
	margin-top: 10px;
	background-color: #A80D0D;

	color: #fff;
	border: 0;
	border-radius: 0;
	padding: 15px 50px;

}

aside .btn:hover {
	background-color: #f4f4f4;
	color: #404040;
}

/******* A - Å *******/
.a-aa .col-md-12 {
	padding-left: 100px;
	padding-right: 100px;
	margin-bottom: 30px;
}

.a-aa strong {
	font-size: 26px;
}

.a-aa a {
	text-decoration: none;
}

.a-aa p {
	margin-bottom: 5px;
}


/******* Kontakt *******/
.panel-default>.panel-heading {
	background-color: inherit;
	border-color: inherit;
}

.panel-title a {
	font-size: 30px;
	text-decoration: none;
}

.panel-title a span {
	font-size: 15px;
	padding-top: 10px;
}

.panel-default ul {
	margin-left: 0;
	padding-left: 0;
	list-style: none;
}

.panel-default strong {
	font-size: 16px;
}

.panel-default h3 {
	padding-top: 0!important;
	padding-bottom: 0!important;
}

.lagloop {
	display: block!important;
}

/* 6 nyheter på forside */

#nyheter .row:first-child {
	margin-bottom: 40px;
}

#nyheter .col-md-4 {
    height: 285px;
    margin-bottom: 40px;
}

#nyheter img {
    display: block;
    height: auto;
    max-height: 200px;
    width: auto;    
}

@media screen and (max-width: 991px) {
	#nyheter .col-md-4 {
		float: left;
		width: 50%;
	}
}

@media screen and (max-width: 520px) {
	#nyheter .col-md-4 {
		width: 100%;
	}
}