a.note {  
    overflow:hidden;
    margin: 20px 10px;
    float: left; 
    text-decoration:none;  
    color:#000;  
    background:#ffc;  
    display:block;  
    height:300px;  
    width:300px;  
    padding:15px;  
    z-index: 4;
    text-shadow:  0px 1px 0px rgba(211, 211, 211, 1);
    /* Firefox */  
    -moz-box-shadow:5px 5px 7px rgba(33,33,33,1);  
    /* Safari+Chrome */  
    -webkit-box-shadow: 5px 5px 7px rgba(33,33,33,.7);  
    /* Opera */  
    box-shadow: 5px 5px 7px rgba(33,33,33,.7);  
    -moz-transition:-moz-transform .15s linear;  
    -o-transition:-o-transform .15s linear;  
    -webkit-transition:-webkit-transform .15s linear;  
}

a.note > span.title {
    display: block;
    font-size:200%;  
    line-height: 110%;
    font-weight:bold;  
    padding-bottom:10px;
    height: 100%;
    position: relative;
}

a.note > span.title > span.text {
    display: block;
    font-size: 50%;  
    line-height: 100%;
    font-weight: normal; 
    padding-top: 15px;
    padding-bottom: 30px;
}

a.note > span.title > img {
    position: absolute;
    height: auto; 
    width: 100%;
    opacity: .5;
    top:100px;
}



 
@media (min-width: 750px) {

    a.stack:before,
    a.stack:after {
	content: "";
	height: 98%;
	position: absolute;
	width: 100%;
	z-index: -1;
    }
    
    a.stack:before {
	background: #FCFFE2;
	box-shadow: 0 0 8px rgba(0,0,0,0.2);
	left: -5px;
	top: -8px;
	transform: rotate(-3.5deg);
    }
    
    a.stack:after {
	background: #ffc;
	box-shadow: 0 0 3px rgba(0,0,0,0.2);
	right: -4px;
	top: 2px;
	transform: rotate(1.8deg);
    }



    a.note {  
	-webkit-transform:rotate(-6deg);  
	-o-transform:rotate(-6deg);  
	-moz-transform:rotate(-6deg);  
    }

    a.note:nth-child(even) {  
	-o-transform:rotate(4deg);  
	-webkit-transform:rotate(4deg);  
	-moz-transform:rotate(4deg);  
	position:relative;  
	top:5px;  
    }  

    a.note:nth-child(3n) {  
	-o-transform:rotate(-3deg);  
	-webkit-transform:rotate(-3deg);  
	-moz-transform:rotate(-3deg);  
	position:relative;  
	top:-5px;  
    }  

    a.note:nth-child(5n){  
	-o-transform:rotate(5deg);  
	-webkit-transform:rotate(5deg);  
	-moz-transform:rotate(5deg);  
	position:relative;  
	top:-10px; 
    } 
    
    a.note:hover,
    a.note:focus{  
	-moz-box-shadow:10px 10px 7px rgba(0,0,0,.7);  
	-webkit-box-shadow: 10px 10px 7px rgba(0,0,0,.7);  
	box-shadow:10px 10px 7px rgba(0,0,0,.7);  
	-webkit-transform: scale(1.5);  
	-moz-transform: scale(1.5);  
	-o-transform: scale(1.5);  
	position:relative;  
	z-index:5;  
    }  

}


/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
    a.note {  
        padding: 5px;
        margin: 0 8px 50px;
        width: 200px;
        height: 200px;  
    }

    a.note:hover,
    a.note:focus{  
	-moz-box-shadow:10px 10px 7px rgba(0,0,0,.7);  
	-webkit-box-shadow: 10px 10px 7px rgba(0,0,0,.7);  
	box-shadow:10px 10px 7px rgba(0,0,0,.7);  
	-webkit-transform: scale(1.05);  
	-moz-transform: scale(1.05);  
	-o-transform: scale(1.05);  
	position:relative;  
	z-index:5;  
    }  
    
}


/*  phones and down */
@media (max-width: 480px) {
    a.note {
	padding:5px;
	margin: 0 8px 15px;
	width: 250px;
	height: 250px;
    }
    
    a.note > span.title {
	display: block;
	line-height: 100%;
	font-weight:bold;  
	padding-bottom:10px;
	height: 100%;
	position: relative;
    }
    
    a.note > span.title > span.text {
	display: block;
	line-height: 100%;
	font-weight: normal; 
	padding-top: 15px;
	padding-bottom: 30px;
    }

     a.note:hover,
     a.note:focus{  
	-moz-box-shadow:10px 10px 7px rgba(0,0,0,.7);  
	-webkit-box-shadow: 10px 10px 7px rgba(0,0,0,.7);  
	box-shadow:10px 10px 7px rgba(0,0,0,.7);  
	-webkit-transform: scale(1.05);  
	-moz-transform: scale(1.05);  
	-o-transform: scale(1.05);  
	position:relative;  
	z-index:5;  
    }  
    


}

