body, html, #app
{
    background: #e8e8e8;
    height:100%;
}
@font-face {
    font-family: 'fontello';
    src: url('../font/fontello.eot?30966551');
    src: url('../font/fontello.eot?30966551#iefix') format('embedded-opentype'),
    url('../font/fontello.woff?30966551') format('woff'),
    url('../font/fontello.ttf?30966551') format('truetype'),
    url('../font/fontello.svg?30966551#fontello') format('svg');
    font-weight: normal;
    font-style: normal;
}


.w-icon
{
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    speak: none;

    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    /* opacity: .8; */

    /* For safety - reset parent styles, that can break glyph codes*/
    font-variant: normal;
    text-transform: none;

    /* fix buttons height, for twitter bootstrap */
    line-height: 1em;

    /* Animation center compensation - margins should be symmetric */
    /* remove if not needed */
    margin-left: .2em;

    /* You can be more comfortable with increased icons size */
    /* font-size: 120%; */

    /* Font smoothing. That was taken from TWBS */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* Uncomment for 3D effect */
    /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
[v-cloak]::before {

    content: '';
    position: absolute;
    width: 100%;
    height: calc(100% - 61px);

}
[v-cloak] .lds-loader {
  display: inline-block;
  position: absolute;
  top: calc(50% - 50px);  left: calc(50% - 50px);
  width: 100px;
  height: 100px;
}
[v-cloak] .lds-loader div {
  display: inline-block;
  position: absolute;
  left: 6px;
  width: 13px;
  background: #00508D;
  animation: lds-loader 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}
[v-cloak] .lds-loader div:nth-child(1) {
  left: 6px;
  animation-delay: -0.24s;
}
[v-cloak] .lds-loader div:nth-child(2) {
  left: 26px;
  animation-delay: -0.12s;
}
[v-cloak] .lds-loader div:nth-child(3) {
  left: 45px;
  animation-delay: 0;
}
@keyframes lds-loader {
  0% {
    top: 6px;
    height: 51px;
  }
  50%, 100% {
    top: 19px;
    height: 26px;
  }
}

.content{
    height: calc(100% - 61px);
    overflow: auto;
}
.py-4{
    padding-bottom: 0 !important;
}
.navbar{
    background-color: #00508D;
}
.card-header
{
    border-radius: 0 !important;
}

.hidden{
    display: none;
}
.navbar-brand{
    padding : 2px 3px;
    color:white !important;
}
.navbar-default .navbar-brand, .nav-link,  .navbar-default .navbar-nav > li > a, .navbar-default .navbar-nav > li > a:active, .navbar-default .navbar-nav > li > a:visited, .card-header {
 color:white !important;
}
.navbar a:hover,.navbar-default .navbar-brand:focus, .navbar-default .navbar-brand:hover, .navbar-default .navbar-nav > li > a:hover, .alert-forecast-echeance:hover{
    color: #eece80 !important;
}
.navbar-brand > img {
    display: inline;
}

.navbar-sub{
    background:#242729;
    width:100%;
    height:20px;
}
.box
{
    padding:20px;
    background: #ffffff;
    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,.10);
    box-shadow: 0 0 10px 0 rgba(0,0,0,.10);
    overflow: auto;
}

.card-header
{
    background : #5884dc !important;
    color:white !important;
}

.searching{
    padding: 20px;
    color: #5884dc;
    font-size: 18px;
}
/******************
***** Chatbox *****
******************/
.chatbox{
    width:200px;
    position: absolute;
    right: 30px;
    bottom: 0;
    color:#55636B;
}
.disconnected div#chatbox-panel {
    right: 0 !important;
}
.disconnected #chatbox-previewer {
    /* width: calc(100% + 240px); */
    /* transform: translateX(-38%); */
    z-index: 3;
    background: #eee;
}
.disconnected .chatbox-body::before {

    content: "";
    position: absolute;
    height: calc(100% - 50px);
    width: 100%;
    background: #eee;
    z-index: 5;

}
.disconnected .chatbox-body::after {
    content: "\f1e6 Connection lost. Reconnecting...";
    font-family: 'Font Awesome 5 Free';
    font-size: 34px;
    z-index: 6;
    position: absolute;
    top: 25%;
    font-weight: 600;
    text-align: center;
    padding: 25%;
}

.chatbox .chatbox-notification-icon{
    display:none;
    position: absolute;
    height: 25px;
    width: 25px;
    border-radius: 50%;
    top: -12px;
    left: -12px;
    background: #C1392B;
    color: white;
    font-weight: 400;
    text-align: center;
}

.chatbox .chatbox-notification-icon.active{
    display:block;
}

.chatbox.open .chatbox-notification-icon{
    display:none;
}
.chatbox .chatbox-top{
    background: #00508d;
    height: 50px;
    cursor: pointer;
    padding:12.5px;
    color:white;
}
.chatbox .chatbox-top:hover
{
    background:#003054;
}
.chatbox.open
{
    z-index: 3;
    height: 100%;
    width:468px;
    right:0;
    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,.10);
    box-shadow: 0 0 10px 0 rgba(0,0,0,.10);
}
@media (max-width: 767px) {
    .chatbox.open{
        width:100%;
    }
}
.chatbox .chatbox-body, .chatbox .chatbox-bottom{
    display:none;
}
.chatbox.open .chatbox-body, .chatbox.open .chatbox-bottom{
    display:block;
    height: calc(100% - 50px);
}
.chatbox.open .chatbox-body{
    height: calc(100% - 50px);
    background: url(../images/beige.jpg);
}
.chatbox.open .chatbox-body .chatbox-body-bottom{
    position: absolute;
    width: 100%;
    bottom: 0;
    border-top: 1px #eee solid;background: inherit;
    padding: 10px;border-top: 1px #eee solid;
}
.chatbox.open .chatbox-body .chatbox-body-discussion
{
    height: 100%;
    overflow: auto;
    padding: 10px;
}

.chatbox-body-info{
    position: absolute;
    height: 100%;
    width: 100%;
    top:0;
    right: -100%;
    background:#f7f7f7;
    -webkit-transition: right 0.25s;
    -moz-transition: right 0.25s;
    -ms-transition: right 0.25s;
    -o-transition: right 0.25s;
    transition: right 0.25s;
}

.chatbox-body-info.active{
    right:0;
}

.chatbox-body-info-top {
    height: 60px;
    background: #fbfbfb;
    padding: 10px;
    border-left: 1px #eee solid;
}

.chatbox-body-info-preview{
    background: url(../images/beige.jpg);
    padding: 20px;
}

.chatbox-body-info-list {
    margin-top: 10px;
    padding: 20px;
    background: white;
    height: 400px;
    overflow: auto;
    max-height: 600px;
}

.chatbox .chatbox-body > #chatbox-panel{
    height: calc(100% - 50px);
    position: absolute;
    width: 100%;
    right:0;
    z-index: 3;
    transition: right 0.5s;
}
.chatbox.open .chatbox-body > #chatbox-panel{

    right: 100%;
    background: #fff;
    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,.10);
    box-shadow: 0 0 10px 0 rgba(0,0,0,.10);
    /* border-right: 1px #ddd solid; */
}
.chatbox.open .chatbox-body > #chatbox-panel > #chatbox-discussions > #chatbox-users-list > div > .chatbox-user-info > div:nth-child(1)::before{
    background-size: 25px !important;
    height: 40px;
    width: 40px;
    border: 1px #eee solid;
    border-radius: 50%;
    background-position: center !important;
    background-color: #fff;
    background-repeat: no-repeat;
}
.chatbox.open .chatbox-body > #chatbox-panel > #chatbox-discussions > #chatbox-users-list > div > .chatbox-user-info > div:nth-child(1).online::before {
    content: '';
    background-image: url("../images/online.png");

}
.chatbox.open .chatbox-body > #chatbox-panel > #chatbox-discussions > #chatbox-users-list > div > .chatbox-user-info > div:nth-child(1).group {
    text-align: center;
}
.chatbox.open .chatbox-body > #chatbox-panel > #chatbox-discussions > #chatbox-users-list > div > .chatbox-user-info > div:nth-child(1).group::before {
    content: "\f0c0";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    font-size: 20px;
}
.chatbox.open .chatbox-body > #chatbox-panel > #chatbox-discussions > #chatbox-users-list > div > .chatbox-user-info > div:nth-child(1).offline::before {
    content: '';
    background-image: url("../images/offline.png");

}

.chatbox-unseen
{
    position: absolute;
    right: 15px;
    background: #5884dc;
    padding: 6px;
    border-radius: 50%;
    font-size: 10px;
    color: white;
    line-height: 12px;
}
.chatbox.open .chatbox-body > #chatbox-panel > #chatbox-search{
    height:60px;
    padding: 12px;
    background: #fbfbfb;
}
.chatbox.open .chatbox-body > #chatbox-panel > #chatbox-search-result.active{
    z-index: 2;
}
.chatbox.open .chatbox-body > #chatbox-panel > #chatbox-search-result{
    position: absolute;
}

.chatbox.open .chatbox-body > #chatbox-panel > #chatbox-discussions {
    height: calc(100% - 60px);
    overflow: auto;
    width: 100%;
}
.highlight {
    font-weight: 400;
}
.chatbox.open .chatbox-body > #chatbox-panel > #chatbox-discussions > #chatbox-users-list > div > .chatbox-user-info,
.chatbox.open .chatbox-body > #chatbox-panel > #chatbox-discussions > #chatbox-results-list > .chatbox-result-info{
    cursor: pointer;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    height: 72px;
    background:white;
    padding:0 10px;
    position: relative;
    transition:opacity, height 0.2s;
    border-top: 1px #eee solid;
    overflow: hidden;
}
.chatbox-user-info.active {
    background: #eee !important;
}
.chatbox.open .chatbox-body > #chatbox-panel > #chatbox-discussions > #chatbox-users-list > div > .chatbox-user-info:not(.active):hover,
.chatbox.open .chatbox-body > #chatbox-panel > #chatbox-discussions > #chatbox-results-list > .chatbox-result-info:not(.active):hover
{
    background: #f9f9f9;
}

.chatbox.open .chatbox-body > #chatbox-panel > #chatbox-discussions > #chatbox-users-list > div > .chatbox-user-info  img {
    width: 25px;
    /* height: inherit; */
}

.chatbox.open .chatbox-body > #chatbox-panel > #chatbox-discussions > #chatbox-users-list > div > .chatbox-user-info > div:nth-child(1),
.chatbox.open .chatbox-body > #chatbox-panel > #chatbox-discussions > #chatbox-results-list > .chatbox-result-info > div:nth-child(1){
    padding: 0 15px 0 13px;
    -webkit-flex: none;
    flex: none;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
}

.chatbox.open .chatbox-body > #chatbox-panel > #chatbox-discussions > #chatbox-users-list > div > .chatbox-user-info > div:nth-child(2),
.chatbox.open .chatbox-body > #chatbox-panel > #chatbox-discussions > #chatbox-results-list > .chatbox-result-info > div:nth-child(2){
    padding-right: 15px;
    -webkit-flex-grow: 1;
    flex-grow: 1;
    min-width: 0;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: center;
    justify-content: center;
}

.chatbox-body-discussion-messages
{
    width: 100%;
    min-height: 50px;
    margin-bottom: 10px;
    position: relative;
}
.chatbox-body-discussion-messages > div {
    min-width: calc(100px + 40px);
    max-width: 55%;
    padding:5px;
    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,.10);
    box-shadow: 0 0 10px 0 rgba(0,0,0,.10);
    position:relative;
    min-height: 50px;
    transition:background 0.6s;
}
.chatbox-body-discussion-messages.active > div{
    background: rgba(0,0,0,0.15) !important;
}
.chatbox-body-discussion-messages > div > span.date{
    font-size: 10px;
    position: absolute;
    right: 12px;
    bottom: 2px;
}
.chatbox-body-discussion-messages > div.left
{    word-break: break-word;
    float:left;
    background: #fff;
}

.chatbox-body-discussion-messages > div.right
{
    float:right;
    text-align: left;    word-break: break-word;
    background: #dcf6c6;
}

.chatbox-body-discussion-messages-top {
    font-size: 13px;
    font-weight: 500;
}
.chatbox-body-discussion-messages > div > span{
    word-wrap: break-word;
    font-size: 14px;
    max-width: 90%;
    display: block;

    position: relative;
}


.chatbox-loader {
    font-size: 13px;
    font-style: italic;
    text-align: center;
    height: calc(100% - 141px);
    position: absolute;
    top: 50px;
    z-index: 3;
    width: 100%;
    display :none;
}

.loading.chatbox-loader{
    display: block;
}

.loader {
    display: none;
    border: 10px solid #f3f3f3;
    border-radius: 50%;
    border-top: 10px solid #3498db;
    width: 40px;
    height: 40px;
    -webkit-animation: spin 1.5s linear infinite; /* Safari */
    animation: spin 1.5s linear infinite;
    bottom: 0;
    position: absolute;
    left: calc(50% - 20px);
}

.loader.loading{
    display: block;
}

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

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


.chatbox-input, .chatbox-block-compose .chatbox-input-container {
    font-weight: normal;
}

.chatbox-input-placeholder {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

.chatbox-selectable-text {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text
}

.chatbox-input, .chatbox-block-compose .chatbox-input-container {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
    line-height: 20px;
    font-size: 15px;
    min-height: 20px;
    border: none;
    padding: 10px 12px;
    width: 100%;
    outline: none
}

*::-webkit-chatbox-input-placeholder {
    color: #ccc;
    font-size: 15px
}
.chatbox-input-emoji {
    position: relative;
    outline:none;
}

.chatbox-input-placeholder {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: absolute;
    top: 6px;
    left: 0px;
    color: #a4a4a4;
    pointer-events: none;
    transition: opacity .08s linear;
    z-index: 100;
    font-size: 15px;
    line-height: 20px;
}

.chatbox-block-compose .chatbox-input-placeholder {
    top: 0;
    margin-left: 2px
}

.chatbox-input-container {
    transition: height .18s ease-in-out;
}

.chatbox-compose-filler {
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    -webkit-order: 2;
    order: 2;
}


.message .message-text .emojitext {
    cursor: text;
    white-space: pre-wrap
}

.chatbox-block-compose {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-align-items: flex-end;
    align-items: flex-end;
    padding: 10px 19px;
    max-width: 100%;
    box-sizing: border-box;
    background-color: #00508d;
    position: relative;
    z-index: 2;
}

.chatbox-block-compose .chatbox-input-container {
    border-radius: 5px;
    width: inherit;
    background-color: #ffffff;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
    border-color: #fff;
    border-width: 1px;
    border-style: solid;
    box-sizing: border-box;
    padding-right: 16px;
}

.chatbox-block-compose .chatbox-input-container .chatbox-input {
    word-wrap: break-word;
    float:left;
    white-space: pre-wrap;
    padding: 0 2px 0 0;
    min-height: 20px;
    max-height: 100px;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: rgba(255, 255, 255, 0);
    border-left: 0.1px solid transparent;
    position: relative;
    z-index: 1;
    font-size:12px;
    max-width:80%;
}

#btn-send, #btn-picture
{
    float:right;
    height: 30px;
    line-height: 20px;
    width: 30px;
    cursor: pointer;
    border: none;
    background: none;
}
#btn-send.disabled{
    background: #393939;
    color:#4C4C4C;
}
#btn-send:not(.disabled):hover, #btn-send:not(.disabled):active, #btn-picture:not(.disabled):hover, #btn-picture:not(.disabled):active
{
    color:#1e1e1e;
}
#btn-send:focus, #btn-picture:focus{
    outline:none;
}

.chatbox-inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.chatbox-inputfile + label {
    font-size: 1.25em;
    font-weight: 700;
    display: inline-block;
    margin-bottom:0;
}

.chatbox-inputfile + label {
    cursor: pointer; /* "hand" cursor */
}
.chatbox-inputfile:focus + label {
    outline: none;
}


#chatbox-previewer{
    overflow:hidden;
    width: 100%;
    position: absolute;
    height: calc(100%);
    z-index: -1;
}

#chatbox-previewer.active{
    z-index: 2;
    background: #f5f8fa;
}
#chatbox-image-previewer{
    height: 100%;
    width: 100%;
    transition: transform 0.2s;
    -webkit-transform: translateY(100%);
    -moz-transform: translateY(100%);
    -ms-transform: translateY(100%);
    -o-transform: translateY(100%);
    transform: translateY(100%);
}
#chatbox-previewer.active #chatbox-image-previewer{
    -webkit-transform: translateY(0%);
    -moz-transform: translateY(0%);
    -ms-transform: translateY(0%);
    -o-transform: translateY(0%);
    transform: translateY(0%);
}

#chatbox-image-previewer-top
{
    height: 60px;
    padding: 10px;
    background: #5884dc;
    line-height: 40px !important;
    color: white;
    font-weight: 400;
}

.chatbox-image-previewer-body{
    height: calc(100% - 160px);
    padding:20px;
}

.chatbox-image-previewer-body > img {
    max-width: 100%;
    max-height: 100%;
    position: relative;
}
.chatbox-body-discussion-messages > div > span a > img {
    max-width: 100%;
}

.chatbox-body-discussion-sticker > span
{
    background: rgba(225, 245, 254, 0.92);
    padding: 6px;
    border-radius: 10px;
    border: 1px #eee solid;
}
.chatbox-body-discussion-sticker {
    text-align: center;
    padding: 30px;
}

.right:hover > div:nth-child(2):before {
    content: "";
    position: absolute;
    width: 130px;
    height: 47px;
    top: -22px;
    z-index: 1;
    background: rgba(38,38,38,0.1);
    -webkit-transform: rotate(20deg);
    transform: rotate(20deg);
    right: -13px;
}

.chatbox-body-discussion-messages-more
{
    float: right;
    width: 10px;
    height: 10px;
    right: 10px;
    cursor: pointer;
    top: 10px;
    position: absolute;
    display:none;
    font-size: 18px;
    line-height: 18px;
    z-index: 2;
}

.chatbox-body-discussion-messages > div:hover > .chatbox-body-discussion-messages-top  > .chatbox-body-discussion-messages-more
{
    display:block;
}

.chatbox-user-info-top,
.chatbox-result-info-top{
    -webkit-align-items: center;
    align-items: center;
    line-height: normal;
    display: -webkit-flex;
    display: flex;
}
.bold{
    font-weight: bold;
}
.chatbox-user-info-username,
.chatbox-result-info-username{
    color: #4b4b4b;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-grow: 1;
    flex-grow: 1;
    line-height: 21px;
    overflow: hidden;
}

.chatbox-user-info-username > span,
.chatbox-result-info-username > span{
    -webkit-flex-grow: 1;
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chatbox-user-info-last-message-date,
.chatbox-result-info-last-message-date{
    color: rgba(0, 0, 0, 0.4);
    -webkit-flex: none;
    flex: none;
    font-size: 12px;
    max-width: 100%;
    overflow: hidden;
    line-height: 14px;
    margin-left: 6px;
    margin-top: 4px;
}

.chatbox-user-info-last-message,
.chatbox-result-info-last-message{
    -webkit-align-items: center;
    align-items: center;
    color: rgba(0, 0, 0, 0.6);
    display: -webkit-flex;
    display: flex;
    font-size: 13px;
    line-height: 19px;
    min-height: 20px;
}
.chatbox-user-info-last-message > div,
.chatbox-result-info-last-message > div{
    -webkit-flex-grow: 1;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: normal;
    font-size: 14px;
    line-height: 20px;
    display:flex;
}

.chatbox-user-info-last-message > div > span,
.chatbox-result-info-last-message > div > span{
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
}
.chatbox-user-info-last-message > div > span > div,
.chatbox-result-info-last-message > div > span > div {
    -webkit-flex: none;
    flex: none;
    display: inline-block;
    vertical-align: top;
}

.chatbox-user-info-last-message > div > span > .preview,
.chatbox-result-info-last-message > div > span > .preview{
    -webkit-flex-grow: 1;
    flex-grow: 1;
    color:#55636B;
    overflow: hidden;
    position: relative;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    max-height: 20px;
    font-size: 12px;
}

.chatbox-user-info-last-message > div > span > .preview.typing{
    color:green;
    font-style: italic;
}
svg {
    display: block;
    pointer-events: none;
}

#loadMore{
    text-align: center;
    padding:20px;
}

#loadMore > i{
    margin-bottom: 16px;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s;
}
#loadMore > i:hover{
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.withImage{
    cursor:pointer;
    width: 365px;
    max-width: 100%;
}
.withImage > img{
    width: 100%;
    cursor:pointer;
}

.progressive{position:relative;display:block;overflow:hidden;outline:none;}
.progressive img{width:100%;max-width:none;height:auto;border:0 none;padding: 10px;}
/*.progressive img.preview{filter:blur(2vw);transform:scale(1.05)}*/
.progressive img.reveal{position:absolute;left:0;will-change:transform,opacity;animation:progressiveReveal 1s ease-out}
@keyframes progressiveReveal{0%{transform:scale(1);opacity:0}100%{transform:scale(1);opacity:1}}

.status-check > svg {
    display: inline;
    margin-bottom: -4px;
}
span.status-check:before {
    content: " ";
}

#chatbox-image-full-width
{
    opacity: 0;
    position: absolute;
    width: 150%;
    left: -50%;
    height: calc(100% - 50px);
    top: 50px;
    background: rgba(255,255,255,0.8);
    z-index: -1;
    padding: 30% 10px 10px 10px;
    -webkit-transition: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    -ms-transition: opacity 0.2s;
    -o-transition: opacity 0.2s;
    transition: opacity 0.2s;
}

#chatbox-image-full-width.active{
    opacity: 1;
    z-index: 3;
}
/* magnifying glass icon */
.zoom:after {
    content:'';
    display:block;
    width:33px;
    height:33px;
    position:absolute;
    top:0;
    right:0;
    background:url(../images/icon.png);
}
.zoom{
    position: relative;
    overflow: hidden;
    display: block;
    cursor:zoom-in;
}
.zoom img {
    max-width: 750px;
    display: block;
}
img.zoomImg{
    cursor:zoom-out;
}
.zoom{

}
.zoom img::selection { background-color: transparent; }

.loading-spinner {
    animation: rotate 2.625s linear infinite;
    height: 48px;
    transform-origin: center;
    width: 48px;
    position: absolute;
    left: calc(50% - 30px);
    top: 25%;
    z-index: 1;
}


.loading-spinner .path {
    animation: dash 1.5s ease-in-out infinite, ease-in-out 0.75s infinite;
    stroke: #fff;
    stroke-linecap: round;
}

@-webkit-keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}
@-moz-keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}
@-o-keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}
@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}
@-webkit-keyframes dash {
    0% {
        stroke-dasharray: 0, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 100, 150;
        stroke-dashoffset: -24;
    }
    100% {
        stroke-dasharray: 0, 150;
        stroke-dashoffset: -124;
    }
}
@-moz-keyframes dash {
    0% {
        stroke-dasharray: 0, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 100, 150;
        stroke-dashoffset: -24;
    }
    100% {
        stroke-dasharray: 0, 150;
        stroke-dashoffset: -124;
    }
}
@-o-keyframes dash {
    0% {
        stroke-dasharray: 0, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 100, 150;
        stroke-dashoffset: -24;
    }
    100% {
        stroke-dasharray: 0, 150;
        stroke-dashoffset: -124;
    }
}
@keyframes dash {
    0% {
        stroke-dasharray: 0, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 100, 150;
        stroke-dashoffset: -24;
    }
    100% {
        stroke-dasharray: 0, 150;
        stroke-dashoffset: -124;
    }
}


/**
SIDEBAR
 */

.sidebar {

    height: calc(100% - 61px);
    position: fixed;
    color:white;
    top: 61px;
    left: 0;
    width: 300px;

}

.sidebar-top {
    padding:15px;
}
.wrapper{
    background: linear-gradient( rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45) ), url(../images/mountains.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    display: flex;
    align-items: stretch;
}
.dashboard-content
{
    padding-left: 300px;
    height:100%;
}

.dashboard-inner{
    height: calc(100% - 54px);
    margin-top: 1.5rem !important;
}

#tabs{
    height: 30px;
    z-index:1;
    margin: -30px;
    background: #fff;
    position: fixed;
    width: 100%;
    border: 1px #ccc solid;
    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,.10);

    box-shadow: 0 0 10px 0 rgba(0,0,0,.10);
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
.wrapper {
    display: flex;
    align-items: stretch;
}

#sidebar {
    color: #fff;
    transition: all 0.3s;
}

#sidebar.active {
    min-width: 80px;
    text-align: center;
}

#sidebar.active .sidebar-header h5, #sidebar.active .CTAs {
    display: none;
}

#sidebar.active .sidebar-header strong {
    display: block;
}

#sidebar ul li a {
    text-align: left;
}

#sidebar.active ul li a {
    padding: 20px 10px;
    text-align: center;
    font-size: 0.7em;
}

#sidebar.active ul li a i {
    margin-right:  0;
    display: block;
    font-size: 1.8em;
    margin-bottom: 5px;
}

#sidebar.active ul ul a {
    padding: 10px !important;
}

#sidebar.active a[aria-expanded="false"]::before, #sidebar.active a[aria-expanded="true"]::before {
    top: auto;
    bottom: 5px;
    right: 50%;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
}

#sidebar .sidebar-header {
    padding: 20px 20px 0;
    height: 95px;
}

#sidebar .sidebar-header strong {
    display: none;
    font-size: 1.8em;
}

#sidebar .sidebar-links{
    height: calc(100% - 145px);
    overflow: auto;
}

#sidebar .sidebar-bottom{
    border-top: 1px solid #47748b;
    height: 50px;
    color:white;
    cursor: pointer;
    padding:10px;
    text-align:center;

}
#sidebar ul li a{
    color:white;
}
#sidebar ul li a {
    padding: 10px;
    display: block;
}
#sidebar ul li a:hover {
    background: #003862;
}
#sidebar ul li a i {
    margin-right: 10px;
}

#sidebar ul li.active > a, a[aria-expanded="true"] {
    color: #fff;
    background: #00508D;
}

#sidebar ul li a:focus, #sidebar ul li a:hover {

    text-decoration: none;

}
a[data-toggle="collapse"] {
    position: relative;
}

.list-unstyled a[aria-expanded="false"]::before, .list-unstyled a[aria-expanded="true"]::before {
    content: '\f0d7';
    display: block;
    font-weight:900;
    position: absolute;
    right: 20px;
    font-family: 'Font Awesome 5 Free';
    font-size: 1em;
}
.list-unstyled a[aria-expanded="true"]::before {
    content : '\f0d8';
}


ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: rgba(0,0,0,0.5);
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: #fff;
}

a.article, a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}



/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
#content {
    padding: 30px;
    width: 100%;
    height: 100%;
    background: #e8e8e8;
    overflow:auto;
    transition: all 0.3s;
    position: relative;
}

.content-inner{
    height: 100%;
    position: relative;
    padding: 30px 0;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (min-width: 768px) {
    .ol-overlay-container{
        width:210px;
    }
    .content-inner > div {
        height: 100%;
    }
    #sidebar {
        min-width: 250px;
        max-width: 250px;
    }
    #sidebar.active{
        max-width: 80px;
    }
    }
@media (max-width: 767px) {
    .ol-overlay-container{
        width:175px;
    }
    body{
        font-size: 12px;
    }
    #content{
        padding:0;
    }
    #tabs{
        margin: 0;
    }
    #sidebar {
        min-width: 80px;
        text-align: center;
        position: absolute;
        width: 100%;
        z-index: 2;
        background: inherit;
        height: 100%;
        top: 0;
        -webkit-transform: translateX(-100%);
        -moz-transform: translateX(-100%);
        -ms-transform: translateX(-100%);
        -o-transform: translateX(-100%);
        transform: translateX(-100%);
        transition:all 0.2s;
    }
    a[aria-expanded="false"]::before, a[aria-expanded="true"]::before {
        top: auto;
        bottom: 5px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
    }
    #sidebar.active {
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0);
    }

    #sidebar .sidebar-header h5, #sidebar .CTAs {
        display: none;
    }

    #sidebar .sidebar-header strong {
        display: block;
    }

    #sidebar ul li a {
        padding: 20px 10px;
    }

    #sidebar ul li a span {
        font-size: 0.85em;
    }
    #sidebar ul li a i {
        margin-right:  0;
        display: block;
    }

    #sidebar ul ul a {
        padding: 10px !important;
    }

    #sidebar ul li a i {
        font-size: 1.3em;
    }
    #sidebar {
        margin-left: 0;
    }
    #sidebarCollapse span {
        display: none;
    }
}

.table-responsive > table > tbody{
    position:relative;
}

.loading .table-responsive > table > tbody:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
}

.loading .table-responsive > table > tbody::after {
    content: "\f110";
    position: absolute;
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    top: 10%;
    animation: a 2s infinite linear;
    left: 50%;
    font-size: 35px;
    color:#00508D;
}

.updating{
    position: relative;
}
.updating td:first-child::before {
    content: " Loading";
    position: absolute;
    background: white;
    z-index: 2;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    line-height: 40px;
}

.updating::after {
    content: '\f110';
    position: absolute;
    z-index: 2;
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    animation: a 2s infinite linear;
    line-height: 40px;
    left: 60px;
    font-size: 15px;
}

.flip-list-move {
    transition: transform 0.25s !important;
}




/**
MAP
 */

.btn-primary.disabled, .btn-primary:disabled{
    background-color: #ccc;

    border-color: #ccc;
    cursor: not-allowed;
}
.page-enter-active, .page-leave-active {
    transition: opacity 0.2s, transform 0.5s;
}
.page-enter, .page-leave-to {
    opacity: 0;
    transform: translateX(-30%);
}


/**
Admin
 */

.content-inner > div > .box{
    height: 100%;
    overflow:auto;
}

div[class~="VueTables__search"] {
    /*flex-direction: row-reverse;*/
}
div[class~="VueTables__search"] > * {
    margin-right: 5px;
}
label[for^="VueTables__search"] {
    display: none;
}
input[id^="VueTables__search"] {
    border-radius: 30px;
}
.VueTables__search-field
{
    position: absolute;
    right: 0;
}

.history > div{
    background: url(../images/simple.png) repeat-y;
    background-position-x: center;
}
.history > div:before {
    content: '';
    width: 100%;
    position: absolute;
    top: 0;
    height: 15px;
    background: url(../images/arrow.png) no-repeat;
    background-position-x: center;

}


.row-selectable{
    cursor:pointer;
}

.row-selectable:hover{
    background:#b2cadc !important;
}



.VueTables{
    height: 100%;
}
.VueTables > .row{
    height:90px;
}
.VueTables .table-content{
    height:calc(100% - 110px);
    overflow: auto;
}

.VuePagination__pagination{
    position: fixed;
    bottom: 50px;
    margin-left: -15px;
}
.VuePagination__count{
    /*position: fixed;
    bottom: 61px;
    right: 30px;*/
    display: none;
}

.content-loading::after {

    border-radius: 50%;
    border: 10px solid #f3f3f3;
    border-top-color: #3498db;
    width: 40px;
    height: 40px;
    -webkit-animation: spin 1.5s linear infinite;
    animation: spin 1.5s linear infinite;
    bottom: 50%;
    position: absolute;
    left: calc(50% - 20px);
    content: '';
}
.content-loading::before {
    background: #fff;
    position: absolute;
    height: 100%;
    width: 100%;
    content: '';
}

.history-content-top {
    padding: 5px;
    background: #4caf50;
    font-weight: 400;
    color: #4e555b;
}
.history-content {
    background: #fff;
    border: 1px #ddd solid;
    border-radius: 5px;
    padding: 0;
    cursor: pointer;
    width: 100%;
}
.history-separator {
    width: 10px;
    top: 50%;
    margin: 0;
    position: absolute;
}
.history-content-right .history-content {
    transform: translateX(10px);
}
.history-content-left {
    width: 50%;
    display: flex;
    padding: 10px;
    position: relative;
}
.history-content-right {
    width: 50%;
    display: flex;
    padding: 10px;
    position: relative;
}

.history-content-left .history-separator {
    right: 0;
}

.history-parameter {
    width: calc(100% / 3);
    text-align: center;
    font-size: 20px;
    color: #555;
    padding: 5px;
    border-radius: 30px;
}

.history-parameter-0 {
    /* background-color: #8bc34a; */
    background-color: #ffffcc;
}

.history-parameter-1 {
    /* background-color: #ffeb3b; */
    background-color: #ffcc99;
}

.history-parameter-2 {
    /* background-color: #ff9800; */
    background-color: #cd853f;
    color: white;
}

.history-parameter-3 {
    /* background-color: #f44336; */
    background-color: #8b4513;
    color: white;
}

.history-parameter-4 svg{
    width: 40px;
    height: 36px;
    margin: auto;
    -moz-transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    -ms-transform: scale(-1, 1);
    transform: scale(-1, 1);
}
.history-parameter-4 {
    width:100%;
    background-color: #607d8b;
}
.table-bordered th, .table-bordered td{
    position:relative;
}
.VueTables__limit{
    display:none;
}
.before-filter > * {
     width: auto !important;
 }
button#btn-send:hover {
    transform: scale(1.5);
    background: rgba(0,0,0, 0.15);
}

.xd-spinner-container {
  z-index: 1;
    /* display: flex; */
    /* flex-flow: wrap; */
    /* align-items: center; */
    /* text-align: center; */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(38,38,38, 0.15);
}

.xd-spinner {
    z-index: 3;
    width: 60px;
    height: 60px;
    margin: 25% calc(50% - 30px);
    -webkit-animation: xd-spin 0.8s linear infinite;
    animation: xd-spin 0.8s linear infinite;
}

.xd-spinner .path {
  stroke: #fff;
  stroke-linecap: butt;
  -webkit-animation: slack 1.4s ease-in-out infinite;
          animation: slack 1.4s ease-in-out infinite;
}

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

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

@-webkit-keyframes slack { 0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  } 50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  } 100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}

@keyframes slack { 0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  } 50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  } 100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}
