/*
 Theme Name:   DevDmBootstrap3 Child
 Theme URI:    
 Description:  DevDmBootstrap3 Child Theme
 Author:       John Doe
 Author URI:   http://example.com
 Template:     devdmbootstrap3
 Version:      1.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  devdmbootstrap3-child
*/

/*
 * colors
 * cf. consts.php
 */

/* Theme customization starts here
-------------------------------------------------------------- */

html {
    overflow-y: scroll;
}

body {
	font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 1.4;
}

a img.alignnone {
    margin: 5px 0 20px 0;
}
img.alignnone {
    max-width: 100%;
    height: auto;
    width: auto;
}

h2 {
    line-height: 1.4;
    margin: 44px 0 18px 0;
}
h2.page-header {
    border: none;
    margin-top: 32px;
}
h3 {
    line-height: 1.4;
    margin: 41px 0 16px 0;
}
p {
    margin-bottom: 19px;
}
ul, ol {
    margin-top: 0;
    margin-bottom: 29px;
}

.navbar {
    border: none;
    border-radius: 0;
}

.navbar-inverse .navbar-nav > li > a {
    color: #FFFFFF;
}.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus {
    color: #000000;
}
.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
    color: #000000;
    background-color: #FFFFFF;
}
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
	color: #ffffff;
}
.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
    color: white !important;
}
.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus {
    color: #dddddd;
}
.collapsed {
    height: 50px;
    display: block;
    float: left;
}
.image-container {
    display: block;
    height: 0;
    overflow: hidden;
    padding-bottom: 16.666666%; /* 1920 : 320 */
    /* padding-bottom: 56.25%; /* 16 : 9 */
    padding-top: 0px;
    position: relative;
}
.image-container > span {
    background-position: center;
    background-size: cover;
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}
.image-container > span img, .image-container > span span {
    display: none;
}
.top-navigation {
    display: none;
    overflow: hidden;
}
.top-navigation table {
    height: 59px;
    width: auto;
}
.top-navigation table tr td {
    padding: 16px;
    text-align: center;
    vertical-align: middle;
}
.top-navigation table tr td:first-child {
    padding-left: 32px;
}
.footer-address {
    color: #333333;
    display: block;
    font-size: 13px;
    margin: 23px -15px 0 -15px;
    opacity: 1;
    padding: 11px 17px 11px 17px;
    text-align: left;
}
.footer-address a {
    color: white;
}    
.dmbs-left ul {
    padding-left: 17px;
}
.dmbs-left ul li {
    padding-left: 11px;
}
.dmbs-right .searchform {
    margin-bottom: 37px;
}
.screen-reader-shortcut {
    position: absolute;
    top: -1000em;
}
.screen-reader-shortcut:focus {
    left: 6px;
    top: 6px;
    height: auto;
    width: auto;
    display: block;
    font-size: 14px;
    font-weight: 600;
    padding: 15px 23px 14px;
    background: #f1f1f1;
    color: #005aa1;
    z-index: 100000;
    line-height: normal;
	/*
    -webkit-box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
    box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
	*/
    text-decoration: none;
    outline: 0;
}

.title-icon-align-right {
    float: right;
    margin: 39px 0 19px 19px;
}

.single-featured-image {
    float: right;
    width: 50%;
    margin: 7px 0 19px 19px;
}
.caption {
    font-size: 14px;
    margin: 3px 0 23px 0;
}

.calendar {
	color: #FFFFFF;
	background-color: #7F7F7F;
    border-radius: 7px;
    margin: 4px 0 0 0;
    max-width: 99px;
    min-width: 50px;
	padding: 15px 7px 10px 7px;
}
.calendar > .day {
    font-size: 30px;
	font-weight: 600;
	margin: 0;
	text-align: center;
}
.calendar > .month {
    font-size: 20px;
	font-weight: 300;
	text-align: center; 
	text-transform: uppercase;
	padding-top: 6px;
}

.eventselection {
    margin-bottom: 17px;
}
#eventlist {
    overflow: hidden;
}
.eventdatetimelocation, .eventexcerpt {
    color: #999999;
}
.eventdatetimelocation {
    font-size: 0.9em;
}

.tile-row {
    border-bottom: 1px solid #CCCCCC;
    margin-bottom: 33px;
    padding-bottom: 33px;
}
.front-tile {
    margin-top: 37px;
}
.front-tile .image-caption {
    color: #999999;
    font-size: 13px;
}
.front-tile h2 {
    font-size: 24px;
    margin-top: 11px;
    margin-bottom: 7px;
}
.front-tile .excerpt a {
    color: #999999;
}
.front-tile .pubdate {
    font-size: 13px;
}

img.esf-adventskalender-2020 {
    margin: 0rem 0rem 0 0;
    max-height: 10rem;
    position: absolute;
    right: 0;
    z-index: 1111;
}

/*
cycle2
*/
.cycle-slideshow {
    z-index: 1;
}
/* overlay */
.cycle-overlay { 
    font-family: tahoma, arial;
    position: absolute; bottom: 0; width: 100%; z-index: 600;
    background: black; color: white; padding: 15px; opacity: .6;
}
/* prev / next links */
.cycle-prev, .cycle-next { position: absolute; top: 0; width: 50%; opacity: 0; filter: alpha(opacity=0); z-index: 800; height: 100%; cursor: pointer; }
.cycle-prev { left: 0;  background: url(images/dia-prev.png) 0% 50% no-repeat;}
.cycle-next { right: 0; background: url(images/dia-next.png) 100% 50% no-repeat;}
.cycle-prev:hover, .cycle-next:hover { opacity: .75; filter: alpha(opacity=75); }
/* pager */
.cycle-pager { 
    text-align: center; width: 100%; z-index: 500; position: absolute; top: 10px; overflow: hidden;
}
.cycle-pager span { 
    font-family: arial; font-size: 50px; width: 16px; height: 16px; 
    display: inline-block; color: #ddd; cursor: pointer; 
}
.cycle-pager span.cycle-pager-active { color: #666666;}
.cycle-pager > * { cursor: pointer;}


/*
 * SimpleModal
 */
 #simplemodal-overlay {
	background-color: #000000;
}
#simplemodal-container {
    background-color: #FFFFFF;
    border: 1px solid #FFFFFF;
    border-radius: 9px;
    color: #333333;
    height: 71%;
    max-height: 71%;
    max-width: 71%;
    min-height: 71%;
    min-width: 71%;
    opacity: 1;
    padding: 1rem 0 1.2rem 1rem;
    width: 71%;
}
#simplemodal-container a.modalCloseImg {
    background: url('../images/x.png') no-repeat;
    cursor: pointer;
    display: block;
    height: 29px;
    position: absolute;
    right: -8px;
    top: -8px;
    width: 25px;
    z-index: 3200;
}
#simplemodal-container h1 {
	color: inherit;
	font-size: 2rem;
	margin: 0 0 1rem 0;
	padding: 0;
}
#simplemodal-container p {
	color: inherit;
	font-size: 1.4rem;
	margin: 0 0 1rem 0;
	padding: 0;
}
#simplemodal-container table, #simplemodal-container td {
	border: none;
}
#simplemodal-container table {
	border-collapse: collapse;
}
.simplemodal-wrap {
    overflow: auto !important;
    padding-right: 1rem;
}
#simplemodal-data > div {
    overflow: hidden;
}
/*
 * /SimpleModal
 */



  /* ---------- */
 /* Responsive */
/* ---------- */

/* Extra small devices (phones, up to 480px) */
/* No media query since this is the default in Bootstrap */

/* Small devices (tablets, 768px and up) */

@media (min-width: 768px) {
    .dmbs-left > div > h2 {
        font-size: 18px;
    }        
    .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
        color: #333333;
    }
    .image-container > span img, .image-container > span span {
        display: block;
    }
    .collapsed {
        display: none;
    }
    .top-navigation {
        display: block;
        height: 59px;
    }
    .eventselection select {
        max-width: 49%;
    }
    img.esf-adventskalender-2020 {
        margin: 1rem 1rem 0 0;
        max-height: 12rem;
    }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .dmbs-left > div {
        font-size: 14px;
        padding: 17px;
    }
    .dmbs-left > div > h2 {
        font-size: 20px;
    }
    .dmbs-right {
        margin-bottom: 73px;
    }
    .dmbs-right > div {
        font-size: 14px;
        padding: 17px;
    }
    .footer-address {
        border-radius: 23px 0 0 0;
        bottom: 0;
        display: inline-block;
        margin: 0;
        opacity: 1;
        position: fixed;
        right: 0;
    }
    .front-tile {
        margin-top: 0px;
    }
    img.esf-adventskalender-2020 {
        margin: 2rem 2rem 0 0;
        max-height: 15rem;
    }
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .dmbs-left > div {
        font-size: 16px;
        padding: 37px;
    }
    .dmbs-left > div > h2 {
        font-size: 24px;
    }        
    .dmbs-right > div {
        font-size: 16px;
        padding: 37px;
    }
    img.esf-adventskalender-2020 {
        margin: 3rem 3rem 0 0;
        max-height: 18rem;
    }
}

/* responsive youtube video */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0px; height: 0;
    overflow: hidden;
}
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* responsive google map */
.responsive-map {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}
.responsive-map iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.affix {
    top: 0;
    width: 100%;
    z-index: 10;
}

.affix + .dmbs-content {
    margin-top: 72px;
}
