/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 0.8em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

img.right {
    border: 1px solid #ccc;
    float: right;
    margin-left: 15px;
    padding: 5px;
}

img.left {
    border: 1px solid #ccc;
    float: left;
    margin-right: 15px;
    padding: 5px;
}


/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body, html {
  height: 100%;
}

a {
  text-decoration: none;
  color: #333;
}

h4 {
  font-size: 1em;
  color: #EFAD6D;
}

.wrapper {
  background-color: #F8F8F8;
  background-image: url("img/Crumpled.jpg");
  overflow: hidden;
  clear: both;
  min-width: 910px;
  min-height: 100%;
}

.smallText {
  font-size: small;
}

.xsmallText {
  font-size: x-small;
}

.floatRight {
  float: right;
}

.alignRight {
  text-align: right;
}

.bold {
  font-weight: bold;
}

.uppercase {
  text-transform: uppercase;
}

div.xscroll {
  overflow-x: scroll;
}

#nav-column, #content-column {
  float: left;
  min-height: 10px;
  padding-bottom: 100000px;
  margin-bottom: -100000px;
  overflow: hidden;
}

#nav-column {
  width: 33%;
  background-color: black;
  background-color: rgba(0,0,0,0.9);
  background-image: url("img/join_left.png");
  background-position: top right;
  background-repeat: repeat-y;
  color: white;
  text-align: center;
}

#nav-minimize, #nav-maximize {
  position: fixed;
  left: 0px;
  bottom: 20px;
  display: none;
  cursor: pointer;
}

#full-width-dark {
  background-color: black;
  background-color: rgba(0,0,0,0.9);
  color: white;
  text-align: center;
  padding-bottom: 100000px;
  margin-bottom: -100000px;
}

#nav-column nav ul {
  padding: 0px;
  display: inline-block;
  width: 150px;
}

#nav-column nav li {
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  margin-bottom: 10px;
}

#nav-column nav li:hover {
  box-shadow: 0px 0px 8px 3px #FFBD7D;
  background-color: #111;
}

#nav-column nav a {
  color: #AAA;
  font-weight: bold;
  display: block;
  padding: 5px;
}

#nav-column nav a:hover {
  color: white;
}

#content-column {
  background-color: green;
  width: 67%;
	background: #F8F8F8;
  background: rgba(255,255,255,0.95);
  background-image: url("img/join_right.png");
  background-position: top left;
  background-repeat: repeat-y;
}

#content {
  padding: 25px 5px 100px 30px;
}

#popup-content {
  display: inline-block;
}

#logo {
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  box-shadow: 0px 0px 20px 8px white;
  margin-top: 50px;
  margin-bottom: 20px;
}

#front-logo {
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  box-shadow: 0px 0px 20px 8px white;
  margin-top: 50px;
  margin-bottom: 20px;
}

#corner-logo {
  position: fixed;
  top: -70px;
  right: 0px;
}

footer {
  position: fixed;
  bottom: 0;
  height: 50px;
  width: 100%;
  text-align: right;
  min-width: 910px;
}

#footer-tagline {
  width: 50%;
  font-family: 'Kaushan Script', cursive;
  font-size: 25px;
  font-style: italic;
  font-weight: bold;
  text-align: right;
  color: #FFF;
  text-shadow: 1px 1px 3px #000;
  padding: 10px;
  padding-right: 30px;
  position: absolute;
  right: 0px;
  bottom: 0px;
  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjI1JSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(left,  rgba(255,255,255,0) 0%, rgba(255,255,255,1) 25%, rgba(255,255,255,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0)), color-stop(25%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(left,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 25%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(left,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 25%,rgba(255,255,255,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(left,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 25%,rgba(255,255,255,1) 100%); /* IE10+ */
  background: linear-gradient(to right,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 25%,rgba(255,255,255,1) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=1 ); /* IE6-8 */
}

.lt-ie9 #footer-tagline {
  color: #AAA;
}

div.topbar {
  position: relative;
}

div.topbar h2 {
  display: inline;
  vertical-align: middle;
  margin-right: 20px;
}

div.index table {
  width: 100%;
  margin-top: 20px;
  background-color: white;
}

div.index table th {
  border: 1px solid #AAA;
  background-color: #EEE;
  padding: 2px;
}

div.index table td {
  border: 1px solid #AAA;
  padding: 3px;
}

div.index td a,
div.view td a {
  color: #316ac5;
}

div.index td.actions a {
  color: #333;
}

div.index td.actions a:hover {
  color: #EEE;
}

div.response_to {
  margin-left: 20px;
  font-style: italic;
}

div.minimized {
  max-height: 3em;
  overflow: hidden;
  color: #999;
}

ul.actions {
  display: inline-block;
  vertical-align: middle;
  list-style: none;
  padding: 0px;
  margin: 0px;
}

ul.actions li {
  display: inline-block;
}

.actions a,
div.paging span.prev,
div.paging span.next {
  display: inline-block;
  padding: 2px 5px;
  margin: 0px 2px;
  background-color: white;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: 0px 0px 2px black;
  -moz-box-shadow: 0px 0px 2px black;
  box-shadow: 0px 0px 2px black;
}

.actions a:hover {
  background-color: #316AC5;
  color: #EEE;
}

td.actions {
  text-align: right;
  padding-right: 5px;
  white-space: nowrap;
}

td.private {
  font-style: italic;
  text-align: center;
  color: #999;
}

div.status-change {
  text-align: right;
  margin-bottom: 10px;
}

div.status-change > div {
  display: inline-block;
  padding: 6px 4px;
  border: 1px solid #AAA;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

div.status-change > div > span {
  margin: 0px 5px;
}

/* STATUSES -------------------------------------------------- */
.new {
  background-color: #FFF;
}

.accepted, .approved, .queued {
  background-color: #b3d4fc;
}

.in_progress, .current {
  background-color: #FFBD7D;
}

.needs_response {
  background-color: #FFA0A0;
}

.completed, .developed, .tested, .awaiting_release {
  background-color: #76BF6B;
}

.confirmed, .released {
  background-color: #76BF6B;
  color: white;
}

.held {
  background-color: #CCC;
  color: white;
}


/*--------------------------------------------------------------*/

div.paging span.disabled {
  display: none;
}

div.paging {
  margin-top: 20px;
}

div.paging p {
  color: #666;
}


div.view table {
  width: 100%;
}

div.view th {
  text-align: left;
  padding: 5px;
  padding-right: 20px;
  border: 1px solid #CCC;
  background-color: #EEE;
}

th.id-col {
  width: 50px;
}

div.view td {
  padding: 5px;
  padding-right: 20px;
  border: 1px solid #CCC;
}

div.view table.th-left {
  width: auto;
}

div.related table {
  width: 100%;
  margin-top: 20px;
  border: 1px solid #AAA;
  background-color: white;
}

div.related th {
  border: 1px solid #AAA;
  background-color: #EEE;
  padding: 2px;
}

div.related td {
  border: 1px solid #AAA;
  padding: 3px;  
}

div.description {
  min-height: 100px;
  margin: 20px;
}

div.description img {
  max-width: 100%;
  height: auto !important;
}

/** Forms **/
form {
	clear: both;
  display: inline-block;
	width: auto;
}
fieldset {
	border: none;
	margin-bottom: 1em;
	padding: 16px 10px;
}
fieldset legend {
	color: rgb(191,76,0);
	font-size: 1.2em;
	font-weight: bold;
}
fieldset fieldset {
	margin-top: 0;
	padding: 10px 0 0;
}
fieldset fieldset legend {
	color: #999;
	font-size: 1em;
	font-weight: normal;
}
fieldset fieldset div {
	clear: left;
	margin: 0 20px;
}
form div {
	clear: both;
	margin-bottom: 5px;
	padding: 0px;
	vertical-align: text-top;
  white-space: nowrap;
}
form .input {
	color: #444;
}
form .required label:after {
	color: #e32;
	content: '*';
	display:inline;
}
form div.submit {
	border: 0;
	clear: both;
	margin-top: 10px;
  text-align: right;
}
label {
  display: inline-block;
  width: 150px;
  text-align: right;
  padding-right: 20px;
}
input[type=text],
input[type=password],
input[type=email],
select {
  width: 200px;
}

input.hasDatePicker, input.hasTimePicker {
  width: auto;
}

div.datetime select {
  width: auto;
}

div.checkbox {
  padding-left: 220px;
}
div.checkbox label {
  width: auto;
  text-align: left;
  padding: 0px;
  padding-left: 20px;
}

div.filter {
  border: 1px solid #CCC;
}

form.filter div,
form.filter fieldset {
  display: inline-block;
}

/*------------------------------------------*/

div.flash-error-message {
  background-color: #9E2424;
  color: white;
  text-align: center;
  padding: 10px;
  -webkit-border-top-left-radius: 10px;
  -moz-border-top-left-radius: 10px;
  border-top-left-radius: 10px;
  -webkit-border-bottom-right-radius: 10px;
  -moz-border-bottom-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

div.flash-notice-message {
  background-color: #EFAD6D;
  color: white;
  text-align: center;
  padding: 10px;
  -webkit-border-top-left-radius: 10px;
  -moz-border-top-left-radius: 10px;
  border-top-left-radius: 10px;
  -webkit-border-bottom-right-radius: 10px;
  -moz-border-bottom-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

div.message {
  color: #9E2424;
  background-color: #EEE;
  border: 1px solid #CCC;
  text-align: center;
  padding: 10px;
  -webkit-border-top-left-radius: 10px;
  -moz-border-top-left-radius: 10px;
  border-top-left-radius: 10px;
  -webkit-border-bottom-right-radius: 10px;
  -moz-border-bottom-right-radius: 10px;
  border-bottom-right-radius: 10px;
  margin-bottom: 10px;
}

div.error-message {
  color: #9E2424;
  display: inline;
  margin-left: 5px;
}


/* ---------------------------------------------------------------------------*/
#crud-select {
  position: absolute;
  width: 15px;
  display: none;
  background-color: white;
  padding: 2px;
  border: 1px solid #333;
}


img.ajax-loader {
  position: absolute;
  display: none;
}

/* -----------------------------------------------------------------*/
div.cke_chrome {
  display: inline-block;
  vertical-align: top;
  width: 600px;
}


#TaskEstimateHours, #TicketEstimateStoryPoints, #StoryEstimateStoryPoints {
  width: auto;
}
#TaskBrief, #TicketBrief {
  width: 500px;
}

div.commentsList {
  clear: both;
  padding: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

div.commentsList:hover {
  background-color: #EEE;
}




body.Dashboard_index #tabs div.dashboard,
body.Dashboard_index #tabs2 div.dashboard {
  height: 200px;
  overflow-y: auto;
}


div.sprints.view {
  margin-bottom: 20px;
}

div.sprints.view span.dates {
  font-size: 1.2em;
  font-weight: bold;
}


div.progress-bars {
  width: 80%;
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 5px;
}

div.projects.progress-bars {
  width: 100%;
}

div.projects.progress-bars div.ui-widget-header {
  background-image: url('img/ui-bg_highlight-soft_100_deedf7_1x100.png');
}

.isEncrypted {
  color: #EEE;
}
div.isEncrypted {
  word-wrap: break-word;
  width: 300px;
  max-height: 1.2em;
  overflow: hidden;
}
div.isDecrypted {
  word-wrap: break-word;
  width: 300px;
}
#encryptionKey {
  font-style: italic;
  color: #EEE;
}

pre
{
	white-space: pre-wrap; /* CSS 2.1 */
	word-wrap: break-word; /* IE7 */
}

.marker {
    background-color: Yellow;
}



/* -----------------------------------------------------------------*/
div.report {
  background-color: white;
  padding: 5px;
  border: 1px solid #CCC;
}

div.report div div {
  padding-left: 20px;
  border: 1px solid #CCC;
}



/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
