﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 200px;
}

/*
**********************************************************************************
****************************  Mis estilos CSS ************************************ 
**********************************************************************************
*/

body {
    margin-top: 0px; /*NOTA: Margen superior*/ 
    font-family: 'Roboto', sans-serif;
    padding-bottom: 0px;
}

.navbar-inverse {
    background-color: #762c3e;
    border-color: #762c3e;
    font-size: 1.2em;    
}

h2.small {    
    font-variant:small-caps;
}

a:hover, a:focus {
    color: #14456f;
    text-decoration: underline;
}

a {
    color: #1776c9;
    text-decoration: none;
}

.table-responsive {
    margin-top: 10px;
}

.logotec {
    margin-top: 0px;
    margin-bottom: 50px;
}

#icolor{
    color: white;
}
#clear{
    list-style-type: none;
}

.mytabs{
    font-size: 1.2em;
}

/*
    Description List dt and dd 

*/

.dl-horizontal dt {
    float: left;
    width: 200px;    
    clear: left;
    text-align: left;    
}

.dl-horizontal dd {
    margin-left: 220px;
}

dt, dd {
    line-height: 1.8;
}

#pane2 tr td {
    width: 50%;
}

.tablespace {
    margin-top: 5%;
}

.mycontrol{
    display: inline;
    width: 100%;
    margin-bottom: 5px;
}
/* Mantener el margen de los campos de filtro*/
.mycontrol2{
    margin-bottom: 5px;
}


/* Color de fondo de las tabs activas (rojo claro) */
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {  
    background-color: #F2DEDE;  
    color: #762C3E;
}

/* Botón de "Exportar PDF" */
#boton {    
    float: right;    
    position: relative;
    margin-top: -44px;
    margin-right: 27px;
}
@media (max-width: 319px) {  
  #boton {
   visibility: hidden;
  }    
}

@media (min-width: 320px) and (max-width: 364px) {
  .btn-responsive {
    padding:2px 4px;
    font-size:60%;
    line-height: 1;
    border-radius:3px;
  }
  #boton {
    margin-top: -39px;
    margin-right: -10px;
  }
  #boton i {
    font-size: 130%;
  }
  #borrar li{
    display: block;
  }    
}

@media (min-width: 363px) and (max-width: 479px) {
  .btn-responsive {
    padding:2px 4px;
    font-size:60%;
    line-height: 1;
    border-radius:3px;
  }
  #boton {
    margin-top: -39px;
    margin-right: 0px;
  }    
   #boton i {
    font-size: 130%;
  }    
   #borrar li{
    display: block;
  }
    
}

@media (min-width: 480px) and (max-width: 768px) {
  .btn-responsive {
    padding:2px 4px;
    font-size:80%;
    line-height: 1;
    border-radius:3px;
  }
  #boton {
    margin-top: -39px;
    margin-right: -5px;
  }
  #boton i {
    font-size: 130%;
  }    
  #borrar li{
    display: block;
}
      
}

@media (min-width: 769px) and (max-width: 992px) {
  .btn-responsive {
    padding:4px 9px;
    font-size:90%;
    line-height: 1.2;
  }
   #boton {
    margin-top: -44px;
    margin-right: 6px;
    }
   #borrar li{
    display: inline;
   }
   #dropdownMenu1{
    margin-left: 12px;
   }
   .dropdown{
    margin-left: 12px;
   }
}

@media (min-width: 993px) and (max-width: 4000px) {
  
   #borrar li{
    display: inline;
   }
}

#botonIcon{    
    float: right;    
    position: relative;
    margin-top: 0px;
    margin-right: 0px;
}

#borrar{
    list-style:none;
}



/* Footer */

#footer{
    background-color:#8F233B;         
    font-size: 0.9em;   
    color: #fff;
}

#footer a {
    color: #fff;
}

#footer li {
    list-style-type: none;
    margin: 0; 
    padding: 0;
    margin-bottom: 2px;
}

#footer ul {   
    margin: 0; 
    padding: 0;
}

#fotlog {
    padding-top: 30px;
    width: 80px;
    margin-bottom: 5px;
}

#flotarFecha{
    float: right;
}

.f-title{
    margin-top: 30px;
    margin-bottom: 12px;
}

#icono {
    margin-right:5px;
}

.fa {
    font-size:25px;
    /*margin-right: 15px;*/
}

#f-final {
    margin-top: 15px;   
}

#f-final a {    
    text-decoration: underline;
}

/* footer fijo siempre al final de la página independientemente de su contenido (en el caso de poco contenido) */

html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 280px;
}
#footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 280px;  
}

@media (max-width:991px){ #footer{height:415px;} body{margin-bottom:415px;}}
/* Para darle un margen superior al body en el momento que se apilan los enlaces del nav */
@media only screen and (min-device-width: 769px) and (max-device-width: 893px){ body { margin-top: 100px; }} 
@media (max-width:768px){ #footer{height:480px;} body{margin-bottom:480px;}}
@media (max-width:332px){ #footer{height:568px;} body{margin-bottom:568px;}}
@media (max-width:240px){ #footer{height:625px;} body{margin-bottom:625px;}}


/* Barra de menu principal */

.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus {
    color: #ffffff;
    background-color: #F8981D;
}

.navbar-inverse .navbar-nav > li > a {
    color: #ffffff;
}

.navbar-inverse .navbar-brand:hover, .navbar-inverse .navbar-brand:focus {    
    background-color: #F8981D;
}

.navbar-inverse .navbar-brand {
    color: #ffffff;
}


/* */

#inputSpace {

}

/* Mostrar siempre en Android e Iphone el scroll-bar */
::-webkit-scrollbar {
    -webkit-appearance: none;
}

::-webkit-scrollbar:vertical {
    width: 12px;
}

::-webkit-scrollbar:horizontal {
    height: 12px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .5);
    border-radius: 10px;
    border: 2px solid #ffffff;
}

::-webkit-scrollbar-track {
    border-radius: 10px;  
    background-color: #ffffff; 
}

/*Enlace volver atras*/
.backLink {
    margin-left: 15px;
}


@media (max-width: 319px) {  
  #boton {
   visibility: hidden;
  }    
}

/* Iconos de font awesome en el navbar-header */
.fa-home {
   /*margin: -4px -5px 0px 0px;*/
   font-size: 23px;
}

.fa-cog {
    margin: -9px -5px 0px 0px;
    font-size: 23px;
}

/* Otros iconos de la página */

#start {
    background-color: white;
    color: #D60C0C;
    border-top-right-radius: 9px;
}

.fa-envelope {
    color: #762C3E;
    margin-left: 15px;
    font-size: 21px;
}

#pdfHead {
    color: #762C3E;
    margin-top: 13px;
    float: right;
}

.fa-list {
   font-size: 20px;
}

.icon-color {
    color: rgb(118, 44, 62);
}

/** Modificaciones 27/04/2016 **/
/** Se quitan los h3 y le damos 10px de margin-top a la lista tab detalles en parcela con esta clase**/
.general{
    margin-top: 10px;
}

/** Se quitan los h3 y ajustamos el margin-top **/
/*.panel-body{
    margin-top: -25px;
}*/

.li-hover:hover{
    background-color: #F8981D;
}

/* PDF Labores */
#start{
    margin-left: 15px;
}

/* Parcela */
.inline{
    display:inline; 
    float:right;
}

ul.inline_list{       
    padding-left: 0px;
}

.inline_list li{
   display: inline;
   margin: 0;
   padding: 0;   
}

.head {
    width: auto;
    display: inline;
}
/*.panel-heading{
    padding-bottom: 0px;
    padding-top: 10px;
    padding-left: 16px;
    padding-right: 16px;   
}*/

#navbar2{
    background-color: #F2DEDE;    
}

#navbar2 .navbar-brand{
    color: #762C3E;
}

/*.navbar-default .navbar-toggle .icon-bar {
    background-color: black;
    border-color: black;
}*/

#dropdownMenu2 .icon-bar{
    background-color: #762C3E;    
}

#dropdownMenu2{
    border: 1px solid #762C3E;
}

tbody tr th{
    color: #762C3E;
}

.panel-heading b{
    color: #762C3E;
}
#textbox1{
    float: right;
    margin-left: -60px;
}

#adminLink{
    margin-top: 18px;        
}

#adminLink a{
    color: #762C3E;
}

#adminLink .fa {
    font-size: 21px;
}
/************* /Administracion/CrearPerfil *****************/
#AgricultorSeleccionado{
    width: 200px;
}

li.dropdown-submenu:hover ul{
display: block;
left: 100%;
}

.dropdown-submenu{
  position:relative;
}

.dropdown-submenu:hover .dropdown-menu{
  top:0;
}

/************* /Los estilos de bosstrapp *****************/
.navbar {
  position:inherit;
  z-index: 1000;
  min-height: 20px;
  margin-bottom: 20px;
  border: 1px solid transparent;
}

/*.navbar-brand {
  float: left;
  padding: 5px 5px;
  font-size: 18px;
  line-height: 20px;
}*/

.jumbotron {
  padding: 15px;
  margin-bottom: 15px;
  font-size: 21px;
  font-weight: 200;
  line-height: 2.1428571435;
  color: inherit;
  background-color: #eeeeee;
}

.btnsharp {
  border-radius:0;
}

.btn-sq-lg {
  width: 150px !important;
  height: 150px !important;
}

.btn-sq {
  width: 100px !important;
  height: 100px !important;
  font-size: 10px;
}

.btn-sq-sm {
  width: 50px !important;
  height: 50px !important;
  font-size: 10px;
}

.btn-sq-xs {
  width: 25px !important;
  height: 25px !important;
  padding:2px;
}

@media screen and (min-width: 768px) {
  .jumbotron {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .container .jumbotron {
    padding-right: 40px;
    padding-left: 40px;
  }
  .jumbotron h1 {
    font-size: 63px;
  }
}

.panel-body {
  padding: 5px;
}

.dropdown-menu{
  min-width:250px;
}

.btn-morado {
    color: #ffffff;
    background-color: #B28CFF;
    border-color: #B28CFF;
}

.btn-rosa {
    color: #ffffff;
    background-color: #FF7FE3;
    border-color: #FF7FE3;
}
 