<footer id="footer">
<div class="footer-container footer-container--top">
<div class="footer-row footer-row--top">
<div class="footer-column footer-column--contact">
<div class="footer-locations">
<!-- Location 2 -->
<div>
<h4 class="footer-column__header sr-only">Headquarters</h4>
<a class="footer-column__header-link" href="/map-hours-directions-<%=TXT_SEF_URL_VEH_TYPES%>dealership--hours-headquarters" title="Map, Directions, & Hours for <%=TXT_DEALERSHIP_NAME%> in <%=TXT_DEALERSHIP_CITY_2%>">
<span class="footer-column__header">Headquarters</span>
<span class="footer-column__subheader"><%=TXT_DEALERSHIP_CITY_2%> <span><%=TXT_DEALERSHIP_STATENAME_2%></span></span>
</a>
<ul class="footer-column__list">
<li class="footer-phone footer-phone--local"><a class="footer-phone__link" href="tel:<%=TXT_PHONE_LOCAL_NUM_2%>" title="Call <%=TXT_DEALERSHIP_NAME%> in <%=TXT_DEALERSHIP_CITY_2%>"><%=TXT_PHONE_LOCAL_NUM_2%></a></li>
<li class="footer-address">
<a class="footer-address__link" href="/map-hours-directions-<%=TXT_SEF_URL_VEH_TYPES%>dealership--hours-headquarters" title="Map, Directions, & Hours for <%=TXT_DEALERSHIP_NAME%> in <%=TXT_DEALERSHIP_CITY_2%>">
<i class="fa fa-map-marker" aria-hidden="true"></i>
<span>
<span><%=TXT_DEALERSHIP_ADDRESS_2%>,</span>
<span><%=TXT_DEALERSHIP_CITY_2%>, <abbr title="<%=TXT_DEALERSHIP_STATENAME_2%>" aria-label="<%=TXT_DEALERSHIP_STATENAME_2%>"><%=TXT_DEALERSHIP_STATE_2%></abbr> <%=TXT_DEALERSHIP_ZIPCODE_2%></span>
</span>
</a>
</li>
</ul>
</div>
<!-- Location 1 -->
<div>
<h4 class="footer-column__header sr-only"><%=TXT_DEALERSHIP_NAME_LOCATION_SHORT%></h4>
<a class="footer-column__header-link" href="/map-hours-directions-<%=TXT_SEF_URL_VEH_TYPES%>dealership--hours-louisville" title="Map, Directions, & Hours for <%=TXT_DEALERSHIP_NAME%> in <%=TXT_DEALERSHIP_CITY%>">
<span class="footer-column__header"><%=TXT_DEALERSHIP_NAME_LOCATION_SHORT%></span>
<span class="footer-column__subheader"><%=TXT_DEALERSHIP_STATENAME%></span>
</a>
<ul class="footer-column__list">
<li class="footer-phone footer-phone--local"><a class="footer-phone__link" href="tel:<%=TXT_PHONE_LOCAL_NUM%>" title="Call <%=TXT_DEALERSHIP_NAME%> in <%=TXT_DEALERSHIP_CITY%>"><%=TXT_PHONE_LOCAL_NUM%></a></li>
<li class="footer-address">
<a class="footer-address__link" href="/map-hours-directions-<%=TXT_SEF_URL_VEH_TYPES%>dealership--hours-louisville" title="Map, Directions, & Hours for <%=TXT_DEALERSHIP_NAME%> in <%=TXT_DEALERSHIP_CITY%>">
<i class="fa fa-map-marker" aria-hidden="true"></i>
<span>
<span><%=TXT_DEALERSHIP_ADDRESS%>,</span>
<span><%=TXT_DEALERSHIP_CITY%>, <abbr title="<%=TXT_DEALERSHIP_STATENAME%>" aria-label="<%=TXT_DEALERSHIP_STATENAME%>"><%=TXT_DEALERSHIP_STATE%></abbr> <%=TXT_DEALERSHIP_ZIPCODE%></span>
</span>
</a>
</li>
</ul>
</div>
<!-- Location 3 -->
<div>
<h4 class="footer-column__header sr-only"><%=TXT_DEALERSHIP_CITY_3%></h4>
<a class="footer-column__header-link" href="/map-hours-directions-<%=TXT_SEF_URL_VEH_TYPES%>dealership--hours-columbus" title="Map, Directions, & Hours for <%=TXT_DEALERSHIP_NAME%> in <%=TXT_DEALERSHIP_CITY_3%>">
<span class="footer-column__header"><%=TXT_DEALERSHIP_CITY_3%></span>
<span class="footer-column__subheader"><%=TXT_DEALERSHIP_STATENAME_3%></span>
</a>
<ul class="footer-column__list">
<li class="footer-phone footer-phone--local"><a class="footer-phone__link" href="tel:<%=TXT_PHONE_LOCAL_NUM_3%>" title="Call <%=TXT_DEALERSHIP_NAME%> in <%=TXT_DEALERSHIP_CITY_3%>"><%=TXT_PHONE_LOCAL_NUM_3%></a></li>
<li class="footer-address">
<a class="footer-address__link" href="/map-hours-directions-<%=TXT_SEF_URL_VEH_TYPES%>dealership--hours-columbus" title="Map, Directions, & Hours for <%=TXT_DEALERSHIP_NAME%> in <%=TXT_DEALERSHIP_CITY_3%>">
<i class="fa fa-map-marker" aria-hidden="true"></i>
<span>
<span><%=TXT_DEALERSHIP_ADDRESS_3%>,</span>
<span><%=TXT_DEALERSHIP_CITY_3%>, <abbr title="<%=TXT_DEALERSHIP_STATENAME_3%>" aria-label="<%=TXT_DEALERSHIP_STATENAME_3%>"><%=TXT_DEALERSHIP_STATE_3%></abbr> <%=TXT_DEALERSHIP_ZIPCODE_3%></span>
</span>
</a>
</li>
</ul>
</div>
<!-- Location 4 -->
<div>
<h4 class="footer-column__header sr-only"><%=TXT_DEALERSHIP_NAME_LOCATION_4_SHORT%></h4>
<a class="footer-column__header-link" href="/map-hours-directions-<%=TXT_SEF_URL_VEH_TYPES%>dealership--hours-pittsburgh" title="Map, Directions, & Hours for <%=TXT_DEALERSHIP_NAME%> in <%=TXT_DEALERSHIP_CITY_4%>">
<span class="footer-column__header"><%=TXT_DEALERSHIP_NAME_LOCATION_4_SHORT%></span>
<span class="footer-column__subheader"><%=TXT_DEALERSHIP_STATENAME_4%></span>
</a>
<ul class="footer-column__list">
<li class="footer-phone footer-phone--local"><a class="footer-phone__link" href="tel:<%=TXT_PHONE_LOCAL_NUM_4%>" title="Call <%=TXT_DEALERSHIP_NAME%> in <%=TXT_DEALERSHIP_CITY_4%>"><%=TXT_PHONE_LOCAL_NUM_4%></a></li>
<li class="footer-address">
<a class="footer-address__link" href="/map-hours-directions-<%=TXT_SEF_URL_VEH_TYPES%>dealership--hours-pittsburgh" title="Map, Directions, & Hours for <%=TXT_DEALERSHIP_NAME%> in <%=TXT_DEALERSHIP_CITY_4%>">
<i class="fa fa-map-marker" aria-hidden="true"></i>
<span>
<span><%=TXT_DEALERSHIP_ADDRESS_4%>,</span>
<span><%=TXT_DEALERSHIP_CITY_4%>, <abbr title="<%=TXT_DEALERSHIP_STATENAME_4%>" aria-label="<%=TXT_DEALERSHIP_STATENAME_4%>"><%=TXT_DEALERSHIP_STATE_4%></abbr> <%=TXT_DEALERSHIP_ZIPCODE_4%></span>
</span>
</a>
</li>
</ul>
</div>
<!-- Location 5 -->
<div>
<h4 class="footer-column__header sr-only"><%=TXT_DEALERSHIP_CITY_5%></h4>
<a class="footer-column__header-link" href="/map-hours-directions-<%=TXT_SEF_URL_VEH_TYPES%>dealership--hours-burbank" title="Map, Directions, & Hours for <%=TXT_DEALERSHIP_NAME%> in <%=TXT_DEALERSHIP_CITY_5%>">
<span class="footer-column__header"><%=TXT_DEALERSHIP_CITY_5%></span>
<span class="footer-column__subheader"><%=TXT_DEALERSHIP_STATENAME_5%></span>
</a>
<ul class="footer-column__list">
<li class="footer-phone footer-phone--local"><a class="footer-phone__link" href="tel:<%=TXT_PHONE_LOCAL_NUM_5%>" title="Call <%=TXT_DEALERSHIP_NAME%> in <%=TXT_DEALERSHIP_CITY_5%>"><%=TXT_PHONE_LOCAL_NUM_5%></a></li>
<li class="footer-address">
<a class="footer-address__link" href="/map-hours-directions-<%=TXT_SEF_URL_VEH_TYPES%>dealership--hours-burbank" title="Map, Directions, & Hours for <%=TXT_DEALERSHIP_NAME%> in <%=TXT_DEALERSHIP_CITY_5%>">
<i class="fa fa-map-marker" aria-hidden="true"></i>
<span>
<span><%=TXT_DEALERSHIP_ADDRESS_5%>,</span>
<span><%=TXT_DEALERSHIP_CITY_5%>, <abbr title="<%=TXT_DEALERSHIP_STATENAME_5%>" aria-label="<%=TXT_DEALERSHIP_STATENAME_5%>"><%=TXT_DEALERSHIP_STATE_5%></abbr> <%=TXT_DEALERSHIP_ZIPCODE_5%></span>
</span>
</a>
</li>
</ul>
</div>
<!-- Location 6 -->
<div>
<h4 class="footer-column__header sr-only"><%=TXT_DEALERSHIP_CITY_6%></h4>
<a class="footer-column__header-link" href="/map-hours-directions-<%=TXT_SEF_URL_VEH_TYPES%>dealership--hours-batavia" title="Map, Directions, & Hours for <%=TXT_DEALERSHIP_NAME%> in <%=TXT_DEALERSHIP_CITY_6%>">
<span class="footer-column__header"><%=TXT_DEALERSHIP_CITY_6%></span>
<span class="footer-column__subheader"><%=TXT_DEALERSHIP_STATENAME_6%></span>
</a>
<ul class="footer-column__list">
<li class="footer-phone footer-phone--local"><a class="footer-phone__link" href="tel:<%=TXT_PHONE_LOCAL_NUM_6%>" title="Call <%=TXT_DEALERSHIP_NAME%> in <%=TXT_DEALERSHIP_CITY_6%>"><%=TXT_PHONE_LOCAL_NUM_6%></a></li>
<li class="footer-address">
<a class="footer-address__link" href="/map-hours-directions-<%=TXT_SEF_URL_VEH_TYPES%>dealership--hours-batavia" title="Map, Directions, & Hours for <%=TXT_DEALERSHIP_NAME%> in <%=TXT_DEALERSHIP_CITY_6%>">
<i class="fa fa-map-marker" aria-hidden="true"></i>
<span>
<span><%=TXT_DEALERSHIP_ADDRESS_6%>,</span>
<span><%=TXT_DEALERSHIP_CITY_6%>, <abbr title="<%=TXT_DEALERSHIP_STATENAME_6%>" aria-label="<%=TXT_DEALERSHIP_STATENAME_6%>"><%=TXT_DEALERSHIP_STATE_6%></abbr> <%=TXT_DEALERSHIP_ZIPCODE_6%></span>
</span>
</a>
</li>
</ul>
</div>
<!-- Location 7 -->
<div>
<h4 class="footer-column__header sr-only"><%=TXT_DEALERSHIP_CITY_7%></h4>
<a class="footer-column__header-link" href="/map-hours-directions-<%=TXT_SEF_URL_VEH_TYPES%>dealership--hours-erlanger" title="Map, Directions, & Hours for <%=TXT_DEALERSHIP_NAME%> in <%=TXT_DEALERSHIP_CITY_7%>">
<span class="footer-column__header"><%=TXT_DEALERSHIP_CITY_7%></span>
<span class="footer-column__subheader"><%=TXT_DEALERSHIP_STATENAME_7%></span>
</a>
<ul class="footer-column__list">
<li class="footer-phone footer-phone--local"><a class="footer-phone__link" href="tel:<%=TXT_PHONE_LOCAL_NUM_7%>" title="Call <%=TXT_DEALERSHIP_NAME%> in <%=TXT_DEALERSHIP_CITY_7%>"><%=TXT_PHONE_LOCAL_NUM_7%></a></li>
<li class="footer-address">
<a class="footer-address__link" href="/map-hours-directions-<%=TXT_SEF_URL_VEH_TYPES%>dealership--hours-erlanger" title="Map, Directions, & Hours for <%=TXT_DEALERSHIP_NAME%> in <%=TXT_DEALERSHIP_CITY_7%>">
<i class="fa fa-map-marker" aria-hidden="true"></i>
<span>
<span><%=TXT_DEALERSHIP_ADDRESS_7%>,</span>
<span><%=TXT_DEALERSHIP_CITY_7%>, <abbr title="<%=TXT_DEALERSHIP_STATENAME_7%>" aria-label="<%=TXT_DEALERSHIP_STATENAME_7%>"><%=TXT_DEALERSHIP_STATE_7%></abbr> <%=TXT_DEALERSHIP_ZIPCODE_7%></span>
</span>
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="footer-column footer-column--links">
<h4 class="footer-column__header">Links</h4>
<ul class="footer-column__list">
<li><a href="/<%=TXT_SEF_URL_VEH_TYPES%>for-sale--xAllInventory" title="<%=TXT_SEO_VEH_TYPES%> for sale in <%=TXT_SEO_LOCATION%>">Equipment</a></li>
<li><a href="/default.asp?page=xPreOwnedInventory" title="Used <%=TXT_SEO_VEH_TYPES%> for sale in <%=TXT_SEO_LOCATION%>">Pre-Owned Inventory</a></li>
<li><a href="/credit-financing-<%=TXT_SEF_URL_VEH_TYPES%>dealership--financing" title="Financing in <%=TXT_SEO_LOCATION%>">Get Financed</a></li>
<li><a href="/service-repair-<%=TXT_SEF_URL_VEH_TYPES%>dealership--service" title="Service in <%=TXT_SEO_LOCATION%>">Service Department</a></li>
<li><a href="/parts-<%=TXT_SEF_URL_VEH_TYPES%>dealership--parts" title="Parts in <%=TXT_SEO_LOCATION%>">Parts Department</a></li>
<li><a href="/about-us-<%=TXT_SEF_URL_VEH_TYPES%>dealership--info" title="About <%=TXT_DEALERSHIP_NAME%> in <%=TXT_SEO_LOCATION%>">About</a></li>
<li><a href="/contact-email-<%=TXT_SEF_URL_VEH_TYPES%>dealership--xcontact" title="Contact <%=TXT_DEALERSHIP_NAME%> in <%=TXT_SEO_LOCATION%>">Contact</a></li>
</ul>
</div>
<div class="footer-column footer-column--extras">
<ul class="social-block">
<li class="social-fb">
<a href="<%=TXT_SOCIAL_FACEBOOK%>" target="_blank" class="social-facebook" title="<%=TXT_DEALERSHIP_NAME%> on Facebook">
<i class="fa fa-facebook-square" aria-hidden="true"></i>
<span class="sr-only">Like <%=TXT_DEALERSHIP_NAME%> on Facebook! (opens in new window)</span>
</a>
</li>
<li class="social-in">
<a href="<%=TXT_SOCIAL_INSTAGRAM%>" target="_blank" class="social-instagram" title="<%=TXT_DEALERSHIP_NAME%> on Instagram">
<i class="fa fa-instagram" aria-hidden="true"></i>
<span class="sr-only">Follow <%=TXT_DEALERSHIP_NAME%> on Instagram! (opens in new window)</span>
</a>
</li>
<li class="social-lkdn">
<a href="<%=TXT_SOCIAL_LINKEDIN%>" target="_blank" class="social-linkedin" title="<%=TXT_DEALERSHIP_NAME%> on LinkedIn">
<i class="fa fa-linkedin" aria-hidden="true"></i>
<span class="sr-only">Follow <%=TXT_DEALERSHIP_NAME%> on LinkedIn! (opens in new window)</span>
</a>
</li>
<li class="social-yelp">
<a href="<%=TXT_SOCIAL_YELP%>" target="_blank" class="social-yelp" title="<%=TXT_DEALERSHIP_NAME%> on Yelp">
<i class="fa fa-yelp" aria-hidden="true"></i>
<span class="sr-only">Check out the <%=TXT_DEALERSHIP_NAME%> Yelp! (opens in new window)</span>
</a>
</li>
</ul>
<div class="footer-row footer-row--bottom">
<div class="footer-bottom__elem footer-bottom__elem--links">
<span><a href="/read-our-policy-statement--xpolicy" title="<%=TXT_DEALERSHIP_NAME%> Policies">Policy</a></span>
<span><a href="/read-our-privacy-statement--xprivacy" title="<%=TXT_DEALERSHIP_NAME%> Privacy Statement">Privacy</a></span>
<span><a href="/read-our-terms-and-conditions--xterms" title="<%=TXT_DEALERSHIP_NAME%> Terms and Conditions">Terms</a></span>
<span><a href="/read-our-accessibility-statement--accessibility" title="<%=TXT_DEALERSHIP_NAME%> Accessibility Statement">Accessibility</a></span>
<span><a href="/default.asp?page=xInventoryMap" title="<%=TXT_DEALERSHIP_NAME%> Inventory Site Map">Site Map</a></span>
</div>
<div class="footer-bottom__elem footer-bottom__elem--ds-logo">
<a class="ds-footer-logo ds-footer-logo--he" href="https://www.dealerspike.com/heavy-equipment/" target="_blank" title="Dealer Spike Heavy Equipment">
<img src="//cdn.dealerspike.com/imglib/template/v6/ds-poweredby-heavy-equipment-light.svg" width="247" height="22" alt="Dealer Spike Heavy Equipment">
<span class="sr-only">Opens in new window</span>
</a>
</div>
<div class="footer-bottom__elem footer-bottom__elem--copyright">
<span>Copyright© <%=getYear()%> Dealer Spike </span>
<span>All Rights Reserved</span>
</div>
</div>
</div>
</div>
</div>
</footer>
@index-primary: #0D871D;
@index-secondary: #4B3009;
@index-tertiary: #2D1D05;
#footer {
background-color: @index-tertiary;
position: relative;
z-index: 1;
}
.footer-container {
.container;
@media (max-width: @screen-xs-max) {
margin: 0 auto;
max-width: 320px;
}
&--top {
padding-top: 46px;
padding-bottom: 40px;
padding-left: 0;
padding-right: 0;
@media (min-width: @screen-sm-min) {
padding-top: 100px;
padding-bottom: 90px;
}
@media (min-width: @screen-lg-min) {
padding-top: 128px;
padding-bottom: 160px;
}
}
&--bottom {
padding-top: 15px;
padding-bottom: 15px;
}
}
.footer-row {
&--top {
@media (min-width: @screen-sm-min) {
.display-flex;
.flex-wrap(wrap);
.flex-justify-content(space-between);
}
}
&--bottom {
margin-top: 33px;
.display-flex;
.flex-direction(column);
@media (min-width: @screen-sm-min) {
//.flex-direction(row);
.flex-wrap(wrap);
margin-top: 0;
padding-left: 47px;
}
@media (min-width: @screen-md-min) {
padding-left: 160px;
}
@media (min-width: @screen-lg-min) {
padding-left: 0;
margin-top: 182px;
}
}
}
// TOP -------------------------------
.footer-column {
// FIXED-WIDTH COLUMNS
.flex-make-sm-column(6);
// AUTO-SIZED COLUMNS (width fills parent)
// .flex(1 0 auto);
&:not(:last-child){
margin-bottom: 95px;
position: relative;
@media (min-width: @screen-sm-min) {
margin-bottom: 70px;
}
&:before{
@media (max-width: @screen-xs-max) {
content: '';
background-color: fade(@white, 25%);
width: 100%;
height: 2px;
position: absolute;
bottom: -36px;
left: 0;
right: 0;
}
}
}
&--contact{
@media (min-width: @screen-sm-min){
.flex(0 0 75%);
max-width: 75%;
}
@media (min-width: @screen-lg-min) {
.flex(0 0 40%);
max-width: 40%;
}
}
&--links{
@media (min-width: @screen-sm-min){
.flex(0 0 25%);
max-width: 25%;
}
@media (min-width: @screen-lg-min) {
.flex(0 0 25%);
max-width: 25%;
position: relative;
}
@media (min-width: @screen-xl-min) {
.flex(0 0 22%);
max-width: 22%;
}
&:before, &:after{
@media (min-width: @screen-lg-min) {
content: '';
background-color: fade(@white, 15%);
width: 1px;
height: 642px;
position: absolute;
//bottom: 0;
top: -43px;
margin: auto 0;
}
}
&:before{
@media (min-width: @screen-lg-min) {
left: -30px;
}
@media (min-width: @screen-xl-min) {
left: -92px;
}
}
&:after{
@media (min-width: @screen-lg-min) {
right: 20px;
}
@media (min-width: @screen-xl-min) {
right: -30px;
}
}
}
&--extras{
@media (min-width: @screen-sm-min){
.flex(0 0 auto);
max-width: none;
width: 100%;
}
@media (min-width: @screen-md-min) {
padding-left: 50px;
}
@media (min-width: @screen-lg-min) {
.flex(0 0 35%);
max-width: 35%;
padding-left: 0;
}
@media (min-width: @screen-xl-min) {
.flex(0 0 28%);
max-width: 28%;
padding-left: 65px;
}
}
}
.footer-column__header {
display: block;
//font-family: @font-family-nova;
font-size: 24px;
color: @white;
font-weight: 700;
text-transform: uppercase;
line-height: 1;
margin-bottom: 0;
}
.footer-column__subheader{
font-size: 14px;
color: @white;
text-transform: uppercase;
letter-spacing: (206em)/1000;
}
.footer-column__header-link {
display: inline-block;
span {
.transition(0.3s color ease-in-out);
color: @white;
}
&:hover, &:active, &:focus {
span {
color: @index-primary;
}
}
}
.footer-column__list {
.ul-zero-out;
}
// specific columns
.footer-column--contact {
text-align: center;
@media (min-width: @screen-sm-min) {
text-align: left;
}
.footer-locations{
@media (min-width: @screen-sm-min) {
.display-flex;
.flex-wrap(wrap);
}
> div{
@media (min-width: @screen-sm-min) {
width: 50%;
}
&:nth-last-of-type(n+3){
@media (min-width: @screen-sm-min) {
margin-bottom: 51px;
}
}
&:not(:last-child){
@media (max-width: @screen-xs-max) {
margin-bottom: 38px;
}
}
}
}
.footer-column__list {
li {
line-height: 18px;
}
.footer-address{
> a{
.display-inline-flex;
.flex-align-items(center);
padding-left: 68px;
@media (min-width: @screen-sm-min) {
padding-left: 0;
}
.fa{
.transition(0.3s color ease-in-out);
background-color: transparent;
color: @index-primary;
font-size: 40px;
padding-right: 13px;
}
span{
.transition(0.3s color ease-in-out);
font-size: 16px;
text-transform: capitalize;
font-weight: 400;
text-align: left;
color: @white;
@media(min-width: @screen-lg-min) and (max-width: @screen-lg-max){
font-size: 14px;
}
> span{
display: block;
}
}
&:hover{
.fa{
color: @white;
}
span{
color: @index-primary;
}
}
}
}
.footer-phone{
margin-top: 30px;
margin-bottom: 16px;
> a{
.transition(0.3s color ease-in-out);
color: @white;
font-size: 34px;
font-weight: 700;
@media(min-width: @screen-lg-min) and (max-width: @screen-lg-max){
font-size: 26px;
}
&:hover{
color: @index-primary;
}
}
}
}
}
.footer-column--links {
.footer-column__header{
.hidden-xs;
}
.footer-column__list {
padding-left: 48px;
@media (min-width: @screen-sm-min) {
padding-left: 0;
}
li {
font-size: 14px;
line-height: 40px;
a{
.transition(0.3s color ease-in-out);
color: @white;
position: relative;
width: 224px;
display: inline-block;
@media (min-width: @screen-sm-min) {
width: 176px;
}
@media (min-width: @screen-lg-min) {
width: 237px;
}
&:after{
.transition(0.3s color ease-in-out);
content: '\f178';
font-family: FontAwesome;
color: @index-primary;
font-size: 20px;
position: absolute;
right: 0;
top: auto;
line-height: 36px;
}
&:hover{
color: @index-primary;
&:after{
color: @white;
}
}
}
}
}
}
.footer-column--extras {
text-align: center;
@media (min-width: @screen-sm-min) {
.display-flex;
.flex-justify-content(space-between);
.flex-align-items(flex-start);
}
@media (min-width: @screen-lg-min) {
.flex-direction(column);
.flex-justify-content(flex-start);
}
.social-block{
border-color: @white;
width: 242px;
@media (max-width: @screen-xs-max) {
margin: 0 auto;
}
@media (min-width: @screen-sm-min) {
width: 350px;
margin-top: 16px;
}
@media (min-width: @screen-lg-min) {
margin-top: 0;
position: relative;
}
&:before{
@media (min-width: @screen-lg-min) {
content: '';
background-color: fade(@white, 15%);
width: 100%;
height: 1px;
position: absolute;
bottom: -103px;
left: 0;
right: 0;
}
}
li{
a{
.fa{
background-color: transparent;
color: @white;
width: 60px;
height: 60px;
line-height: 60px;
font-size: 20px;
@media (min-width: @screen-sm-min) {
width: 87px;
height: 130px;
line-height: 130px;
font-size: 37px;
}
@media (min-width: @screen-lg-min) {
height: 87px;
line-height: 87px;
font-size: 32px;
}
}
.fa-linkedin{
border-left: 1px solid @white;
border-right: 1px solid @white;
}
.fa-instagram{
border-left: 1px solid @white;
}
&:hover{
.fa{
background-color: @white;
color: @black;
}
}
}
}
}
}
// BOTTOM ------------------------
.footer-bottom {
}
.footer-bottom__elem {
color: @white;
}
.footer-bottom__elem--links {
.display-flex;
.flex-align-items(center);
.flex-justify-content(center);
.flex-wrap(wrap);
.flex-direction(row);
@media (max-width: @screen-xs-max) {
.order(0);
}
@media (min-width: @screen-sm-min) {
.flex-align-items(flex-start);
.flex-justify-content(flex-start);
width: 100%;
margin-bottom: 16px;
white-space: nowrap; //fix safari flexbox bug
}
@media (min-width: @screen-lg-min) {
width: 400px;
}
@media (min-width: @screen-xl-min) {
width: 356px;
}
span{
padding: 0 20px;
&:first-child, &:nth-child(4){
@media (min-width: @screen-sm-min) {
padding-left: 0;
}
}
a{
.transition(0.3s all ease-in-out);
font-size: 18px;
font-weight: 700;
color: @white;
line-height: 48px;
text-transform: uppercase;
&:hover{
color: @index-primary;
}
}
}
}
.footer-bottom__elem--copyright {
margin-top: 28px;
margin-bottom: 24px;
@media (max-width: @screen-xs-max) {
.order(1);
}
@media (min-width: @screen-sm-min) {
//margin-top: 0;
margin-bottom: 0;
}
span {
display: block;
color: @white;
font-size: 14px;
color: darken(@white, 32%);
@media (min-width: @screen-sm-min) {
text-align: left;
}
}
}
.footer-bottom__elem--ds-logo {
@media (max-width: @screen-xs-max) {
.order(2);
}
a {
.transition(0.3s opacity ease-in-out);
display: block;
width: fit-content;
@media (max-width: @screen-xs-max) {
margin: 0 auto;
}
&:hover, &:active, &:focus {
opacity: 0.7;
}
}
}
.social-block {
.ul-zero-out;
vertical-align: middle;
// (shape, dimension)
.soc-icon-sizer(square, 33px);
//.fa{ font-size: 25px; }
// params ( css property, value)
.soc-icon-styler(color, @index-primary);
.soc-icon-styler(background-color, transparent);
.soc-icon-styler-hover(color, @white);
.soc-icon-styler-hover(background-color, default);
.display-flex;
.flex-align-items(flex-start);
border-width: 1px;
border-style: solid;
li {
display: inline-block;
vertical-align: middle;
padding-left: 0;
&:first-child{
padding-left: 0;
}
a {
display: block;
.fa, .im {
font-size: 15px;
border-radius: 0;
}
}
}
}
// Default social icon colors
@fb-color: #3b5998;
@tw-color: #00aced;
@in-color: #bc2a8d;
@gp-color: #dd4b39;
@yt-color: #bb0000;
@pin-color: #cb2027;
@li-color: #0e76a8;
@rss-color: #000000;
.soc-icon-styler(@property, @color){
a{
.fa{
.transition(all .2s ease-in-out);
@{property}: @color;
}
& when (@color = default){
.soc-brand-colors(@property);
}
}
}
// assigns property/value to social buttons on hover state
.soc-icon-styler-hover(@property, @color){
a{
&:hover, &:active, &:focus {
.fa{
@{property}: @color;
}
& when (@color = default){
.soc-brand-colors(@property);
}
}
}
}
// defines shape and size of social buttons
.soc-icon-sizer(@shape, @dimension) {
//ensures icons are clickable on mobile
@min-sm-dimension: 30px;
a{
display: block;
}
.fa{
display: block;
overflow: hidden;
width: @dimension;
height: @dimension;
font-size: round(@dimension / 1.5);
text-align: center;
& when (@shape = circle) {
border-radius: 50%;
}
& when (@shape = square){
border-radius: 3px;
}
&:before{
line-height: @dimension;
}
& when (@dimension < @min-sm-dimension){
@media (max-width: @screen-sm-max){
width: @min-sm-dimension;
height: @min-sm-dimension;
font-size: round(@min-sm-dimension / 1.5);
&:before{
line-height: @min-sm-dimension;
}
}
}
}
}
// assigns social network's default color to the @property parameter
.soc-brand-colors(@property){
&.social-facebook .fa { @{property}: @fb-color; }
&.social-twitter .fa { @{property}: @tw-color; }
&.social-instagram .fa { @{property}: @in-color; }
&.social-google .fa { @{property}: @gp-color; }
&.social-youtube .fa { @{property}: @yt-color; }
&.social-pinterest .fa { @{property}: @pin-color; }
&.social-linkedin .fa { @{property}: @li-color; }
&.social-rss .fa { @{property}: @rss-color; }
}
// DO NOT MODIFY THESE MIXINS
// DO NOT MODIFY THESE MIXINS
// DO NOT MODIFY THESE MIXINS
// DO NOT MODIFY THESE MIXINS
// DO NOT MODIFY THESE MIXINS
// DO NOT MODIFY THESE MIXINS
// DO NOT MODIFY THESE MIXINS
// DO NOT MODIFY THESE MIXINS
// DO NOT MODIFY THESE MIXINS
// DO NOT MODIFY THESE MIXINS
// DO NOT MODIFY THESE MIXINS
// DO NOT MODIFY THESE MIXINS
// DO NOT MODIFY THESE MIXINS
// DO NOT MODIFY THESE MIXINS
// DO NOT MODIFY THESE MIXINS
// DO NOT MODIFY THESE MIXINS
// DO NOT MODIFY THESE MIXINS
// DO NOT MODIFY THESE MIXINS
// DO NOT MODIFY THESE MIXINS
// DO NOT MODIFY THESE MIXINS
// flexbox mixins
// if modification is desired, create unique mixins instead.
.display-flex() {
display: -webkit-box; //iOS6, Safari 3.1-6
display: -ms-flexbox; //IE10
display: -webkit-flex; //android 4.3, IE mobile, Safari
display: flex;
}
.display-inline-flex() {
display: ~"-webkit-inline-flex";
display: ~"-ms-inline-flexbox"; // IE10 uses -ms-flexbox
display: ~"-ms-inline-flex"; // IE11
display: inline-flex;
}
.flex-display(@display: flex) {
display: ~"-webkit-@{display}";
display: ~"-ms-@{display}box"; // IE10 uses -ms-flexbox
display: ~"-ms-@{display}"; // IE11
display: @display;
}
// flex-wrap
//@wrap can be: nowrap | wrap | wrap-reverse
.flex-wrap(@wrap) {
// Old Android and IE10 syntaxes
& when (@wrap = nowrap) {
-webkit-box-lines: single; //Old webkit fixes for android until at least 4.2
-ms-flex-wrap: none; // IE10 - special syntax for nowrap
}
& when not (@wrap = nowrap) {
-ms-flex-wrap: @wrap; //IE10
}
& when (@wrap = wrap) {
-webkit-box-lines: multiple;
}
-webkit-flex-wrap: @wrap;
flex-wrap: @wrap;
}
// flex container w/ row direction
.flex-row() {
.display-flex();
.flex-direction(row);
}
// flex container w/ column direction
.flex-column() {
.display-flex();
.flex-direction(column);
}
// flex-direction
// @direction can be: row | row-reverse | column | column-reverse
.flex-direction(@direction) {
//Old webkit fixes for android until at least 4.2
& when (@direction = column) {
-webkit-box-orient: vertical;
}
& when (@direction = row) {
-webkit-box-orient: horizontal;
}
& when not (@direction = column) {
& when not (@direction = row) {
-webkit-box-orient: @direction;
}
}
-webkit-flex-direction: @direction; //android 4.3, IE mobile, Safari
-ms-flex-direction: @direction; //IE10
flex-direction: @direction;
}
// Flex Direction and Wrap
// - applies to: flex containers
// <flex-direction> || <flex-wrap>
.flex-flow(@flow) {
-webkit-flex-flow: @flow;
-moz-flex-flow: @flow;
-ms-flex-flow: @flow;
flex-flow: @flow;
}
// justify-content
// @justify can be: flex-start | flex-end | center | space-between | space-around
.flex-justify-content(@justify) {
// IE10 specific syntax
& when (@justify = flex-start) {
-ms-flex-pack: start;
}
& when (@justify = flex-end) {
-ms-flex-pack: end;
}
& when (@justify = center) {
-ms-flex-pack: center;
}
& when (@justify = space-between) {
-ms-flex-pack: justify;
}
& when (@justify = space-around) {
-ms-flex-pack: distribute;
}
-webkit-box-pack: @justify;
-webkit-justify-content: @justify; //android 4.3, Safari
-ms-justify-content: @justify; //IE mobile
justify-content: @justify
}
// align-items
// @align-item can be: flex-start | flex-end | center | baseline | stretch
.flex-align-items(@align-item) {
//IE10 specific syntax
& when (@align-item = flex-start) {
-ms-flex-align: start;
}
& when (@align-item = flex-end) {
-ms-flex-align: end;
}
& when not (@align-item = flex-start) {
& when not (@align-item = flex-end) {
-ms-flex-align: @align-item;
}
}
-webkit-box-align: @align-item; //android 4.2
-webkit-align-items: @align-item; //android 4.3, Safari
-ms-align-items: @align-item; //IE mobile
align-items: @align-item;
}
// align-content
// @align-content can be: flex-start | flex-end | center | space-between | space-around | stretch
.flex-align-content(@align-content) {
//IE10 specific syntax
& when (@align-content = flex-start) {
-ms-flex-line-pack: start;
}
& when (@align-content = flex-end) {
-ms-flex-line-pack: end;
}
& when (@align-content = stretch) {
-ms-flex-line-pack: stretch;
}
-webkit-align-content: @align-content; //android 4.3, Safari
-ms-align-content: @align-content; //IE mobile
align-content: @align-content;
}
// orders children of a display flex element
// takes a single param that must be predefined as an array
// imagine this is our html:
// <section>
// <div>A</div>
// <div>B</div>
// <div>C</div>
// </section>
// and we want it to render as B C A
// the array we define for this mixin should look as follows:
// @myFlexArray: 2,3,1;
.flex-children-order(@o){
@t: length(@o);
@i: 1;
.orderChildren(@o, @i, @t) when(@i =< @t) {
@n: extract(@o,@i);
> *:nth-child(@{n}) {
.order(@i);
}
.orderChildren(@o, @i + 1, @t); // recursively calls the mixin
}
.orderChildren(@o, @i, @t); // 1st call to the closure-mixin
}
/////////////////////////
// flex-box's children //
/////////////////////////
// defines flex property with prefixes.
// none | [ 'flex-grow' 'flex-shrink' || 'flex-basis' ]
// flex-grow: number; (default 0)
// flex-shrink: number (default 1)
// flex-basis: length | auto
// When using this and @value is (0 0 auto) add -webkit-box-flex: 0; - remove ? reconfigure
// When using this and @value is (1 1 auto) add -webkit-box-flex: 1; - remove ? reconfigure
.flex(@value) {
-webkit-box-flex: @value; //iOS6, Safari 3.1-6
-webkit-flex: @value; //android 4.3, IE mobile, Safari
-ms-flex: @value; //IE10
flex: @value;
}
// Flex grow factor
// - applies to: flex items
// <number>
.flex-grow(@grow: 0) {
-webkit-flex-grow: @grow;
-ms-flex-grow: @grow;
flex-grow: @grow;
}
// Flex shrink factor
// - applies to: flex items
// <number>
.flex-shrink(@shrink: 1) {
-webkit-flex-shrink: @shrink;
-ms-flex-shrink: @shrink;
flex-shrink: @shrink;
}
// defines the oder in which the flex-box children should render.
.order(@order) { // <number>
-webkit-box-ordinal-group: @order; //iOS 6-, Safari 3.1-6 */
-ms-flex-order: @order; //IE10
-webkit-order: @order; //android 4.3, IE mobile, Safari
order: @order;
}
//align-self
//@align-self can be: auto | flex-start | flex-end | center | baseline | stretch
.align-self(@align-self) {
// IE10 specific syntax
& when (@align-self = flex-start) {
-ms-flex-item-align: start;
}
& when (@align-self = flex-end) {
-ms-flex-item-align: end;
}
& when not (@align-self = flex-start) {
& when not (@align-self = flex-end) {
// for the other 4 possible values
-ms-flex-item-align: @align-self;
}
}
-webkit-align-self: @align-self; //android 4.3, Safari
-ms-align-self: @align-self; //IE mobile
align-self: @align-self;
}
.flex-basis(@b) {
-webkit-flex-basis: @b;
-ms-flex-basis: @b;
flex-basis: @b;
}
//FLEXBOX GRID MIXINS
.flex-grid-row(@xs-spacing: 15px; @sm-spacing: @xs-spacing; @md-spacing: @sm-spacing; @lg-spacing: @md-spacing;) {
.display-flex;
.flex-wrap(wrap);
margin-right: -@xs-spacing;
margin-left: -@xs-spacing;
> * {
padding-left: @xs-spacing;
padding-right: @xs-spacing;
}
@media (min-width: @screen-sm-min) {
margin-right: -@sm-spacing;
margin-left: -@sm-spacing;
> * {
padding-left: @sm-spacing;
padding-right: @sm-spacing;
}
}
@media (min-width: @screen-md-min) {
margin-right: -@md-spacing;
margin-left: -@md-spacing;
> * {
padding-left: @md-spacing;
padding-right: @md-spacing;
}
}
@media (min-width: @screen-lg-min) {
margin-right: -@lg-spacing;
margin-left: -@lg-spacing;
> * {
padding-left: @lg-spacing;
padding-right: @lg-spacing;
}
}
}
.flex-col-base {
position: relative;
min-height: 1px; // Prevent columns from collapsing when empty
width: auto;
-webkit-box-flex: 0;
}
//variable width, auto-calculating based on natural width of content
.flex-col-auto {
.flex-col-base;
//layout
-webkit-flex: 0 0 auto;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
}
//making flexbox grid columns
.flex-make-xs-column(@col) {
.flex-col-base;
-webkit-flex: 0 0 percentage(@col / 12);
-ms-flex: 0 0 percentage(@col / 12);
flex: 0 0 percentage(@col / 12);
max-width: percentage(@col / 12);
}
.flex-make-sm-column(@col) {
@media (min-width: @screen-sm-min) {
.flex-col-base;
-webkit-flex: 0 0 percentage(@col / 12);
-ms-flex: 0 0 percentage(@col / 12);
flex: 0 0 percentage(@col / 12);
max-width: percentage(@col / 12);
}
}
.flex-make-md-column(@col) {
@media (min-width: @screen-md-min) {
.flex-col-base;
-webkit-flex: 0 0 percentage(@col / 12);
-ms-flex: 0 0 percentage(@col / 12);
flex: 0 0 percentage(@col / 12);
max-width: percentage(@col / 12);
}
}
.flex-make-lg-column(@col) {
@media (min-width: @screen-lg-min) {
.flex-col-base;
-webkit-flex: 0 0 percentage(@col / 12);
-ms-flex: 0 0 percentage(@col / 12);
flex: 0 0 percentage(@col / 12);
max-width: percentage(@col / 12);
}
}
.flex-make-xl-column(@col) {
@media (min-width: @screen-xl-min) {
.flex-col-base;
-webkit-flex: 0 0 percentage(@col / 12);
-ms-flex: 0 0 percentage(@col / 12);
flex: 0 0 percentage(@col / 12);
max-width: percentage(@col / 12);
}
}
.flex-make-columns(@xs-col, @sm-col: @xs-col, @md-col: @sm-col, @lg-col: @md-col, @xl-col: @lg-col) {
.flex-make-xs-column(@xs-col);
.flex-make-sm-column(@sm-col);
.flex-make-md-column(@md-col);
.flex-make-lg-column(@lg-col);
.flex-make-xl-column(@xl-col);
}