@import url(https://fonts.googleapis.com/css?family=Pacifico);
@import url(https://fonts.googleapis.com/css?family=Oswald);
* {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: #FFAE00;
}

img {
  border: 0 none;
}

input {
  outline: none;
}

body {
  font-size: 13px;
  color: #D6B586;
  font-family: 'Veranda', 'Arial', sans-serif;
  background-color: #6B3B33;
}

.wrapper {
  display: block;
  width: 99%;
  max-width: 1270px;
  height: auto;
  overflow: hidden;
  margin: 0 auto;
}

header,
article,
section,
nav,
footer {
  display: block;
  height: auto;
  overflow: hidden;
  padding: 5px 0;
}

section,
nav,
footer {
  clear: both;
}

h1,
h2 {
  display: inline-block;
  vertical-align: middle;
  padding: 5px 10px;
  font-weight: 300;
  border-radius: 10px;
  background-color: #C6AB87;
  font-size: 17px;
  color: black;
  border: 1px solid #FFF8D5;
}

h1:before,
h2:before,
h1:after,
h2:after {
  display: inline-block;
  vertical-align: middle;
  content: '';
  width: 24px;
  height: 24px;
  margin: 0 15px 0 0;
}

h1:after,
h2:after {
  margin: 0 0 0 15px;
}

.logo {
  display: inline-block;
  vertical-align: top;
  float: left;
  font-family: 'Pacifico';
  color: #FFAE00;
  font-size: 44px;
}

.logo i,
.logo em {
  display: inline-block;
  vertical-align: top;
  font-family: 'Oswald', cursive;
  color: #FFF8D5;
  font-style: normal;
}

.logo i {
  font-size: 24px;
}

header p,
footer p {
  display: inline-block;
  vertical-align: top;
  float: right;
  width: 100%;
  max-width: 640px;
  padding: 8px 0;
}

footer p {
  max-width: calc(100% - 400px)
}

header p a {
  color: #FFF8D5;
}

.title {
  display: block;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  height: auto;
  overflow: hidden;
}

article {
  text-align: center;
  box-sizing: border-box;
  display: block;
  float: left;
}

article .title {
  display: block;
}

article .th {
  display: inline-block;
  vertical-align: top;
  width: 150px;
  font-size: 15px;
  line-height: 14px;
  margin: 4px 2px;
}

article a img {
  width: 100%;
  height: 200px;
  border: 1px solid #FFF8D5;
  border-radius: 10px;
}

article a:hover {
  color: white;
}

article a:hover img {
  border-color: white;
}

.sidebar {
  display: block;
  float: right;
  width: 160px;
  margin: 42px 0px 0 0;
}

aside {
  display: block;
  float: right;
  width: 160px;
  background-color: #fff;
}

aside h3 {
  display: block;
  background-color: #f1f1f1;
  color: #5c5c5c;
  font-weight: 300;
  padding: 0 5px;
  line-height: 2.5;
  text-align: center;
  font-size: 14px;
}

aside a {
  display: block;
  width: 100%;
  padding: 0 5px;
  line-height: 2.2;
  border: 1px solid #eeeeee;
  box-sizing: border-box;
  font-size: 13px;
  color: #b41e20;
  text-transform: capitalize;
  background-image: url(../img/a-bg.png);
  background-position: right center;
  background-repeat: no-repeat;
  margin: 2px 0px;
  text-align: left;
}

aside a:hover {
  color: #3f3333;
  border-color: #dc9c9d;
}

nav {
  text-align: center;
  padding: 10px 0;
  font-family: 'Oswald';
}

nav a {
  display: inline-block;
  vertical-align: top;
  padding: 0 10px;
  line-height: 2.2;
  box-sizing: border-box;
  font-size: 18px;
  color: #FFAE00;
  text-transform: capitalize;
  text-decoration:underline;
}

nav b {
  display: inline-block;
	color: #E8C9AE;
	background: #7F5747;
  padding: 0 10px;	
}

nav a:hover,
nav a.current {
	color: #E8C9AE;
	background: #7F5747;
}

section ul {
  display: inline-block;
  vertical-align: top;
  margin: 0;
  padding: 0;
  width: 24%;
  padding: 0 0px;
}

section li {
  list-style: none;
  width: 100%;
  padding: 0 5px 0 15px;
  line-height: 2.2;
  border: 1px solid #fff;
  box-sizing: border-box;
  font-size: 13px;
  color: #b41e20;
  text-transform: capitalize;
  margin: 2px 0px;
  text-align: left;
  font-size: 11px;
  color: #FFAE00;
  border-radius: 5px;
  background: #844E39;
}

section li:hover {
  border: 1px solid #dedede;
}

section li a {
  font-size: 15px;
  padding: 0 10px;
  color: #E8C9AE;
}

section li:hover a {
  color: #3f3333
}

.galdesc {
  margin: 0px auto;
}

.galdesc ul {
  display: inline-block;
  vertical-align: top;
  width: 50%;
  max-width: 500px;
  padding: 0 0px;
  margin-left: 20px;
}

.galdesc li {
  list-style: none;
  width: 100%;
  padding: 0 5px 0 15px; 
  box-sizing: border-box;
  font-size: 13px;
  margin: 2px 0px;
  text-align: center;
  font-size: 11px;
}

.galdesc li a {
  font-size: 12px;
  padding: 0 10px;
  color: #E8C9AE;
  font-weight:600;
}

.galdesc li:hover a {
  color: #3f3333;
}

@media all and (max-width:1280px) {
  .wrapper {
    max-width: 1120px
  }
}

@media all and (max-width:1120px) {
  .wrapper {
    max-width: 958px
  }
  header {
    text-align: center;
  }
  .logo {
    float: none;
  }
  header p {
    float: none;
  }
  article {
    text-align: left;
  }
  section ul {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }
  section li {
    display: inline-block;
    width: auto;
  }
}

@media all and (max-width:959px) {
  article {
    width: 100%;
    padding: 0;
    text-align: center;
  }
  .sidebar {
    display: block;
    position: fixed;
    top: 5px;
    right: 5px;
    margin: 0;
    background-color: transparent;
    padding: 5px;
    width: 40px;
    height: 35px;
    overflow: hidden;
  }
  .sidebar * {
    display: none;
  }
  .sidebar:before {
    display: block;
    content: '== ==';
    height: 40px;
    width: 40px;
    background-color: #b41e20;
    color: #fff;
    font-size: 24px;
    line-height: 14px;
    padding: 7px 0;
    box-sizing: border-box;
    border-radius: 3px;
    cursor: pointer;
    text-align: center
  }
  .sidebar.open {
    width: 95%;
    background-color:#fff;
    box-shadow:0 0 3px #000;
    height: auto;

  }
  .sidebar.open aside {
    background-color: #fff;
    width:100%;
  }
  .sidebar.open aside a {
    width:48%;
    max-width:150px;
    float:left;
   line-height:1.5;
    margin:3px;
  }
  .sidebar.open:before {
    content: 'x';
    line-height: 22px;
    float: right;

  }
  
  .sidebar.open * {
    display: block;
    position: relative !important;
    
  }
  .sidebar h3 {
    float: none;
    clear: both;
  }
  footer {
    text-align: center;
  }
  footer .logo {
    float: none;
  }
  footer p {
    max-width: 100%;
  }
}

@media all and (max-width:480px) {
  .logo {
    font-size: 24px
  }
  header p {
    padding: 15px 0
  }
   .sidebar.open aside a {
    width:48%;
    max-width:48%;
    float:left;
   line-height:1.5;
    margin:3px;
    font-size:12px;
  }
}


@media all and (max-width:440px) {
    .sidebar.open aside a {
    width:47%;
    max-width:47%;
    float:left;
   line-height:1.5;
    margin:3px;
    font-size:10px;
  } 
}
