/*
Theme Name: Cousin's Cuisine
Description: Cousin's Cuisine Custom Theme
Version: 0.9
Author: Rob Williams, COMPU-101
Tags: custom template
*/

/* Default Styles */

html, body {
    width:                  100%;
    height:                 100%;
    font-family:            'Montserrat', 'Verdana', 'Arial', sans-serif;
    line-height:            1.4em;
    background:             url(images/linen.jpg);
    color:                  #26130c;
}

p {
    padding:                0 0 1em 0;
}
.bold { font-weight: bold; }
.italic { font-style: italic; }
.textleft { text-align: left; }
.textcenter { text-align: center; }
.textright { text-align: right; }
.clear { clear: both; }
.floatleft { float: left; }
.floatright { float: right; }

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
}

img.aligncenter {
    display: block;
}

.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { margin: 0 auto; }


/* Basic styles */

a { text-decoration: none; font-weight: bold; color: #3f250f; }
a:hover { color: #79593f; }

h1 {
    font-size:              1.5em;
    font-weight:            normal;
    text-transform:         uppercase;
    padding-bottom:         0.5em;
}

h2 {
    font-size:              1.5em;
    font-weight:            normal;
    padding-bottom:         0.5em;
}

h3 {
    font-family:            'Raleway', sans-serif;
    font-weight:            300;
    font-size:              2em;
    padding-bottom:         0.75em;
}

h4 {
    font-family:            'Raleway', sans-serif;
    font-weight:            300;
    font-style:             italic;
    font-size:              1em;
    padding-bottom:         1em;
}
h4.component_name { font-weight: 900; padding-top: 1em; }

hr { border: 0; border-top: 1px #3f250f solid; padding-top: 0.5em; margin-top: 1em; height: 0; clear: both; }

.nopad { padding: 0 !important; }
.padtop { padding-top: 2em; }
.padbottom { padding-bottom: 1em !important; }
.marginleft { margin-left: 2em; }
.marginright { margin-right: 2em; }

.cake_top { background: url(images/cake_background_top.jpg); height: 39px; }
.cake_bottom, footer { background: url(images/cake_background_bottom.jpg); height: 39px; }
.cake_bottom p { line-height: 42px; width: 95%; max-width: 1280px; margin: 0 auto; text-align: right; }
.cake_bottom.sticky { position: fixed; top: 0; width: 100%; z-index: 50000; }
.admin-bar .cake_bottom.sticky { top: 31px; }

.single-recipe .cake_bottom p { display: block; }
body > header { position: relative; }
body > header > header { width: 95%; max-width: 1280px; position: absolute; top: 0; left: 50%; z-index: 50000; transform: translate( -50%, 0 ); }
body > header.has_sticky + main { margin-top: 40px; }
.slider_area { height: 165px; background: #3f250f; }
.logo_container { font-family: 'Montserrat', 'Raleway', sans-serif; font-weight: 900; background: url(images/parchment_bg.jpg); position: absolute; top: 0; left: 0; z-index: 50000; padding: 0.25em 2em 0.5em; line-height: 1.2em; border-bottom-left-radius: 15px; border-bottom-right-radius: 15px; border: 8px #3f250f solid; border-top: 0; box-shadow: #3f250f 0 0 10px; }
.logo_container span { display: block; text-align: center; }
.logo_container .small_row { font-size: 1.2em; letter-spacing: 0.4em; margin-top: 8px; border-bottom: 2px #3f250f solid; padding-bottom: 5px; }
.logo_container .big_row { font-family: 'Yesteryear', 'Montserrat', sans-serif; font-size: 4em; padding: 20px 0 25px; margin: 8px 0 0; font-weight: normal; text-transform: none; transform: rotate(-4deg); }

.top_menu { width: 95%; max-width: 1280px; margin: 0 auto; list-style: none outside; text-align: right; position: relative; z-index: 50000; }
.top_menu > li { display: inline-block; padding: 0 0.5em; line-height: 35px; position: relative; }
.top_menu > li a { font-family: 'Raleway', sans-serif; color: #d7c58f; font-weight: 800; text-transform: uppercase; }
.top_menu > li a:hover { color: white; }
.top_menu .sub-menu { position: absolute; left: -0.5em; top: 100%; background: #704A23; list-style: none outside; display: none; }
.top_menu .sub-menu li { white-space: nowrap; padding: 0.5em 1em; text-align: left; }
.top_menu > li:hover .sub-menu, .top_menu .sub-menu:hover { display: block; }

body:not(.logged-in) #menu-item-25, body:not(.logged-in) #menu-item-26, body:not(.logged-in) #menu-item-29 { display: none; }
body.logged-in #menu-item-60, .logged-in #menu-item-61, .logged-in #menu-item-68 { display: none; }

footer { font-size: 0.7em; height: 39px; line-height: 34px; margin-top: -39px; }
footer p { padding: 0 2em; position: relative; top: 0.4em; color: #d7c58f; }
footer p a { color: #d7c58f; }

body > main { width: 95%; max-width: 1280px; min-height: calc(100% - 165px - 39px - 39px - 39px) /* 39px for each of the cake lines, 165 for the header */; height: auto !important; margin: 0 auto; padding-bottom: 39px; }


