:root{
  --container: 960px;
  --gap: 16px;
  --text: #111;
  --muted: #666;
  --border: #e6e6e6;
}

*{ box-sizing: border-box; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.site-header{
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: var(--gap);
}
.site-logo{
  font-weight: 700;
  text-decoration: none;
  color: inherit;
}

.menu{
  list-style:none;
  display:flex;
  gap: 14px;
  margin: 0;
  padding: 0;
}
.menu a{
  text-decoration:none;
  color: inherit;
}
.menu a:hover{ text-decoration: underline; }

.site-main{ padding: 28px 0; }

.post-card{
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  margin: 0 0 14px;
}
.post-card__title{ margin: 0 0 6px; }
.post-card__meta{ color: var(--muted); font-size: 14px; }

.content img{ max-width: 100%; height: auto; }

.site-footer{
  border-top: 1px solid var(--border);
  padding: 18px 0;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: var(--gap);
  flex-wrap: wrap;
}
.site-credit{ margin: 0; color: var(--muted); font-size: 14px; }

.pagination{ margin-top: 18px; }

@media (max-width: 640px){
  .menu{ flex-wrap: wrap; }
}


/*FOOTER STYLES*/
.wrapper-map { margin-top: 24px; }

.site-footer { border-top: 1px solid var(--border); padding: 18px 0; }
.footer-inner { display:flex; gap: var(--gap); justify-content: space-between; flex-wrap: wrap; }
.footer-sitemap { min-width: 240px; }
.footer-bottom { display:flex; justify-content: space-between; align-items:center; gap: var(--gap); flex-wrap: wrap; padding-top: 12px; }
.footer-credit { text-decoration:none; }
.footer-credit:hover { text-decoration: underline; }

/*Theme Name: wp-bootstrap
Theme URI: http://320press.com/wpbs
Description: A simple responsive theme based on the Bootstrap framework. Includes multiple page templates, two different sidebars and a theme options panel.Version: 2.1
Author: 320press
Author URI: http://320press.comTags: black, white, one-column, two-columns, flexible-width, custom-background, custom-colors, custom-menu, full-width-template, theme-options
License: GNU General Public License v2.0 & Apache License 2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html http://www.apache.org/licenses/LICENSE-2.0
*/

/** jQuery FlexSlider v2.2.0
* http://www.woothemes.com/flexslider/ *
* Copyright 2012 WooThemes * 

Free to use under the GPLv2 license.

* http://www.gnu.org/licenses/gpl-2.0.html *
* Contributing author: Tyler Smith (@mbmufffin) */

/* Browser Resets*********************************/
.flex-container a:active, .flexslider a:active, .flex-container a:focus, .flexslider a:focus {
	outline: none;
}
.slides, .flex-control-nav, .flex-direction-nav {
	margin: 0;
	padding: 0;
	list-style: none;
}/* Icon Fonts*********************************//* Font-face Icons */
@font-face {
	font-family: 'flexslider-icon';
	src: url('fonts/flexslider-icon.eot');
	src: url('fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'), url('fonts/flexslider-icon.woff') format('woff'), url('fonts/flexslider-icon.ttf') format('truetype'), url('fonts/flexslider-icon.svg#flexslider-icon') format('svg');
	font-weight: normal;
	font-style: normal;
}/* FlexSlider Necessary Styles*********************************/
.flexslider {
	margin: 0;
	padding: 0;
}
.flexslider .slides > li {
	display: none;
	-webkit-backface-visibility: hidden;
} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {
	width: 100%;
	display: block;
}
.flex-pauseplay span {
	text-transform: capitalize;
}/* Clearfix for the .slides element */
.flex-direction-nav a.flex-next:before {
	content: '\0020';
}
.slides:after {
	content: "\0020";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
html[xmlns] .slides {
	display: block;
}
* html .slides {
	height: 1%;
}/* No JavaScript Fallback *//* If you are not using another script, such as Modernizr, make sure you * include js that eliminates this class on page load */
.no-js .slides > li:first-child {
	display: block;
}
body {
	overflow-x: hidden;
	font-family: "Open Sans",sans-serif;
}/* FlexSlider Default Theme*********************************/
.flexslider {
	margin: 0;
	background: #581414;
	position: relative;
}
.flex-viewport {
	max-height: 2000px;
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;
}
.loading .flex-viewport {
	max-height: 300px;
}
.flexslider .slides {
	zoom: 1;
}
.carousel li {
	margin-right: 5px;
}
.foto_post {
	float: left;
	max-width: 50%;
	margin: 0 3% 1% 0;
	text-align: center;
}/* Direction Nav */
.flex-direction-nav {
*height: 0;
}
.flex-direction-nav a {
	display: block;
	width: 40px;
	height: 40px;
	margin: -20px 0 0;
	position: absolute;
	top: 49%;
	z-index: 10;
	overflow: hidden;
	opacity: 0;
	cursor: pointer;
	color: rgba(0,0,0,0.8);
	text-shadow: 1px 1px 0 rgba(255,255,255,0.3);
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	transition: all .3s ease;
}
.flex-direction-nav .flex-prev {
	left: 16.3%;
	background: url(images/control_prev.png) no-repeat center center;
	height: 40px;
	width: 40px;
	background-size: cover;
}
.flex-direction-nav .flex-next {
	right: 17.3%;
	text-align: right;
}
.flexslider:hover .flex-prev {
	opacity: 0.7;
	left: 15.3%;
}
.flexslider:hover .flex-next {
	opacity: 0.7;
	right: 16.3%;
}
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {
	opacity: 1;
}
.flex-direction-nav .flex-disabled {
	opacity: 0!important;
	filter: alpha(opacity=0);
	cursor: default;
}
.flex-direction-nav a:before {
	display: inline-block;
	background: url(images/control_nex.png) no-repeat center center;
	height: 40px;
	width: 40px;
	background-size: cover;
}/* Pause/Play */
.flex-pauseplay a {
	display: block;
	width: 20px;
	height: 20px;
	position: absolute;
	bottom: 5px;
	left: 10px;
	opacity: 0.8;
	z-index: 10;
	overflow: hidden;
	cursor: pointer;
	color: #000;
}
.flex-pauseplay a:before {
	font-family: "flexslider-icon";
	font-size: 20px;
	display: inline-block;
	content: '\f004';
}
.flex-pauseplay a:hover {
	opacity: 1;
}
.flex-pauseplay a.flex-play:before {
	content: '\f003';
}/* Control Nav */
.flex-control-nav {
	display: none;
}
.flex-control-nav li {
	margin: 0 6px;
	display: inline-block;
	zoom: 1;
*display: inline;
}
.flex-control-paging li a {
	width: 11px;
	height: 11px;
	display: block;
	background: #666;
	background: rgba(0,0,0,0.5);
	cursor: pointer;
	text-indent: -9999px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	-o-border-radius: 20px;
	border-radius: 20px;
	-webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
	-moz-box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
	-o-box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
	box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
}
.flex-control-paging li a:hover {
	background: #333;
	background: rgba(0,0,0,0.7);
}
.flex-control-paging li a.flex-active {
	background: #000;
	background: rgba(0,0,0,0.9);
	cursor: default;
}
.flex-control-thumbs {
	margin: 5px 0 0;
	position: static;
	overflow: hidden;
}
.flex-control-thumbs li {
	width: 25%;
	float: left;
	margin: 0;
}
.flex-control-thumbs img {
	width: 100%;
	display: block;
	opacity: .7;
	cursor: pointer;
}
.flex-control-thumbs img:hover {
	opacity: 1;
}
.flex-control-thumbs .flex-active {
	opacity: 1;
	cursor: default;
}

/* micro clearfix: http://nicolasgallagher.com/micro-clearfix-hack/ *//* For modern browsers */
.clearfix:before, .clearfix:after {
	content: "";
	display: table;
}
.clearfix:after {
	clear: both;
}/* For IE 6/7 (trigger hasLayout) */
.clearfix {
	zoom: 1;
}/* wp-specific classes */
.wp-caption {
}
.wp-caption-text {
}
.sticky {
}
.gallery-caption {
}/* layout */
body {
	padding-top: 0;
}/* Admin Top Navigation fixes */
body.admin-bar .navbar-fixed-top {
	top: 28px;
}
.navbar .brand {
	color: #000 !important;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 30px rgba(255, 255, 255, 0.125);
	font-weight: bold !important;
	padding: 30px 20px 30px;
}
.nav-container {
	padding-left: 0;
	padding-right: 0;
}
#inner-header {
	width: 100%;
}
input, textarea, select, .uneditable-input {
	margin-bottom: 0;
}
.navbar-form, .navbar-search {
	margin: 0 0 9px;
}
.navbar-search {
	padding-left: 0;
}
#s {
	width: 100px;
}
#content {
	padding: 0px 0 0;
}
.more-link {
	white-space: nowrap;
}
.footer-links {
	float: left;
	margin-bottom: 18px;
}
.footer-links .menu {
	list-style-type: none;
	font-family: "Georgia", arial;
	font-weight: 300;
	color: #c3c3c3;
	margin-left: 0;
}
.footer-links .menu li {
	float: left;
	margin-right: 10px;
}/* post styling */
#main p.meta {
	font-style: italic;
	color: #808080;
}
.sidebar {
	margin-top: 18px !important;
}
#main article footer {
	border-top: none;
	margin-top: 0;
	padding-top: 0;
	position: relative;
	min-height: 20px;
}
#main article footer a.edit-post {
	position: absolute;
	right: 0;
	top: 0;
	display: none;
}
.post:hover a.edit-post {
	display: inline;
}
p.tags {
	line-height: 20px;
}
div[id*='attachment_'] {
	max-width: 100%;
	height: 100%;
}
#credit320 {
	background: url('images/meeting_logo.png') no-repeat left top transparent;
	padding: 20px 25px 0;
}
#main .hero-unit img {
	margin-bottom: 1em;
}
#main article img {
	height: auto;
	max-width: 100% !important;
}
img.alignleft {
	margin-right: 10px;
	float: left;
}
img.alignright {
	margin-left: 10px;
	float: right;
}
img.aligncenter {
	display: block;
	margin: 0 auto;
}
.post header img {
	margin-bottom: 18px;
}
.archive #main .post h3 {
	line-height: 24px;
	margin-bottom: 10px;
}
video {
	max-width: 100%;
	height: auto;
}
.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}
.video-container iframe, .video-container object, .video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.video-wrapper {
	width: 630px;
	max-width: 100%;
	margin-bottom: 18px;
}/* page styling */
#featured-carousel .item {
	width: 970px;
	height: 600px;
}
.carousel-caption p {
	display: none;
}
.page-template-page-homepage-php #main article {
	border-bottom: none;
}
.page-template-page-homepage-php .hero-unit, .blog .hero-unit {
	padding: 1em;
}/* comments */
.lead {
	line-height: 25px;
}
p.firma {
	border-bottom: #d2d2d2 solid 1px;
	padding-bottom: 30px;
	margin-bottom: 40px
}
ul.cv {
	list-style-type: none!important;
	list-style-image: none!important;
	padding: 0;
	margin: 0 0 10px 0
}
ul.cv li {
	margin-bottom: 6px;
}
div.c2 {
	margin-top: 30px;
}
#comments {
	line-height: 24px;
	margin-bottom: 18px;
}
ol.commentlist, ol.commentlist ul.children {
	list-style-type: none;
	margin-left: 0;
}
.comment .vcard div {
	margin-top: 8px;
	padding: 0 10px;
}
ol.commentlist time {
	font-size: .8em;
	color: #eeeeee;
}
ol.commentlist div.comment-author {
	position: relative;
}
ol.commentlist a.comment-edit-link {
	color: #ffffff;
	text-decoration: none;
	padding-left: 5px;
}
ol.commentlist span.edit-comment {
	position: absolute;
	right: 0;
	top: 8px;
}
ol.commentlist li.bypostauthor {
	background-color: #dddddd;
}
ol.commentlist ul.children li {
	background-color: #cccccc;
}
ol.commentlist ul.children li ul.children li {
	background-color: #bbbbbb;
}
ol.commentlist ul.children li ul.children li ul.children li {
	background-color: #aaaaaa;
}
ol.commentlist article {
	border-bottom: none !important;
}
a.comment-reply-link {
	position: absolute;
	right: 0;
	bottom: 0;
}
#comment-nav ul {
	list-style-type: none;
	margin: 0;
}
#comment-form-elements {
	list-style-type: none;
	margin: 0;
}
.comment .vcard .avatar {
	padding-right: 0;
}
.comment .vcard .comment-text {
	margin-left: 0;
}
img.avatar {
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #dedede;
	border-right: 1px solid #dedede;
	border-left: 1px solid #ddd;
}
ol.commentlist li {
	padding-right: 10px;
	background-color: #F0F0F0;
}
#pings {
	margin-bottom: 9px;
}
ol.pinglist {
	list-style-type: none;
	margin: 0 0 9px 0;
}
#comment {
	width: 270px;
}
ol.commentlist #respond {
	padding: 5px 10px;
}/* specific post-type styles *//* image attachment */
.attachment #main .post_content img {
	max-width: 100%;
}
.ie8 #main .media-grid img {
	max-height: none !important;
	max-width: none !important;
}
.attachment-img {
	margin-bottom: 18px;
}
.metadata p.alert-message {
	margin-right: 0;
	margin-bottom: 18px;
}
#gallery-nav {
	list-style-type: none;
	margin-left: 0;
}
li.next a, li.previous a {
	position: relative;
}
li.next a:hover:before {
	content: "\2190";
	position: absolute;
	display: block;
	top: 42%;
	left: 0;
	background-color: #BFBFBF;
	color: #444;
	width: 20px;
	height: 20px;
	padding-left: 5px;
	text-decoration: none;
	box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
}
li.previous a:hover:before {
	content: "\2192";
	position: absolute;
	display: block;
	top: 42%;
	right: 0;
	background-color: #BFBFBF;
	color: #444;
	width: 20px;
	height: 20px;
	padding-left: 5px;
	text-decoration: none;
	box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
}/* widget styles */
.widget {
	margin-bottom: 18px;
}
.widgettitle {
	margin-bottom: 9px;
}
#tag-cloud {
	margin-bottom: 18px;
	line-height: 160%;
}/* for some reason the bs version currently available for download doesn't have this style */
.label {
	text-transform: uppercase;
}/* override standard link hover for the tag cloud widget */
#tag-cloud a:hover, .tags a:hover {
	color: #ffffff;
	text-decoration: none;
}
#tag-cloud a {
	white-space: pre;
	text-transform: uppercase;
}/* change default form padding for search */
.widget_search form {
	padding-left: 0;
}
.widget_search input {
	width: 121px;
}/* calendar widget */
#calendar_wrap {
	border: 1px solid #ddd;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	padding: 5px;
}
#wp-calendar {
	width: 100%;
}
#wp-calendar caption {
	font-weight: bold;
	padding: 8px;
}
#wp-calendar tr {
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}
#wp-calendar tr:last-child {
	border-bottom: none;
}
#wp-calendar td {
	text-align: center;
	padding: 8px 0;
}
blockquote.pull-left {
	padding-right: 15px;
}
.rojo {
	background: #581414;
}
#rojo {
	background: #a12d2d;
}
#rojo h1 {
	color: white;
	text-align: center;
	font-weight: normal;
	marging: 0 1%;
}
.rojo h1 {
	color: #fff;
	text-align: center;
	font-size: 36px;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	margin-top: 17px;
	line-height: 45px;
	margin-bottom: 20px;
}
#rojo p {
	color: pink;
	text-align: center;
	font-weight: normal;
}
.rojo p {
	color: #f06c6c;
	text-align: center;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	font-size: 18px;
	margin-bottom: 25px;
}
.rojo p span {
	color: white;
	font-family: "Georgia", arial, sans-serif;
	font-size: 16px;
	line-height: 25px;
}
#rojo .hero-unit {
	padding-right: 10%;
	padding-left: 10%;
}
.rojo .hero-unit {
	max-width: 970px;
	margin: 0 auto;
	padding-bottom: 25px;
}
#rojo center {
	margin-top: 50px;
}
#rojo center {
	margin-top: 50px;
}
#txt_rojo {
	color: #a12d2d;
}
.txt_italic {
	font-style: italic;
}
#txt_rojo, span.current {
	color: #a12d2d;
}
#txt_gray, a.page smaller {
	color: #8a8a8a;
	font-family: "Georgia", arial;
	font-size: 16px;
	line-height: 25px;
	font-weight: normal
}
h2#txt_rojo {
	font-weight: 700;
	text-transform: uppercase;
	font-family: 'Open Sans', sans-serif;
	font-size: 30px;
	margin: 5px 0 30px 0;
}
p.t_menu {
	font-weight: 900;
	margin: 15px 0px 0;
	text-transform: uppercase;
	color: #FFF;
}
.attribution {
	margin: 10px 0 0;
	color: #CCC;
}
.footer-links a {
	color: #CCC;
}

.wrapper-map{
	margin-top: 50px;
}

.home .wrapper-map{
	margin-top: 0px;
}

footer {
	margin-top: 0px;	
	background: #464646 url(images/bgFooter.jpg) repeat-x left bottom;
}
#menu-header .menu_contacto {
	background: url(images/contacto.png) left center no-repeat;
	padding-left: 30px;
	margin-left: 18px;
}
#menu-header .menu_contacto a {
	color: #181818;
}
header.foto {
	color: white;
	padding: 113px 5% 0;
	position: relative;
	width: 100%;
	background-repeat: no-repeat;
	background-size: cover;
}

.page-header {
	margin: 0;
	background: #a12d2d;
	width: 243px;
	margin-left: 45px;
	margin-top: 2px;
}
.post_content {
	margin: 45px 5% 0;
}
.hero-unit {
	background: whitesmoke;
	display:none;
}
.home .hero-unit{
	display:block;
}

#rojo .hero-unit {
	background: #581414;
}
.rojo .hero-unit {
	background: #581414;
}
.left {
	text-align: left;
}
.center {
	text-align: center;
}
.post_content h1, .post_content h2, .post_content h3, .post_content h4, .post_content h5, .post_content h6, #txt_black {
	color: black;
	font-size: large;
}
.post_content ul {
	list-style-image: url('images/asterisco.png');
}
#tributario {
	background: url(images/tributario_ico.png) no-repeat left top;
	padding-left: 90px;
	min-height: 90px;
}
#laboral {
	background: url(images/laboral_ico.png) no-repeat left top;
	padding-left: 90px;
	min-height: 90px;
}
#contable {
	background: url(images/contable_ico.png) no-repeat left top;
	padding-left: 90px;
	min-height: 90px;
}
#tributario h2, #contable h2, #laboral h2 {
	margin-top: 0px;
	font-size: large;
	font-weight: bold;
}
wp-pagenavi a.page smaller {
	color: gray;
	text-align: center;
}
.centrado {
	width: 80%;
	padding: 0 10%;
}
.centra2 {
	width: 970px;
	margin: auto;
}
.centrado .span4 {
	margin: 0 0.85%;
}
.italica {
	font-style: italic;
}
.volver {
	font-style: italic;
	color: #a12d2d;
	background: url(images/prev.png) left center no-repeat;
	padding-left: 30px;
	padding-top: 10px;
	padding-bottom: 10px;
}
.nextpostslink, .previouspostslink {
	margin: 0 15px;
}
.slides {
	margin: 0 0 10px 0px;
}
.grafica {
	width: 12%;
	margin: 0 auto
}
.title, li .post_content {
	font-family: "Georgia", arial, sans-serif;
	font-weight: normal;
	font-size: 16px;
	line-height: normal;
	margin-bottom: 5px;
	color: black;
}
.pull-right, .pull-right:hover {
	color: #333;
}

h3.lead {
	margin-bottom: 0;
	margin-top: 0;
}
.slidercenter {
	top: 35%;
	text-align: center;
	position: absolute;
	width: 10%;
	color: white;
}
.slidercenter p span {
	text-transform: uppercase;
	font-size: 0.7em;
}
.slidercenter p {
	font-weight: normal;
	font-size: 1.17em;
}
.redonda {
	border-radius: 50%;
}
.boton, .boton2 {
	cursor: pointer;
	color: #a12d2d;
	font-weight: 400;
	font-size: 14px
}
div.inner-top {
	padding: 15px 0!important;
}
.f_direccion {
	float: none;
	font-weight: 300;
	color: #c3c3c3;
	text-align: left;
	margin-top: 20px;
}
.foto h1 {
	width: 288px;
	text-align: center;
	background: #a12d2d;
	height: 68px;
	line-height: 74px;
	font-size: 2.65em;
	font-weight: bold;
}
.black {
	color: black;
}
#cv {
	margin-bottom: 30px;
}
.bottom {
	margin-bottom: 50px;
}
.container-fluid.bottom {
	margin-bottom: 50px !important;
}
.error {
	color: #a12d2d;
	font-style: italic;
	margin-top: -7px
}
#commentsText {
	margin-bottom: 7px;
}
.wp-pagenavi {
	font-style: italic;
}
div.slidercenter h1 {
	font-weight: bold;
	display: inline-block;
	background-color: rgba(161,45,45,.8);
	padding: 3px 15px;
}
div.slidercenter p {
	font-family: "Open Sans", sans-serif;
	font-size: 1.125em;
}
.btn {
	font-family: "Open Sans", sans-serif;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 1em;
	border-radius: 3px;
	border: none
}
.btn-danger {
	text-shadow: none
}
.btn-large {
	padding: 8px 35px;
}
div.slidercenter .btn {
	margin-top: 35px
}
ul.services li {
	margin-bottom: 5px;
	line-height: 23px
}
ul.consultoria {
	margin-top: 23px;
}




/* cambios -------------------------------------*/
.navbar .btn-navbar {
background-color: #581414;
background-image: none;
margin-left: 0;
margin-right: 15px;
}

.navbar .btn-navbar:hover, .navbar .btn-navbar:active, .navbar .btn-navbar.active, .navbar .btn-navbar.disabled, .navbar .btn-navbar[disabled] {
background-color: #581414;
}

/* media queris ---------------------------------------------*/
@media only screen and (min-width: 980px) {
body {
	padding-top: 96px;
}
.container-fluid {
	max-width: 970px;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
}
#inner-footer {
	position: relative;
	padding: 0;
}
#content {
	padding-left: 0;
	padding-right: 0;
}
.topbar-inner {
	padding: 0;
}
.topbar form.pull-right {
	float: right;
}
.navbar-form, .navbar-search {
	margin-top: 6px;
	margin-bottom: 0;
}
.navbar-search {
	padding-left: 0;
}
.sidebar {
	margin-top: 0 !important;
}
.widget_search input {
	width: 230px;
}
.blog .hero-unit {
	margin-top: 10px;
	padding-bottom: 15px;
}
.page-template-page-homepage-php .hero-unit, .blog .hero-unit {
	padding-top: 35px;
}
.hero-unit h1 {
	font-size: 3.75em;
}/* hide edit comment button and show on hover on desktop version */
.edit-comment {
	display: none;
}
.vcard:hover .edit-comment {
	display: inline-block;
}
#s {
	width: 210px;
	margin-bottom: 6px;
}
.widget_search input {
	width: 209px;
}
.comment .vcard .comment-text {
	padding-left: 0;
	padding-right: 0;
}

}

@media (max-width: 979px) {
.nav-collapse .nav {
padding: 0 10px;
}

#content {
	padding: 0 0 0;
}
#menu-header .menu_contacto {
	background: #f2f2f2;
	font-weight: bold;
	text-transform: uppercase;
	padding-left: 0px;
	margin-left: 0px;
}
#menu-header .menu_contacto a {
	padding: 9px 15px;
	font-weight: bold;
	color: #777777;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
#menu-header .menu_contacto a:hover {
	color: red;
}
#menu-header .menu_contacto a.active {
	color: #a12d2d;
}

.page-header {
left: 0;
}

.navbar .brand {
padding: 7px 30px 20px 30px !important;
}
}

@media screen and (max-width: 860px) {
.flex-direction-nav .flex-prev {
	opacity: 1;
	left: 10px;
}
.flex-direction-nav .flex-next {
	opacity: 1;
	right: 10px;
}
}

@media only screen and (min-width: 768px) {
.carousel-caption p {
	display: block;
}
}

@media (max-width: 767px) {
.navbar-fixed-top, .navbar-fixed-bottom, .navbar-static-top {
margin-left: 0;
margin-right: 0;
}

header.foto {
padding: 113px 0 0;
background-position: top center;
}

div.carousel{
	display:none;	
}

.site-main {
	padding: 0;
}
/*
.flexslider .slides > li {
	background: #fff;
}
.slidercenter {
	top: inherit;
	position: relative;
	width: 100%;
}
div.slidercenter p {
	color: #581414;
}
*/

.centra2, .span3 {
	width: 100%;
	padding-bottom: 25px;
}
.centra2 img, .post_content .span3 img {
	max-height: inherit !important;
	max-width: 100% !important;
}

/* footer */
#inner-footer nav{
	width: 100%;	
}

#inner-footer {
	padding-left:15px !important;
	padding-right:15px !important;
}

#inner-footer .f_direccion {
float: left;
}

/* paginas */
#tributario h2, #contable h2, #laboral h2 {
	padding-left: 90px;
	margin-bottom: 40px;
	line-height: 24px;
	padding-top: 10px;
}

#tributario , #laboral, #contable{
padding-left: 0;
}

#main article .span2 {
text-align:center;
padding-bottom:15px;
}

#contacto{
padding:0 15px;	
}

.span6 .span6,.span6 .span12{
padding-left:15px;	
}

.span6 .span12 img{
margin-left: 0;	
padding-bottom:25px;
}

.span6 .span12 #txt_gray {
width: initial !important;
padding-bottom:25px;
}

}

@media (max-width: 680px) {
	.hero-unit {
		padding-left: 15px;
		padding-right: 15px;
	}
	
	div.hero-unit #txt_gray {
		width: 100% !important;
		margin-top: 0px !important;
	}
	
	#main .hero-unit img {
		display:none;
	}
}

@media (max-width: 500px) {
/* home */
.navbar .brand {
max-width: 63%;
}

.flex-direction-nav a {
top: 71%;
}


div.slidercenter h1 {
font-size: 1.875em;
line-height: 33px;
}

.foto_post {
float: none;
max-width: 100%;
margin: 0;
margin-bottom: 15px;
}

.foto h1 {
max-width: 290px;
font-size: 1.450em;
}
}

/*CAROUSEL*/
.carousel{
	margin-bottom: 0px;
}

.carousel-caption{
	background: none;
	top: 35%;
    text-align: center;
    position: absolute;
    color: white;	
}


.carousel-caption h4{
	font-weight: bold;
    display: inline-block;
    background-color: rgba(161, 45, 45, .8);
    padding: 3px 15px;
	font-size: 2rem;
	padding: 15px;
	margin: 10px 0;
}

.carousel-caption p{
	font-family: "Open Sans", sans-serif;
	font-size: 1.125em;
}

.carousel-caption a{
	margin-top: 35px;
}

.carousel-control{
	font-size: 2.9em;
	line-height: 27px;
	text-align: center;
	top: 50%;
}

.carousel .item img{
	width: 100%;
	height: auto;
	display: block;
}


@media (max-width: 390px) {
div.social-twitter, div.social-facebook{
	float: none !important;
	margin: 0 !important;
	padding-top: 17px;
}
}

.wpcf7-form input{
	width:90%
}

.wpcf7-form textarea{
	width:90%
}

.wpcf7-form .wpcf7-submit{
	width:auto!important;
	color:white;
	background-color:#a12d2c;
	font-size:14px;
	border:none;
	padding: 10px 30px		
}

