#series-outer {
    margin-bottom: 20px;
}

#series {
    margin-right: -4px;

}

#series li {
    width: 119px;
    float: left;
    margin-right: 4px;
    margin-bottom: 4px;
}

#series li a {
    width: 100%;
    height: 100%;
    padding: 10px 0 10px 0;
    color: white;
    font-weight: bold;
    text-decoration: none;
    background-color: none;
}

#series li a:hover {
    text-decoration: none;
    background-color: rgba(255,255,255, 0.1);
}

#series > li:nth-child(6n),
#series > li:nth-child(6n+3) {
    background-color: #3A86A8;
}

#series > li:nth-child(6n+1) {
    background-color: #999999;
}

#series > li:nth-child(6n+2),
#series > li:nth-child(6n+5) {
    background-color: #39835E;
}

#series > li:nth-child(6n+4) {
    background-color: #bb3a08;
}

#series-main {
    height: 430px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 4px;
}

#series-title {
    top: 30px;
    right: 30px;
    border: 9px solid white;
    color: white;
    text-transform: uppercase;
    font-size: 40px;
    font-weight: bold;
    line-height: 35px;
    padding: 12px 15px 8px 15px;
}

#series-data {
    height: 488px;
}

.series-sq {
    width: 242px;
    height: 242px;
    padding: 20px 10px 0 10px;
    color: white;
    text-align: center;
    font-size: 16px;
}

.series-sq img {
    margin-top: 20px !important;
    max-width: 80%;
}

#series-descr {
    top: 0;
    left: 0;
    width: 488px;
    height: 488px;
    background-color: #ccc;
    padding: 20px;
    text-align: left;
}

.icon-tile {
    width: 80px;
    padding-bottom: 10px;
}

.icon-tile img {
    width: 60px;
    height: 60px;
    margin-right: 20px;
}

.descr-tile {
    padding-bottom: 10px;
    font-size: 13px;
    font-weight: bold;
}

.descr-tile ul {
    list-style-type: circle;
    margin-left: 30px;
}

.descr-tile li {
    font-size: 14px;
    line-height: 18px;
}

#series-sq1 {
    top: 0;
    left: 492px;
    background-color: #39835E;
}

#series-sq2 {
    top: 0;
    right: 0;
    background-color: #3A86A8;
}

#series-sq3 {
    top: 246px;
    left: 492px;
    background-color: #bb3a08;
}

#series-sq4 {
    top: 246px;
    right: 0;
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(/img/series/show-all.png);
}

#series-show-all {
    left: 0;
    width: 100%;
    bottom: 20%;
    text-transform: uppercase;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    color: white;
}

@media screen and (max-width: 1033px) {

    #series li {
        width: 250px;
        font-size: 18px;
    }

    #series > li:nth-child(4n) {
        background-color: #3A86A8;
    }

    #series > li:nth-child(4n+1) {
        background-color: #999999;
    }

    #series > li:nth-child(4n+2) {
        background-color: #39835E;
    }

    #series > li:nth-child(4n+3) {
        background-color: #bb3a08;
    }

    #series-main {
        height: 334px;
    }

    #series-title {
        top: 20px;
        right: 20px;
        border: 7px solid white;
        font-size: 30px;
        line-height: 25px;
        padding: 8px 10px 5px 10px;
    }

    #series-data {
        height: 1266px;
    }

    .series-sq {
        width: 377px;
        height: 377px;
    }

    #series-descr {
        top: 0;
        left: 0;
        width: 758px;
        height: 504px;
        background-color: #ccc;
        padding: 30px 10px 0 30px;
    }

    #series-sq1 {
        top: 508px;
        left: 0;
    }

    #series-sq2 {
        top: 508px;
        right: 0;
    }

    #series-sq3 {
        top: 889px;
        left: 0;
    }

    #series-sq4 {
        top: 889px;
        right: 0;
    }

    .icon-tile {
        width: 80px;
        padding-bottom: 20px;
    }

    .icon-tile img {
        width: 60px;
        height: 60px;
        margin-right: 20px;
    }

    .descr-tile {
        padding-bottom: 20px;
        font-size: 14px;
        font-weight: bold;
    }

    .descr-tile ul {
        list-style-type: circle;
        margin-left: 30px;
    }

    .descr-tile li {
        font-size: 16px;
        line-height: 18px;
    }

    .series-sq img {
        margin-top: 20px !important;
        max-width: 100%;
    }

}

@media screen and (min-width: 1398px) {

    #series li {
        width: 164px;
        font-size: 14px;
    }

    #series-main {
        height: 590px;
    }

    #series-title {
        top: 40px;
        right: 40px;
        border: 10px solid white;
        font-size: 50px;
        line-height: 40px;
        padding: 15px 20px 10px 20px;
    }

    #series-data {
        height: 668px;
    }

    .series-sq {
        width: 332px;
        height: 332px;
    }

    #series-descr {
        top: 0;
        left: 0;
        padding: 40px 20px 20px 40px;
        width: 668px;
        height: 668px;
        background-color: #ccc;
    }

    #series-sq1 {
        top: 0;
        left: 672px;
    }

    #series-sq2 {
        top: 0;
        right: 0;
    }

    #series-sq3 {
        top: 336px;
        left: 672px;
    }

    #series-sq4 {
        top: 336px;
        right: 0;
    }

    .icon-tile {
        width: 120px;
        padding-bottom: 30px;
    }

    .icon-tile img {
        width: 100px;
        height: 100px;
        margin-right: 20px;
    }

    .descr-tile {
        padding-bottom: 30px;
        font-size: 16px;
        font-weight: bold;
    }

    .descr-tile ul {
        list-style-type: circle;
        margin-left: 30px;
    }

    .descr-tile li {
        font-size: 16px;
        line-height: 20px;
    }

    .series-sq img {
        margin-top: 20px !important;
        max-width: 100%;
    }


}