/*
	Theme Name: Lovecraft CHILD
	Description: A child theme of lovecraft for TK
	Theme URI: http://www.andersnoren.se/teman/lovecraft-wordpress-theme/
	Author: Rolf Herbert
	Template: lovecraft
	Version: 1.0.0
*/




/*FONTS */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,700&family=Hanken+Grotesk:wght@400;700&family=Open+Sans:wght@400;700&display=swap');


:root {
    --main-bg-white: #ffffff;
    --main-bg-petrol: #002133;
    --main-bg-petrol-light: #014b73;
    --main-bg-cotton: #faf5ed;
    --main-bg-empty: #ffffff;
    --main-bg-leaf: #9ed9b0;
    --main-bg-slate: #8c91ba;
    --main-bg-apricot: #ffb37b;
    --main-bg-red: #A54B47;
    --main-text-color: #002133;
    --main-text-color-light: #7d8b90;
    --main-width: 1400px;
    --main-padding: 18px;
}

body{
	font-family: 'Open Sans', sans-serif;
}

div.credits {
	display: none;
}

h1,h2,h3,h4,h5,h6,.post-title, .post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6, .widget-content p:first-child {
	font-family: 'Hanken Grotesk', serif;
    font-weight: 700;
	color: #002133;
}

.post-content h1, .post-content h2 , .post-content h3 {
	border-left:10px solid #ffb37b;
	padding-left:10px;
}

.post-title{
	border-left:10px solid #002133;
	padding-left:10px;
}

.post-content, .widget-content, .blog-title, .blog-tagline, .main-menu {
	font-family: 'Open Sans';
}


strong {
	font-weight: 600;
}


a, .post-meta a {
    /* Places underlines below the descenders */
	text-decoration: underline;
    text-underline-position: under;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    color: var(--main-bg-petrol);
    font-weight: 900;
    transition: all linear 0.2s;
	border: none;
}

    a:hover, .post-meta a:hover {
        font-weight: 900;
        color: var(--main-bg-apricot);
        border-color: var(--main-bg-apricot);
		text-decoration: underline;
		text-underline-position: under;
		text-decoration-thickness: 2px;
		text-underline-offset: 4px;
    }
	
a.post-image {display:block; max-height:200px; overflow:hidden; position:relative; height:200px;}

a.post-image img {
	margin: auto;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
}


.widget-title {
		border-color: var(--main-bg-apricot);
}

h3.widget-title {
	font-size:1rem;
	font-family:'Hanken Grotesk', Helvetica, sans-serif !important;
}

.post-content .alignnone, .post-content .aligncenter, .post-content .alignwide, .post-content .alignfull {
    margin: 1em auto;
}


/* Header */

.header {
	padding:0;
	
}


/* Navigation */


.mobileShow {
	display: none;
}

.mobileHide {
	display: block;
}


.content {
    max-width: 1200px;
}

/* Navigation Bar */

#topNavContainer {
    padding: 0;
    position: fixed;
    top: 0;
    z-index: 2000;
    width: 100%;
    height: 60px;
    background-color: #fff;
    box-shadow: rgba(0,0,0,0.2) 0 8px 10px -6px;
    font-size: 0.9rem;
}

#topNavContent {
    margin: auto;
    position: relative;
}


/*this is the burger bar*/
#nav-container-mobile {
    background-color: #fff;
    color: #060607;
    border-radius: 3px;
    font-size: 2rem;
    padding: 4px;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2000;
}

/*not sure what this is*/
#MobileNav {
    display: block;
    margin: 0;
    padding: 0;
    z-index: 2000;
}



/* this is the hidden drop down from the burger bar */
#open_MobileNav {
    display: none;
    z-index: 2000;
    position: absolute;
    top: 62px;
    right: 0px;
    width: 300px;
    background-color: rgba(5,114,183,1);
}



#open_MobileNav ul {
    margin: 0;
    padding: 0;
    height: auto;
}

#open_MobileNav ul li {
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
}



#open_MobileNav a {
    display: block;
    text-decoration: none;
    color: #fff;
    width: 300px;
    border-bottom: 1px solid #c1c4cb;
    border-right: 1px solid #c1c4cb;
    border-left: 5px solid #c1c4cb;
    background-color: #fff;
    padding: 10px;
    box-shadow: rgba(0,0,0,0.2) 0 8px 10px -6px;
    color: #060607;
    text-align: left;
}


#open_MobileNav a:hover {
    background-color: #fff;
    border-left: 5px solid #0572B7;
}



/*Basic nav bar and drop downs*/

nav {
    padding: 0;
    margin: 0;
    height: 60px;
    position: relative;
    color: #060607;
    width: 100%;
}

nav#regular {
    width: 100%;
    text-align: right;
}

nav ul {
    background: white;
    list-style: none;
    margin: 0;
    padding-left: 0;
    height: 60px;
}

nav li {
    color: #060607;
    background: white;
    display: inline-block;
    position: relative;
    text-decoration: none;
    transition-duration: 0.5s;
}


nav ul li a, nav ul li a:link, nav ul li a:active, nav ul li a:visited {
    color: var(--main-bg-petrol);
    display: block;
    padding: 0 20px;
    text-decoration: none;
    border: none;
    height: 50px;
    line-height: 50px;
    border-left: 5px solid transparent;
}

nav ul li:hover > a {
    color: var(--main-bg-petrol);
    text-decoration: none;
    border: none;
    border-left: 5px solid var(--main-bg-petrol);
}

li:focus-within a {
    outline: none;
}

ul li ul {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    transition: all 0.5s ease;
    left: 0;
    display: none;
    top: 60px;
    min-width: 400px;
}

ul li:hover > ul,
ul li:focus-within > ul,
ul li ul:hover,
ul li ul:focus {
    visibility: visible;
    opacity: 1;
    display: block;
}


/* SECOND LEVEL STUFF */
ul li ul li {
    width: 100%;
    display: block;
    margin: 0;
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

ul li ul li a {
    display: block;
    text-align: left;
}

#nav ul li ul li a:hover {
    border-left: 5px solid @green;
}

/*
    --main-bg-white: #ffffff;
    --main-bg-petrol: #002133;
    --main-bg-petrol-light: #014b73;
    --main-bg-cotton: #faf5ed;
    --main-bg-empty: #ffffff;
    --main-bg-leaf: #9ed9b0;
    --main-bg-slate: #8c91ba;
    --main-bg-apricot: #ffb37b;
    --main-bg-red: #A54B47;
    --main-text-color: #002133;
    --main-text-color-light: #7d8b90;
    --main-width: 1400px;
    --main-padding: 18px;
	
*/
	
	
/*===============================================================*/
/*===============================================================*/
/*========================== INPUTS =============================*/
/*===============================================================*/
/*===============================================================*/

select, input {
	width: 100%;
	padding: 20px 60px 20px 20px;
	margin: 0;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 0;
	font-family: 'Hanken Grotesk',  Helvetica, sans-serif;
	font-size: 0.9rem;
	color: #111;
}

/*===============================================================*/
/*===============================================================*/
/*========================= BUTTONS =============================*/
/*===============================================================*/
/*===============================================================*/


.wp-block-button__link, .wp-block-button__link.is-style-outline, button {
	color: #fff!important;
	background-color: var(--main-bg-petrol-light)!important;
}

:root :where(.wp-block-button.is-style-outline--1 .wp-block-button__link) {
	
	color: #fff;
	background-color: var(--main-bg-petrol-light);
}

.wp-block-button__link:hover, button:hover {
	color: #fff!important;
	background-color: var(--main-bg-petrol)!important;
	text-decoration: none;
}


div.confit-address > a{
	text-decoration: none;
	display: none;
}







/*===============================================================*/
/*===============================================================*/
/*==================== DEAD SIMPLE GRIDS ========================*/
/*===============================================================*/
/*===============================================================*/
.floatRight {
  float: right;
  margin-left: 10px;
}
.floatLeft {
  float: left;
  margin-right: 10px;
}
.col-1-8 {
  float: left;
  padding: 0 0;
  margin-bottom: 12px;
  width: 12.5%;
}
.col-1-7 {
  float: left;
  padding: 0 0;
  margin-bottom: 12px;
  width: 14.28571429%;
}
.col-1-6 {
  float: left;
  padding: 0 0;
  margin-bottom: 12px;
  width: 16.66666667%;
}
.col-1-5 {
  float: left;
  padding: 0 0;
  margin-bottom: 12px;
  width: 20%;
}
.col-1-4 {
  float: left;
  padding: 0 0;
  margin-bottom: 12px;
  width: 25%;
}
.col-3-4 {
  float: left;
  padding: 0 0;
  margin-bottom: 12px;
  width: 75%;
}
.col-1-3 {
  float: left;
  padding: 0 0;
  margin-bottom: 12px;
  width: 33.33333333%;
}
.col-1-1 {
  float: left;
  padding: 0 0;
  margin-bottom: 12px;
  width: 100%;
}
.col-1-2 {
  float: left;
  padding: 0 0;
  margin-bottom: 12px;
  width: 50%;
}
.col-2-3 {
  float: left;
  padding: 0 0;
  margin-bottom: 12px;
  width: 66.66666667%;
}
.col-2-5 {
  float: left;
  padding: 0 0;
  margin-bottom: 12px;
  width: 40%;
}
.col-3-5 {
  float: left;
  padding: 0 0;
  margin-bottom: 12px;
  width: 60%;
}
.col-4-5 {
  float: left;
  padding: 0 0;
  margin-bottom: 12px;
  width: 80%;
}
.col-5-8 {
  float: left;
  padding: 0 0;
  margin-bottom: 12px;
  width: 62.5%;
}
.col-3-8 {
  float: left;
  padding: 0 0;
  margin-bottom: 12px;
  width: 37.5%;
}
.grid:after,
.gridRigid:after {
  content: "";
  display: table;
  clear: both;
  margin-bottom: 0;
}
[class*='col-'] {
  padding-right: 12px;
}
[class*='col-']:last-of-type {
  padding-right: 0;
}
.insideGutter [class*='col-'] {
  padding-left: 20px;
  padding-right: 20px;
}
.insideGutterLarge [class*='col-'] {
  padding-left: 40px;
  padding-right: 40px;
}
.colSingleRow [class*='col-'] {
  margin-bottom: -12px;
  margin-top: -12px;
}
section.firstContent [class*='col-'] {
  margin-bottom: 0;
}
.colHalfMiddle {
  width: 50%;
  margin: auto;
}
.clear {
  clear: both;
}



/*===============================================================*/
/*===============================================================*/
/*=================== SCREEN SIZE BREAKS ========================*/
/*===============================================================*/
/*===============================================================*/
@media screen and (max-width: 1080px) {
  .frontPageExpando {
    /*width: 50%;*/
  }
}
@media screen and (max-width: 850px) {
  .mobileShow {
    display: block;
  }
  .mobileHide {
    display: none;
  }
  .grid {
    margin-left: auto;
  }
  .grid [class*='col-'] {
    width: 100%;
    margin-right: 0;
    padding: 0;
  }
  .heroTitle {
    top: 35%;
    left: 50%;
  }
  .heroTitle h1 {
    font-size: 3rem;
  }
  .heroSubText {
    font-size: 1.2rem;
  }
  h1,
  .titleText {
    font-size: 1.5rem;
  }
  .paddedText {
    padding-left: 0.5em;
    padding-right: 0.5em;
  }
  .content {
    padding: 0 10px;
  }

}