/**
 * Core Design Footnotes plugin for Joomla! 3
 * @author		Daniel Rataj, <info@greatjoomla.com>
 * @package		Joomla
 * @subpackage	Content
 * @category   	Plugin
 * @version		3.x.1.0.5
 * @copyright	Copyright (C) 2007 - 2016 Great Joomla!, http://www.greatjoomla.com
 * @license		http://www.gnu.org/copyleft/gpl.html GNU/GPL 3
 * 
 * This file is part of Great Joomla! extension.   
 * This extension is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This extension is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */




/* SUP element container */
.cdfootnotes_sup {
	top: -5px;
}
.cdfootnotes_sup a::after {
	display:none;
}
 
/* Footnotes container - at bottom */
.cdfootnotes {
	padding: 3rem 0 0 0;
	margin-top:3rem;
  font-size: 13px;
}
.cdfootnotes h2 {
	margin:0;
	padding:0 0 1rem 0;
	font-size:1.5rem;
}

.cdfootnotes .cdnotes-wrap {
	  font-size: 13px;
    line-height: 18px;
}
.cdfootnotes .cdnotes-wrap .bib-note {
	margin-bottom:7px;
}

.cdfootnotes .cdfootnotes_superscript,
.cdfootnotes .cdfootnotes_superscript_content {
 	float: left;
}

/* Sup container */
.cdfootnotes .cdfootnotes_superscript {
	width: 35px;
}

/* Sup content */
.cdfootnotes .cdfootnotes_superscript_content {
		width: calc(100% - 35px);
    padding-left: 22px;
    position: relative;
}

.cdfootnotes .cdfootnotes_superscript_content a.back-up {
	display: inline-block;
    padding: 0 4px;
    color: #b9b9b9;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 3px;
	text-decoration:none;
	border:0;
}

.cdfootnotes .cdfootnotes_superscript_content a.back-up:hover {
	background-color: #f1f1f1;
    color: black;
	border:0;
}


/* Footnote text highlight*/
.cdfootnotes .cdfootnotes_highlight {
	background-color: yellow;
}

/* Tooltip container */
.cdfootnotes_tooltip {
	display: none;
	width: 230px;
	position: absolute;
	text-align: left;
	font-size: 90%;
}

/* Tooltip content */
.cdfootnotes_tooltip .cdfootnotes_tooltip_content {
	padding: 3px 5px;
}

body.mt-religions {
	
}


/* LEGACY OMNIKA THEME FA5 ICONS */


.cdfootnotes .cdfootnotes_superscript_content a.l-int::after,
.cdfootnotes .cdfootnotes_superscript_content a.l-int::after {
	content: "chrome_reader_mode";
	font-weight:600;
  padding-left: 3px;
	font-size: 15px;
	vertical-align:bottom;
	font-family: 'Material Icons';
	font-weight: normal;
	font-style: normal;
	text-transform: none;
	letter-spacing: normal;
	word-wrap: normal;
	white-space: nowrap;
	direction: ltr;
	line-height: 19px;
	text-align: center;
	margin: 0;
	position: relative;
	-webkit-font-feature-settings: 'liga';
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	text-decoration: none;
}

.cdfootnotes .cdfootnotes_superscript_content a.l-ext::after,
.cdfootnotes .cdfootnotes_superscript_content a.l-ext::after {
	background-color:#232323;
	line-height:12px;
	width:12px;
	text-align:center;
	font-size:10px;
	-webkit-font-feature-settings: 'liga';
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	text-decoration:none;
}

@media only screen and (max-device-width: 590px) and (min-device-width: 1px), screen and (max-width: 590px) and (min-width: 1px) {
	
	body.mt-religions .cdfootnotes,
	body.mt-deities .cdfootnotes {
		margin: 3rem -15px 0 -15px;
		padding: 3rem 15px 0 15px;
	}
	
	.tmpl--default .cdfootnotes,
	.tmpl-library .cdfootnotes {
		margin: 25px 0 0 0 !important;
	}
  
/* END OF VIEWPORT */
}





