﻿
/* ---------- keylinks ---------- */
/* 

1. keylinks_3column = to wrap 3 keylinks in one row

2. keylinks_block = to wrap a keylink and add gap between each keylink there is many variations of this...
these can be wrapped in a div of keylinks_sidenav (column / product) etc... very adaptable to what ever you want.
div.keylinks_homepage which does 

 */
    


/* ---------- wrappers ---------- */    
div.keylinks_3column {
    margin-top: 15px;
    margin-bottom: 15px;
    clear: both;
    overflow: hidden;
    border: 1px solid #ddd;  
    box-shadow: 0 0 4px #eee; 
    border-radius: 4px; 
    }

div.keylinks_homepage {
    margin-top: 15px;
    margin-bottom: 15px;
    clear: both;
    overflow: auto;
    }
    

 
div.keylinks_block {
    display: inline-block;
    margin-bottom: 8px;
    margin-right: 3px;
    clear: both;
    overflow: hidden;
    border: 1px solid #ddd;  
    border-radius: 4px; 
    }  
div.keylinks_homepage div.keylinks_block {
	box-shadow: none;
}




/* ---------- keylink all ---------- */  
a.keylink,
span.keylink {
    display: block;
    padding: 10px 10px 5px 10px;
    position: relative; 
    width: 298px; 
    height: 100px;
    float:left; 
    cursor: pointer;
    text-decoration:none;
    border-left: 1px solid #ddd;
    border-right: 1px solid transparent;
    box-shadow: inset 1px 1px 1px 0px white;
    background: #fefefe;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee');
    background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eeeeee));
    background: -webkit-linear-gradient(top,  #fff,  #eeeeee);
    background: -moz-linear-gradient(top,  #fff,  #eeeeee);
    background: -ms-linear-gradient(top,  #fff,  #eeeeee);
    background: -o-linear-gradient(top,  #fff,  #eeeeee);
    background: linear-gradient(top,  #fff,  #eeeeee);
    }
span.keylink{
    cursor: auto;
    }
div.keylinks_block a.keylink {
    width: 278px; 
    border: 0px;
    }

    
 

/* ---------- keylink ---------- */

div.keylinks_3column a.keylink:first-child,
div.keylinks_3column a.keylink.first-child {
    border-radius: 4px 0px 0px 4px;
    border: none;
    }
div.keylinks_3column a.keylink:last-child {
    border-radius: 0px 4px 4px 0px;
    }

a.keylink:hover {
    background: #fefefe;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e5e5e5', endColorstr='#ffffff');
    background: -webkit-gradient(linear, left top, left bottom, from(#e5e5e5), to(#fff));
    background: -webkit-linear-gradient(top,  #e5e5e5, #fff);
    background: -moz-linear-gradient(top,  #e5e5e5, #fff);
    background: -ms-linear-gradient(top,  #e5e5e5, #fff);
    background: -o-linear-gradient(top,  #e5e5e5, #fff);
    background: linear-gradient(top,  #e5e5e5, #fff);
    }
    

a.keylink span.keylink_title {
    display: block;
    font-size: 14px;
    font-weight: normal;
    margin-left: 100px;
    margin-right: 10px;
    margin-top: 15px;
    margin-bottom: 8px;
    color: black;
    }
div.keylinks_3column a.keylink span.keylink_title,
div.keylinks_homepage a.keylink span.keylink_title {
    font-weight: bold;
    }
a.keylink:hover span.keylink_title {
    color: red;
    }
        

a.keylink span.keylink_blurb {
    display: block;
    margin-left: 100px;
    margin-right: 20px;
    font-size: 11px;
    color: #888;
    }

a.keylink span.keylink_image {
    display: block;
    height: 90px;
    width: 90px;
    position: absolute;
    top: 15px;    
    left: 10px;
    background-repeat: no-repeat;
    background-position: top center;
    }
a.keylink span.keylink_image.base {
    top: 25px; 
}
a.keylink span.keylink_image.fa {
    margin: 0;
    position: absolute;
    top: 50%;
    transform: translate(0,-50%);
    height: auto;
    text-align: center;
    color: #333;
}




/* ---------- keylink variations below ---------- */




/* ---------- keylinks_feature keylinks_product ---------- */
div.keylinks_product div.keylinks_block {
    margin-right: 8px !important;
    margin-left: 0px !important;
    } 
div.keylinks_product div.keylinks_block.first-child {
    margin-left: 0px !important;
    }



div.keylinks_product.product4 a.keylink {
	width: 188px !important; 
	height: 65px;
}
div.keylinks_product a.keylink span.keylink_title {
	margin-top: 10px;
    margin-left: 80px;
}
div.keylinks_product a.keylink span.keylink_image {
	background-size: 100%;
	
    width: 80px;
    position: absolute;
    top: 15px;    
    left: 5px;
}
div.keylinks_product a.keylink span.keylink_title {
    margin-bottom: 2px;
}




/* ---------- keylinks_homepage ---------- */
div.keylinks_homepage div.keylinks_block {
    margin-right: 0px !important;
    margin-left: 8px !important;
    border-radius: 5px !important; 
    } 
div.keylinks_homepage div.keylinks_block.first-child {
    margin-left: 0px !important;
    }
div.keylinks_homepage a.keylink {
	width: 227px;
    height: 148px;
    padding: 1px;
}
div.keylinks_homepage a.keylink span.keylink_title {
    display: block;
    height: 45px; 
    line-height: 45px;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    color: Red;
    background-image: url('../images/global/keylink_title_underline.gif');
    background-repeat: repeat-x;
    background-position: center 40px;
    margin: 0 10px 0 10px;
    /*text-shadow: 0px 1px 1px #fff;*/
    }
div.keylinks_homepage a.keylink span.keylink_image {
    display: block;
    margin: 0px;
    height:100px;
    width: 90px;
    position: absolute;
    top: 47px;    
    left: 10px;
    background-repeat: no-repeat;
    background-position: center center;
    }
div.keylinks_homepage a.keylink span.keylink_blurb {
    display: block;
    margin: 0px;
    height: 80px;
    width: 110px;
    position: absolute;
    top: 60px;    
    left: 110px;
    font-size: 12px;
    color: #666666;
    /*text-shadow: 0px 1px 1px #fff;*/
    }