/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 27-ott-2014, 12.29.35
    Author     : Massimiliano
*/

body{
    
    font-family: 'Roboto', sans-serif; 
}
.cont{
    overflow: auto;
    position:relative; 
    min-height:100%;
}


.headercont{
    position: relative;
    top:50%;
    transform: translateY(-50%);
}

.main{
    margin-bottom: 100px;
}

.well{
    padding: 5px;
    background-color:#3071a9;/*rgba(0,0,0,0.7);*/
    border-color: #000;
    border:1px solid transparent;
    box-shadow: inset 3px 3px 5px rgba(0,0,0,0.2);
}

.btn-warning.disabled, .btn-warning[disabled]{
    opacity: 1;
    background-color:  rgba(240,173,78,0.7);
}

.btn-danger.disabled, .btn-danger[disabled]{
    opacity: 1;
    background-color:  rgba(217,83,79,0.7);
}

.btn-warning{
    background-color: #d58512;
}

.panel-title{
    font-size: 14px;
}

.panel-primary{
    position: relative;
    width:100%;

}


.panel-heading{
    padding: 8px 20px;
}

tableParse{
    table-layout: fixed; 
    margin-bottom: 0px !important;
    position: relative;
}

.btn{
    font-size: 12px;
    padding: 5px 10px;
}

body{
    font-size: 12px;
    background-image: url("img/crossword.png");
}

.panel{
    background-color: transparent;
}

.headerBox, .headerValue,
.headerKey, .headerModify{
    text-align: center;
    font-size: 13px;
}


.currentValues{
    margin-top:10px;
    text-align: left;
    width: 100%;
}

.dbValues{
    width:100%;
    max-height: 200px !important;
}


.dbValues > option {
    word-wrap: break-word;
    border:1px solid #00498f;
}

.dbValues > option:hover {
    background-color:rgba(0,49,91,0.2);
}

.fixedWidth {
    word-wrap: break-word;
    overflow-wrap: break-word;   
}

.leftInner{
    width:33%;
}
.rightInner{
    width:27%;
}
.centerInner{
    width:40%;
}

.aligned h1,h2,h3,h4,h5,span{
    vertical-align: middle !important;
}

.ajaxLoading{
    text-align: center;
    margin-top: 50px;
}

.ui-widget{
    font-size: 11px; 
}

.rightCol, .leftCol{
    text-align: center;

}


.radioTable{
    margin: 5px auto 0px auto;
}

.table-border>tbody>tr>th,
.table-border>tfoot>tr>th,
.table-border>tbody>tr>td,
.table-border>tfoot>tr>td{
    color:black;
    border: 1px solid #00315b;
}

.table-border,
.table-border>thead>tr>th,
.table-border>thead>tr>td{
    border: 1px solid black;
    background-color: rgba(0,49,91,1);
    color:white;
}

.table-bordered,
.table-bordered>thead>tr>th,
.table-bordered>thead>tr>td{
    border: 1px solid black;
    background-color:rgba(66,139,202,1);
    color:white;
}

.table-bordered>tbody>tr>th,
.table-bordered>tfoot>tr>th,
.table-bordered>tbody>tr>td,
.table-bordered>tfoot>tr>td{
    color:black;
    border: 1px solid #428BCA;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    padding: 8px 8px 8px 8px !important;
}
.innerTable > thead > tr > th,
.innerTable > tbody > tr > th,
.innerTable > tfoot > tr > th,
.innerTable > thead > tr > td,
.innerTable > tbody > tr > td,
.innerTable > tfoot > tr > td {
    padding: 3px 3px 3px 3px !important;
}

.table-striped>tbody>tr:nth-child(odd){
    background-color: rgba(66,139,202,0.25);
}

.tableTrans{
    background-color: transparent;
}

/*
this resolve a bug due to bootstrap conflict in which color of select is inherited and set to white(thus invisible)
*/
#ui-datepicker-div select {
    color:#428bca !important;
}

.inputWithSelect{
    width:85%;
    background-image: url("img/equal.png");
    background-repeat: no-repeat;
    
    padding-left: 19px;
    background-size: 15px 10px;
    
    background-position: 2px 5px;
}

.inputNoSelect{
    background-image: url("img/range.png") !important;
    background-repeat: no-repeat;
    width: 85%;
    padding-left: 19px;
    background-size: 15px 10px;
    
    background-position: 2px 5px;
}

.fromTo{
    display: none;
}

.ng-dirty.ng-valid{
  //  box-shadow: 0px 0px 2px 2px  #5cb85c;
    border-color: #5cb85c;
}
.ng-dirty.ng-invalid{
    border-color: #d9534f;
  //  box-shadow: 0px 0px 2px 2px  #d9534f;
}

.selectType{
    width:22%;
}
.selectTypeString{
    width:50%;
    margin-bottom: 5px;
}
.fromToLabel{
    font-size: 8px;
}

.dateRange label {
    color:#5cb85c;
}

.tableSmall{
    width: 100%;
    text-align: center;

}

.headerSmall{
    text-align: center;
}

.smallButton{
    height: 20px;
    padding: 2px;
    font-size: 10px;
    margin: 5px;
}

.addInput{
    text-align: center;
    width: 25%;
    float:left;
}
.tablePanel{
    margin-top:2px;
    margin-left:5px;
    padding:5px;
    box-shadow: 0px 0px 2px 2px #00498f;
    width: 74%;
    float: left;
    max-height:240px; /*5props*/
    overflow-y: auto;
}

.addInputButton{
    width:40%;
    margin:5px;
}


.queryButton{
    width: 100px;
    margin-top:8px;
}

.queryPanel{
    text-align: center;
    position: absolute;
    height: 45px;
    width: 100%;
    background-color: transparent;
}

.body-template{
    position: relative;
    top:45px;
    max-height: 500px;
    width: 100%;
    overflow-y: auto;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 10px;
    padding-bottom: 0;
}

.panel-collapse, .panel-group, .panel{
    position: relative;
}

.panel-collapse{
    max-height: 550px;
    overflow: hidden;
    padding-bottom: 50px;
}

#modal_wait, #modal_wait p{
    color: black;
    background-color: white;
    text-align: center;
}

#resultContainer {
    display: none;
}

.containerResult{
    margin-top: 10px;
}

.containerExt{
    width:95%;
    margin-left: auto;
    margin-right: auto
}

.dbpediaStatus.online{
    color:#5cb85c;
}
.dbpediaStatus.offline{
    color:#d9534f;
}
.well.dbpediaStatus{
    display: inline-block;
    background-color:rgba(66,139,202,0.25);
    margin-bottom: 0px;
    margin-top: 20px;
}
.pull-left.dbpediaStatus{
    font-size: 20px;
    vertical-align: top;
    line-height: 1em;
}
p>.dbpediaStatus{
    margin-bottom:0;
    vertical-align: middle;
}

.closePanel{
    background-color: #428bca;
    padding:3px;
    border-radius: 4px;
    border:1px solid #033965;
    overflow: auto;
    background: url("libs/jquery-ui-1.11.2.custom/images/ui-bg_diagonals-thick_15_0b3e6f_40x40.png");
    cursor:pointer;
    text-align: center;
    width: 100%;

}  

hr {
    background: url("libs/jquery-ui-1.11.2.custom/images/ui-bg_diagonals-thick_15_0b3e6f_40x40.png");
    border-radius: 4px;
    height: 4px;
}

.closePanel:hover{
    box-shadow: 0px 0px 1px 1px  #00315b;
}

.openPanel {
    color:white;
    display:block;
}


/* ________DROP MENU__________   */


.drop-group{
    display: block;
}
.drop-button{   
    width: 100%;
    float:left;
}

.dropN-menu {
    background-color:rgba(40,94,142,0.5);
    border: 1px solid black;
    border-radius: 2px;
    padding: 2px;
    z-index: 1000;
    position: relative;
    display: none;
    list-style: none;
    border-radius: 4px;
    height: 200px;
    width: 320px;
    text-align: left;
    overflow-y: scroll;
    margin-left:100px;
    margin-top:-50px;

}


.dropN-menu > li {
    border-color: rgba(0,90,166,0.7);
    margin:3px 3px;
    padding:2px;
    border-radius: 5px;
    background-color: #428bca;
    font-size: 11px;
    position: relative;
}

.dropN-menu > li:hover {
    opacity: 1;
    background-color:white;
    font-size: 11px;
    cursor: pointer;
    color:#428bca;
    font-weight: bold;
    position: relative;
}


.openN {
    display: block;
}



/* CALLOUT *****************   */
.bs-callout-special{
    padding: 20px;
    margin: 30px 0 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
    overflow: auto;
}

.bs-callout-top{
    padding: 10px;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
    overflow: auto;
}

.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
    overflow: auto;
}
.bs-callout h4 {
    margin-top: 0;
    margin-bottom: 5px;
}
.bs-callout p:last-child {
    margin-bottom: 0;
}
.bs-callout code {
    border-radius: 3px;
}
.bs-callout-default {
    border-left-color: #777;
}
.bs-callout-default h4 {
    color: #777;
}
.bs-callout-primary {
    border-left-color: #428bca;
    background-color: rgba(66,139,202,0.05);
}
.bs-callout-primary h4 {
    color: #428bca;
}
.bs-callout-success {
    border-left-color: #5cb85c;
}
.bs-callout-success h4 {
    color: #5cb85c;
}
.bs-callout-danger {
    border-left-color: #d9534f;
}
.bs-callout-danger h4 {
    color: #d9534f;
}
.bs-callout-warning {
    border-left-color: #f0ad4e;
}
.bs-callout-warning h4 {
    color: #f0ad4e;
}
.bs-callout-info {
    border-left-color: #00315b;
    border: 1px solid #00498f;
    border-left-width: 5px;
    background-color: rgba(0,49,91,0.05);

}
.bs-callout-info h4 {
    color: #00315b; 
}

.collapsable{
    margin:0px 0px 30px 0px;
    display: none;
}