
/*
  root element for the scrollable.
  when scrolling occurs this element stays still.
  */
.scrollable {

    /* required settings */
    position:relative;
    overflow:hidden;
    width: 800px;
    height:150px;
	padding-bottom: 40px;

    /* custom decorations */
    /* border:1px solid #ccc; */
}

.video .scrollable {height:410px; width: 684px;}

/*
   root element for scrollable items. Must be absolutely positioned
   and it should have a extremely large width to accomodate scrollable
   items.  it's enough that you set the width and height for the root
   element and not for this element.
*/
.scrollable .items {
    /* this cannot be too large */
    width:20000em;
    position:absolute;
    clear:both;
}

.items div {
    float:left;
    width:800px;
}

.video .items div {
    width:686px;
}

/* single scrollable item */
.scrollable img {
    float:left;
    margin:20px 5px 20px 21px;
    background-color:#fff;
    padding:2px;
    border:1px solid #ccc;
    width:100px;
    height:75px;

    -moz-border-radius:4px;
    -webkit-border-radius:4px;
}

/* active item */
.scrollable .active {
    border:2px solid #000;
    position:relative;
    cursor:default;
}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {
	.scrollable {width: 600px;}
	.items div {width: 600px;}
}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {
	.scrollable {width: 380px; padding-bottom: 90px; padding-top: 50px;}
	.items div {width: 380px;}
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
	.scrollable {width: 400px; padding-bottom: 90px; padding-top: 50px;}
	.items div {width: 400px;}
	.attribution {font-size: 19px;}
	p.quote {font-size: 21px; line-height: 30px;}
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {
	.scrollable {width: 210px; padding-bottom: 90px; padding-top: 50px;}
	.items div {width: 210px;}
}