
/*A Grafica*/
section#timeline {
  position: relative;
  margin-top: 50px;
}

section#timeline h2 {
    text-align: center;
}

section#timeline:before {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  top: 75px;
  margin: 0 0 0 -1px;
  width: 2px;
  height: 100%;
  background: #000;
}
section#timeline article {
  width: 100%;
  margin: 0 0 20px 0;
  position: relative;
}
section#timeline article:after {
  content: '';
  display: block;
  clear: both;
}
section#timeline article div.inner {
  width: 40%;
  float: left;
  margin: 5px 0 0 0;
  border-radius: 6px;
}
section#timeline article div.inner span.date {
    display: block;
    width: 60px;
    height: 31px;
    position: absolute;
    top: 39px;
    left: 50%;
    margin: 0 0 0 -32px;
    background: #FFF;
}
section#timeline article div.inner span.date span {
  display: block;
  text-align: center;
}
section#timeline article div.inner span.date span.year {
  font-size: 21px;
  color: #cf661c;
}

section#timeline article div.inner p:after {
  content: '';
  position: absolute;
  top: 20px;
  right: -5px;
    width: 10px; 
      height: 10px;
  -webkit-transform: rotate(-45deg);
}
section#timeline article div.inner p {
    padding: 15px;
    margin: 0;
    font-size: 14px;
    background: #fff;
    left: 0;
    color: #656565;
    border-radius: 0 0 6px 6px;
    width: 22%;
    position: absolute;
    z-index: 1000;
}

section#timeline article:nth-child(2n+2) div.inner .icon-timeline:before {
    right: 7em;
    top: 52%;
    width: 27em;
    height: 2px;
    left: inherit;
}

section#timeline article div.inner .icon-timeline:before {
    left: 7em;
    top: 52%;
    width: 27em;
    height: 2px;
}

section#timeline article div.inner .icon-timeline:before {
    content: "";
    background: #cf661c;
    display: block;
    position: absolute;
}

section#timeline article:nth-child(2n+2) div.inner {
    float: right;
    text-align: -webkit-right;
}

section#timeline article:nth-child(0) {
    top: 0px;
}

section#timeline article:nth-child(2n+2) div.inner p {
    padding: 15px;
    margin: 0;
    font-size: 14px;
    background: #fff;
    right: 0;
    color: #656565;
    border-radius: 0 0 6px 6px;
    width: 22%;
    left: inherit;
    position: absolute;
    z-index: 1000;
}

section#timeline article:nth-child(2) div.inner {
    width: 40%;
    float: left;
    text-align: -webkit-left;
    margin: 5px 0 0 0;
    border-radius: 6px;
}

section#timeline article:nth-child(2) div.inner p {
    padding: 15px;
    margin: 0;
    font-size: 14px;
    background: #fff;
    left: 0;
    color: #656565;
    border-radius: 0 0 6px 6px;
    width: 22%;
    position: absolute;
    z-index: 1000;
}

section#timeline article:nth-child(2) div.inner .icon-timeline:before {
    left: 7em;
    top: 52%;
    width: 27em;
    height: 2px;
}

section#timeline article:nth-child(8) div.inner {
    float: left;
    text-align: -webkit-right;
}

section#timeline article:nth-child(8) div.inner p {
    padding: 15px;
    margin: 0;
    font-size: 14px;
    background: #fff;
    left: 19%;
    color: #656565;
    border-radius: 0 0 6px 6px;
    width: 22%;
    right: inherit;
    position: absolute;
}

section#timeline article:nth-child(8) div.inner .icon-timeline:before {
    left: 33em;
    top: 53%;
    width: 5em;
    height: 2px;
    right: inherit;
}



section#timeline article:nth-child(3) div.inner {
    float: right;
    text-align: left;
}

section#timeline article:nth-child(3) div.inner p {
   padding: 15px;
    margin: 0;
    font-size: 14px;
    background: #fff;
    right: inherit;
    color: #656565;
    border-radius: 0 0 6px 6px;
    width: 22%;
    left: inherit;
    position: absolute;
}

section#timeline article:nth-child(3) div.inner .icon-timeline:before {
    right: 33em;
    top: 53%;
    width: 5em;
    height: 2px;
    left: inherit;
}

section#timeline article:nth-child(4) div.inner {
    float: left;
    text-align: -webkit-right;
}

section#timeline article:nth-child(4) div.inner p {
    padding: 15px;
    margin: 0;
    font-size: 14px;
    background: #fff;
    left: 19%;
    color: #656565;
    border-radius: 0 0 6px 6px;
    width: 22%;
    right: inherit;
    position: absolute;
}

section#timeline article:nth-child(4) div.inner .icon-timeline:before {
    left: 33em;
    top: 53%;
    width: 5em;
    height: 2px;
    right: inherit;
}

section#timeline article:nth-child(5) div.inner {
    float: right;
    text-align: -webkit-right;
}

section#timeline article:nth-child(5) div.inner p {
    padding: 15px;
    margin: 0;
    font-size: 14px;
    background: #fff;
    right: 0;
    color: #656565;
    border-radius: 0 0 6px 6px;
    width: 22%;
    left: inherit;
    position: absolute;
    z-index: 1000;
}

section#timeline article:nth-child(5) div.inner .icon-timeline:before {
    right: 7em;
    top: 52%;
    width: 27em;
    height: 2px;
    left: inherit;
}

section#timeline article:nth-child(7) div.inner {
    float: right;
    text-align: left;
}

section#timeline article:nth-child(7) div.inner p {
   padding: 15px;
    margin: 0;
    font-size: 14px;
    background: #fff;
    right: inherit;
    color: #656565;
    border-radius: 0 0 6px 6px;
    width: 22%;
    left: inherit;
    position: absolute;
}

section#timeline article:nth-child(7) div.inner .icon-timeline:before {
    right: 33em;
    top: 53%;
    width: 5em;
    height: 2px;
    left: inherit;
}

section#timeline article:nth-child(6) div.inner {
    width: 40%;
    float: left;
    text-align: -webkit-left;
    margin: 5px 0 0 0;
    border-radius: 6px;
}

section#timeline article:nth-child(6) div.inner p {
    padding: 15px;
    margin: 0;
    font-size: 14px;
    background: #fff;
    left: 0;
    color: #656565;
    border-radius: 0 0 6px 6px;
    width: 22%;
    position: absolute;
    z-index: 1000;
}

section#timeline article:nth-child(6) div.inner .icon-timeline:before {
    left: 7em;
    top: 52%;
    width: 27em;
    height: 2px;
}

.ident-home {
    text-align: -webkit-center;
    margin-top: 150px;
}

.x-agrafica .col-md-6 {
    padding: 0;
}

.x-agrafica p {
    padding-right: 70px;
    line-height: 31px;
    padding-top: 20px;
}

.sobre-grafica h2 {
  text-align: center;
  padding-top: 30px;
}

.sobre-grafica h2 span  {
  color: #cf661c;
}
.politica {
    margin-top: 40px;
}
section.politica > div > div > h2{
    text-align: center;
}

/*mobile*/
@media (max-width: 780px) {
  section#timeline:before {
    display: none;
  }

  section#timeline article div.inner .icon-timeline:before { 
    display: none;
  }

  .icon-timeline img {
    display: none;
  }

  #timeline article {
    width: 100%;
    margin: 0;
    position: relative;
  }

  section#timeline article div.inner {
    text-align: -webkit-center;
    width: 100%;
  }

  section#timeline article div.inner span.date {
    display: block;
    height: auto;
    width: inherit;
    position: relative;
    top: 0;
    left: 0;
    margin: 0;
    right: 0;
    background: #FFF;
  }

  section#timeline article div.inner p {
    padding: 0 !important;
    margin: 0 !important;
    font-size: 14px;
    background: #fff;
    left: 0 !important;
    right: 0 !important;
    color: #656565;
    text-align: center;
    border-radius: 0;
    width: 100% !important;
    position: relative !important;
  }
}

/*End mobile*/
/*End A Grafica*/