@media all and (min-width: 768px) {
  .fancybox-thumbs {
    top: auto!important;
    width: auto!important;
    bottom: 0!important;
    left: 0!important;
    right : 0!important;
    height: 95px!important;
    padding: 10px 10px 5px 10px!important;
    box-sizing: border-box!important;
    background: rgba(0, 0, 0, 0.3)!important;
  }
  .fancybox-thumbs ul{
      margin: 0 auto!important;
  }
  
  .fancybox-show-thumbs .fancybox-inner {
    right: 0;
    bottom: 95px;
    width: 100%;
  }
  

}

@media all and (max-width: 768px) {
  .fancybox-thumbs-x > ul {
    width: auto!important;
  }
}

.ongw_pagination {
    text-align: center;
}
.ongw_pagination_but {
    display: inline-block;
    padding: 5px 20px;
    margin-left: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
}
.ongw_pagination_but.active, .ongw_pagination_but:hover {
    background: #0b64c0;
    color: #fff;
    border: 1px solid #0b64c0;
}

.on_gwork_container {
    margin-bottom: 50px!important;
}
.on_gwork_tabs {
    margin-bottom: 10px;
}
.on_gwork_tab {
    display: inline-block;
    margin: 0;
    padding: 5px 20px;
    color: #fff;
    background: #4da1ff;
    cursor: pointer;
}
.on_gwork_tab.active, .on_gwork_tab:hover {
    color: #000;
    background: #fbfe56;
}
.on_gwork_photos {
    position: relative;
}
.on_gwork_photos_loader {
    text-align: center;
    position: absolute;
    /* top: 0; */
    background: #FFFFFF70;
    width: 100%;
    height: 100%;
    z-index: 5;
}
.on_gwork_photos_loader img{
    margin-top: 50px;
}
.on_gwork_thumb {
    display: inline-block;
    width: 100%;
    max-width: 150px;
}
.on_gwork_photos a .on_gwork_thumb{
    margin-right: 15px;
}




/* upwork gallery */

.b-recommend-executors__item__gallery__items {
    margin-right: -20px;
    text-align: center;
}
.b-recommend-executors__item__gallery__items {
    margin-right: -20px;
}
/* 
ol, ul {
    list-style: none;
}
 */
.b-recommend-executors__item__gallery__item {
    /* float: left; */
    display: inline-block;
    margin: 0 20px 20px 0!important;
    width: 193px;
    position: relative;
}

  
.b-recommend-executors__item__gallery__item .b-recommend-executors__item__gallery__info {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding: 10px;
    width: 185px;
    height: 123px;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
    background-color: rgba(0,0,0,.35);
    color: #fff;
    display: none;
    z-index: 2;
}
.b-recommend-executors__item__gallery__item .b-recommend-executors__item__gallery__info {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding: 10px;
    width: 185px;
    height: 123px;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
    background-color: rgba(0,0,0,.35);
    color: #fff;
    display: none;
    z-index: 2;
}


.b-recommend-executors__item__gallery__item .b-recommend-executors__item__gallery__name {
    font-size: 1.6rem;
    font-weight: 700;
}
.b-recommend-executors__item__gallery__item .b-recommend-executors__item__gallery__name {
    font-size: 1.6rem;
    font-weight: 700;
}

.b-recommend-executors__item__gallery__item .b-recommend-executors__item__gallery__description {
    font-size: 1.2rem;
    line-height: 1.6rem;
}
.b-recommend-executors__item__gallery__item .b-recommend-executors__item__gallery__description {
    font-size: 1.2rem;
    line-height: 1.6rem;
}

.b-recommend-executors__item__gallery__item .b-recommend-executors__item__gallery__img {
    display: block;
    width: 185px;
    height: 123px;
    overflow: hidden;
}

.b-recommend-executors__item__gallery__item .b-recommend-executors__item__gallery__counter {
    padding-left: 25px;
    position: absolute;
    z-index: 3;
    right: 15px;
    bottom: 6px;
    font-size: 1.4rem;
    color: #fff;
    text-shadow: 0 1px 3px #000;
}

.b-recommend-executors__item__gallery__item .b-recommend-executors__item__gallery__img1 {
    right: 4px;
    top: 5px;
    bottom: 5px;
    width: 3px;
}
.b-recommend-executors__item__gallery__item .b-recommend-executors__item__gallery__img1, .b-recommend-executors__item__gallery__item .b-recommend-executors__item__gallery__img2 {
    position: absolute;
    width: 3px;
    overflow: hidden;
    background-position: 100% 0;
    background-repeat: no-repeat;
    background-size: 10000% 10000%;
}

.b-recommend-executors__item__gallery__item .b-recommend-executors__item__gallery__img2 {
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 3px;
}
.b-recommend-executors__item__gallery__item .b-recommend-executors__item__gallery__img1, .b-recommend-executors__item__gallery__item .b-recommend-executors__item__gallery__img2 {
    position: absolute;
    width: 3px;
    overflow: hidden;
    background-position: 100% 0;
    background-repeat: no-repeat;
    background-size: 10000% 10000%;
}