 /*
 Theme Name: wiki-child
 Author: Erik Bäckerud
 Template: mywiki
 Description: Child theme for MyWiki.
 Version: 1.1
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Tags:
 Text Domain: wiki-child
 */

/* Det som ej skall synas. */
.dold {
	display: none;
}
/* Generell styling, hela sidan */
#navbarcont, #maincnot, .col-md-3 {
	max-width: 1200px;
}
#content {
    padding-top: 0px;
	padding-bottom: 32px;
}
@media screen and (max-width: 768px) {
	/* Avstånd från understa widgeten till foten (mobilvy) */
	#content {
    	padding-bottom: 20px;
	}
}
/* Styling, header */
/* Smal guldrand längst opp. */
#inner-header{
	border-top: 3px solid #b38e26;
}
.disclaimer {
	position: absolute;
	left: 25px;
	top: 0px;
	background-color: #b38e26;
	color: #FFF;
	z-index: 112;
	font-size: 11px;
}
.disclaimer a {
	color: #FFF !important;
}
.disclaimer a:hover {
	color: rgb(66, 139, 202) !important;
}
@media screen and (min-width: 641px) {
    .disclaimer {
		font-size: 12px;
		padding: 1px;
    }
}
.navbar-brand {
	margin-left: auto;
	margin-right: auto;
    float: none;
	width: 166px !important;
	display: block;
	padding: 0 0 0 0 !important;
	outline: none;
}
#logo img {
	float: none;
}
.navbar-header {
	margin-top: 15px;
	margin-bottom: 15px;
}
@media screen and (min-width: 768px) {
	.navbar-header {
		margin-top: 20px;
		margin-bottom: 20px;
		position: relative;
	}
	.navbar > .container .navbar-brand {
		margin-left: 10px;
		outline: none;
	}
}
.navbar .menu-toppmeny-container {
	margin-right: 20px;
}
.top-menu {
	margin-top: 32px !important;
}
.icon-meny {
	font-size: 14px;
	/* color: #001A50; */
	color: #b38e26;
}
.navbar-default .navbar-toggle {
	position: absolute;
	right: 10px;
	top: 0px !important;
	padding: 6px 6px;
	margin-right: 1px;
	border-color: #DDD !important;
	background-color: #FFF !important;
	border-radius: 0px;
}
.navbar-form {
	border: none;
}
#seekform {
	height: 75px;
	background: #FFF;
}
/* Anpassa sökrutan */
.sokt {
	width: 100%;
	height: 100%;
}
.vanster {
    width: auto;
    border-right: 2px solid #001a50;
	padding-left: 20px;
	height: 75px;
}
.searchbox {
	width: 100%;
	height: 100%;
	font-size: 18px;
	border: none;
}
.searchbox:focus {
	outline: none;
}
*:focus {
	outline: none;
}
.knapp {
	background: transparent;
	border: 0;
	padding: 0;
/*
	margin-left: 2px;
	min-width: 75px; /* Endast för IE 11 */
 */
}
.mglass {
	width: 75px;
	padding: 0;
}
.knapp img {
	width: 75px;
}
/* storlek på texten i menyn */
.mywiki-header-menu > li > a {
    font-size: 16px;
    color: #b38e26 !important;
}
.nav > li > a {
	padding-left: 10px;
	padding-right: 10px;
}
.help a {
	color: #b38e26;
	line-height: 25px;
	padding-right: 2px;
}
.help {
	width: 70px;
	height:35px;
	font-size: 12px;
	position: relative;
	top: -90px;
	left: -10px;
	z-index: 20;
	background-color: transparent;
	background: transparent url("/img/bubble2.png") no-repeat scroll center;
}
/* bild i stora vyn 
@media screen and (min-width: 769px) {
	.page-id-15 .tricolor, .page-id-18 .tricolor, .page-id-12 .tricolor {
		height: 450px;
	}
	
}
*/
.tricolor h1 {
	font-size: 52px;
}
.hrubrik {
	padding-top: 40px;
	margin: 0;
	color: #FFF;
}
.tricolor .huvud {
	font-size: 20px;
	color: #FFF;
}
.col-md-3 {
	background-color: transparent;
	width: 60%;
/*	height: 75px; */
	margin: 20px auto;
	float: none;
}
@media screen and (max-width: 768px) {
	.hrubrik, .tricolor .huvud {
		display: none;
	}
	.col-md-3 {
		width: 95%;
		margin-top: 0;
		padding: 15px 0px 0px 0px;
	}
	.tricolor {
		height: 114px;
		background: #001A50;
	}
}
/* Smalare sökruta på mmobiler? */
@media screen and (max-width: 640px) {
	/* trixa med loggan i mobilvy */
	.logo img {
		height: 60px;
	}
	.navbar-brand {
    	width: 126px !important;
	}
	#seekform {
		height: 50px;
	}
	.vanster {
		height: 50px;
	}
	.mglass {
		width: 50px;
	}
	.knapp img {
		width: 50px;
	}
	.tricolor #seekform img {
		height: 50px;
	}
	.tricolor {
		height: 90px;
	}
	.search-main {
		padding: 8px 10px 8px 10px;
	}
	.help {
		top: -68px;
	}
	.knapp {
		min-width: 50px; /* Endast för IE 11 */
	}
}
/* Generella inställningar */
html {
    font-family: 'Open Sans', sans-serif;
	color: #001A50;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
/*    font-family: 'Open Sans', sans-serif; */
	font-family: "Berling-Bol",serif;
	color: #001A50;
}
body {
    font-family: 'Open Sans', sans-serif;
	color: #001A50;
	font-size: 16px;
}
a {
/*	color: rgb(66, 139, 202); */
	color: #b38e26;
	outline: none;
}
.navbar a, .navbar a:active, .navbar a:hover {
	outline: none;
}
.top-bg {
	background-image: none;
}
.navbar-default {
	background-color: #FFF;
	margin-bottom: 0;
	border: 0px solid #FFF;
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background-color: #808da8 !important;
}
/* Bredd på artikelsidan (från bootstrap.min.css) */
@media(min-width:768px){
    .container {
	width: 95%;
    }
}
/* Vita paneler första sidan */
.vitis {
	text-align: center;
	background-color: #FFF;
	padding: 20px 20px;
	margin-left: auto;
	margin-right: auto;
	line-height: 32px;
}
.vitis .lshow {
	line-height: 20px;
	font-size: 18px;
}
.vitis a {
    color: #b38e26;
}
#content .halv {
    height: 69px;
}
@media(min-width:769px){
	.vitis {
		width: 99%;
		margin-top: -140px;
		min-height: 285px;
	}
}
@media screen and (min-width: 790px) {
    .vitis {
		width: 100%;
		min-height: 250px;
    }
}
/* Bakgrundsförg, content som ej använder page-builder */
.vitbox {
	background-color: #FFFFFF;
	margin-top: -140px;
	padding: 10px 15% 32px 15%;
	height: auto !important;
}
/* bild + text på full-vy-sidan */
.mainbld {
	margin-bottom: 10px;
}
.bldtxt, .mobmsg {
	display: none;
}
/* startsidan, mobilläge */
.main2 {
	display: none;
}
.main1 {
	margin: 0px 0px 10px 0px;
}
/* Spec styling f. "Om ordböckerna" */
.omord {
	display: flex;
	display: -webkit-flex;
	border-top: 1px solid #d7d7d7;
	padding: 32px 0;
}
.om1 {
	display: table-cell;
	text-align: center;
	min-width: 122px;
}
.om1 h2 {
	margin-top: 0px;
}
.om2 {
	display: table-cell;
	padding: 0 20px;
}
@media screen and (max-width: 768px) {
    #maincnot {
		margin-top: 20px !important;
    }
	.vitbox {
		margin-top: 0px;
		padding: 10px 30px 32px 30px;	
	}
	/* paneler i mobilvy */
	#content .halv {
		height: 46px;
	}
	.vitis {
		font-size: 14px;
		line-height: 24px;
	}
	.bldtxt {
		display: block;
		clear: both;
		width: 100%;
		background-color: #FFF;
		font-family: "Berling-Bol",serif;
		font-size: 16px;
		margin-top: 10px;
	}
	#content .third {
    	height: 46px;
		padding: 4px 20px 4px 10px;
	}
	.home .mobmsg {
		display: block;
		clear: both;
		width: 100%;
		background-color: #FFF;
		font-size: 14px;
		text-align: center;
		/* padding-bottom: 10px; */
	}
	.home .mobmsg h1 {
		margin: 0;
		padding: 10px;
		font-size: 24px;
	}
	.home .col-md-3 {
    	margin-bottom: 0;
	}
	/* startsidan, mobilläge */
	.main1 {
		display: none;
	}
	.main2 {
		display: block;
		margin: 0;
	}
	.main2 h3 {
		font-size: 18px;
	}
	.mainbld {
		display: table-cell;
		/*float: left;*/
		/* margin-top: 8px; */
		/* margin-right: 20px; */
		min-width: 82px;
	}
	.mainbld img {
		border-right: 1px solid #b38e26;
		top: 18px;
		position: relative;
	}
	.maintxt {
		padding-left: 20px;
		display: table-cell;
		text-align: left;
		line-height: 20px;
	}
	.maintxt span {
		-webkit-margin-after: -20px;
	}
	.home .vitis {
		padding: 10px;
	}
	.home .panel-layout .panel-grid {
		margin-bottom: 0px !important;
	}
}
/* Rubrik widgets. */
h4.widgettitle {
	font-family: 'Open Sans', sans-serif;
	font-size: 22px;
	font-weight:500;
}
/* */
.margin-top {
	margin-top: 0px;
}
/* för breda marginaler på hela sidan i mobilvy */
@media screen and (max-width: 640px) {
/*
    #maincnot {
		padding: 0px;
		margin-top: 20px !important;
    }
*/
	/* Om ordboken */
	.omord {
		display: block;
		border-top: 1px solid #d7d7d7;
		padding: 32px 0;
	}
	.om1 {
		display: block;
		padding: 0 0 16px 0;
		margin: 0 auto;
		text-align: center;
	}
	.om1 h2 {
/*		margin-top: 0px; */
	}
	.om2 {
		display: block;
		padding: 0px;
		margin: 0 auto;
	}
}
@media (min-width: 768px) and (max-width: 992px) {
    #maincnot {
		/*margin-top: 20px !important;*/
    }
}
/* listor på sidor */
.post_content ul {
	margin: unset;
	padding-left: 20px;
}
.post_content ul li {
	display: list-item;
	color: inherit;
}
/* rubrik på hemsidan */
.smalh {
	margin-top: 0px;
	margin-bottom: 0px;
}
/* ordpanelerna */
.ifr .widget-title {
	text-align: center;
}
/* cshow är artikel-div:arna, lshow är en wrapper. */
.cshow {
	padding: 0px 0px 10px 0px;
	margin-top: 10px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling:touch;
}
/* Ordna så att SAOL scrollar om för breda artiklar. */
#saol-1 .cshow, .execphpwidget > .saol {
    overflow-x: auto;
}
#saob-1 .cshow {
	word-wrap: break-word;
}
/* Spaltnummer och tryckår */
.spaltnr {
	text-align: right;
	/* padding-bottom: 2px; */
	font-family: "Open Sans", sans-serif;
	font-size: 12px;
}
.lshow {
	border-top: 1px solid #b38e26;
	text-align: left;
}
@media screen and (min-width: 769px) {
    .cshow {
		height: 400px;
    }
}
/* navigering i tre-i-ett vyn (ovankant) */
.prediv {
	margin-top: 15px;
	margin-bottom: 30px;
	display: block;
	font-size: 16px;
}
.pback {
	float: left;
}
.pahead {
	float: right;
}
.pback a, .pahead a {
	color: #b38e26;
}
.abowe {
	display: block;
	margin: -188px auto 32px auto;
	background: #FFF;
	width: 96%;
	min-height: 160px;
	padding: 30px 20px;
	text-align: center;
}
.slump {
	color: #b38e26 !important;
	font-weight: 700;
}
@media screen and (max-width: 768px) {
	.abowe {
		width: 100%;
		margin: -108px auto 20px auto;
	}
	.long {
		font-size: 22px;
	}
}
/* knappar, val av ordbok */
.saobv {
	line-height: 40px;
}
.saobh {
	color: #ffffff;
	line-height: 30px;
}
.treval {
	display: block;		/* IE 10 */
	/*    display: inline-flex; */
    width: 100%;
    margin-top: 10px;
    border-bottom: 1px solid #203060;
}
.flik {
	display: inline-block;
    font-size: 80%;
    line-height: 28px;
    text-align: center;
    min-height: 30px;
    min-width: 60px;
	margin-right: 5px;
}
.vald {
	color: #FFF;
    background-color: #001A50;
}
.ovald {
    color: #001A50;
    background-color: #EEE;
}
.ovald a {
    color: #001A50 !important;
}
/* Länken till saob.se i stor vy */
.homelink {
	font-size: 12px;
	line-height: 28px;
	text-align: right;
	float: right;
}
.homelink a:active, .homelink a:visited {
	color:  #b38e26 !important;
}
.pid_left {
	clear: left;
	float: left;
	margin-top: 10px;
	width: 99%;
}
.blddiv {
	background-color: #FFF;
	width: 100%;
	margin-bottom: 0px;
	padding: 5px 5px;
}
.dickt {
	font-family: "Berling-Bol",serif;
	font-size: 24px;
}
@media screen and (max-width: 768px) {
	.ob_bild {
		margin-right: 1%;
		margin-top: 1px;
	}
	.blddiv {
		display: none;
	}
	.celltwo .panel-first-child {
		display: none;
	}
}
/* Litet artikel-styling (SAOL) */
.artikel {
	min-height: 40px;
	padding: 5px 15px 40px 15px;
	background-color: #FFF;
}
@media screen and (min-width: 640px) {
	/* På litet större skämrar, mer vitt runt artiklar. */
	.artikel {
		min-height: 80px;
		padding: 10px 32px 50px 32px;
	}
}
/* Blädderpanelen till höger */
#panel-12-1-1-1 {
	z-index: 80 !important;
}
.so-panel .is_stuck {
	z-index: 80 !important;
}
#navi-div {
	background-color: #FFF;
	padding-left: 10px;
	padding-right: 10px;
}
.alfabeta {
/*
	font-family: "Berling-Bol",serif;
	font-size: 20px;
 */
	color: #001A50;
	padding-left: 10px;
	line-height: 34px;
}
.listas {
    min-height: 240px;
    padding: 0px 8px 0px 8px;
    line-height: 17px;
}
.listas a {
    font-family: Georgia,Times,serif;
}
.listas .wordclass {
    font-size: 75%
}
.listas .dig {
    font-size: 75%;
    vertical-align: super;
}
.listas .gold {
    /*color: #AD8612;*/
	color: rgb(66, 139, 202);
}
.pilupp a img, .pilned a img {
	display: block;
	margin: auto;
}
#content img {
    margin-bottom: 0px;
}
.pilimg {
	width: 60px;
	height: 30px;
	margin: 0px;
}
.pilupp {
	margin-bottom: 10px;
}
.pilned {
	margin-top: 10px;
}
.linkas {
    margin-top: 20px;
    min-height: 40px;
    padding: 10px 20px;
    line-height: 17px;
	background-color: #FFF;
}
.linkas a {
    font-family: Georgia,Times,serif;
}
.linkas .wordclass {
    font-size: 75%
}
.linkas .dig {
    font-size: 75%;
    vertical-align: super;
}
.linkas .rdbk {
    color: #483838;
    font-family: Georgia,Times,serif;
    font-weight: bold;
	/* line-height: 18px; */
	display: inline-block;
	padding-top: 5px;
}
/* Länk till tre-i-1 sidan... */
.synops {
	background: #001A50;
	text-align: center;
	margin: 15px 40px 15px 40px;
	padding-top: 15px;
	padding-bottom: 15px;
}
.synops a {
	color: #F0F0F0;
	font-family: "Open Sans", sans-serif;
}
.trilling {
	display: block;
	margin: auto;
	font-size: 20px;
	font-weight: bold;
}
.tvilling {
	display: block;
	margin: auto;
	clear: both;
	margin-top: 10px;
}

/* Presentation på 1:a-sidan. */
@media (min-width: 769px) and (max-width: 899px) {
    .jamnhog {
		min-height: 260px;
    }
}
@media (min-width: 900px) and (max-width: 999px) {
    .jamnhog {
		min-height: 220px;
    }
}
@media screen and (min-width: 1000px) {
    .jamnhog {
		min-height: 200px;
    }
}
.bokbild-img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.ramad {
	border: 1px solid #EEE;
	border-radius: 10px;
	background-color: #DDE;
	margin-bottom: 20px;
	padding: 10px;
}
/* Använd hela skärmbredden för mobil-presentation. */
@media screen and (max-width: 640px) {
    #main {
		padding-left: 0px;
		padding-right: 0px;
    }
	.treval {
/*
		margin-left: 15px;
		margin-right: 15px;
		width: 90%;
		width: -moz-available;
 */
	}
	.long {
		margin-left: 15px;
	}
}

/* sidfot */
#footer {
	background-color: #FFF !important;
	color: #001A50;
}
#footer h4 {
	color: #001A50;
}
#footer p {
	color: #001A50;
	font-weight: 400;
	font-size: 14px;
}
#footer a {
	color:  #b38e26 !important;
}
#footer a:hover {
	color: #048eb0 !important;
}
.nav > li > a:hover, .nav > li > a:focus {
    text-decoration: none;
    background-color: initial;
}
.padding-top-bottom {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}
.footer-menu-nav {
    margin-top: 0.5%;
}
/* fot-menyn litet smalare på höjden */
.footer-menu-nav ul li a {
    padding-bottom: 0px;
	font-size: 14px;
}
.padding-top-bottom .attribution {
    margin-top: 1%;
}

/* För knappen i kontaktformulär */
.sow-contact-form .sow-submit-styled .sow-submit {
	/* padding-bottom: 33px !important; */
	min-width: 60px;
}
.wpcf7 {
	background-color: #dbdad5;
	padding: 32px 32px !important;
}
.wpcf7 form {
/*	padding: 32px 32px !important; */
}
.wpcf7 p > label {
	display: block;
	font-size: 16px;
	font-weight: 400;
}
.wpcf7 input, .wpcf7 textarea {
	width: 100%;
	background-color: #FFF;
	border: 0px solid #FFF;
	border-radius: 0px;
}
.wpcf7-submit {
	color:  #b38e26 !important;
	background-color: #dbdad5 !important;
	border: 1px solid #b38e26 !important;
	border-radius: 20px !important;
	width: 80px !important;
}
.wpcf7-captchar {
	margin-top: 10px;
	width: 73px !important;
}
@media screen and (max-width: 768px) {
	.wpcf7 {
		padding: 20px 2px !important;
	}
}

/*
 * Styling för autocomplete
 *
ul: ui-autocomplete ui-front ui-menu ui-widget-content 
li: ui-menu-item
 */
.ui-autocomplete {
/*    background: #DDE; */
    background: #FFF;
    width: 180px;
    border: solid 1px #DDD;
    z-index: 30;
}
.ui-autocomplete li {
    color: #222;
    line-height: inherit;
    border-top: inherit;
    border-bottom:solid 1px #dfdfdf;
    margin-right: 5px;
    cursor: pointer;
    padding-left:12px;
}
.ui-autocomplete li:hover {
    color: #888;
    background: #DDE;
}

/*
 * Synoptik sidan
 */
.syno {
	width: 100%;
}
@media screen and (min-width: 769px) {
	.syno {
		width: 80%;
	}
}
@media screen and (max-width: 640px) {
	.syno {
		font-size: 14px;
	}
}
.dataTables_filter input {
	width: 80%
}
.syno table {
      border-bottom: 1px solid #DDD;
      margin-bottom: 10px;
}
/* Gör tabellraderna litet smalare */
.syno table.dataTable thead th, table.dataTable thead td {
	padding: 4px 4px 4px 4px;
}
.syno table.dataTable tbody th, table.dataTable tbody td {
	padding: 4px 2px 4px 2px;
}
.syno .dataTables_processing {
	padding-top: 0px;
}
.syno tfoot {
	display: none;
}
.syno .dataTables_wrapper .dataTables_paginate .paginate_button {
	padding-left: 4px;
	padding-right: 4px;
}
/* Layout för paginate */
.syno .dataTables_paginate span .paginate_button {
	display: none;
}
.syno .dataTables_paginate .ellipsis {
	display: none;
}
.syno .dataTables_paginate span .current {
	display: inline;
}
/* info tabell på synops-sidan */
.samman table {
	border-collapse: collapse;
}
.samman td, .samman th {
	padding: 4px 20px 4px 20px;
	text-align: center;
	border: 1px solid #DDD;
}
.colN {
	width: 100%;
	text-align: center;
}
.grej {
	width: 100%;
	height: 100%;
	background: #AAA;
	text-align: center;
	color: #FFF;
}


.ui-menu-item-wrapper.ui-state-active {
    background-color: #004477;
    color: white;
}
.ui-menu-item-wrapper {
    padding-left: 12px;
}
.ui-autocomplete li {
    margin-right: 0;
    padding-left: 0;
}
