/* CopyRight © 2025 till Patrick och Charlotte Carlsson */
/* Design och layout får inte lov att användas på en annan sida */

/* Fonts */

@font-face {
    font-family: Coiny;
    src: url(/css/fonts/Coiny-Regular.ttf) format('truetype');
    font-display: swap;
}

/* Färger Grön #44B3C2; Orange #F1A94E; Röd #E45641; Brun #5D4C46; Ljus brun #d4c2a7; Grå #7B8D8E; Ljus gul #F2EDD8; Vit #fbf8ec; Svart #464543; */

/* Layout */

body {
    background-color: #fbf8ec;
}

body, div, td, span, a {
    font-family: Verdana, Geneva, sans-serif;
    font-display: auto;
    font-size: 12px;
    color: #464543;
    margin:0;
    padding:0;
    height:100%;
}

a {
    font-family: 'PT Sans', sans-serif;
    text-decoration: underline;
}

#layout-headder {
    width: 100%;
    padding: 0px 10px;
    height: 200px;
    background: url('/img/newheadder.webp') no-repeat 0px 0px #fcfcfc;
}

#layout-headder #nav {
    padding-left: 270px;
}

.logo {
    width: 250px;
    height: 127px;
    position: absolute;
    left: 30px;
    top: 40px;
    background: url('/img/newlogo.webp') no-repeat 0px 0px;
    cursor: pointer;
}

#layout-left {
    margin: 0px;
    border: 0px;
    padding: 0px;
    width: 200px;
}
#layout-field {
    margin: 0px;
    border: 0px;
    padding: 0px;
    width: 600px;
}

#layout-right {
    left: 830px;
    margin: 0px;
    border: 0px;
    padding: 0px;
    width: 250px;
}

#footer {
    width: 100%;
    background-color: #321e17;
    height: 50px;
    color: #f9f6ea;
    padding: 10px 10px;
}

#footer a {
    color: #f9f6ea;
}

/* Text */

.text-headtext {
    font-size: 26px;
    font-family: 'Coiny', Verdana;
    font-display: auto;
    color: #464543;
}

.text-recipe-head {
    font: 130% Verdana, arial;
    color: #000000;
    font-weight: bold;
}

.text-recipe-text {
    font: 110% Verdana, arial;
    color: #000000;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0px;
}

/* Headder */

#search {
    padding-top: 20px;
    padding-left: 38px;
}

#search input[type="text"] {
    background: url('/img/search-white2.png') no-repeat 10px 6px #f9f6ea;
    border: 1px solid #464543;
    font: bold 21px Arial,Helvetica,Sans-serif;
    color: #464543;
    width: 545px;
    padding: 11px 20px 11px 50px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) inset;
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) inset;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) inset;
    -webkit-transition: all 0.7s ease 0s;
    -moz-transition: all 0.7s ease 0s;
    -o-transition: all 0.7s ease 0s;
    transition: all 0.7s ease 0s;
}

#search input[type="text"]:focus {
    width: 545px;
}

/* Navigation */

nav ul {
	list-style: none; overflow: hidden; position: relative;
}

nav ul li {
    float: left; margin: 0 5px 0 0;
}

nav ul li a {
    display: block;
    width: 140px;
    border-radius: 1px 30px 10px 30px;
    font-size: 14px;
    font-family: 'Coiny', Verdana;
    font-display: auto;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
    padding-top: 13px;
    height: 30px;
    border-bottom: 5px solid #895b4a;
    border-right: 3px solid #895b4a;
        
}

.menuColor0 {
    background-color: #daccba;
    color: #5e3e34;
    border-bottom: 5px solid #5e3e34;
    border-right: 3px solid #5e3e34;
}

.menuColor0x {
    background-color: #f9f6ea;
    color: #382c2c;
    border-bottom: 5px solid #382c2c;
    border-right: 3px solid #382c2c;
}

nav ul li a.selected {
    background-color: #f9f6ea;
    color: #382c2c;
    border-bottom: 5px solid #382c2c;
    border-right: 3px solid #382c2c;
}

/* Category */

div.category-header {
    padding: 10px;
    height: 55px;
    width: 300px;
    display: flex;
    align-items: center;
}

div.category-header div {
    height: 55px;
    font-size:25px;
    font-family: Coiny, Verdana;
    font-display: auto;
}

div.category-header div img {
    filter: invert(27%) sepia(6%) saturate(210%) hue-rotate(2deg) brightness(90%) contrast(90%);
}

/* Menu */

.menu-linktext a {
    border: 0px;
    font-size: 15px;
    font-family: 'Coiny', Verdana;
    font-display: auto;
    color: #464543;
    text-decoration: none;
    padding-left: 5px;
}

.menu-linktext h2 {
    border: 0px;
    font-size: 15px;
    font-family: 'Coiny', Verdana;
    font-display: auto;
    color: #464543;
    text-decoration: none;
    padding-left: 5px;
    width: 100%;
}

.menu-linktext:hover {
    cursor: pointer;
    color: #f1a84e;
}

.menu-linktext:hover h2 {
    color: #d4c2a7;
}

.menu-linktext:hover a {
    color: #d4c2a7;
}

.menu-linktext td img {
    filter: invert(27%) sepia(6%) saturate(210%) hue-rotate(2deg) brightness(90%) contrast(90%);
}
.menu-linktext:hover td img {
    filter: invert(23%) sepia(6%) saturate(6109%) hue-rotate(307deg) brightness(93%) contrast(90%);
}

/*  Social media */

div#socialSharing span img {
    height: 30px;
}

div#socialSharing a img {
    width: 30px;
    height: 30px;

}
div#socialSharing a img:hover {
  -webkit-filter: brightness(120%);

}

/* Buttons */

#button1 {
	width: 100%;
}

#button1 ul {
    list-style: none;
    overflow: hidden;
    padding-inline-start: 7px;
}

#button1 ul li {
    float: left;
    padding: 3px;
    margin: 3px 3px;
}

#button1 ul li {
    height: 20px;
    border-radius: 1px 15px 15px 15px;
    text-align: center;
    vertical-align: middle;
    padding-top: 4px;
    padding-left: 5px;
    padding-right: 5px;
    border-bottom: 5px solid #895b4a;
    border-right: 3px solid #895b4a;
    background-color: #daccba;
}

#button1 ul li a {

    font-size: 14px;
    font-family: "Coiny", Verdana;
    font-display: swap;
    text-decoration: none;
    padding-top: 4px;
    padding-left: 5px;
    padding-right: 5px;
}

#button1 ul li a.menuColor0 {
    background-color: #daccba;
    color: #895b4a;     
}

/* Print page */

.button-print {
    -webkit-border-radius: 3;
    -moz-border-radius: 3;
    border-radius: 3px;
    font-family: Arial;
    font-size: 11px;
    color: #ffffff;
    background: #f1a84e;
    padding: 4px 8px 4px 8px;
    text-decoration: none;
}

.button-print:hover {
    background: #cc9046;
    text-decoration: none;
}

/* First pege */

.firstpage-frame {
    position: relative;
    height: 256px;
    width: 100%;
    border: 0px;
    border-radius: 7px;
    font-size: 15px;
    font-family: 'Coiny', Verdana;
    font-display: auto;
    color: #464543;
    vertical-align:top;
    padding:7px;
    background-color:#ffffff;
    margin-bottom: 7px;
}

.firstpage-frame tr td {
	border: 0px;
	font-size: 15px;
	font-family: 'Coiny', Verdana;
    font-display: auto;
	color: #464543; 
}

.firstpage-frame:hover {
	cursor: pointer;
	background-color:#d4c2a7;
	text-decoration: underline;
    
}

.firstpage-frame:hover tr td {
	text-decoration: underline;
    
}

.firstpage-frame-image-left {
	position: absolute;
	top: 0px;
	left: 0px;
}

.firstpage-frame-image-right {
	position: absolute;
	top: 0px;
	right: 0px;
}
.firstpage-frame:hover {
    transform: scale(1.02);
    z-index: 0;
}

.firstpage-frame-text-right {
    position: absolute;
    top: 7px;
    left: 295px;
    width: 300px;
    height: 250px;
}

.firstpage-frame-text-left {
    position: absolute;
    top: 7px;
    left: 7px;
    width: 300px;
    height: 250px;
}

.firstpage-frame-text-header {
    position: absolute;
    left: 7px;
    top: 7px;
    font-size:20px;
    font-family: Coiny, Verdana;
    font-display: auto;
    line-height: 0.9;
}
.firstpage-frame-text-shorttext {
    position: absolute;
    left: 7px;
    top: 47px;
    font-size:16px;
    font-family: 'PT Sans',sans-serif;
    font-display: auto;
}

.firstpage-frame-text-allergy-left {
    position: absolute;
    left: 0px;
    bottom: 0px;
    height: 30px;
}

.firstpage-frame-text-allergy-right {
    position: absolute;
    right: 0px;
    bottom: 0px;
    height: 30px;
}

.firstpage-frame-text-allergy-left img {
    padding-right: 3px;
}

.firstpage-frame-text-allergy-right img {
    padding-left: 3px;
}

.firstpage-frame-text-cat-right {
    position: absolute;
    right: -18px;
    bottom: 38px;
    height: 25px;
    width: 180px;
    background-color: #372c2b;
    color: #ffffff;
    padding-left: 8px;
    padding-top: 7px;
    text-align: left;
    border-radius: 7px 0px 0px 7px;
    font-size:13px;
    font-family: Coiny, Verdana;
}

.firstpage-frame-text-cat-left {
    position: absolute;
    left: -7px;
    bottom: 38px;
    height: 25px;
    width: 180px;
    background-color: #372c2b;
    color: #ffffff;
    padding-right: 8px;
    padding-top: 7px;
    text-align: right;
    border-radius: 0px 7px 7px 0px;
    font-size:13px;
    font-family: Coiny, Verdana;
}

.firstpage-frame:hover div span {
    color: #f9f6ea;
}

/* Recipies */

#recipres-frame {
    border: 0px;
    border-radius: 7px;
    vertical-align:top;
    padding-bottom:30px;
    padding-left:7px;
    padding-right:7px;
    padding-top:7px;
    background-color:#ffffff;
}

#recipres-frame tr td {
    border: 0px;
    font-size: 18px;
    font-family: 'Coiny', Verdana;
    font-display: auto;
    color: #464543; 
}

#recipres-frame:hover {
    cursor: pointer;
    background-color:#d4c2a7;
    text-decoration: none;
}

#recipres-frame:hover tr td {
    text-decoration: none;
    color: #f9f6ea;
}

#recipres-frame .frame {
    height: 176px;
    width: 176px;
    overflow: hidden;
}

#recipres-frame .frame img {
  height: 176px;
  width: 176px;
  -webkit-transition: all 2s ease;
     -moz-transition: all 2s ease;
      -ms-transition: all 2s ease;
          transition: all 2s ease;
}

#recipres-frame:hover .frame img {
    width: 200px;
    height: 200px;
}

/* Recipie */

.recipe-hr {
    height:0px;
    border:0px;
    border-top:3px dotted #e0d99f;
}

