/*
* NYSU Widget
*/

/* == Stack 1 == */
.nyma-stack-1 {
    img {
        width:100%;
    }
    .nyma-stack-left {
         width:66.66666667%;
         float:left;
		 position:relative;
		 
		 .nyma-stack-caption {
			
			position:absolute;
			bottom:0px;
			padding:20px;
			height:auto;
			width:100%;
			z-index:1;
			// @include fade(0);
			h3 a {
				font-size:30px;
				color:#ffffff;
			}
			h3 a:hover{	
				color:$link_hover;
			}
		}
		
	}
	.nyma-stack-left:hover {
		.nyma-stack-caption {
			background:rgba(0, 0, 0, 0.3);
		}
	}
    .nyma-stack-right {
         width:33.33333337%;
         float:left;
         .nyma-stack-small {
			position:relative;
            .nyma-stack-caption {
				
    			position:absolute;
    			bottom:0px;
    			padding:20px 20px 5px;
    			height:auto;
    			width:100%;
    			z-index:1;
				// @include fade(0);
				h3 a {
					font-size:22px;
					color:#ffffff;
				}
				h3 a:hover{	
					color:$link_hover;
				}
    		 }
			
         }
    }
	.nyma-stack-right:hover {
		.nyma-stack-small:hover {
			.nyma-stack-caption{
				background:rgba(0, 0, 0, 0.3);
			}
		}
	}
	.nyma-meta {
		span {
			color:#e3e3e3;
		}
		i.fa {
			color:#ffffff;
		}
		a {
			color:$link_hover;
		}
	}
}

@media only screen and (max-width : 768px) {
	.nyma-stack-1 {
		.nyma-stack-left {
			float:none;
			width:100%;
		}
		.nyma-stack-right {
			width:100%;
			float:none;
			.nyma-stack-small {
				width:50%;
				float:left;
			
			}
		}
		.nyma-meta {
			display:none;
		}
	}
}