/*Styles CEPSA*/

/************************************************************************
TIPOGRAFÍAS
************************************************************************/
/* FontFace - Flama*/
@font-face {
  font-family: "flamabasic";
  src: url("../fonts/flama/flama-basic-webfont.woff2") format("woff2"),
    url("../fonts/flama/flama-basic-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "flamablack";
  src: url("../fonts/flama/flama-black-webfont.woff2") format("woff2"),
    url("../fonts/flama/flama-black-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "flamabold";
  src: url("../fonts/flama/flama-bold-webfont.woff2") format("woff2"),
    url("../fonts/flama/flama-bold-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "flamabook";
  src: url("../fonts/flama/flama-book-webfont.woff2") format("woff2"),
    url("../fonts/flama/flama-book-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "flamaextrabold";
  src: url("../fonts/flama/flama-extrabold-webfont.woff2") format("woff2"),
    url("../fonts/flama/flama-extrabold-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "flamalight";
  src: url("../fonts/flama/flama-light-webfont.woff2") format("woff2"),
    url("../fonts/flama/flama-light-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "flamamedium";
  src: url("../fonts/flama/flama-medium-webfont.woff2") format("woff2"),
    url("../fonts/flama/flama-medium-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "flamasemibold";
  src: url("../fonts/flama/flama-semibold-webfont.woff2") format("woff2"),
    url("../fonts/flama/flama-semibold-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "flamathin";
  src: url("../fonts/flama/flama-thin-webfont.woff2") format("woff2"),
    url("../fonts/flama/flama-thin-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "flamaultralight";
  src: url("../fonts/flama/flama-ultralight-webfont.woff2") format("woff2"),
    url("../fonts/flama/flama-ultralight-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}


/*************************************************************************
ESTRUCTURA BASE
*************************************************************************/
html{
  /*min-width: 22.5rem;*/
  }

body {
  background: #e6e6e6;
  font-family: "flamabook", sans-serif;
  color: #1f303e;
  font-weight: normal;
}

.container-fluid{margin-bottom:1.875rem;}
.complement-title{padding:0.9375rem 0;}

/* Header - Nav*/
.navbar{
    padding:0;
}
.navbar-nav {
  align-items: center;
  flex-direction: row;
}
.navbar-brand i {
  font-size: 3rem;
  color: #d52b1e;
}
.navbar-user {
  display: flex;
  align-items: center;
  padding: .5rem 0;
}

.navbar-user .rounded-circle {
  background-color: #1f303e;
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.5rem;
}
.navbar-user .user-acronym {
  color: #ffffff;
  font-size: 0.7rem;
  vertical-align: middle;
  width: 1.5rem;
  height: 1.5rem;
  display: table-cell;
  text-align: center;
}
.navbar-user .user-name {
  color: #1f303e;
  font-size: 0.875rem;
  font-family: 'flamabasic', sans-serif;
}
.navbar-user .user-name a{
  color: #1f303e;
  font-size: 0.875rem;
  font-family: 'flamabasic', sans-serif;
 
}
.navbar-user .user-name i{
  margin-left: 0.5rem;
}

.brand-circle {
    border-radius: 50%;
    background: #f5f7fd;
    height: 4rem;
    width: 4rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.brand-circle img{
  width: 2.5rem;
  margin: 0 auto;
}

.brand-cepsa{
  flex: auto;
  display: flex;
  opacity: 0.4;
  
}
.brand-cepsa img{
  width: 4rem;}

  .copy-year{
    color:#67737D;
    font-size: 0.7rem;
    font-family: 'flamamedium', sans-serif;
    opacity: 0.4;
  }


/*************************************************************************
ETIQUETAS DE TEXTO
*************************************************************************/

/*Títulos*/
h1{
    margin-bottom:0;
    font-size:1.375rem;
    color:#0e5c2f;
    font-family: 'flamabasic', sans-serif;
}
h2{
  font-family:'flamalight', sans-serif;
  font-size:1.25rem;
  margin-bottom: 1rem;
}
h3{
  font-size:1.125rem;
}
h4{
  font-size:1rem;
  color: #1f303e;
  font-family: 'flamabasic';
}
h5{
  font-size:0.75rem;
}

.title-welcome{font-size: 1.5rem;}

/*Textos*/
.text-welcome p{font-size: 1rem; font-family: 'flamalight', sans-serif;}


/************************************************************************
COMPONENTES
************************************************************************/

/*Card*/
.card {
    background: #ffffff;
    border: 0.0625rem solid #dfdfdf;
    min-height: 100vh;
    border-radius: 0;
}

.card-header{
  background: #f5f7fd;
  border-bottom:0.0625rem solid #e9ecef;
  padding: 0 .75rem;
}

.card-title{display:flex;}
.title-subsection{flex:auto; max-width: 100%;}

.card-body{
  padding-left:0.9375rem;
  padding-right:0.9375rem;
}

.card-footer{
  background: #f5f7fd;
  border-top:0.0625rem solid #e9ecef;
  padding: .25rem .75rem;
  font-weight: normal;
  display: flex;
  align-items: center;
  /*Position bottom*/
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
}

/*Form*/
.form-group {
  margin-bottom: 0.35rem;
}
.col-form-label{
  font-size: 0.875rem;
}
.form-control{
  height:1.875rem; 
  font-size: 0.875rem;
  padding: .375rem;
}
select.form-control{
  padding: 0 0.375rem;
}
.btn-toggle {
  margin: 0 0 0 1rem;
  background-color: #FFFFFF;
}
.btn-toggle.active {
  background-color: #1bb0bb;
}

.btn-toggle.btn-xs {
  height: 1.2rem;
  width: 2.5rem;
  border:0.0625rem solid #c3c3c3;
}
.btn-toggle.btn-xs > .handle {
  top: 0.22rem;
  left: 0.24rem;
  width: 0.7rem;
  height: 0.7rem;
  background: #67737d;
}
.btn-toggle.btn-xs.active > .handle {
  left: 1.4rem;
}
.btn-toggle.active .handle, .btn-toggle:hover .handle {
  background-color: #ffffff;
}

.dropdown-divider{margin:1rem 0 1rem 0;}

/*Input with icon button*/

.input-btnIcon{
  display: flex;
  align-items: center;
}

.input-btnIcon div:first-child{
  margin-right: 0;
  padding-right: 0;
}
.input-btnIcon div:last-child{
  padding: 0;
}

/*Datepicker*/


.daterangepicker td.active, .daterangepicker td.active:hover {
  background-color: #1bb0bb !important;
}
.daterangepicker .drp-buttons .btn.cancelBtn:hover{
  color:#ffffff;
}

.daterangepicker .drp-buttons .drp-selected {
  display: block;
  margin-bottom: 0.5rem;
  text-align: center;
}

.daterangepicker .drp-buttons .cancelBtn{float: left;}

/*Set buttons*/
.buttons-set{
    /*padding:1rem 0;*/
    margin:0 auto;
}
.buttons-set button{
    /*margin:0 0.3rem;*/
}

.drop-button-sm{
        width: 100%;
    }
.dropbutton-collapse.show{
  position: absolute;
  z-index: 1000;

}
  .dropbutton-collapse button{
      width: 100%;
      background-color: #ffffff;
      color:#1f303e;
      border: 0.0625rem solid #c3c3c3;
      border-radius: 0;
  }

/*Buttons*/
.btn{
  font-family: 'flamabasic', sans-serif;
  font-size:1rem;
}
.btn:hover{
  background-color:#22959e;
  border-color:#22959e;
}
.btn.focus, .btn:focus{
  box-shadow: 0 0 0 0.2rem rgba(27,176,187,.5) !important;
}
.btn:not(:disabled):not(.disabled).active,
.btn:not(:disabled):not(.disabled):active,
.show>.btn.dropdown-toggle{
  color: #fff;
  background-color: #22959e;
  border-color: #22959e;
}

.btn-primary {
  color: #fff;
  background-color: #1f303e;
  border-color: #1f303e;
}

.btn-secondary {
  color: #fff;
  background-color: #b3b5ba;
  border-color: #b3b5ba;
}

.btn-light {
  color: #fff;
  background-color: #eeeded;
  border-color: #eeeded;
}
.btn-dark {
  color: #263746;
  background-color: #dad2d8;
  border-color: #dad2d8;
}

.btn-outline-dark.disabled, .btn-outline-dark:disabled{
  border-color:#d9d9d9;
  color:#a5a5a5;
}

.btn-outline-dark.disabled:hover, .btn-outline-dark:disabled:hover{
  background-color: transparent !important;
}

.btn-sm{
font-size:0.8125rem;
}

.btn-select-cell{
  background-color: transparent !important; 
  border: 0 !important;
  cursor:cell !important;

  background-image: url('../assets/images/icon-select.svg');
  background-repeat: no-repeat;
  background-size: 1.5rem;
  height: 1.5rem;
  width: 1.5rem;

  margin-left:0.5rem;
  margin-top:0.2rem;
  
  opacity: 0.3;

}

.btn-select-cell img{width: 1.5rem; }

.btn-select-cell:hover,.btn-select-cell:active, .btn-select-cell:focus{
  background-color: transparent !important; 
  border: 0 !important;
 
  background-size: 1.5rem;
  height: 1.5rem;
  width: 1.5rem;

  margin-left:0.5rem;
  margin-top:0.2rem;
}

.btn-select-cell:focus{
  box-shadow: none !important;
}

.btn-title{
  float:right;
  padding: 0.2rem;
  margin-right: 0.9375rem;
  display: flex;
  }
  
.btn-title span{
  color:#1f303e;
  font-size: 0.8rem;
  font-family: 'flamabasic';
}

.btn-title i:before{
  display: block;
  font-size: 0.8rem;
}
.btn-title span{display: none;}

.btn-title:hover span, .btn-title:active span{color:#ffffff;}

.btn-title.focus, .btn-title:focus{
  box-shadow: 0 0 0 0.2rem rgba(27,176,187,.5) !important;
}

/*Modal*/
.modal-position{padding-right:0 !important; max-width: inherit;}
.modal-position .modal-footer{display:block;} 
.modal-position .modal-footer .buttons-set{text-align: center;}

/*Popover*//*
.popover {
  background-color:#f1f1f1;
  top: -0.25rem !important;
  left: 0.0625rem !important;
  border-color:rgba(0, 0, 0, 0.1) !important;
}
.popover .popover-header{
font-size:0.875rem;
font-family: 'flamabook', sans-serif;
}

.bs-popover-auto[x-placement^=bottom]>.arrow::after, .bs-popover-bottom>.arrow::after{
  border-bottom-color:#f1f1f1;
}
.bs-popover-auto[x-placement^=bottom]>.arrow::before, .bs-popover-bottom>.arrow::before{
  border-bottom-color:rgba(0, 0, 0, 0.15) !important;
}
.popover-body{ color:#1f303e;border-radius:0.5rem; }
*/

/*************************************************************************
ICONS
*************************************************************************/
.icon-label{font-size:0.8rem; color:#22959e; cursor:help; }



/*************************************************************************
QUERIES
*************************************************************************/
/*
Extra small devices (portrait phones, less than 576px)
No media query since this is the default in Bootstrap
*/

/*Extrasmall devices*/
@media (max-width: 575px) {
  .user-name a span{display: none;}  
  /*
  .modal-body.row .col-6{ -ms-flex: 0 0 100%;flex: 0 0 100%;    max-width: 100%;}
  .modal-body.row .col-6 .row .col-6{ -ms-flex: 0 0 50%;   flex: 0 0 50%; max-width: 50%;}*/

/*************************************************************************
COLUMNS EXTRA SMALL (Custom)
*************************************************************************/
.col-extraXS-1{-ms-flex: 0 0 8.333333%; flex: 0 0 8.333333%; max-width: 8.333333%;}
.col-extraXS-2{-ms-flex: 0 0 16.666667%; flex: 0 0 16.666667%;max-width: 16.666667%;}
.col-extraXS-3{-ms-flex: 0 0 25%;  flex: 0 0 25%;  max-width: 25%;}
.col-extraXS-4{-ms-flex: 0 0 33.333333%; flex: 0 0 33.333333%; max-width: 33.333333%;}
.col-extraXS-5{-ms-flex: 0 0 41.666667%; flex: 0 0 41.666667%; max-width: 41.666667%;}
.col-extraXS-6{-ms-flex: 0 0 50%; flex: 0 0 50%; max-width: 50%;}
.col-extraXS-7{-ms-flex: 0 0 58.333333%;  flex: 0 0 58.333333%;  max-width: 58.333333%;}
.col-extraXS-8{-ms-flex: 0 0 66.666667%; flex: 0 0 66.666667%; max-width: 66.666667%;}
.col-extraXS-9{-ms-flex: 0 0 75%; flex: 0 0 75%; max-width: 75%;}
.col-extraXS-10{-ms-flex: 0 0 83.333333%; flex: 0 0 83.333333%; max-width: 83.333333%;}
.col-extraXS-11{-ms-flex: 0 0 91.666667%; flex: 0 0 91.666667%; max-width: 91.666667%;}
.col-extraXS-12{-ms-flex: 0 0 100%; flex: 0 0 100%; max-width: 100%;}



}

/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
	.modal-dialog{
		max-width:inherit;
	}
  .daterangepicker .drp-buttons .drp-selected {display: inline-block; margin-bottom: 0;}
  .daterangepicker .drp-buttons .cancelBtn{float: none;}
  .btn-title i:before{
    display: none;
  }
  .btn-title span{display: block;
    font-weight: normal;
    padding: 0 0.3rem;}
 }

/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) { ... }

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) { ... }

/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) { ... }