/*
Colors
------
Midnight #143154
Royalty #162D7A
Indigo #2D5EAB
Tola'at #A5201C
Shani #D04636
Sunset #F39C12
Gray1 #6f7c8c
*/


.modal-open {
}
.modal.modal-fullscreen {
	width: 100%;
	height: 100%;
}
.modal-dialog {
	max-width: none;
	margin: 0 auto;
}
.modal .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
.modal .close:hover,
.modal .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
.modal .aspect-skin > img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.modal .modal-content {
	position: relative;
    margin: auto;
    display: block;
	background-color: transparent;
	border: none;
	outline: none;
	border-radius: 0;
	width: 80%;
	max-width: 1200px;
	box-shadow: 2px 6px 12px #333;
}
#ds-quote-modal .modal-content {
	width: 95%;
	max-width: 600px;
}
#ds-today-in-jewish-history-modal .modal-content {
	width: 97%;
	overflow: visible;
}
.modal-twoby {
	position: relative;
	padding-top: 150%;
}
.modal-twoby .left {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 33.33333333%;
	left: 0;
	background-color: #000;
}
.modal-twoby .right {
	position: absolute;
	top: 66.66666667%;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: #fff;
}
.modal-twoby .right .aspect {
	padding-top: 50%;
}
#daily-special .modal-dialog {
	max-width: none;
	margin: 0 auto;
}
.ds-modal-twoby .right .aspect-skin {
	padding: 10px;
    overflow-y: auto;
    height: 100%;
}
.ds-modal-twoby .dateline {
	font-family: 'Libre Franklin', sans-serif;
	text-transform: uppercase;
	font-size: 0.6rem;
	margin-bottom: 5px;
}
.ds-modal-twoby .today {
	font-family: 'Libre Franklin', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	color: #2D5EAB;
	font-size: 0.7rem;
	margin-bottom: 10px;
}
.ds-modal-twoby .content p {
	font-family: 'Libre Franklin', sans-serif;
	font-size: 0.7rem;
	line-height: 0.9rem;
}
.ds-modal-twoby p.heading {
	font-family: 'Playfair Display', serif;
	font-size: 1.0rem;
	line-height: 1.2rem;
	font-weight: 900;
	margin-bottom: 10px;
	display: block;
}
.ds-modal-twoby p.learn-more a {
	display: block;
	text-transform: uppercase;
	color: #F39C12;
	cursor: pointer;
	font-weight: 700;
	font-size: 0.6rem;
}
.ds-modal-twoby p.learn-more a:hover {
	text-decoration: underline;
}
#ds-israel-photo-modal .modal-content {
	width: 100%;
}
.ds-modal-image .aspect-skin {
	background-color: #000;
	margin-bottom: 0;
}
.ds-modal-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.ds-modal-image .content {
	position: absolute;
	bottom: 0;
	width: 100%;
	padding: 5px;
	padding-top: 50px;
	background: url(https://media.aish.com/designimages/gradient.png) left bottom/100% 100% no-repeat;
	color: #fefefe;
}
#ds-quote-modal .ds-modal-image .content {
	bottom: unset;
	top: 0;
	width: 100%;
	background: url(https://media.aish.com/designimages/gradient_top.png) left top/100% no-repeat;
}
.ds-modal-image .content p {
	font-family: 'Libre Franklin', sans-serif;
	font-size: 0.7rem;
	line-height: 1.0rem;
	margin-bottom: 5px;
	max-width: 80%;

}
.ds-modal-image .content p.heading {
	font-weight: 900;
}
.ds-modal-image .content p.teaser {
	display: none;
}
.ds-modal-image .content p.link360 {
	margin-bottom: 0;
}
.ds-modal-image .content p.link360 a {
	font-weight: 700;
	text-decoration: underline;
	color: #F39C12;
}
.ds-modal-image ul.social {
	position: absolute;
	bottom: 14px;
	right: 14px;
}
#ds-quote-modal .ds-modal-image ul.social {
	top: 14px;
	bottom: unset;
}
.ds-modal-image ul.social li {
	padding-left: 10px;
}
.video-modal .modal-content {
	width: 100%;
}
.video-modal .embed-responsive {
	width: 100%;
}
.video-modal .video-info {
	padding: 15px;
	background-color: #efefef;
	text-align: center;
}
.video-modal .video-info a.heading {
	display: block;
	font-family: 'Libre Franklin', sans-serif;
	font-weight: 800;
	font-size: 1.1rem;
	margin-bottom: 10px;
	color: #2D5EAB;
}
.video-modal .video-info p {
	color: #555;
	margin-bottom: 0;
	display: none;
}
.video-modal .foot,
.daily-modal .foot {
	background-color: #666;
	padding: 10px;
	bottom: -66px;
}
.video-modal .foot {
	text-align: center;
}
.daily-modal .foot {
	position: absolute;
	width: 100%;
}
.video-modal .foot .social,
.daily-modal .foot .social {
	float: left;
}
.video-modal .social li {
	padding-left: 10px;
}
.video-modal .social li.first-item {
	padding-left: 0;
}
.video-modal .foot a.vidlinkmsg {
	color: #F39C12;
	font-family: 'Libre Franklin', sans-serif;
	font-size: 0.7rem;
	width: 200px;
	display: inline-block;
	text-align: center;
	text-transform: uppercase;
}
.video-modal .foot a.see-more,
.daily-modal .foot a.see-more {
	float: right;
	position: relative;
	top: 10px;
	display: block;
	text-transform: uppercase;
	font-family: 'Libre Franklin', sans-serif;
	font-weight: 500;
	font-size: 0.7rem;
	color: #F39C12;
	text-align: right;
	margin-bottom: 0;
}

#ds-today-in-jewish-history-modal img {
	float: right;
	margin-left: 6px;
}

/*
Extra small devices (portrait phones, less than 576px)
No media query since this is the default in Bootstrap
*/

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
	.modal .modal-content {
		width: 60%;
	}
	.ds-modal-twoby .right .aspect-skin {
		padding: 10px;
	}
	.ds-modal-twoby .content p {
		font-size: 0.8rem;
		line-height: 1.1rem;
	}
	.ds-modal-twoby p.heading {
		font-size: 1.0rem;
		line-height: 1.5rem;
		margin-bottom: 10px;
	}
	.ds-modal-twoby p.learn-more a {
		font-size: 0.7rem;
	}
	#ds-israel-photo-modal .modal-content {
		width: 90%;
	}
	.ds-modal-image .content {
		padding: 15px;
		padding-top: 100px;
	}
	.ds-modal-image .content p {
		font-size: 0.8rem;
		line-height: 1.1rem;
		margin-bottom: 10px;
	}
	.ds-modal-image .content p.heading {
		font-size: 1.0rem;
	}
	.ds-modal-image .content p.link360 {
	}
	.video-modal .modal-content {
		width: 90%;
	}
	.video-modal .video-info p {
		display: block;
	}
	.video-modal .foot,
	.daily-modal .foot {
		padding: 15px;
	}
	.video-modal .foot a.see-more,
	.daily-modal .foot a.see-more {
		font-size: 0.8rem;
	}
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.modal .modal-content {
		width: 90%;
	}
	#ds-today-in-jewish-history-modal .modal-content {
		width: 90%;
	}
	.ds-modal-twoby .right .aspect-skin {
		height: 50%;
	}
	.modal-twoby {
		padding-top: 50%;
	}
	.modal-twoby .left {
		right: 50%;
		bottom: 0;
	}
	.modal-twoby .right {
		top: 0;
		left: 50%;
	}
	.daily-modal .modal-twoby .right {
		left: 0;
	}
	.modal-twoby .right .aspect {
		padding-top: 100%;
	}
	.ds-modal-twoby .right .aspect-skin {
		padding: 15px;
	}
	.ds-modal-twoby .dateline {
		margin-bottom: 10px;
	}
	.ds-modal-twoby .today {
		margin-bottom: 20px;
	}
	.ds-modal-twoby .content p {
		font-size: 0.9rem;
		line-height: 1.25rem;
	}
	.ds-modal-twoby p.heading {
		font-size: 1.5rem;
		line-height: 2.0rem;
		margin-bottom: 20px;
	}
	#ds-israel-photo-modal .modal-content {
		width: 80%;
	}
	.ds-modal-image .content {
		padding-top: 100px;
	}
	.ds-modal-image .content p {
	}
	.ds-modal-image .content p.heading {
		font-size: 1.2rem;
	}
	.ds-modal-image .content p.teaser {
		display: block;
	}
	.video-modal .foot a.vidlinkmsg {
		width: 240px;
		font-size: 0.8rem;
	}
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
	#ds-today-in-jewish-history-modal .modal-content {
		width: 70%;
	}
	#daily-special .modal-content {
	}
	.ds-modal-twoby .right .aspect-skin {
		padding: 20px;
	}
	.ds-modal-twoby .dateline {
		font-size: 0.8rem;
	}
	.ds-modal-twoby .today {
		font-size: 1.0rem;
	}
	.ds-modal-twoby .content p {
		font-size: 0.9rem;
		line-height: 1.4rem;
	}
	.ds-modal-twoby p.heading {
		font-size: 1.8rem;
		line-height: 2.4rem;
		margin-bottom: 20px;
	}
	.ds-modal-twoby p.learn-more a {
		font-size: 1.0rem;
	}
	.ds-modal-twoby p.learn-more a:hover {
	}
	#ds-israel-photo-modal .modal-content {
		max-width: 900px;
	}
	.ds-modal-image .content {
		padding: 20px;
		padding-top: 200px;
	}
	.video-modal .modal-content {
		width: 80%;
	}
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	#ds-today-in-jewish-history-modal .modal-content {
		width: 60%;
	}
	.video-modal .modal-content {
		width: 60%;
	}
}

/* Super big (DAR added) */
@media (min-width: 1600px) {
	#ds-today-in-jewish-history-modal .modal-content {
		width: 50%;
	}
	.video-modal .modal-content {
		width: 50%;
	}
}


/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
}

/*
Extra large devices (large desktops)
No media query since the extra-large breakpoint has no upper bound on its width
*/


