﻿body {
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

/* Overwrite template style */
.page-signin .signin-header, .page-confirm-ok .signin-header, .page-confirm-error .signin-header {
    margin-top: 75px;
}

.ui-select {
    margin: 0;
    vertical-align: middle;
    z-index: 0;
}

    .ui-select > select {
        padding: 5px 10px 5px 5px;
        width: 100%;
    }

    .ui-select option {
        padding: 5px;
    }

/* Overwrite module styles */
#loading-bar .bar {
    background: #00ADEE;
    height: 4px;
    top: 50px;
}

#loading-bar .peg {
    height: 4px;
    -moz-box-shadow: #00ADEE 1px 0 6px 1px;
    -ms-box-shadow: #00ADEE 1px 0 6px 1px;
    -webkit-box-shadow: #00ADEE 1px 0 6px 1px;
    box-shadow: #00ADEE 1px 0 6px 1px;
}

#loading-bar-spinner {
    top: 18px;
}

    #loading-bar-spinner .spinner-icon {
        width: 20px;
        height: 20px;
        border-top-color: #00ADEE;
        border-left-color: #00ADEE;
    }


/* Overwrite Angular UI style*/
.uip-pagination-top .pagination {
    margin: 0px;
}


/* Application definitions */
.no-padding {
    padding: 0;
}

.btn-auth {
    margin: 8px 5px 0 5px;
}

    .btn-auth button, .btn-auth button:hover {
        border-color: #666;
    }

.img-auth-sm {
    margin-right: 10px;
}

.panel-heading .btn {
    margin-top: -5px;
}

td .btn {
    margin-top: -4px;
    margin-bottom: 0;
}

.page-sports td .btn {
    margin-top: 0;
    margin-bottom: 0;
}

.flag-img {
    border: 1px solid #ccc;
    border-radius: 2px;
}

.input-ajax-loader {
    background-image: url("../img/ajax-loader.gif");
    background-repeat: no-repeat;
    background-position: 95% 50%;
}

.margin-left {
    margin-left: 10px;
}

.margin-right {
    margin-right: 10px;
}

.panel .panel-heading {
    text-transform: none;
}

.panel-heading h3 {
    color: #00ADEE;
}

.panel-heading .panel-subtitle {
    color: #00ADEE;
}

.panel-bottom-margin {
    margin-bottom: 300px;
}

.panel-bottom-margin-xl {
    margin-bottom: 900px;
}

.panel-bottom-margin-md {
    margin-bottom: 200px;
}


/*.ng-valid-required, .ng-invalid-required {
    border-right-width: 5px;
}*/
.ng-invalid-required {
    border-right-width: 7px;
    border-right-color: #f3c536;
}
/*tr.ng-invalid {
    background-color: mistyrose;
}*/

.form-select-label {
    float: left;
    margin-top: 8px;
}

.input-40 {
    min-width: 40px !important;
}

.input-50 {
    min-width: 50px !important;
}

.input-60 {
    min-width: 60px !important;
}

.input-70 {
    min-width: 70px !important;
}

.input-80 {
    min-width: 80px !important;
}

.input-90 {
    min-width: 90px !important;
}

.input-100 {
    min-width: 100px !important;
}

.input-125 {
    min-width: 125px !important;
}

.input-150 {
    min-width: 150px !important;
}

.input-200 {
    min-width: 200px !important;
}

.input-300 {
    min-width: 300px !important;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.btn-file {
    position: relative;
    overflow: hidden;
}

    .btn-file input[type=file] {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 100%;
        min-height: 100%;
        font-size: 100px;
        text-align: right;
        filter: alpha(opacity=0);
        opacity: 0;
        outline: none;
        background: white;
        cursor: inherit;
        display: block;
    }

.cursor-pointer {
    cursor: pointer;
}

.activeTab {
    font-weight: bold;
    color: #00ADEE;
}

.table-invoicingtemplate div.th:nth-child(2) {
    padding-top: 0 !important;
}

.table-invoicingtemplate td > input:nth-child(2) {
    margin-top: 3px !important;
}

.text-valid-now {
    color: #00adee;
    font-weight: bold;
}

.text-valid-history {
    text-decoration: line-through;
}

.text-valid-future {
}

/* ChatMassegaNotice list */
.chat-notices {
    height: calc(100vh - 50px);
    width: 320px;
    margin-right: -50px;
    margin-bottom: 50px;
    overflow-y: scroll;
    white-space: normal !important;
}

    .chat-notices .list-group-item {
        padding: 0 !important;
        border-top: 1px solid #ccc !important;
    }

    .chat-notices .media {
        padding: 10px 15px 10px 15px !important;
    }

    .chat-notices .media-body {
        padding: 0 !important;
    }

    .chat-notices .not-clicked {
        background-color: #eeeeee;
    }

    .chat-notices .clicked {
    }

/* Help page */
.help-page {
    height: calc(100vh - 50px);
    width: 768px;
    overflow-y: scroll;
    white-space: normal !important;
}

.help-page-content {
    padding: 20px;
}

.help-page h1 {
    font-size: 22px;
}
.help-page h2 {
    font-size: 18px;
}
.help-page h3{
    font-size: 16px;
}
.help-page h4 {
    font-size: 14px;
}
.help-page h5 {
    font-size: 14px;
}
.help-page h6 {
    font-size: 14px;
}

@media only screen and (max-width: 1024px) {
    .help-page {
        width: calc(100vw - 50px);
    }
}

@media only screen and (max-width: 767px) {
    .help-page {
        width: 100vw;
    }
}

.help-page .xtra-spinner-xl {
    text-align: center;
    top: calc(50vh - 150px);
}

/* ui-grid styles */
.gridIcon {
    margin: 9px 10px 10px 12px;
}

.gridOptionIcon {
    margin-left: 10px;
    margin-right: 10px;
}

.gridNotValid {
    background-color: lightpink !important;
}

.gridDiffer {
    background-color: #c0e5f1 !important;
}

.gridDifferNotValid {
    background: -webkit-linear-gradient(90deg, lightpink, #c0e5f1); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(90deg, lightpink, #c0e5f1); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(90deg, lightpink, #c0e5f1); /* For Firefox 3.6 to 15 */
    background: linear-gradient(90deg, lightpink, #c0e5f1); /* Standard syntax */
}

.ui-grid-cell {
    position: relative !important; /* MANDATORE! ui-grid-cell must be positioned relative to get .gridCellEdited positioned right!! */
}

.gridCellEdited:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 10px solid #00ff21;
    border-left: 10px solid transparent;
}

.gridCellWarning {
    border-left: 5px solid #f3c536 !important;
}

.gridInfoColorbox {
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
    position: relative;
    margin: 8px;
}

.gridInfo .dropcap-circle {
    width: 22px;
    line-height: 22px;
    font-size: 1.1em;
}
/* ui-grid styles end */

/* isteven-multiselect */
.multiSelect .multiSelectGroup {
    color: #00ADEE;
    font-weight: 700;
}

    .multiSelect .multiSelectGroup:hover {
        color: #00ADEE !important;
    }
/* isteven-multiselect end */

/* Non-Bootstrap tabs*/
.tabrow {
    text-align: left;
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: 24px;
    position: relative;
    background-color: #F6F6F6;
}

    .tabrow:after {
        position: absolute;
        content: "";
        width: 100%;
        bottom: 0;
        left: 0;
        border-bottom: 1px solid #E9E9E9;
        z-index: 1;
    }

    .tabrow:before {
        z-index: 1;
    }

    .tabrow a {
        color: #333;
        margin-right: 2px;
        padding: 10px 15px;
        line-height: 1.42857;
        border: 1px solid transparent;
        border-radius: 4px 4px 0 0;
        display: inline-block;
        position: relative;
        text-decoration: none;
        background-color: transparent;
        cursor: pointer;
        z-index: 0;
    }

        .tabrow a:hover {
            font-weight: bold;
        }

        .tabrow a.selected {
            z-index: 2;
            border-bottom-color: #FFF;
            background-color: #FFF;
            font-weight: bold;
            cursor: default;
        }
/* Non-Bootstrap tabs End*/

/* Simple tabs (EAj)*/
ul.simple-tabs {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

    ul.simple-tabs li {
        color: #222;
        display: inline-block;
        padding: 10px 15px;
        cursor: pointer;
        border: 1px #ccc solid;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
    }

        ul.simple-tabs li.current {
            color: #337ab7;
            font-weight: bold;
            border-bottom: 2px #fff solid;
            z-index: 10;
        }

.simple-tabs-content {
    display: none;
    padding: 15px;
    margin-top: -1px;
    border-radius: 4px;
    border-top-left-radius: 0;
}

    .simple-tabs-content.current {
        display: inherit;
        border: 1px #ccc solid;
    }

    .simple-tabs-content h3 {
        color: #00ADEE;
        text-transform: none;
        margin: 5px 0 20px 5px;
    }

    .simple-tabs-content .simple-tabs-subtitle {
        color: #00ADEE;
    }
/* Simple tabs - End */

/* Event info table */
.table-event-info {
}

    .table-event-info p {
        margin: 0;
        padding: 0 0 0 0;
    }

    .table-event-info td {
        padding: 2px 2px 2px 15px;
        vertical-align: top;
    }

.table-event.info th {
    vertical-align: top !important;
}
/* Event info table - End */

/* UI Bootstrap Typeahead Custom Popup */
.custom-popup-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
}

    .custom-popup-wrapper > .message {
        padding: 10px 20px;
        border-bottom: 1px solid #ddd;
        color: #868686;
    }

    .custom-popup-wrapper > .dropdown-menu {
        position: static;
        float: none;
        display: block;
        min-width: 160px;
        background-color: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }

.dropdown-menu > li.menugroup-title {
}

    .dropdown-menu > li.menugroup-title > a {
        color: #333;
        font-weight: bold;
        background-color: #ccc;
        cursor: none;
    }

        .dropdown-menu > li.menugroup-title > a:hover {
            color: #333;
            font-weight: bold;
            background-color: #ccc;
            cursor: none;
        }

/* UI Bootstrap Typeahead Custom Popup - End */

.btn-toolbar, .btn-toolbar .btn-group {
    display: flex !important;
}

td > .btn-group {
    display: flex !important;
}

.table-borderless > tbody > tr > td,
.table-borderless > tbody > tr > th,
.table-borderless > tfoot > tr > td,
.table-borderless > tfoot > tr > th,
.table-borderless > thead > tr > td,
.table-borderless > thead > tr > th {
    border: none;
}

@media(min-width: 481px) {
    .reCaptchaFix {
        margin-left: 18.6666666666%;
        width: 81.3333333333%;
        padding-bottom: 12px;
    }
}

@media(max-width: 480px) {
    .reCaptchaFix {
        margin-left: 0%;
        width: 100%;
        padding-bottom: 12px;
    }
}

.vertical-text {
    transform: rotate(-90deg);
    transform-origin: right, top;
    -ms-transform: rotate(-90deg);
    -ms-transform-origin: right, top;
    -webkit-transform: rotate(-90deg);
    -webkit-transform-origin: right, top;
    position: absolute;
}

.row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}

    .row-eq-height > [class*='col-'] {
        display: flex;
        flex-direction: column;
    }

.fill-height {
    height: calc(100%);
}

.button-input {
    position: relative;
}

    .button-input button {
        position: absolute;
        top: 0;
        right: 1em;
        border: 1px solid #cbd5dd;
    }

.ui-checkbox input[type="checkbox"] + span:before {
    border: 1px solid #666 !important;
}

.sml-license-box .mini-box {
    padding-top: 0px;
}

select:disabled {
    color: #bbb;
}

.ng-leave {
    display: none;
}

.tutorial-video {
    border-radius: 4px;
    border-style: solid;
    border-color: #CCC;
    border-width: 1px;
}

.editable-controls.form-group label {
    margin-right: 5px;
}

.editable-form-empty {
    font-style: italic;
    color: #DD1144;
    text-decoration: none;
    border-bottom: dashed 1px #428bca;
}

    .editable-form-empty:hover {
        text-decoration: none;
        color: #DD1144;
        border-bottom-color: #428bca;
    }

.editable-form-crowded {
    text-decoration: none;
    color: #428bca;
    border-bottom: dashed 1px #428bca;
}

    .editable-form-crowded:hover {
        text-decoration: none;
        color: #2a6496;
        border-bottom-color: #2a6496;
    }

.points-ignored {
    color: #DD1144 !important;
    text-decoration: line-through !important;
}

.sup {
    position: relative;
    bottom: 1.5ex;
    font-size: 75%;
}

@media print {
    .no-margin-on-print {
        margin: 0 !important;
    }

    .no-padding-on-print {
        padding: 0 !important;
    }
}

.modal-xlg {
    width: 1200px;
}

.d-flex {
    display: flex;
}

.w-25 {
    width: 25%;
}

.w-50 {
    width: 50%;
}

.w-75 {
    width: 75%;
}

.w-100 {
    width: 100%;
}

.m-l-10 {
    margin-left: 10px;
}