/*
Theme Name:         DTU-DHH Theme
Theme URI:          https://www.uni.lu
Description:        DHH DTU theme based on UNI Luxembourg starter theme
Version:            1.0
Author:             DHH-DTU, Kaarel Sikk
Author URI:         https://dhh.uni.lu/
Text Domain:        sage-child
Template:           theme
License:            MIT License
License URI:        http://opensource.org/licenses/MIT
*/
/*
#sidebar.right-sidebar {
	margin-right: 0;
	position: absolute;
	top: 20px;
	right: 0;
}

#container #content {
	width: 480px;
	margin-right: 245px;
}

div#container {
	position: relative;
}
*/

#secondary.sidebar, #secondary.widget-area {
	max-width:100%;
}

body main article.post {
    margin: auto 12% auto 12% !important;
	text-align: justify;
}

/* latin-ext */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  src: local('Libre Baskerville'), local('LibreBaskerville-Regular'), url(https://fonts.gstatic.com/s/librebaskerville/v7/kmKnZrc3Hgbbcjq75U4uslyuy4kn0qNXaxMICA.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  src: local('Libre Baskerville'), local('LibreBaskerville-Regular'), url(https://fonts.gstatic.com/s/librebaskerville/v7/kmKnZrc3Hgbbcjq75U4uslyuy4kn0qNZaxM.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body main article.post p {
	font-size: .9em;
	line-height: 1.5em;
	font-family: 'Libre Baskerville', serif;
}

body main article.post ol li {
	font-size: .9em;
	line-height: 1.5em;
	font-family: 'Libre Baskerville', serif;
}

body main article.post ul li {
	font-size: .9em;
	line-height: 1.5em;
	font-family: 'Libre Baskerville', serif;
}

@media all and (min-width:1200px) {
    body main article.post {
		margin: auto 20% auto 20% !important;
		text-align: justify;
	}
/*	body main div {
		margin: auto 8% auto 8% !important;
		text-align: justify;
	}*/
	.no-gutter > [class*='col-'] {
    padding-right:35px;
    padding-left:35px;
	}
	.taxonomy-description {
		margin: auto 20% auto 20% !important;
		text-align: justify;
	}
}

@media only screen and (max-width:1200px) {
	a.brand img {
		height: 35px !important;
		padding-right: 0px;
		padding-left: 0px;
	}
	header .mobile-menu-toggle {
		padding-right: 12px !important;
	}
/*	body main div {
		margin: auto 5% auto 5% !important;
		text-align: justify;
	}*/
}

body.team .wp-post-image, body.team #dslc-content .dslc-partner .dslc-partner-thumb img {

   /* box-shadow: 0px 0px 0px 5px #efefef;*/
    width: 120px;
    height: 120px;
    transition: box-shadow .3s ease-in-out;


    display: block;
    border-radius: 70%;
    box-sizing: border-box;
    /*background-color: #DDD;*/
    border: 5px solid  #efefef;

}

body.partners .wp-post-image, body.partners #dslc-content .dslc-partner .dslc-partner-thumb img {

   /* box-shadow: 0px 0px 0px 5px #efefef;*/
    height: 100px;
    display: block;
border: 0px;


}

body.partners .wp-post-image, body.partners #dslc-content .dslc-partner {

border: 1px dashed  #42b9f4;
padding: 2%;


}

table#wp-calendar {
	width:100%;
}

#secondary li.widget_categories ul{

	padding-left:0;
}

#secondary .tribe-events-list-widget ol.tribe-list-widget, #secondary .tribe-events-list-widget ol.tribe-list-widget li {
    padding-left: 0;
}

#secondary .tribe-events-list-widget ol.tribe-list-widget h4 {
    font-size:13pt;
}

.page h1.aps-title {
    font-size: 22pt;
}

#secondary li {
	list-style:none;
}

.blog .has-post-thumbnail .col-md-4 {
	overflow:hidden;
}

.banner .logo {
	max-height: 60px;
}
footer section {
	float:left;
}

ul#menu-footermenu {
	list-style:none;
}

ul#menu-footermenu li{
	float:left;
	padding-left:10px;

}

.tribe-events-list-widget h6, body > div > div.timeline-Header.timeline-InformationCircle-widgetParent {
	/*background-color:#efefef;*/
	padding:5px 5px 5px 5px;
	font-size:16pt;
}

.main h1 {
	/*background-color:#efefef;*/
}



.widget.widget_categories ul li a{
	text-transform: uppercase;
	font-size:12pt;
}

footer .menu-item a {
	text-transform: uppercase;
	font-size:14pt;
}

.content article .col-md-4 {
	overflow:hidden;
}


.content li
{
font-size: 14px;
}

div.copyright {
	clear:both;
	font-size:14px;
	text-align: center;
}

.tribe-events-list-widget h6 {
	margin-top:0;
}

.home .tribe-events-list-widget h6 {
	margin-top:25px;
}

.content article.type-post .col-md-4 img {
    padding-right: 0;
}
/**
Sidebar hack for IE11


**/
@media all and (min-width:544px) and (-ms-high-contrast:none) {
     aside.sidebar {
     	flex: 0 0 30%;
     }
}

/*Gallery stuff*/
.gallery:after {content:"";display:table;clear:both;}

img.aligncenter, div.aligncenter, figure.aligncenter, img.wp-post-image {display:block; /*margin:1em auto;*/}
img.alignright, div.alignright, figure.alignright {float:right; margin:1em 0 1em 2em;}
img.alignleft, div.alignleft, figure.alignleft, img.wp-post-image.attachment-thumb {float:left; margin:1em 1em 2em 0;}
figure {max-width: 100%; height: auto; margin:1em 0;}
p img.alignright, p img.alignleft {margin-top:0;}


.gallery figure img {max-width:100%; height:auto; margin:0 auto; display:block;}


.gallery figure {float:left; margin:0 2% 1em 0;}


.gallery.gallery-columns-1 figure {width:100%; margin:0 0 1em 0; float:none;}


.gallery.gallery-columns-3 figure {width:32%;}
.gallery.gallery-columns-3 figure:nth-of-type(3n+3) {margin-right:0;}
.gallery.gallery-columns-3 figure:nth-of-type(3n+4) {clear:left;}


.gallery.gallery-columns-2 figure {width:49%;}
.gallery.gallery-columns-2 figure:nth-of-type(even) {margin-right:0;}
.gallery.gallery-columns-2 figure:nth-of-type(odd) {clear:left;}


.gallery.gallery-columns-4 figure {width:23.25%;}
.gallery.gallery-columns-4 figure:nth-of-type(4n+4) {margin-right:0;}
.gallery.gallery-columns-4 figure:nth-of-type(4n+5) {clear:left;}


.gallery.gallery-columns-5 figure {width:18%;}
.gallery.gallery-columns-5 figure:nth-of-type(5n+5) {margin-right:0;}
.gallery.gallery-columns-5 figure:nth-of-type(5n+6) {clear:left;}


.gallery.gallery-columns-6 figure {width:14.2%;}
.gallery.gallery-columns-6 figure:nth-of-type(6n+6) {margin-right:0;}
.gallery.gallery-columns-6 figure:nth-of-type(6n+7) {clear:left;}


.gallery.gallery-columns-7 figure {width:12%;}
.gallery.gallery-columns-7 figure:nth-of-type(7n+7) {margin-right:0;}
.gallery.gallery-columns-7 figure:nth-of-type(7n+8) {clear:left;}


.gallery.gallery-columns-8 figure {width:10.2%;}
.gallery.gallery-columns-8 figure:nth-of-type(8n+8) {margin-right:0;}
.gallery.gallery-columns-8 figure:nth-of-type(8n+9) {clear:left;}


.gallery.gallery-columns-9 figure {width:8.85%;}
.gallery.gallery-columns-9 figure:nth-of-type(9n+9) {margin-right:0;}
.gallery.gallery-columns-9 figure:nth-of-type(9n+10) {clear:left;}

.home .content .tribe-events-list-widget h1  h2 h3 h4 h5 h6 {
	color: #4d4d4d;
    font-size: 18px;
    font-weight: 600;
    font-family: "Open Sans";
    line-height: 24px;
}

.main #dslc-main div.dslc-tp-title h1 {
	font-weight:500;
	text-transform:uppercase;
}


@media (max-width:767px) {
	img.alignright, div.alignright, figure.alignright, img.alignleft, div.alignleft, figure.alignleft, img.wp-post-image.attachment-thumb {display:block; margin:1em auto; float:none;}
	.gallery.gallery-columns-4 figure, .gallery.gallery-columns-5 figure, .gallery.gallery-columns-6 figure, .gallery.gallery-columns-7 figure, .gallery.gallery-columns-8 figure, .gallery.gallery-columns-9 figure {width:100%; margin:0 0 1em 0; float:none;}
}



.search-btn {
visibility:hidden;
}



body .tribe-events-list-widget .tribe-event-featured
{
	background-color: #ffffff;
	color: black!important;
	font-family: "Open Sans";
}

body .tribe-events-list-widget .tribe-event-featured span
{
	color: black!important;
	font-family: "Open Sans";
}
body .tribe-events-list-widget .tribe-event-featured h4
{
	color: black!important;
	font-family: "Open Sans";
}
.tribe-event-title a
{
	color: black!important;
	font-family: "Open Sans";
}

.menu-item li a
{
	font-size: 14px;
}


.content p 
{
	color: #4d4d4d;
	font-size: 16px;
	font-family: "Libre Baskerville";
}

.entry-title
{
	color: #4d4d4d;
	font-family:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}


.content h5,h1,h2,h3,h4,h6
{
	color: #4d4d4d;
	font-family:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}


.box-fluid
{
	 position: relative;
     display: inline-block; 
	padding: 1%;
}
.img-fluid {
 	width:100%	;
  opacity: 0.3;
  filter: grayscale(0%) ;
	

}


.img-fluid:hover {
  opacity: 0.8;
  filter:  grayscale(0%); /* For IE8 and earlier */
	
	

}

.box-fluid .text-fluid {
	  position: absolute;
        z-index: -1;
        top: 50%; /* Adjust this value to move the positioned div up and down */
        text-align: center;
		width:100%;
		
	
        
}
.text-fluid
{
	
	font-family: Source Sans Pro, sans-serif;
	font-size: 18px;
	text-transform: uppercase;
	text-decoration-style: solid;
	
	
}
.text-fluid:hover
{
	
	z-index:999;
}
