body {
    background: #fff;
    font-family: 'Open Sans',sans-serif;
    color: #4e4e4e;
    line-height: 22px;
}

body>section {
    padding: 50px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600; 
  font-family: 'Open Sans', sans-serif;
  color:#4e4e4e;
}

h1{
  font-size: 36px;
  color:#fff;
}

h2{
  font-size: 20px;
}

h3{
  font-size: 16px;
  color: #787878;
  font-weight: 400;
  line-height: 24px;
}

h4{
  font-size: 16px;
}

a {
    color: #c52d2f;
    -webkit-transition: color 300ms, background-color 300ms;
    -moz-transition: color 300ms, background-color 300ms;
    -o-transition:  color 300ms, background-color 300ms;
    transition:  color 300ms, background-color 300ms;
}

a:hover, a:focus {
    color: #d43133;
    text-decoration: none;
    outline: none;
}

/*.btn-primary {
  padding: 8px 20px;
  background: #c52d2f;
  color: #fff;
  border-radius: 4px;
  border:none;
  margin-top: 10px;
}


.btn-primary:hover, 
.btn-primary:focus{
  background: #c52d2f;
  outline: none;
  box-shadow: none;
} */

.btn-transparent {
  border: 3px solid #fff;
  background: transparent;
  color: #fff;
}

.btn-transparent:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.img-responsive, .thumbnail>img, .thumbnail a>img/*, .carousel-inner>.item>img, .carousel-inner>.item>a>img */{
    display: block;
    width: 100% \9;
    max-width: 100%;
    height: auto;
}

img {
    border: 0 none;
    display: inline-block;
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}

.thumbnail-slide{
  padding: 4px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.center {
  text-align: center;
  padding-bottom: 55px;
}

.scaleIn {
  -webkit-animation-name: scaleIn;
  animation-name: scaleIn;
}

.lead{
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.transparent-bg {
  background-color: transparent !important;
  margin-bottom: 0;
}

@-webkit-keyframes scaleIn {
  0% {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes scaleIn {
  0% {
    opacity: 0;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
  }

100% {
    opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
  }
}


.center h2{
  font-size: 30px;
  margin-top: 0;
  margin-bottom: 20px;
}

.media>.pull-left{
  margin-right: 20px;
}

.media>.pull-right{
  margin-left: 20px;
}


.fa-3 {
    font-size: 3em !important;
}


.equal, .equal > div[class*='col-'] {
    display: -webkit-flex;
    display: flex;
    flex: 1 1 auto;
}

.row {
    margin-left: 0px;
    margin-right: 0px;
}


/* HEADER */

.top-bar {
    padding: 5px 0;
    background: #272727;
    /*background: white;*/
    border-bottom: 1px solid #3a7cb6;
    line-height: 28px;
}

.top-number {
	text-align: left;
  color: #fff;
}

.social {
    text-align: right;
}

.social-share {
    display: inline-block;
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.social-share li {
    display: inline-block;
}

ul.social-share li a {
	padding: 3px 3px;
    display: inline-block;
    color: #fff;
    background: #404040;
    line-height: 15px;
    text-align: center;
    border-radius: 2px;
}

ul.social-share li a.facebook {
	background: #3a7cb6;
}

ul.social-share li a.facebook:hover {
	color: #404040;
}

ul.social-share li a:hover {
	color: #3a7cb6;
}


.navbar {
    width: 100%;
    border-radius: 0;
    margin-bottom: 0;
    background: #4f1d00;
    padding: 5px 0;
    min-height: 75px;
    border-bottom: 1px solid white !important;
}

.navbar-inverse {
    border: none;
}

.navbar-brand {
  float: none;
}

.navbar-toggle {

    min-height: 40px;
}

.navbar>.container .navbar-brand {
    margin-left: 0;
}

.navbar-inverse .navbar-brand {
    font-size: 36px;
    line-height: 50px;
    color: #fff;
}

.navbar-brand {
    padding: 0;
    margin: 0;
}


.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
    border-top: 0;
    padding-bottom: 0;
}

.navbar-nav {
    margin-top: 12px;
}

.navbar-nav>li {
    margin-left: 35px;
    padding: 5px 0 10px 0;
}

.navbar-inverse .navbar-nav>li>a {
    padding: 5px 12px;
    margin: 0;
    border-radius: 3px;
    color: #fff;
    line-height: 24px;
    display: inline-block;
}

.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:hover, .navbar-inverse .navbar-nav>.active>a:focus, .navbar-inverse .navbar-nav>.open>a, .navbar-inverse .navbar-nav>.open>a:hover, .navbar-inverse .navbar-nav>.open>a:focus {
    background-color: #3a7cb6;
    color: #fff;
}


.navbar-inverse .navbar-nav>li>a:hover {
    background-color: #3a7cb6;
    color: #fff;
}

.navbar-inverse .navbar-nav .dropdown-menu {
    background-color: rgba(0,0,0,.85);
    -webkit-box-shadow: 0 3px 8px rgba(0,0,0,0.125);
    -moz-box-shadow: 0 3px 8px rgba(0,0,0,0.125);
    box-shadow: 0 3px 8px rgba(0,0,0,0.125);
    border: 0;
    padding: 0;
    margin-top: 10px;
    border-top: 0;
    border-radius: 0;
    left: 0;
}

.dropdown-menu {
    margin-top: -1px;
    min-width: 180px;
}

.navbar-inverse .navbar-nav .dropdown-menu>li>a {
    padding: 8px 15px;
    color: #fff;
}

.navbar-inverse .navbar-nav .dropdown-menu>li>a:hover {
    background-color: #404040;
    color: #fff;
}

.navbar-inverse .navbar-nav .dropdown-menu > li:last-child > a {
  border-radius: 0 0 3px 3px;
}

.navbar-inverse .navbar-nav .dropdown-menu > li.divider {
  background-color: transparent;
}

.navbar-inverse .navbar-collapse,
.navbar-inverse .navbar-form {
  border-top: 0;
  padding-bottom: 0;
}




/* carousel */
#slider-carousel {    
    border-bottom: 2px solid white !important;
    position: relative;
    background-color: #f4f6f7;
}

#quote-carousel 
{
  padding: 0 10px 30px 10px;
  margin-top: 30px 0px 0px;
}

/* Control buttons  */
#quote-carousel .carousel-control
{
  background: none;
  color: #adadad;
  font-size: 2.3em;
  text-shadow: none;
  margin-top: 30px;
  padding-top: 66px;
}
/* Previous button  */
#quote-carousel .carousel-control.left 
{
  left: 0px;
}
/* Next button  */
#quote-carousel .carousel-control.right 
{
  right: 0px !important;
}
/* Changes the position of the indicators */
#quote-carousel .carousel-indicators 
{
  right: 50%;
  top: auto;
  bottom: 0px;
  margin-right: -19px;
}
/* Changes the color of the indicators */
#quote-carousel .carousel-indicators li 
{
  background: #c0c0c0;
}
#quote-carousel .carousel-indicators .active 
{
  background: #3a7cb6;
}
#quote-carousel img
{
  width: 250px;
  height: 100px;
  border: 1px solid #dadada;  
}
/* End carousel */

.item blockquote {
    border-left: none; 
    margin: 0;
}

.item blockquote img {
    margin-bottom: 10px;
}

.item blockquote p:before {
    content: "\f10d";
    font-family: 'Fontawesome';
    float: left;
    margin-right: 10px;
}

#quote-carousel h2 {
  font-size: 20px;
}

/* NOTICIAS FACEBOOK */
#posts_facebook {    
    position: relative;
}

#posts_facebook .timeline-panel {
    width: 100%;
    float: left;
    border: 1px solid #d4d4d4;
    border-radius: 2px;
    padding: 20px 20px 10px 20px;
    position: relative;
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

#posts_facebook .timeline-heading {
    overflow: hidden;
}

#posts_facebook .timeline-title {
    margin-top: 0;
    color: inherit;
}

#posts_facebook .profile-photo {
    float: left;
    margin: 0 .5em 0 0;
}

#posts_facebook .profile-name {
    margin: 0;
    float: left;
    width: 85%;
}

#posts_facebook .time-ago {
    color: #999;
}


#posts_facebook .timeline-body {
    margin-bottom: 20px;
    height: 250px;
    overflow-y: auto;
}

#posts_facebook .post-message {
    margin: .8em 0;
}

#posts_facebook .post-content {
    background: #f6f7f9;
    border: 1px solid #d3dae8;
    overflow: hidden;
}

#posts_facebook .post-picture {
    width: 25%;
    float: left;
    margin: .5em;
}

#posts_facebook .post-link {
    color: #3a7cb6;
    text-decoration: none;
}

#posts_facebook .post-info {
    width: 65%;
    float: left;
    margin: .5em;
}

#posts_facebook .post-info-name {
    font-weight: bold;
}

#posts_facebook .post-info-description {
    color: #999;
}

#posts_facebook .timeline-footer {
    width: 100%;
    height: 30px;
    padding: 5px 0 0 0;
    border-top:1px solid #e5e5e5;
    color: #AFB4BD;
}

#posts_facebook .timeline-footer .center{
    padding: 0;
}

#posts_facebook .timeline-footer a {
    color: #AFB4BD;
    font-weight: 500;
    font-size: 1.3em;
}

#posts_facebook .timeline-footer i {
    color: #3a7cb6;
}




/* FOOTER */

footer {    
    position: relative;
    background-color: #272727;
    opacity: 0.9;
    color: #FAFAFA;
    border-top: 3px solid #3a7cb6;
}

footer .container {
    padding: 30px 0;
}

footer .heading {
  font-size:20px;
  font-weight: 550;
}

footer iframe {  
  overflow: hidden;
}

footer hr {   
    margin: 0;
    border-top: 1px solid #5e5e5e !important;
}

footer .copyright {
    margin:0;
    padding: 20px 0;
}

/* Empresa */
#main-empresa .lead{
  margin-top: 40px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  text-align: justify !important;
}

#main-empresa-historia {
  padding: 50px 0;
  position: relative;
}



#main-empresa-historia .sinlge-skill {
  background: #3a7cb6;
  border-radius: 100%;
  color: #FFFFFF;
  font-weight: bold;
  height: 160px;
  position: relative;
  width: 160px;
  text-transform: uppercase;
  overflow: hidden;
  margin-top: 30px;
  margin-left: 25%;
}

#main-empresa-historia .sinlge-skill p {
  color: #FFFFFF;
  font-size: 16px;
}

#main-empresa-historia .contain-skill, 
#main-empresa-historia .contain-skill-op {
  position: absolute;
  height: 100%;
  bottom: 0;
  width:100%;
  border-radius: 100%;
  padding: 65px 0;
  text-align: center;
}

#main-empresa-historia .contain-skill-op {
  padding: 60px 0;
}


#main-empresa-objetivos {
  padding: 50px 0;
  border-top: 1px solid #e5e5e5 !important;
  border-bottom: 1px solid #e5e5e5 !important;
  position: relative;
  background-color: #f4f6f7;
}


#main-empresa-valores {
  padding: 50px 0;
  position: relative;
}

#main-empresa-valores .nav-tabs>li{
  margin-bottom: 0px;
  border-bottom: 1px solid #e6e6e6;
}

#main-empresa-valores .nav-tabs{
  border-bottom: transparent;
  border-right: 1px solid #e6e6e6;
}

#main-empresa-valores .nav-tabs>li>a {
  background: #f5f5f5;
  color: #666;
  border-radius: 0;
  border: 0 none;
  line-height: 24px;
  margin-right:0;
  padding: 13px 20px;
}

#main-empresa-valores .nav-tabs li:last-child{
  border-bottom: 0 none;
} 

#main-empresa-valores .nav-stacked>li+li{
  margin-top: 0;
}

#main-empresa-valores .nav-tabs>li>a:hover{
  background: #4f1d00;
  color:#fff;
}

#main-empresa-valores .nav-tabs>li.active>a, 
#main-empresa-valores .nav-tabs>li.active>a:hover, 
#main-empresa-valores .nav-tabs>li.active>a:focus {
  border: 0;
  color:#fff;
  background: #4f1d00;
  position: relative;
}

#main-empresa-valores .nav-tabs>li.active>a:after {
  position: absolute;
  content:  "";
  width: auto;
  height: auto;
  border-style:solid;
  border-color: transparent transparent transparent #4f1d00;
  border-width: 25px 22px;
  right: -44px;
  top:0;
}

#main-empresa-valores .tab-wrap{
  border:1px solid #e6e6e6;
  margin-bottom: 20px;
}

#main-empresa-valores .tab-content{
  padding: 20px;
}

#main-empresa-valores .tab-content h2{
  margin-top: 0;
}

#main-empresa-valores.tab-content img{
  border-radius: 4px;
}

#main-empresa-valores .nav-stacked>li+li{
  margin-top: 0;
}

#main-empresa-equipa {
  padding: 50px 0;
  border-top: 1px solid #e5e5e5 !important;
  border-bottom: 1px solid #e5e5e5 !important;
  position: relative;
  background-color: #f4f6f7;
}


#main-empresa-equipa .equipa-comments {
    background-image: url("../img/image_bg.png");
    background-position: center 55px;
    background-repeat: no-repeat;
    margin-bottom: 100px;
}

#main-empresa-equipa .equipa-comments img {
  background:#DDDDDD;
  border: 1px solid #DDDDDD;
  height: 122px;
  padding: 3px;
  width: 122px;
  transition: all 0.9s ease 0s;
  -moz-transition: all 0.9s ease 0s;
  -webkit-transition: all 0.9s ease 0s;
  -o-transition: all 0.9s ease 0s;
}

#main-empresa-equipa .equipa-comments h3 {
  margin-top: 55px;
  font-weight: 400;
  color: #4e4e4e;
  padding: 0 40px;
}

#main-empresa-equipa .equipa-comments h4 {
  font-weight: bold;
  margin-top: 15px;
}


#main-empresa-equipa .equipa-comments  h4  span {
  font-weight: bold;
  font-style: oblique;
}


/* Contactos */
#main-contactos .lead{
  margin-top: 40px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  text-align: justify;
}

#main-contactos p.body{
  font-size: 14px;
  font-weight: 400;
  text-align: left;
}

#main-contactos .feature-wrap {
  margin: 0;
  vertical-align: middle;
}

#main-contactos .feature-wrap i{
  font-size: 20px;
  width: 50px;
  border-radius: 100%;
  line-height: 40px;
  text-align:center;
  background: #ffffff;
  color: #641d00;
  border: 3px solid #ffffff;
  box-shadow: inset 0 0 0 3px #f2f2f2;
  -webkit-box-shadow: inset 0 0 0 3px #f2f2f2;
  -webkit-transition: 500ms;
  -moz-transition: 500ms;
  -o-transition: 500ms;
  transition: 500ms;
}

#main-contactos .feature-wrap i:hover {
  background: #4f1d00;
  color: #fff;
  box-shadow: inset 0 0 0 3px #f2f2f2;
  -webkit-box-shadow: inset 0 0 0 3px #f2f2f2;
  border: 3px solid #4f1d00;
}

#mapa{
  width: 80%;
  height: 300px;
  border: solid 1px #3a7cb6;
  margin: 0 auto;
}


#main-contactos-nos {
  border-top: 1px solid #e5e5e5 !important;
  border-bottom: 1px solid #e5e5e5 !important;
  position: relative;
  background-color: #f4f6f7;
}

#main-contactos-nos .btn-primary{
  font-size: 14px;
}


/* Serviços */
#main-servicos .lead{
  margin-top: 40px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  text-align: justify !important;
}


#main-servicos .nav-tabs>li{
  margin-bottom: 0px;
  border-bottom: 1px solid #e6e6e6;
}

#main-servicos .nav-tabs{
  border-bottom: transparent;
  border-right: 1px solid #e6e6e6;
}

#main-servicos .nav-tabs>li>a {
  background: #f5f5f5;
  color: #666;
  border-radius: 0;
  border: 0 none;
  line-height: 24px;
  margin-right:0;
  padding: 13px 20px;
}

#main-servicos .nav-tabs li:last-child{
  border-bottom: 0 none;
} 

#main-servicos .nav-stacked>li+li{
  margin-top: 0;
}

#main-servicos .nav-tabs>li>a:hover{
  background: #4f1d00;
  color:#fff;
}

#main-servicos .nav-tabs>li.active>a, 
#main-servicos .nav-tabs>li.active>a:hover, 
#main-servicos .nav-tabs>li.active>a:focus {
  border: 0;
  color:#fff;
  background: #4f1d00;
  position: relative;
}

#main-servicos .nav-tabs>li.active>a:after {
  position: absolute;
  content:  "";
  width: auto;
  height: auto;
  border-style:solid;
  border-color: transparent transparent transparent #4f1d00;
  border-width: 25px 22px;
  right: -44px;
  top:0;
}

#main-servicos .tab-wrap{
  border:1px solid #e6e6e6;
  margin-bottom: 20px;
  text-align: justify;
  background: white;
}

#main-servicos .tab-content{
  padding: 20px;
}

#main-servicos .tab-content h2{
  margin-top: 0;
}

#main-servicos.tab-content img{
  border-radius: 4px;
}

#main-servicos .nav-stacked>li+li{
  margin-top: 0;
}

#main-servicos-contabilidade {
  padding: 50px 0;
  position: relative;
}

#main-servicos-gestaofinanceira {
  padding: 50px 0;
  border-top: 1px solid #e5e5e5 !important;
  border-bottom: 1px solid #e5e5e5 !important;
  position: relative;
  background-color: #f4f6f7;
}

#main-servicos-gestaofinanceira .sinlge-skill {
  background: #4f1d00;
  border-radius: 100%;
  color: #FFFFFF;
  font-weight: bold;
  height: 160px;
  position: relative;
  width: 160px;
  overflow: hidden;
  margin-top: 30px;
  margin-left: 25%;
}

#main-servicos-gestaofinanceira .sinlge-skill p {
  color: #FFFFFF;
  font-size: 16px;
}

#main-servicos-gestaofinanceira .contain-skill, 
#main-servicos-gestaofinanceira .contain-skill-op {
  position: absolute;
  height: 100%;
  bottom: 0;
  width:100%;
  border-radius: 100%;
  padding: 65px 0;
  text-align: center;
}

#main-servicos-gestaofinanceira .contain-skill-op {
  padding: 60px 0;
}


#main-servicos-gestaopessoal {
  padding: 50px 0;
  position: relative;
}

#main-servicos-gestaoimobilizado {
  padding: 50px 0;
  border-top: 1px solid #e5e5e5 !important;
  border-bottom: 1px solid #e5e5e5 !important;
  position: relative;
  background-color: #f4f6f7;
}


#main-servicos-gestaoonline {
  padding: 50px 0;
  position: relative;
}

#main-servicos-consultadoriafiscal {
  padding: 50px 0;
  border-top: 1px solid #e5e5e5 !important;
  border-bottom: 1px solid #e5e5e5 !important;
  position: relative;
  background-color: #f4f6f7;
}

#main-servicos-consultadoriafiscal ul li{
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  text-align: justify !important;
}

#main-servicos-apoioadministrativo {
  padding: 50px 0;
  position: relative;
}

@media (max-width: 480px) {
    .img-logo {
        max-width: 70% !important;
    }

    #posts_facebook .timeline-footer, #posts_facebook .timeline-footer a {
      font-size: 1.0em;
    }

    .footer_agenda {
        display:none;
    }

    .media-body {
        display: inline-block;
    }

    .tab-wrap .media .parrent.pull-left, 
    .media.accordion-inner .pull-left{
      width: 90%;
    }
}

/**
  MEDIA QUERIES
*/

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) { 
    #quote-carousel 
    {
      margin-bottom: 0;
      padding: 0 40px 30px 40px;
      margin-top: 30px;
    }
    
}

/* Small devices (tablets, up to 768px) */
@media (max-width: 768px) { 
    
    /* Make the indicators larger for easier clicking with fingers/thumb on mobile */
    
    #quote-carousel .carousel-indicators {
        bottom: -20px !important;  
    }
    #quote-carousel .carousel-indicators li {
        display: inline-block;
        margin: 0px 5px;
        width: 10px;
        height: 10px;
    }
    #quote-carousel .carousel-indicators li.active {
        margin: 0px 5px;
        width: 12px;
        height: 12px;
    }

    #quote-carousel h2 {
        text-align: center;
    }

    #quote-carousel p {
        text-align: justify;
    }
}

/* LOGIN */

#login-modal .modal-dialog {
    max-width: 350px;
    margin:150px auto;
}

#login-modal input[type=text], input[type=password] {
  margin-top: 10px;
}


#login-modal .modal-backdrop.in {
    filter: alpha(opacity=50);
    opacity: .8;
}


#login-modal .modal-content {
    border: 1px solid #bdc3c7;
    border-radius: 0px;
    outline: 0;
}


#login-modal .modal-header {
    min-height: 16.43px;
    padding: 15px 15px 15px 15px;
    background-color: #ececec;
}

#login-modal .login-header {
    font-size: 18px;
    font-weight: bold;
}


#login-modal .modal-body {
    position: relative;
    padding: 5px 15px 5px 15px;
}


#login-modal .modal-footer {
    padding: 10px 10px 10px 10px;
    text-align: left;
    border-top: 0px;
}

#login-modal .btn {
    border-radius: 0px;
    font-size: 14px;
}


#login-modal .btn:focus,

#login-modal .btn:active:focus,

#login-modal .btn.active:focus,

#login-modal .btn.focus,

#login-modal .btn:active.focus,

#login-modal .btn.active.focus {
    outline: none;
}


#login-modal .btn-lg, 
#login-modal .btn-group-lg>.btn {
    border-radius: 0px;
}


#login-modal .btn-link {
    padding: 5px 10px 0px 0px;
    color: #95a5a6;
}


#login-modal .btn-link:hover, 
#login-modal .btn-link:focus {
    color: #d43133;
    text-decoration: none;
}

#login-modal .form-control {
  border-radius: 0px;
}
