@import url("https://static.gnome.org/css/fonts.css");

/* Base information */
/* ========================================================================== */

a {
    color: #204a87;
}
.left {
    float: left;
}
.right {
    float: right;
}
.hidden {
    display: none;
}
.clear {
    clear: both;
}
ol {
    list-style:decimal;
}
ul {
    list-style:square;
}
p, dd, .action_box, ul, ol {
    margin: 0.4em 0 1em;
}

/* Text classes */
/* ========================================================================== */

.highlight {
    background: yellow;
}

.help{
    font-size: 12px;
    color: #888a85;
}

.more {
    cursor: pointer;
    white-space: nowrap;
    text-decoration: underline;
}

code {
    background: #ececec;
    background: rgba(0,0,0,0.1);
    padding: 1px;
}
.about_qlinks dt {
    font-size: 18px;
    color: #CE5C00;
    font-weight: normal;
    text-align: left;
}

/* Page Title */
/* ========================================================================== */


#content h1 {
    margin: 10px 0 20px;
    border-bottom: 1px solid #d3d7cf;
    text-shadow: 0 1px 0 #fff;
    line-height: normal;
    letter-spacing: -0.04em;
}
#content h1 a {
    text-decoration: none;
    color: #4a86cf;
}
#content h1 a:hover {
    text-decoration: underline;
}

/* Separators */
/* ========================================================================== */

hr {
    border: 0 #ccc solid;
    border-top-width: 1px;
    clear: both;
    height: 0;
    margin: 20px 0;
}
hr.top_shadow,
hr.bottom_shadow {
    height: 25px;
    background: url(../img/hr-shadow.png) no-repeat bottom;
    background-size: contain;
    border: 0;
    margin: 40px 0;
}
hr.bottom_shadow {
    transform: rotate(180deg);
}


/* Specific stylesheet for Damned-lies */
/* ========================================================================== */

/* Statistics table */

table.stats {
    width: 100%;
    margin: 10px 0;
    background: #fff;
    border: 1px solid #ccc;
    border-collapse: collapse;
    border-radius: 4px;
}
table.stats thead th {
    text-align: left;
    padding-top: 5px;
    padding-bottom: 5px;
    background: linear-gradient(to top, #f9f9f9, #ececec);
    white-space: nowrap;
}
table.stats th,
table.stats td {
    border: 1px solid #ccc;
    border-left: 0;
    border-right: 0;
    padding: 5px 8px;
}
table.stats tbody tr:hover {
    background: #ececec;
}
table.stats th img,
table.stats td img {
    vertical-align: middle;
}
table.stats tfoot {
    background: #f4f4f4;
    background: linear-gradient(to top, #f4f4f4, #fff);
}
td.supported {
	color: #ffffff;
	background-color: green;
}
td.partially {
	background-color: orange;
}
td.not_supported {
}
table.stats td.fuzzy {
	background-color: #eee8aa;
}

/* Compact text stats */

pre.stats {
    display: inline;
    white-space: pre;
    font-family: monospace;
    font-size: 11px;
    background-color: transparent;
    border: none;
}
.num1 {
    color: #4e9a06;
}
.num2 {
    color: #ce5c00;
}
.num3 {
    color: #a40000;
}
#stats_po {
	padding: 5px 0 10px 5px;
	font-size: 15px;
	font-weight: bold;
    color: #ce5c00;
}

/* Used in vertimus_detail */

div#vertimus_stats {
    line-height: 1.3em;
}
div#vertimus_stats pre.stats {
    white-space: normal;
    font-family: sans-serif;
	font-size: 13px;
}

/* Graphic stats */

.graph {
    width: 100px;
    height: 9px;
    background: #ccc;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
    margin-top: 5px;
}
div.graphinline {
    width: 100px;
	display: inline-block;
}
.graph div {
    display: block;
    float: left;
    height: 9px;
}
.graph .translated {
    background: #73d216;
    background: -linear-gradient(to top, #73d216, #66bb14);
}
.graph .fuzzy {
    background: #5688c9;
    background: linear-gradient(to top, #ff840d, #e37000);
}
.graph .untranslated {
    background: #ff1b1b;
    background: linear-gradient(to top, #ff1b1b, #cc0000);
}

/* Download button */

.download_button {
	padding: 3px 0 0 22px;
	display: inline-block;
	text-decoration: underline;
	line-height: 20px;
	background: transparent url(../img/download.png) no-repeat left;
}

/* Multi column lists */

.column_container ul {
	margin-top: 0;
    list-style: none;
}
.column_box li {
    border: 1px solid #ccc;
    background: #fff;
    padding: 4px 8px;
    list-style: none;
    margin: 8px 5px;
    box-shadow: inset 0 -1px 1px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}
.column_box li a {
	text-decoration: none;
}
.column_box li a:hover {
	text-decoration: underline;
}

/* Person details */

/* Used in people/person_list */
.person_list {
    padding-left: 65px;
    margin-bottom: 12px;
    clear: left;
}

.person_list .name {
    font-size: 110%;
}

.person_list img {
    height: 48px;
    float: left;
    margin-left: -65px;
}
/*
.person_detail {
    display: block;
    padding-bottom: 20px;
}*/
.person_detail .image,
.person_detail .txt {
    display: table-cell;
    vertical-align: top;
}
.person_detail .image {
    padding-right: 15px;
}
.person_detail .txt .name {
    font-weight: 400;
}
.person_detail .txt .email {
    color: #999;
    text-decoration: none;
}
.person_detail .txt .email:hover {
    text-decoration: underline;
}
form#delete-token:hover span { display: inline !important; }

/* Icon button */

.icon_button {
    background: #eeeeec;
    border: 1px solid #babdb6;
    padding: 4px 12px;
    margin-bottom: 5px;
    display: inline-block;
    line-height: 16px;

    font-size: 13px;
    font-weight: normal;

    border-radius: 4px;
    box-shadow: inset 0 -1px 2px rgba(0, 0, 0, 0.1);
}
.icon_button:hover,
.icon_button:focus {
    outline: 0;
    background: #f4f4f4;
}
.icon_button:active {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Stats show */

.stats_show .path {
    margin-top: -0.2em;
    color: #999;
    font-size: 18px;
}
.stats_show .pot_information {
    font-size: 13px;
    margin: 0;
}
.stats_show .notices {
    background: #ececec;
    padding: 15px;
    margin-top: 10px;
    margin-bottom: -10px;
    overflow: auto;

    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}
.stats_show .notices h4 {
    margin-top: 0;
}
.stats_show .notices pre {
    margin: 0;
    font-size: 12px;
}
table.stats thead tr .header {
	background: #eeeeee url(../img/bg.gif) no-repeat center right;
    background: url(../img/bg.gif) no-repeat center right, linear-gradient(to top, #f9f9f9, #ececec);
	cursor: pointer;
	padding-right: 1.2em;
}
table.stats thead tr .headerSortUp {
	background: #eeeeee url(../img/asc.gif) no-repeat center right;
    background: url(../img/asc.gif) no-repeat center right, linear-gradient(to top, #f9f9f9, #ececec);
}
table.stats thead tr .headerSortDown {
	background: #eeeeee url(../img/desc.gif) no-repeat center right;
    background: url(../img/desc.gif) no-repeat center right, linear-gradient(to top, #f9f9f9, #ececec);
}
table.stats th.headerNoSort {
	background-color: #eeeeee;
}

/* Vertimus detail */
/* ========================================================================== */

/* Vertimus action box */

.vertimus_action {
	background: #eeeeee;
    background: linear-gradient(to top, #f9f9f9, #ececec);
	margin: 1em 0 1.5em;
	border: solid #ddd 1px;
}
.vertimus_action_head {
	border-bottom: solid #ddd 1px;
	padding: 0.5em 12px;
}
.vertimus_action_content {
	padding: 1em 12px 0;
}
.vertimus_action_comment {
	font-family: monospace;
}

div.release_link {
	float: right;
	font-size: small;
	margin: 54px 5px 0 0;
}
div.uploaded_file {
	float: right;
	padding: 1px;
	margin: -10px 0 0 5px;
	max-width: 50%;
}
div.face_image {
	float: left;
	margin: 0 10px 0 0;
}
div.face_image img {
	max-height: 50px;
	max-width: 50px;
}
.right_actions {
	float: right;
	border: 1px solid rgba(0,0,0,.15);
	padding: 5px 25px 0 0;
    border-radius: 2px;
}
.right_actions ul {
	list-style: none;
}
.right_actions a {
	text-decoration: none;
	color: #333;
}
.right_actions a:hover {
	text-decoration: underline;
}

div.docimages {
	display: inline;
	margin-left: 8px;
}
/* Vertimus action form*/
.diff_header,
.djform {
	margin-top: 10px;
	padding: 5px 20px;
	border: 1px solid #ccc;

	background: #eeeeee;
    background: linear-gradient(to top, #f9f9f9, #ececec);
	border-radius: 2px;
}
.djform textarea {
	width: 100%;
	min-height: 130px;
	font: inherit;
	font-family: monospace;
	padding: 10px;
	resize: vertical;
}
.djform td  {
	padding: 3px 4px 0 0;
	font-size: 12px;
	color: #555753;
}
.djform th {
	vertical-align: top;
	padding: 5px 10px 0 0;
	text-align: left;
}

/* Miscellaneous */
img.action_icons {
    width: 20px;
    height: 20px;
    float: right;
    margin: 0 2px;
}

.helptext{
	font-size: 12px;
	color: #000;
}

.error {
	font-style: italic;
	color: #666666;
}

.errornote {
	color: #fff;
	text-align: center;
	font-weight: bold;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
	border: 1px solid #eee;
	padding: 5px;
	background: #7fa7d4;

    border-radius: 5px;
    box-shadow: inset 0 2px 3px -1px #396da9, 0 1px 0 #fff;
}
.errornote.error {
    background-color: red;
}

ul.errorlist {
	list-style: none;
	margin: 0.5em 0;
	padding: 0;
}

.errorlist li {
	color: red;
	font-size: 15px !important;
	font-weight: bold;
	display: block;
	padding: 4px 5px 4px 25px;
	margin: 0 0 3px 0;
}

.help_link a {
	border-bottom: 0 !important;
}
.help_link img {
	vertical-align:top;
	padding: 2px 5px;
}
img.screenshot {
	max-width: 550px;
	border: 0;
}

div#hide-show {
	text-align: right;
	float:right;
}

/*show a foot logo instead of dots in some lists*/
ul.foot li {
   list-style-image: url(../img/foot-16.png);
}

/* Input Forms */
/* ========================================================================== */

.form-group input {
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
        border-top-color: rgb(204, 204, 204);
        border-right-color: rgb(204, 204, 204);
        border-bottom-color: rgb(204, 204, 204);
        border-left-color: rgb(204, 204, 204);
    border-radius: 2px;
    -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 .15s ease-in-out,box-shadow .15s ease-in-out;
    -webkit-transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
}

.form-group input: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);
}

.form-group input:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
}

/* About page */
/* ========================================================================== */

#about_page .about_qlinks dt {
    font-size: 16px;
    font-weight: bold;
}

/* Custom media queries and Bootstrap overwrite rules for Damned Lies */
/* ========================================================================== */

.col-centered{
    float: none;
    margin: 0 auto;
}
.no-padding {
   padding: 0 !important;
   margin: 0 !important;
}
.no-decoration {
    text-decoration: none;
}
.table-responsive {
    border: none;
}


/* Classes for responsive views */
/* ========================================================================== */

@media screen and (max-width: 767px) {

    h1, #content h1 {
        font-size: 23px;
    }

    h2 {
        font-size: 20px;
    }

    .dropdown-menu.login_popup_form {
            color: #ffffff;
    }

    .navbar-default .navbar-header .icons {
        margin: 2px 20px 0;
    }
}
