/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
/*                               Custom Style Sheet                          */
/*                                                                           */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/


a { 
    cursor: pointer;
    font-size: 1em;
}

a:not([href]):not([tabindex]) {
    color: #ffffff;
}

.backToTop{
    padding-left: 15px; 
    padding-bottom: 10px;  
}

.bookmark{
    font-size: 1em;
    font-weight: 400; 
}

.card-title {
    font-size: 1.2em;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.734);
}

.navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover {
    color: rgb(255, 255, 255);
}

.main-title {
    font-size: 1.8em;
    }

@media only screen and (max-width: 768px){
        .main-title {
            font-size: 1.6em;
        }
    }


@media only screen and (max-width: 768px){
        .card-title {
            font-size: 1em;
        }
    }

.card-body {
    font-family: 1em;
}

.dropdown-menu {
    background-color:#3393ff;
}

.dropdown-item {
    color: #ffffff;
    background-color: #3393ff;
}

.dropdown-item:hover {
    color: #ffffff;
    background-color: #4133ff58;
}

.paragraph-link { 
    cursor: pointer;
    font-size: 1em;
}

.reset {
    padding-left: 20px;
}

select, button {

    margin-left:5px;
    background-color: beige;
    border-color: #185ddd9d;
}

.main-title {
    font-size: 2em;
}

.title {
    font-size: 1.8em;
}

@media only screen and (max-width: 768px){
    .main-title {
        font-size: 2em;
    }    
    .title {
        font-size: 1em;
    }
}


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
/*                                 Modal Styles                              */
/*                                                                           */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/


.close:focus {
    color: #fff;
}

.modal-header, .close {
    background-color: #3393ff;
    color: white;
}

.close:hover {
    color: #fff;
}

.close:not(:disabled):not(.disabled):hover {
    color: #fff;
}

.modal-link {
    font-size: 1em;
    font-weight: 400;
}

.modal-text {
    font-size: 1em;
    font-weight: 200;
    margin-right: 20px;
    margin-left: 35px;
    padding:10px;
}

@media only screen and (max-width: 415px){
    .modal-content{
        width:95vw;
    }
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
/*                              Chart Styles                                 */
/*                                                                           */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

button#submit {
    margin-top: 0.5em;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
  }

.dc-chart g.axis text span::before {
    content: "\A";
    white-space: pre;
}

div.dc-chart {
    float: left;
}

@media only screen and (max-width: 761px){
    div.dc-chart,
    .svg {
        overflow-x: visible;
        display: block;
        margin: auto;
          
    }
}

.dc-chart .pie-slice {
    fill: #0a0a0a;
    font-size: 0.6em;
    cursor: pointer;
}

#composite-chart dc-chart, 
#composite-chart g.axis.x text {  
    transform: rotate(20deg); /* x axis label text too long. Add rotation */
    -webkit-transform: rotate(20deg);
    -moz-transform: rotate(20deg);
    -ms-transform: rotate(20deg);
}

.list-box {
    margin-right: 75px;
}


#map {
    min-height: 20em;
    max-width: 600px;
    
}

@media only screen and (max-width: 415px){
    .number-box
    .fas {
    font-size: 1.2em;
    font-weight: 500;
    }
}

@media only screen and (max-width: 769px){
    #service_type_selector, #facility_name_selector {
        display: block;
        float: none;
        margin: 0;
        padding-bottom: 1em;
        text-align: center;
        line-height: 2rem;
        padding: 0;
    }
    
}

@media only screen and (max-width: 769px){
    .section {
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 1em;
    }
}

.number-box {
    margin-left: 10px;
}

.number-box,
.fas :not(p) {
    font-size: 1.5em;
    font-weight: 500;
}

@media only screen and (max-width: 769px){
select, button {
    font-size: 1em;
    }
}

#service_type_selector, #facility_name_selector {
    display: block;
    float: none;
    margin: 0;
    padding-bottom: 1em;
}

.table {
    overflow-x:auto
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
/*                    Config x axis labels on small screen                   */
/*                                                                           */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/


@media only screen and (max-width: 1170px){
#ave_waiting_times dc-chart, 
#ave_waiting_times g.axis.x text {  
    transform: rotate(8deg); /* x axis label text too long. Add rotation */
    -webkit-transform: rotate(8deg);
    -moz-transform: rotate(8deg);
    -ms-transform: rotate(8deg);
    -o-transform: rotate(8deg);
    }
}

@media only screen and (max-width: 1170px){
#staff_numbers dc-chart, 
#staff_numbers g.axis.x text {  
    transform: rotate(8deg); /* x axis label text too long. Add rotation */
    -webkit-transform: rotate(8deg);
    -moz-transform: rotate(8deg);
    -ms-transform: rotate(8deg);
    -o-transform: rotate(8deg);
    }
}


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
/*                              table_data styles                            */
/*                                                                           */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/


.dc-table-column {     
    font-size: 0.7em; 
    font-weight: 500; 
    padding: 2px;
    line-height: 15px;
    text-align: left;
    vertical-align: top;
    border-top: 1px solid #ddd;
}

#table_data th, #table_data td {
    text-align: left;
    padding: 12px;
  }
  
#table_data tr {
    border-bottom: 1px solid #ddd; 
  }

  #table_data tr:nth-child(even){
      background-color: #f2f2f2;
  }

#table_data tr.header, #table_data tr:hover {
    background-color: #fad0bb;
  }

th { 
    margin-left: 0px;
    margin-top: 10px;
    padding: 8px; 
    text-align: left;
    vertical-align: top;
    font-size: 0.7em; 
    font-weight: bold; 
    color: white;
    background-color: #EB773D;
}

