/**
 * @package	CIPPIC.ca
 * @subpackage	CIPPIC-Oct2017_beta
 * @version	2017-10-27
 * @author	Virginie Jett&eacute;, Florian Martin-Bariteau
 * @last update October 2018, Tamir Israel
 */


a:link, a:visited,
.views-field-title a, .views-field-title a:link {
    color: #993530;
}

a:hover, a:focus, a:active, .views-field-title a:hover, .views-field-title a:focus, .views-field-title a:active {
    color: #000;
    text-decoration: none;
    font-weight: 500;
  -webkit-filter: drop-shadow(1px 1px grey);
    filter: drop-shadow(1px 1px grey);
}


/* HEADER */

#logo img {
	content:url("../logo.png");
	width: 960px;
}

#header-group-inner {
	padding-bottom: 0px;
}

#main-wrapper {
	padding-top: 0px;
}


/* EN/FR */

#block-locale-0 {
	display: none !important;
}

div.header-group {
    background: none;
    padding-bottom: 0px;
}


/* Buttons */

.external-links {
    float: right;
    top: 34px;
    height: 32px;
    min-width: 284px;
    right: 5px;
}

.rss_wrap {
   position: relative;
   float: left;
   padding-top: 2px; 
}

.twitter_wrap {
    position: relative;
    float: right;
    padding-bottom: 3px;
}

.not-front .external-links {
   display: none;
}

#print-page {
	display: none;
}

.not-front .highlighted_pages {
	display: none;
}

.highlighted_pages .button .button_title {
	color: #000;
}

.secondary_pagelinks {
	margin: 10px 10px;
	font-size: 100%;
}

.secondary_pagelinks a {
	color: #000;
	font-size: 100%;
	font-weight: bold;
}

.secondary_pagelinks a:hover {
	color: #993530;
	text-decoration: none;
}

/*  .button_icon {
	-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    	filter: grayscale(100%);
	/* grayscale | sepia */
} */


/* Search bar */

.search-box-inner form#search-theme-form {
    background: none; 
}

#search {
    background-color: #444;
    box-shadow: 0 1px 1px rgba(0,0,0,.4) inset, 0 1px 0 rgba(255,255,255,.2);
    border-radius: 5px;
    height: 30px;
    margin-top: 0px;
    width:220px;
}

.search-box-inner #search-input {
    padding: 3px 0 0 10px;
}

.search-box-inner input#edit-search-theme-form-header {
    color: #999;
    font-weight: normal;
    font-style: italic;
    border-radius: 3px 0 0 3px;
    height: 20px;
}

input#edit-submit-2 {
    width: 18px;
    margin: 4px 0 0 0
}


/* Donate button */

.fusion-inline-menu .inner .content {
    height: 30px !important;
}

.fusion-inline-menu .inner ul {
	margin-top: 13px;
}

.fusion-inline-menu .inner ul li.donate {
    background-color: #993530;
    padding: 8px 15px;
    color: #993530;
    text-transform: uppercase;
}

.fusion-inline-menu .inner ul li.donate:hover {
	background-color: #0D79E6;
	text-decoration: none;
}

.fusion-inline-menu .inner ul li.donate a {
	text-decoration: none;
}


/* GENERAL CONTENT */

.view-content .item-list ul li .views-field-view-node .field-content a, .view-content .item-list ul li .views-field-view-node .field-content a:visited, .preface-bottom .block-views .item-list ul li .views-field-view-node .field-content a, .preface-bottom .block-views .item-list ul li .views-field-view-node .field-content a:visited, .cat-readmore {
    color: #993530!important;
}

.views-field-title {
    border: 0px;
}


/* Homepage */

.view-content .item-list ul li, .view-content .item-list ul li.views-row-first {
	border-top: none;
}

.view-content .item-list ul li .views-field-teaser {
    border-bottom: none;
}

.views-field-title a, .views-field-title a:link, .views-field-title a:visited, #block-views-faqs-block_1 a, #block-views-faqs-block_1 a:link, #block-views-faqs-block_1 a:visited {
    color: #993530;
}

.view-content .item-list ul li .views-field-view-node {
    background: none;
    border-bottom: 1px solid #e4e4e4;
    padding-bottom: 10px;
    padding-top:10px;
}

.view-content .item-list ul li .views-field-view-node a {
    font-weight: bold;
    text-transform: uppercase;
}

.preface-bottom .field-content a .news_title {
    font-size: 125%;
    color: #993530;
    font-weight: bold;
}

.preface-bottom .block-views .item-list .field-content, .preface-bottom .block-views .item-list .field-content a, .preface-bottom .block-views .item-list .field-content p, .preface-bottom .news_title {
    font-size: 0.85rem;
}

.views-field-title a, .views-field-title a:link, .views-field-title a:visited, #block-views-faqs-block_1 a, #block-views-faqs-block_1 a:link, #block-views-faqs-block_1 a:visited {
    color: #993530;
}

.view-content .item-list ul li .views-field-teaser, .view-content .item-list ul li .views-field-title, .view-content .item-list ul li .views-field-created, .preface-bottom .item-list ul li .views-field-teaser, .preface-bottom .item-list ul li .views-field-title, .preface-bottom .item-list ul li .views-field-created {
	background: none repeat scroll 0 0 #FFF;
}

.more-link a {
	font-weight: bold;
	font-size: 125%;
}

.highlighted_pages .button_title {
	font-size: 0.9REM;
}


/* Twitter */

div.tweets-pulled-listing a {
    color: #993530;
}

#block-cippic_mods-2 h2 {
    margin-bottom:14px; 
    background-image: url("../images/header_bg_blue.png");
    background-position: left top;
    background-repeat: no-repeat;
    background-color: #111111;
}

#block-cippic_mods-2 ul li:first-child {
    border-radius: 0.5em;
    -moz-border-radius: 0.5em;
    -webkit-border-radius: 0.5em;
}

.tweets-pulled-listing {
   text-align: left;
}

.tweet-time {
    text-align: right;
}

.tweets-pulled-listing li {
	border: none !important;
}

.tweets-pulled-listing li a {
	font-size: 100%;
	color: #000;
	line-height: 1.3Rem;
}

.tweets-pulled-listing .tweet-authorphoto, .tweets-pulled-listing .tweet-author {
	display: none;
}


/* Page */

#header-top-wrapper {
    height: 46px;
}

.not-front #preface-top {
    left: -50px;
    top: 240px;
}

.not-front .highlighted_pages .button-active, .not-front .highlighted_pages .button-active:hover {
    background: rgba(232, 231, 231, 0.31) none repeat scroll 0 0;
    border: 1px solid #6d6c6c;
}

.not-front #main-wrapper {
    width: 100%;
}

.not-front body, not-front div.full-width {
    min-width: 620px;
}

.not-front div.full-width {
    width: 100%;
}

#main-wrapper {
    background: none repeat scroll 0 0 #FFFFFF;
}

#breadcrumbs-inner  {
    margin-top__:2em;
}

.block {
    margin-bottom:3em;
}

.highlighted_pages {
    margin-bottom: 0px;
}

h2, h2.title {
    background: none;
    background-color: #11111;
    margin: 0 4px 0px;
    line-height: 120%;
}

.content h2, .not-front h2.title {
    color: #000000;
    padding: 20px 0px 6px 0px;
    font-size: 2Rem;
    line-height: 2.4Rem;
    text-transform: none;
}

.page h3 {
    border-bottom: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.4Rem;
}

.page h4 {
    border-bottom: none;
    font-weight: bold;
    font-size: 1.2Rem;
}

.not-front body, .not-front p, .not-front .font-size-12 {
    font-size: 1Rem;
 /* text-align: left; */
    line-height: 1.8Rem;
}

.not-front #footer-message, .not-front #footer-message p, .not-front #footer-message .font-size-12 {
    font-size: 74%;
    line-height: 1.82;
}

/*
#content-inner-inner {
  width: 100%;
}
*/

.block-relatedlinks .item-list ul {
    margin: 0 4px;
}  

.views-field img, .content img {
     // padding-right: 15px;
	border: none !important;
}

.block-relatedlinks .item-list ul {
	border: none !important;
}

/* News Page */

.node-type-news h1.title {
    text-align: left;
    font-size: 2rem;
    font-weight: bold;
    color: #000;
    line-height: 2.4rem;
    padding-top: 20px;
}

.news-date {
    font-size: 90%;
    color: #686868;
}

.date-wrap {
    text-align: left;
    line-height: 0.7Rem;
    padding-bottom: 20px;
}