﻿/*Font Rule*/

body {
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
}

.driver-status-notification {
    font-size: 20px;
}

/**spinner */
@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
} 

/*Canvas Rule*/
/*Canvas container Width and Height and canvas Width and Height must be the same*/
.signature-pad {
    position: relative;
    width: 310px;
    height: 200px;
    border: 1px solid #000;
}

.signature-background-pad {
    position: relative;
    border: 1px solid #000;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.damage-canvas,
.driver-canvas,
.customer-canvas,
.document-canvas {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

/*.background-canvas-image {
    position: absolute;
    left: 0;
    right: 0;
}*/

/*.customer-canvas {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}*/

.disable-canvas {
    pointer-events: none;
}

/*NAVBAR RULE*/
.nav-logo {
    /*width: 150px;
    height: 50px;*/
    /*width: 245px;*/
    height: 50px;
    padding: 8px;
}

.bg-nav-custom {
    /*background-color: #eff1fc; old UGO Brand color*/
    /*background-color: #418bc4;*/
    /*background-color: #7099ba;*/ /*il migliore con scritte scure*/
    background-color: #153144;
}

.nav-link {
    /*color: #000 !important;*/    /*old UGO Brand color*/
    color: #FFFFFF !important;
}

.nav-style {
    border-bottom: 1px solid #ccc;
}

/*** TABLE RULE ***/
.small-booking-action {
    min-width: 215px !important;
}

.medium-booking-action {
    min-width: 270px !important;
}

.partner-history-table .small-user-action {
    min-width : 200px !important;
}

.small-user-action {
    min-width: 150px !important;
}

.report-action {
    min-width: 345px !important;
}

.report-image {
    max-width: 120px;
    max-height: 120px;
}

.quad {
    background-color: #eaf1fa !important;
}

.twice {
    background-color: #ced6e8 !important;
}

.small-id-action {
    min-width: 160px !important;
}

.bootstrap-table .table th.creation-date-col, 
.bootstrap-table .table td.creation-date-col {
    max-width: 0px;
    padding: 0;
    font-size: 0px;
}

    .bootstrap-table .table th.creation-date-col div.th-inner {
        padding: 0;
    }

/*Report Form*/
#reportForm .custom-file-input ~ .custom-file-label::after {
    content: "Scegli file";
}

#reportForm .custom-file-label {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    padding-right: 94px;
}

/*Loader*/
.lds-dual-ring {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border-radius: 50%;
    border: 1px solid #153144;
    border-color: #153144 transparent #153144 transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*PARTNER\DRIVER EDIT RULE*/
.driver-image {
    width: 256px;
    height: 256px;
}

.partner-image {
    max-width: 500px;
    max-height: 250px;
}

/*CHECKBOX RULE*/
input[type=checkbox] {
    width: 20px;
    height: 20px;
}

.form-check-label {
    margin-left: 10px;
}

.upload-img img {
    max-width: 200px;
}
/*Media Query*/
/* 
  ##Device = Desktops
  ##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
}

/* 
  ##Device = Laptops, Desktops
  ##Screen = B/w 1025px to 1280px
*/

@media (min-width: 1025px) and (max-width: 1280px) {

}

/* 
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) {
    body {
        font-size: 14px;
    }
}

/* 
  ##Device = Tablets, Ipads (landscape)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {

}

/* 
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/

@media (min-width: 481px) and (max-width: 767px) {
    body {
        font-size: 14px;
    }
}

/* 
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media (min-width: 320px) and (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .signature-pad {
        width: 280px;
    }
}