 :root { --imageslider-height: calc( 100vh - 100px); --imageslider-max-height: calc( 100vh - 100px); } @media screen and (min-width: 920px) { :root { --imageslider-height: calc( 100vh - 150px); --imageslider-max-height: calc( 100vh - 150px); } } @media screen and (min-width: 1200px) { :root { --imageslider-height: calc( (100vw * 10) / 20); } } @-webkit-keyframes bounce { 0%, 100% { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } 50% { -webkit-transform: translate3d(0, 5px, 0); transform: translate3d(0, 5px, 0); } } @keyframes bounce { 0%, 100% { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } 50% { -webkit-transform: translate3d(0, 5px, 0); transform: translate3d(0, 5px, 0); } } .bounce { -webkit-animation-name: bounce; animation-name: bounce; } .usimageslider { display: block; z-index: 0; height: 440px; overflow: hidden; background: #000000; width: 100vw; position: relative; top: 0; left: 0; max-height: var(--imageslider-max-height); } .imagesliderItem { width: 100vw; height: 440px; z-index: 1; } .imagesliderItem.active { width: 100vw; height: 440px; z-index: 105; } .scrolldown { position: absolute; bottom: 20px; left: 50%; margin-left: -25px; height: 50px; line-height: 50px; width: 50px; text-align: center; z-index: 99990; font-size: 22px; color: #FFFFFF; transition: all 0.2s ease-in-out; animation: bounce infinite 1s ease-in-out; text-shadow: 0 0 10px rgba(0, 0, 0, 0.2); } .usimageslider .imageslideleft, .usimageslider .imageslideright { position: absolute; top: 50%; left: -50px; margin-top: -25px; height: 50px; line-height: 50px; width: 50px; text-align: center; z-index: 998; font-size: 22px; border-radius: 0 4px 4px 0; background: #2B3394; color: #FFFFFF; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3); transition: all 0.2s ease-in-out; cursor: pointer; opacity: 0; } .usimageslider .imageslideright { left: auto; right: -50px; border-radius: 4px 0 0 4px; } .usimageslider:hover .imageslideleft { left: 0; opacity: 1; } .usimageslider:hover .imageslideright { right: 0; opacity: 1; } .usimageslider .imageslideleft:hover, .usimageslider .imageslideright:hover { background: #595FAB; } .usimageslider .imageslidePoints { position: absolute; bottom: 35px; left: 15px; margin-left: 0; width: 200px; text-align: left; z-index: 500; height: 8px; } .usimageslider .imageslidePoints a { display: inline-block; border: 1px solid rgba(255, 255, 255, 0.66); height: 8px; width: 8px; background: rgba(0, 0, 0, 0.15); transition: all 0.2s ease-in-out; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25); border-radius: 4px; margin: 0 5px; } .usimageslider .imageslidePoints a:hover { border: 1px solid white; background: rgba(255, 255, 255, 0.15); } .usimageslider .imageslidePoints a.active { background: #FFFFFF; } .flex-imageslider { display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-pack: start; webkit-justify-content: flex-start; -ms-flex-pack: flex-start; justify-content: flex-start; flex-direction: column; flex-wrap: wrap; align-items: flex-start; margin: 0 auto; height: 440px; width: 100vw; } .flex-imageslider.half .flex-media, .flex-imageslider.half .flex-content { flex-basis: auto; } .usimageslider-overlay { position: relative; bottom: auto; right: auto; color: #333333; text-shadow: 0 0 0 rgba(255, 255, 255, 0); background: #FFFFFF; padding: 30px 0 0 0; } .usimageslider-overlay hgroup { margin: 0 !important; } .usimageslider-overlay h2 { font-family: 'Lato', sans-serif; font-size: 12px; font-weight: 700; line-height: 24px; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 5px 0 !important; opacity: 1; color: rgba(0, 0, 0, 0.5); text-align: center; } .usimageslider-overlay h2 a { color: inherit !important; text-decoration: none !important; font-weight: inherit !important; } .usimageslider-overlay h1 { font-family: 'Lato', sans-serif; font-size: 32px; font-weight: 300; line-height: 42px; color: #000000; text-align: center; } .usimageslider-overlay h1 strong { font-weight: 600; } @media screen and (min-width: 900px) { .usimageslider { height: var(--imageslider-height); overflow: hidden; } .imagesliderItem { height: var(--imageslider-height); max-height: var(--imageslider-max-height); } .flex-imageslider { display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-pack: start; webkit-justify-content: flex-start; -ms-flex-pack: flex-start; justify-content: flex-start; flex-direction: row; flex-wrap: wrap; align-items: stretch !important; margin: 0 auto; height: 520px; height: var(--imageslider-height) !important; max-height: var(--imageslider-max-height); width: 100vw; } .flex-imageslider.reverse { flex-direction: row-reverse !important; } .flex-imageslider .flex-media, .flex-imageslider.twoonethird .flex-media { flex-basis: calc(66%); } .flex-imageslider .flex-content, .flex-imageslider.twoonethird .flex-content { flex-basis: calc(34%); } .flex-imageslider .flex-content.textonly { flex-basis: 100%; } .flex-imageslider.half .flex-media, .flex-imageslider.half .flex-content { flex-basis: calc(50%); } .usimageslider .full .flex-media { position: absolute; top: 0; left: 0; right: 0; z-index: 10; height: 520px; height: var(--imageslider-height); width: 100vw; display: flex; max-height: var(--imageslider-max-height); } .usimageslider .full .flex-media img { object-fit: cover; width: 100vw; height: 100%; object-position: center; } .usimageslider .full .flex-content { display: block; background: rgba(255, 255, 255, 0.88); text-shadow: 0 0 10px #FFFFFF; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 0 40px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.33); position: absolute; top: 0; right: 0; height: 520px; height: var(--imageslider-height) !important; width: calc( 100vw * 0.34); vertical-align: middle; z-index: 500; align-self: center; } .usimageslider .full.light .flex-content { background: rgba(0, 0, 0, 0.5); text-shadow: 0 0 10px #000000; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1); } .flex-imageslider .flex-media { margin: 0 0 0 0; height: auto; } .flex-imageslider .flex-media img { object-fit: cover; width: 100%; height: 100%; object-position: center; } .usimageslider-overlay { position: absolute; bottom: 80px; right: 0; left: 0; color: #FFFFFF; text-shadow: 0 0 10px rgba(0, 0, 0, 0.2); background: transparent; padding: 0 0 0 0; } .usimageslider-overlay hgroup { margin: 0 !important; } .usimageslider-overlay h2 { font-family: 'Lato', sans-serif; font-size: 12px; font-weight: 700; line-height: 24px; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 5px 0 !important; opacity: 1; color: rgba(255, 255, 255, 0.5); text-align: center; } .usimageslider-overlay h2 a { color: inherit !important; text-decoration: none !important; font-weight: inherit !important; } .usimageslider-overlay h1 { color: #FFFFFF; text-align: center; } .usimageslider-overlay h1 strong { font-weight: 600; } } @media screen and (min-width: 768px) { .usimageslider-overlay h1 { font-size: 42px; line-height: 52px; } } @media screen and (max-width: 899px) { .flex-imageslider .flex-media { margin: 0 0 0 0; height: 440px; } .flex-imageslider .flex-media img { object-fit: cover; width: 100vw; height: 100%; object-position: center; } .usimageslider .flex-content { position: absolute; bottom: 0; left: 0; right: 0; z-index: 99; } .usimageslider .flex-imageslider:after { position: absolute; bottom: 0; left: 0; right: 0; height: 220px; z-index: 20; content: ''; background: -moz-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.4) 100%); background: -webkit-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.4) 100%); background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#66000000',GradientType=0 ); } .usimageslider .flex-content .text { display: none; } .usimageslider .flex-content h3, .usimageslider .flex-content h3 a { color: #FFFFFF !important; text-shadow: 0 0 25px rgba(0, 0, 0, 0.75); } .usimageslider .imageslideleft { left: 0; opacity: 1; } .usimageslider .imageslideright { right: 0; opacity: 1; } .usimageslider .imageslidePoints { left: 50%; margin-left: -100px; width: 200px; text-align: center; z-index: 500; } body .usimageslider a.theme-button, body .usimageslider a.theme-button-primary, body .usimageslider a.theme-button-secondary { background-color: transparent !important; color: rgba(255, 255, 255, 0.8) !important; border: 2px solid rgba(255, 255, 255, 0.8); text-shadow: 0 0 25px rgba(0, 0, 0, 0.75) !important; box-shadow: 0 0 25px rgba(0, 0, 0, 0.4) !important; } body .usimageslider a.theme-button:hover, body .usimageslider a.theme-button-primary:hover, body .usimageslider a.theme-button-secondary:hover { background-color: transparent !important; color: white !important; border: 2px solid white !important; } .imagesliderItem .btn { margin: 0 0 40px 0; padding: 0; } } .usimageslider .flex-content { margin: 0 0 0 0; height: auto; padding: 30px; text-align: center; align-self: center; } .usimageslider .flex-content h3 { display: block; margin: 0; color: #194075; font-size: 30px; line-height: 40px; font-weight: 400 !important; text-align: center; text-transform: none !important; margin: 30px 0 30px 0; } .usimageslider .flex-content h3 a { color: #194075; text-decoration: none; } .usimageslider .flex-content .text { max-width: 390px; margin: 0 auto 30px auto; } .usimageslider .light .flex-content h3, .usimageslider .light .flex-content h3 a, .usimageslider .light .flex-content .text { color: #FFFFFF !important; } 