/* * {
  box-sizing: border-box;
} */

html, body {
  margin: 0;
  padding:0;
  /* height: 100%; */
  /* font-family: 'Roboto Condensed',Helvetica,Arial,Verdana,sans-serif; */
  /* font-size: 1.05em;
  font-weight: 400 !important;
  letter-spacing: -0.5px */
}
/* h1 {
  margin: 0;
  padding: 10px 0;
  text-transform: uppercase;
  font-size: 1.05em;
  font-weight: normal !important;
}
h3 {
  text-transform: uppercase;
}
h4, h5 {
  margin: 0;
  padding: 5px 0;
}
p {
  margin: 0;
  letter-spacing: -0.2px;
  font-size: 0.85em;
} */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

#wrapper {
  width: 100vw !important;
}
.pre-header {
  display: block;
  height: 5px;
  width: 100%;
  position: relative;
  z-index: 1;
  /* border-bottom: #880011 1px solid; */
  background-color: #b73334;
  /* box-shadow: 0 8px 6px -6px #880011; */

}
header {
  background-color: #ddd;
  border-bottom: 1px solid #aaa;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 215px;
  /* z-index: 0; */
  /* box-shadow: 0 40px 60px 6px #ddd; */
}
header .logo-wrapper {
  display: flex;
  flex-direction: row;
  flex: 1;
  margin-bottom: 50px;
  width: 1000px;
}
header .logo {
  height: 150px;
  padding: 0 35px;
  margin-top: 10px;
}
header .title {
  display: flex;
  align-items: center;
  font-size: 3em;
  line-height: 1.5em;
  text-shadow: 2px 8px 6px rgba(0,0,0,0.2), 0px -5px 35px rgba(255,255,255,0.3);
  margin-left: 40px;
}
header nav .white-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    height: 28px;
    color: #000;
    border-radius: 4px;
    background-color: #fff;
    padding: 0 5px;
  text-decoration: none;
  text-transform: uppercase;
}
header nav .white-btn:hover {
    text-decoration: none;
}
@media (max-width: 768px) {
  html, body {
    width: 100vw;
    overflow-x: hidden;
  }
  header {
    height: auto;
	margin-left: 0;
  }
  header .logo-wrapper {
    flex-direction: column;
    align-items: center;
    margin: 0;
  }
  header .title {
    max-width: 100vw;
    text-align: center;
  }
  header .ribbon-wrapper {
    position: inherit;
    width: 100vw;
  }
  header .ribbon-wrapper .ribbon:before, header .ribbon-wrapper .ribbon:after,
  header .ribbon-wrapper .ribbon .ribbon-content:before, header .ribbon-wrapper .ribbon .ribbon-content:after {
    display: none;
  }
  header .header-search {
    display: none;
  }
}
#content {
  width: 100%;
  height: 100%;
  background-color: #fff;
}
.page-wrapper {
  display: flex;
  flex-direction: row;
}
.page {
  background-color: #fff;
  width: calc(1000px - 2em);
  /* min-height: calc(100vh - 220px); */
  margin: 0 auto;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  box-shadow: 0 0 50px -5px #888;
  z-index: 1;
  position: relative;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.main-page-container {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin-top: 35px;
  margin-right: 30px;
}

.sidebar {
  width: 280px;
  background: #d8dde0; /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #d8dde0, #fff); /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #d8dde0, #fff); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  padding-top: 35px;
}
.sidebar-header {
  width: 100%;
  height: 42px;
  position: relative;
  padding: 0 2em;
  left: -1em;
  display: flex;
  align-items: center;
  text-transform: uppercase;

  background: #d64b4b;
  background: -webkit-gradient(linear, left top, left bottom, from(#d64b4b), to(#ab2c2c));
  background: -webkit-linear-gradient(top, #d64b4b, #ab2c2c);
  background: -moz-linear-gradient(top, #d64b4b, #ab2c2c);
  background: -ms-linear-gradient(top, #d64b4b, #ab2c2c);
  background: -o-linear-gradient(top, #d64b4b, #ab2c2c);
  background-image: -ms-linear-gradient(top, #d64b4b 0%, #ab2c2c 100%);
  -webkit-box-shadow: rgba(000,000,000,0.3) 0 1px 0;
  -moz-box-shadow: rgba(000,000,000,0.3) 0 1px 0;
  box-shadow: rgba(000,000,000,0.3) 0 1px 0;

  width: 200px;
  padding: 0 3em;
}
.sidebar-header-left:before {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  top: 100%;
  left: 0;
  border-top: 1em solid #871616;
  border-right: 1em solid transparent;
  border-left: 1em solid transparent;
  border-bottom: 1em solid transparent;
  border-width: 1em 0 0 1em;
}
.sidebar-header-left:after {
  content: '';
  position: absolute;
  right: 0px;
  border-style: solid;
  border-width: 21px 1em 21px 0;
  border-color: transparent #fff transparent transparent;
}

.sidebar-header h3 {
  position: absolute;
  z-index: 1;
  font-size: 1.2em !important;
  color: #fff;
  margin: 0px;
  font-weight: 400;
}

.sidebar-content {
  width: 90%;
  padding: 15px;

  width: 200px;
  /* margin: 0 15px; */
  margin-top: 0;
  margin-bottom: 15px;
  margin-left: 15px;
  margin-right: 0;
  border: 1px solid #ddd;
  border-top: 0;
  background-color: #f5f5f5;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

footer {
  background: #d64b4b;
  background: -webkit-gradient(linear, left top, left bottom, from(#d64b4b), to(#ab2c2c));
  background: -webkit-linear-gradient(top, #d64b4b, #ab2c2c);
  background: -moz-linear-gradient(top, #d64b4b, #ab2c2c);
  background: -ms-linear-gradient(top, #d64b4b, #ab2c2c);
  background: -o-linear-gradient(top, #d64b4b, #ab2c2c);
  background-image: -ms-linear-gradient(top, #d64b4b 0%, #ab2c2c 100%);
  min-height: 60px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-flow: row-reverse;
  padding: 0 20px;
}
footer p {
  margin: 0;
  color: #fff;
}

@media (max-width: 768px) {
  #content {
    width: 100vw;
    overflow: hidden;
  }
  #content .blog {
    width: calc(100vw - 30px);
  }
  #content .blog, #content .breadcrumb {
    box-sizing: border-box;
    width: calc(100vw - 30px);
  }
  .page-wrapper {
    flex-direction: column;
  }
  .sidebar {
    background: #fff;
    width: 100vw;
  }
  .sidebar-header {
    width: calc(100vw - 70px);
  }
  .sidebar-header:before {
    display: none;
  }
  .sidebar-content {
    width: 85vw;
  }
  .main-page-container {
    margin: 15px;
    width: calc(100vw - 30px);
  }
  .main-page-container .custom {
    width: calc(100vw - 30px);
  }
}

@media (min-width: 767px) and (max-width: 1060px) {
  header .logo-wrapper, header .ribbon, .page {
    width: calc(100vw - 100px);
  }
}

/************** GALLERY ***************/
.title-gallery {
  text-align: center;
}
.gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.gallery img {
  height: 100%;
}
.gallery a {
  height: 180px;
  display: inline-block;
  overflow: hidden;
  margin: 4px 6px;
  box-shadow: 0 0 4px -1px #000;
}
.ribbon > img {
  position: absolute;
  top: 0;
  right: 0;
  border: 0;
}
@media (max-width: 768px) {
  .sm-hidden {
      display: none;
  }
}

/************** SIMPLE IMAGE GALLERY ***************/
@media (max-width: 768px) {
  li.sigFreeThumb > a {
      width: 95vw !important;
      height: auto !important;
      background-color: transparent !important;
  }
  li.sigFreeThumb > a > img.sigFreeImg {
      background-size: 95vw;
  }
}


/************** ANIMATION ***************/
.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.fadeInDown {
  animation-name: fadeInDown;
}

@keyframes fadeOutDown {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }
}
.fadeOutDown {
  animation-name: fadeOutDown;
}

.fade-in {
  -webkit-animation: 2s ease 0s normal forwards 1 fadein;
  animation: 2s ease 0s normal forwards 1 fadein;
}

@keyframes fadein {
  0% { opacity:0; }
  50% { opacity:0; }
  100% { opacity:1; }
}
@-webkit-keyframes fadein {
  0% { opacity:0; }
  50% { opacity:0; }
  100% { opacity:1; }
}


/** Ribbon **/
.ribbon-wrapper {
  position: absolute;
  z-index: 2;
  display: flex;
  bottom: -9px;
}
.ribbon {
  height: 45px;
  width: 1000px;
  display: flex;
  align-items: center;
  background: #d64b4b;
  background: -webkit-gradient(linear, left top, left bottom, from(#d64b4b), to(#ab2c2c));
  background: -webkit-linear-gradient(top, #d64b4b, #ab2c2c);
  background: -moz-linear-gradient(top, #d64b4b, #ab2c2c);
  background: -ms-linear-gradient(top, #d64b4b, #ab2c2c);
  background: -o-linear-gradient(top, #d64b4b, #ab2c2c);
  background-image: -ms-linear-gradient(top, #d64b4b 0%, #ab2c2c 100%);
  -webkit-box-shadow: rgba(000,000,000,0.3) 0 1px 1px;
  -moz-box-shadow: rgba(000,000,000,0.3) 0 1px 1px;
  box-shadow: rgba(000,000,000,0.3) 0 1px 1px;
  }
  
@media (max-width: 768px) {
  .ribbon {
    height: auto;
  }
}
/* .ribbon h1 {
  font-size: 20px!important;
  color: #801111;
  text-shadow: #d65c5c 0 1px 0;
  margin:0px;
  } */
.ribbon nav {
  flex: 1;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
}
.ribbon nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  flex: 1;
}
@media (max-width: 768px) {
  .ribbon nav ul {
    display: flex;
    flex-direction: column;
  }
}
.ribbon nav > ul > li {
  float: left;
  margin: 0 3px;
}
.ribbon nav > ul > li > a {
  display: block;
  color: white;
  font-size: 1em;
  letter-spacing: -0.5px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  padding: 7px 10px;
}
.ribbon nav > ul > li > a:hover:not(.active) {
  background-color: rgb(122, 21, 22);
  border-radius: 5px;
}
.ribbon nav > ul > li > ul {
  z-index: 2;
  display: block;
  position: absolute;
  min-width: 100px;
  background-color: rgb(122, 21, 22);
  border-radius: 5px;
  padding: 5px 0;
  opacity: 0;
  transition: .4s cubic-bezier(.5,0,.3,1);
}
.ribbon nav > ul > li:hover > ul {
  opacity: 1;
}
.ribbon nav > ul > li > ul > li {
  display: block;
}
.ribbon nav > ul > li > ul > li > a {
  display: block;
  color: white;
  font-size: 1em !important;
  letter-spacing: -0.5px;
  text-decoration: none;
  text-transform: uppercase;
  padding-left: 5px;
  width: 100%;
  padding: 5px 10px;
}
.ribbon nav > ul > li > ul > li:hover {
  background-color: #c23a3a;
}
.ribbon:before, .ribbon:after {
  content: '';
  position: absolute;
  display: block;
  bottom: -1em;
  border: 1.5em solid #c23a3a;
  z-index: -1;
  }
.ribbon:before {
  left: -2em;
  border-right-width: 1.5em;
  border-left-color: transparent;
  -webkit-box-shadow: rgba(000,000,000,0.4) 1px 1px;
  -moz-box-shadow: rgba(000,000,000,0.4) 1px 1px;
  box-shadow: rgba(000,000,000,0.4) 1px 1px;
  }
.ribbon:after {
  right: -2em;
  border-left-width: 1.5em;
  border-right-color: transparent;
  -webkit-box-shadow: rgba(000,000,000,0.4) -1px 1px 1px;
  -moz-box-shadow: rgba(000,000,000,0.4) -1px 1px 1px;
  box-shadow: rgba(000,000,000,0.4) -1px 1px 1px;
  }
.ribbon-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: 1;
  margin: 0 20px;
}
.ribbon .ribbon-content:before, .ribbon .ribbon-content:after {
  border-color: #871616 transparent transparent transparent;
  position: absolute;
  display: block;
  border-style: solid;
  bottom: -1em;
  content: '';
  }
.ribbon .ribbon-content:before {
  left: 0;
  border-width: 1em 0 0 1em;
  }
.ribbon .ribbon-content:after {
  right: 0;
  border-width: 1em 1em 0 0;
  }
.ribbon-stitches-top {
  margin-top:2px;
  border-top: 0px dashed rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 0px 2px rgba(255, 255, 255, 0.5);
  }
.ribbon-stitches-bottom {
  margin-bottom:2px;
  border-top: 0px dashed rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 0px 2px rgba(255, 255, 255, 0.3);
  }

  .header-search form {
    margin: 0;
  }