.login {
    width: 300px; 
    margin: 50px auto;
}

.login h2 {
    text-align: center;
}

.form-signin {
	width: 260px;
	display: block;
    margin: 10px auto;
}

.form-signin .form-control {
  position: relative;
  font-size: 16px;
  height: auto;
  padding: 10px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

.form-signin .form-control:focus {
  z-index: 2;
}


.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.form-signin input[name="login"],
.form-signin input[name="username"],
.form-signin input[name="pma_username"],
.form-signin input[name="_user"],
.form-signin input[name="login_username"],
.form-signin input[name="auth[username]"] {
  margin-bottom: -1px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.modal-backdrop {
	background-color: rgba(255,255,255,0.99);
}

.modal.alert .modal-header {
	opacity: 0.75;
}

.modal-content {
	border-radius: 0;
	background: #fbfbfb;
}

.modal-open {
	padding-right: 15px;
}

.user-options {
	margin-top: -15px;
	text-align: center;
	height: 50px;
}

@media (max-width:768px) {
	.user-options {
		margin-top: 15px;
	}
}

.loggeduser * {
	color: rgb(65,65,65) !important;
}

.loggeduser .label {
	color: white !important;
}

.form-group {
	margin-bottom: 5px;
}

.form-control {
	background: rgba(255,255,255,0.4);
}
.form-control:hover,
.form-control:focus {
	background: rgba(255,255,255,0.8);
}

input.post-title {
	height: 50px;
	margin: 0;
}

.newitem {
	border: 1px solid rgba(0,0,0,0.1);
	background: rgba(255,255,255,0.4);
	margin-bottom: 10px;
	padding: 0 10px 10px 10px;
	margin-top: -5px;
}

.architekti-home .post .btn,
.post-title .btn,
.publication .btn,
.project-photo .btn {
	opacity: 0.5;
}

.architekti-home .post:hover .btn,
.post:hover .post-title .btn,
.publication:hover .btn,
.project-photo:hover .btn {
	opacity: 1;
}

.project-photo:hover .photo-options .form-control {
	background: rgba(255,255,255,0.8);
}

.user-table {
	font-size: 17px;
}

.user-table .media-container {
	margin: -5px 0 -5px -5px;
}

.user-table .media-container iframe {
	margin-bottom: -8px;
}

.user-table .media-container img,
.user-table .media-container iframe {
	max-width: 200px;
}

@media (min-width:1100px) {
	.user-table .media-container img,
	.user-table .media-container iframe {
		max-width: 265px;
	}
}

@media (max-width:768px) {
	.user-table .media-container img,
	.user-table .media-container iframe
	 {
		max-width: 145px;
	}
	.user-table .media-container iframe {
		max-height: 90px;
	}

}

#changeProjectMediumBtn {
	margin-bottom: 15px;
}

/* upload */

.upload-tabs {
	margin: 10px 0;
}

#newpostform .upload-tabs,
.post-edit .upload-tabs {
	margin-bottom: 0;
}

.upload-tabs .glyphicon {
	color: gray;
	font-size: 13px;
}

.upload-tabs .nav {
	font-size: 17px;
}

.upload-tabs .nav-tabs>li>a {
	line-height: 1;
	font-size: 85%;
}

@media (max-width:767px) {
	.upload-tabs .nav-tabs>li>a {
		padding: 10px 7px;
		font-size: 67%;
	}
}

.upload-tabs small {
	color: #888;
}

/* modal */

.modal {
	margin: 0;
	background: rgba(0, 0, 0, 0.3);
}

.upload-tabs form[action="/file-upload"] button[type="submit"] {
	float: left;
	margin-right: 12px;
	margin-top: 3px;
}

.upload-tabs form[action="/file-upload"] .btn-alert {
	padding-top: 7px;
	font-size: 14px;
	color: red;
}

/* hidden area */
@media(min-width:1250px) {
	#hiddenarea {
		width: 80px;
		height: 300px;
/*		border: 4px dashed gray;*/
		position: fixed;
		bottom: 100px;
		right: 0;
	}
}

#totop {
	position: fixed;
	bottom: 18px;
	right: 18px; 
	/*background: white;*/
	color: silver;
	font-size: 20px;
	font-weight: bold;
	padding: 0;	/* 8px 13px 6px 13px; */
	display: none;
	cursor: pointer;
	opacity: 0.8;
	transition: 0.3s all;
	z-index: 99;
	width: 36px;
    height: 36px;
    border-radius: 12px;
    background-image: url(/img/sipka.png);
    background-size: contain;
    background-position: center; 
}

body.modal-open #totop {
	display: none!important;
}

@media (max-width: 365px) {
	#totop {
		width: 35px;
		height: 35px;
	}
}

#totop:hover {
	color: gray;
	opacity: 1;
	transition: 0.3s all;
}

#fbicon-static,
#igicon-static {
	position: fixed;
	z-index: 90;
	bottom: 15px;
	left: 17px; 
/*	color: silver;
	padding: 8px 13px 6px 13px;
*/	
	cursor: pointer;
	transition: 0.3s all;
}

#igicon-static {
	left: 68px; 
}

#fbicon-static img,
#igicon-static img {
	height: 36px;
	margin: 0;
	opacity: 0.9;
	border-radius: 12px;
	transition: 0.3s all;
}
#fbicon-static:hover img,
#igicon-static:hover img  {
	opacity: 1;
	transition: 0.3s all;
}

@media (min-width: 768px) {
	#fbicon-static,
	#igicon-static {
		display: none;
	}	
}

.nav-tabs {
	border-bottom: none;
}

.nav-tabs>li.active>a, .nav-tabs>li.active>a:hover, .nav-tabs>li.active>a:focus {
	background-color: rgba(241,241,241,0.8);
}

.tab-content {
	background: url("/img/placeholder.jpg") no-repeat center center;
	background-size: 100%;
	border-radius: 3px;
}

.tab-pane {
	border: 1px solid #ccc;
	border-radius: 4px;
	background: rgba(255,255,255,0.4);
	min-height: 125px;
	padding: 10px 10px;
}

.tab-iframe textarea {
	min-height: 125px;
}

.tab-iframe.tab-link,
.tab-iframe.tab-file {
	min-height: 80px;
}

@media (max-width: 767px) {
	.tab-pane {
		min-height: 74px;
	}
	.tab-iframe textarea {
		min-height: 74px;
	}
}

/*
@media (min-width: 1199px) {
	.tab-video, .tab-images, .tab-iframe {
		min-height: 175px;
	}
	.tab-iframe textarea {
		min-height: 175px;
	}
}*/

.tab-iframe {
	padding: 0;
	border: 0;
}

/* DEBUG */
.debug-button, .debug-window {
    z-index: 999999;
}

.debug-button {
    right: 74px !important;
    bottom: 15px !important;
    border-radius: 7px !important;
    padding: 10px !important;
}

#notification,
#dev-banner {
	position: fixed;
	top: 70px;
	left: 0;
	width: 100%;
	text-align: center;
	font-size: 15px;
	font-weight: bold;
	background: rgb(203, 203, 203); /*, 0.85);*/
	color: white;
	z-index: 999;
	cursor: pointer;
}
#notification:focus,
#dev-banner:focus {
	outline: none;
}

#dev-banner {
	background: rgba(255, 48, 0, 0.7);
	z-index: 998;
	cursor: auto;
    height: 24px;
}

@media (max-width:768px) {
	#notification,
	#dev-banner {
		top: 50px;
	}
}

.btn-group input {
	border-radius: 0;
}

.filemedium {
	margin-top: 3px;
	margin-left: 3px;
}

.project-admin-details tr:first-child td {
	border-top: 0;
}

.note-toolbar.panel-heading {
	background: transparent;
	border: 0;
}

.note-toolbar .btn-sm {
	padding: 2px 6px 2px 7px;
}

.note-editor.note-frame.panel-default {
	border: 0;
	-webkit-box-shadow: none;
    box-shadow: none;
    background: transparent!important;
}

.note-editor.note-frame .note-statusbar {
	border: 0!important;
	background: transparent!important;
}

.note-editing-area:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}

.note-editing-area {
	background: rgba(252, 252, 252, 0.82);
    border: 1px solid rgba(240, 240, 240, 1);
    border-radius: 10px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.user-projects .media-container {
	height: 34px;
	width: 64px;
	margin: -2px 0 -4px 0;
	padding: 0;
}

.user-projects .media-container>* {
	height: 34px!important;
	width: 64px!important;
    margin: 2px auto!important;
}

.user-projects .media-container.youtube-container {
	margin: -4px 0;
}

.user-projects .img-responsive {
	margin: 0!important;	
}



table.user-projects .index-col {
	width: 50px;
	max-width: 50px!important;
	min-width: 50px!important;
}

table.user-projects .image-col {
	width: 85px;
	max-width: 85px!important;
	min-width: 85px!important;
}

table.user-projects .name-col,
table.user-projects .edited-col {
	line-height: 1.7;
}

table.user-projects .label-col {
	width: 129px;
	max-width: 129px!important;
	min-width: 129px!important;
	padding: 6px 5px 0 6px;
}

table.user-projects .edited-col {
	width: 190px;
    min-width: 190px!important;
    max-width: 190px!important;
}

table.user-projects .btn-col {
	text-align: right;
	width: 167px;
    min-width: 167px!important;
}

@media (max-width:767px) {
	table.user-projects .image-col {
		width: 70px;
		max-width: 70px!important;
		min-width: 70px!important;
	}
	table.user-projects .label-col {
		width: 38px;
		max-width: 38px!important;
		min-width: 38px!important;
	}
	table.user-projects .btn-col {
		width: 86px;
    	max-width: 86px!important;
    	min-width: 86px!important;
	}
}

@media (max-width:400px) {
	table.user-projects .label-col {
		display: none;
	}
	table.user-projects .image-col {
		width: 64px;
		max-width: 64px!important;
		min-width: 64px!important;
		overflow: hidden;
	}
}
@media (max-width:340px) {
	table.user-projects .index-col {
		display: none;
	}
}

table.user-projects tr.ui-sortable-helper {
	background-color: #f5f5f5;
	border: 1px solid #ddd;
	border-left: none;
	border-right: none;
	margin: 0;
}

table.user-projects tr.ui-sortable-helper td {
	border-top: none;
}

/*
table.user-projects tr.ui-sortable-helper .btn-col {
	opacity: 0.5;
	float: right;
	margin-top: -43px;
}
*/

table.user-projects tr.ui-sortable-helper .name-col {
	width: inherit;
} 

.user-projects .ui-sortable-placeholder td {
	display: none;	/* or the number of cols won't match because of hidden-xs etc. */
}
.user-projects .ui-sortable-placeholder td:first-child {
	display: table-cell;
} 

.sortable-table tbody tr {
	background: #f9f9f9;
	height: 41px;
}

.sortable-table .drag-icon {
	opacity: 0;
	font-size: 14px;
	transition: 0.1s all;
	margin-left: -25px;
	width: 25px;
}

@media (min-width:769px) {
	.sortable-table tr:hover .drag-icon,
	.sortable-table tr.ui-sortable-helper .drag-icon {
		opacity: 1;
		transition: 0.1s all;
	}
}

.sortable-table .sortable-disabled tr:hover .drag-icon {
	opacity: 0;
}

.postfiles .ui-sortable-placeholder {
	display: block;
	background: #ccc;
	width: 200px;
	height: 200px;
    visibility: visible!important;
    margin-right: 5px;
	cursor: move;
}

/*
.postfiles .col-sm-6 + .ui-sortable-placeholder + .col-sm-6,
.postfiles .col-sm-6 + .ui-sortable-placeholder + .ui-sortable-helper + .col-sm-6.vertical-left {
	clear: both;
}
*/

.postfiles .ui-sortable-handle {
	transform: scale(1);
	opacity: 1;
	transition: 0.1s transform;
	cursor: grab;
}

.postfiles .ui-sortable-handle.move-now {
	transform: scale(0.85);
	opacity: 0.8;
	transition: 0.1s transform;
	cursor: move;
}

.photo-option-arrows {
	z-index: 99999;
}