Newer
Older
@import "../helpers/mixins";
@import "../helpers/variables";
@import "../helpers/functions";
//
// Paragraphs
// --------------------------------------------------
//## Paragraph Column Styles.
.paragraph--type--columns-1 {
width: $full - 10;
margin: $center-margin;
margin-top: 30px;
}
.paragraph--type--columns-2 {
margin-top: 30px;
}
.paragraph--type--columns-3 {
margin-top: 30px;
}
.paragraph--type--columns-4 {
margin-top: 30px;
}
.paragraph--type--accordion .field, .paragraph--type--tabs .field {
padding: 20px;
}
.para_2_col, .para_3_col, .para_4_col {
Brian Canini
committed
h2, h3, h4, h5, h6 {
margin-top: 0;
line-height: 20px;
}
}
Brian Canini
committed
.col-l {
padding: 16px 0;
Brian Canini
committed
padding-left: 0;
padding-right: 15px;
@media (max-width: 768px) {
padding-right: 0;
padding-left: 0;
}
}
.col-m {
padding: 16px 0;
padding-right: 7.5px;
padding-left: 7.5px;
Brian Canini
committed
@media (max-width: 768px) {
padding-right: 0;
padding-left: 0;
}
}
.col-r {
padding: 16px 0;
Brian Canini
committed
padding-right: 0;
padding-left: 15px;
@media (max-width: 768px) {
padding-right: 0;
padding-left: 0;
}
}
.col-f {
padding: 16px 0;
Brian Canini
committed
padding-right: 0;
padding-left: 0;
}
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
.container {
@media (max-width: 768px) {
padding: 0;
.call-out-container {
margin: 15px 0;
}
}
}
.col-xs-12 {
@media (max-width: 768px) {
margin-bottom: 20px;
}
}
}
// --------------------------------------------------
//## Accordion.
.paragraph--type--accordion {
.field {
padding: 20px;
p {
Brian Canini
committed
margin: 0 0 16px;
.field--name-field-media-file {
padding: 0;
margin-bottom: 15px;
}
.panel-default {
border: none;
}
.panel-heading {
border: none;
Brian Canini
committed
padding: 0;
border-top-right-radius: 0;
border-top-left-radius: 0;
}
.card-header {
margin: 0 0 10px;
.panel-title {
color: #b00;
Brian Canini
committed
margin: 0;
border-color: transparent;
border-style: none;
border-width: 0;
background-color: transparent;
width: 100%;
text-align: left;
Brian Canini
committed
background: #f5f5f5;
padding: 10px 15px;
border-top-right-radius: 3px;
border-top-left-radius: 3px;
Brian Canini
committed
svg, i {
float: right;
margin-top: 5px;
color: #787878;
}
}
}
.paragraph--type--accordion .panel div:nth-last-child(2) {
margin-bottom: 0 !important;
}
// ---------------------------------------------------
Brian Canini
committed
//## Buttons
Brian Canini
committed
.btn-par {
font-weight: 600;
text-transform: uppercase;
Brian Canini
committed
.fa-angle-right {
margin-left: 10px;
}
.btn-fullw-wrapper {
color: $brand-gray;
}
.btn-fullw {
text-align: center;
padding: 10px;
border: solid $brand-gray 2px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-ms-border-radius: 5px;
border-radius: 5px;
&:hover {
text-decoration: underline;
background-color: #efefef;
}
}
text-align: center;
padding: 10px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-ms-border-radius: 5px;
border-radius: 5px;
&:hover {
text-decoration: underline;
}
}
// ---------------------------------------------------
//## Button Stack
.paragraph--type--button-stack {
.btn {
margin-bottom: 10px;
display: table;
}
}
Brian Canini
committed
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
// --------------------------------------------------
//## Call Out Boxes.
.call-out-container {
.img-link-wrapper:hover + .field--type-link a {
color: $brand-red;
text-decoration: underline;
}
.field--item:hover > a {
color: $brand-red;
text-decoration: underline;
}
a {
color: #444444;
font-size: 20px;
padding-top: 5px;
font-weight: 500;
&:hover {
color: $brand-red;
text-decoration: underline;
}
}
.field--type-link {
width: 100%;
border-bottom: $brand-red solid 5px;
margin-bottom: 15px;
.field--item {
padding: 15px;
background: $brand-lgray;
}
@media (max-width: 768px) {
margin-bottom: 0;
}
}
}
.dgray-bg,
.dscarlet-bg,
.dviolet-bg,
.dteal-bg,
.dpurple-bg,
.dgreen-bg,
.dorange-bg {
.call-out-container {
a {
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
}
}
// --------------------------------------------------
//## Call Out Boxes - Advanced.
.carousel.adv-callout-desktop {
display: block;
@media (max-width: 768px) {
display: none;
}
}
.carousel.adv-callout-mobile {
display: none;
@media (max-width: 768px) {
display: block;
.col-xs-12.col-adv-call-mobile {
padding: 0;
}
}
.adv-call-mobile-bl,
.adv-call-mobile-bm,
.adv-call-mobile-br {
background: $brand-lgray;
}
.paragraph__column .col-r.adv-call-mobile-br,
.paragraph__column .col-m.adv-call-mobile-bm,
.paragraph__column .col-l.adv-call-mobile-bl {
margin: 16px 0;
padding: 0;
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
}
.carousel.adv-callout-carousel {
margin: 30px 0;
overflow: visible;
.row {
display: flex;
.col-l {
flex: 1;
background: $brand-lgray;
margin: 0 12px;
padding: 0 0 30px;
}
.col-m {
flex: 1;
background: $brand-lgray;
margin: 0 12px;
padding: 0 0 30px;
}
.col-r {
flex: 1;
background: $brand-lgray;
margin: 0 12px;
padding: 0 0 30px;
}
}
.last-row {
display: block;
}
.container {
@media (max-width: 768px) {
margin-bottom: 20px;
}
}
}
.call-out-adv-container {
.field--name-field-av-cb-text {
padding: 20px;
p, h2, h3, h4, h5, h6, a {
color: $gray;
}
}
.field--name-field-av-cb-link {
text-align: right;
position: absolute;
right: 0;
bottom: 0;
padding: 6px 0;
a {
color: $white;
background: $red-base;
padding: 10px;
@media (max-width: 768px) {
width: 100%;
display: block;
}
}
@media (max-width: 768px) {
text-align: center;
position: relative;
width: 100%;
}
}
}
.control-l {
position: absolute;
left: 0;
top: 40%;
background: #3d3d3d;
border: none;
height: 90px;
width: 50px;
border-radius: 0;
i {
text-align: center;
line-height: 75px;
font-size: 2em;
}
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
@media (max-width: 768px) {
position: relative;
bottom: 0;
width: 100px;
}
}
.control-l.btn:hover,
.control-l.btn:active,
.control-l.btn:focus,
.control-l.btn:visited {
background: #999;
}
.control-r {
position: absolute;
right: 0;
top: 40%;
background: #3d3d3d;
border: none;
height: 90px;
width: 50px;
border-radius: 0;
i {
text-align: center;
line-height: 75px;
font-size: 2em;
}
@media (max-width: 768px) {
position: relative;
bottom: 0;
width: 100px;
}
}
.control-r.btn:hover,
.control-r.btn:active,
.control-r.btn:focus,
.control-r.btn:visited {
background: #999;
}
.landing-page .carousel .carousel-inner.adv-call-mob-inner {
display: block;
background: $brand-lgray;
}
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
// ---------------------------------------------------
//## Call Out Boxes - Horizontal
.cb-h {
background: #EFF1F2;
float: left;
display: flex;
width: 100%;
.cb-h-l {
padding: 0;
flex:1;
}
.cb-h-r {
flex:1;
.field--name-field-cb-h-text {
padding: 25px 40px 25px 10px;
@media (max-width: 768px) {
padding: 0 0 20px;
}
}
.field--name-field-cb-h-button {
text-align: right;
position: absolute;
right: 0;
bottom: 0;
padding: 6px 0;
a {
color: $white;
background: $red-base;
padding: 10px;
@media (max-width: 768px) {
width: 100%;
display: block;
}
}
@media (max-width: 768px) {
text-align: center;
position: relative;
width: 100%;
}
}
}
@media (max-width: 768px) {
display: block;
}
}
.hor-arrows {
.control-l,
.control-r {
background: rgba(0,0,0,0.5);
}
@media (max-width: 768px) {
text-align: center;
margin-top: 10px;
}
}
.landing-page .carousel.hor-callout-carousel {
max-height: none;
@media (max-width: 768px) {
.carousel-inner {
.item {
flex-shrink: 1;
}
}
}
}
// ---------------------------------------------------
//## Media
.file {
.file-icon {
span {
color: $red-base;
}
}
.file-link {
a {
color: $red-base;
}
}
.file-size {
color: $red-base;
}
}
// ---------------------------------------------------
//## Slide
.slide-txt-container {
width: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 100;
height: 100%;
@media (max-width: 768px) {
max-height: 100%;
}
padding: 20px;
text-align: center;
width: 50%;
margin: auto;
position: relative;
top: 50%;
transform: perspective(1px) translateY(-50%);
@media (max-width: 768px) {
Brian Canini
committed
display: flex;
align-items: center;
justify-content: center;
Brian Canini
committed
.slide-txt-wrapper {
Brian Canini
committed
h2 {
font-size: 36px;
Brian Canini
committed
font-weight: bold;
color: $gray-dark;
line-height: 1.1;
Brian Canini
committed
font-size: 15px;
margin-top: 0;
Brian Canini
committed
p {
font-size: 18px;
margin: 25px 0;
Brian Canini
committed
color: $gray-dark;
Brian Canini
committed
@media (max-width: 768px) {
Brian Canini
committed
}
.btn {
white-space: normal;
}
Brian Canini
committed
width: 100%;
margin: 0 auto;
font-size: 18px;
Brian Canini
committed
.btn-wrapper {
Brian Canini
committed
min-width: 25%;
margin: 10px;
Brian Canini
committed
background: $brand-red;
display: inline-block;
color: $white;
text-transform: uppercase;
Brian Canini
committed
padding: 5px;
.btn-primary {
background-color: transparent;
border-color: transparent;
border: 0;
border-radius: 0;
}
Brian Canini
committed
svg, i {
padding-top: 1px;
}
&:hover {
background: #8E0101;
}
@media (max-width: 768px) {
display: block;
width: 100%;
Brian Canini
committed
margin: 0 0 8px 0;
Brian Canini
committed
font-weight: 700;
}
.btn-fullw-wrapper {
background: transparent;
color: $brand-gray;
&:hover {
background: transparent;
}
}
Brian Canini
committed
width: 100%;
margin: 0 auto;
font-size: 18px;
Brian Canini
committed
.btn-wrapper {
Brian Canini
committed
min-width: 40%;
margin: 10px;
Brian Canini
committed
background: $brand-red;
display: inline-block;
color: $white;
text-transform: uppercase;
Brian Canini
committed
padding: 5px;
.btn-primary {
background-color: transparent;
border-color: transparent;
border: 0;
border-radius: 0;
}
Brian Canini
committed
svg, i {
padding-top: 1px;
}
&:hover {
background: #8E0101;
}
@media (max-width: 768px) {
display: block;
width: 100%;
Brian Canini
committed
margin: 0 0 8px 0;
Brian Canini
committed
font-weight: 700;
}
.btn-fullw-wrapper {
background: transparent;
color: $brand-gray;
&:hover {
background: transparent;
}
}
Brian Canini
committed
}
Brian Canini
committed
width: 100%;
margin: 0 auto;
font-size: 18px;
Brian Canini
committed
.btn-wrapper {
Brian Canini
committed
min-width: 50%;
margin: 10px;
Brian Canini
committed
background: $brand-red;
display: inline-block;
color: $white;
text-transform: uppercase;
Brian Canini
committed
padding: 5px;
.btn-primary {
background-color: transparent;
border-color: transparent;
border: 0;
border-radius: 0;
}
Brian Canini
committed
svg, i {
padding-top: 1px;
}
&:hover {
background: #8E0101;
}
@media (max-width: 768px) {
display: block;
width: 100%;
Brian Canini
committed
margin: 0 0 8px 0;
Brian Canini
committed
font-weight: 700;
}
.btn-fullw-wrapper {
background: transparent;
color: $brand-gray;
&:hover {
background: transparent;
}
}
Brian Canini
committed
// ---------------------------------------------------
//## Special
.paragraph--type--tagline {
margin: 20px 0;
float: left;
}
// --------------------------------------------------
//## Tabs.
Brian Canini
committed
.paragraph--type--tabs {
.field {
padding: 20px;
}
.field--name-field-media-file {
padding: 0;
}
.field--name-field-media-image {
padding: 20px 0;
}
Brian Canini
committed
}
// --------------------------------------------------
//## Twitter.
.para_1_col .field--name-field-media-twitter {
margin: $center-margin;
width: 60%;
.col-xs-12 {
padding: 0;
}
}
// --------------------------------------------------
//## Video.
.paragraph--type--video iframe {
width: 100% !important;
}