+/* THUMBNAILS */
+.newtab-thumbnail {
+ background-origin: padding-box;
+ background-clip: padding-box;
+ background-repeat: no-repeat;
+ background-size: cover;
+ transition: opacity 100ms ease-out;
+}
+
+.newtab-site:hover .newtab-thumbnail.enhanced-content {
+ opacity: 0;
+}
+
+.newtab-site[type=affiliate] .newtab-thumbnail,
+.newtab-site[type=enhanced] .newtab-thumbnail,
+.newtab-site[type=organic] .newtab-thumbnail,
+.newtab-site[type=sponsored] .newtab-thumbnail {
+ background-position: center center;
+ background-size: auto;
+}
+
+/* TITLES */
+.newtab-sponsored,
+.newtab-title {
+ padding: 0 8px;
+ background-color: rgba(255,159,0,.8);
+ color: #000000;
+ line-height: 24px;
+ bottom: 0 !important;
+}
+
+.newtab-site[type=sponsored] .newtab-title {
+ -moz-padding-end: 24px;
+}
+
+.newtab-site:hover .newtab-title {
+ background-color: #FFCF00;
+}
+
+.newtab-site[pinned] .newtab-title {
+ padding: 0 15px;
+}
+
+.newtab-site[pinned] .newtab-title::before {
+ background-image: -moz-image-rect(url("chrome://browser/skin/newtab/controls.svg"), 7, 278, 28, 266);
+ background-size: 10px;
+ content: "";