/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700');

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 140%;
  margin: 0 auto;
  font-family: 'Source Sans Pro', sans-serif;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

.lesson-link {
  background: #42444e;
  border-bottom: 1px solid #31333a;
  font: 14px/24px "Whitney SSm A","Whitney SSm B","Lucida Grande","Lucida Sans",Verdana,Helvetica,Arial,sans-serif;
  padding: 10px 30px 9px 30px;
  margin: 0 0 20px 0;
}

pre{
  margin:10px 0;
}
code {font-size: 97%;}
				
pre code {
  background-color: #eee;
  border: 1px solid #999;
  display: block;
  padding: 20px;
  word-break: break-all;
  overflow: hidden;
  white-space: pre-wrap;
}

textarea{
  width:0;
  height:0;
  background: transparent;
  border:1px solid transparent;
}

.lesson-link h3{
  color:#fff;
}

/*CSS for plugin*/
._res_json{
  margin-bottom:10px;
  margin-top:10px;  
  padding:15px;
  max-height: 650px;
}

._btn_report{
  position: absolute;
  left:0;
  top:54%;
}
.irc_pbg {
  position: relative;
}

#irc_bg {
  position: absolute;
  width: 100%;
  z-index: 2;
}

.image--expand {
  width: 100%;
}
.arrow--up {
  border-bottom: 8px solid #000;
  border-left: 8px solid transparent; 
  border-right: 8px solid transparent;
  height: 0;
  width: 0;
  margin: 2px auto 0;
}
.image--expand {
  position: relative;
  left: -5px;
  padding: 0 10px;
  overflow: hidden;
  background: #fff;
  max-height: 800px;
  transition: max-height .3s ease-in-out,margin-bottom .1s .2s;
  height: 600px;
  z-index: 9999999;
  margin-top: 11px;
  border-radius: 9px;
  color:#000;
 
}

._height_38{
  height: 38px;
}
.irc_bg {
  background: #222;
  font-size: small;
  height: 0;
  margin-bottom: 12px;
}
._main_imgs img{
  height:350px;
}
._res_json img{
  padding:10px;
  display:block;
  border:1px solid #cccc;
  margin-bottom: 10px;
}

._res_json img:hover{
  opacity: .8;
  transition: opacity .3s linear;
}
._dispn{
  display:none;
}
ul._sidebar{
  height: 100vh;
  border-right:1px solid #ddd;
  width:150px;
}

ul._sidebar li{
  display: block;
  margin: 0;
  padding: 10px 0;
  width: 125px;
  text-align: center;
}

ul._sidebar li span{
  font-weight: 600;
  display: block;
  line-height: 30px;
}

._img_preview{
  border:1px solid #ddd;
  border-radius: 20px;
  margin-bottom:10px;
}

._in_middle{
  position: absolute;
  top: 43%;
  width: 79%;
  height: 19px;
  opacity: 0.8;
}
._upload_file{
  position: relative;
  display: inline-block;
  overflow: auto;
  width: calc(100% - 16px);
  min-width: calc(100% - 16px);
  min-height: 40px;
  max-width: calc(100% - 16px);
  max-height: 100%;
  margin: 8px;
  border: 2px dashed #aaa;
  background-color: #eee;
}

._button_as_wrong{
  font-size:16px!important;
  color:#979797;
}

._button_as_wrong i{
  font-size: 16px!important
}

._button_as_wrong.active{
  color:#ff0000;
  pointer-events: none;
}

.image_show{
    width:40px;
    height: 40px;
    border-radius: 100%;
}


.cdk-overlay-pane{
    max-width: 100vw!important;
}

.visual_dialog{
    font-weight:500!important;
    margin:0!important;
    font-size:30px;
}

ul._main_filters li{
    display: inline-block;
    padding:5px;
    cursor:pointer;
    text-transform: capitalize;
}

._filtered_images{
  width: 100%;
  overflow-x: scroll;
  /* background: #ccc; */
  white-space: nowrap;
  position: relative;
}

._arrow_left{
    position:absolute;
    left:0;
    top:50%;
    z-index: 999999;
}

._arrow_right{
  position:absolute;
  right:0;
  top:50%;
  z-index: 999999;
}

ul._filtered_images li{
    width:auto;
    display: inline-block;
}
ul._main_filters li span.badge-light:hover{
background-color: #5194dc;
color:#fff!important;
}

.badge-light {
  color: #212529;
  background-color: #e8e6e6;
  border: 1px solid #ddd;
  padding: 5px!important;
}
._res_json{
  margin-bottom:10px;
  margin-top:10px;  
  padding:15px;
  max-height: 650px;
}

._res_json img{
padding: 10px;
display: block;
max-width: 100%;
/* margin-bottom: 10px; */
margin: 1px auto;
  -webkit-box-shadow: 0 0 5px rgba(0,0,0,.1);
  box-shadow: 0 0 5px rgba(0,0,0,.1);
  border: 3px solid #fff;
  margin-bottom: 5px;
  height: 350px;
}

.img_placeholder{
max-width: 330px;
height: 352px;
text-align: center;
}

._button_pos{
  position: absolute;
  top: 332px;
  left: 34px;
}

span.badge.badge-pill.badge-light.active{
  background-color: #5194dc;
  color:#fff!important;
}

/* width */
::-webkit-scrollbar {
  height:5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

.close_btn{
  color: #000;
  background: transparent;
  text-transform: uppercase;
  position: absolute;
  border:1px solid transparent;
  top: 5px;
  right: 5px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 50px;
  line-height: 0;
  vertical-align: top;
}

.close_btn:focus{
  outline: 0;
}

.image-grid {
  width: 100%;
  max-width: 1310px;
  margin: 0 auto;
  padding: 10px 5px 0;
}

.image__cell {
  float: left;
  position: relative;
}

.image--basic {
  padding: 0 5px;
}

.basic__img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.image__cell.is-collapsed .image--basic {
  cursor: pointer;
}

.image__cell.is-expanded .image--expand {
  max-height: 500px;
  margin-bottom: 10px;
}



.image__cell.is-collapsed .arrow--up {
  height: 10px;
  width: 100%;
}

.image__cell.is-expanded .arrow--up {
  border-bottom: 8px solid #000;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  height: 0;
  width: 0;
  margin: 2px auto 0;
}

.expand__close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #454545;
  font-size: 50px;
  line-height: 50px;
  text-decoration: none;
}

.expand__close:before {
  content: '×';
}

.expand__close:hover {
  color: #fff;
}

.image--large {
  max-width: 100%;
  height: auto;
  display: block;
  padding: 40px;
  margin: 0 auto;
  box-sizing: border-box;
}

.badge {
    display: inline-block;
    padding: .25em .4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
}

@media only screen and (min-width: 531px) {
 
  .image__cell {
      width: 33.33%;
  }
  
  .image__cell:nth-of-type(3n+2) .image--expand {
    margin-left: -108%;
  }

  .image__cell:nth-of-type(3n+3) .image--expand {
    margin-left: -216%;
  }

  .image__cell:nth-of-type(3n+4) .image--expand {
    clear: both;
  }
  .image--expand {
    width: 100%;
  }
  
}

.buttonDownload {
	display: inline-block;
	position: relative;
	padding: 10px 25px;
  
	background-color: #4CC713;
	color: white;
  
	font-family: sans-serif;
	text-decoration: none;
	font-size: 0.9em;
	text-align: center;
	text-indent: 15px;
}

.buttonDownload:hover {
	background-color: #333;
	color: white;
}

.buttonDownload:before, .buttonDownload:after {
	content: ' ';
	display: block;
	position: absolute;
	left: 15px;
	top: 52%;
}

/* Download box shape  */
.buttonDownload:before {
	width: 10px;
	height: 2px;
	border-style: solid;
	border-width: 0 2px 2px;
}

/* Download arrow shape */
.buttonDownload:after {
	width: 0;
	height: 0;
	margin-left: 3px;
	margin-top: -7px;
  
	border-style: solid;
	border-width: 4px 4px 0 4px;
	border-color: transparent;
	border-top-color: inherit;
	
	animation: downloadArrow 2s linear infinite;
	animation-play-state: paused;
}

.buttonDownload:hover:before {
	border-color: #4CC713;
}

#using_code_example_in_html{
  font-size: 20px;
}

.buttonDownload:hover:after {
	border-top-color: #4CC713;
	animation-play-state: running;
}

#myTabContent h2{
  font-size: 20px;
}

/* keyframes for the download icon anim */
@keyframes downloadArrow {
	/* 0% and 0.001% keyframes used as a hackish way of having the button frozen on a nice looking frame by default */
	0% {
		margin-top: -7px;
		opacity: 1;
	}
	
	0.001% {
		margin-top: -15px;
		opacity: 0;
	}
	
	50% {
		opacity: 1;
	}
	
	100% {
		margin-top: 0;
		opacity: 0;
	}
}
ul._okkular_services{
  margin-top:5%;
}

ul._okkular_services.ul li{
  display:inline-block;
}

._service_head{
  padding-bottom:15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

._service_head h3{
  font-size:24px;
}

ul._okkular_services li{
  width:30%;
  height:220px;
  padding:59px 0;
  box-sizing: border-box;
  background: #413f3f;
  color:#fff;
  font-size: 20px;
  margin-left:20px;
  display:inline-block;
}

._side_services{
  border-left:1px solid #ddd;
  height: 100vh;
}

._side_services h3{
  font-size: 18px;
  margin-top:20px;
  margin-bottom: 10px;
}

._services{

}

._services h3{
  font-size: 30px;
  margin:10px auto;
}

._footer_bottom{
  background: #42444e;
  height:35px;
  position: fixed;
  bottom: 0;
  width: 100%;
  padding:8px;
  color:#fff;
}