.widget_master {
	
	background-color: rgba(20,20,20,.85);
	width: 85%;
	max-width: 1000px;
	/*height: 70vh;*/
	height: 70%;
	box-sizing: border-box;
	position: relative;
	top: 20vh;
	top: 20%;
	left: calc((100% - 85%) / 2);
	left: calc((100% - min(85%,1000px)) / 2);
	
	border-radius: 0px 0px 10px 10px;
	/*border-color: rgba(20 20 20 / .85);*/
	/*border-style: solid;*/
	/*border-width: 5px;*/
	
	box-sizing: border-box;
	z-index: 9;
	/*overflow: hidden;*/
	
	/*filter: drop-shadow(-5px 5px 15px rgba(0 0 0 / .65));*/
}

.widget_slides_title {
	width: 100%;
	height: 30px;
	position: absolute;
	top: calc(-45px - 1.25em);
	font-family: 'main-font-bold';
	/*font-size: 1.25em;*/
	font-size: 3em;
	color: rgba(250,250,250,.25);
	text-align: center;
	z-index: 10;
}

.widget_slides_title_master {
	/*overflow: hidden;
	position: absolute;
	top: calc(-1.25em - 50px);
	width: 100%;
	height: 50px;*/
}

.widget_tags_master {
	width: 100%;
	height: 50px;
	top: -40px;
	position: relative;
	box-sizing: border-box;

	/*border-radius: 4px;*/
	/*border-color: rgba(20 20 20 / .2);*/
	/*border-style: solid;*/
	/*border-width: 1px;*/
	
	display: flex;
	flex-direction: row;
	/*flex-wrap: wrap;*/
}

.widget_tag {
	position: relative;
	left: -4px;
	top: 0px;
	transition: top .25s;
	
	width: auto;
	max-width: 100px;
	/*min-width: 75px;*/
	max-height: 20px;
	
	padding: 5px;
	padding-bottom: 8px;
	padding-top: 3px;
	
	margin: 4px;
	background-color: rgba(20,20,20,.85);
	color: rgb(250,250,250);
	border-radius: 10px 10px 0px 0px;
	border-color: rgb(200,200,200);
	/*border-style: solid;*/
	border-width: 1px;
	
	text-align: center;
	overflow: hidden;
	
	cursor: pointer;
}

.widget_tag:hover{
	background-color: rgb(200,200,200);
	top: -5px;
	color: rgb(50,50,50);
}

.widget_master_clip {
	overflow: hidden;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}

.widget_slide {
	display: flex;
	flex-direction: column;
	
	width: calc(100% - 20px);
	height: 100%;
	position: relative;
	left: 0px;
	top: 0px;
	padding: 5px;
	box-sizing: border-box;	
}

.widget_slide_master {
	position: absolute;
	display: flex;
	flex-direction: row;
	align-items: flex-start;

	width: 200%;
	height: 100%;
	left: 0px;
	transition: transform 1s;	
}

.widget_slide_frame {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	
	height: 100%;
	width: 100%;
}

.widget_slide_frame_button {
	height: calc(100% - 40px);
}

.widget_button {
	height: 30px;
	border-radius: 5px;
	border-width: 1px;
	border-style: solid;
	border-color: rgb(100,100,100);
	background-color: rgb(20,20,20);
	color: rgb(250,250,250);
	font-family: 'main-font';
	padding: 5px;
	margin: 10px;
	margin-top: 0px;
	margin-bottom: 30px;
	
	text-align: center;
	cursor: pointer;
	z-index: 10;
}

.widget_button:hover {
	background-color: rgb(200,200,200);
	color: rgb(50,50,50);
}

.widget_image {
	background-image: url('../images/projects/electronics_gym_timer.jpg');
	background-position:top center;
	background-size: cover;
	background-repeat: no-repeat;
	background-color: rgb(0,0,0);
	
	width: calc(60% - 20px);
	height: calc(100% - 30px);
	/*background-color: rgba(255 255 255 / .25);*/
	/*position: absolute;*/
	left: 0px;
	top: 0px;
	box-sizing: border-box;
	z-index: 1;
	
	border-radius: 8px 0px 0px 8px;
	margin: 10px;
	/*margin-bottom: 30px;*/
	
	transition: width 1s, background-position 5s, border-radius 1s;

	animation-name: image_full;
	animation-timing-function: ease-in-out;
	animation-duration: 10s;
	animation-iteration-count: infinite;
	animation-direction: alternate;
	animation-fill-mode: both;
}

.widget_image_full {
	background-position:top center;
	background-size: cover;
	background-repeat: no-repeat;
	background-color: rgb(0,0,0);

	width: calc(100% - 35px);
	height: calc(100% - 30px);

	/*position: absolute;*/
	left: 0px;
	top: 0px;
	box-sizing: border-box;
	z-index: 1;
	
	border-radius: 8px;
	margin: 10px;
	/*margin-bottom: 30px;*/
	
	transition: width 1s, background-position 5s, border-radius 1s;
	
	animation-name: image_full;
	animation-timing-function: ease-in-out;
	animation-duration: 10s;
	animation-iteration-count: infinite;
	animation-direction: alternate;
	animation-fill-mode: both;
}

.widget_image_can_zoom {
	cursor: pointer;
}

@keyframes image_full{
	0% {
		background-position: top center;
	}
	
	100% {
		background-position: bottom center;
	}
	
}


.widget_text {
	width: calc(40% - 50px);
	height: calc(100% - 50px);
	position: absolute;
	left: 60%;
	box-sizing: border-box;
	/*padding: 15px;*/
	/*padding-left: 25px;*/
	margin: 15px;
	color: rgb(250,250,250);
	
	z-index: 0;
	transition: width 1s;
	
	/*font-size: clamp(.5rem, 2vw, 1.25rem);*/
	
	overflow-y: auto;
	/*scrollbar-color: rgb(40,40,40);*/
	/*scrollbar-width: thin;*/
}

.widget_text_full {
	width: calc(100% - 25px);
	left: 0%;
	height: calc(100% - 20px);
	position: absolute;
	box-sizing: border-box;
	padding: 5px;
	color: rgb(250,250,250);
}

.widget_title {
	font-family: 'main-font-bold';
	font-size: 1.25em;
	font-weight: 200;
}

.widget_nav {
	width: 20px;
	height: 50%;
	position: absolute;
	right: 0px;
	margin: 4px;
	z-index: 2;
	/*padding: 2px;*/
	/*opacity: 25%;*/
	/*background-color: rgba(20 20 20 / .85);*/
}

#widget_nav_next {
	height: 50px;
	top: calc(50% - 55px);
	background-image: url('../images/widget_next.png');
	background-position:bottom center;
	background-size: contain;
	background-repeat: no-repeat;
	cursor: pointer;
	
	border-radius: 5px;
	border-color: rgb(20,20,20);
	border-width: 3px;
	/*border-style: solid;*/
	/*background-color: rgb(20,20,20);*/
	right: 0px;
	transition: right .25s;
}

#widget_nav_next:hover {
	right: -5px;
}

#widget_nav_prev {
	height: 50px;
	top: calc(50% + 5px);
	background-image: url('../images/widget_prev.png');
	background-position:top center;
	background-size: contain;
	background-repeat: no-repeat;
	cursor: pointer;

	border-radius: 5px;
	border-color: rgb(20,20,20);
	border-width: 3px;
	/*border-style: solid;*/
	/*background-color: rgb(20,20,20);*/
	right: 0px;
	transition: right .25s;
}

#widget_nav_prev:hover {
	right: 5px;
}

.widget_dots_master {
	width: 100%;
	height: 10px;
	bottom: 10px;
	left: 0px;
	position: absolute;
	z-index: 2;
		
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: center;
}

.widget_dot {
	position: relative;
	top: 0px;
	width: 10px;
	height: 10px;
	background-color: rgb(120,120,120);
	border-radius: 5px;
	margin: 5px;
	
	transition: height 0.5s, top 0.5s;
}

.widget_dot_selected {
	background-color: rgb(200,200,200);
	height: 15px;
	top: -5px;
}

.no_flicker {
	-webkit-transform-style: flat;
	-webkit-backface-visibility: hidden;
	/*-moz-backface-visibility:    hidden;*/
	/*-ms-backface-visibility:     hidden;*/
}

@media (max-width: 499px) {
	.widget_text {
		width: calc(70% - 50px);
		left: 30%;
	}
	
	.widget_image {
		width: calc(30% - 20px);
	}
}

@media (max-height: 420px) {
	.widget_slides_title {
		display: none;
	}
}