.set-of-words-box__wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.5rem;
}
.set-of-words-box {
    flex: 0 1 16.666%;
    padding: 0 0.5rem;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.set-of-words {
    overflow: hidden;
}

.set-of-words__item {
    /*margin-bottom: 20px;*/
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: #2f4051 !important;
    margin-left: auto;
    margin-right: auto;
    height: 100%;
    background: #fff;
    position: relative;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.11);
}

.set-of-words__item:hover {
    color: black;
}

.set-of-words__item-pic {
    height: 203px;
    position: relative;
    overflow: hidden;
}

.set-of-words__item-pic-img {
    background-position: center center;
    -webkit-background-size: cover;
    background-size: cover;
    width: 100%;
    height: 203px;
    -webkit-transition: transform .6s;
    -o-transition: transform .6s;
    transition: transform .6s;
}

.set-of-words__item:hover .set-of-words__item-pic-img {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

.set-of-words__item .set-of-words__item-pic > * {
    z-index: 1;
}

.set-of-words__item .set-of-words__item-pic-buttons {
    background-color: rgba(0, 0, 0, .5);
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    text-align: center;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    z-index: 2;
    padding-top: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.set-of-words__item-pic-buttons .redesign-button i path{
    fill: #fff;
}
.set-of-words__item:hover .set-of-words__item-pic-buttons {
    opacity: 1;
}

.set-of-words__item .set-of-words__item-pic-buttons-item {
    font-size: 12px;
}

.set-of-words__item .set-of-words__item-pic-buttons-item span {
    line-height: 1;
    margin-left: 3px;
}

.set-of-words__head {
    padding: 10px 13px;
    height: 66px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -ms-align-items: center;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 18px;
}
.for_popup_repetition{
    max-width: 240px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.set-of-words__pic {
    position: relative;
    border-top: 1px dashed #bfbfbf;
    border-bottom: 1px dashed #bfbfbf;
    height: 180px;
    overflow: hidden;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.set-of-words__pic img {
    max-height: 100%;
}

.set-of-words__pic .row {
    height: 50%;
}

.set-of-words__pic .row {
    background: #e0e0e0;
}

.set-of-words__pic .row img {
    width: 50%;
}

.set-of-words__pic_view_noimg {
    background: #f0f4fb url('/templates/svg/icons/sets.svg') center center no-repeat;
    -webkit-background-size: 110px;
    background-size: 110px;
    padding-top: 15px;
}

.set-of-words__card-pic {
    border-top: 1px dashed #bfbfbf;
    overflow: hidden;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 300px;
    margin: 0 -10px;
    background: #e0e0e0;
}

.set-of-words__card-footer {
    margin: 0 -10px;
    border-top: 1px dashed #bfbfbf;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
    padding: 10px 10px 0;
}

.set-of-words__play-icon svg path {
    fill: #19abec;
}

.set-of-words__list-item {
    padding: 15px 0;
    border-bottom: 1px dashed #bfbfbf;
    cursor: pointer;
}

.set-of-words__list-item:hover,
.set-of-words__list-item.set-of-words__list-item_select {
    background-color: #eff6f8;
}

.set-of-words__head-text {
    line-height: 20px;
}

a.set-of-words__head-text {
    color: #333 !important;
    text-decoration: none;
}

a.set-of-words__head-text:hover {
    text-decoration: underline;
}

.j-copy_set.english-button.english-button_style_green.english-button_size_m {
    background-color: transparent;
    color: #000 !important;
    box-shadow: none;
    cursor: default;
}

.j-copy_set.english-button.english-button_style_green.english-button_size_m.active {
    color: #fff !important;
    background-color: #79c177;
    box-shadow: inset 0 -3px 0 0 #599f57;
    -webkit-box-shadow: inset 0 -3px 0 0 #599f57;
}

.set-of-words__list-item:last-child {
    border-bottom: none;
}

.set-of-words__card-footer .balloon__buttons__add__success {
    text-align: center;
}

.set-of-words__added_msg,
.set-of-words__known_msg {
    display: none;
}

.set-of-words__card .balloon__buttons__add__success__cancel span {
    font-size: 12px;
}

.set-of-words__card .balloon__buttons__add__success {
    margin: 0;
}

.upload-set_cover:hover {
    text-decoration: underline;
}

.upload-set_cover {
    color: red;
}

.upload-set_cover {
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    font-size: 11px;
}

.set-of-words__pic-noimage {
    background-color: #f6f6f6;
    width: 100%;
    height: 100%;
    position: relative;
}

.set-of-words__pic-noimage > .puzzle-icon,  .set-of-words__pic-noimage span > .puzzle-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.set-of-words__pic-noimage > .puzzle-icon svg path, .set-of-words__pic-noimage span > .puzzle-icon svg path {
    fill: #dbdbdb;
}

.set-of-words__pic-buttons {
    display: none;
    background-color: rgba(0, 0, 0, .6);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.set-of-words__item:hover .set-of-words__pic-buttons {
    display: block;
}

.set-of-words__subheader-link {
    font-size: 18px;
    text-decoration: none;
    line-height: 1.2;
}

.set-of-words__subheader-link-text {
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .6);
}

.set-of-words__subheader-link-text:hover {
    border-bottom: 1px solid transparent;
}

.set-of-words__subheader-link-num {
    color: #9bbfd9;
}

.set-of-words__pic-noimage-popup {
    width: 298px;
    height: 298px;
    margin: 0 auto;
}

.set-of-words__pic-noimage-popup .set-of-words__pic-buttons > .puzzle-icon svg path {
    fill: #585858;
}

.set-of-words__pic-noimage-popup .set-of-words__pic-buttons {
    display: block;
}
.set-of-words__pic-noimage-popup:hover .set-of-words__pic-buttons{
    display: block !important;
}

.set-of-words__title-back .puzzle-link {
    text-decoration: none;
    font-size: 14px;
}

.set-of-words__wrapper {
    background: #f2f6fa;
    padding: 30px 0;
}

.set-of-words__title-text {
    font-size: 32px;
    font-weight: bold;
    color: #2f4051;
}

i.sets_own_in_all_sets g {
    fill: #ccc !important;
}

div.sets_own_in_all_sets:hover {
    border-bottom: 1px dashed #000;
}

.not_delete_button_set {
    border-bottom: 1px dashed #000;
    cursor: pointer;
}

.daw_icon path {
    fill: #41cc41;
}

.daw_icon_edit path {
    fill: #f78714;
}

.set-of-words__group-title {
    font-size: 24px;
    font-weight: bold;
    color: #2f4051;
    margin-bottom: 20px;
}

.set-of-words__item-empty-message {
    width: 130px;
    position: absolute;
    left: 50%;
    top: 50%;
    text-align: center;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.set-of-words__item-empty-message-icon {
    margin-bottom: 10px;
}

.set-of-words__item-empty-message-icon svg path {
    fill: #79c257;
}

.set-of-words__item-empty-message-text {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.25;
    color: #79c257;
}

.set-of-words__filter-content {
  padding: 20px 25px;
  background-color: #fff;
}

.set-of-words__item-footer {
    /*height: 62px;*/
    padding: 9px 10px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.11;
    /*overflow: hidden;*/
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.set-of-words__item-footer a {
    text-decoration: none;
    color: #2f4051;
}

.set-of-words__item-added-icon {
    position: absolute;
    right: 10px;
    top: 10px;
}

.set-of-words__item-added-icon.daw_edit path:first-child{
    fill: #65a8e0;
}
.set-style_button_in_popup{
    width: 100%;
    padding: 13px 0;
}

.set-of-words__item-my-badge.puzzle-movies__selected-ribbon {
    height: 26px;
    bottom: auto;
    top: 10px;
    padding-top: 6px;
}

.set-of-words__item-my-badge.puzzle-movies__selected-ribbon::after {
   border: 13px solid transparent;
   border-top-color: #df362c;
   border-bottom-color: #df362c;
   right: -12px;
}

.set-of-words__item-my-badge span {
    font-size: 14px;
    vertical-align: top;
}

.set-of-words__item-words {
    font-size: 12px;
    background-color: rgba(0, 0, 0, .85);
    color: #b4b4b5;
    position: absolute;
    bottom: 8px;
    left: 10px;
    padding: 4px 6px;
    border-radius: 3px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#setTooltip {
    color: #333;
}

#setTooltip .popover__body{
    padding: 0;
    box-shadow: 0 5px 20px 0 rgba(0,0,0, .3);
    max-width: 430px;
    background: #fff;
    border-radius: 5px;
}

#setTooltip .popover__body .puzzle-tooltip {
    padding: 10px;
}
#setTooltip .puzzle-popover .react-popover__corner{
    border-bottom: 6px solid #fff;
}

@media only screen and (max-width:1200px) {
    .set-of-words-box {
        flex: 0 1 20%;
    }
}

@media only screen and (max-width:1100px) {
    .set-of-words-box {
        flex: 0 1 25%;
    }
}

@media only screen and (max-width:992px) {
    .set-of-words-box {
        flex: 0 1 33.33%;
    }
}

@media only screen and (max-width:768px) {
    .set-of-words-box {
        flex: 0 1 50%;
    }
}

@media only screen and (max-width:375px) {
    .set-of-words-box {
        flex: 0 1 100%;
    }
}
