/* COLOR */
/* LIGHT: #92cfeb */
/* MIDDLE: #5781a9 */
/* DARK: #2e3b5e */

html {
    font-size: 16px;
    position: relative;
    min-height: 100%;
}

 
.center-position {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%,-50%);
}

/**************/
/* NAVIGATION */
/**************/

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

#navbar-color a:hover {
    color: #eee;
}

#header-bg {
    background: linear-gradient(180deg, rgba(2, 62, 125,0.7) 0%, rgba(2, 62, 125,0.5) 50%, rgba(2, 62, 125,.3) 100%);
}

#logo {
    width: 250px;
}
.custom-file-label,
.custom-file-label::after {
    height: initial;
}
/*****************/
/* ALERT Message */
/*****************/
.alert-custom {
    background-color: rgba(240,240,240,.1);
    color: #00266C;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .2);
}



/*********/
/* VIDEO */
/*********/

.back-video-content {
    position: relative;
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.filter-video {
    background: linear-gradient(180deg, rgba(2, 62, 125,0.1) 0%, rgba(2, 62, 125,0.5) 50%, rgba(2, 62, 125,.7) 100%);
}

#filter-position {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 10;
}


/*****************/
/* VIDEO BUTTONS */
/*****************/

.btn-home-page:active,
.btn-home-page:link,
.btn-home-page:visited {
    font-size:0.8rem;
    margin-top: 3rem;
    border: 0 solid;
    box-shadow: inset 0 0 20px rgba(225, 225, 225, 0);
    outline: 2px solid;
    outline-color: rgba(255, 255, 255, .5);
    outline-offset: 0px;
    text-shadow: none;
    transition: all 0.5s cubic-bezier(1, 1, 1, 1);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.btn-home-page:hover {
    box-shadow: inset 0 0 20px rgba(225, 225, 225, 0);
    border: 1px solid white;
    outline-color: rgba(255, 255, 255, 0);
    outline-offset: 20px;
    color: white;
}


/*****************/
/* VIDEO HEADINGS */
/*****************/

.heading {
    text-align: center;
    z-index: 3;
}

#heading-first {
    width: 100%;
    margin-top: 5rem;
    font-weight: 400;
    animation-name: moveInLeft;
    animation-duration: 3s;
    color: white;
}

#heading-second {
    width: 100%;
    color: white;
    font-weight: 100;
    padding-top: 20px;
}

#heading-second {
    animation: moveInRight 3s;
}


@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
    }
}

@keyframes moveInLeft {
    0% {
        opacity: 0;
        transform: translateX(-10rem);
    }

    80% {
        transform: translateX(2rem);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes moveInRight {
    0% {
        opacity: 0;
        transform: translateX(10rem);
    }

    80% {
        transform: translateX(-2rem);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


/**********************/
/* BUTTONS AND COLORS */
/**********************/
.roman-silver {
    color: #979DAC;
}

.black-coral {
    color: #5C677D;
}

.oxfoard-blue {
    color: #001233;
}

.royal-blue {
    color: #023E7D;
}

.true-blue {
    color: #0466C8;
}

.general-text-color {
    color: #00266C !important;
}


.btn-roman-silver {
    color: #fff;
    background-color: #979DAC;
    border-color: #6b7386;
}

.btn-black-coral {
    color: #fff;
    background-color: #5C677D;
    border-color: #464e5f;
}

.btn-oxfoard-blue {
    color: #fff;
    background-color: #001233;
    border-color: #000d26;
}

.btn-royal-blue {
    color: #fff !important;
    background-color: #023E7D !important;
    border-color: #012e5e !important;
}

.btn-true-blue {
    color: #fff;
    background-color: #0466C8;
    border-color: #034c96;
}

.btn-royal-blue:hover {
    color: #aaa;
    background-color: #023E7D;
    border-color: #012e5e;
}

.btn-true-blue {
    color: #fff;
    background-color: #0466C8;
    border-color: #034c96;
}
.btn-blue-ai {
    color: #fff;
    background-color: rgba(2, 62, 125,0.5);
    border-color: #034c96;
}
.btn-red-ai {
    color: #fff;
    background-color: #f59898;
    border-color: #fb3a3a;
}

.btn-general {
    color: white !important;
    background: linear-gradient(180deg, rgba(2, 62, 125,0.7) 0%, rgba(2, 62, 125,0.5) 50%, rgba(2, 62, 125,.3) 100%) !important;
}
/********************/
/* DATATABLE COLORS */
/********************/
.page-item.active a.page-link {
    border: 1px solid #dee2e6;
    background-color: #979DAC;
}

a.page-link {
    color: #00266C;
}

.btn-custom-success-light {
    color: rgba(255,255,255,.8);
    background-color: #41d262;
}

.btn-custom-success-dark {
    color: rgba(255,255,255,.8) !important;
    background-color: #2fc250 !important;
}

.btn-custom-danger {
    color: rgba(255,255,255,.8);
    background-color: #e66f7a;
}

.btn-custom-info {
    color: rgba(255,255,255,.8);
    background-color: #f9b1c3;
}

.btn:hover {
    color: rgba(255,255,255,.8);
}

/*Table-striped overrided*/
.table-striped > tbody > tr:nth-child(odd) > td,
.table-striped > tbody > tr:nth-child(odd) > th {
    background-color:   rgb(252,252,252);

}

/* .table-bordered
{
    color: rgb(254,254,254);
}
 #inspection-data-table_length
{
    float: left;
}
 #inspection-data-table_filter
{
    float: right;
}
#inspection-data-table
 {
    margin: 10px 0px;
}
 */
 div.dt-buttons {
    width: 100%;
    margin-bottom: 10px;
}

div.dt-buttons > a.btn {
    flex: none
}


.dt-buttons > a.btn-secondary {
    color: #00266C;
    border-color: #ced4da;
    background-color: transparent;
}

.dropdown-item.active {
    color: #495057;
    border-color: #ced4da;
    background-color: #eee;
}

.dropdown-item:focus, .dropdown-item:hover {
    color: white !important;
    background-color: rgba(2, 62, 125,0.7);
}

.dropdown-toggle:focus {
    box-shadow: none;
}
 */
/* div.dataTables_wrapper div.dataTables_info {
    float: left;
} */

/* .page-item.active a.page-link {
    border: 1px solid #dee2e6;
    background-color: #979DAC;
} */

a.page-link {
    color: #00266C;
}

/* table.table td {
    vertical-align:middle;
    padding:5px 10px;
}  */
 
/**********/
/* FOOTER */
/**********/

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}

#footer-bg {
    background: rgba(235, 235, 235, 0.3);
    border-top: 3px solid rgba(225,225,225,.1);
    border-style: inset;
    border-left: none;
    border-right: none;
    color: #0466C8;
}

/****************/
/* CARDS CUSTOM */
/****************/

.custom-card {
    width: 100%;
    background: rgba(235, 235, 235, 0.3);
     border: none;
    border-style: inset;
    border: 3px solid rgba(225,225,225,.3);
    border-right: none;
    border-left: none;
}

.custom-card h6 {
    color: #0466C8;
    font-size: 13px;
}

.custom-card p {
    font-size: 13px;
}


/**********/
/* CARDS  */
/**********/
.project-master-card {
    width: 100%;
    margin:auto;
    color: #00266C;
    background: rgba(192, 203, 225,0.1);
    border: 1px solid rgba(0, 18, 51,0.1);
    box-shadow: 1px 1px 50px 5px rgba(191,197,212,0.21);
}
.master-card {
    width: auto;
    color: #00266C;
    background: rgba(192, 203, 225,0.1);
    border: 1px solid rgba(0, 18, 51,0.1);
    box-shadow: 1px 1px 50px 5px rgba(191,197,212,0.21);
}

.master-card-border {
    border-bottom: 1px solid rgba(0, 18, 51,0.2);
}

.overview-card {
    background: rgba(92, 103, 125,0.1);
    border: 1px solid rgba(255,255,255,.4);
}
/*******************/
/* CONTAINER PHOTO */
/*******************/

.img-container {
    overflow: hidden;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    height: 600px;
    width: 600px;
    line-height: 300px;
    outline: 1px solid #e1e1e1;
}

/*****************/
/* MEDIA QUERIES */
/*****************/

@media (max-width: 1350px) {
    html {
        font-size: 16px;
    }
    .img-container {
        height: 600px;
        width: 600px;
    }
}

@media (max-width: 1150px) {
    html {
        font-size: 15px;
    }
    .img-container {
        height: 600px;
        width: 600px;
    }
    #heading-first {
        font-size: 2.1rem;
    }

    #heading-second {
        font-size: 1.1rem;
    }

}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    #logo {
        width: 200px;
    }

    .img-container {
        height: 450px;
        width: 450px;
    }
    .custom-card h6 {
        text-align: center !important;
    }

    .custom-card p {
        text-align: center !important;
    }
}


@media (max-width: 667px) {
    html {
        font-size: 13px;
    }
    .back-video-content {
        height: 400px;
    }

    #logo {
        width: 190px;
    }
    .status-heading {
        font-weight: 300;
        font-size: 14px;
    }
    .img-container {
        height: 300px;
        width: 300px;
    }
    #heading-first {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }

    #heading-second {
        padding: 0px 10px;
    }

    .custom-card h6 {
        text-align: center !important;
    }

    .custom-card p {
        text-align: center !important;
    }

}



.language a:link,
.language a:visited {
    text-decoration: none;
    color: #333;
    font-style: italic;
}

.language a:hover {
    font-style: normal;
}
.language a:active {
    color: white;
}
.slim {
    font-weight: 400;
}


#pointSign {
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 5px;
    background: red;
    border-radius: 50%;
    color: tomato;
    z-index: -1;
}

#arrowSign {
    position: absolute;
    width: 0;
    height: 0;
    top: 50%;
    left: 50%;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 15px solid red;
    z-index: -1;
}

.status-heading {
    font-weight: 400;
}

#image-output,
.center-position {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.network-status-on {
    display:none;
    color:green;
    border-radius: 50%;
    animation: blinker 1s linear infinite;
}

.network-status-off {
    display:none;
    color:red;
    border-radius: 50%;
    animation: blinker 1s linear infinite;
}



.project-version {
    color: #0466C8;
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

/***************************/
/* LOADER WAIT FOR RESPONSE*/
/***************************/
#loader {
    border: 5px solid #a3a3a3;
    border-radius: 50%;
    border-top: 5px solid rgb(4, 85, 155);
    width: 100px;
    height: 100px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;

}
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/********************/
/* LOADING DIV AJAX CALL - DATA PAGE*/
/********************/
#wait-to-load{
    display: none;
    z-index: 2000;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    box-sizing: border-box;
    margin-top: 3rem;
}


.circle-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

#wait-to-load-1{
    display: none;
    z-index: 2000;
    width: 100% ;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    box-sizing: border-box;
    background-color: rgba(2, 62, 125,0.5);
    
}

.load-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.circle-load {
    border: 3px solid #f3f3f3; /* Light grey */
    border-top: 3px solid rgba(161,169,210, 0.6); /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*******************************/
/* SELECT ERRORCOLLECTION PAGE */
/*******************************/
.spinner-blocks {
    margin: 100px auto;
    width: 50px;
    height: 30px;
    text-align: center;
    font-size: 10px;
    
  }
  
  .spinner-blocks > div {
    background-color: #333;
    height: 100%;
    width: 6px;
    display: inline-block;
    
    -webkit-animation: stretchdelay 1.2s infinite ease-in-out, colors 1.2s ease-in-out infinite;
    animation: stretchdelay 1.2s infinite ease-in-out, colors 1.2s ease-in-out infinite;
  }
  
  .spinner-blocks .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
  }
  
  .spinner-blocks .rect3 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
  }
  
  .spinner-blocks .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
  }
  
  .spinner-blocks .rect5 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
  }
  
  @-webkit-keyframes stretchdelay {
    0%, 40%, 100% { -webkit-transform: scaleY(0.4) }  
    20% { -webkit-transform: scaleY(1.0) }
  }
  
  @keyframes stretchdelay {
    0%, 40%, 100% { 
      transform: scaleY(0.4);
      -webkit-transform: scaleY(0.4);
    }  20% { 
      transform: scaleY(1.0);
      -webkit-transform: scaleY(1.0);
    }
  }
  
  @keyframes colors {
    0% {
      background-color: #001f52;
    }
    25% {
      background-color: #003fa3;
    }
    50% {
      background-color: #135dff;
    }
    75% {
      background-color: #5477e7;
    }
    100% {
      background-color: #7eacf7;
    }
  }

/*******************************/
/* SELECT ERRORCOLLECTION PAGE */
/*******************************/
.bootstrap-select:not(.input-group-btn), .bootstrap-select[class*=col-] {
    display: block !important;
}

.custom-select-container .dropdown-menu,
.custom-select-container .dropdown-toggle {
    background-color: rgb(255,255,255);
    border-radius: 0;
    font-size: 14px;
    border: 1px solid rgba(0, 18, 51,0.2);
}

.custom-select-container .dropdown.form-control-sm {
    padding: 0;
}





/*********************/
/* ERROR COLLECTION  */
/*********************/

/* Comodity dropdown prelucare - eliminare optgroup si border*/

#first-commodity-col .dropdown-header {
    display: none;
}
#first-commodity-col .dropdown-divider {
    margin:0;
    border:none;
}

 



/*************/
/*INPUT FOCUS*/
/*************/

input[type="text"]:focus {
    outline: 1px solid #00266C;
}

input {
    border: 1px solid rgba(0, 18, 51,0.2);
}


/**************/
/*SELECTPICKER*/
/**************/
.bootstrap-select:not(.input-group-btn), .bootstrap-select[class*=col-] {
    display: block !important;
}

.custom-select-container .dropdown-menu,
.custom-select-container .dropdown-toggle {
    background-color: rgb(255,255,255);
    border-radius: 0;
    font-size: 14px;
    border: 1px solid rgba(0, 18, 51,0.2);
}

.custom-select-container .dropdown.form-control-sm {
    padding: 0;
}
