set more elemtns to clear: both
[ryf-theme.git] / css / style.css
CommitLineData
1e7a45c4
VSB
1/**
2 * If using a CSS pre-processor, tell it to overwrite this file. If not, place
3 * your custom CSS modifications here.
4 */
5
5b916836
VSB
6/* Lato font */
7
8@font-face {
9 font-family: "Lato";
90484a67 10 src: url("../fonts/Lato-Regular.ttf") format('truetype');
5b916836
VSB
11 font-weight: 400;
12 font-style: normal;
13}
14
15@font-face {
16 font-family: "Lato";
90484a67 17 src: url('../fonts/Lato-RegularItalic.ttf') format('truetype');
5b916836
VSB
18 font-weight: 400;
19 font-style: italic;
20}
21
22@font-face {
23 font-family: "Lato";
90484a67 24 src: url('../fonts/Lato-Bold.ttf') format('truetype');
5b916836
VSB
25 font-weight: 700;
26 font-style: normal;
27}
28
29
30/* Universal */
31
a48bd8b4
AE
32@media screen {
33
34 body {
35 font-family: "Lato", Helvetica, Arial, sans-serif;
36 margin: 0;
37 min-width: 320px;
38 }
39
40 a { transition: 0.3s; }
1e7a45c4 41
a48bd8b4 42 section { position: relative; }
b4ed810a 43
a48bd8b4 44}
bbb30910
AE
45
46/* etcetera */
47
a48bd8b4
AE
48@media screen {
49
50 .visually-hidden.focusable:focus {
51 position: absolute !important;
52 background: #000;
53 color: #FFF;
54 padding: 0.5em;
55 z-index: 9999;
56 }
57
58 .main-container { min-height: 50vh; }
59
60 h2.block-title {
61 background: #337AB7;
26f9e62d
VSB
62 color: #FFF;
63 padding: 0.5em;
a48bd8b4 64 }
092ce192 65
bbb30910 66
aca4887b 67
a48bd8b4
AE
68 h2.block-title a:visited,
69 h2.block-title a:focus,
70 h2.block-title a:active,
71 h2.block-title a {
72 color: #FFF;
73 }
aca4887b 74
a48bd8b4
AE
75 h2.block-title a:hover {
76 color: #FFF;
77 }
9493fc8b 78
a48bd8b4
AE
79 .feed-icons a {
80 background: url('../images/rss.svg') top left no-repeat;
81 background-size: contain;
82 height: 20px;
83 overflow: hidden;
84 display: block;
85 text-indent: 25px;
86 font-size: 1em;
87 width: fit-content;
88 margin-top: 1em;
89 float: right;
90 }
9493fc8b 91
a48bd8b4
AE
92 .view-display-id-news_page .feed-icons a {
93 margin-top: -30px;
94 }
3cc6e9f4 95
a48bd8b4
AE
96 .more-link {
97 border: 1px solid #ddd;
98 border-radius: .5em;
99 padding: .5em;
100 text-align: center;
101 width: 50%;
102 margin: 0 auto;
103 font-weight: bold;
104 margin-top: 2em;
105 }
3cc6e9f4 106
a48bd8b4
AE
107 .more-link:hover {
108 background: #EEE;
109 color: #000;
110 }
bbb30910 111
a48bd8b4
AE
112 .block-views {
113 margin-top: 20px;
114 }
3cc6e9f4 115
bbb30910
AE
116}
117
118/* Navbar */
119
a48bd8b4 120@media screen {
1e7a45c4 121
a48bd8b4
AE
122 .navbar-default {
123 background: #000;
124 color: #FFF;
125 border: none;
126 border-radius: 0px;
127 box-sizing: content-box;
128 align-items: center;
129 min-height: 100px;
130 }
1e7a45c4 131
a48bd8b4
AE
132 .navbar-header,
133 #navbar-collapse {
134 max-width: 1150px;
135 padding: 0;
136 margin: 0 auto;
137 border: none;
138 overflow: hidden;
139 }
bfc9c2d3 140
a48bd8b4 141 .navbar-default .navbar-toggle { display: none; }
1e7a45c4 142
a48bd8b4
AE
143 .navbar-header {
144 position: absolute;
145 top: 5px;
146 }
ccc0e97e 147
a48bd8b4 148 .navbar-brand { display: none; }
ccc0e97e 149
a48bd8b4 150 #block-ryf-main-menu .navbar-nav { margin-left: 195px; }
ee748803 151
a48bd8b4
AE
152 .navbar-default .navbar-nav > li > a:focus {
153 outline: none;
154 }
b4ed810a 155
a48bd8b4
AE
156 .navbar-default .navbar-nav > li > a,
157 .navbar-default .navbar-nav > li > a:link,
158 .navbar-default .navbar-nav > li > a:visited {
159 color: #FFF;
160 background: #000;
161 border-bottom: 2px solid transparent;
162 padding-bottom: 10px;
163 margin-bottom: 5px;
164 }
b4ed810a 165
a48bd8b4
AE
166 .navbar-default .navbar-nav > li > a:focus,
167 .navbar-default .navbar-nav > li.active > a:hover,
168 .navbar-default .navbar-nav > li > a:hover {
169 color: #edd400;
170 background: #000;
171 border-bottom: 2px solid #edd400;
172 padding-bottom: 5px;
173 margin-bottom: 10px;
174 }
1fb61412 175
a48bd8b4
AE
176 .navbar-default .navbar-nav > li > a.is-active {
177 border-bottom: 2px solid #FFF;
178 background: #000;
179 padding-bottom: 5px;
180 margin-bottom: 10px;
181 }
cafdcde8 182
a48bd8b4
AE
183 .page-header {
184 border-bottom: 2px solid #000;
185 font-size: 2em;
186 }
187
188 .region-header .search-block-form {
189 width: 300px;
190 float: right;
191 }
192
193 nav .search-block-form {
194 position: absolute;
195 width: 300px;
196 right: 10%;
197 top: 30px;
198 }
2cbded31 199
1fb61412
VSB
200}
201
d2af0057
AE
202@media screen and (max-width: 767px) {
203 #block-ryf-main-menu .navbar-nav { max-width: 130px; }
204}
a48bd8b4 205
31ef14eb
AE
206.region-navigation-collapsible .search-block-form {
207 float: right;
208 width: 210px;
209}
210
81342c63 211@media screen and (min-width: 768px) {
4f6bd63c
VSB
212
213 .navbar-default {
214 margin-bottom: 100px;
215 }
216 .navbar-nav {
217 margin-top: 40px;
218 }
219 .region-header .breadcrumb {
220 position: absolute;
221 top: -70px;
222 left: 200px;
223 background: none;
224 }
225 .region-navigation-collapsible .search-block-form {
0b5c01d8 226 padding-top: 50px;
4f6bd63c 227 }
81342c63
AE
228}
229
a48bd8b4
AE
230@media screen {
231
232 .maintenance-page #navbar {
233 margin-bottom: 120px;
234 }
9ec7bd06
AE
235}
236
5235611e 237
cd0efca0
AE
238/* Selectors */
239
5235611e 240
cd0efca0
AE
241@media screen and (min-width: 768px) {
242 .form-inline .form-item .select-wrapper {
243 display: block;
244 }
245 .form-inline .form-actions {
246 margin-top: 21px;
247 }
248}
249
9d4869aa
VSB
250/* News */
251
a48bd8b4 252@media screen {
9d4869aa 253
a48bd8b4
AE
254 .view-news article {
255 padding: 0.5em;
256 margin: 0 10%;
257 }
9d4869aa 258
a48bd8b4
AE
259 .view-news p {
260 line-height: 1.5em;
261 font-size: 1.1em;
262 }
9d4869aa 263
a48bd8b4
AE
264 .view-news .node-readmore {
265 padding: 0.5em 1em;
266 border: 1px solid #DDD;
267 border-radius: 0.5em;
268 float: right;
269 }
270
271 .view-news .node-readmore:hover {
272 background: #EEE;
273 color: #000;
274 }
275
276 .view-news footer {
277 color: #999;
278 padding: 0.5em;
279 text-align: right;
280 }
9d4869aa 281
9d4869aa
VSB
282}
283
5235611e 284
16670121 285/* RYF List */
b4ed810a 286
5235611e 287
a48bd8b4 288@media screen {
aa68642c 289
a48bd8b4
AE
290 .ryf-list-row {
291 padding: 0;
292 margin: 0 auto;
293 overflow: auto;
294 }
b4ed810a 295
a48bd8b4
AE
296 .ryf-list {
297 float: left;
298 margin: 0;
299 padding: 0.5em;
300 position: relative;
301 list-style: none;
302 }
1e7a45c4 303
a48bd8b4
AE
304 .ryf-list article {
305 border: 1px solid #bbb;
306 border-radius: 5px;
307 padding: 1em;
308 box-shadow: 2px 2px 5px #ddd;
309 transition: 0.3s;
310 }
311
312 .ryf-list article:hover {
313 box-shadow: 0px 0px 5px #aaa;
314 }
315
316 .ryf-list .field--type-image {
317 border: 1px solid #ddd;
318 border-left: 0px;
319 border-right: 0px;
320 background: #fff;
321 height: 150px;
322 width: 100%;
323 overflow: hidden;
324 border-radius: 5px;
325 position: relative;
326 text-align: center;
327 display: flex;
328 align-items: center;
329 }
1e7a45c4 330
a48bd8b4
AE
331 .ryf-list .field--type-image a {
332 display: inline-block;
333 margin: 0 auto;
334 }
c9c0ee2c 335
a48bd8b4
AE
336 .ryf-list .field--type-image img {
337 width: auto;
338 max-height: 150px;
339 margin: 0 auto;
340 display: inline-block;
341 }
16670121 342
a48bd8b4
AE
343 .ryf-list h2 {
344 text-align: left;
345 font-size: 1.5em;
346 line-height: 1.2em;
347 margin: 0;
348 padding: 0;
349 }
b4ed810a 350
a48bd8b4
AE
351 .ryf-list .field--name-body {
352 display: block;
353 border-radius: 5px;
354 width: 100%;
355 height: 0px;
356 margin-top: 0px;
357 z-index: 99;
358 position: relative;
359 background: #00000088;
360 color: white;
361 padding: 0em;
362 transition: 0.2s;
363 cursor: default;
364 overflow: hidden;
365 }
489d2ac8 366
a48bd8b4
AE
367 .ryf-list:hover .field--name-body {
368 height: 100px;
369 margin-top: -100px;
370 z-index: 99;
371 position: relative;
372 padding: 0.3em;
373 transition: 0.3s;
374 }
489d2ac8 375
a48bd8b4
AE
376 .ryf-list a {
377 color: #337AB7;
378 }
b4ed810a 379
a48bd8b4
AE
380 .ryf-list a:hover {
381 color: #000;
382 }
b4ed810a 383
a48bd8b4
AE
384 .ryf-list .list-inline li {
385 font-size: 0.9em;
386 border: 1px solid #ddd;
387 width: auto;
388 border-radius: 0.5em;
389 padding: 0.3em 0.5em;
390 margin-top: 5px;
391 float: right;
392 }
1e7a45c4 393
a48bd8b4
AE
394 .ryf-list h2 a {
395 display: inline-block;
396 height: 55px;
397 width: 100%;
398 overflow: hidden;
399 position: relative;
400 }
16670121 401
4febaa31 402/*
a48bd8b4
AE
403 .ryf-list h2 a:after {
404 content: '(...)';
405 float: right;
406 display: block;
407 position: absolute;
408 bottom:5px;
409 right: 2px;
410 font-size: 0.8em;
411 }
4febaa31 412*/
489d2ac8 413
a48bd8b4
AE
414 .ryf-list .list-inline li:hover {
415 background: #eee;
416 }
489d2ac8 417
16670121
VSB
418}
419
e3fe14a1 420@media screen and (min-width: 450px) and (max-width: 659px) {
bd3568e1 421 .ryf-list-row {
aa68642c
AE
422 max-width: 600px;
423 }
e3fe14a1
AE
424 .ryf-list {
425 max-width: 300px;
426 float: none;
427 margin: 0 auto;
428 }
429}
430@media screen and (min-width: 660px) and (max-width: 767px) {
bd3568e1 431 .ryf-list-row {
e3fe14a1
AE
432 margin: 0 auto;
433 max-width: 660px;
434 }
435 .ryf-list {
436 max-width: 300px;
437 float: left;
438 }
b9bef353 439 .auto-clear .col-xs-12:nth-child(odd){clear:left;}
e3fe14a1
AE
440}
441
fd931c9b
VSB
442@media screen and (min-width: 55em) {
443
444 .ryf-list article {
489d2ac8 445 min-height: 270px
fd931c9b
VSB
446 }
447
448}
449
16670121 450
dbd9476a
AE
451/* Vendors list */
452
5235611e 453
a48bd8b4 454@media screen {
00227dc4 455
a48bd8b4
AE
456 .vendors-list-row {
457 padding: 10px;
458 margin: 0 auto;
459 overflow: auto;
460 }
dbd9476a 461
a48bd8b4
AE
462 .vendors-list {
463 margin-bottom: 40px;
464 list-style: none;
dbd9476a 465
a48bd8b4
AE
466 overflow: auto;
467 }
dbd9476a 468
a48bd8b4
AE
469 .vendors-list .views-field-field-icon {
470 width: 220px;
471 height: 220px;
dbd9476a 472
a48bd8b4
AE
473 display: flex;
474 align-items: center;
dbd9476a 475
a48bd8b4
AE
476 margin: 0px auto 20px auto;
477 }
dbd9476a 478
a48bd8b4
AE
479 .vendors-list .views-field-field-icon img {
480 margin: 0 auto;
481 }
482
483 .vendors-list .views-field-name,
484 .vendors-list .views-field-field-description-summary,
485 .vendors-list .views-field-description__value {
486 max-width: 300px;
487 margin: 0 auto 10px auto;
488 }
489
490 .vendors-list .views-field-name {
491 font-weight: bold;
492 font-size: 18px;
493 text-align: center;
494 }
dbd9476a 495
dbd9476a
AE
496}
497
498
f39cdbbc
AE
499/* Sidebars */
500
501
502@media screen and (max-width: 767px) {
503 .path-products #block-views-block-categories-categories-block { display: none; }
504}
505
506
222cefba
AE
507/* Vendor and Category taxonomy term pages */
508
509
a48bd8b4 510@media screen {
5df3859d 511
a48bd8b4
AE
512 .view-taxonomy-term .view-header .field--name-field-icon img {
513 margin: 0 auto;
514 }
515
516 .view-filters {
517 clear: left;
518 }
519
520 .view-taxonomy-term .view-header .field--name-field-vendor-support-link,
521 .view-taxonomy-term .view-header .field--name-field-vendor-support-email {
522 margin-top: 15px;
523 }
5df3859d 524
728032e9
AE
525}
526
222cefba 527@media screen and (max-width: 559px) {
c71d4a08 528 .view-taxonomy-term.view-display-id-taxonomy_term_vendor .view-header {
222cefba 529 margin: 0 auto 40px auto;
222cefba
AE
530 overflow: auto;
531 }
532
533 .view-taxonomy-term .view-header .field--name-field-icon {
534 margin: 0 auto 20px auto;
535 width: 220px;
536 }
537
728032e9 538 .view-taxonomy-term .view-header .field--name-description,
3ad409a4 539 .view-taxonomy-term .view-header .field--name-field-description-summary,
bcb5e2c7 540 .view-taxonomy-term .view-header .field--name-field-vendor-website,
728032e9
AE
541 .view-taxonomy-term .view-header .field--name-field-vendor-support-link,
542 .view-taxonomy-term .view-header .field--name-field-vendor-support-email {
222cefba 543 max-width: 360px;
728032e9 544 margin: 15px auto 0 auto;
222cefba
AE
545 padding: 0 10px;
546 }
547
222cefba
AE
548}
549
5df3859d 550@media screen and (min-width: 560px) {
c71d4a08 551 .view-taxonomy-term.view-display-id-taxonomy_term_vendor .view-header {
222cefba 552 margin: 0 0 40px 0;
222cefba
AE
553 overflow: auto;
554 }
555
556 .view-taxonomy-term .view-header .field--name-field-icon {
557 width: 220px;
222cefba
AE
558 float: left;
559 }
560
728032e9 561 .view-taxonomy-term .view-header .field--name-description,
3ad409a4 562 .view-taxonomy-term .view-header .field--name-field-description-summary,
bcb5e2c7 563 .view-taxonomy-term .view-header .field--name-field-vendor-website,
728032e9
AE
564 .view-taxonomy-term .view-header .field--name-field-vendor-support-link,
565 .view-taxonomy-term .view-header .field--name-field-vendor-support-email {
06e30721 566 margin: 15px auto 0 260px;
222cefba
AE
567 }
568
222cefba
AE
569}
570
571@media screen and (min-width: 768px) {
572 .view-taxonomy-term .view-header {
300bf8f5 573 max-width: 700px;
222cefba
AE
574 }
575}
576
577
4d7da022
AE
578/* Product */
579
5235611e 580
d679ca4e
AE
581@media screen and (max-width: 767px) {
582 .page-node-type-product .product {
583 max-width: 382px;
584 margin: 0 auto;
585 }
586}
587
21d9e444
AE
588@media screen and (min-width: 768px) and (max-width: 991px) {
589 .page-node-type-product .product {
590 width: 700px;
591 margin: 0 auto;
592 }
4d7da022
AE
593}
594
21d9e444
AE
595@media screen and (min-width: 992px) {
596 .page-node-type-product .product {
597 width: 800px;
598 margin: 0 auto;
599 }
600}
4d7da022 601
a48bd8b4 602@media screen {
aa0f7f3d 603
a48bd8b4
AE
604 .page-node-type-product .product .field--name-field-image {
605 padding: 10px;
4d7da022 606
a48bd8b4
AE
607 border: 1px solid #888;
608 border-radius: 10px;
609 }
4d7da022 610
a48bd8b4
AE
611 .page-node-type-product .product .field--name-field-image img {
612 margin: 0 auto;
613 }
d679ca4e 614
a48bd8b4
AE
615 .page-node-type-product .product .field--name-field-extra-images {
616 padding: 0 11px;
617 display: flex;
618 align-items: center;
619 }
433e107d 620
a48bd8b4 621 .page-node-type-product .product .field--name-field-extra-images .field--item {
77fcf082 622 display: inline-block;
a48bd8b4
AE
623 margin-right: 15px;
624 padding: 5px;
625 }
626 .page-node-type-product .product .field--name-field-extra-images .field--item:last-child {
627 margin-right: 0;
628 }
b6875de9 629
a48bd8b4
AE
630 .page-node-type-product .product .field--name-field-categories,
631 .page-node-type-product .product .field--name-field-vendor {
632 margin: 10px 10px 20px 0px;
633 padding: 10px;
634 }
635
636 .page-node-type-product .product .field--name-field-categories .field--item {
637 display: list-item;
638 list-style: circle;
639 margin-left: 15px;
640 }
641
642 /* Mostly from Bootstrap 3 button CSS */
643 .page-node-type-product .product .field--name-field-vendor-product-link a {
644 color: #fff;
645 background-color: #337ab7;
646 border-color: #2e6da4;
647 display: inline-block;
648 margin-bottom: 0;
649 font-weight: normal;
650 text-align: center;
651 white-space: nowrap;
652 vertical-align: middle;
653 -ms-touch-action: manipulation;
654 touch-action: manipulation;
655 cursor: pointer;
656 background-image: none;
657 border: 1px solid transparent;
658 padding: 6px 12px;
659 font-size: 14px;
660 line-height: 1.42857143;
661 border-radius: 4px;
662 -webkit-user-select: none;
663 -moz-user-select: none;
664 -ms-user-select: none;
665 user-select: none;
666 text-decoration: none;
667 }
668
669 #block-views-block-categories-categories-block ul {
670 margin: 0; padding: 0 10px;
671 list-style: none;
672 }
673
674 #block-views-block-categories-categories-block li {
675 padding: 5px 10px;
676 border: 1px solid #DDD;
677 border-radius: 5px;
678 list-style: none;
679 margin: 5px 0;
680 }
681
682 #block-views-block-categories-categories-block li:hover {
683 background: #EEE;
684 color: #000;
685 }
686
687 #block-views-block-categories-categories-block a {
688 width: 100%;
689 display: block;
690 }
b6875de9 691
a48bd8b4
AE
692 /* product page colors */
693 .page-node-type-product .product .field--name-field-image {
694 background-color: #fff;
695 border-color: #aaa;
696 }
b6875de9 697
28ff698e 698}
28ff698e 699
d679ca4e
AE
700@media screen and (max-width: 767px) {
701 .page-node-type-product .product .field--name-field-extra-images {
702 margin: 10px auto 0px auto;
21d9e444 703 }
4d7da022 704
b766958e 705 .page-node-type-product .product .field--name-body,
5e90ea8b 706 .page-node-type-product .product .field--name-field-product-announcement,
b766958e
AE
707 .page-node-type-product .product .field--name-field-vendor-product-link,
708 .page-node-type-product .product .field--name-field-certification-details,
709 .page-node-type-product .product .field--name-field-certification-date,
710 .page-node-type-product .product .field--name-field-source-code-links {
5e90ea8b 711 padding-top: 20px;
21d9e444 712 }
4d7da022 713
b766958e
AE
714 .page-node-type-product .product .field--name-field-categories,
715 .page-node-type-product .product .field--name-field-vendor {
9b263139 716 margin-bottom: 0px;
21d9e444 717 float: left;
21d9e444 718 }
4d7da022 719
5e90ea8b 720 .page-node-type-product .product .field--name-body,
ed6e4fe5
AE
721 .page-node-type-product .product .field--name-field-product-announcement,
722 .page-node-type-product .product .field--name-field-vendor-product-link,
723 .page-node-type-product .product .field--name-field-certification-details,
724 .page-node-type-product .product .field--name-field-certification-date,
725 .page-node-type-product .product .field--name-field-source-code-links {
21d9e444
AE
726 clear: both;
727 }
4d7da022
AE
728}
729
21d9e444
AE
730
731@media screen and (min-width: 768px) {
732 .page-node-type-product .product .field--name-field-image {
733 width: 382px;
21d9e444 734 float: left;
21d9e444
AE
735 }
736
737 .page-node-type-product .product .field--name-field-extra-images {
738 float: left;
739 clear: left;
21d9e444 740 width: 382px;
21d9e444 741 margin-top: 10px;
21d9e444
AE
742 }
743
b766958e 744 .page-node-type-product .product .field--name-body,
5e90ea8b 745 .page-node-type-product .product .field--name-field-product-announcement,
b766958e
AE
746 .page-node-type-product .product .field--name-field-vendor-product-link,
747 .page-node-type-product .product .field--name-field-certification-details,
748 .page-node-type-product .product .field--name-field-certification-date,
749 .page-node-type-product .product .field--name-field-source-code-links {
21d9e444 750 margin-left: 400px;
5e90ea8b 751 margin-top: 20px;
21d9e444
AE
752 }
753
754 .page-node-type-product .product .field--name-field-categories {
755 float: left;
756 clear: left;
757 }
758
759 .page-node-type-product .product .field--name-field-vendor {
760 float: left;
761 }
762
4d7da022
AE
763}
764
765
9f8b2429
AE
766/* News and Product Announcements */
767
768
a48bd8b4
AE
769@media screen {
770
771 .page-node-type-product-announcement .page-header,
772 .page-node-type-product-announcement .tabs--primary,
773 .page-node-type-product-announcement .region-content,
774 .page-node-type-general-news-item .page-header,
775 .page-node-type-general-news-item .tabs--primary,
776 .page-node-type-general-news-item .region-content,
777 .page-node-type-page .page-header,
778 .page-node-type-page .tabs--primary,
779 .page-node-type-page .region-content,
780 .path-news .page-header,
781 .path-news .tabs--primary,
782 .path-news .region-content {
783 max-width: 800px;
784 margin: 0 auto;
785 }
9f8b2429 786
a48bd8b4
AE
787 /* don't apply above max-width rule to main page */
788 .path-frontpage .page-header,
789 .path-frontpage .tabs--primary,
790 .path-frontpage .region-content {
791 max-width: 2000px; /* high number beyond the max */
792 }
8499d9cd 793
a48bd8b4
AE
794 .page-node-type-page .page-header {
795 margin-bottom: 20px;
796 }
dca6d2ea 797
a48bd8b4
AE
798 .path-news h2,
799 .block-views-blocknews-news-block article h2 {
800 font-size: 25px;
801 }
9f8b2429 802
a48bd8b4
AE
803 .page-node-type-product-announcement .author,
804 .page-node-type-general-news-item .author {
805 margin: 10px 0 20px 0;
806 font-style: oblique;
807 }
9f8b2429 808
a48bd8b4
AE
809 .page-node-type-product-announcement .field--name-body,
810 .page-node-type-general-news-item .field--name-body {
811 margin-bottom: 20px;
812 }
9f8b2429 813
a48bd8b4
AE
814 .page-node-type-product-announcement .field--name-field-external-news-link,
815 .page-node-type-general-news-item .field--name-field-external-news-link {
816 margin-bottom: 20px;
817 }
818
819 .page-node-type-product-announcement .field--name-field-vendor-page,
820 .page-node-type-product-announcement .field--name-field-announced-products {
821 margin-bottom: 20px;
822 }
9f8b2429 823
9f8b2429
AE
824}
825
826
41399eb4
AE
827/* Search Results */
828
829
830@media screen and (max-width: 600px) {
f12cbe51 831 .path-search .region-content > ol {
41399eb4
AE
832 width: 300px;
833 }
834}
835@media screen and (min-width: 601px) and (max-width 1000px) {
f12cbe51 836 .path-search .region-content > ol {
41399eb4
AE
837 width: 560px;
838 }
839}
840@media screen and (min-width: 1001px) {
f12cbe51 841 .path-search .region-content > ol {
41399eb4
AE
842 width: 900px;
843 }
844}
845
a48bd8b4
AE
846@media screen {
847
848 .path-search .region-content > ol {
849 margin: 0 auto;
850 padding-left: 0;
851 overflow: auto;
852 }
41399eb4 853
a48bd8b4
AE
854 .path-search .region-content > ol li {
855 width: 280px;
856 height: 320px;
857 margin: 0px auto;
858 padding: 10px;
41399eb4 859
a48bd8b4 860 float: left;
41399eb4 861
a48bd8b4
AE
862 list-style: none;
863 overflow: hidden;
864 }
41399eb4 865
a48bd8b4
AE
866 .path-search .region-content > ol li h3 {
867 text-align: center;
868 }
41399eb4 869
a48bd8b4
AE
870 .path-search .region-content > ol li .search-image {
871 width: 220px;
872 height: 220px;
41399eb4 873
a48bd8b4 874 margin: 0 auto;
41399eb4 875
a48bd8b4
AE
876 display: flex;
877 align-items: center;
878 }
41399eb4 879
a48bd8b4
AE
880 .path-search .region-content > ol li p {
881 display: block;
882 width: 220px;
883 margin: 0 auto;
884 }
59ee2942 885
a48bd8b4
AE
886 .path-search .region-content > ol li img {
887 }
41399eb4
AE
888}
889
890
16670121
VSB
891/* Footer */
892
a48bd8b4 893@media screen {
16670121 894
a48bd8b4
AE
895 .footer {
896 background: #333;
897 color: #FFF;
898 }
06b1f67a 899
a48bd8b4
AE
900 #email-signup .email-input {
901 color: #000;
902 display: block;
903 margin-bottom: 10px;
904 }
905 #email-signup .action-button {
906 color: #000;
907 display: block;
908 }
fd931c9b 909
a48bd8b4 910 /* full page width for footer */
c900f9d4 911
a48bd8b4
AE
912 .footer {
913 width: 100%;
914 }
915
916 .footer a { color: #edd400; }
16670121 917
a48bd8b4 918 .footer a:hover { color: #FFF; }
16670121 919
a48bd8b4 920 .footer h4 { font-weight: bold; }
16670121 921
a48bd8b4 922 .footer .copyright { font-size: 0.9em; text-align: center; width: 80%; margin-top: 1em; border-top: 1px solid #111; padding: 1em; }
16670121 923
a48bd8b4
AE
924 #fsf-logo-footer { margin-bottom: 10px; }
925}
0bd91ac3 926
18f8d3b1
AE
927@media print { #fsf-logo-footer { filter: invert(100%) } }
928