@CHARSET "utf-8";

/** Estilos cubeCalc **/

/** General **/
#calcStructure{
	font-size: 14px;
}

#calcStructure label{
	font-family: inherit;
}

/** dialog **/
.ui-widget-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: #aaaaaa;
    opacity: 0.3;
}

/** Ocultar spinner en input de tipo number **/

/** Mozilla y Edge **/
.no-spin, .no-spin:hover, no-spin:focus {
    margin: 0 !important;
    -moz-appearance:textfield !important;
}

/** Chrome **/
.no-spin::-webkit-inner-spin-button, .no-spin::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
    -moz-appearance:textfield !important;
}

.sectionTitle{
	font-size: 20px;
	font-weight: bold;
	color: #433f38;
	margin-bottom: 5px;
}

/** targetStructure **/
.tableCalc{
	border-collapse: collapse;
    table-layout: fixed;
}

.tableFertilizer{
    display: table;
    width: 100%;
}

.tableCalc th, .tableFertilizer th, .tableResult th, .colName{
	background-color: #327E04;
    color:#fff;
    border:1px solid #fff;
    /*padding: 4px 4px;*/
    font-weight: bold;
    font-size: 12px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    word-break: break-all;
    word-wrap: break-word;
    min-width: 30px;
    text-align: center;
}

.tableCalc td, .tableFertilizer td, .tableResult td{
	/*background-color: #327E04;*/
    /*color:#fff;*/
    border:1px solid #ddd;
    padding: 4px 4px;
    font-weight: lighter;
    font-size: 12px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    word-break: break-all;
    word-wrap: break-word;
    /*min-width: 30px;*/
    text-align: center;
    /*max-width: 150px;*/
}

.tableCalc td input, .tableFertilizer td input{
	width: 70px; 
	box-sizing: border-box;
	padding: 3px;
	font-size: 14px;
	text-align: center;
}

.tableFertilizer label{
	display: inline-flex;
	float: none;
	width: auto;
	max-width: 150px;
	margin-right: 20px;
}

.tableContainer{
	overflow: auto;
	max-height: 620px;
}

.tdHighlight{
	background-color: #99CCFF;
}

.colUF{
	background-color: #bbb;
}

.noBackground{
	background-color: transparent !important;
	border: none !important;
	border-style: none !important;
}

.italicContainer{
	font-style: italic;
	font-size: small;
	line-height: normal;
	padding: 4px;
	margin-top: 7px;
}

.areaContainer{
	padding-top: 20px;
	padding-bottom: 5px;
}

.areaContainer label {
    display: inline-flex;
    float: none;
    width: auto;
    margin-right: 20px;
    font-weight: bold;
}

/** filterStructure **/

.filter label{
	display: inline-flex;
	float: none;
	width: auto;
	margin-right: 20px;
}

.filter input[type='text']{
	width: -webkit-calc(80% - 170px - 15px);
	width: -moz-calc(80% - 170px - 15px);
	width: -ms-calc(80% - 170px - 15px);
	width: -o-calc(80% - 170px - 15px);
	width: calc(80% - 170px - 15px);
}

.filter label:not([weight='no-bold']){
	font-weight: bold;
}

.filter select{
	display: inline;
}

.filter{
	border: 1.3px solid #ddd;
	border-radius: 5px;
	width: -webkit-calc(90%);
	width: -moz-calc(90%);
	width: -ms-calc(90%);
	width: -o-calc(90%);
	width: calc(90%);
}

.filter .cubeline{
	padding-left: 20px;
	padding-bottom: 5px;
}

.button_container{
  	display: flex;
  	align-items: center;
  	justify-content: center;
  	padding: 15px;
  	width: 100%;
}

.filter button, .inline button, .button_calculate, .btnCloseFertilizer {
	background: #459e00;
	background-color: #459e00;
	max-width: 300px;
    border: none;
    color: white;
    padding: 5px 20px;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
	font-size: 14px;
	font-weight: normal;
    display: inline-block;
    cursor: pointer;
}

.button_calc_alt {
	background: #459e00;
	background-color: #787674;
	max-width: 300px;
    border: none;
    color: white;
    padding: 5px 20px;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
	font-size: 14px;
	font-weight: normal;
    display: inline-block;
    cursor: pointer;
}

.filter select{
	background-color: #f0f0f0;
	max-width: 300px;
}

.filter textarea{
	background-color: #f0f0f0;
	resize: none;
	height: 80px;
  	max-height: 80px;
  	padding: 1px 10px;
}

.textarea_label{
	max-width: none !important;
}

.check_rad{
	white-space: nowrap;
	padding-left: 50px;
}

/** resultStructure **/
.result{
	background-color: #f0f0f0;
	padding: 5px 20px;
	border: 1.3px solid #ddd;
	border-radius: 5px;
	/*width: -webkit-calc(90%);
	width: -moz-calc(90%);
	width: -ms-calc(90%);
	width: -o-calc(90%);
	width: calc(90%);*/
	/*font-size: 14px;*/
}

.result ul{
	padding: 5px 20px;
}

.formError li{
	margin: 0;
	padding: 5px 0 5px 40px;
	color: #de5057;
	list-style: none;
	background-image: url('../images/warning.png');
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 30px;
}

.hrCalc{
	display: block;
	background-color: #bbb;
	height: 1px;
	border: 0;
}

/**
.result li{
	color: #de5057;
}
*/
/** fertilizerStructure */

.fertContainer{
	margin-top: 20px;
}

.fertilizerStructure{
	padding-right: 20px;
}

.inline p{
	display: inline-block;
}

.inline button{
	display: inline-block;
	margin-left: 30px;
}

.tableResult{
	display: table;
	width: 100%;
	line-height: 1.6em;
}

/** newFertilizer **/

.formFertilizer{
	background-color: #f0f0f0;
	font-size: 12px;
	width: -webkit-calc(100%);
	width: -moz-calc(100%);
	width: -ms-calc(100%);
	width: -o-calc(100%);
	width: calc(100%); 
}

.formFertilizer input:not([type='radio']){
	width: 60px !important; 
	box-sizing: border-box;
}

.formFertilizer input[type='text']{
	background: white;
	width: auto !important; 
}

.formFertilizer label:not([weight='no-bold']){
	font-weight: bold;
}

.formFertilizer select{
	background: white;
	display: inline;
}

.formFertilizer span{
	white-space: nowrap;
}

.btnFertilizer{
	display: inline;
}

.btnCloseFertilizer{
	position: absolute;
	right: 0;
	bottom: 0;
}

.radioBreak{
	line-height: 20px;
	text-align: left;
	padding-left: 5px;
	display: inline-flex;
}

/** Ayudas **/

.help-tip{
    position: absolute;
    /*top: 48px;*/
    /*right: 18px;*/
    text-align: center;
    background-color: #99CCFF;
    border-radius: 50%;
    width: 17px;
    height: 17px;
    font-size: 12px;
    line-height: 17px;
    cursor: default;
    display: inline-block;
    margin-left: 3px;
}

.help-tip:before{
    content: '?';
    font-weight: bold;
    color: #fff;
}

.help-tip:hover p{
    display: block;
    transform-origin: 100% 0%;

    -webkit-animation: fadeIn 0.3s ease-in-out;
    animation: fadeIn 0.3s ease-in-out;
}

.help-tip p{    /* The tooltip */
    display: none;
    text-align: left;
    background-color: #f0f0f0;
    padding: 20px;
    width: 300px;
    position: absolute;
    border-radius: 3px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    right: -4px;
    font-size: 13px !important;
    line-height: 1.4;
    color: #333;
}

.help-tip p:before{ /* The pointer of the tooltip */
/*
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-bottom-color: #f0f0f0;
    right: 8px;
    top: -12px;
*/
}

.help-tip p:after{ /* Prevents the tooltip from being hidden */
    width: 100%;
    height: 40px;
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
}

/* CSS animation */

@-webkit-keyframes fadeIn {
    0% { 
        opacity:0; 
        transform: scale(0.6);
    }

    100% {
        opacity:100%;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    0% { opacity:0; }
    100% { opacity:100%; }
}