ul.flickrthumbs {
    overflow: hidden;
    margin: 0;
    text-align: left;
    padding: 0;
    list-style:none;
}

li.flickrthumb {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 20px 0 0 20px;
    padding: 0;
    float: left;
    overflow: hidden;
}

a.flickrlink {
    padding:0;
    margin:0;
    overflow: hidden;
}

img.flickrimage {
    width: 100%;
    height: 100%;
    padding:0;
    margin:0;
    overflow: hidden;
}

.btn-fth {
    width: 100%;
    height: 100%;
    border-radius: 0;
    background-color: #ddd;
    color: #212124;
    white-space: normal;
    padding-top: 20px;
}

.btn-fth:hover {
    color: #ddd;
    background-color: #000;
}

#flickr {
    font-family: Tahoma, Verdana, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 900;
    font-size: 250%;
}

/* Media queries based on Bootstrap 3 break points (http://getbootstrap.com/css/) */

@media (max-width: 412px) {  /* at most iPhone 6s */
    li.flickrthumb {
	width: calc(100% - 2 * 20px);
    }
}

@media (min-width:413px) and (max-width:767px) {  /* iPhone &s Plus - @screen-xs-max */
    li.flickrthumb {
	width: calc((100% - 3 * 20px) / 2);
    }
}

/* From here on, we are in a 2-column layout, and our available space is 8 out of 12 Bootstrap columns. */

@media (min-width: 768px) and (max-width: 991px) {  /* @screen-sm-min - @screen-sm-max */
    /* Container width is 750px, column width is ~62px */
    li.flickrthumb {
	width: 215px;  /* experimental */
	/* height: 161px; */
    }
}

@media (min-width: 992px) and (max-width: 1199px) {  /* @screen-md-min - @screen-md-max */
    /* Container width is 970px */
    li.flickrthumb {
	width: 185px;  /* experimental */
	/* height: 139px; */
    }
}

@media (min-width: 1200px) {  /* @screen-lg-min */
    /* Container width is 1170px */
    li.flickrthumb {
	width: 167px;  /* experimental */
	/* height: 125px; */
    }
}
