/*   
Theme Name: Vantage Child
Theme URI:
Description: Tema fill de Vantage per a DRLM
Author: Jordi Gran (Aeiou)
Author URI: http://jordigran.com
Template: vantage
Version: 1.0
Tags: Vantage Child Theme
*/

/* Importem els estils del tema pare */
@import url('../vantage/style.css');


/* Fonts */
body,
button,
input,
select,
textarea {
	font-family: 'PT Mono', monospace;
}
h1, h2, h3, h4, h5, h6
{
	font-family: 'PT Sans Narrow', sans-serif;
}

article.post .entry-header h1.entry-title,
article.page .entry-header h1.entry-title { font-size: 2.7em; }
h1, .entry-content h1 { font-size: 2.7em; line-height: 1.6em; }
h2, .entry-content h2 { font-size: 2.5em; line-height: 1.4em; }
h3, .entry-content h3 { font-size: 2.3em; line-height: 1.2em; }
h4, .entry-content h4 { font-size: 2.1em; line-height: 1em; }
h5, .entry-content h5 { font-size: 1.9em; line-height: .8em; }
h6, .entry-content h6 { font-size: 1.7em; line-height: .6em; }


#main {
	background: #fff;
}

/* Pàgina d'inici */
body.home h3.widget-title {
	font-size: 1.7em;
	line-height: 1.2em;
}
body.home h1 {
	margin: 0;
}

/* El logo */
#masthead .hgroup {
	padding-top: 30px;
	padding-bottom: 30px;
}

/* la capçalera superior */
#masthead {
    background: #000;
}

#masthead .hgroup .support-text {
	font-size: 1.2em;
	font-style: normal;
	color: #fff;
}

/* El menú */
.main-navigation {
    background: #000;
    border-bottom: 7px solid #cc0000;
}
li.current-menu-item {
	background: #cc0000;
}
#search-icon #search-icon-icon {
	background: none;
}
#search-icon #search-icon-icon:hover,
.main-navigation ul li:hover > a {
	background: #333;
}

#colophon #site-info {
	margin-top: 0;
}

#rear-row {
	padding: 2em;
	border: 1px solid #000;
}

/* Peu de pàgina */
footer#colophon {
    background: #000;
    border-top: 7px solid #cc0000;
}

body.home h1 {
	text-transform: uppercase;
	font-size: 3em;
	line-height: 1.5em;
}
body.home .widget_youtube_responsive .widget-title {
	display: none;
}
body.home .widget_youtube_responsive {
	line-height: 0;
}
body.home .widget_youtube_responsive .panel-widget-style {
	border: 7px solid #cc0000 !important;
}

#partnerlogos img {
	max-height: 70px;
	width: auto;
}

/* Simplifying calendar */

/* Amaguem la barra d'eines superior que servia per llistar categories i etiquetes */
.ai1ec-calendar-toolbar,

/* Amaguem el botó per imprimir */
#ai1ec-print-button,

/* Amaguem els botons d'expandir o contraure tot */
.ai1ec-agenda-buttons,

/* Amaguem el més i menys per col·lapsar les caixes */
/*.ai1ec-event-toggle,*/

/* Amaguem el badge de all-day */
.ai1ec-allday-badge,

/* Amaguem la navegació inferior que replica la superior */
.ai1ec-pull-left,

/* Amaguem els botons socials */
.share-buttons,

/* Amaguem la data */
.ai1ec-date-title {
	display: none !important;
}

/* La caixa de cada esdeveniment */
body .ai1ec-agenda-view .ai1ec-event,
.ai1ec-agenda-view .ai1ec-event.ai1ec-expanded {
	border: none !important;
	border-radius: 0 !important;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
	margin-bottom: 0em !important;
	/*padding-bottom: 2em !important;
	border-bottom: 7px solid #cc0000 !important;*/
}
.ai1ec-agenda-view .ai1ec-date:not(:first-child) .ai1ec-event,
.ai1ec-agenda-view .ai1ec-date:not(:first-child) .ai1ec-event.ai1ec-expanded {
	/*margin-top: 2em;
	padding-top: 2em !important;
	border-top: 7px solid #cc0000 !important;*/
}

.ai1ec-agenda-view .ai1ec-date-events {
	margin: 0;
}

.ai1ec-pull-right {
	/*margin-top: 5em;*/
}

.ai1ec-agenda-view .ai1ec-event {
	padding: 0 !important;
}

.ai1ec-title-buttons .ai1ec-btn-group {
	margin-left: 0 !important;
}

.ai1ec-agenda-view .ai1ec-event .ai1ec-event-title {
	color: #000 !important;
	display: block;
	width: 100%;
	font-size: 1.5em !important;
	border-bottom: 4px solid #cc0000;
	padding-bottom: .2em !important;
	margin-bottom: 0 !important;
}

.ai1ec-sas-actions,
.post-edit-link {
	display: none !important;
}

.ai1ec-agenda-view .ai1ec-event .ai1ec-event-time {
    font-size: 13pt !important;
    opacity: 1 !important;
    filter: alpha(opacity=100) !important;
    background: none !important;
    color: #cc0000 !important;
    padding-top: .5em !important;
}

.post-navigation a, #image-navigation a {
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    background: #000 !important;
    /*background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #dfdfdf), color-stop(1, #ffffff));
    background: -ms-linear-gradient(bottom, #dfdfdf, #ffffff);
    background: -moz-linear-gradient(center bottom, #dfdfdf 0%, #ffffff 100%);
    background: -o-linear-gradient(#ffffff, #dfdfdf);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#dfdfdf', GradientType=0);*/
    color: #fff !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}

body.ai1ec_event-template-default.single #primary {
	width: 100%;
}
body.ai1ec_event-template-default.single #secondary {
	display: none;
}

.ai1ec-agenda-widget-view .ai1ec-event {
    margin: 6.5px 0 6.5px 0 !important;
}
.ai1ec-agenda-widget-view .ai1ec-event > a {
	border: none !important;
}
.ai1ec-popover.ai1ec-popup {
	display: none !important;
}

.ai1ec-agenda-widget-view .ai1ec-date,
.ai1ec-agenda-view .ai1ec-date {
	border-top: none !important;
}

.ai1ec-agenda-view .ai1ec-date {
	margin-top: 2em;
}