/* ---------------------------------------------------------------------- */
/* CUSTOM
/* ---------------------------------------------------------------------- */

#mc_embed_signup form {
	display: block;
	position: relative;
	text-align: left;
	padding: 10px 0 10px;
}

.gen-table tbody th, .gen-table tbody td {
	text-align: left;
}

body {
	font-size: 16px;
	line-height: 1.2em;
	font-weight:300;
	background-color: #fff;
	color: #221f1f;
	/* Fix for webkit rendering */
	-webkit-font-smoothing: antialiased; 
	-webkit-text-size-adjust: 100%;
	/* Fix for Firefox rendering */
	-moz-osx-font-smoothing: grayscale;
}

.entry-meta .title {
	font-weight: normal;
	font-style: normal;
}

.container {
    margin: 0 auto;
    padding: 0 10px;
	max-width: none;
    width: 940px;
}

#wrap {
    border-top: 0px solid #ba1d29;
    overflow: hidden;
    padding-top: 0px;
	min-width: 960px;
}

.home #wrap {
    background: url("./images/header/bg-header-home.jpg") no-repeat scroll center 218px transparent;
}

/* BG Presentación */
.page-template-template-page-presentacion-php #wrap {
    background: url("./images/header/bg-header-presentacion.jpg") no-repeat scroll center top transparent;
}
.page-template-template-page-presentacion-php #main {
	margin-top:325px;
}

/* BG Docencia */
.page-template-template-page-docencia-php #wrap {
    background: url("./images/header/bg-header-docencia.jpg") no-repeat scroll center top transparent;
}
.page-template-template-page-docencia-php #main {
	margin-top:325px;
}

/* BG Docencia Nivel1 */
.page-template-template-page-docencia-1-php #wrap {
    background: url("./images/header/bg-header-docencia-1.jpg") no-repeat scroll center top transparent;
}
.page-template-template-page-docencia-1-php #main {
	margin-top:325px;
}

/* BG Docencia Nivel2 */
.page-template-template-page-docencia-2-php #wrap {
    background: url("./images/header/bg-header-docencia-2.jpg") no-repeat scroll center top transparent;
}
.page-template-template-page-docencia-2-php #main {
	margin-top:325px;
}

/* BG Docencia Nivel3 */
.page-template-template-page-docencia-3-php #wrap {
    background: url("./images/header/bg-header-docencia-3.jpg") no-repeat scroll center top transparent;
}
.page-template-template-page-docencia-3-php #main {
	margin-top:325px;
}

/* BG Docencia Nivel4 */
.page-template-template-page-docencia-4-php #wrap {
    background: url("./images/header/bg-header-docencia-4.jpg") no-repeat scroll center top transparent;
}
.page-template-template-page-docencia-4-php #main {
	margin-top:325px;
}

#wrap.wrap_cont {
	border-top: 0px solid #383838;
    overflow: hidden;
    padding-top: 0px;
}

#footer {
	background-color: #fff;
	border-top: 0px solid #383838;
    margin-top: 0px;
	color:#231f1f;
	font-size:14px;
	font-weight:400;
}

#footer-bottom a {
    color: #231f1f;
}

#footer-bottom a:hover {
    color: #015369;
}

#cont_main #content {
	padding-bottom: 60px;
}

.home #cont_main #content {
	padding-bottom: 0px;
}

#navbar, #cont_breadcrumbs, #cont_main  {
	margin-bottom: 0;
}

#sidebar {
	margin-top:34px;
}

#sidebar.default-page {
	/*background-color: #d41b29;*/
	/*padding: 20px 25px 60px 20px;
	width:255px;*/
	margin-top:0px;
}

.page-template-template-page-php #cont_main #content, .single-portfolio #cont_main #content {
	/*background: url("./images/bg-sidebar-page.jpg") repeat-y scroll right top transparent;*/
}

.contacto li {
    margin-bottom: 10px;
}

/* COMMON */
.button-up, .shover {
	background-color: inherit;
    position: absolute;
}

ul.circle {
    padding-left: 18px;
}
ul.circle.no-padding {
    padding-left: 0px;
}
ul.circle li {
    background: url("./images/bullets-and-arrows/circle2.png") no-repeat scroll left 0.5em transparent;
    padding-left: 15px;
}

.error-page #page-title, .error404 #page-title {
    background: none;
}

.error-page #page-title .breadcrumbs, .error404 #page-title .breadcrumbs {
	background: url("images/alert-56.png") no-repeat scroll left center transparent;
	background-size: 39px 32px;
	padding-left:45px;
}

.page-id-119 .social-links-footer.in-page, .page-id-119 .addthis_toolbox {
	display:none;
}

#newsletter-form #agree {
	float:left;
	width:auto;
	margin-top:4px;
	margin-right:8px;
}

#newsletter-form p {
	display:inline-block;
	width: 100%;
}

#newsletter-form .agree-label {
	display:inherit;
	clear:none;
}

#newsletter-form input#newsletter, #newsletter-form input#firstname {
    float: left;
    margin-right: 10px;
    width: 350px;
}

#newsletter-form .newsletter-left {
	background: url("images/icono_boletin.png") no-repeat scroll left top transparent;
	padding-left:70px;
	width:58%;
}

#newsletter-form .newsletter-right {
	width:29%;
	margin-left:27px;
}

#newsletter-form #subscribe {
	margin-top:15px;
}

#newsletter-form .cont-news {
	display: inline-block;
	background-color: #d41b29;
    border-radius: 5px 5px 5px 5px;
    padding: 20px;
	width: 95%;
	margin-bottom:15px;
}

/* ---------------------------------------------------------------------- */
/* WP Calendar
/* ---------------------------------------------------------------------- */

#wp-calendar {
	width:100%;
}

#wp-calendar caption, #wp-calendar tbody {
	text-align:center;
}

#wp-calendar tfoot #next {
	text-align:right;
}

/* ---------------------------------------------------------------------- */
/* Sticky Footer + JS Control CSS body.margin-bottom
/* ---------------------------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}
#footer {
	position: absolute;
    left: 0;
    bottom: 0;
	width: 100%;
}

/* ---------------------------------------------------------------------- */
/* Blog
/* ---------------------------------------------------------------------- */
.entry-meta {
	width: auto;
}

.entry-meta {
	font-size: 0.816em;
}

.entry-meta .comments, .entry-meta .tags {
	margin-left:5px;
}

.entry-meta .thumbnail {
	margin-top:7px;
}

.entry-meta .thumbnail.no-image {
	width:110px;
	height:110px;
}

.entry-title {
	line-height: 26px;
	font-size: 20px;
	margin-bottom: 12px;
}

.blog-entry-list .entry-content p {
	margin-bottom:10px;
}

/* ---------------------------------------------------------------------- */
/* HEADER
/* ---------------------------------------------------------------------- */

#wrap-header {
	background: url("./images/header/bg-header-2.jpg") no-repeat scroll center 197px transparent;
	margin-bottom: 0px;
}

#header {
	background: url("./images/header/bg-header.jpg") no-repeat scroll center top transparent;
	background-color:#d41b29;
	margin-top: 0px;
	padding: 0px 0 0px;
	margin-bottom: 62px;
}

.home #header {
	margin-bottom: 40px;
}

.logo-header {
	position: relative;
	width:1030px;
	height: 69px;
	left: -90px;
	top: 0px;
}

#header-nav {
	padding-top:15px;
	float:inherit;
	display:inline;
	font-size:15px;
	font-weight:700;
}

#header-nav li {
	/*background: url("./images/header/circle_up.png") no-repeat scroll left center transparent;*/
	text-align:left;
	float:inherit;
	padding-left:15px;
	line-height:22px;
}

#header-nav li:hover, #header-nav li.current {
	/*background: url("./images/header/circle_over.png") no-repeat scroll left center transparent;*/
}

#header-nav li a {
	color:#f2a28b;
}

#header-nav li a:hover, #header-nav li.current a  {
	color:#fff;
}

#header-top {
	text-align: center;
	margin-bottom: 0px;
}

#logo {
	float: inherit;
    margin: 0 auto;
	padding-top:28px;
}

#logo, #logo a, #logo img {
    display: inline;
}

#cont_breadcrumbs {
	/*background: url("./images/header/sub-header.jpg") no-repeat scroll center bottom transparent;
	min-width: 960px;*/
	border-bottom:none;
}

#cont_breadcrumbs #page-header h1 {
	font-weight:600;
	font-size: 25px;
	color: #6f6f6e;
	text-transform:uppercase;
	/*border-bottom:none;*/
	border-bottom: 15px solid #6f6f6e;
	padding: 0px 0 4px;
}

#cont_breadcrumbs #page-header {
    margin-bottom: 0px;
	border-bottom:none;
	padding-bottom: 16px;
}

#cont_breadcrumbs #page-title {
	margin-bottom: 0px;
}

#sidebar.default-page #cont_breadcrumbs #page-header h1 {
	color:#d41b29;
	border-bottom: 15px solid #d41b29;
}

.one-half.cont-logo {
	text-align: left;
}

.blog-entry-list .entry {
	border-top: none;
	border-bottom: 1px solid #e5e5e5;
	padding-bottom:20px;
	padding-top: 0px;
}

/* ---------------------------------------------------------------------- */
/* HEADER - > Nav Bar
/* ---------------------------------------------------------------------- */
#header #navbar  {
	text-align: center;
	background:none;
	border:none;
	filter:none;
	height: 38px;
	line-height: 0;
}
#header #nav  {
	top: 0px;
	left: 0px;
	margin-top:5px;
	display: inline-block;
}

#header ul#navlist li a {
	font-weight:700;
    font-size: 17px;
	/*text-transform:uppercase;*/
	color:#fff;
	border:none;
	box-shadow:none;
	padding: 0 7px;
	line-height: 26px;
}

#header ul#navlist li a:hover, #header .no-touch ul#navlist li a:hover {
	font-weight:700;
	color:#000000;
	background-color: inherit !important;
	border-color: inherit !important;
}

#header ul#navlist li.current a, #header ul#navlist li a.selected {
	font-weight:700;
	color:#fff;
	background-color: inherit !important;
	border-color: inherit !important;
}

#header ul#navlist li {
    list-style: none outside none;
    position: relative;
	min-width: inherit;
	padding: 0 0px 22px;
}

#header ul#navlist li:last-child:after {
    content: "";
}

#header ul#navlist li.current {
    background: url("./images/header/sel-menu.png") no-repeat scroll center 28px transparent;
}

.line-menu {
	position: absolute;
	width:100%;
	background-color: #ba1d29;
	height: 3px;
	z-index: -1;
	top: 143px;
	top: 142px \0/IE9; /* IE6-9 */
}

.ddsubmenustyle ul {
	width: 250px;
}

.ddsubmenustyle li a {
    background-color: #383838;
    border-bottom: 1px solid #262626;
    border-top: 1px solid #4D4D4D;
    color: #FFFFFF;
    font-weight:700;
    font-size: 16px;
}
.ddsubmenustyle li a:hover {
    background-color: #ba1d29;
	border-bottom: 1px solid #ba1d29;
    border-top: 1px solid #ba1d29;
}

#header .newsletter-nav {
	padding-top: 35px;
	border-bottom: 5px solid #fff;
}

#header .newsletter-nav ul {
	margin-bottom: 3px;
}

#header .newsletter-nav h2 {
	font-size:22px;
	color:#221f1f;
	margin-bottom: 0px;
}

#header .newsletter-nav li a {
	font-size:18px;
	color:#fff;
	font-weight:400;
}

#header .newsletter-nav li a:hover {
	color:#000;
}

#header .newsletter-nav li {
	padding-left:0;
	line-height: 18px;
}

.social-links.header {
	float:left;
	margin-top:82px;
	margin-left:195px;
}

/* ---------------------------------------------------------------------- */
/* HEADER -> Slider
/* ---------------------------------------------------------------------- */

#slider-home {
	margin-bottom: 115px;
}

.home .flex-control-paging {
	/*display:none;*/
}

.home .flex-direction-nav {
    bottom: inherit;
    height: inherit;
    position: absolute;
    right: inherit;
    top: 50%;
    width: 100%;
    z-index: 50;
}

.home .flex-direction-nav li:first-child {
	position:absolute;
	/*top:50%;*/
	margin-top: -13px;
	margin-left:12px;
}

.home .flex-direction-nav li:last-child {
	position:absolute;
	right:12px;
	/*top:50%;*/
	margin-top: -13px;
}

.home .flex-direction-nav .flex-prev, .home .flex-direction-nav .flex-next {
	background-color:inherit;
	background-position: 0px 0px;
	width:14px;
	height:27px;
}

.home .flex-direction-nav .flex-prev {
	background-image: url("./images/header/arrow_left.png");
}

.home .flex-direction-nav .flex-next {
	background-image: url("./images/header/arrow_right.png");
}

.home .flex-direction-nav .flex-prev:hover {
	background-image: url("./images/header/arrow_left_over.png");
}

.home .flex-direction-nav .flex-next:hover {
	background-image: url("./images/header/arrow_right_over.png");
}

#slider-home .flex-control-nav {
	background-color: inherit;
	overflow: hidden;
	padding: 0px 0px;
	position: absolute;
	left: inherit;
	bottom: -50px;
	text-align: center;
	width: 100%;
}

#slider-home .flex-control-nav li {
	float: none;
	display: inline-block;
	margin: 0 3px;
}

#slider-home .flex-control-nav li:first-child {
	/*float: none;
	display: inline-block;
	margin: 0 6px;*/
}

#slider-home .flex-control-paging a {
	display: inline-block;
	overflow: hidden;
	background-repeat: no-repeat;
	background-image: url("./images/dot_slider.png");
	width: 13px;
	height: 13px;
	background-position: -2px -17px;
	background-color: inherit;
	cursor: pointer;
	text-indent: -999em;
}

#slider-home .flex-control-paging a.flex-active {
	width: 13px;
	height: 13px;
	background-position: -2px -2px;
	background-color: inherit;
}

/* ---------------------------------------------------------------------- */
/* HOME LAST POST -> Button
/* ---------------------------------------------------------------------- */

.button-home {
	display:block;
	height:24px;
	margin-bottom:5px;
}
.button-home a.button.red {
	position:absolute;
	background-color: #fff;
	font-size: 13px;
	color:#d41b29 !important;
	padding-left:33px;
	margin-top:3px;
	margin-bottom:5px;
	padding-top:2px;
	padding-bottom:0px;
}
.button-home a.button.red:hover {
	color:#000 !important;
}
.button-home span {
	background: url("./images/home/ico-mas.png") no-repeat scroll left center transparent;
	position:absolute;
	width:24px;
	height:24px;
	pointer-events:none;
}

/* ---------------------------------------------------------------------- */
/* HOME LAST POST -> Publicaciones
/* ---------------------------------------------------------------------- */

#con-home-pub-title h1 {
	text-align:center;
	text-transform:uppercase;
	color: #d41b29;
	font-weight:600;
	font-size: 26px;
	margin-bottom:11px;
}

#con-home-pub .entry-content {
	line-height: 18px;
}

#con-home-pub {
	background: url("./images/home/bg-home-pub.jpg") repeat-x scroll left top transparent;
	padding-top:20px;
}

#con-home-pub .entry-title {
	height:55px;
	line-height: 19px;
	font-size: 16px;
	margin-top:8px;
	
	text-align: center;
	font-size: 17px;
	text-transform: uppercase;
}

#con-home-pub .entry-title a {
	color:#FFFFFF;
}

#con-home-pub .entry-title a:hover {
	/*color:#d41b29;*/
}

#con-home-pub article {
	float:left;
	margin-right:20px;
	width:220px;
}

#con-home-pub article:last-child {
	margin-right:0px;
	
}

/* ---------------------------------------------------------------------- */
/* HOME LAST POST -> News
/* ---------------------------------------------------------------------- */

#con-home-news #cont_breadcrumbs #page-header h1 {
	color: #d41b29;
	border-bottom: 15px solid #d41b29;
}

#con-home-news .entry-title {
	line-height: 19px;
	font-size: 16px;
	margin-bottom: 4px;
}

#con-home-news article .thumbnail {
	float:left;
	margin-right:20px;
	width:auto;
}

#con-home-news article .content .content-body {
	margin-bottom: 16px;
	line-height: 18px;
}

#con-home-news article {
	border-bottom: 2px solid #d41b29;
	padding-bottom:15px;
	margin-bottom: 17px;
}

/* ---------------------------------------------------------------------- */
/* HOME LAST POST -> Actividades
/* ---------------------------------------------------------------------- */

#con-home-act #cont_breadcrumbs #page-header h1 {
	color: #d41b29;
	border-bottom: 15px solid #d41b29;
}

#con-home-act .entry-title {
	line-height: 19px;
	font-size: 16px;
	margin-bottom: 4px;
	color:#221f1f;
	font-weight:400;
	min-height:58px;
}

#con-home-act article .thumbnail {
	float:left;
	margin-right:20px;
	width:auto;
}

#con-home-act article .content .content-body {
	margin-bottom: 16px;
	line-height: 18px;
}

#con-home-act article {
	border-bottom: 4px solid #d41b29;
	padding-bottom: 5px;
	margin-bottom: 9px;
}

#con-home-act {
	margin-bottom: 26px;
}

/* ---------------------------------------------------------------------- */
/* Members
/* ---------------------------------------------------------------------- */

.portfolio-cont .page-nav, .archive .page-nav {
	border-top: 0px solid #e5e5e5;
	padding-top: 5px;
}

.portfolio-cont .entry-title {
	line-height: 19px;
	font-size: 17px;
	margin-bottom: 0px;
	text-transform:uppercase;
}

.portfolio-cont .entry-title a {
	color:#d41b29;
}

.portfolio-cont .entry-title a:hover {
	color:#000000;
}

.portfolio-cont article .thumbnail {
	float:left;
	margin-right:20px;
	width:auto;
}

.portfolio-cont article .content .content-body {
	margin-bottom: 9px;
	line-height: 18px;
	min-height:108px;
}

.portfolio-cont article {
	border-bottom: 3px solid #6f6f6f;
	padding-bottom:19px;
	margin-bottom: 17px;
}

/* ---------------------------------------------------------------------- */
/* Members -> Single
/* ---------------------------------------------------------------------- */

.portfolio-cont.single article {
	border-bottom: 5px solid #6f6f6f;
}

.portfolio-cont.single article .postmeta {
	margin-bottom: 0px;
}

.portfolio-cont.single article .postmeta a {
	background: url("./images/clip_cv.jpg") no-repeat scroll left center transparent;
	color:#221f1f;
	font-size:12px;
	font-weight:700;
	width:80px;
	line-height:12px;
	padding:4px 0 4px 30px;
	display:inline-block;
}

/* ---------------------------------------------------------------------- */
/* CONTENT
/* ---------------------------------------------------------------------- */

.general-title-cont {
	color:#d41b29;
	font-size:25px;
	font-weight:700;
	text-transform:uppercase;
}

.sub-title-cont {
	color:#d41b29;
	font-size:17px;
	font-weight:700;
	text-transform:uppercase;
}

a.icon-pdf {
	background: url("./images/pdf_up.png") no-repeat;
	padding-left:40px;
	height:36px;
	line-height: 36px;
	display: table;
}
a.icon-pdf:hover {
	background: url("./images/pdf_over.png") no-repeat;
	color:#inherit;
}

.social-links-footer.in-page {
    margin-bottom:20px;
}

.social-links-footer.in-page .button-text {
    color: #e3000f;
	font-size: 15px;
    font-weight: bold;
}

.social-links-footer.in-page li:hover a .button-text {
    color: inherit;
	border-bottom: 0px solid #015369 !important;
}


a.btn-inv.ico-ac-po {
	background-image: url("./images/content/1-actores_politicos.jpg");
	background-repeat:no-repeat;
}
a.btn-inv.ico-op-pu {
	background-image: url("./images/content/2-opinion_publica.jpg");
	background-repeat:no-repeat;
}
a.btn-inv.ico-elc {
	background-image: url("./images/content/3-elecciones.jpg");
	background-repeat:no-repeat;
}
a.btn-inv.ico-ad-pu {
	background-image: url("./images/content/4-admin_publica.jpg");
	background-repeat:no-repeat;
}
a.btn-inv.ico-ju-se {
	background-image: url("./images/content/5-justiciayseguridad.jpg");
	background-repeat:no-repeat;
}
a.btn-inv.ico-oir {
	background-image: url("./images/content/6-oir.jpg");
	background-repeat:no-repeat;
}

a.btn-inv {
	padding-left:91px;
	line-height: 71px;
	display: inline-block;
	color:#fff;
	font-weight:700;
	font-size:17px;
	width:213px;
	background-color:#d41b29;
	margin-bottom:20px;
}
a.btn-inv:hover {
	color:#inherit;
	background-color:#221f1f;
}

/* ---------------------------------------------------------------------- */
/* CONTENT -> PORTFOLIO
/* ---------------------------------------------------------------------- */
#gallery .entry-image ,#gallery .entry-slider {
	border:1px solid #ba1d29;
}

.single-portfolio .default-page {
	padding: 0px 0px 60px 0px;
}

.cont_aside_single_portfolio {
	padding: 0px 25px 0px 20px;
	width:255px;
}

.single-portfolio .the-client {
	padding: 0px 25px 0px 20px;
	background-color:#40b1c3;
	margin-left:3px;
	width:254px;
	line-height:40px;
	color:#FFFFFF;
	margin-bottom:28px;
}

.portfolio-cont .title-sec {
	padding-left:10px;
	border-left:9px solid #40b1c3;
	background-color:#d41b29;
	line-height:40px;
	text-transform:uppercase;
	font-size: 1.233em;
}

.single-portfolio .line-portfolio {
	width:100%;
	background-color: #40b1c3;
	height: 3px;
	margin-bottom:20px;
}

.cont_aside_single_portfolio .ver-web {
	color:#000;
	font-size: 1em;
	font-weight: 600;
	text-transform:uppercase;
}

.cont_aside_single_portfolio .comillas {
	margin:40px 0 10px;
}

.cont_aside_single_portfolio .text-cita {
	color:#40b1c3;
	font-size: 1.3em;
}

.cont_aside_single_portfolio .text-description {
	line-height:18px;
	font-weight:300;
	font-size:15px;
}

.cont_aside_single_portfolio h4 {
	line-height:18px;
	font-weight:700;
	font-size:15px;
	margin-bottom: 5px;
}

.cont_aside_single_portfolio .text-name {
	font-weight: 600;
	margin-bottom:0px;
}

.cont_aside_single_portfolio .ver-web:hover {
	color:#0088cc;
}

#gallery .entry-image, #gallery .entry-slider {
	margin-bottom:10px;
}

#gallery .entry-title {
	margin-bottom:5px;
	text-transform:uppercase;
}

ul.portfolio-grid > li.one-fourth {
    height: 216px;
}

/* ---------------------------------------------------------------------- */
/* CONTENT -> SIDE LAST PROJECTS
/* ---------------------------------------------------------------------- */

.side-last-projects h3 {
	font-weight: 700;
	font-size:18px;
}

.project-side .ver-mas {
	font-weight: 700;
	font-size:13px;
}

.side-last-projects h3, .project-side .ver-mas, .project-side .entry-title {
	text-transform:uppercase;
}

.project-side .entry-image, .project-side .entry-slider {
	margin-bottom: 7px;
}

.project-side .entry-title {
	margin-bottom: 5px;
}

.project-side .entry-content {
	border-bottom: 2px solid #0088cc;
	margin-bottom:18px;
}

.project-side .entry-content p {
	margin-bottom: 14px;
	line-height:18px;
	font-weight:300;
	font-size:15px;
}

/* ---------------------------------------------------------------------- */
/* CONTENT -> CONTACT
/* ---------------------------------------------------------------------- */

#submit-contact.bt-contact, #newsletter-form #subscribe {
	/*background: url("./images/bt-send-up.png") no-repeat;
	width:151px;
	height:56px;
	text-indent:-1000px;*/
}

#contact-form {
	/*background-color: #f0f0f0;
	padding:20px;
	border-radius: 5px;*/
}

.content-form input, .content-form textarea {
    background-color: #fff;
    border: 1px solid #888888;
    border-radius: 0 0 0 0;
    padding: 6px 10px;
}

.content-form input:hover, .content-form textarea:hover {
    border-color: #888888;
}

.content-form input:focus, .content-form textarea:focus {
    border-color: #888888;
}

.content-form .error {
	color: #e3000f;
}

/* ---------------------------------------------------------------------- */
/* FOOTER
/* ---------------------------------------------------------------------- */

.logo-footer {
    float: left;
    margin: 0 auto;
	margin-right:20px;
}

#footer {
	background: url("./images/footer/bg_footer.jpg") no-repeat scroll center top transparent;
	min-width:960px;
}

.logo-footer, .logo-footer a, .logo-footer img {
    display: inline;
}

.logo-footer.logo-footer-right {
    float: right;
	margin-left:45px;
}

#footer-sec-1 .two-thirds {
	padding-top:5px;
}

#footer-sec-1 #footer-bottom {
	padding-top:42px;
	padding-bottom:0px;
}

#footer-sec-1, #footer-sec-2, #footer-sec-3, #footer-sec-4, #footer-sec-5 {
	margin-bottom: 0;
}

#footer-sec-1 {
	background: url("./images/footer/pattern-footer.jpg") repeat-x scroll center top transparent;
	background-color: #333333;
	height:112px;
	min-width: 960px;
}

/*.page-template-template-page-php #footer-sec-1, .single-portfolio  #footer-sec-1 {
	background: url("./images/footer/footer-2.jpg") no-repeat scroll center top transparent;
	height:273px;
}*/

#footer-sec-3 #footer-bottom {
	padding: 14px 0 0;
}

#footer-sec-3 {
	background: url("./images/footer/bg_footer.jpg") no-repeat scroll center bottom transparent;
	background-color: #d41b29;
	height:96px;
	color:#fff;
	font-weight:400;
	font-size:15px;
	min-width:960px;
}

#footer-sec-2 {
	height:111px;
}

#footer-sec-2 #footer-bottom, #footer-sec-4 #footer-bottom {
	padding: 10px 0;
}

/*#footer-sec-5 {
	background: url("./images/footer/footer-bottom.jpg") no-repeat scroll center top transparent;
	background-color: #FFF;
	height:129px;
	min-width: 960px;
}*/

#footer-nav.nav-top-head a:hover {
	color: #0088cc;
}

#footer-bottom {
    /*border-top: 0px solid #4C4C4C;*/
	border-top:none;
}

#footer-sec-3 a {
	color:#f2f2f2;
}

#footer-sec-3 a:hover {
	color:#f2f2f2;
	border-bottom: 1px solid #f2f2f2;
}

#footer-sec-3 .logo-footer a:hover {
	border-bottom: 0px solid #f2f2f2;
}

#footer-sec-3 .two-thirds {
	max-width:790px;
	width:790px;
}

#footer-sec-3 .one-third {
	max-width:130px;
	width:130px;
}

#footer-nav li {
	margin-left:25px;
}

#footer-bottom p.copy-footer {
	float:left;
	margin-top:17px;
}

/* Credits */
#footer-bottom p.copy-footer.credits {
	margin-left: 20px;
	margin-top:13px;
}

#footer-bottom p.copy-footer.credits a {
	float:left;
}

#footer-bottom p.copy-footer.credits a:hover {
	border-bottom: 0px solid #f2f2f2;
}

#footer-bottom p.copy-footer.credits a:last-child {
	margin-left: 10px;
}

#footer-sec-3 h1 {
	line-height: 0.80em;
}

#footer-sec-3 h1.line {
	margin: 5px 40px 0 17px;
	height:49px;
	border-right: 2px solid #fff;
}

/* ---------------------------------------------------------------------- */
/* FOOTER -> FRONT -> NEWS
/* ---------------------------------------------------------------------- */

#footer-home-sec2 {
	padding: 20px 0;
	overflow: hidden;
}

#footer-home-sec2 p {
	text-align:center;
	color:#FFF;
}

#footer-home-sec2 h2 {
	font-size:23px;
	font-weight:700;
	text-align:center;
	background: url("./images/footer/line_dots.png") no-repeat scroll center center transparent;
}

#footer .home-row-last-post {
	color:#FFF;
	font-size:16px;
	text-align:center;
	font-weight:700;
	text-transform:uppercase;
	border-bottom: 0px solid #4C4C4C;
    margin-bottom: 0px;
    padding-bottom: 5px;
}

.home-row-last-post-date {
	color:#0088cc;
	font-size:14px;
	font-weight:700;
}

.home-row-last-post a {
	color:#0088cc !important;
	font-size:12px;
	font-weight:700;
}

.home-title-row-post {
	font-size:14px !important;
}

.home-row-last-post a:hover {
	/*text-decoration:underline;*/
	border-bottom: 1px solid #ba1d29;
}

#footer .home-row-last-post .home-title-row-post {
	color:#FFF !important;
}

#footer .home-row-last-post .home-title-row-post:hover {
	border-bottom: 1px solid #FFF;
}

/* ---------------------------------------------------------------------- */
/* FOOTER -> LINKS
/* ---------------------------------------------------------------------- */

.social-links-footer {
    float: left;
	margin: 0px 0 0;
}
.social-links-footer li {
    float: left;
	height: 36px;
	width:36px;
    margin: 0 0px 0px 0;
}
.social-links-footer li:last-child {
    margin: 0 0px 0px 0;
}
.social-links-footer a {
    background-position: inherit;
    background-repeat: no-repeat;
    display: block;
	text-indent: 0;
}
.social-links-footer .button-text {
	margin-left:40px;
	margin-top:8px;
	position:absolute;
	color:#015369;
}
.social-links-footer li:hover a .button-text {
    color:#015369;
	border-bottom: 1px solid #015369 !important;
}

.social-links-footer li a:hover {
    border-bottom: 0px solid #FFF !important;
}

.phone {
	/*margin-right: 95px;*/
}

/* ---------------------------------------------------------------------- */
/* FOOTER -> Social LINKS
/* ---------------------------------------------------------------------- */

.social-links {
    float: right;
	margin: 15px 0 0;
}
.social-links li {
    float: left;
	width: 30px;
	height: 30px;
    margin: 0 12px 0px 0;
}
.social-links li:last-child {
    margin: 0 0px 0px 0;
}
.social-links a {
    background-position: inherit;
    background-repeat: no-repeat;
    display: block;
	text-indent: 0;
}

.social-links li a:hover {
    border-bottom: 0px solid #FFF !important;
}

/* ---------------------------------------------------------------------- */
/* Sidebars -> Content
/* ---------------------------------------------------------------------- */
.cont-anti-alum {
	background-color: #e3e3e3;
	padding:10px;
}

.cont-anti-alum p {
	margin-bottom:8px;
	font-size: 15px;
	line-height: 1.1em;
}

.cont-anti-alum .button {
	margin:0;
	margin-bottom:3px;
}

.menu-links li {
	float:left;
	margin-right:20px;
}

.menu-links li.no-margin{
	margin-right:0;
}

.menu-links li a img {
	border: 1px solid #b5010d;
}

.menu-links li h2 {
	text-align:center;
	font-size:16px;
	line-height: 1.133em;
	color:#221f1f;
	text-transform:uppercase;
}

/* ---------------------------------------------------------------------- */
/* ELEMENTS -> Button
/* ---------------------------------------------------------------------- */

.button, .content-form input.button, #comment-form #submit {
	/*line-height: normal;
	margin: 0 10px 20px 0;
	color: #e3000f !important;
	padding: 7px 50px;*/
	border-radius: 10px;
	padding: 4px 15px;
}

.button, .content-form input.button, #comment-form #submit {
	/*background: url("./images/content/button_up.png") no-repeat scroll left center transparent;*/
}

.button:hover, .content-form input.button:hover, #comment-form #submit:hover {
	/*background: url("./images/content/button_over.png") no-repeat scroll left center transparent;
	color: #221f1f !important;*/
}

.button.red {
	background-color: #b5010d;
	font-weight:700;
	padding: 4px 15px;
}

.button.red:hover {
	background-color: #383838;
}

/* ---------------------------------------------------------------------- */
/* CALENDAR
/* ---------------------------------------------------------------------- */

.ai1ec-calendar-toolbar, .single-ai1ec_event .entry-meta, .single-ai1ec_event .ai1ec-calendar-link, .single-ai1ec_event #sidebar, .single-ai1ec_event .ai1ec-categories {
	display:none;
}

.single-ai1ec_event .ai1ec-label {
	text-align:left;
}

.single-ai1ec_event #main {
	width:inherit;
	max-width: 940px;
}

.ai1ec-event-avatar img {
	height: auto;
	display: block;
	min-height: inherit;
	width: auto;
}

/* ---------------------------------------------------------------------- */
/* TABLE
/* ---------------------------------------------------------------------- */
.gen-table thead th, .gen-table tfoot td {
	color:#b5010d;
}

.gen-table th, .gen-table td {
	font-family: 'Source Sans Pro', sans-serif;
	font-weight:300;
}