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.
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
.carousel.adv-callout-desktop {
display: block;
@media (max-width: 768px) {
display: none;
}
}
.carousel.adv-callout-mobile {
display: none;
@media (max-width: 768px) {
display: block;
}
}
.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;
}
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
@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 .adv-call-mob-inner {
display: block;
background: $brand-lgray;
}
// ---------------------------------------------------
//## 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;
}