/* plugins page */

section.plugins {
    margin-bottom: -30px;
}
.plugin-wrapper {
    margin-bottom: 30px;
    border: 2px #f2f2f2 solid;
    color: initial;
    position: relative;
    display: block;
    width: 100%;
    text-decoration: none;
}
.plugin-wrapper > header {
    padding: 23px;
    background: #f2f2f2;
    height: 144px;
}
.plugin-wrapper > span {
    height: 21px;
    line-height: 22px;
    padding: 0 7px;
    background: #f04112;
    position: absolute;
    top: -2px;
    right: -2px;
    font-size: 0.706em;
    color: white;
}
.plugin-wrapper > span:before {
    content: '';
    position: absolute;
    top: 0;
    left: -9px;

    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 9px 21px 0;
    border-color: transparent #f04112 transparent transparent;
}
.plugin-wrapper > span.updated {
    background-color: #f19800;
}
.plugin-wrapper > span.updated:before {
    border-color: transparent #f19800 transparent transparent;
}

.plugin-wrapper > header h3 {
    margin-top: -1px;
}
.plugin-wrapper > header > div:first-child {
    width: 94px;
    margin-right: 25px;
}
.plugin-wrapper > header > div:first-child img {
    width: 100%;
}

.plugin-wrapper > header > div:last-child {
    position: relative;
    height: 100%;
}
.plugin-wrapper > header div.stat {
    font-size: 0.765em;
    color: #666666;
}
.plugin-wrapper > header div.stat.min-version {
    bottom: 0;
    position: absolute;
}
a.plugin-wrapper > header div.stat {
    position: absolute;
    max-width: 100%;
    bottom: -4px;
    left: 0;
}
.plugin-wrapper > header div.stat b {
    color: #111111;
}
.plugin-wrapper > header div.stat > div {
    padding-bottom: 2px;
}

.plugin-wrapper > div.price {
    padding: 18px 25px 0;
    font-size: 0.941em;
    font-weight: 400;
}
.plugin-wrapper > ul {
    padding: 13px 25px 18px;
    font-size: 0.882em;
}
.plugin-wrapper > ul > li:not(:last-child) {
    padding-bottom: 5px;
}

div.download {
    padding: 10px 25px 25px;
}
div.download div.support {
    margin-top: 50px;
}
div.download span.price {
    color: #2a2a2a;
    font-size: 1.529em;
    display: block;
    padding-bottom: 20px;
}

/* pic gallery */
ul.pic-gallery {
    margin-bottom: 20px;
}
ul.pic-gallery > li {
    display: inline-block;
    margin-right: 10px;
}
ul.pic-gallery > li img {
    border: 2px #f2f2f2 solid;
}
/* pic gallery end */

/* changelog */
div.changelog > div {
    margin-bottom: 27px;
}
div.changelog > div:last-child {
    margin-bottom: 0;
}
div.changelog > div div.version {
    margin-right: 13px;
}
div.changelog > div > ul {
    margin: 10px 0 0 45px;
}
/* changelog end */

/* comments */
ul.comments > li {
    background: #fffecc;
    padding: 24px 30px;
    margin-bottom: 30px;
}
ul.comments > li:last-child {
    margin-bottom: 0;
}
ul.comments > li span.title {
    font-weight: 400;
    padding-bottom: 9px;
    display: block;
}
ul.comments > li span.author {
    padding-top: 20px;
    display: block;
    color: #666666;
    font-size: 0.882em;
}
/* comments end */

/* tag cloud */
.tag-cloud {
    text-align: center;
    margin-top: 45px;
}
/* tag cloud end */

/*** ALL DESKTOP VIEWS ***/
@media screen and (min-width: 992px) {
    a.plugin-wrapper:hover {
        border-color: #dcf0ff;
        text-decoration: none;
    }
    a.plugin-wrapper:hover > header {
        background-color: #dcf0ff;
    }
}
/*** TABLET VIEW ***/
@media screen and (min-width: 768px) and (max-width: 991px) {
    div.plugin-wrapper > ul {
        position: absolute;
        top: 23px;
        right: 25px;
        max-width: 380px;
        padding: 0;
    }
    div.download {
        padding-top: 25px;
        position: relative;
    }
    div.download div.support {
        position: absolute;
        right: 25px;
        top: 35px;
        margin: 0;
    }
    div.download span.price {
        display: inline-block;
        margin-right: 40px;
        padding-top: 7px;
        padding-bottom: 0;
    }
}
/*** MOBILE VIEW ***/
@media screen and (max-width: 767px) {
    .plugin-wrapper > header > div:first-child {
        width: 64px;
    }
    nav.navigation {
        margin-top: 28px;
        margin-bottom: 25px;
    }
    nav.navigation span.right {
        float: left;
    }
    nav.navigation span.left {
        margin-bottom: 20px;
        text-align: center;
        float: none;
        display: block;
    }
    .filter span.selector ul {
        left: auto;
        right: 0;
    }
    #installation_tab {
        display: none;
    }
    div.download span.price {
        padding-bottom: 0;
    }
    div.download span.price + a {
        display: none;
    }
    div.download div.support {
        margin-top: 30px;
    }
}
