@font-face {
    font-family: 'Myriad Pro Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Myriad Pro Regular'), url('./fonts/MYRIADPRO-REGULAR.woff') format('woff');
}

@font-face {
    font-family: 'Myriad Pro Bold';
    font-style: normal;
    font-weight: normal;
    src: local('Myriad Pro Bold'), url('./fonts/MYRIADPRO-BOLD.woff') format('woff');
}


body {
	margin:0px; 
	padding: 0px; 
	overflow: hidden;
	font-family: 'Myriad Pro Regular', 'helvetica', arial, sans-serif;
	font-size: 2vh;
	color: #282828;
}

body.debug {
  background-color: #f00;
}

strong {font-family: 'Myriad Pro Bold', 'helvetica', arial, sans-serif;}
#container {
  width:100%;
  background-image: url(./images/backround_BC_8407b_v5.1.png);
  background-repeat: no-repeat;
  background-size: cover;
  aspect-ratio: 16/9;
  position: relative;
  max-height:100vh;
}

#logo {
	position: absolute;
  top: 0%;
  right: 0%;
  width: 16.5%;
  z-index: 50;
}
#logo img {width: 100%;}

#preview {
  position: absolute;
  width: 65%;
  height: 47%;
  border: 1px solid transparent;
  top: 9%;
  left: 26%;
	display: flex;
}

#mask {z-index:50;}
#leftcol {width: 45%; z-index: 20; padding-top: 5%;}
#buttons {display: flex}

#playbtn, #duration {padding:10px; color:#fff; border-radius:4px; width:25%; margin:0 2%; text-align: center; font-size: 1em}
#playbtn {background-color:#E84E0F;margin-left:0;width:12%;}
#duration {background-color: #fff;color: #282828; border:2px solid #E84E0F;}
#langselector {width:30%;}

#langselector select {
  appearance: none;
  background-color: transparent;
  border: none;
  padding: 8px 10px;
  margin: 0 2%;
  width: 100%;
  cursor: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  z-index: 1;
  outline: none;
  border-radius: 4px;

}

#langselector select::-ms-expand {
  display: none;
}

#langselector .select {
  border: none;
  border-radius: 4px;
  padding: 2px 10px 4px 10px;
  margin: 0 2%;
  font-size: 1em;
  cursor: pointer;
  line-height: 1.1;
  background-color: #919191;
  display: grid;
  grid-template-areas: "select";
  align-items: center;
  color: #fff;
}

#langselector .select::after {
  content: "";
  width: 0.8em;
  height: 0.5em;
  background-color: #fff;
  clip-path: polygon(100% 0%, 0 0%, 50% 100%);
  justify-self: end;
}

#langselector select, #langselector .select::after {
  grid-area: select;
}

h1 {line-height:1.1}
p {line-height:1.5}
p.caveat {font-size:1.5vh;line-height:1.2vh;margin-bottom:2em}

#jobnodop {position: absolute;bottom: 1%;right:5%}

#rightcol {width: 55%; z-index: 8}
#rightcol img {height:100%; position: absolute; right:3%; }

#thumbs {
  position: absolute;
  width: 92%;
  height: 50%;
  border: 1px solid transparent;
  top: 65%;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.thumb {width:19%; height:40%; border:2px solid rgba(0,0,0,0.1); display: inline-table; margin:0.3%; border-radius:6px; transition: all 0.5s; background-color: white;cursor: pointer;
  -webkit-box-shadow: 0px 5px 30px 0px rgba(0,0,0,0.25); 
	box-shadow: 0px 5px 30px 0px rgba(0,0,0,0.25);
}
.thumb:hover, .active {
	transform: scale(1.025);
  border-color: #E84E0F;
}
.thumb img {display: block; width:100%; border-radius:5px 5px 0 0}
.thumbimg {display: table-header-group}
.thumbdesc {font-size:0.7em; line-height: 1.3em; padding:2%; vertical-align: middle; display: table-cell; border-width: 2px 0 0; border-image: radial-gradient(rgba(0,0,0,1), rgba(0,0,0,0.01)) 1; border-style: solid;}

#popup {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color:rgba(0,0,0,0.7);
  top: 0%;
  left: 0%;
  z-index:100;
  display: none;
}

#player {border:1px solid white; width:90%; margin: 0 auto;  margin-top: 3%; position: relative}
#popclose {width:30px; height:25px; padding-top:5px; border-radius:50%; border:2px solid #E84E0F; color:#fff; background-color:#000; position: absolute; top:-10px; right:-10px;}
#popclose p {}


:root {
  --dropdown-text-clr: #ffffff;
  --dropdown-text-clr-hvr: #ffffff;
  --dropdown-hvr: #E84E0F;
  --dropdown-bg: #fff;
  --dropdown-bg-selected: #919191;
  --dropdown-text-darkgrey: #282828;
  --dropdown-divider: #E4E4E4;
}

.select_wrap {
  position: relative;
}

.select_wrap .default_option {
  background: var(--dropdown-bg-selected);
  border-radius: 4px;
  padding: 12px 10px;
  position: relative;
  cursor: pointer;
  color: var(--dropdown-text-clr);
}

.select_wrap .default_option .text {
	font-size: 1em;
}

.select_wrap .default_option .icon {
  position: absolute;
  right: 20px;
  font-size: 20px;
  height: 20px;
  /*transform: rotate(90deg);*/
  transition: all 0.5s ease;
}

.select_wrap .default_option li {
	padding: 12px 20px;
	font-weight: 700;
}

.select_wrap .select_ul {
	position: absolute;
	top: 24px;
	left: 0;
	width: 100%;
	padding:0;
	background: var(--dropdown-bg);
  border:2px solid var(--dropdown-bg-selected);
	border-radius: 0 0 4px 4px;
	display: none;
	list-style: none;
  box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.select_wrap .select_ul li {
	cursor: pointer;
	padding: 8px 5px;
	font-size: 16px;
	color: var(--dropdown-text-darkgrey);
  border-bottom: 2px solid var(--dropdown-divider);
  animation: fadeIn 1s;
}

.select_wrap .select_ul li:last-child {
	border-radius: 0 0 4px 4px;
}

.select_wrap .select_ul li:hover,
.select_wrap .select_ul li.ddActive {
	background: var(--dropdown-hvr);
	color: var(--dropdown-text-clr-hvr);
}

.select_wrap .option {
	display: flex;
	align-items: center;
}

.select_wrap .option p {
	line-height: 1em;
	margin-block-start: 0;
	margin-block-end: 0;
}

.select_wrap.ddActive .select_ul {
	display: block;
}

.select_wrap.ddActive .default_option .icon {
	top: 13px;
	transform: rotate(-180deg);
}