@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {box-sizing:border-box; outline:none}
img {width:100%;max-width:100%;}


html {font-size: 17px;}
body {
	font-family:"Inter", sans-serif !important;
	--c-main: #7901a9;
	--c-secondary: #333333;
	--c-gray-lightest: #f9f9f9;
	--c-gray-lighter: #f2f2f2;
	--c-gray-light: #e9e9e9;
	--c-gray: #ddd;
	--c-gray-dark: #999;
	--c-black: #000000;
	--c-white: #ffffff;
	--r20: 20px;
	--r10: 10px;
	--r5: 5px;
	--c-gray-90:rgb(0 0 0 / 90%);
	--c-gray-80:rgb(0 0 0 / 80%);
	--c-gray-70:rgb(0 0 0 / 70%);
	--c-gray-60:rgb(0 0 0 / 60%);
	--c-gray-50:rgb(0 0 0 / 50%);
	--c-gray-40:rgb(0 0 0 / 40%);
	--c-gray-30:rgb(0 0 0 / 30%);
	--c-gray-20:rgb(0 0 0 / 20%);
	--c-gray-10:rgb(0 0 0 / 10%);
	--c-gray-5:rgb(0 0 0 / 5%);
	color: #000;
	font-size: 15px;
	font-weight: 300;
}

.btn {background: var(--c-main);
    color: #fff;
    border: none;
    padding: 10px 20px;
    display: inline-block;
    border-radius: 10px;
    margin: 0 0 0 8px;
    vertical-align: top;
    font-weight: 300;
    font-family: 'Inter';
    font-size: 13px;}

.btn:hover {background:var(--c-secondary); color:#fff;}
input[type="text"] {background: var(--c-gray-lighter);border: none;border-radius: 10px;height: 40px;padding: 0 15px;font-size: 14px;font-family: "Inter";font-weight: 400;}

.tooltip-inner {font-size:13px; font-family:"Inter";padding:5px 11px;border:none; font-weight:300;}

#page {
    max-width: 1200px;
    margin: 0 auto;
}
#page .page-header {display: grid;grid-template-columns: 33% 33% 34%;align-items: center;}
#page .page-header h1 { font-weight: 800; margin: 30px 0 30px 0; }
#page .page-header .page-header-actions { margin: 0 0 0 auto; }
#page .page-header .page-header-actions button { background: var(--c-main); color: #fff; border: none; padding: 10px 20px; display: inline-block; border-radius: 10px; margin: 0 0 0 8px; vertical-align: top; font-weight: 300; font-family: 'Inter'; font-size: 13px; }
#page .page-header .nav { margin: 0 0 0 auto; }
#page .page-header .nav ul { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; }
#page .page-header .nav ul li { margin: 0 0 0px 18px; }
#page .page-header .nav ul li a { list-style: none; color: #000; text-decoration: none; font-size: 13px; }
#page .page-header .nav ul li a:hover,#page .page-header .nav ul li a.active {color:var(--c-main)}



.page-actions {display: grid;align-items: flex-start;margin: 0 0 50px 0;grid-template-columns: 66% 34%;}
.page-actions .search {align-items: center;display: flex;flex-wrap: wrap;position: relative;/* width: 66%; */padding: 0 0 0 0px;grid-column: 1;} 
.page-actions .replace { align-items: center;display: flex;flex-wrap: wrap;position: relative;/* width: 66%; */padding: 0 0 0 0px;grid-column: 1; margin-top: 20px;}
.page-actions .search input,.page-actions .replace input { border: solid 1px #000; background: none; }
.page-actions .search button, .page-actions .replace button { border: none; background: none; font-size: 18px; border: solid 1px #000; border-radius: 40px; height: 40px; line-height: 40px; padding: 0; width: 40px; margin: 0 0 0 9px; cursor: pointer; }
.page-actions .search .search-count { flex: 0 1 100%; font-size: 11px; position: absolute; left: 0; bottom: -19px; opacity: 0.7; display: none; }
.page-actions .search button.bookmarked { margin: 0 0px 0 0; border: none; font-size: 23px; margin: 0 0 0 auto; width: auto; background: none !important; }
.page-actions .search button:hover,.page-actions .replace button:hover {background:var(--c-gray-lighter)}
.page-actions .search button i {}
.page-actions .settings { margin: 0 0 0 auto; position: relative; }
.page-actions .settings .reset-srt {
    border: none;
    background: none;
    padding: 0;
    margin: 0 14px 0 0;
    font-size: 26px;
    line-height: 40px;
    height: 40px;
}


.page-actions .settings .reset-srt i {}
.page-actions .settings .settings-trigger {padding: 0;border: none;background: none;font-size: 30px;cursor: pointer;height: 40px;line-height: 40px;}
.page-actions .settings .settings-trigger i {}
.page-actions .settings .settings-trigger.active {color:var(--c-main)}
.page-actions .settings .settings-trigger.active i::before {font-weight:900}
.page-actions .settings .settings-menu {z-index: 100;display: none;position: absolute;right: -20px;top: 50px;background: var(--c-gray);padding: 20px;margin: 0;list-style: none;/* box-shadow: 0 0 10px rgb(0 0 0 / 10%); */text-align: right;min-width: 200px;border-radius: 10px;font-size: 14px;}
.page-actions .settings .settings-menu::before {content:"";width: 0;height: 0;border-style: solid;border-width: 0 10px 10px 10px;border-color: transparent transparent var(--c-gray) transparent;top: -10px;right: 25px;position: absolute;z-index: 1;}

.page-actions .settings .active + .settings-menu { display: block; }
.page-actions .settings .settings-menu li { }
.page-actions .settings .settings-menu li a {color: #000;text-decoration: none;padding: 5px 0;display: block;cursor: pointer;}
.page-actions .settings .settings-menu li a:hover {font-weight:600; color:var(--c-main)}


.page-content { display: grid; grid-template-columns: 66% 34%; /* overflow: hidden; */ /* gap: 40px; */ }
.page-content .main {height: 100%;overflow-y: auto;max-height: 100%;padding: 0 20px 0 20px;margin: 0 0 0 -20px;}
.page-content .main::-webkit-scrollbar {-webkit-appearance: none; width: 5px; background-color: rgba(0, 0, 0, .0);}
.page-content .main::-webkit-scrollbar-thumb {border-radius: 4px; background-color: rgba(0, 0, 0, .0); -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .3); }
.page-content .main:hover::-webkit-scrollbar {background-color: rgba(0, 0, 0, .05);}
.page-content .main:hover::-webkit-scrollbar-thumb {background-color: rgba(0, 0, 0, .4);}
.page-content .sidebar { /* background: #f2f2f2; */ position: relative; overflow-y: auto; padding: 0 0 0 30px; }
.page-content .sidebar::-webkit-scrollbar {-webkit-appearance: none; width: 5px; background-color: rgba(0, 0, 0, .0);}
.page-content .sidebar:hover::-webkit-scrollbar {background-color: rgba(0, 0, 0, .05);}
.page-content .sidebar::-webkit-scrollbar-thumb {border-radius: 4px; background-color: rgba(0, 0, 0, .0); -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .3); }
.page-content .sidebar:hover::-webkit-scrollbar-thumb {background-color: rgba(0, 0, 0, .4)}


.page-content .sidebar .box { background: #f2f2f2; padding: 25px; border-radius: 10px; margin: 0 0 20px 0; }
.page-content .sidebar .box > h3 { margin: 0 0 12px 0; font-weight: 800; font-size: 20px; }
.page-content .sidebar .box .problems {}
.page-content .sidebar .box .problems .item { display: flex; padding: 7px 0; align-items: flex-start; position: relative; }
.page-content .sidebar .box .problems .item.solved {opacity:0.3}
.page-content .sidebar .box .problems .item .text { flex: 1; font-weight: 400; font-size: 14px; }
.page-content .sidebar .box .problems .item .text small { display: inline-block; opacity: 0.5; margin: 3px 0 0 0; font-size: 11px; font-weight: 300; vertical-align: top; }
.page-content .sidebar .box .problems .item .text i { display: inline-block; margin: 0 0 0 10px; opacity: 0.3; }
.page-content .sidebar .box .problems .item .actions { display: flex; align-items: center; padding: 0 0 0 9px; }
.page-content .sidebar .box .problems .item .actions button { border: none; font-size:18px; padding: 0 0 0 0; margin: 0 0 0 15px; cursor: pointer; }
.page-content .sidebar .box .problems .item .actions button i {}
.page-content .sidebar .video-wrapper { position: relative; width: 100%; /* padding-top: 56.25%; */ /* 16:9 aspect ratio */ position: sticky; bottom: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 0 10px rgb(0 0 0 / 20%); z-index: 1000; }
.page-content .sidebar .video-wrapper::before {content:"";padding-top: 56.25%;display: block;}
.page-content .sidebar #my-video { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; padding-top: 0; }
.page-content .sidebar .video-wrapper.expand { position: fixed; max-width: 1200px; left: 50%; top: 50%; transform: translate(-50%, -50%); bottom: auto; }
.page-content .sidebar #maximize-video {position: absolute;right: 10px;bottom: 139px;background: none;border: none;color: #fff;font-size: 14px;width: 30px;height: 30px;line-height: 30px;text-align: center;padding: 0;cursor: pointer;z-index: 1000;background: #000;border-radius: 50%;}
.page-content .sidebar .video-wrapper.expand #maximize-video {bottom: 622px;font-size: 16px;width: 40px;font-weight: 800;height: 40px;line-height: 40px;}
.page-content .sidebar .video-wrapper.expand #maximize-video i::before {content:"\f422";font-weight: 800;}

.scheduled-translations { padding: 0; list-style: none; margin: 0 0 25px 0; }
.scheduled-translations li { display: flex; margin: 0 0 14px 0; line-height: 1; align-items: center; font-weight: 400; font-size: 14px; }
.scheduled-translations li img { border-radius: 50%; max-width: 20px; margin: 0 8px 0 0; }
.scheduled-translations li button{ margin: 0 0 0 auto; border: none; font-size: 12px; border-bottom: solid 1px #000; padding: 0 0 3px 0; line-height: 1; display: inline-block; height: auto; }

.captions {}
.captions .item {margin: 0 0 10px 0;font-size: 12px;color: var(--c-gray-dark);/* display: flex; *//* flex-wrap: wrap; */position: relative;/* min-height: 110px; */padding: 20px 0 30px 0;/* background: #f2f2f2; */border-radius: 10px;}
.captions .item.editing {background:#f2f2f2;padding: 20px 20px 50px 20px;margin: 0 0 10px -20px;}
.captions .item .item-actions {display: none;/* flex-direction: column; */position: absolute;left: 0;bottom: 0;}
.captions .item.editing .item-actions {left: 20px;bottom: 20px;}
.captions .item:hover .item-actions, .captions .item.editing .item-actions,  .captions .item.active .item-actions {display:flex;}
.captions .item .item-actions button {border: none;background: none;margin: 0 14px 0 0;font-size: 16px;padding: 0 0 0 0;cursor: pointer;}
.captions .item .item-actions button:hover, .captions .item .item-actions button.active {color:var(--c-main)}
.captions .item .item-actions button i {}
.captions .item .item-actions button:hover i::before, .captions .item .item-actions button.active i::before {font-weight:900}
.captions .item .content {display:flex; flex-wrap:wrap;}
.captions .item .index { display: inline-block; text-align: center; font-weight: 600; margin: 0 10px 0 0; padding: 0 10px 0 0; color: #000; border: solid 1px #000; text-align: center; padding: 3px 6px; border-radius: 3px; }

.captions .item .time { display: flex; align-items: center; margin: 0; }
.captions .item .time .start { margin: 0 10px 0 0; }
.captions .item .time .end { margin: 0 0 0 10px; }
.captions .item .text-wrap { flex: 0 1 100%; position: relative; }
.captions .item.editing .text-wrap {background: var(--c-gray-lighter);border-radius: 10px;padding: 0 0 40px 0px;margin: 10px 0 0 0;}
.captions .item .text-wrap .text {font-size: 18px;font-weight: 500;flex: 0 1 100%;margin: 8px 0 0 0;color: #000;white-space: pre-line;}
.captions .item .text-wrap .text-editor {width: 100% !important;border: none;background: none;font-size: 18px;font-weight: 500;font-family: 'Inter';max-width: 100%;/* height: 100px; */background: #fff;padding: 10px;border-radius: 10px;}
.captions .item .text-wrap .text-actions {display:none;position: absolute;bottom: 0;right: 0;}
.captions .item.editing .text-wrap .text-actions {display:flex}
.captions .item .text-wrap .text-actions button {border: none;background: none;mar;margin: 0 0 0 7px;font-size: 16px;padding: 6px;cursor: pointer;}
.captions .item .text-wrap .text-actions button i {}

mark { background: #888; padding: 1px 3px; color: #fff; }
mark.active{background-color: var(--c-main);color: #fff;padding: 1px 3px;}


.video-js {}
.video-js .vjs-big-play-button { width: 60px; height: 60px; line-height: 58px; margin: 0; transform: translate(-50%,-50%); border-radius: 50%; }
.video-js:hover  .vjs-big-play-button{ background: #000; }
.video-js .vjs-big-play-button .vjs-icon-placeholder {}
.video-js .vjs-control-bar {opacity: 1 !important;background: rgb(0 0 0 / 50%);}
.video-js .vjs-control-bar .vjs-progress-control {}
.video-js .vjs-control-bar .vjs-progress-control .vjs-progress-holder { background: rgb(255 255 255 / 20%); }
.video-js .vjs-control-bar .vjs-progress-control .vjs-progress-holder .vjs-load-progress { background: rgb(255 255 255 / 50%); }
.video-js .vjs-control-bar .vjs-progress-control .vjs-progress-holder .vjs-load-progress div {background: rgb(0 0 0 / 70%);}
.video-js .vjs-control-bar .vjs-progress-control .vjs-progress-holder .vjs-play-progress {}
.video-js.vjs-layout-x-small .vjs-control-bar .vjs-progress-control { display: flex; }
.video-js .vjs-control-bar .vjs-fullscreen-control {display:none !important}
.video-js .vjs-control-bar .vjs-picture-in-picture-control {display:none !important}



.site-main { max-width: 1200px; margin: 0 auto; padding: 50px 20px; }
.site-main h1 { font-weight: 800; font-size: 30px; margin: 0 0 20px 0; }
.site-main .main-report { padding: 0; margin: 0 0 30px; list-style: none; }
.site-main .main-report li {}
.site-main .main-report li h4 { font-weight: 800; font-size: 18px; }
.site-main .main-report li .project  { margin: 10px 0 10px; font-size: 16px; display:block; display: flex; font-weight: 400; align-items: center; }
.site-main .main-report li .project .cost { font-weight: 700; margin: 0 0 0 auto; padding: 5px 11px; border: solid 1px; font-size: 13px; border-radius: 10px; }
.site-main .main-report li ul { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 20px 0; gap: 10px; border-bottom: solid 1px #eee; padding: 0 0 20px 0; }
.site-main .main-report li ul li { background: #eee; padding: 5px 10px; border-radius: 10px; font-size: 13px; }

/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {visibility: hidden; color: #7f8c8d; text-align: center; padding: 12px 50px; position: fixed; z-index: 200100; bottom: 0; top: auto; font-weight: 700; font-size: 13px; box-shadow: 0 0 10px 0 rgb(0 0 0 / 20%); left: 0; right: 0; transform: none; border-radius: 0; }
#snackbar.snack-success {background-color: #44cb6d;color: #ffffff}
#snackbar.snack-error {background-color: #d50000;color: #ffffff }
#snackbar.snack-info {background-color: var(--c-main);color: #ffffff}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {visibility: visible; -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s; animation: fadein 0.5s, fadeout 0.5s 2.5s; }

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 0; opacity: 1;}
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 0; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {bottom: 0; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
  from {bottom: 0; opacity: 1;}
  to {bottom: 0; opacity: 0;}
} 