/* Copyright (c) 2012-2015 The TagSpaces Authors. All rights reserved. Use of this source code
 * is governed by a AGPL3 license that can be found in the LICENSE file. */

@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: normal;
  src: url("ubuntu-font/Ubuntu-R.woff") format('woff');
  src: url("ubuntu-font/Ubuntu-R.ttf") format('truetype');
}

@font-face {
  font-family: 'Glyphicons Halflings';
  src: url('../libs/bootstrap/dist/fonts/glyphicons-halflings-regular.eot');
  src: url('../libs/bootstrap/dist/fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../libs/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../libs/bootstrap/dist/fonts/glyphicons-halflings-regular.woff') format('woff'), url('../libs/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../libs/bootstrap/dist/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}

html, body {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	overflow: hidden;
	font-size: 9px;
	font-family: Ubuntu, Geneva, Arial, Helvetica, sans-serif;
}

/* Removes the selection border on ui elements on android */
* {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-touch-callout: none;
  tap-highlight-color: rgba(0,0,0,0);
  touch-callout: none;
}

.disableTextSelection {
  -webkit-user-select: none;
  user-select: none;
  -moz-user-select: -moz-none;
}

/* Custom scrollbars for chrome */
::-webkit-scrollbar-track {
   background-color: transparent;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
  background-color: #bbb;
}

* { outline:none; }

.disabled {
  color: lightgray;
}

.noWrap {
  white-space:nowrap !important;
}

.forceWrap {
  word-break: break-all;
}

li hr {
  height: 0;
  border: 0;
}

/* Bootstrap Styles */

.btn, .btn:hover, .btn:focus, .btn:active {
  outline: none !important;
  outline-color: initial !important;
  outline-style: none !important;
  outline-width: initial !important;
/*  background-image: none;
  border-radius: 0;
  text-transform: none;
  -webkit-transition: none;
  transition: none;
  -webkit-transform: none;
  transform: none;*/
}

.btn-link, .btn-link:hover, .btn-link:focus, .btn-link:active {
  background-color: transparent;
  outline: none !important;
  background-image: none !important;
  border-radius: 0;
  text-transform: none;
  -webkit-transition: none;
  transition: none;
  -webkit-transform: none;
  transform: none;
}

.btn-link:hover, .btn-link:active {
  color: black;
}

.btn .caret {
  padding-left: 0;
}

.btn-default:focus {
  background-color: white;
}

.modal .btn {
  text-transform: uppercase;
  min-width: 70px;
}

.modal .btn i {
  padding-right: 8px;
  padding-left: 8px;
}

.modal-body {
	font-size: 14px;
  padding-bottom: 0;
}

/* Bootstap modals fullscreen on small screen */
@media (max-width: 768px) {
  .fullScreenMobile {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
  }

  .fullScreenMobile .modal-dialog {
    position: fixed;
    margin: 0;
    width: 100%;
    height: 100%;
    padding: 0;
  }

  .fullScreenMobile .modal-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .fullScreenMobile .modal-header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 70px;
    padding: 10px;
    border: 0;
  }

  .fullScreenMobile .modal-title {
    font-weight: 300;
    font-size: 2em;
    line-height: 30px;
  }

  .fullScreenMobile .modal-body {
    position: absolute;
    top: 70px;
    bottom: 60px;
    width: 100%;
    font-weight: 300;
    overflow: auto;
    max-height: 1550px !important;
  }

  #dialogOptions .modal-body {
    top: 125px !important;
  }

  #dialogOptions .modal-header {
    height: 125px !important;
  }

  .fullScreenMobile .modal-footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 10px;
  }

  .modal-footer .btn {
    margin-bottom: 4px !important;
  }


  .fullScreenMobile .modal-content {
    height: 100%;
    border-radius: 0;
  }
}

.modal-header {
  background-color: #F6F6F6;
  border-radius: 5px 5px 0px 0px;
}

.modal-footer {
  background-color: #F6F6F6;
}

.modal-header .close {
  margin-top: 7px;
  font-size: x-large;
}

button.close {
  margin-top: -5px;
}

.dropdown-header {
  margin-top: 6px;
}


.dropdown-menu {
  min-width: 200px;
}

/* END Bootstap modals fullscreen on small screen */

/* Tablet optimization */
.dropdown-menu li > a {
  line-height: 45px !important;
  height: 45px !important;
  cursor: pointer;
  overflow: hidden;
}

.navbar {
	border-radius: 0 !important;
	border: 0;
	border-bottom: 1px;
}

.btn-toolbar {
	min-height: 40px;
}

.dropdown-menu .divider {
  background-color: #FAFAFA;
}

.dropdown {
  position: absolute;
  display:none;
  z-index: 1035;
}

@media
(-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  #welcomeScreen {
    width: 100%;
    height: 100%;
    background: url(welcome-logo2x.png) no-repeat center;
    background-size: 300px 200px;
  }
}

/* Used in the tours for hapscotch  */

.uiEmphasizer {
  border: 3px dashed #1DD19F;
}

div.hopscotch-bubble {
  z-index: 1030 !important;
}
/* END Used in the tours for hapscotch  */


@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
  .appBackgroundTile {
    background-image: url('background@2x.png');
    background-repeat: repeat;
    background-size: 387px 273px;
  }
}

label.control-label {
  padding-top: 6px !important;
}

.modal textarea {
  border: 1px solid #f4f4f4 !important;
}

.form-control {
  border-radius: 0px;
}

.shortcutKey {
  background-color: #D6D6D6;
  font: "Console";
  font-family: monospace;
  padding: 5px;
  border-radius: 5px;
}
