.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.apdf {
  color: #5D6975;
  text-decoration: underline;
}

.select2-container {
  width: 100% !important;
}

.descSerch {
  display: flex !important;
  position: fixed !important;
  min-height: 300px;
  width: 350px;
}

.listnone .btn:hover {
  color: #007bff;
}

.bodypdf {
  position: relative;
  margin: 0 auto;
  color: #001028;
  background: #FFFFFF;
  font-family: Arial, sans-serif;
  font-size: 12px;
  width: 100%;
  font-family: Arial;
}

.descSerchBody {
  display: none;
}

.descSerchBody.visible {
  display: block;
}

/* "visible" class is toggled by JS */
.hoja {
  padding-top: 40px;
}

.hojaPrim, .hoja {
  background-image: url(../../images/plantilla/bg_pdf.png);
  background-repeat: no-repeat;
  background-size: cover;
  height: 10in;
  position: relative;
}

. .headerpdf {
  padding: 10px 0;
  margin-bottom: 30px;
}

#images .photo img, #photo2 img {
  width: 130px;
  margin: 5px;
}

#logo {
  margin-bottom: 10px;
  display: inline-block;
}

#texthead {
  vertical-align: middle;
  display: inline-block;
  text-align: right;
  margin-right: 10px;
  font-size: 40px;
  font-weight: bold;
}

#logo .imgpdf {
  width: 256px;
}

.imgnot {
  height: 350px;
}

.h1pdf, .h1pdf2 {
  color: #5D6975;
  font-size: 1em;
  line-height: 2.4em;
  float: right !important;
  font-weight: normal;
  text-align: right;
  width: 100%;
  padding: 0 20px 0 20px;
  margin-top: -20px;
}

#project {
  float: left;
  margin-top: -60px;
}

#project span {
  color: #5D6975;
  width: 52px;
  margin-right: 10px;
  display: inline-block;
  font-size: 0.7em;
}

#project a {
  font-size: 0.7em;
}

#project div {
  margin-top: -5px;
  margin-right: 10px;
}

#company, #companyinfo, #companyinfo2 {
  float: right;
  text-align: right;
  margin-right: 20px;
}

#companyinfoxx {
  text-align: left;
  margin-right: 20px;
  position: absolute;
  bottom: 0;
  width: 100%;
}

.foot {
  position: static;
  top: 100px;
}

#companyinfo img {
  width: 180px;
  position: absolute;
  margin-top: -115px;
  margin-left: -180px;
  z-index: 0;
  opacity: .5;
}

.leyenda {
  /*  position: relative; */
  /* border: 1px solid #C1CED9; */
  padding: 5px;
  font-size: 9px;
  /* height: 72px; */
  /* width: 50%; */
  text-align: center;
  /* float: left;*/
}

#companyinfo2 #drcdt {
  border-right: 3px solid #007bff;
  border-left: 3px solid #007bff;
  padding-left: 10px;
  font-size: 10px;
  padding-right: 20px;
  background: url(../../images/plantilla/dimension.png);
}

#company #idcotGen,
#company div {
  font-size: 0.9em;
  white-space: nowrap;
}

.tablepdf, .tablepdf2 {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin-bottom: 20px;
}

.tablepdf tr, .tablepdf2 tr {
  height: 26px;
}

.tablepdf th,
.tablepdf td, .tablepdf2 th,
.tablepdf2 td {
  text-align: center;
}

.blank {
  /*height: 8in;*/
  z-index: 100;
}

.tablepdf th, .tablepdf2 th {
  padding: 5px 20px;
  color: #fff;
  background: #007bff;
  border-bottom: 1px solid #C1CED9;
  white-space: nowrap;
  font-size: 10px;
  font-weight: normal;
}

#dropper {
  width: 20px;
  vertical-align: middle;
  cursor: move;
}

.tablepdf .unit,
.tablepdf .qty,
.tablepdf .total,
.tablepdf .desc, .tablepdf2 .unit,
.tablepdf2 .qty,
.tablepdf2 .total,
.tablepdf2 .desc {
  text-align: center;
}

.tablepdf .service, .tablepdf2 .service {
  text-align: left;
}

.tablepdf td, .tablepdf2 td {
  border-left: 1px solid #C1CED9;
  ;
  border-right: 1px solid #C1CED9;
  ;
  padding: 5px;
  text-align: right;
  font-size: 12px;
}

.tablepdf td.service,
.tablepdf td.desc, .tablepdf2 td.service,
.tablepdf2 td.desc {
  vertical-align: top;
}

.tablepdf td.grand, .tablepdf2 td.grand {
  border-top: 1px solid #5D6975;
  ;
}

#notices .notice {
  color: #5D6975;
  font-size: 10px;
}

#noticess .notice {
  color: #5D6975;
  font-size: 10px;
}

#notices {
  border: 1px solid #C1CED9;
  padding: 10px;
  font-size: 9px;
  min-height: 100px;
  /* width: 50%; */
}
}

#noticess {
  position: relative;
  border: 1px solid #C1CED9;
  ;
  padding: 10px;
  float: left;
  font-size: 9px;
  height: 172px;
  width: 100%;
}