html {
    width: 100%;
}

img {
    max-width: 220px;
}

.box {
    border: 1px solid white;
    border-radius: 3px;
    width: 25%;
    max-width: 350px;
    min-width: 150px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding: 1%;
}

p.text-center.info-text {
    font-size: 17px;
}

.pre-content {
    color: white;
    margin-top: -25px;
    margin-bottom: 21px;
    font-size: 16px;
}

a {
    color: white;
    font-size: 17px;
}

a:hover,
a:focus {
    text-decoration: none;
    color: white;
}

a:visited {
    color: white;
}

a.head {
    color: white;
    text-decoration: none;
    text-align: center;
}

.head,
li,
h2 {
    margin-bottom: 15px;
}

.head {
    text-decoration: none;
    font-size: 20px;
    display: block;
}

.content {
    display: none;
}

#improved li {
    position: relative;
    overflow: hidden;
}

.social-count {
    padding: 8px 7px 8px;
    font-size: 11px;
    font-weight: bold;
    background-color: #fff;
    line-height: 24px;
    color: #333333;
    vertical-align: middle;
    border: 1px solid #ddd;
    border-left: 0;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px
}

.btn-with-count {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

a.btn.btn-primary.btn-sm.btn-with-count.ui-link {
    color: white;
}

span.fa.fa-caret-down.fa-4x i {
    font-size: .5em;
}

span.fa.fa-caret-up.fa-4x i {
    font-size: .5em;
}

li {
    margin-left: auto;
    margin-right: auto;
}

img.resize {
    width: 50%;
    /* you can use % */

    height: auto;
}

ul li:nth-child(n5) {
    background-color: #ccc;
}

#improved li:nth-child(5) {
    background-color: orange;
}

span.fa.fa-chevron-up,
span.fa.fa-chevron-down {
    color: white;
}

.post-text-color {
    color: white;
}
/* Ribbon! */
.container-ribbon {
    margin: auto;
    padding-left: 50px;
    padding-right: 50px;
}
.ribbon {
    max-width: 360px;
    position: relative;
    text-align: center;
    margin: 26px auto 2.8em;
    padding-bottom: 15px;
    padding-top: 15px;
}

.ribbon:before,
.ribbon:after {
    content: "";
    position: absolute;
    display: block;
    bottom: -0.5em;
    border: 1em solid;
    z-index: -1;
}

.ribbon:before {
    left: -0.859em;
    border-right-width: 2.0em;
    border-left-width: .34em;
    border-left-color: transparent;
}

.ribbon:after {
    right: -0.859em;
    border-left-width: 2.0em;
    border-right-width: .34em;
    border-right-color: transparent;
}

.ribbon .ribbon-content:before,
.ribbon .ribbon-content:after {
    content: "";
    position: absolute;
    display: block;
    border-style: solid;
    bottom: -0.49em;
}

.ribbon .ribbon-content:before {
    border-width: 0.5em 0 0 1.48em;
}

.ribbon .ribbon-content:after {
    border-width: 0.5em 1.48em 0 0;
    right: 0;
}
