body {
    background-color: #f9f9f9;
}

#header {
    height: 90px;
    background-repeat: repeat-x;
    background: #f9f9f9; /* Old browsers */
    background: -moz-linear-gradient(top, #f9f9f9 0%, #eaeaea 23%, #eaeaea 30%, #e8e8e8 36%, #e3e3e3 60%, #e6e6e6 70%, #f1f1f1 80%, #f2f2f2 90%, #ffffff 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f9f9f9), color-stop(23%, #eaeaea), color-stop(30%, #eaeaea), color-stop(36%, #e8e8e8), color-stop(60%, #e3e3e3), color-stop(70%, #e6e6e6), color-stop(80%, #f1f1f1), color-stop(90%, #f2f2f2), color-stop(100%, #ffffff)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #f9f9f9 0%, #eaeaea 23%, #eaeaea 30%, #e8e8e8 36%, #e3e3e3 60%, #e6e6e6 70%, #f1f1f1 80%, #f2f2f2 90%, #ffffff 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #f9f9f9 0%, #eaeaea 23%, #eaeaea 30%, #e8e8e8 36%, #e3e3e3 60%, #e6e6e6 70%, #f1f1f1 80%, #f2f2f2 90%, #ffffff 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #f9f9f9 0%, #eaeaea 23%, #eaeaea 30%, #e8e8e8 36%, #e3e3e3 60%, #e6e6e6 70%, #f1f1f1 80%, #f2f2f2 90%, #ffffff 100%); /* IE10+ */
    background: linear-gradient(to bottom, #f9f9f9 0%, #eaeaea 23%, #eaeaea 30%, #e8e8e8 36%, #e3e3e3 60%, #e6e6e6 70%, #f1f1f1 80%, #f2f2f2 90%, #ffffff 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#ffffff', GradientType=0); /* IE6-9 */
}

#header h1 {
    text-align: center;
    clear: both;
}

#header h1 a {
    text-decoration: none;
}

#header h1 a img {
    border: 0;
}

#content > h2 {
    margin-top: 10px;
}

div.form fieldset legend, div#content > div > h2 {
    color: #f27179;
    font-style: italic;
    font-weight: bold;
    padding-top: 10px;
}

#header h1, #header h1 a, #header h1 a:hover {
    color: #004f9f;
    font-size: 20px;
    background: transparent none;
}

#footer {
    height: 150px;
    background-position: top;
    background: #fdfdfd; /* Old browsers */
    background: -moz-linear-gradient(top, #fdfdfd 0%, #fefefe 25%, #e4e4e4 35%, #f0f0f0 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fdfdfd), color-stop(25%, #fefefe), color-stop(35%, #e4e4e4), color-stop(100%, #f0f0f0)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #fdfdfd 0%, #fefefe 25%, #e4e4e4 35%, #f0f0f0 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #fdfdfd 0%, #fefefe 25%, #e4e4e4 35%, #f0f0f0 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #fdfdfd 0%, #fefefe 25%, #e4e4e4 35%, #f0f0f0 100%); /* IE10+ */
    background: linear-gradient(to bottom, #fdfdfd 0%, #fefefe 25%, #e4e4e4 35%, #f0f0f0 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdfdfd', endColorstr='#f0f0f0', GradientType=0); /* IE6-9 */
}

div.actions h3, #navigation li:nth-of-type(1) {
    color: #95c11f;
    font-weight: bold;
    font-style: italic;
}

th a {
    color: #004f9f;
}

th {
    border-bottom: 2px solid #a1a5a7;
}

th.actions {
    color: #a1a5a7;
}

div.actions {
    width: 17%;
}

div.index, div.view, div.form {
    border-left: 1px solid #a1a5a7;
    width: 75%;
}

div.form fieldset label, #ViewOrder fieldset label, #dashboard label {
    float: left;
    width: 300px;
    font-size: 90%;
}

#dashboard label {
    width: 150px;
}

#dashboard legend {
    color: #000;
}

#dashboard fieldset legend span {
    font-size: 75%;
    cursor: pointer;
}

#dashboard fieldset form {
    display: none;
}

div.form fieldset .input, #ViewOrder fieldset .input, #dashboard .input {
    padding-left: 0;
    margin-bottom: 0;
}

#ViewOrder fieldset > div {
    clear: both;
    margin-bottom: 1em;
    padding: .5em;
    vertical-align: text-top;
}

#loprolei {
    padding: 0 !important;
}

div.form fieldset {
    margin: 0;
    padding: 0;
}

div.view > dl, div.related > dl {
    width: 100%;
}

div.view > dl dt, div.related > dl dt {
    width: 25em;
}

div.view > dl dd, div.related > dl dd {
    margin-left: 25em;
}

div.related {
    width: 75%;
    float: right;
    padding: 10px 2%;
    border-left: 1px solid #a1a5a7;
}

div.related div.actions {
    display: block;
    float: none;
    padding: 0;
    width: auto;
    margin-top: 10px;
    margin-bottom: 30px;
}

div.related h3 {
    background-color: #a1a5a7;
    font-size: 120%;
    font-weight: bold;
    font-style: italic;
    margin-left: -30px;
    padding-top: 5px;
    padding-bottom: 5px;
    color: #ededed;
    padding-left: 30px;
}

div.form form {
    width: auto;
}

div.form input, div.form select {
    padding: 2px;
    font-size: 100%;
}

div.form input[readonly=readonly], div.form select[readonly=readonly] {
    background-color: #c5c5c5;
}

div.form fieldset label {
    width: 30%;

}

fieldset .input input {
    width: 65%;
}

fieldset .input svg.fa-info {
    float: right;
    margin-top: 5px;
    color: #f00;
}

fieldset .checkbox input {
    margin-left: 30%;
    width: auto;
}

fieldset .checkbox {
    height: 15px;
}

fieldset .input input, fieldset .input select {
    border-radius: 4px;
    padding: 4px;
    border: 1px solid #777a7b;
}

fieldset .input input:focus, fieldset .input select:focus {
    background-color: #ffe6a6;
}

#products img, #chosen_products img, .packages img, #chosen_packages img, #products_maintenance_support img {
    cursor: pointer;
}

div.form input[type=checkbox] {
    border: none;
}

.actions ul li a img, .actions a img {
    vertical-align: middle;
}

#footer {
    text-align: center;
    color: black;
}

#language, #logout {
    font-size: 8pt;
    float: right;
    color: #a1a5a7;
    margin-right: 50px;
    padding: 3px;
    border-left: 1px solid #ddd;
}

#language {
    border-bottom: 1px solid #ddd;
}

#logout {
    border-top: 1px solid #ddd;
}

#logout a {
    color: #a1a5a7;
}

.bullet_arrow_down {
    background-image: url('../img/bullet_arrow_down.png');
    background-repeat: no-repeat;
}

.bullet_arrow_up {
    background-image: url('../img/bullet_arrow_up.png');
    background-repeat: no-repeat;
}

#language ul {
    list-style: none;
    margin: 0;
}

#language ul:first-of-type, #language span, #language img {
    float: left;
}

#language img {
    margin-left: 5px;
    margin-top: 3px;
    margin-right: 5px;
}

#language ul img {
    margin: 0;
    float: none;
}

#language li {
    margin: 0;
    cursor: pointer;
}

#language ul li:first-child {
    width: 15px;
    height: 15px;
}

#language ul:first-of-type li:nth-child(2) {
    display: none;
    position: absolute;
}

#document_type_configurations, #document_type_configurations > div {
    padding: 0;
    margin: 0;
}

#document_type_configurations > div {
    display: none;
}

#chosen_products tr:nth-last-child(2) td:first-of-type {
    vertical-align: middle;
}

#chosen_products tr:nth-last-child(2) td:last-of-type div {
    padding: 0;
}

#chosen_products tr:nth-child(n+2) td:nth-of-type(4), #chosen_products tr:nth-child(n+2) td:nth-of-type(6), #chosen_products tr:nth-last-of-type(2) td:last-of-type, #chosen_products tr:last-child td:last-of-type, #products tr:nth-child(n+2) td:nth-of-type(4) {
    text-align: right;
}

#document_type_configurations .checkbox input {
    /*	position: relative;*/
    /*	top: -16px;*/
}

.deprecated, .archive {
    background-color: #cd5c5c !important;
}

tr.new_order {
    background-color: lightyellow !important;
}

#copy_end_user_information {
    cursor: pointer;
}

.orders table th:nth-child(3) {
    width: 100px;
}

.orders table tr:first-child td img {
    cursor: pointer;
}

.orders table tr:first-child td form {
    margin-top: 10px;
}

#copyright {
    clear: both;
}

.documents.index table tr:first-of-type th:first-of-type {
    width: 350px;
}

.documents.index table tr:first-of-type th:nth-of-type(2) {
    width: 200px;
}

.archive {
    display: none;
}

.toggle_archive {
    cursor: pointer;
}

#HTMLExamplesTrigger, #PlaceholderTrigger {
    margin: 0;
    padding: 0;
}

#HTMLExamplesTrigger img, #PlaceholderTrigger img {
    cursor: pointer;
}

#HTMLExamples, #Placeholder {
    display: none;
    position: fixed;
    border: 1px solid black;
    background-color: lightgrey;
    width: 40%;
    top: 5%;
    left: 5%;
}

#Placeholder {
    width: 75%;
}

#HTMLExamples ol {
    list-style-position: inside;
}

#HTMLExamples h1:first-of-type, #Placeholder h1:first-of-type {
    height: 20px;
    cursor: pointer;
}

#HTMLExamples img:first-of-type, #Placeholder img:first-of-type {
    float: right;
    cursor: pointer;
    margin-right: 2px;
    margin-top: 2px;
}

#Placeholder td:first-child {
    cursor: pointer;
}

#AddOrder ul li a, #EditOrder ul li a, #ViewOrder ul li a {
    font-weight: normal;
    font-size: 75%;
}

#AddOrder ul li.error, #EditOrder ul li.error {
    color: #fff !important;
    background: none;
    background: #c43c35;
    background-repeat: repeat-x;
    background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);
    background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ee5f5b), to(#c43c35));
    background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);
    background-image: -o-linear-gradient(top, #ee5f5b, #c43c35);
    background-image: linear-gradient(top, #ee5f5b, #c43c35);
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
}

#AddOrder ul li.error a, #EditOrder ul li.error a {
    color: #fff;
}

#ViewOrder dl {
    width: 100%;
}

#ViewOrder dt {
    width: 20em;
}

#ViewOrder dd {
    margin-left: 20em;
}

#chosenProductsSortable tr td:nth-of-type(n+2) {
    text-align: right;
}

.products_maintenance_support_adobe {
    display: none;
}

.message {
    font-size: 14px;
}

#document_custom_text img, #bill img {
    cursor: pointer;
}

fieldset#tab_configuration .checkbox input {
    margin-left: 0;
}

fieldset#tab_configuration .checkbox label {
    width: auto;
}

table#summary tr td:nth-of-type(n+2) {
    text-align: right;
}

table#summary tr td:nth-of-type(4) {
    width: 150px;
}

#help {
    float: left;
}

#help img {
    vertical-align: middle;
}

#help a {
    margin-left: 2px;
}

.orders.index input {
    font-size: 100%;
}

.isReseller {
    background-color: red;
    color: white;
}

fieldset#additional_service .checkbox input {
    margin-left: 0;
}

fieldset#additional_service .checkbox label {
    width: 50%;
}

.contentFullscreen {
    width: 95% !important;
}

.index_detailed table {
    font-size: 75%;
}

.toggleFullscreen {
    cursor: pointer;
}

#OrderIndexDetailedForm label, #OrderIndexDetailedForm select, #OrderIndexDetailedForm input {
    font-size: 100%;
}

#OrderIndexDetailedForm div {
    margin-bottom: .5em;
}

#OrderIndexDetailedForm div.date {
    float: left;
    clear: none;
}

#OrderIndexDetailedForm div.date label {
    float: left;
    margin-right: 10px;
}

#OrderIndexDetailedForm div.input input {
    padding: .5%;
}

#OrderIndexDetailedForm .submit input[type=submit] {
    padding: 6px 8px;
}

#navigation, #navigation li {
    margin: 0;
    padding: 0;
    height: 30px;
}

#navigation {
    padding-left: 1.5%;
}

#navigation li {
    list-style: none;
    float: left;
    margin: 0 0 0.5em 0;
    white-space: nowrap;
    padding: 0;
}

#navigation li:nth-of-type(n+2) {
    margin-left: 1%;
}

#navigation li a {
    display: block;
    clear: both;
    font-weight: normal;
    padding: 4px 8px;
    background: #dcdcdc;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#fefefe), to(#dcdcdc));
    background-image: -webkit-linear-gradient(top, #fefefe, #dcdcdc);
    background-image: -moz-linear-gradient(top, #fefefe, #dcdcdc);
    background-image: -ms-linear-gradient(top, #fefefe, #dcdcdc);
    background-image: -o-linear-gradient(top, #fefefe, #dcdcdc);
    background-image: linear-gradient(top, #fefefe, #dcdcdc);
    color: #333;
    border: 1px solid #bbb;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    text-decoration: none;
    text-shadow: #fff 0 1px 0;
    min-width: 0;
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 1px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 1px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 1px rgba(0, 0, 0, 0.2);
    -webkit-user-select: none;
    user-select: none;
}

#navigation li a:hover {
    background: #ededed;
    border-color: #acacac;
    text-decoration: none;
}

ul.token-input-list-facebook {
    height: 26px !important;
    width: auto !important;
}

div.token-input-dropdown-facebook li {
    color: #000;
}

div.token-input-dropdown-facebook ul li.token-input-selected-dropdown-item-facebook {
    color: #000 !important;
    background-color: #f4f4f4 !important;
}

li.token-input-token-facebook {
    height: 16px !important;
    padding-top: 0 !important;
    line-height: 18px;
}

.token-input-list-facebook input {
    font-size: 100%;
    padding: 1px !important;
}

.actions a.confirmed {
    color: #fff;
    background: #62af56;
    background-image: -moz-linear-gradient(top, #76BF6B, #3B8230);
    background-image: -ms-linear-gradient(top, #76BF6B, #3B8230);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#76BF6B), to(#3B8230));
    background-image: -webkit-linear-gradient(top, #76BF6B, #3B8230);
    background-image: -o-linear-gradient(top, #76BF6B, #3B8230);
    background-image: linear-gradient(top, #76BF6B, #3B8230);
}

.actions a.not_confirmed {
    color: #fff;
    background: #c43c35;
    background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);
    background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ee5f5b), to(#c43c35));
    background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);
    background-image: -o-linear-gradient(top, #ee5f5b, #c43c35);
    background-image: linear-gradient(top, #ee5f5b, #c43c35);
}

.actions a.confirmed:hover, .actions a.not_confirmed:hover {
    color: #000;
}

#fieldset_standard_products > div.select {
    float: left;
}

#fieldset_standard_products > div.select label {
    width: 300px;
}

#fieldset_standard_products > img {
    cursor: pointer;
    float: left;
    vertical-align: middle;
    margin-top: 15px;
}

#fieldset_standard_products #addFastProduct {
    cursor: pointer;
    vertical-align: middle;
    margin-left: 5px;
}

#fieldset_standard_products table img {
    cursor: pointer;
}

#fieldset_standard_products table img.edit {
    margin-left: 5px;
}

.modalEditor {
    display: none;
    position: fixed;
    border: 1px solid black;
    background-color: white;
    width: 55%;
    height: 90%;
    overflow-y: auto;
    top: 5%;
    left: 5%;
    padding: 0;
}

.modalEditor h1:first-of-type {
    height: 20px;
    cursor: pointer;
    padding: 2px;
    background: lightgray;
}

.modalEditor img:first-of-type {
    float: right;
    cursor: pointer;
    margin-right: 2px;
    margin-top: 2px;
}

.modalEditor div.form {
    width: auto;
    float: none;
    border-left: none;
}

.modalEditor button[type="submit"] {
    background: #62af56;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#76BF6B), to(#3B8230));
    background-image: -webkit-linear-gradient(top, #76BF6B, #3B8230);
    background-image: -moz-linear-gradient(top, #76BF6B, #3B8230);
    color: #fff;
    text-shadow: rgba(0, 0, 0, 0.5) 0 -1px 0;
    padding: 8px 10px;
    border: 1px solid #2d6324;
    border-radius: 4px;
}

.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
}

#fincon > a {
    display: none;
}

.floatyButtons {
    padding: 0;
}

.floatyButtons div.submit {
    float: left;
    clear: none;
}

#ConfirmOpportunity, #ConfirmContact {
    color: #000;
}

.radio_dd input, .radio_dd label {
    float: left;
    clear: none;
    margin-right: 5px;
}

.modalEditor ul {
    clear: both;
    list-style: none;
    margin: 0;
}

.modalEditor li input[type=radio] {
    margin: 0 5px 0 0;
}

input[type="submit"] {
    cursor: pointer;
}

input[type="submit"][disabled] {
    cursor: not-allowed;
    opacity: .5;
}

div.submit p.error {
    font-size: 75%;
    padding: .5em;
    margin: .8em 0 0 0;
}

.match_po_to_opportunity {
    margin: 2px 0;
}

.match_po_to_opportunity:hover {
    padding: 4px;
    border: 1px solid black;
    background-color: lightgrey;
    cursor: pointer;
}

.ui-widget-content {
    border: none !important;
}

#OrderDashboardForm {
    margin-bottom: 10px;
}

#OrderDashboardForm select {
    margin-right: 10px;
}

.status svg {
    margin-right: 10px;
}

.status svg.green {
    color: green;
}

.status svg.red {
    color: red;
}

.status svg.grey {
    color: grey;
}

.status svg.black {
    color: black;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin-left: 0;
}

.select2-results__option {
    margin: 0;
}

.select2-results__option {
    color: #000;
}

#statusLegend {
    font-size: .8em;
}

#statusLegend > li {
    float: left;
}

#statusLegend li {
    list-style: none;
}

#statusLegend ul {
    margin-left: 0;
}

#statusLegend ul > li {
    margin-top: 5px;
    margin-left: 0;
}

#chosenProductsSortable tbody {
    cursor: pointer;
}

#OrderComment {
    background: #ff5232;
}

#OrderComment:disabled {
    cursor: not-allowed;
    background: grey;
}

#LoadingScreen {
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, .5);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
}

#LoadingScreen img {
    height: 50px;
    width: 50px;
    margin: 50vh 50% 0;
    -webkit-animation: spin 4s linear infinite;
    -moz-animation: spin 4s linear infinite;
    animation: spin 4s linear infinite;
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

div.orders.index tr:first-of-type td {
    vertical-align: middle;
}

#refreshDocxToPdfStatus {
    cursor: pointer;
}

.privacy-policy {
    position: fixed;
    bottom: 0;
    padding: 5px 0;
    text-align: center;
    width: 100%;
}
