/*
 Theme Name:   Basel Child
 Description:  Basel Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     basel
 Version:      1.0.0
 Text Domain:  basel-child
*/


/* Your customizations starts here */
#sstk-wrap {
  padding: 0.625rem 0.3125rem 0;
  background: #F9F9F9;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 20px auto;
  padding: 1.5rem 2.5rem 0;
  position: relative;
}
#sstk-wrap p {
  font-size: 0.875rem;
  margin: 0 0 0.3125rem 0.3125rem;
  -ms-flex-preferred-size: 60%;
  flex-basis: 60%;
  margin: 0 0 1.5rem;
}
#sstk-wrap p.trial {
  -ms-flex-preferred-size: 40%;
  flex-basis: 40%;
  text-align: right;
}
#sstk-wrap p.trial a {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background: #fff;
  border: 1px solid blue;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  margin-left: 14px;
  padding: 6px 10px;
}
#sstk-wrap p.trial a i {
  background: #cedef3;
  border: 1px solid blue;
  font-size: 11px;
  margin-left: 10px;
  padding: 3px;
}
#sstk-wrap p.trial a:hover {
  background: blue;
  color: #fff;
}
#sstk-wrap p.trial a:hover i {
  background: blue;
  border-color: #fff;
}
@media screen and (max-width: 79.9375em) {
  #sstk-wrap p {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    text-align: center;
  }
  #sstk-wrap p.trial {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    text-align: center;
  }
}
#sstk-wrap p img {
  margin: -0.3125rem 0 0 0.3125rem;
  background: #fff;
  border: 1px solid #CFCFD1;
  margin: 0 0.875rem 0 0;
  padding: 0.625rem 0.875rem 0.75rem;
}
@media screen and (max-width: 43.0625em) {
  #sstk-wrap p {
    display: block;
    text-align: center;
  }
  #sstk-wrap p img {
    display: block;
    margin: 0.3125rem auto 0.625rem;
  }
  #sstk-wrap p.trial {
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
  }
}
#sstk-wrap #image-search-results {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin: 0;
  position: relative;
  -ms-flex-preferred-size: 100%;
  flex-basis: 100%;
  padding-bottom: 2.125rem;
}
@media screen and (max-width: 43.0625em) {
  #sstk-wrap #image-search-results {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
  }
}
#sstk-wrap #image-search-results div.image-float-wrapper {
  -ms-flex-preferred-size: 16%;
  flex-basis: 16%;
  margin: 0.3125rem 0.33333% 0.625rem;
  overflow: hidden;
  padding: 0;
  position: relative;
  -webkit-transition: 0.35s ease-in-out;
  transition: 0.35s ease-in-out;
}
@media screen and (max-width: 74em) {
  #sstk-wrap #image-search-results div.image-float-wrapper {
    -ms-flex-preferred-size: 24.33333%;
    flex-basis: 24.33333%;
  }
  #sstk-wrap #image-search-results div.image-float-wrapper:nth-child(5), #sstk-wrap #image-search-results div.image-float-wrapper:nth-child(6) {
    display: none;
  }
}
@media screen and (max-width: 43.0625em) {
  #sstk-wrap #image-search-results div.image-float-wrapper {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    margin: 0.3125rem 0 0.625rem;
  }
  #sstk-wrap #image-search-results div.image-float-wrapper:nth-child(3), #sstk-wrap #image-search-results div.image-float-wrapper:nth-child(4) {
    display: none;
  }
}
#sstk-wrap #image-search-results div.image-float-wrapper:hover {
  -webkit-transition: 0.35s ease-in-out;
  transition: 0.35s ease-in-out;
}
#sstk-wrap #image-search-results div.image-float-wrapper .thumbnail-crop {
  position: relative;
  padding-top: 67%;
}
#sstk-wrap #image-search-results div.image-float-wrapper a {
  display: inline-block;
  height: 100%;
  overflow: hidden;
  max-width: 100%;
  position: absolute;
  top: 0;
}
#sstk-wrap #image-search-results div.image-float-wrapper a .ribbon {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  width: 75px;
  height: 75px;
  text-align: right;
  border-radius: 50%;
  bottom: -5px;
  color: #fff;
  height: 30px;
  left: auto;
  right: 4px;
  text-align: center;
  top: auto;
  width: 30px;
  overflow:visible;
  /* span {
      font-size: 10px;
      font-weight: bold;
      color: #FFF;
      text-transform: uppercase;
      text-align: center;
      line-height: 20px;
      transform: rotate(-45deg);
      -webkit-transform: rotate(-45deg);
      width: 100px;
      display: block;
      background: #79A70A;
      background: linear-gradient(#202020 0%, #454545 100%);
      box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
      position: absolute;
      top: 19px;
      left: -21px;

      &:before {
          content: "";
          position: absolute;
          left: 0px;
          top: 100%;
          z-index: -1;
          border-left: 3px solid #454545;
          border-right: 3px solid transparent;
          border-bottom: 3px solid transparent;
          border-top: 3px solid #454545;
      }

      &:after {
          content: "";
          position: absolute;
          right: 0px;
          top: 100%;
          z-index: -1;
          border-left: 3px solid transparent;
          border-right: 3px solid #454545;
          border-bottom: 3px solid transparent;
          border-top: 3px solid #454545;
      }
  } */
}
#sstk-wrap #image-search-results div.image-float-wrapper a .ribbon span {
  display: inline-block;
  font-size: 14px;
  line-height: 14px;
  position: relative;
  top: -1.25px;
}