.plan {
	display: block;
}
.plan, .plan a {
	text-decoration: none;
	color: inherit;
}
a:hover {
	color: #3fadad;
}
a:hover h2, a:hover h3, a:hover .starting-at{
	color: #3fadad;
}
a:hover .a-day {
	color: #3fadad;
	border-color: #3fadad;
}
.plan-content:hover .btn{
	background-color: #ff944d;
}
a:hover .well {
	border-color:  #3fadad;
}
a:hover p {
	color: #4c4c4c;
}

.uy .well {
	background: #fff;
	border: 2px solid #711d96;
	position: relative;
}
.uy h2 {
	margin: 0 0 5px;
	font-weight: 700;
	font-size: 29px;
}
.top-rated-burst {
	border-radius: 50%;
	height: 70px;
	width: 70px;
	position: absolute;
	top: -20px;
	right: 10px;
	padding-top: 10px;
	text-align: center;
}
.top-rated-burst span {
	position: absolute;
	top: 17px;
	left: 13px;
}
#plan-options .bg-gray-lighter h2 {
	font-weight: 400;
}
.four-week-plan ul {
	font-size: 18px;
	line-height: 18px;
	margin: 0;
}
.four-week-plan li {
	line-height: 28px;
	color: #3fadad;
}
.balanced-nutrition {
	margin: 20px 0;
}
.balanced-nutrition h4 {
	font-size: 20px;
	font-weight: 600;
	line-height: 35px;
	margin: 0 0 5px;
}
.balanced-nutrition ul {
	font-family: "futura-pt", arial, sans-serif;
}
.balanced-nutrition li {
	line-height: 22px;
	font-size: 19px;
	margin: 0 0 5px;
}
.vegetarian, .diabetes {
	margin-top: 60px;
}
.vegetarian {
	border: 2px solid #6cb33e;
}
.diabetes {
	border: 2px solid #32a2db;
}
.vegetarian:hover, .diabetes:hover {
	border-color: #3fadad;
}
.vegetarian h3, .diabetes h3 {
	font-family: "futura-pt", sans-serif;
	font-size: 26px;
	color: #6cb33e;
	font-weight: 400;
	padding: 0 0 2px;
}
.diabetes h3 {
	color: #32a2db;
}
.triangle-right {
	position: absolute;
	width: 0;
	height: 0;
	left: 0;
	top: 12px;
	border-top: 10px solid transparent;
	border-left: 10px solid #711d96;
	border-bottom: 10px solid transparent;
}

/* Browser Upgrade Popup*/
#overlay.modal {
	top: 224px;
}

.close {
	color: #4c4c4c;
}

#overlay .modal-title {
	font-size: 28px;
    line-height: 32px;
    font-weight: 700;
    color: #503a82;
    margin: 5px 0 0 0;
    text-transform: uppercase;
    padding: 0;
    letter-spacing: normal;
}

#overlay .modal-content {
    width: 648px;
    height: 361px;
    background: url("/images/diet-plans/weight-loss-programs/upgrade-bg.png") 0 0 repeat-x;
    background-size: contain;
    border: 3px solid #503a82
}

#overlay .modal-body h2 {
    font-size: 22px;
    line-height: 22px;
    font-weight: 400;
    color: #503a82;
    margin: 0;
    text-transform: uppercase;
}

#overlay .modal-body h3 {
    font-size: 19px;
    font-weight: 700;
    color: #3c3c3c;
    margin: 15px 0 0 0;
}

#overlay .modal-body p {
    font-size: 19px;
    font-weight: 400;
    color: #3c3c3c;
    margin: 0;
    padding-bottom: 10px
}

#overlay .modal-body ul {
    display: block;
    padding-left: 11px;
}

#overlay .modal-body li {
    float: left;
    margin: 0 4px;
    list-style: none;
}

#overlay .modal-body a {
    color: #3c3c3c;
    font-size: 15px;
    letter-spacing: .5px;
    font-weight: 400;
    line-height: 32px;
    text-decoration: none;
}

#overlay .modal-footer {
    background-color: #503a82;
    width: 648px;
    margin-top: -10px;
    margin-left: -3px;
    padding-bottom: 10px;
}

#overlay .modal-footer p {
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    margin-top: 9px;
    padding: 4px 0;
}
/*##########----------------###########*/

/* mobile devices */

/* Galaxy S5*/
@media only screen and (width: 360px) {
	.top-rated-burst {
		right: -16px;
    	top: 5px;
	}
	.price {
		right: 26px !important;
	}
	.amount {
		padding-right: 5px;
	}
}

/* iPhone 5 */
@media only screen and (width: 320px) {
	.top-rated-burst {
		top: -18px;
		right: 8px;
	}
	#plan-options .mobile-btn{
		width: 78% !important;
	}
	.price {
		right: 10px !important;
	}
} 

/* iPhone-6 */
@media only screen and (width: 375px) {
	.top-rated-burst {
		right: 0px;
	}
}


/* Other Mobile devices */
@media (max-width: 767px) {
	a:hover .triangle-right {
		border-left: 10px solid #3fadad;
	}
	.plan-header {
		margin-bottom: 20px;
	}
	.plan-header h1{
		margin-top: 10px;
	}
	#plan-options .well {
		text-align: left;
	}
	#plan-options h2 {
		margin: 0 0 5px;
	}
	.plan {
		position: relative;
	}
	.plan .well {
		padding: 15px 25px 75px 15px;
		border: 2px solid #ccc;
    	background-color: #fff;
	}
	.pot-rated-burst {
		right: 5px;
	}

	#plan-options .mobile-btn {
		position: absolute;
		top: -85px;
		left: 33px;
	}
	.starting-at {
		font-size: 14px;
		padding-left: 2px;
		line-height: 0.5;
	}
	.price {
		position: absolute;
		bottom: 10px;
		right: 4px;
		font-family: 'futura-pt';
	}
	.uy .well {
		border-left: 7px solid #711d96;
		border-color: #711d96;
	}
	.uy .well .a-day {
		padding-left: 4px;
	}
	.dollarSignCents, .amount{
		font-size: 30px;
		font-weight: 500;
		color: #711d96;
	}
	.a-day { 
		color: #711d96;
	 }
	.four-week-plan h4 {
		font-size: 22px;
	}
	.vegetarian, .diabetes {
		padding: 2px 25px 75px 15px;
		margin-top: 30px;
	} 
	#other-plans .mobile-btn {
		position: absolute;
		top: -65px;
		left: 33px;
		width: 156px;
	} 
	.lead {
		margin: 0;
	}
	.triangle-right {
		top: 19px;
	}
}
 
/* tablet devices */
@media (min-width: 768px) and (max-width:991px) {
	.h2 {
		font-size: 33px;
	}
	.h2 strong {
		font-weight: 400;
	}
	.plan-header {
		margin-bottom: 30px;
	}
	#plan-options {
		margin-bottom: 46px;
	}
	.plan .top-rated-burst {
		right: -25px;
		top: 38px;
	}
	.plan sup {
		position: relative;
		top: -19px;
		font-size: 34px;
		font-weight: 300;
	}
	.plan .starting-at {
		font-size: 18px;
		font-family: "futura-pt", Arial, Helvetica, sans-serif;
		text-transform: lowercase;
		color: #505357;
		font-weight: 400;
		padding: 9px 0 0 0;
		letter-spacing: 1px;
		line-height: 98px;
		margin-bottom: -26px;
	}
	
	#plan-options .well {
		padding: 19px 0;
	}
	.plan .price {
		margin-top: -38px;
		font-size: 68px;
		font-weight: 200;
		letter-spacing: -0.5px;
		line-height: 68px;
		font-family: "futura-pt", sans-serif;
	}
	.plan .dollarSignCents {
		font-family: "futura-pt", sans-serif;
		font-weight: 300;
		letter-spacing: -0.5px;
		line-height: 47px;
		text-align: left;
		vertical-align: top;
	}
	.plan .a-day {
		display: block;
		font-size: 26px;
		line-height: 32px;
		width: 118px;
		color: #505357;
		font-family: "futura-pt", sans-serif;
		text-transform: uppercase;
		font-weight: 400;
		border-top: 1px solid #666;
		border-bottom: 1px solid #666;
		margin: 0 auto;
		letter-spacing: 4px;
	}
	.uy h2 {
		font-size: 24px;
		letter-spacing: -.75px;
	}
	.uy .well {
		padding-right: 0; 
		padding-left: 0; 
		padding-bottom: 49px;
	}
	.bg-gray-lighter h2 {
		font-size: 26px;
		margin-top: 0;
	}
	.uy .well p, .plan .well p {
		font-size: 14px;
		margin-top: 10px;
		font-family: arial, sans-serif;
		letter-spacing: -.05px;
	}
	#plan-options .mobile-btn {
		width: 190px;
		position: absolute;
		left: 30px;
		top: -48px;
	}
	.four-week-plan h4 {
		line-height: 30px;
	}
	.four-week-plan ul {
		font-size: 16px;
	}
	.four-week-plan li {
		line-height: 22px;
	}
	.balanced-nutrition {
		margin: -6px auto;
		border-left: 2px solid #ccc;
	}
	.balanced-nutrition h4 {
		margin: 0 0 5px 25px;
	}
	.balanced-nutrition ul {
		margin: 0 0 0 25px;
	}
	.balanced-nutrition ul{
		font-size: 14px;
	}
	.vegetarian, .diabetes {
	    margin: 60px auto;
	}
	.vegetarian h3, .diabetes h3 {
		font-size: 24px;
	}
	.vegetarian p, .diabetes p {
		font-size: 18px;
		margin-bottom: 40px;
		line-height: 22px;
	}
	#other-plans .mobile-btn {
		position: absolute;
		top: -86px;
		left: 82px;
	} 
}

/* desktop devices */
@media (min-width: 992px) {
	.plan-header {
		margin-bottom: 30px;
	}
	#plan-options {
		margin-bottom: 30px;
	}
	.plan-content h5 {
		margin-top: 0px;
		font-size: 16px;
		font-weight: 500;
	}
	.top-rated-burst {
		top: 44px;
		right: -20px;
	}
	
	#plan-options .well {
		margin-bottom: 38px;
	}
	#plan-options .bg-gray-lighter h2 {
		font-size: 30px;
		margin-top: 0;
	}
	.plan .starting-at {
		font-size: 18px; 
		font-family: "futura-pt", Arial, Helvetica, sans-serif; 
		text-transform: lowercase; 
		font-weight: 400; 
		color: #505357; 
		padding: 9px 0 0 0; 
		letter-spacing: 1px; 
		line-height: 20px; 
	}
	.plan .amount { 
		font-family: "futura-pt", arial, sans-serif; 
		font-size: 68px; 
		font-weight: 300; 
		letter-spacing: -0.5px; 
		line-height: 68px; 
		text-align: left; 
	} 
	.plan sup {
		font-size: 36px;
		font-weight: 300;
		font-family: "futura-pt", arial, sans-serif;
		top: -24px;
	}
	.plan .a-day {		
		display: block;
		font-size: 20px;
    	line-height: 24px;
    	width: 123px;
		color: #505357;
		font-family: "futura-pt", arial sans-serif;
		text-transform: uppercase;
		font-weight: 400;
		border-top: 1px solid #666;
		border-bottom: 1px solid #666;
		margin: 0 0 0 72px;
		letter-spacing: 4px;
		margin-bottom: 12px;
	}
	#plan-options  .mobile-btn {
		position: absolute;
		left: 60px;
		top: -65px;
	}
	.well p {
		font-size: 18px;
	}
	.four-week-plan {
		margin-top: 18px;
	}
	.four-week-plan h4 {
		line-height: 30px;
		
		font-size: 28px;
	}
	.four-week-plan li {
		line-height: 22px;
	}
	.balanced-nutrition {
		
		border-left: 2px solid #ccc;
	}
	.balanced-nutrition h4 {
		margin: 0 0 5px 25px;
	}
	.balanced-nutrition ul {
		margin: 0 0 0 25px;
	}
	#other-plans h3 {
		padding-top: 0;
	}
	#other-plans p {
		font-size: 18px;
		margin-bottom: 44px;
	}
	#other-plans .mobile-btn {
		position: absolute;
		top: -55px;
		left: 98px;
	} 
	.vegetarian, .diabetes {
		margin-bottom: 30px;
	}
}

