/*
 * @copyright	Copyright (C) 2011 Simplify Your Web, Inc. All rights reserved.
 * @license		GNU General Public License version 3 or later; see LICENSE.txt
 */

@charset "UTF-8";

body { 
	font-size: var(--template-fontsize, 16px);
}

/* grid (fluid) */

.container_16_fluid {
    margin-left: 4%;
    margin-right: 4%;
    width: 92%;
}

#template_framework_header,
#template_framework,
#template_framework_footer {
	margin: 0 auto;
	max-width: var(--template-maxwidth, none);
}

/* MOBILE PORTRAIT - default */

#template_fullwidth_content_before,
#template_fullwidth_content_after {
	width: 100%;
}

#template_topmenubar,
#template_header,
#template_mainmenubar {
	width: calc(100% - 2 * var(--template-header-hgap));
	margin-left: var(--template-header-hgap);
    margin-right: var(--template-header-hgap);
}

#template_subfooter {
	width: calc(100% - 2 * var(--template-footer-hgap));
	margin-left: var(--template-footer-hgap);
    margin-right: var(--template-footer-hgap);
}

#template_footer,
.tripletleft,
.tripletmiddle,
.tripletright,
.longtripletleft,
.longtripletmiddle,
.longtripletright,
.quadrupletleft,
.quadrupletmiddleleft,
.quadrupletmiddleright,
.quadrupletright {
	width: 98%;
	position: relative;
	margin-top: var(--template-vgap, 10px);
}

#template_breadcrumb {
	width: 98%;
	position: relative;
	padding-top: var(--template-vgap, 10px);
}

#template_ticker,
#template_bottom_ticker {
	width: 98%;
	position: relative;
}

#template_breadcrumb,
#template_footer,
#template_ticker,
#template_bottom_ticker,
.tripletleft,
.tripletmiddle,
.tripletright,
.longtripletleft,
.longtripletmiddle,
.longtripletright,
.quadrupletleft,
.quadrupletmiddleleft,
.quadrupletmiddleright,
.quadrupletright {
    margin-left: 1%;
    margin-right: 1%;
}

#template_sidebar_left { grid-area: sidebar_left; }
#template_content { grid-area: content; }
#template_sidebar_right { grid-area: sidebar_right; }

#template_content_container {
	display: grid;
	grid-template-columns: 100%;
	grid-template-rows: auto auto auto;
	gap: var(--template-vgap, 10px) 0;
	grid-template-areas: var(--template-grid-areas-1col, "sidebar_left" "content" "sidebar_right");
}

/* MOBILE LANDSCAPE */

@media only screen and (min-width: 480px) {
	.quadrupletleft,
	.quadrupletmiddleleft,
	.quadrupletmiddleright,
	.quadrupletright {
		width: 48%;
	}
}

/* SMALL TABLET */

@media only screen and (min-width: 600px) {}

/* TABLET/NETBOOK */

@media only screen and (min-width: 768px) {
	.tripletleft,
	.tripletmiddle,
	.tripletright {
		width: 31.333%;
	}

	.quadrupletleft,
	.quadrupletmiddleleft,
	.quadrupletmiddleright,
	.quadrupletright {
		width: 23%;
	}

	.quadrupletmiddleright {
		clear: none;
	}

    .both .longtripletleft {
		width: 98%;
	}

    .left .longtripletleft {
		width: var(--template-sidebar-width768, 25%);
	}

    .both .longtripletmiddle,
	.left .longtripletmiddle,
	.right .longtripletmiddle {
		width: calc(96% - var(--template-sidebar-width768, 25%));
	}

    .both .longtripletright,
	.right .longtripletright {
		width: var(--template-sidebar-width768, 25%);
	}
}

/* LANDSCAPE TABLET/NETBOOK/LAPTOP */

@media only screen and (min-width: 1024px) {

	.both .longtripletleft,
	.left .longtripletleft {
		width: var(--template-sidebar-width, 25%);
	}

	.both .longtripletmiddle {
		width: calc(94% - (var(--template-sidebar-width, 25%) * 2));
	}

	.left .longtripletmiddle,
	.right .longtripletmiddle {
		width: calc(96% - var(--template-sidebar-width, 25%));
	}

	.both .longtripletright,
	.right .longtripletright {
		width: var(--template-sidebar-width, 25%);
	}
	
	#template_content_container.right {
		display: grid;
		grid-template-columns: calc(98% - var(--template-sidebar-width, 25%)) var(--template-sidebar-width, 25%);
		grid-template-rows: auto;
		gap: 0px 2%;
		grid-template-areas: "content sidebar_right";
	}
	
	#template_content_container.left {
		display: grid;
		grid-template-columns: var(--template-sidebar-width, 25%) calc(98% - var(--template-sidebar-width, 25%));
		grid-template-rows: auto;
		gap: 0px 2%;
		grid-template-areas: "sidebar_left content";
	}
	
	#template_content_container.both {
		display: grid; 
		grid-template-columns: calc(98% - var(--template-sidebar-width, 25%)) var(--template-sidebar-width, 25%); 
		grid-template-rows: auto auto; 
		gap: var(--template-vgap, 10px) 2%; 
		grid-template-areas: var(--template-grid-areas-2col, "sidebar_left sidebar_left" "content sidebar_right");
	}
}

/* DESKTOP */
@media only screen and (min-width: 1280px) {
	
	#template_content_container.both {
		display: grid;
		grid-template-columns: var(--template-sidebar-width, 25%) calc(96% - (var(--template-sidebar-width, 25%) * 2)) var(--template-sidebar-width, 25%);
		grid-template-rows: auto;
		gap: 0px 2%;
		grid-template-areas: "sidebar_left content sidebar_right";
	}
}

/* Framework */

#framework { /* needed for the pageslide going over the page other than sliding it */
	position: relative;
	width: 100%;
	height: 100%;
}

#framework.slide_over {
	position: absolute;
	left: 0;
	top: 0;
}

	#template_fullwidth_content_before,
	#template_fullwidth_content_after {
		padding-top: var(--template-vgap, 10px);
	}

	#template_framework_header_outer {
		width: 100%;
		position: relative;
	}

		#template_framework_header {
		  	position: relative;
		}

			#template_header_container {
				position: relative;
/* 				overflow: hidden; */
				width: 100%;
			}

				#template_topmenubar {
					position: relative;
/* 					overflow: hidden; */
					display: flex;
					justify-content: end;
					align-items: center;
					flex-direction: row-reverse;
					flex-wrap: wrap-reverse;
					padding-top: calc(var(--template-vgap, 10px) - 5px);
				}

					#template_topmenu {
						height: auto;
						position: relative;
						margin-top: 5px;
						
						display: flex;
						justify-content: end;
						align-items: center;
						flex-direction: row-reverse;
					}

					#template_search {
						display: flex;
						flex-wrap: wrap;
						align-items: center;
						position: relative;
						width: auto;
						margin: 5px 0 0 0;
					}
					
						#template_search > * {
							margin: 0 0 0 10px;
						}
	
						html[dir="rtl"] #template_search > * {
							margin: 0 10px 0 0;
						}

				#template_header {
					position: relative;
/* 					overflow: hidden; */
					display: flex;
					flex-wrap: wrap;
					justify-content: var(--template-logo_spacing, space-between);
					gap: 10px;
					margin-top: var(--template-logo-gapabove, 40px);
					margin-bottom: var(--template-logo-gapbelow, 80px);
				}

					#template_header_brand {
						flex: 0 1 auto;
						position: relative;
						text-align: var(--template-logo_textalign);
					}
	
						#template_header_brand .site-description {
							display: none;
						}
	
						@media only screen and (min-width: 480px) {
							#template_header_brand .site-description {
					    		display: inherit;
							}
						}

					#template_header_extra {
						flex: 0 1 auto;
						position: relative;
						align-self: center;
					}

				#template_mainmenubar {
					position: relative;
					margin-top: var(--template-vgap, 10px);
				}
				
				#template_mainmenubar.sticky  {
					position: fixed; 
					width: 100%; 
					top: 0; 
					left: 0; 
					margin: 0; 
					padding: 0;	
					z-index: 1010;
				}

				#template_mainmenubar_inner {
					display: flex;	
					justify-content: var(--template-menu_spacing, start);
					align-items: var(--template-menu_valign, start);
				}
				
				.sticky #template_mainmenubar_inner { 
					margin: 0 auto; 
					width: 92%; 
					max-width: var(--template-maxwidth, none);
				}

					#template_mainmenubar_brand {
						margin-right: 20px;
					}

					html[dir="rtl"] #template_mainmenubar_brand {
						margin-right: 0;
						margin-left: 20px;
					}
					
					#template_mainmenubar_brand img {
						margin: 20px 0;
					}

					#template_mainmenu {
						position: relative;
						padding: 0;
						
						display: flex;
						
						-ms-flex-item-align: center;
						-ms-grid-row-align: center;
						align-self: center;
  
						-webkit-box-pack: justify;
						-ms-flex-pack: justify;
  						justify-content: space-between;
					}

						/* raw menu defaults */

#template_mainmenu ul.rawmenu > li {
	display: inline-block;
	padding: 16px;
}

#template_mainmenu ul.rawmenu > li > .rawmenu-child {
	display: none;
}

	#framework_fullwidth_before_outer {
		position: relative;
	}

	#template_framework_outer {
		width: 100%;
		position: relative;
	}

		#template_framework {
		  	position: relative;
		}

			#template_ticker_container,
			#template_bottom_ticker_container {
				position: relative;
/* 				overflow: hidden; */
				width: 100%;
				padding-top: var(--template-vgap, 10px);
			}

			#template_container {
				position: relative;
				width: 100%;
			}

				#template_triplet,
				#template_bottom_triplet {
					position: relative;
/* 					overflow: hidden; */
					display: flex;
					flex-wrap: wrap;
				}

					.tripletmodule {
						position: relative;
			    		padding: 5px;
					}

					.tripletmodule p:last-child {
						margin-bottom: 0;
					}

				#template_content_container {
					position: relative;
					width: 98%;
					margin: 0 auto;
					padding-top: var(--template-vgap, 10px);
				}

					#template_content {
						position: relative;
					}

						#template_content_top {
							position: relative;
							margin-bottom: var(--template-vgap, 10px);
						}

						#template_content_bottom {
							position: relative;
							margin-top: var(--template-vgap, 10px);
						}

					#template_sidebar_left,
					#template_sidebar_right {
						position: relative;
					}

						#template_sidebar_left .sidepane,
						#template_sidebar_right .sidepane,
						#template_sidebar_left .card,
						#template_sidebar_right .card {
							position: relative;
							width: 94%;
							margin: 1rem 3%;
						}
						
	#framework_fullwidth_after_outer {
		position: relative;
	}

	#template_framework_footer_outer {
		width: 100%;
		position: relative;
	}

		#template_framework_footer {
			position: relative;
		}

			#template_footer_container {
				position: relative;
			}

				#template_longtriplet {
					position: relative;
/* 					overflow: hidden; */
					display: flex;
					flex-wrap: wrap;
				}

	                .longtripletmodule {
			    		position: relative;
			    		padding: 5px;
					}

				#template_quadruplet {
					position: relative;
/* 					overflow: hidden; */
					display: flex;
					flex-wrap: wrap;
				}

					.quadrupletmodule {
			    		position: relative;
			    		padding: 5px;
					}

				#template_subfooter {
					position: relative;
					display: flex;
					justify-content: space-between;
					align-items: center;
					flex-direction: row;
					padding-top: var(--template-vgap, 10px);
				}

					#template_bottommenu {
						display: flex;
						justify-content: space-between;
						align-items: center;
						align-self: flex-start;
						flex-direction: row;
					}

/* some specifics */

.mobile_only {
	display: none;
}

@media only screen and (max-width: 480px) {
	.not_mobile {
		display: none;
	}
	.mobile_only {
		display: inherit;
	}
}

.template_spacer {
	width: 100%;
	height: var(--template-vgap, 10px);
	display: table;
}

.hide-text {
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	font-size: 0; 
	height: 0;
	margin: 0;
	padding: 0;
}

/* Clear fix */

.clr {
    clear: both;
}

/* Up button */

#up-btn {
	width: 48px;
	height: 48px;
	right: 20px;
	bottom: 20px;
	opacity: .7;
	cursor: pointer;
	position: fixed;
	z-index: 1010;
	transition: all .4s ease-in-out;
	padding: 10px;
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	align-items: center;
	transform: scale(1);
	border-radius: 50%;
}

.up-left #up-btn {
	left: 20px;
	right: auto;
}

#up-btn.up-btn_hide {
	opacity: 0;
	transform: scale(0);
	transition: all .4s ease-in-out;
}

#up-btn:hover {
	opacity: 1;
}

/* scroll indicator */

#scroll-indicator {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 5px;
	overflow: hidden;
	z-index: 1020;
}

#scroll-indicator > span {
	display: block;
	height: 100%;
	width: 100%;
	transform: translate3d(-100%,0,0);
	transition: all 0.2s ease-out;
}

#scroll-indicator.indicator__hide {
	display: none;
}

[dir="rtl"] #scroll-indicator > span {
	transform: translate3d(100%,0,0);
}

/* Smart search */

.mod-finder {
	display: inline-flex;
	align-items: center;	
}

label.finder {
	margin-right: 10px;
}

[dir="rtl"] label.finder {
	margin-left: 10px;
}

.search-pagination {
	text-align: center;
}

/* Menus (common to all) */

div.mod-languages ul,
ul.nav.mod-menu {
	margin: 0;
    padding: 0;
	list-style: none;
}

ul.nav.mod-menu ul,
ul.nav.mod-menu li {
	list-style: none;
}

div.mod-languages ul.lang-inline li {
	display: inline-block;
}

/* tabs */

joomla-tab button[aria-expanded="true"]::after {
	background-color: var(--template-color-primary);
}

/* paragraphs */

p.readmore { 
	margin-bottom: 1.5em; 
}
			
/* contentpane (modal windows) */

.contentpane {
	padding: 10px;
}

.contentpane .print_logo {
	margin-bottom: 20px;
}

.contentpane .print_credentials {
	margin-top: 20px;
}

/* forms */ 

.form-group {
  margin-bottom: 1rem;
}

.control-group {
  margin: 1em 0;
}

.form-horizontal .form-actions {
    padding-left: 0;
	padding-right: 0;
	float: left;
}

.form-horizontal .control-group::after {
    clear: both;
}

.form-horizontal .control-group::before,
.form-horizontal .control-group::after {
	display: table;
    content: "";
    line-height: 0;
}

.form-horizontal .control-label {
	width: 95%;
	text-align: left;
	float: none;
}

.form-horizontal .controls {
	width: 95%;
	margin-left: 0;
}

.form-vertical .control-label,
.form-vertical .controls {
	width: 95%;
}

@media only screen and (min-width: 640px) {
	.form-horizontal .form-actions {
	    padding-left: 40%;
		float: none;
	}
	
	.form-horizontal .control-label {
		width: 35%;
		float: left;
	}
	
	.form-horizontal .controls {
		width: 55%;
		margin-left: 40%;
	}
}

/* Breadcrumbs */

.breadcrumb {
    margin: 0;
    padding: 0;
}

/* Search */

.awesomplete input {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

html[dir="rtl"] .awesomplete input {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

/* page pagination */

.pagenavigation { 
	margin: 20px 0;
}

.pagenavigation .previous,
.pagenavigation .next { 
	display: flex; 
	align-items: center;
	gap: 10px;
}

.pagenavigation .previous + .next { 
	margin-left: 20px;
}

/* login */

.mod-login .pretext {
	margin-bottom: 20px;
}

.mod-login .userdata {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 15px;
}

.mod-login .userdata div {
	flex: 1 1 auto;
	width: auto;
	margin-bottom: 0;
}

.mod-login .userdata button svg {
	max-height: 24px;
}

.mod-login .userdata ul {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 0;
}

.mod-login .userdata ul li {
	margin-right: 20px;
}

/* blog */

.blog-item { margin-bottom: 40px }

/* dl-horizontal */

dl.dl-horizontal {
    display: grid;
    grid-template-columns: auto 1fr;
}
  
dl.dl-horizontal dt {
    grid-column-start: 1;
    grid-column-end: 2;
}
  
dl.dl-horizontal dd {
    grid-column-start: 2;
    grid-column-end: 3;
    padding: 0 0 0 1em;
    margin-bottom: 0;
    margin-left: 0;
}
