
.slide {
    display: block;

/*
    width: 1280px;
    height: 720px;
*/
    width: 1000px;
    height: 750px;
    padding: 0px 0px 0px 0px;

    border: 1px solid rgba(0, 0, 0, .3);
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .1);

    color: rgb(30, 30, 20);
    text-shadow: 0 2px 2px rgba(0, 0, 0, .1);

    font-family: 'Open Sans', Arial, sans-serif;
}

.slide.todo {
    border: 10px solid red;
}

.slide.subslide {
    background-color: rgba(255,255,255,1);
}

.slide .background {
 	-webkit-filter: saturate(1.0);
 	position: absolute;
 	top: 0px;

	background-size: 100% 100%;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.subslide .background {
/* 	-webkit-filter: saturate(0.2);
 	-webkit-filter: brightness(4.0);
 	-webkit-filter: contrast(0.5);
*/
	-webkit-filter: saturate(0.2);
	opacity: 0.3;
}

.slide video {
	transform: translateZ(10px);
	position: absolute;
}

.slide h1 {
    display: block;
    font-size: 5em;
    line-height: 150px;
 	z-index: 1;
    width: 100%;
    height: 150px;
    color: rgb(240,240,230);
    background-color: rgba(0,0,0,0.5);
    border-radius: 0px 0px 10px 10px;

	text-align: center;
	position: absolute;
	bottom: 0px;
}

.slide h2 {
	display: inline-block;
	padding: 10px 20px;
    font-size: 3.6em;
    background-color: rgba(120,120,100,0.5);
    color: rgb(50,50,50);
    border-radius: 10px 0px 0px 0px;
    top: 0px;
    z-index: 1;
    position: absolute;
}

.slide > ul, .slide > p, .slide > code {
	display: block;
	background-color: rgb(255,255,255);
    padding: 1%;
    padding-right: 2%;
	border: 3px solid rgb(200,230,255);
	border-radius: 5px;
	width: auto;

	list-style: disc inside;
	font-size: 3.2em;
	line-height: 1.5em;

	position: absolute;
	top: 12%;
	left: 0%;
	margin: 0px;
	margin-left: 4%;
	margin-right: 4%;

  /*min-height: 20%;*/
}

code.example_code {
    white-space: pre;
    font-size: 2.4em;
}

code.example_code.javascript {
    white-space: pre;
    font-size: 1.8em;
}

.slide > ul.right_side, .slide > p.right_side, .slide > code.right_side {
    max-width: 45%;
    /* padding: 0%; */
    right: 0%;
    margin-right: 1%;
    left: auto;
}

.slide > ul.left_side, .slide > p.left_side {
    width: 45%;
    /* padding: 0%; */
    margin-left: 1%;
}

.slide > ul > li {
	margin-top: 40px;
	padding-left: 1em;
	text-indent: -1em;
}

.slide > ul.tight > li {
	margin-top: 0px;
	padding-left: 1em;
	text-indent: -1em;
}

.slide > ul > li:first-of-type {
	margin-top: 0px;
}

.youtube {
    position: absolute;
    left: 10%;
    top: 12%;
    width: 800px;
    height: 450px; 
    background-repeat: no-repeat;
	background-size: 100% 100%;
}

a.youtube {
    height: 20px;
    font-size: 20px;
    padding: 10px;
}

.iframe_mc {
    position: absolute;
    left: -11%;
    top: 0%;
    width: 122%;
    height: 88%;
    background-color: whitesmoke;
    transform: scale(0.8)
}

.full_image {
    position: absolute;
    left: 0%;
    top: 0%;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.full_width_image {
    position: absolute;
    left: 0%;
    top: 9%;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.epic_slide_image {
    position: absolute;
    left: 0%;
    top: 5%;
    width: 100%;
    height: auto;
    object-fit: contain;
}

em {
    color: red;
}

.image_alt {
    display: none;
}

.center_image {
    position: absolute;
    left: 50%;
    top: 9%;
    width: 96%;
    height: 70%;
    margin-left: -48%;
    object-fit: scale-down;
}

.bottom_image {
    position: absolute;
    left: 50%;
    bottom: 21%;
    width: 96%;
    height: 32%;
    margin-left: -48%;
    object-fit: contain;
}

.left_image {
    position: absolute;
    left: 0%;
    top: 1%;
    width: 48%;
    height: 78%;
    margin-left: 1%;
    object-fit: contain;
}

.right_image {
    position: absolute;
    right: 0%;
    top: 1%;
    width: 48%;
    height: 78%;
    margin-right: 1%;
    object-fit: contain;
}

.bottomright_image {
    position: absolute;
    right: 1%;
    bottom: 21%;
    width: 40%;
}

.bottomleft_image {
    position: absolute;
    left: 1%;
    bottom: 21%;
    width: 40%;
}

.topright_image {
    position: absolute;
    right: 1%;
    top: 1%;
    width: 40%;
}

.topleft_image {
    position: absolute;
    left: 1%;
    top: 9%;
    width: 40%;
}

.refs_container {
    position: absolute;
    right: 0%;
    top: 0%;
    /* width: 20%; */
    border: solid 2px;
}

.ref {
    display: block;
    background-color: transparent;
    margin: 0.4ex 0.8ex;
    font-size: 1.8em;
}

.nav_link {
    display: none;
    position: absolute;
    top: 0%;
    margin: 0.1ex;
    padding: 0.3ex;
    font-size: 0.8em;
    z-index: 100;
    cursor: pointer;
}

.prev_link {
    left: 0%;
}

.next_link {
    right: 0%;
}

.active .show_navlink {
    display: block;
}

.youtube_print_link {
	height: 3ex;
	font-size: 5ex;
	text-align: center;
	padding-top: 1ex;
}

.visualization {
    position: absolute;
    left: 10%;
    top: 8%;
    width: 80%;
    height: 71%;
}

.slide ul ul {
	margin: 0px 2em;
	padding-left: 1em;
	list-style: square inside;
	text-indent: -1em;
	line-height:1.5em;
	font-size: 0.7em;
}

.slide ul ul ul {
	list-style: circle inside;
}

/*
    The last step is an overview.
    There is no content in it, so we make sure it's not visible because we want
    to be able to click on other steps.

*/
#overview { display: none }

.virtual { display: none }

.reveal { visibility: hidden }

/*
    We also make other steps visible and give them a pointer cursor using the
    `impress-on-` class.
*/
.impress-on-overview .step {
    opacity: 1;
    cursor: pointer;
}


.subslide {
    display:none;
}

.subslide.active_section {
    display: block;
}

.inactive_presentation {
    display: none;
}

.subslide.active_section:hover {
    opacity: 1;
}

.section.slide:hover {
    opacity: 1;
}

.impress-on-overview .subslide {
    display: none;
}

/*
    And as the last thing there is a workaround for quite strange bug.
    It happens a lot in Chrome. I don't remember if I've seen it in Firefox.

    Sometimes the element positioned in 3D (especially when it's moved back
    along Z axis) is not clickable, because it falls 'behind' the <body>
    element.

    To prevent this, I decided to make <body> non clickable by setting
    pointer-events property to `none` value.
    Value if this property is inherited, so to make everything else clickable
    I bring it back on the #impress element.

    If you want to know more about `pointer-events` here are some docs:
    https://developer.mozilla.org/en/CSS/pointer-events

    There is one very important thing to notice about this workaround - it makes
    everything 'unclickable' except what's in #impress element.

    So use it wisely ... or don't use at all.
*/
.impress-enabled          { pointer-events: none }
.impress-enabled #impress { pointer-events: auto }

.twitter-tweet {
  display: inline-block !important;
  position: absolute;
}

/* .twitter-tweet iframe {
    position: absolute;
    width: 1890px !important;
} */

@media print {
    .slide:nth-child(2n) {page-break-after: always;}

}

@media print and (orientation: landscape) {
    .slide {page-break-after: always;}
}

button.iframe_reload {
   width: 100%;
   bottom: 0%;
   z-index: 999;
   position: absolute;
}

.blog_link {
    font-size: 0.6em;
    margin-left: 0.3em;
}

#pressence_heading {
    font-size: 6em;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    color:rgb(16, 75, 99);
    display: inline;
    vertical-align: middle;
}

#pressence_heading img {
    width: 1em;
    height: 1em;
    margin: 0.3em;
    vertical-align: middle;
}

/* ======================================================================
   EDITING FUNCTIONALITY STYLES
   ====================================================================== */

/* Visual indicator that editing is enabled */
.editing-enabled .subslide {
    cursor: pointer;
}

.editing-enabled .subslide:hover {
    border: 2px dashed #007cba;
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.3);
}

.editing-enabled .section:hover {
    outline: 2px dashed #007cba;
}

/* Slide editor overlay styles */
.slide-editor-overlay {
    font-family: Arial, sans-serif;
    pointer-events: all;
}

.slide-editor {
    font-size: 14px;
    pointer-events: all;
    position: relative;
}

.slide-editor h2 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
}

.slide-editor label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.slide-editor input[type="text"], 
.slide-editor textarea {
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    resize: vertical;
}

.slide-editor input[type="text"]:focus,
.slide-editor textarea:focus {
    border-color: #007cba;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 124, 186, 0.3);
}

.slide-editor button {
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    pointer-events: all;
    min-height: 40px;
    min-width: 80px;
}

.slide-editor button:hover {
    background: #f0f0f0;
}

.slide-editor input, .slide-editor textarea {
    pointer-events: all;
}

/* Context menu styles */
.custom-context-menu {
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.custom-context-menu .menu-item:first-child {
    border-radius: 4px 4px 0 0;
}

.custom-context-menu .menu-item:last-child {
    border-radius: 0 0 4px 4px;
    border-bottom: none !important;
}

/* Edit mode indicator */
.editing-enabled::before {
    content: "EDIT MODE: Double-click slides to edit, right-click to add";
    position: fixed;
    top: 10px;
    right: 10px;
    background: #007cba;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 9999;
    font-family: Arial, sans-serif;
}