/*
 * It is advised not to edit the smartadmin_production.css
 * as this will override any changes you make in the 
 * later versions of this theme. 
 * 
 * We advise that you use use this CSS to override 
 * SmartAdmin styles. 
 * 
 * Rename the stylesheet to whatever your liking so it will stay
 * unique to you with each update of SmartAdmin.
 */

/*
 * INDEX
 * 
 * - HTML
 * - BODY
 * - CUSTOM STYLES
 */

 html{
    background: #ffffff;   
 }

 .smart-style-2 .jarviswidget-color-blueAmis>header{
    color: #333 !important;
    border: 1px solid #C2C2C2 !important;
    background: #fafafa !important;
    line-height: 0;
 }

 .smart-style-2 #header, .smart-style-2 #header>div.logo-group{
    height: 73px;
 }

 .smart-style-2 #main{
    top: -10px;
 }

 .smart-style-2 .page-footer,
 .smart-style-2 .jarviswidget-color-blueDark>header {
    background: #154179!important;
    border-color: #99bbe8!important;
    background-color: white;
    color:white;
} 

.txt-color-blueDark, .page-title span {
    color: #ffffff!important;
    background-color: #dd3118;
    padding: 5px;
    margin-top: 30px;
}

.page-title span {
    font-size: 24px;
}

/* Red background with white text - left menu pannel */
.smart-style-2 aside{
    background: linear-gradient(to right,#dd3118 100%,#dd3118 100%);
}

.smart-style-2 aside nav ul li.closeMenu a, .smart-style-2 aside nav ul li.closeMenu a:hover{
    color: #dd3118 !important; 
    background-color: #ffffff !important;
    padding: 9px 3px;
    margin-left: 7px;
    margin-right: 7px;
    
}

.smart-style-2 .minifyme{
    background-color: #ffffff;
    display: none;
}

.smart-style-2 nav ul li a, .smart-style-2 nav ul li a:hover, .smart-style-2 nav ul ul li>a:hover,
.smart-style-2 nav ul li a b, .smart-style-2 nav ul ul>li:hover b, .smart-style-2 nav ul ul>li:active b,
.smart-style-2 nav ul .active>a, .smart-style-2 nav ul li.open>a, .smart-style-2 nav ul li.open>a b,
.smart-style-2 aside{
    color: #ffffff !important;
    font-size: 14px!important;
}

.smart-style-2 #left-panel {
    padding-right: 5px;
    padding-left: 5px;
    padding-top: 90px;
}

.smart-style-2.minified nav>ul>li>ul, .smart-style-2.minified nav>ul>li>ul>li, .smart-style-2.minified nav>ul>li>ul>li>ul>li{
    background-color: #dd3118 !important;
}

.smart-style-2.minified nav>ul>li>a>.menu-item-parent{
    background-color: #ffffff !important;
    border-left: 1px solid #ffffff;
    border-top: 1px solid #ffffff;
}

.minified nav>ul>li>ul{
    border: 1px solid #ffffff;
}

/* Pagination */
.smart-style-2 .pagination>.active>a, .smart-style-2 .pagination>.active>a:focus, 
.smart-style-2 .pagination>.active>a:hover, .smart-style-2 .pagination>.active>span, 
.smart-style-2 .pagination>.active>span:focus, .smart-style-2 .pagination>.active>span:hover{
    background-color: #154179;
}

/* Hamburger */
.btn-header{
    position: absolute;
    z-index: 1;
    left: 15px;
    top: 22px;
}

.page-title{
    /* margin: 0px 0 12px; */
}

.hidden-menu #hide-menu>:first-child>a{
    background-image: none;
    background: transparent;
}

.page-title .fa-home:before{
    content: "";
}

.smart-style-2 #hide-menu a>i, .smart-style-2 .btn-header>:first-child>a{
    color:#ffffff !important;
}


.smart-style-2 .btn-primary, .smart-style-2 .smart-form .button,
.smart-style-2 .btn-primary.active, .smart-style-2 .btn-primary:active, 
.smart-style-2 .btn-primary:focus, .smart-style-2 .btn-primary:hover, 
.smart-style-2 .open .dropdown-toggle.btn-primary
{
    background-color: #154179;
    border-color: #154179;   
}

/* Chart dropdown menu */
.smart-style-2 .chart-dropdown-menu{
    left: -140px;
}

/* Notes */
.smart-style-2 .parent-widget{
    padding: 0;
    border: 0;
}
.notesComponent.jarviswidget td:first-child, .notesComponent.jarviswidget th:first-child{
    width: 15%;
}

/*------select2--------*/
.select2-results__options[aria-multiselectable=true] .select2-results__option[aria-selected=true] {
    background: #3276b1;
    color: #fff;
}
.select2-results__options[aria-multiselectable=true] .select2-results__option--highlighted{
    background:#ddd;
    color:inherit;
}
.select2-selection--multiple li.select2-selection__choice {
    font-weight: 700 !important;
}
.select2-container {
  z-index: 1;
}
.select2-container-multi .select2-choices, .select2-selection--multiple {
    height: auto!important;
    margin: 0;
    padding: 0;
    position: relative;
    border: 1px solid #ccc;
    border-top-color: rgb(204, 204, 204);
    border-top-style: solid;
    border-top-width: 1px;
    border-right-color: rgb(204, 204, 204);
    border-right-style: solid;
    border-right-width: 1px;
    border-bottom-color: rgb(204, 204, 204);
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-left-color: rgb(204, 204, 204);
    border-left-style: solid;
    border-left-width: 1px;
    border-image-source: initial;
    border-image-slice: initial;
    border-image-width: initial;
    border-image-outset: initial;
    border-image-repeat: initial;
    cursor: text;
    overflow: hidden;
    background-color: #fff;
}





/*------noUi slider--------*/
.noUi-tooltip {
  display: block;
  position: absolute;
  font-weight: 400;
  border-radius: 2px;
  background: #154179;
  color: #ffffff;
  padding: 5px;
  text-align: center;
  white-space: nowrap;
}
.noUi-horizontal .noUi-tooltip {
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  bottom: 120%;
}
.noUi-vertical .noUi-tooltip {
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  top: 50%;
  right: 120%;
}
.noUi-connects {
  overflow: hidden;
  z-index: 0;
}
.noUi-connect,
.noUi-origin {
  will-change: transform;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  height: 100%;
  /* width: 100%; */
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}
.noUi-origin {
    z-index: 4;
}








/*------datatable--------*/
sa-datatable ul.dtr-details {
    list-style: none;
}
sa-datatable ul.dtr-details li {
    padding: 5px 0px;
}
sa-datatable ul.dtr-details .dtr-title {
    font-weight: bold;
}
sa-datatable ul.dtr-details .dtr-title::after {
    font-weight: bold;
    content:":"
}

sa-datatable ul.dtr-details .dtr-data {
    margin-left: 5px;
}

/*------Fixed column datatable top margin issue fix--------*/
div.DTFC_LeftWrapper table.dataTable.no-footer,div.DTFC_RightWrapper table.dataTable.no-footer{
    border-bottom:none;margin-top: 0px !important;margin-bottom: 12px !important;
}

#logo img{width: auto;height: 68px;}
.smart-style-2 #header{background: url(../img/banner.png) no-repeat;background-position: right;}
#header>div.header-gradient{background: none;width: 0}

/*Changed default color, hide data table download button, checkbox to radio button */
.dataTables_filter, .dt-toolbar-footer { border-top: none; background: none;font-size: 13px;}
.scrollTable{    overflow-x: auto !important;float: left;width: 100%;min-height: 225px;}


:host::ng-deep.selected-item { border-radius: 6px !important; background: #154179!important; border: 1px solid #154179!important; }
.multiselect-dropdown .dropdown-btn .selected-item {
    border: 1px solid #154179!important;
    background: #154179!important;
}
.multiselect-item-checkbox input[type=checkbox]:checked + div:before {
    background:#154179!important;
    }
.multiselect-item-checkbox input[type=checkbox] + div:before {
      color:  #154179!important;
      border: 2px solid  #154179!important;
  }
ng-multiselect-dropdown[name$='View'] .multiselect-item-checkbox input[type=checkbox] + div:before,ng-multiselect-dropdown[name$='Supply'] .multiselect-item-checkbox input[type=checkbox] + div:before {
      border-radius: 50% !important;
    }
  ng-multiselect-dropdown[name='sourcesSelectDownload'] .multiselect-item-checkbox input[type=checkbox] + div:before {
    border-radius: 50% !important;
  }
    
.noUi-connect {
    background: #cccccc!important;
}
.row{
     margin-left: 0px; 
     margin-right: 0px; 
}
[id^='market-database-compare-sources--jarviswidget'] .dt-toolbar,
[id^='market-database-custom-query--jarviswidget'] .dt-toolbar,
[id^='market-database-supply-and-demand-overview--jarviswidget'] .dt-toolbar,
[id^='policy-database-query-download--jarviswidget'] .dt-toolbar
{
  display:none;
}

[id^='market-database-'] table.table-bordered.dataTable,
[id^='market-database-'] table.table-bordered.dataTable
{
  margin-top: 0 !important;
}

[id^='market-database-compare-sources--jarviswidget'] .scrollTable,
[id^='market-database-custom-query--jarviswidget'] .scrollTable
{
    overflow-y: hidden;
}

.dropdown-list{
  z-index: 9000!important;
}

/* Custom Image checkbox */
/* Customize the label (the container) */

.data-source-cont{
    margin-top: 10px;
}

.customCheckbox .customCheckbox-primary{
    margin-right: 5px;
}

.customCheckbox div {
    clear: both;
    overflow: hidden;
    display: inline-block;
  }

  .customCheckbox img{
    height: 22px;
    float: left;
    margin: 6px;
  }
  
  .customCheckbox label {
    width: 100%;
    border-radius: 3px;
    border: 1px solid #D1D3D4;
    font-weight: normal;
    padding-right: 10px;
  }
  
  .customCheckbox input[type="radio"]:empty,
  .customCheckbox input[type="checkbox"]:empty {
    display: none;
  }
  
  .customCheckbox input[type="radio"]:empty ~ label>span,
  .customCheckbox input[type="checkbox"]:empty ~ label>span {
        position: relative;
    cursor: pointer;
    direction: rtl;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-indent: 1.3em;
    /* width: 88px; */
    font-size: 13px;
    display: inline-block;
    line-height: 1;
    padding: 3px;
    margin-top: 7px;
    vertical-align: middle;
    border-radius: 3px;
  }
  

  .customCheckbox input[type="checkbox"]:empty ~ label>span:after {
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    right: 0;
    content: '';
    width: 1em;
    background: #ffffff;
    /* border-left: 1px solid #D1D3D4; */
    border-radius: 0px 3px 3px 0px;
  }
  
  .customCheckbox input[type="radio"]:hover:not(:checked) ~ label>span,
  .customCheckbox input[type="checkbox"]:hover:not(:checked) ~ label>span {
    color: #888;
  }
  .customCheckbox input[type="checkbox"]:not(:checked) ~ label>span:after {
        content: '\d7';
    text-indent: .3em;
    color: #C2C2C2;
    font-size: 20px;
    content: '\d7';
    /* color: white; */
    /* background-color: #ccc; */
    direction: ltr;
    font-size: 18px;
    /* line-height: 1; */
    text-indent: 0.3em;
  }
  .customCheckbox input[type="checkbox"]:hover:not(:checked) ~ label>span:after {
        content: '\d7';
    text-indent: .3em;
    color: #C2C2C2;
    font-size: 20px;
    content: '\d7';
    /* color: white; */
    /* background-color: #ccc; */
    direction: ltr;
    font-size: 18px;
    /* line-height: 1; */
    text-indent: 0.3em;
  }
  
  .customCheckbox input[type="radio"]:checked ~ label>span,
  .customCheckbox input[type="checkbox"]:checked ~ label>span {
    color: #ffffff;
    direction: rtl;
    text-align: left;
    background-color: #154179;
    text-indent: 1.3em;
    /* width: 88px; */
    position: relative;
    font-size: 13px;
    display: inline-block;
    line-height: 1;
    padding: 3px;
    margin-top: 7px;
    vertical-align: middle;
    border-radius: 3px;
  }
  
  .customCheckbox input[type="checkbox"]:checked ~ label>span:after {
    content: '\d7';
    color: white;
    background-color: #ccc;
    direction: ltr;
    font-size: 18px;
    /* line-height: 1; */
    text-indent: 0.3em;
  }
  
  .customCheckbox input[type="checkbox"]:focus ~ label>span:after {
    box-shadow: 0 0 0 3px #999;
  }
  
  .customCheckbox-primary input[type="checkbox"]:checked ~ label>span:after {
    color: #fff;
    background-color: #154179;
  }
.customCheckbox input[type="radio"]:checked ~ label>span{
  text-indent: .3em;
}
/*Hide cross icon from selected list items*/
[name='regionSelectView'] .ng-star-inserted a, 
[name='productSelectView'] .ng-star-inserted a, 
[name='elementSelectView'] .ng-star-inserted a, 
[name='productSelectSupply'] .ng-star-inserted a, 
[name='regionSelectSupply'] .ng-star-inserted a{
  display:none!important;
}
.multiselect-dropdown[_ngcontent-c2] .dropdown-btn[_ngcontent-c2] .selected-item[_ngcontent-c2] {
    margin: 2px;
  }

/* Customize Highcharts */  
.highcharts-axis.supplyDemandChartsSecAxis text {
	font-weight: bold;
    white-space: pre;
}

/* Download XLS button in Supply and Demand page */
.downloadExcel{
    text-align: center;
}
.downloadExcel button, .downloadExcel .btn.focus, .downloadExcel .btn:focus, .downloadExcel .btn:hover{
    background-color: #154179;
    border: 1px solid rgba(0,0,0,.09);
    color: #ffffff;
}
amis-supply-and-demand .chartWidget{
    margin-bottom: 15px;
}

.viewTableButtonContainer{
    text-align: center;
}
.viewTableButtonContainer button{
    margin-top: 8px;
}


/* Customize Download icon */
.jarviswidget-ctrls .fa-download { color: #ffffff; }
.button-icon.jarviswidget-download-btn,
.button-icon.jarviswidget-download-btn:hover,
.button-icon.jarviswidget-download-btn:focus { background-color: #154179; }

/* Override Sheet List Component CSS*/
.sheetListComponent{
    background-color: #ffffff;
}
.sheetListComponent .container{
    padding-left: 15px;
    padding-right: 15px;
}
.sheetListComponent h2{
    font-weight: 500;
    font-size: 30px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.sheetListComponent h3{
    font-weight: 500;
    font-size: 24px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/*Supply and demand table unit subtitle*/
.snd-unit-row{
  padding-top: 0px!important;
  padding-bottom: 0px!important;
  font-style: italic!important;

}

.amis-footer-cc-logo{
    width: 30%;
    height: 30%;
}

.amis-footer-mobile{
    font-size: 11px;
}

@media only screen and (max-width: 679px) and (min-width: 0){
    #header>:first-child, aside {
        width: 220px;
    }
}

@media (max-width: 880px){
    .amis-footer-mobile{
        font-size: 11px;
        padding-top: 10px;
    }
    .amis-footer-cc-logo{        
        padding-top: 8px;
    }
    .smart-style-2 #header{
        background: none;
    }
    .btn-header{
        left: 10px;
        top: -7px;
    }
}

@media (max-width: 1024px){
    .amis-footer-mobile{
        font-size: 8px;
    }    
    .amis-footer-mobile-hide{
        display: none;
    }
    .amis-footer-cc-logo{
        width: 80%;
        height: 80%;
    }
}

@media only screen and (max-width: 479px) and (min-width: 320px){
    .page-title{
        display: block;
    }
    .amis-footer-mobile{
        font-size: 7px;
        padding-top: 8px;
    }
    .amis-footer-mobile-hide{
        display: none;
    }
    .amis-footer-cc-logo{
        width: 150%;
        height: 150%;
        padding-top: 8px;
    }
    .smart-style-2 #header>div.logo-group{
        width: 100%;
    }
    .smart-style-2 #logo {
        margin-top: 0;
    }
    .jarviswidget header h2{
        width: 165px;
    }
    .txt-color-blueDark, .page-title{
        font-size: 18px;
    }
    .btn-header{
        top:-9px;
        left:0;
    }
    div.DTFC_LeftWrapper table.dataTable.no-footer>tbody>tr>td{
        padding: 8px 16px;
    }
    .range-left-label{
      padding-right: 0px
    }
    .range-right-label{
      padding-left: 0px
    }
    /* Set pagination number in mobile view */
    .dataTables_paginate{
        float: none !important;
        text-align: center;
    }
    .dataTables_paginate .pagination>li>a, .dataTables_paginate .pagination>li>span{
        padding: 5px 10px;
    }
    
}