/* $/iLang/Development/ILang/Web/Controls/TinyMCE/css */

/* Tabelas agora ficam com largura auto e imagens com largura máxima de 100% */


html {
	font-family:Arial, sans-serif;
	font-size: 11pt;
	color: #333;
	line-height:1.5;
	cursor: text;
	margin: 0; 
	padding: 0;
}
	
.mce-content-body {
    margin: 0!important;
    padding: 8px!important;
    box-sizing: border-box;
}

html > *:after {
    content: " ";
    display: block;
    height: 10px;
    clear: both;
}

html > *:not(.mce-content-body) {
	overflow: hidden;
    box-sizing: border-box;
	margin: 0;
}

div  {
	max-width:100%; 
	overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    -ms-hyphens: auto;
  	-moz-hyphens: auto;
  	-webkit-hyphens: auto;
  	hyphens: auto;
}
			
thead {
	background-color: #FFBBBB;
}
			
tfoot {
	background-color: #BBBBFF;
}
			
p {
	margin: 0;
	padding: 0;
	margin-right: 0!important;
	max-width: 100%;
    page-break-inside:avoid;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    -ms-hyphens: auto;
  	-moz-hyphens: auto;
  	-webkit-hyphens: auto;
  	hyphens: auto;
}

p:empty:before,
div:empty:before {
	content: ".";
	color: white!important;
    opacity:0;
    visibility:hidden;
}
	/*Bug TinyMCE*/
	div[id*=jwplayer]:empty:before,
	div:last-child:empty,
	p:last-child:empty { 
		display: none;
	} 
			
img {
	max-width: 100%!important; 
	height: auto;
	vertical-align: middle;
	page-break-inside: avoid;
}

a {
	color:#69d;
	text-decoration:none;
	page-break-inside: avoid;
}
a:hover {
	text-decoration:underline;
}
			
table {
	width: 100%!important;
	max-width: 100%!important;
	margin-left: 0!important;
	margin-right: 0!important;
	page-break-inside: avoid;
	border-collapse: separate;
	border-spacing: 3px;
	clear: both;
	text-align: left;
}

tbody {
    display: contents;
}

table td,
table th {
	border: none;
	background: #f1f1f1;
	padding: 5px;
	width: auto!important;
}

table th {
    font-weight: bold;
    background: #d8d8d8;
}
			
iframe {
	border:0;
	max-width: 100%;
	page-break-inside: avoid;
}

/*Vídeo do TinyMCE com tamanho máximo de 100%*/
div[id^="jwplayer"], video { max-width: 100%; }	

video { background-color: black; }

/*Tornando vídeo responsivo do TinyMCE*/

.ilVideoPlayerCont {
	text-align: center;
    width: 100%;
    height: 0;
    position: relative;
    padding-bottom: 56.25%;
	background-size: cover;
	background-position: center;
	cursor: default;
	margin: 0;
	border-radius: 5px;
    overflow: hidden;
    box-shadow: 0px 2px 10px rgba(0,0,0,.4);
}	

.ilVideoPlayerCont:before,
.ilVideoPlayerCont:after {
    width: 60px;
    height: 60px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -30px;
    opacity: .7;
    transition: opacity .1s linear;
    z-index: 1;
}

.ilVideoPlayerCont:before {
    content: " ";
    display: block;
    background: inherit;
    border-radius: 100px;
    z-index: 0;
    filter: blur(4px);
    opacity: .95;
    background-size: 600%;
    background-position: center;
    background-color: #cacaca;
}

.ilVideoPlayerCont:after {
	content: " ";
	width: 60px;
	height: 60px;
	background: url(https://staticcdn.ulife.com.br/App_Themes/ILang/img/playButton.png) center no-repeat;
}
		
.ilVideoPlayerCont .ilVideoPlayer {
    position:absolute; 
    display: block; 
    height: 100%; 
    width: 100%; 
    top: 0; 
    left: 0;
    page-break-inside:avoid;
    z-index: 2;
}

.ilVideoPlayerCont .ilVideoPlayer > div,
.ilVideoPlayerCont .ilVideoPlayer > div > div,
.ilVideoPlayerCont .ilVideoPlayer video {
    height: 100%!important;
    width: 100%!important;
}

.ilVideoPlayerCont .ilVideoPlayer div {
    max-height: 100%;
}

.ilVideoPlayerCont .ilVideoPlayer div img {
    top: 0!important;
}

/* Video responsivo - iFRAME DO VIMEO */
.videoResponsive {
    position: relative;
    display: block;
    height: 0;
    padding: 0 0 56.25%;
    overflow: hidden;
    page-break-inside:avoid;
    margin: 0;
	width: 100%;
	border-radius: 5px;
}

.videoResponsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    border: 0;
    max-width: 100%;
}

/* CORRIGINDO BUG DE VÍDEO DO YOUTUBE */
.ilVideoPlayerCont .mce-object {
    border: none;
    background: none;
}

/* Fórmulas */
.imgMath {
    image-rendering: pixelated;
    page-break-inside:avoid;
}


/* PLAYER DE AUDIO (HSM e iLang) */
.ilVideoPlayerCont.ilAudioPlayerCont {
    padding-bottom: 0!important;
    height: 220px!important;
    width: 100%;
    border-radius: 5px;
}

.ilVideoPlayerCont.ilAudioPlayerCont iframe {
	width: 100%;
	height: 100%;
}

.ilVideoPlayerCont.ilAudioPlayerCont:before,
.ilVideoPlayerCont.ilAudioPlayerCont:after {
	display: none;
}

/* - - - - - - - - - - APP PROVA - - - - - - - - - - */

/*Corrigindo bug de citação*/
.appProva sup, 
.appProva sub {
	text-align: right;
	display: inline-block;
	font-size: smaller;
}

.appProva p {
    margin: 10px 0;
}


/* - - - - - - - - - - EDITOR TINYMCE - - - - - - - - - - */
#tinymce {
    padding: 5px;
    box-sizing: border-box;
}


/* - - - - - - - - - ARTIGOS E OBJETOS DO HSM - - - - - - - - - - - */
.hsmArticle {
	display: contents;
}

.hsmArticle p,
.hsmArticle ol,
.hsmArticle ul {
	line-height: 1.6;
	font-size: 11pt;
	color: #444;
	margin-bottom: 15px;
	overflow: visible;
}

.hsmArticleHeader {
	margin: 0 0 20px;
	box-sizing: border-box;
	width: 100%;
	padding: 35vw 20px 20px;
	border-radius: 5px;
	background-size: cover;
	background-position: center;
	position: relative;
}


.hsmArticleHeader h4 {
	font-size: 2.2em;
	color: #fff;
	font-weight: 700;
	text-shadow: 1px 1px #464646;
	padding: 0;
	margin: 0;
	position: relative;
}

.hsmArticleHeader:before {
	content: " ";
	display: block;
	position: absolute;
	width: 100%;
	height: 70%;
	bottom: 0;
	left: 0;
	border-radius: 5px;
	background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%);
	background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
	background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
	
}

.hsmArticle blockquote {
	background: rgba(0,0,0,.1);
	margin: 30px 0;
	padding: 20px 20px 20px 30px;
	border-radius: 5px;
	border-left: 5px solid #333;
	clear: both;
}

.hsmArticle blockquote p {
	color: black;
	margin: 0;
	font-size: 1.1em;
	font-weight: bold;
}

.hsmArticleText {
	padding: 0 20px;
}


.hsmArticle figure {
	display: contents;
}

.hsmArticle figure img + figcaption {
	font-size: .9em;
	color: #999;
	box-sizing: border-box;
}

.hsmArticle figure img[alt="left"],
.hsmArticle figure img[alt="right"] {
	width: 30%;
	float: left;
	clear: left;
	margin: 0 15px 10px 0;
	border: 0;
	padding: 0;
}

.hsmArticle figure img[alt="left"] + figcaption,
.hsmArticle figure img[alt="right"] + figcaption {
	width: 30%;
	float: left;
	clear: left;
	padding-right: 5px;
	margin: 0 15px 25px 5px;
}
		
.hsmArticle figure img[alt="right"] {
	float: right;
	clear: right;
	margin: 0 0 10px 15px;
}

.hsmArticle figure img[alt="right"] + figcaption {
	float: right;
	clear: right;
	margin: 0 5px 25px 15px;
	padding-right: 5px;
	padding-left: 0;
	text-align: right;
}

.hsmArticle figure img[alt=""] {
	width: 100%;
	margin-right: 0;
	float: none;
}

.hsmArticle figure img[alt=""] + figcaption {
	width: 100%;
}

 	/* VÍDEO HSM HEADER */
 	.ilVideoPlayerCont .ilVideoPlayer .ilVideoHeader {
	    font-size: 1.6em;
	    color: #fff;
	    font-weight: 700;
	    text-shadow: 1px 1px #464646;
	    margin: 0;
	    position: absolute;
	    bottom: 0;
	    display: flex;
	    align-items: flex-end;
	    padding: 20px;
	    box-sizing: border-box;
	}
	
	.ilVideoPlayerCont .ilVideoPlayer .ilVideoHeader:before {
	    content: " ";
	    display: block;
	    position: absolute;
	    width: 100%;
	    height: 70%;
	    bottom: -1px;
	    left: 0;
	    border-radius: 5px;
	    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%);
	    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
	    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
	}
	
	.ilVideoPlayerCont .ilVideoPlayer .ilVideoHeader p {
	    position: relative;
	}
	
	.ilVideoPlayerCont .kWidgetIframeContainer {
		position: absolute;
	}

/* Link Para conteúdo de outras disciplinas */
.cardLinkDis {
	margin: 8px 10%;
    padding: 0;
    box-sizing: border-box;
    background: white;
    border-radius: 5px;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: box-shadow .1s linear, border-color .1s linear;
}

.cardLinkDis:hover {
	box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
}

.cardLinkDis * {
	margin: 0 16px; 
}

.clDisImg {
    height: 120px;
    margin: 0; 
    border-radius: 5px 5px 0 0;
    background-size: cover;
    background-position: center;
    background-color: #cccce3;
    overflow: hidden;
}

.cardLink {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 0;
    cursor: pointer;
    display: block;
    float: left;
    text-decoration: none;
}

.cardLinkDis h4 {
	font-size: 18px;
	font-weight: bold;
	margin: 12px 16px 4px; 
}

.cardLinkDis p {
	font-size: 14px;
	margin-right: 16px!important;
}

.cardLinkDis input[type="button"] {
	width: auto;
	overflow: visible;
	cursor: pointer;
	color: white;
	border: none;
	font-size: 14px;
	padding: 0 24px;
	line-height: 36px;
	text-decoration: none !important;
	border-radius: 5px;
	background: #1F80E1;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	box-sizing: border-box;
	display: inline-block;
	margin: 16px;
	transition: background-color .1s linear;
}

.cardLinkDis:hover input[type="button"] {
	background-color: #1A6BBD;
}

nobr {
    display: contents;
    white-space: normal;
}

/* - - - - - - - - - - - - - DISPLAY PEQUENO - - - - - - - - - - - - - */
@media screen and (max-width: 750px) {

	
	/* - - - - - - - - - ARTIGOS E OBJETOS DO HSM - - - - - - - - - - - */
	
	.hsmArticleHeader {
		padding-top: 30vw;
	}
	
	.hsmArticle figure img[alt="left"],
	.hsmArticle figure img[alt="right"],
	.hsmArticle figure img[alt="left"] + figcaption,
	.hsmArticle figure img[alt="right"] + figcaption {
		width: 50%;
	}
	
}

/* - - - - - - - - - - - - - SMARTPHONE - - - - - - - - - - - - - */
@media screen and (max-width: 500px) and (orientation: portrait),
screen and (max-device-width: 500px) and (orientation: portrait) {		
		
	/* - - - - - - - - - ARTIGOS E OBJETOS DO HSM - - - - - - - - - - - */	
	
	.hsmArticleHeader h4 {
		font-size: 1.6em;
	}
	
	.hsmArticle figure img[alt="left"],
	.hsmArticle figure img[alt="right"],
	.hsmArticle figure img[alt="left"] + figcaption,
	.hsmArticle figure img[alt="right"] + figcaption {
		width: 100%;
		margin-bottom: 0;
	}


}
