@import 'buttons.css';

/* Reset some basic styles */
*,
*:after,
*:before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans', Arial, sans-serif;
    /*background-color: #f4f4f4;*/
	background-color: burlywood;
    color: #333;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container,
.wrapper{
    display: flex;
    /*overflow: hidden;*/
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    background-color: #f4f4f4;
}

.top-header {
    background-color: #f4f4f4;
    height:94px;
    text-align: center;
    background-image: url(/i/header/horse_initial.jpg); 
    background-position: bottom 0px left 0px; 
    background-size: cover; 
    background-repeat: no-repeat;
}

.content {
  padding: 16px;
}

.header {
    background-color: #f4f4f4;
    color: white;
    text-align: center;

    overflow:hidden;
    position: sticky;
    position: -webkit-sticky;
    top: 0px; /* required */

    height:60px;
    width:inherit;
    margin-bottom:0px;
    z-index: 100;
    transition: 0.3s;
}

.header > div{
    display:inline-block;
    width:48%;
    line-height: 90px;
    font-size: 0.8em;
    text-align: left;
}

.header > div:nth-child(2){
    width:fit-content;
    float: inline-end;
}

#breadcrumb{
    float: inline-start;
    color:#888;
    margin-left: 160px;
}

#breadcrumb a{
    text-decoration: none;
    color:gray;
}

#breadcrumb a:hover{
    color:#027AFF;
}



#cart_hdr{
    width:auto;
    height:auto;
    position:absolute;
    bottom:1px;
    right:10px;
    line-height:normal;
}

#cart_hdr a{
    background-color: #666;
    border: none;
    color: white;
    padding: 5px 10px 5px 40px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    border-radius: 8px;
    position: relative;
    text-wrap: nowrap;
}

#cart_hdr a:hover{
    cursor: pointer;
    padding: 5px 10px 5px 40px;
    margin:3px 0px;
    background-color:#008FF6;
    font-size: 18px;
}
#cart_hdr a img{
    border: none;
    height:24px;
    position: absolute;
    top: 5px;
    left:10px;
}

#cart_hdr a:hover img{
    top: 5px;
    left: 9px;
    height:26px;
}

#cart_hdr a.profile-photo{
	width:auto;
	background:none;
	padding:initial;
	position: relative;
}

#cart_hdr a.profile-photo:hover{
    cursor: pointer;
    padding: inherit;
}

#cart_hdr a.profile-photo img{
	border:2px solid #CCC;
	border-radius:50%;
	height:36px;
	top: 28px;
    left: -40px;
	position: absolute;
}

#cart_hdr a.profile-photo:hover img{
	border:2px solid #999;
	top: 26px;
    left: -43px;
    height:38px;
}

#header_svg{
    height: 94px;
}

#header_svg > svg{
    position:absolute;
    top:0px;
    left:0px;
    font:32px bold Insignia, Insignia;
    z-index: 101;
}

#header_boots{
    background-image: url(/i/header/boot_second.png); 
    background-repeat: no-repeat; 
    background-position:0%;
    position:absolute;
    top:0px;
    right:0%;
    height:93px;
    width:586px;
}

#datetime {
    font-size: 0.8em;
    color:#000;
    text-align: right;
    line-height: normal;
    margin-right:10px;
}

a {
	text-decoration: none;
}

.main-content {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    /*margin: 20px 0;*/
}

.main-content * {
    margin:revert;
    padding:revert;
}

.main-content h1{
    font-size: 1.6em;
}

.main-content h2{
    font-size: 1.4em;
}

.main-content h3{
    font-size: 1.2em;
}

.content hr{
    clear:both;
    border: 0;
    height: 1px;
    background: #333;
    background-image: linear-gradient(to right, #ccc, #333, #ccc);
}

.sidebar {
    width: 20%;
    min-width: 250px;
    max-width: 350px;
    /*background-color: #f8f9fa;*/
    padding: 20px;
}

.nav > li {
    list-style: none;
    margin-bottom: 10px;
}

.nav > li > a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #007BFF;
    background-color: #e9ecef;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.nav > li > a:hover,
.nav > li > a:focus {
    background-color: #0056b3;
    color: white;
}

.nav > li.active > a {
    background-color: #BD5613;
    color: white;
}

.sub-nav {
    display: none;
    margin-left: 20px;
}

.sub-nav li {
    margin-bottom: 10px;
    list-style: none;
}

.sub-nav li:first-child {
    margin-top: 10px;
}

.sub-nav li a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #007BFF;
    background-color: #e9ecef;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.sub-nav li a:hover,
.sub-nav li a:focus {
    background-color: #0056b3;
    color: white;
}

.sub-nav li.active > a {
    background-color: #28a745;
    color: white;
}

.content {
    flex-grow: 1;
    padding: 20px 20px 20px 80px;
}

.content > *{
    margin:revert;
    padding:revert;
}

.content > hr{
    clear:both;
    border: 0;
    height: 1px;
    background: #333;
    background-image: linear-gradient(to right, #ccc, #333, #ccc);
}

.footer{
    padding: 20px;
    background:#304031;
    color: white;
    text-align: center;
}

.ds-left{
    filter:drop-shadow(-5px 5px 4px #333333);
    margin:0 0 20px 20px;
    border-radius: 20px;
}

.ds-right{
    filter:drop-shadow(5px 5px 4px #333333);
    margin:0 20px 20px 0;
    border-radius: 20px;
}