.portfolio .page-header {
  text-align: center;
  border-bottom: 0;
  margin-top: 14px;
  margin-bottom: 0;
  padding: 0;
}
.portfolio-items .thumbnail {
  background: none;
  border: 0;
  padding: 0;
  margin: 28px 0;
}
.portfolio-items .thumbnail > h3 {
  margin-left: auto;
  margin-right: auto;
  max-width: 334px;
  margin-top: 12px;
  margin-bottom: 5px;
  font-size: 32px;
  color: #900;
  
}
.portfolio-items p {
  font-size: 16px;
}
.portfolio-items .item-image {
  display: flex;
  flex-direction: column;
  z-index: 1;
  box-shadow: 0px 0px 10px 2px grey;
  float: none !important;
  position: relative;
  overflow: hidden;
  height: 474px;
  max-width: 334px;
  width: 100%;
  margin: auto;
  -webkit-transition: border-color 0.2s ease-in;
  -o-transition: border-color 0.2s ease-in;
  transition: border-color 0.2s ease-in;
}
.portfolio-items .item-image img {
  padding: 0;
  margin: auto;
  position: absolute;
  right: -100%;
  top: -100%;
  bottom: -100%;
  left: -100%;
  min-height: 100%;
  min-width: 100%;
  z-index: -1;
}
.portfolio-items .item-image button {
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  color: white;
  background: #000B;
  flex: 1;
  display: none;
}
.portfolio-items .thumbnail > .item-image:hover,
.portfolio-items .thumbnail > .item-image:active,
.portfolio-items .thumbnail > .item-image:focus {
  border-color: #bbbbbb;
}
.portfolio-items .thumbnail > .item-image:hover button,
.portfolio-items .thumbnail > .item-image:active button,
.portfolio-items .thumbnail > .item-image:focus button {
  display: block;
}
.portfolio-items p {
  color: #666666;
  margin: 0;
}
.portfolio-items ul {
  max-width: 334px;
  padding-inline-start: 24px;
  margin: auto;
}
.portfolio .item-state {
  width: 70px;
  height: 70px;
  background: url(../../../templates/idom_test/images/porfolio-item-states.png) no-repeat center top;
  display: block;
  text-indent: -9999em;
  position: absolute;
  top: -3px;
  right: -3px;
}
.portfolio .state-free {
  background-position: center;
}
.portfolio .state-hot {
  background-position: center bottom;
}
.portfolio .item-demo-url {
  display: inline-block;
  margin-top: 28px;
}
.portfolio .item-demo-url .btn {
  font-size: 14px;
}