@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800&amp;subset=latin-ext');
@import url('https://fonts.googleapis.com/css?family=Lato:400,700,900&amp;subset=latin-ext');
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700,900&amp;subset=latin-ext');
body, html {margin:0;padding:0;font-family: 'Open Sans', sans-serif;background: #f1f1f1;font-size:0.95em}
header {
	min-width: 800px;
	width:100%;
	float:left;
	background: #3a4651;
}
.logo {
	width: 100%;
	height: 90px;
	/*background: red;*/
	float:left;
	text-align: center;
	padding-top: 20px;
}
.logo a {color: #ccc; text-decoration: none;line-height: 30px; font-weight: bold;font-size: 1.8em;}
.logo img {
	width: 150px;
	margin: 30px 20px;
	border: 5px solid #fff;
	border-width: 5px 5px 3px
}
.user {
	height: 30px;
	float:right;
	line-height: 30px;
	padding:0 20px;
	color: rgba(255, 255, 255, 0.6);
}
.user a {
	color: rgba(255, 255, 255, 0.6);
	text-decoration: underline;
}
.container {
	width:100%;
	padding-left:200px;
	box-sizing: border-box;
}
nav {
	width:200px;
	background:#3a4651;
	position:fixed;
	overflow-y:auto;
	overflow-x:hidden;
	top:0px;
	height:100%;
}
nav ul {
	float:left;
	list-style-type: none;
	width: 100%;
	padding:0;
	margin:0px 0 0;
}
nav ul li {
	margin:0;
	padding: 10px 10px;
	color: #4f5f6f;
}
nav ul li:hover, nav ul li:hover a, nav ul li.active, nav ul li.active a {
	background: #52BCD3;
	color: #fff;
}
nav ul li a {
	color: rgba(255, 255, 255, 0.6);
	text-decoration: none
}

nav ul li .add {
	float:right;
	font-weight: 900
}

.content {
	min-width: 800px;
	background: #def;
	width: 100%;
	box-sizing: border-box;
	padding: 20px;
	float:left
}

h1 {
	margin:0 0 20px;
	padding-left: 10px;
}

h1 a, .h1-button {
	text-decoration: none;
	color: #fff;
	width: 32px;
	height: 32px;
	background: #4CAF50;
	display: inline-block;
	line-height: 28px;
	font-size: 28px;
	border-radius: 16px;
	/*float: right;*/
	text-align: center;
	cursor:pointer
}
.h1-buttons {
	float:right;
	display: flex;
	justify-content: end;
	gap:10px
}
.h1-button {
	width: auto;
	font-size:18px;
	padding: 0 10px;
}

.h1-button-advanced {
	color:#aaa;
	background: none;
	font-size: 14px;
	width: auto;
	border-radius: 0;
	font-weight: 400;
}

form#video-search {
	float: right;
	margin-bottom:10px;
	display:flex;
	gap:10px
}

form#video-search #q {
	border:1px solid #cdcdcd;
	font-size: 14px;
	width: 270px;
	padding: 0 5px;
	line-height: 26px;
	outline:none;
	font-family: "Open Sans", sans-serif;
}

form#video-search input[type="submit"] {
	background:#4f5f6f;
	color:#fff;
	font-weight: bold;
	font-family: "Open Sans", sans-serif;
	border:0;
	height:28px;
	padding: 0 10px;
	font-size: 15px;
	cursor: pointer;
}

.row {
	width:100%;
	max-width:1250px;
	margin: 0 auto;
}

.form-row {
	display: block;
	padding: 10px 10px;
	margin-top: 10px;
	position: relative;
}

.form-row.hidden {
	display: block;
	padding: 0;
	margin: 0;
}

.form-row label {
	display: block;
	padding-bottom:5px;
	font-weight: 700;
	font-size: 1.1em;
}

.form-row label span {
    color: #aaa;
	font-weight: normal;
}
.form-row label::after {
	content: ':';
}
.form-row label.selector-label {
	display: inline;
	font-weight: normal;
}
.form-row label.selector-label::after {
	content: '';
}
.form-row input[type=text], .form-row input[type=password], .form-row textarea, .form-row select {
	height: 40px;
	padding: 0 10px;
	outline: none;
	border:1px solid #cdcdcd;
	/*background: #fff;*/
	width:100%;
	/*max-width: 700px;*/
	box-sizing: border-box;
}
.form-row select {
	width: auto;
}
/*.form-row input[type=checkbox] {}
.form-row input[type=radio] {}*/
.form-row textarea {
	height: 200px;
	padding-top: 7px;
}
.form-row input[type=button].submit, .form-row input[type=submit].submit {
	background-color: #4CAF50; /* Green */
	border: none;
	color: white;
	padding: 15px 32px;
	outline: none;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	cursor: pointer;
	font-weight: bold;
	box-shadow: 0px 5px 4px 2px rgba(0,0,0,0.1);
}

.form-row input[type=button].submit:hover {
	background: #4C9F50;
}

.form-row input[type=button].submit:active {
	transform: translateY(4px);
	box-shadow: 0px 1px 4px 2px rgba(0,0,0,0.1);
}

.form-row[data-required=true] {
	border-left: 2px solid orange;
	margin-left: -2px
}

.form-row.error-row {
	border-left: 2px solid red;
	margin-left: -2px
}

.form-row[data-required=true] label:first-of-type::before {
	content: '* '
}
.error {margin-top:5px; color: red;}

/* The Modal (background) */
.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 100; /* Sit on top */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
	background-color: #fefefe;
	margin: 0 auto; /* 15% from the top and centered */
	position: absolute;
	top: 50%;
	left: 50%;
	/*margin-left: -250px;
	margin-top: -50px;*/
	visibility: hidden;
	padding: 20px;
	border: 1px solid #888;
	width: 80%; /* Could be more or less, depending on screen size */
	max-width: 500px;
}

/* The Close Button */
.close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.close:hover,
.close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}

.modal-buttons {
	text-align: center;
	float: left;
	width: 100%
}
.modal-buttons a {
	background: #4C9F50;
	margin: 0 10px;
	padding: 10px 15px;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	text-transform: uppercase;
}

.list {
	width: 100%;
	background: #fff;
	border-collapse: collapse;
	border: 2px solid #ddd;
}

.list th {
	background: #ededed;
	border-bottom: 1px solid #ddd;
	border-right: 1px solid #ddd;
	padding: 5px;
}

.list tr:nth-of-type(2n) {
	background: #f7f7f7;
}

.list td {
	border-bottom: 1px solid #ddd;
	border-right: 1px solid #ddd;
	padding: 5px;
}

.list a {
	color: #555;
	font-weight: bold;
}

.list td.status1, .list td.status0 {
	width:65px;
}

.list td.status0::before, .list td.status1::before {
	content: ' ';
	width: 20px;
	height: 20px;
	border-radius: 11px;
	border:1px solid #ddd;
	margin: 0 auto;
	display: block;
}

.list td.status0::before {
	background: #E0585C;
}

.list td.status1::before {
	background: #4FB346;
}

/*???*/
.list.novice td:nth-of-type(1) {
	width: 40px;
	/*font-size: 0;*/
	text-align: center;
}

/*.list th:nth-of-type(2), .list th:nth-of-type(3), .list th:nth-of-type(4) {
	text-align:left;
}*/

.list td:nth-of-type(2), .list td:nth-of-type(3), .list td:nth-of-type(4) {
	text-overflow: ellipsis;
	overflow: hidden
}

.list td:nth-of-type(3) {
	max-width: 300px;
	white-space: nowrap;
}

.list td:nth-of-type(4) {
	width: 100px;
}

.list td:nth-of-type(6) {
	width: 92px;
	text-align: center
}

/*???*/
.list.mali-oglasi th:nth-of-type(4) {
	text-align: center
}
/*???*/
.list.mali-oglasi td:nth-of-type(5) {
	text-align: center
}
/*???*/
.list.oglasi th:nth-of-type(1) {
	text-align: left
}
/*???*/
.list.oglasi th:nth-of-type(3), .list.oglasi th:nth-of-type(4), .list.oglasi th:nth-of-type(5),
.list.oglasi td:nth-of-type(3), .list.oglasi td:nth-of-type(4), .list.oglasi td:nth-of-type(5) {
	text-align: center
}
/*???*/
.list.oglasi td:nth-of-type(5) {
	width: 100px;
}




.image-list {
	width: 100%;
	line-height: 50px;
	border-collapse: collapse;
	margin-bottom: 5px;
}
.image-list.video-list, .image-list.show-list {
	line-height: 25px
}
.image-list tr:first-of-type span:first-of-type {visibility: hidden;}
.image-list tr:last-of-type span:last-of-type {visibility: hidden;}

.image-list img {
	height: 50px;
	vertical-align: middle;
	aspect-ratio: 16/9;
}

.image-list td {
	min-width: 50px;
	border-bottom: 1px solid #cdcdcd;
}

.image-list.selected-image-first tr:first-of-type td:first-of-type {border-left:3px solid green}

.image-list td:last-of-type {
	color: red;
	font-weight: bold;
	text-align: right;
	padding-right: 5px;
}

.image-list td:last-of-type div {
	cursor: pointer;
	font-size: 2em;
}

.image-list td:nth-of-type(3) {
	font-size: 1.3em;
	font-weight: bold;
}

.image-list td:nth-of-type(3) span {
	cursor: pointer;
}

.reorder-list span {
	cursor:pointer
}


body.new td:nth-of-type(2) {
	display:none
}

.pagination {margin-top:10px;line-height: 1.5em;}
.pagination a {color:#555;text-decoration: none;}
.pagination a:hover {color:#4FB346;}
.pagination a.page {color:#4FB346;font-weight:bold}

#add-video-to-list, #add-show-to-list {
    background: #4CAF50;
    color: #fff;
	display: inline-block;
    line-height:30px;
    padding: 0 8px;
    cursor: pointer;
}

#select_videos {margin-bottom:6px}

.ul-ac {position:absolute;width:100%;box-sizing:border-box;top:40px;left:0;z-index:1;list-style:none;padding: 0 10px; margin:0; display:none; outline: none;margin-left:0;font-size: 14px;background-color: #f1f1f1; color: #333;border:1px solid #cdcdcd; border-width:0 1px 1px 1px;}
.ul-ac.show {display:block}
#q:focus ~ .ul-ac {display: block;}
.ac-item { margin: 0; padding: 2px 0; zoom: 1; width: 100%; border-bottom:1px solid #ddd;}
.ac-item div {cursor:pointer}
.ac-item:last-child { border-bottom:0}
.ac-item a { text-decoration: none; display: block; padding: 0px; line-height: 2.6em; zoom: 1; font-weight: normal; color: #555; }
.ac-item a:hover, .ac-item a.red {color: #333; text-decoration: underline; }
.ac-item:hover { font-weight: normal; margin: 0px; }
.ac-term { font-weight: bold; }


.counter {
    font-size: 13px;
    color: #333333;
    opacity: 0.8;
    padding-left: 2px;
}

.sending-limit {
	padding-left: 12px;
	line-height:1.5em
}

.sending-limit span {
	color: #4C9F50;
}

.counter span.over, .sending-limit span.over {
	color: rgb(255, 102, 0);
}

.counter span.over-max, .sending-limit span.over-max {
	color: red;
}

#populate {
	position: absolute;
	right:13px;
	top:40px;
	padding:0 10px;
	line-height: 34px;
	color:#fff;
	background-color: #4C9F50;
	cursor:pointer;
}