/* Monetization related styling */

/* Advert */
.advert-standard {
    position: relative;
	display: inline-block;
	width: 100%;
	max-width: 300px;
	max-height: 250px;
	overflow: hidden;
}
.advert-standard:after {
    content: '';
    display: block;
    height: 0;
    width: 100%;
    padding-bottom: calc(5/6*100%);
}
.advert-banner {
    position: relative;
	display: inline-block;
	width: 100%;
	max-width: 728px;
	max-height: 90px;
	overflow: hidden;
}
.advert-banner:after {
    content: '';
    display: block;
    height: 0;
    width: 100%;
    padding-bottom: calc(90/728*100%);
}
.advert-standard .advert-card-inner,
.advert-banner .advert-card-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}
.advert-standard .title,
.advert-banner .title {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 6px;
    width: 100%;
    max-width: 100%;
    z-index: 20;
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    display: block;
    display: -webkit-box;
    min-height: 1em;
    max-height: 3em;
    line-height: 1em;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -ms-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-backface-visibility: hidden;
}
.advert-standard .bottom-shadow,
.advert-banner .bottom-shadow {
	background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%);
	background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%);
	background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
	position: absolute;
	width: 110%;
	min-height: 50%;
	left: 0;
	bottom: -2px;
	z-index: 1;
}

.create-advert-dropdown .dropdown-toggle img {
    display: inline-block;
    width: 50px;
    height: 50px;
    vertical-align: middle;
    border: thin solid transparent;
    background: red;
}
.create-advert-dropdown .dropdown-menu {
    left: auto;
    right: 0;
    max-width: calc(100vw - 10px);
}
.create-advert-dropdown .dropdown-item {
    margin: 5px;
    overflow: hidden;
}

/* Adblocker Warning */
.adblocker-warning {
    padding: 10px 0 15px;
    font-size: 16px;
    font-weight: bolder;
}
.adblocker-warning .fa-exclamation-triangle {
    color: orange;
}

/* Monetization Menu */
.monetization-item {
    min-width: 260px;
}
