#footer {
	padding-bottom: 20px !important;
}

#travel-deals {
	overflow: hidden;
	margin-bottom: 50px;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-webkit-flex-direction: row;
	    -ms-flex-direction: row;
	        flex-direction: row;
	-webkit-flex-wrap: wrap;
	    -ms-flex-wrap: wrap;
	        flex-wrap: wrap;
}

#travel-deals .deal-wrapper {
	width: 50%;
	float: left;
}

#travel-deals .deal-wrapper[featured=true] {
	width: 100%;
}

#travel-deals .deal {
	border-radius: 10px;
	margin: 5px;
	overflow: hidden;
	background-color: #8bc34a;
	height: calc(100% - 10px);
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	    -ms-flex-direction: column;
	        flex-direction: column;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {  
/* CSS Statements that only apply on webkit-based browsers (Chrome, Safari, etc.) */  
  	#travel-deals .deal {
	  height: 550px; 
	}
}

#travel-deals .deal-wrapper[featured=true] .deal {
	height: initial;
}

#travel-deals .headline {
	height: 60px;
	padding:10px 20px;
}

#travel-deals .deal-wrapper[featured=true] .headline {
	height: auto;
}

#travel-deals .headline h3 {
	margin-bottom: 0px;
}

#travel-deals img {
	padding: 0px;

}

#travel-deals .deal-content {
	position: relative;
    padding: 10px 20px;
    background-color: #C5E1A5;
    -webkit-box-flex: 2;
    -webkit-flex-grow: 2;
        -ms-flex-positive: 2;
            flex-grow: 2;
}

#travel-deals .blurb {
	margin-bottom: 60px;
}

#travel-deals .blurb p {
	font-size: 12px;
}

#travel-deals .price {
	position: absolute;
    width: calc(100% - 35px);
    bottom: 10px;
    left: 15px;
}

#travel-deals .price p {
	font-size: 16px;
	font-weight: bold;
	text-align: right;
	margin-bottom: 0px;
}

#travel-deals .deal-footer {
	padding: 10px 20px;
}

#travel-deals .terms {
	display: inline;
}

#travel-deals .terms > p {
	display: inline;
	cursor: pointer;
	font-size: 12px;
}

#travel-deals .terms .terms-hidden{
	overflow: hidden;
	max-height: 0px;
	background-color: #8BC34A;
	width: 48%;
	width: calc(50% - 10px);
	margin-left: -20px;
	position: absolute;
	border-radius: 10px;
	margin-top: -5px;
	transition:max-height 0.5s; /* Animation time */
  -webkit-transition:max-height 0.5s; /* For Safari */
	z-index: 2;
}

#travel-deals .deal-wrapper[featured=true] .terms .terms-hidden {
	width: initial;
	margin-right: 5px;
}

#travel-deals .terms:hover .terms-hidden{
	max-height: 1000px;
	transition:max-height 1s; /* Animation time */
  -webkit-transition:max-height 1s; /* For Safari */
}

#travel-deals .deal-wrapper[featured=true] .terms:hover .terms-hidden{
	transition:max-height 1.5s; /* Animation time */
  -webkit-transition:max-height 1.5s; /* For Safari */
}

#travel-deals .terms .terms-hidden > p{
	margin-bottom: 5px;
	padding: 0px 20px;
	font-size: 10px;
}

#travel-deals .terms .terms-hidden > p:first-child {
	margin-top: 15px;
}

#travel-deals .terms .terms-hidden > p:last-child {
	margin-bottom: 15px;
}

/* Fixed obsolete by flex-box
@media only screen 
  and (max-width: 960px) {
  #travel-deals .deal-wrapper[featured=false] .deal-content{
		min-height: 170px;
	}
  }
*/

@media only screen 
  and (max-width: 600px) {
  
	#travel-deals .deal-wrapper {
		width: 100%;
	}
	
	#travel-deals .deal {
		height: initial; 
	}
	
	#travel-deals .headline {
		height: initial;
	}
	
	#travel-deals .deal-wrapper[featured=false] .deal-content{
		min-height: initial;
	}
	
	#travel-deals .terms .terms-hidden {
		width: initial;
		margin-right: 5px;
	}
	
  }
  
 @media only screen 
  and (max-width: 360px) {
	 #travel-deals .blurb {
		margin-bottom: 80px;
	}
}