/* HACK FOR SIDE MENU BUTTON WIDTH */
.content-button-blue-no-border {
    width: 100% !important;
  }
.topics-links-container {
    padding: 10px 0 !important;
}
  
.portal-loader-wrapper,
.loader-wrapper {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    color: white;
}
.portal-loader-wrapper {
    position: fixed;
    background: rgba(0,0,0,0.9);
    z-index: 99;
}
.loader-wrapper {
    position: absolute;
    background: rgba(0,0,0,0.1);
}
.portal-loader,
.loader {
    border: 10px solid #f3f3f3;
    border-top: 10px solid #3498db;
    border-bottom: 10px solid #3498db;
    border-radius: 50%;
    width: 160px;
    height: 160px;
    margin: 0 auto;
    animation: spin 1s linear infinite;
} 
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.portal-loader-text,
.loader-text {
    margin-top: 20px;
    text-align: center;
}
.sub-table-loader-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0,0,0,0.1); */
    display: none;
}
.sub-table-loader {
    border: 12px solid #f3f3f3;
    border-top: 12px solid #3498db;
    border-bottom: 12px solid #3498db;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    margin: 0 auto;
    animation: spin 1s linear infinite;
}
td.childRow {
    position: relative;
}
/*** PIE CHARTS ***/
/******************/
.additional-main-stats {
    font-size: 0 !important;
    height: auto !important;
}
.additional-main-stats .main-stats-description {
    border-bottom: none;
    padding-left: 50px;
    padding-right: 50px;
}
.primary-main-stats {
    /* height: auto !important; */
}
.main-stats-container {
    /* height: 103% !important; */
}
.main-stats-wrapper {
    height: 100% !important;
}
.main-stats-description {
    vertical-align: top !important; 
    display: inline-block !important;
    float: none;
}
.main-stats-description-broj {
    height: 150px;
    float: left;
}
#pie1, #pie2, #pie3 {
    height: 70%; margin: 0 auto;
}

/*** CUSTOM LEGEND FOR PIE CHARTS ***/
/************************************/
.chart-size-legend li span,
.chart-business-legend li span,
.chart-ownership-legend li span {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 5px;
}
.chart-size-legend,
.chart-business-legend,
.chart-ownership-legend {
  overflow: auto;
}
.chart-size-legend ul,
.chart-business-legend ul,
.chart-ownership-legend ul {
    padding: 0;
}
.chart-size-legend li,
.chart-business-legend li,
.chart-ownership-legend li {
  cursor:pointer;
  display: inline;
  font-size: 11px;
  padding: 5px;
  margin-right: 5px;
}
.strike{
     text-decoration: line-through !important;
}
.float-left{
  float:left;
}

/*** LINE CHARTS ***/
/*******************/
.graph-stats-container {
    width: 100%;
    float: left;
}
.graph-stats-container-line-chart {
    padding-left: 15%;
    padding-right: 15%;
}
#graph-stats-graph-gospodarstvo1,
#graph-stats-graph-gospodarstvo2,
#graph-stats-graph-gospodarstvo3 {
    padding-bottom: 0 !important;
}

/*** SUMMARY TABLE ***/
/*********************/
#module-Summary table {
    width: 100%;
}
#module-Summary .inline2 {
    padding-left: 30px !important;
    color: #7d7dd2;
}
#module-Summary .inline3 {
    padding-left: 45px !important;
    color: #65a5ce;
}
#module-Summary .inline4 {
    padding-left: 60px !important;
    color: #71b3ad;
} 


/******* ANALYSIS MODULE ******/
/******************************/
.chartTypeChart {
    width: 50px;
    height: 50px;
    background: url('../../images/button_graph.png');
    background-size: 50px;
    float: left;
    cursor: pointer;
}
#tableChartTableAnalysis {
    border-bottom: none;
}
#tableChartTableAnalysis_wrapper {
    overflow: auto;
}
.chartTypeTable {
    width: 50px;
    height: 50px;
    background: url('../../images/button_table.png');
    background-size: 50px;
    float: right;
    cursor: pointer;
}
.chartTableSelected {
    background-position: bottom;
}
.ds-left .select2-container {
    width: 100% !important;
    box-shadow: none !important;
}
.select2-selection__choice:first-child {
    display: none;
}
#tableChartTable {
    width: 100% !important;
}

/*** SELECT2 GLOBAL SETTINGS ***/
/*******************************/
.select2-search input {
    padding: 0 !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-family: sans-serif !important;
    border: none !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #DDF9DF !important;
    border: 1px solid #A5E5A7 !important;
} 
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #DDF9DF !important;
    color: black !important;
}
.select2-container--default .select2-selection--single {
    border: 1px solid #D9D8E6 !important;
}
.select2-results {
    margin: 0 !important;
}
#gospodarstvo-selector-button {
    padding: 0 10px 0 8px !important;
}
.select2-results__option:hover {
    padding-left: 12px !important;
    transition: all 0.2s !important;
}

/*** DATATABLES ***/
/******************/
#tableChartTableAnalysis_filter {
    margin-bottom: 30px !important;
    float: none;
}
#tableChartTableAnalysis_filter input {
    width: 200px !important;
}
#tableChartTableAnalysis_paginate {
    float: none;
    text-align: center;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: rgba(0,0,0,0) !important;
    color: #333 !important;
    border: 1px solid #979797;
}
.dataTable tr td:last-child {
    background: url('../../images/row-expand-chart.png') !important;
    background-size: 35px 35px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}
.dataTable {
    box-shadow: 0px -7px 10px rgba(0, 0, 0, 0.06) inset !important;
    border-bottom: none !important;
}
.dataTable thead {
    color: #5697CF !important;
}
#tableChartTableAnalysis.dataTable {
    width: 100% !important;
}
#graph-stats-rang-table-gospodarstvoTable.dataTable thead tr th,
#graph-stats-rang-table-gospodarstvoTable.dataTable tbody tr td,
#tableChartTableAnalysis.dataTable thead tr th,
#tableChartTableAnalysis.dataTable tbody tr td {
    border-left: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-top: none !important;
    border-right: none !important;
    line-height: 1.42857143;
    font-weight: 500 !important;
}
#graph-stats-rang-table-gospodarstvoTable.dataTable td:nth-child(2),
#graph-stats-rang-table-gospodarstvoTable.dataTable td:nth-child(3) {
    background: none !important;
}
#graph-stats-rang-table-gospodarstvoTable.dataTable thead tr th,
#tableChartTableAnalysis.dataTable thead tr:first-child th {
    border-top : 1px solid rgba(0, 0, 0, 0.05) !important;
}
#graph-stats-rang-table-gospodarstvoTable.dataTable tr td:last-child,
#tableChartTableAnalysis.dataTable tr td:last-child,
#tableChartTableAnalysis.dataTable thead tr th:last-child {
    border-right: 1px solid rgba(0, 0, 0, 0.05) !important;
}
#graph-stats-rang-table-gospodarstvoTable.dataTable tr td:last-child,
#tableChartTableAnalysis.dataTable tr td:last-child {
    transition: 0.3s;
}
#graph-stats-rang-table-gospodarstvoTable.dataTable tr td:last-child:hover,
#tableChartTableAnalysis.dataTable tr td:last-child:hover {
    background-color: #E7FFDB !important;
    transition: 0.3s;
}
#graph-stats-rang-table-gospodarstvoTable.dataTable tr.childRow td:hover,
#tableChartTableAnalysis.dataTable tr.childRow td:hover {
    background: transparent !important;
}
#graph-stats-rang-table-djelatnosti {
    width:50%;
    float: left;
}
#graph-stats-rang-graph-djelatnosti {
    width: 40%;
    float: left;
}
#graph-stats-rang-table-djelatnostiTable.dataTable {
    margin: 0 !important;
    width: 50%;
    float: right !important;
}
#graph-stats-rang-table-djelatnostiTable.dataTable thead {
    display: none;
}
#graph-stats-rang-table-djelatnostiTable tr td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    font-size: 14px !important;
}
#graph-stats-rang-table-djelatnostiTable tr td:first-child {
    max-width: 200px !important;
    background: none !important;
    color: rgb(204, 187, 255) !important;
}
#graph-stats-rang-table-djelatnostiTable tr td:last-child {
    background: none !important;
    color: #76ffff;
    width: 25% !important
}
  
table.dataTable thead tr:nth-child(2) th {
    padding-left: 20px !important;
    padding-right: 20px !important;
}
table.dataTable tbody td,
table.dataTable thead tr:nth-child(2) th {
    text-align: right !important;
}
table.dataTable tbody tr td:first-child {
    text-align: left !important;
}
table.dataTable thead tr:nth-child(2) th:first-child {
    text-align: center !important;
}
table.dataTable thead th, table.dataTable tfoot th {
    font-weight: bold !important;
}
table.dataTable tbody tr td:first-child,
table.dataTable thead tr.total th:first-child {
    background: rgba(97, 150, 255, 0.26) !important;
}
#gospodarstvo-pozicijeTable tbody tr td:first-child {
    background: white !important;
}
.dataTable tbody tr td:last-child {
    cursor: pointer;
}
#tableChartTable_filter {
    margin-bottom: 30px !important;
}
#tableChartTable_filter input {
    width: 200px !important;
}
.dataTables_paginate {
    font-size: 12px !important;
}

/*** OTHER ***/
/*************/
.title-note {
    font-size: 13px;
}


/***** MEDIA QUERIES (responsive) *****/
/**************************************/
@media screen and (max-width: 479px) {
    .additional-main-stats .main-stats-description {
        border-bottom: 1px solid rgba(241, 241, 241, 0.08);
    }
    .main-stats-container {
      height: auto !important;
    }
    .graph-stats-container-line-chart {
        padding-left: 0;
        padding-right: 0;
    }
    #graph-stats-graph-gospodarstvo1,
    #graph-stats-graph-gospodarstvo2,
    #graph-stats-graph-gospodarstvo3 {
      width: 100% !important;
      padding-bottom: 0 !important;
    }
    .submodules-button-small {
      width: 100%;
      border-radius: 5px;
      margin-bottom: 5px;
      margin-left: 0;
      margin-right: 0;
      height: auto;
      padding: 8px;
    }
    .submodules-button-small:first-child {
      padding: 8px;
    }
    .submodules-buttons-container {
      height: 120px;
    }
  }

  