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-ml{
padding: 16px 0;
padding-left: 15px;
padding-right: 15px;
@media (max-width: 768px) {
padding-right: 0;
padding-left: 0;
}
}
.col-mr {
padding: 16px 0;
padding-left: 15px;
padding-right: 15px;
@media (max-width: 768px) {
padding-right: 0;
padding-left: 0;
}
}
Brian Canini
committed
.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;
}
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
.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 {
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;
}
@media (max-width: 768px) {
padding: 20px;
}
Brian Canini
committed
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
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
// --------------------------------------------------
//## 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.
.landing-page .carousel.adv-callout-desktop {
overflow: visible;
max-height: none;
}
.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;
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
}
.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;
}
.transparent {
background: transparent;
}
}
.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;
}
a {
color: $brand-red;
&:hover {
color: $brand-gray;
}
}
}
.field--name-field-av-cb-link {
text-align: right;
position: absolute;
right: 0;
bottom: 0;
padding: 6px 0;
a {
color: $white;
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;
}
470
471
472
473
474
475
476
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
@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;
}
// ---------------------------------------------------
//## 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;
a {
color: $brand-red;
&:hover {
color: $brand-gray;
}
}
@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;
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
@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 {
// ---------------------------------------------------
//## Pull Quote
.paragraph--type--pull-quote {
padding: 20px;
}
// ---------------------------------------------------
//## 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
}
// --------------------------------------------------
//## Text.
.paragraph--type--text {
.field--type-text-long {
iframe {
@media (max-width: 768px) {
padding: 0 20px;
}
}
}
}
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;
}