@font-face {
	font-family: "supersaad";
    src: url("icomoon.ttf");
    font-weight: normal;
    font-style: normal;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    max-width: 1600px;
    font: normal normal 400 16px/1.6 supersaad, sans-serif;
}

textarea {resize: none;}
a:link {text-decoration: none;}
h1,h2,h3 {margin: 0;}
h1 {text-align: center;}
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    background: #000;
    border-bottom: 1px solid #A37003;
    height: 64px;
    color: #FFF;
    padding: 0 5px;}
header #logo img {width: 140px;}
header nav.open {left: 0;}
header #glass {float: right; margin-left: 5px;}
header nav a:hover {color: #A37003}
header nav a.current {background: #A37003;}
header nav a.current:hover {color: #FFF;}
header #search {
    background: #A37003;
    float: left;
    width: 100%;
    padding: 5px 0;}
header #search input {float: right;}
header #search input[type=submit] {height: 35px; margin: 0 10px 0 5px;}
header #search input[type=search] {width: 500px; padding: 3px; font-size: 1.35em;}
header nav {
    transition: all .5s;
    position: absolute;
    top: 65px; left: -800px;
    background-color: #000;
    width: 100%;}
header nav a {
    display: block;
    text-transform: capitalize;
    text-align: center;
    padding: 15px 10px;
    color: #FFF;}
header #burger {
    position: relative;
    background: none;
    outline: none;
    border: none;
    width: 50px;
    cursor: pointer;}
header #burger.open div {
    transform: translateX(-50px);
    background: transparent;}
header #burger div,
header #burger::before,
header #burger::after {
    display: block;
    content: "";
    width: 100%;
    height: 6px;
    margin: 7px 0;
    background: #FFF;
    border-radius: 3px;
    transition: all .5s;}
header #burger.open::before {transform: rotate(-45deg) translate(-8px,10px);}
header #burger.open::after {transform: rotate(45deg) translate(-8px,-10px);}
#search {
    padding: 5px;
    background: #000;}
/* Used in index.php */
#banner {
    width: 100%;
    height: calc(100vw * 0.8475);
    background: url("../images/sculpted_models_mobile.jpg") no-repeat;
    background-size: cover;}
#banner h1 {
    color: #FFF;
    text-align: center;
    padding: 55px 0 0 0;
    font-size: 1.3em;
    line-height: 1.3em;}
#banner h1 a {
    font-size: 1.1rem;
    color: #FFF;
    background: linear-gradient(#A37003, #A33003);
    padding: 5px 15px;
    display: inline-block;
    border-radius: 15px;}
#banner h1 a:hover {background: linear-gradient(#A33003, #A37003);}
#banner form {
    background: #DDD;
    width: 100%;
    max-width: 500px;
    margin: 10px auto;}
#banner label {display: block;}
#features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px;}
#features div {
    border-radius: 10px;
    padding: 5px;
    border: 1px solid #333;
    width: 300px;
    height: 300px;}
#content {margin-left: 210px;}
#container {min-height: 600px;}
#sidenav {
    background: #333;
    width: 200px;
    padding-top: 5px;
    float: left;}
#sidenav a {
    color: #F77;
    padding: 1px 10px;
    display: block;}
#sidenav a:hover {color: #F00;}
div#lbbg {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 99;
	background-color: rgba(0, 0, 0, 0.5);}
div#lbbg #lb {
    background: #FFF;
    position: relative;
    top: 10px;
    left: 30%;
    border-radius: 4px;
    display: inline-block;}
#lb h3 {margin: 2px 0 15px 0; text-align: center;}
#lb #close {
    display: inline-block;
    font-size: 1.3em;
    padding: 4px;
    font-weight: bold;
    color: #333;
    text-align: center;}
#audiobook {
    display: grid;
    grid-template-areas: "chapters" "player";
    grid-template-columns: 100vw 100vw;
    margin-left: -100%;
    color: #FFF;
    background: linear-gradient(to right, #5D6D7E, #566573);
    padding-bottom: 20px;
    overflow-x: hidden;
    transition: all .5s;}
#audiobook #chapters {
    background: #DBA531;
    color: #000;}
#audiobook #chapters p {
    font-size: .75em;
    padding: 3px 0 3px 15px;
    border-bottom: 1px solid #000;}
#audiobook.open {margin-left: 0;}
#audiobook #chapters p:hover,
#audiobook #chapters p.loaded {
    background: #000;
    color: #FFF;}
#audiobook #chapters p span {
    font-size: 1.1rem;
    font-weight: bold;
    display: block;}
#audiobook #player button {
    color: #FFF;
    padding: 10px 12px;
    margin: 0 10px;}
#audiobook #player #list button {margin: 0;}
#audiobook #player #cover{
    display: block;
    width: 70%;
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: 1px 0 20px 12px rgba(240,240,240,0.2);}
#audiobook #player #title {
    text-align: center;
    text-transform: capitalize;
    padding: 15px 0;
}
#audiobook #player #book {text-align: center; padding: 10px;}
#audiobook #player #slider{
    /*-webkit-appearance: none;*/
    width: 80%;
    outline: none;
    height: 2px;
    margin: 0 15px;}
#audiobook #player #slider::-webkit-slider-thumb{
    /*-webkit-appearance: none;*/
    height: 20px;
    width: 20px;
    background: #FF8A65;
    border-radius: 50%;
    cursor: pointer;
}
#audiobook #player > div {
    display: flex;
    justify-content: center;
    padding: 10px 0;}
#audiobook #player button {
    border: none;
    border-radius: 50%;
    cursor: pointer;
    outline: none;
    transition: 0.5s;
    background: rgba(245,245,245,0.1);
}
#audiobook #player #auto {
    font-size: 18px;
    cursor: pointer;
    margin-top: 45px;
    border: none;
    padding: 10px 14px;
    background: rgba(245,245,245,0.2);
    outline: none;
    border-radius: 10px;
}
#audiobook #player #auto i {margin-left: 8px;}
#audiobook #player #play {margin-left: 8px;}
#audiobook #player #play, #audiobook #player button:hover {
    background: #2c2a36;
}
#audiobook #player #time {
    justify-content: space-around;}
form#contact {
    background: #000;
    color: #FFF;
    width: 400px;
    margin: 30px auto;
    padding: 0 10px 10px 10px;
}
form#contact h2 {text-align: center;}
form#contact label {
    padding-left: 3px;
    border: 1px solid #FFF;
    font-size: .7em;
    display: block;
    height: 45px;
    width: 98%;
    margin: 5px 0;
    color: #BBB;
}
form#contact input {
    background: #000;
    color: #FFF;
    padding: 3px 5px;
    width: 100%;
    border: none;
    box-sizing: border-box;
}
form#contact span {padding-left: 3px; font-size: .7em; color: #BBB;}
form#contact textarea {
    background: #000;
    color: #FFF;
    border: 1px solid #FFF;
    width: 96%;
    height: 120px;
    padding: 5px;
}
form#contact input[type=submit] {
    width: 85%;
    margin-left: 10px;
    height: 30px;
    border: 1px solid #FFF;
}

/* Used in about.php */
div#about {
    width: 100%;
    height: 200px;
    background: url(../images/about_banner.jpg) no-repeat;
    background-size: 100%;
}
div#about h1 {
    padding-top: 40px;
    text-align: center;
    text-transform: uppercase;
    color: #FFF;
    font-size: 4em;
    letter-spacing: .2em;
    height: 100%;
    background: rgba(0,0,0,.6);
}
div#about p {padding: 5px 0;}
/* Used in recipes.php*/
#recipelist li {text-transform: capitalize;}
h2.recipe_header {
    text-transform: uppercase;
    text-align: center;
    background: #E67301;
    width: 100%;
}
.ingredients {
    margin-top: 15px;
    float: left;
    width: 220px;
    padding: 20px;
    box-sizing: border-box;
    font-size: .75em;
    border: 2px solid #E67301;
    border-radius: 40px;
    line-height: 1.2em;
}
.ingredients h4 {text-align: center;}
.ingredients ul {
    padding-left: 10px;
    font-weight: bold;
}
.ingredients li {
    margin-bottom: 10px;
}
.ingredients,
.directions {min-height: 350px;}
.directions {
    margin: 10px 0 0 225px;
    width: 100%;
}
.directions h4 {margin-top: 0; text-indent: 20px;}
/* Used in food.php */
#foodtable {width: 100%;}
#foodtable th {
    text-align: center;
    background: #000;
    color: #FFF;
}

/* Used in skinfold.php */

a.pdflink {margin-bottom: 5px;color: #333; background: #ddd; font-size: 1.1em; padding: 3px 10px; display: block;}
a.pdflink:hover {color: #DDD; background : #333;}
#calipers {width: 220px; float: right;}
#calipers img {width: 100%;}

/* Used in calories.php and skinfold.php */

form#calc {float: left; padding: 0 5px; font-size: 0.95em;}
form#calc .cloak {
    display: inline-block;
    border: 1px solid #222;
    background: #FFF;
    padding-right: 3px;
    font-size: .7em;
    color: #333;
}
form#calc .cloak input {border: none; font-size: 1rem;}
form#calc .title {display: inline-block; width: 60px;}
form#calc input {width: 65px; margin: 0px 3px; border-style: solid; border: 1px solid #222; padding: 3px; font-size: 1em;}
form#calc select {padding: 2px; border: 1px solid #000;}
form#calc #tabs {background: #00F; margin-bottom: 5px;}
form#calc #tabs a {color: #FFF; display: inline-block; padding: 3px;}
form#calc #tabs .active {background: #DDD; color: #000;}
form#calc button {
    margin: 0 0 10px 65px;
    background: #333;
    color: #FFF;
    font-size: 1rem;
    padding: 7px 15px;
    border-radius: 20px;
}
p.info {display: block;}
table#bfchart {
    margin: 0 auto;
    border-collapse: collapse;
}
table#bfchart td {
    padding: 3px;
    border: 1px solid #333;
}
div#results {
    float: left;
    margin-left: 10px;
    width: 0px;
    overflow: hidden;
    transition: width .5s;
}
div#results h3 {
    margin: 0;
    background: #462B01;
    color: #FFF;
    padding: 5px;
    text-align: center;
}
div#results p {margin: 2px 5px;}

/* Used in ratios.php */

form#ratios {width: 350px;}
form#ratios input[name=calories]{width: 50px;}
form#ratios table {width: 100%;}
form#ratios td.title {
    background: #222;
    color: #FFF;
    padding: 5px 0;
    text-align: center;
    font-size: 1.1em;
}

/*Used in media.php*/
#mediabtns {padding-top: 5px;}
#mediabtns button {
    margin-left: 10px;
    padding: 10px;
    background: #FB8505;
    border-radius: 15px 15px 0 0;
    outline: none;
    font-size: 1.3em;
}
div#videolist {
    display: none;
}
div.thumbnail {
    position: relative;
    width: 238px;
    height: 134px;
    float: left;
    margin-right: 2px;

}
div.thumbnail span {
    position: absolute;
    bottom: 0;
    display: block;
    color: #FFF;
    background: rgba(0,0,0,.6);
    text-transform: capitalize;
    width: 100%;
    text-align: center;
    height: 60px;
    transition: all .5s;
}
div.thumbnail:hover span {height: 75%;}
div.thumbnail:nth-child(3n){margin-right: 0;}

/* Used in blog.php */

#blog {
    color: #5F6567;
    width: 500px;
    padding: 0 20px;
    display: table-cell;
    font-size: .99em;
}
#blog h1,#blog h3, #blog h3 {margin: 5px 0;}
#catlist {width: 230px;}
#catlist [name=search] {float: left; width: 139px; line-height: 1.7; border: none; border-bottom: 1px solid #666;}
#catlist h2 {
    text-transform: uppercase;
    color: #5F6567;}
#catlist,#sidenav {display: none;}
article {width: 100%;}
article a,
#catlist a{color: #02263C;}
article a:hover,
#catlist a:hover{text-decoration: underline;}
#catlist h2 {font-size: 0.8em; color: #5F6567; margin: 12px 0;}
#catlist a {text-transform: capitalize;}
#catlist a.current {color: #E43D46; text-decoration: underline;}
article h2 {
    line-height: 1.2em;
    text-transform: capitalize;
    font-weight: 400;
    font-size: 1.75em;
}
article .details {font-size: .95em; line-height: 2.9; text-transform: capitalize;}
article img {width: 500px; display: block;}
article .more {
    font-weight: bold;
    text-transform: uppercase;
    font-size: .9em;
    color: #4ABFAC;
}
#ads {width: 230px; display: table-cell; background: #DDD;}

/* Used in article.php */

#thumb_header {
    padding-top: 225px;
    height: 450px;
    box-sizing: border-box;
    margin-bottom: 35px;
}
#thumb_header h1 {
    text-align: center;
    font-size: 2.8em;
    line-height: 1.2;
    font-weight: 400;
    padding: 40px 20px 0 20px;
    height: 185px;
    color: #FFF;
    background: rgba(0,0,0,.4);
}
#catlist #trending {border-top: 1px solid #999; margin-top: 10px;}
#catlist #trending img {width: 225px; height: 165px; margin-top: 20px;}
#catlist #trending a {color: #02263C; line-height: 1em;}
#catlist #trending a:hover {text-decoration: underline;}
#blog form {display: none;}
#lbbg table tr{vertical-align: top;}
#lbbg table tr label {font-size: .84em;}
#lbbg table tr textarea {width: 230px; height: 105px;}
#lbbg table tr input {width: 180px; padding: 3px; font-weight: bold;}
#lbbg table tr input[type=submit]{margin: 10px; background: #333; color: #FFF;}
#lbbg table tr input[type=submit]:disabled {background: #666;}
div.comment .gravatar {float: left;}
div.comment .comment {margin-left: 20px}
div.comment .gravatar {width: 60px;}
div.comment .right {margin-left: 65px;}
div.comment .right h5 {color: #000; margin: 0; display: inline;}
div.comment .right .created {font-size: .8em;}
div.comment .right p {margin: 0;}

/* Used in composition.php */

div.neighbor {
    float: left;
    height: 300px;
    margin: 5px;
}
/* Footer */
footer{
    background: #FBAF05;
    text-align: center;
}
footer span {font-size: 0.7em;}
/*Media Queries*/
@media screen and (min-width: 800px){
    header {background: rgba(0,0,0,.7);}
    header #logo img {width: 200px;}
    header #burger {display: none;}
    header nav {
        position: static;
        background: none;
        margin-left: 100px;
    }
    header nav a {
        display: inline-block;
        font-size: 1.1em;}
    #banner {
        margin-top: -65px;
        height: calc(100vw * 0.5781);
        background: url("../images/sculpted_models.jpg") no-repeat;
    }
    #banner h1 {
        /*width: 100%;*/
        max-width: 550px;
        padding: 70px 0 0 0;
        font-size: 2.2em;
        font-weight: 100;}
    #audiobook {
        grid-template-columns: 50vw 50vw;
        margin-left: 0;}
    #list {display: none;}
    #catlist,#sidenav {display: block;}
}