body, html {
  width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0px;
  padding: 0px;
  color: #555;
  background-color: #ECEBE8;
  font: 15px/21px "myriad-pro", sans-serif;
  font-size: 13px;
  line-height: 1.5em;
}

a, a:link, a:visited { color: #333; text-decoration: underline; }
a:hover { color: #990000; text-decoration: none; }

p { margin: 0px; padding: 0; }
img { border: none; }

ul { margin: 0; padding: 0; }
ul li { margin: 0; padding: 0; }

h1, h2, h3, h4, h5, h6 { color: #000; }
h1 { font-size: 40px; font-weight: normal; margin: 0 0 40px 0; padding: 5px 0; }
h2 { font-size: 28px; font-weight: normal; margin: 0 0 20px 0; padding: 10px 0 15px 0; }
h3 { font-size: 21px; font-weight: normal; margin: 0 0 15px 0; padding: 0; padding: 0 0 10px 0; }
h4 { font-size: 18px; margin: 0 0 20px 0; padding: 0 0 10px 0; ; }
h5 { font-size: 16px; margin: 0 0 10px 0; padding: 0; }
h6 { font-size: 14px; margin: 0 0 5px 0; padding: 0; }

#body_wrapper {
  width: 1150px;
  margin: 0 auto;
}

#header {
  margin: 0 0 20px 0;
  padding: 10px 30px 15px 30px;
  background-color: #333;
}
#header_container {
  width: 1150px;
  margin: 0 auto;
}
#header_container:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
#header form {
  margin: 3px 0 0 20px;
  padding: 0;
}
#header form input[type="text"] {
  width: 485px;
  padding: 0 10px;
  height: 28px;
  border: none;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  font: 15px/21px "myriad-pro", sans-serif;
  background: #fff;
  color: #555;
  outline: none;
  vertical-align: middle;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -moz-box-shadow: 0 1px 5px rgba(0,0,0,0.07) inset, 0 1px 0 rgba(255,255,255,0.4);
  box-shadow: 0 1px 5px rgba(0,0,0,0.07) inset, 0 1px 0 rgba(255,255,255,0.4);
}
#header form input[type="submit"], a.download {
  border-radius: 2px;
  color: #fff;
  font-size: 15px;
  padding: 4px 9px;
  background-color: #80b844;
  -webkit-box-shadow: inset 0 1px rgba(255,255,255,.3);
  -moz-box-shadow: inset 0 1px rgba(255,255,255,.3);
  box-shadow: inset 0 1px rgba(255,255,255,.3);
  border: solid 1px #729f44;
  vertical-align: middle;
  text-transform: uppercase;
}
#header #logo {
  float: left;
  width: 260px;
  margin-top: -2px;
}
#header #logo a {
  font-family: 'Joti One', cursive;
  font-size: 270%;
  line-height: 100%;
  letter-spacing: -2px;
  text-decoration: none;
  color: #fff;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 1);
  margin: 0;
  text-align: center;
}
#header #logo span {
  font-size: 70%;
  color: #acacac;
  text-shadow: none;
}

#home-logo {
  margin: 60px 0;
}
#home-logo h1 {
  font-family: 'Joti One', cursive;
  font-size: 670%;
  line-height: 100%;
  letter-spacing: -4px;
  text-decoration: none;
  color: #990000;
  text-shadow: 3px 3px 0px rgba(45, 0, 0, 1);
  margin: 0;
  text-align: center;
}
#home-logo h1 span {
  font-size: 70%;
  color: #2d0000;
  text-shadow: none;
}
#home-logo h2 {
  font-size: 130%;
  color: #666;
  font-weight: bold;
  margin: -25px 0 0 0;
  text-align: center;
  font-style: italic;
}
#footer{
  clear: both;
  padding-top: 40px;
  text-align: center;
}
#random{
  font-size: 85%;
  text-transform: uppercase;
  text-align: center;
  margin: 30px 0 50px 0;
}
#random a{
  color: #8d8d8d;
  text-decoration: none;
}
#random a:hover{
  color: #990000;
}
#search {
  padding: 8px 8px 3px 8px;
  border: 1px solid #603131;
  border-radius: 10px;
  background: #990000; /* Old browsers */
  background: -moz-linear-gradient(top,  #990000 0%, #603131 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#990000), color-stop(100%,#603131)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #990000 0%,#603131 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #990000 0%,#603131 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #990000 0%,#603131 100%); /* IE10+ */
  background: linear-gradient(to bottom,  #990000 0%,#603131 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#990000', endColorstr='#603131',GradientType=0 ); /* IE6-9 */
  -webkit-box-shadow: 0px 0px 5px rgba(150, 150, 150, 0.6);
  -moz-box-shadow:    0px 0px 5px rgba(150, 50, 150, 0.6);
  box-shadow:         0px 0px 5px rgba(150, 150, 150, 0.6);
  width: 580px;
  height: 60px;
  margin: -20px auto 80px auto;
}
#search input[type="text"] {
  width: 425px;
  height: 43px;
  line-height: 47px;
  overflow: hidden;
  float: left;
  border: 0;
  color: #666;
  font-size: 18px;
  font-weight: bold;
  background: transparent;
  padding: 5px 10px;
  -webkit-box-shadow: inset 2px 2px 2px 0px #dddddd;
  -moz-box-shadow: inset 2px 2px 2px 0px #dddddd;
  box-shadow: inset 2px 2px 2px 0px #dddddd;
  border-radius: 5px;
}
#search input[type="submit"] {
  width: 130px;
  height: 49px;
  overflow: hidden;
  float: right;
  border: 0;
  color: #fff;
  font-size: 24px;
  text-shadow: 0 1px #603131;
  cursor: pointer;
  margin: 2px 2px 2px 0;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 3px;
	border: 1px solid #603131;
  background: -moz-linear-gradient(top,  rgba(204,95,0,1) 0%, rgba(204,95,0,1) 1%, rgba(145,29,2,0.89) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(204,95,0,1)), color-stop(1%,rgba(204,95,0,1)), color-stop(100%,rgba(145,29,2,0.89))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  rgba(204,95,0,1) 0%,rgba(204,95,0,1) 1%,rgba(145,29,2,0.89) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  rgba(204,95,0,1) 0%,rgba(204,95,0,1) 1%,rgba(145,29,2,0.89) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  rgba(204,95,0,1) 0%,rgba(204,95,0,1) 1%,rgba(145,29,2,0.89) 100%); /* IE10+ */
  background: linear-gradient(to bottom,  rgba(204,95,0,1) 0%,rgba(204,95,0,1) 1%,rgba(145,29,2,0.89) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cc5f00', endColorstr='#e3911d02',GradientType=0 ); /* IE6-9 */
}
#search div {
  background-color: white;
  border: 1px solid #421919;
  border-radius: 5px;
  padding: 0;
  float: left;
}
#search form {
  margin: 0;
  padding: 0;
}
#content {
  width: 830px;
  padding: 0;
  float: left;
  clear: both;
}
#contenthome {
  width: 980px;
  padding: 0;
  clear: both;
  margin: 0 auto
}
.intro, .caption {
  margin: 0 0 10px 10px;
}
#sidebar {
  width: 300px;
  float: left;
  margin-left: 20px;
}
#sidebar li {
  margin: 3px 0;
}
#sidebar i {
  width: 20px;
  font-size: 14px;
  display: inline-block;
  text-align: center;
  margin-right: 2px;
  color: #80b844;
}
.box {
  padding: 10px;
  float: left;
  background-color: rgb(255,255,255);
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: 0px 1px 4px rgba(0,0,0,0.15);
  -moz-box-shadow: 0px 1px 4px rgba(0,0,0,0.15);
  box-shadow: 0px 1px 4px rgba(0,0,0,0.15);
}

#content .box {
  width: 810px;
}
#sidebar .box {
  width: 280px;
  margin: 0 0 10px 0;
}
#aca .box{
  width: 250px;
  margin: 10px 10px 10px 0;
  float: left;
}
.box h1, .box h2 {
  padding: 2px 0 5px 0;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  color: #444;
  margin-top: 0;
  border-bottom: 1px solid #CFCCC7;
  margin: 0 10px 15px 10px;
}
#sidebar .box ul, #aca .box ul {
  margin: 0 0 0 10px;
  padding: 0;
  list-style: none;
}
.text p {
  margin: 0 10px 15px 10px;
}
.text h3 {
  margin: 0 10px 15px 10px;
  padding: 2px 0 5px 0;
  font-size: 14px;
  font-weight: 600;
  color: #444;
  margin-top: 0;
  margin: 0 10px 5px 10px;
}
.text h4 {
  margin: 0 10px 15px 10px;
  padding: 2px 0 5px 0;
  font-size: 14px;
  font-weight: 600;
  color: #444;
  margin-top: 0;
  margin: 0 10px 5px 10px;
}
.text table {
  border-collapse: collapse;
  border: 1px solid #999;
  margin: 0 10px 15px 10px;
}
.text table td, .text table th {
  text-align: left;
  border: 1px solid #999;
  padding: 5px;
}
.text ul {
  padding-left: 30px;
  margin-bottom: 20px;
}
#results-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
#results-list li {
  float: left;
  width: 145px;
  height: 145px;
  overflow: hidden;
  margin: 5px 3px 5px 7px;
  border: 1px solid #CFCCC7;
  background-color: #fff;
  border-radius: 5px;
  padding: 2px;
  text-align: center;
}
#results-list li:nth-child(5n+0) {
  margin-right: 0;
}
#results-list li a {
  display: block;
  width: 145px;
  background-color: #fff;
  border-radius: 3px;
  height: 145px;
  overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
}
#results-list li img {
  max-width: 145px;
  max-height: 145px;
  background-color: #fff;
  border-radius: 3px;
}
#results-list li:hover {
  border-color: #555;
  background-color: #555;
}
#results-li.premium li {
  height: 109px;
}
#results-li.premium li a {
  height: 109px;
}

p.imgsize{
  text-align: center;
  font-size: 90%;
}
a.download {
  text-decoration: none;
  margin: 12px;
  /* width: 230px; */
  width: 210px;;
  text-align: center;
  display: block;
}

#searchhome{
  margin: 0 auto;
}
#loading {
  display: block;
  margin: 25px auto;
  width: 70px;
  text-align: center;
}
#loading p {
  margin: 5px 0 0 0;
  color: #888;
  font-size: 90%;
}
#contactform {
  margin: 0 10px 10px;
}
form input[type='text'], #contactform textarea{
  padding: 5px 8px;
  font-size: 20px;
  vertical-align: middle;
  width: 65px;
  margin: 0 6px;
  -webkit-appearance: none;
  -webkit-box-shadow: rgba(0, 0, 0, 0.0470588) 0px 2px 0px 0px inset;
  -webkit-rtl-ordering: logical;
  -webkit-transition-delay: 0s, 0s;
  -webkit-transition-duration: 0.2s, 0.2s;
  -webkit-transition-property: border, box-shadow;
  -webkit-transition-timing-function: linear, linear;
  -webkit-user-select: text;
  -webkit-writing-mode: horizontal-tb;
  border: 1px solid rgb(161, 161, 163);
  border-radius: 3px;
  border-bottom: 1px solid rgb(187, 187, 188);
  box-shadow: rgba(0, 0, 0, 0.0470588) 0px 2px 0px 0px inset;
  color: rgb(51, 51, 52);
  cursor: auto;
  display: inline-block;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  height: 22px;
  line-height: 22.5px;
  margin: 0;
  padding: 6px 9px;
  transition-delay: 0s, 0s;
  transition-duration: 0.2s, 0.2s;
  transition-property: border, box-shadow;
  transition-timing-function: linear, linear;
  vertical-align: top;
  width: 450px;
  writing-mode: lr-tb;
}

#contactform input[type='text'], #contactform textarea{
  margin-bottom: 8px;
}
textarea{
  height: 120px;
}
#contactform textarea{
  height: 120px;
}

form input[type='submit']{
  padding: 5px 8px;
  font-size: 20px;
}

#contactform button{
  border-radius: 2px;
  color: #fff;
  font-size: 15px;
  padding: 4px 9px;
  background-color: #80b844;
  -webkit-box-shadow: inset 0 1px rgba(255,255,255,.3);
  -moz-box-shadow: inset 0 1px rgba(255,255,255,.3);
  box-shadow: inset 0 1px rgba(255,255,255,.3);
  border: solid 1px #729f44;
  vertical-align: middle;
  text-transform: uppercase;
  margin-top: 10px;
}

#cantfind{
  margin-top: 20px;
}
#cantfind p{
  margin-left: 10px;
}

.box h1#cac{
  font-size: 12px;
  text-align: center;
  font-weight: normal;
  color: #ccc;
  
  padding: 5px 0 2px 0;
  text-transform: none;
  border-bottom: 0;
  margin: 10px 10px 5px 10px;
}
@media screen and (max-width: 1160px) {
  #body_wrapper {
    width: 95%;
  }
  #content {
    width: calc(100% - 320px);
  }
  #content .box:first-of-type {
    width: calc(100% - 20px);
  }
  #content #aca .box {
    width: calc(100%/3 - 27px);
  }
  a.download {
    width: calc(100% - 44px);
  }
  #content .box#cantfind {
    width: calc(100% - 20px);
  }
  #header {
    padding: 10px 0;
  }
  #header_container {
    width: 95%;
  }
}
@media screen and (max-width: 980px) {
  #contenthome {
    width: 95%;
  }
  #content #aca .box {
    width: calc(100% - 20px);
    margin: 10px 0 0 0;
    float: none;
  }
  #content .box:first-of-type {
    float: none;
  }
  #results-list li {
    float: none;
    display: inline-block;
  }
  #header form input[type="text"] {
    width: calc(100% - 322px);
  }
  #content .box:first-of-type > img {
    max-width: 100% !important;
  }
}
@media screen and (max-width: 780px) {
  #home-logo h1 {
    font-size: 550%;
  }
  #content {
    width: 100%;
    float: none;
  }
  #sidebar {
    float: none;
    margin: 10px auto;
  }
  #content .box#cantfind {
    float: none;
  }
  #contactform input[type='text'], #contactform textarea {
    width: calc(100% - 20px);
  }
}
@media screen and (max-width: 560px) {
  #search {
    width: calc(100% - 18px);
    height: auto;
    margin-bottom: 30px;
  }
  #search div {
    width: 100%;
    float: none;
    background: none;
    border: none;
  }
  #search input[type="text"] {
    width: calc(100% - 20px);
    font-size: 14px;
    float: none;
    background-color: white;
    border: 1px solid #421919;
  }
  #search input[type="submit"] {
    float: none;
    width: 100%;
    border: 1px solid #421919;
  }
}
@media screen and (max-width: 560px) {
  #home-logo {
    margin: 20px 0;
  }
  #home-logo h1 {
    font-size: 350%;
    margin-bottom: 10px;
  }
  #home-logo h2 {
    font-size: 100%;
  }
  #contenthome h2 {
    text-align: center;
  }
  #results-list {
    text-align: center;
    float: none !important;
  }
  #results-list:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
  #results-list li {
    text-align: center;
    float: left;
    display: inline-block;
    width: calc(100%/2 - 18px);
  }
  #results-list li a {
    width: 100%;
  }
  #results-list li img {
    max-width: 100%;
    max-height: 100%;
  }
  #header #logo {
    margin-bottom: 0;
  }
  #header form {
    margin: 10px 0 0 0;
    float: left;
    width: 100%;
  }
  #header form input[type="submit"] {
    -webkit-appearance: none;
    appearance: none;
     -moz-appearance: none
  }
  #header form input[type="text"] {
    width: calc(100% - 92px);
  }
  #contactform button {
    width: 100%;
  }
  #searchform {
    display: none;
  }
  #search-mobile {
    width: 29px; height: 34px;
    background: url('/img/searchmobile.svg') no-repeat bottom left;
    background-size: 29px;
    float: right;
    margin-top: -5px;
    margin-right: 5px;
  }
  #search-mobile.on {
    background: url('/img/searchmobile-x.svg') no-repeat bottom left;
    background-size: 29px;
  }
  .notfound h1 {
    margin-top: 30px !important;
    margin-bottom: 20px;
  }
  .notfound #main > img {
    width: 95%;
    margin: 0 auto;
  }
}

