/*
 Theme Name:   DevDmBootstrap3 Child2
 Theme URI:    http://devdm.com/DevDmBootstrap3/
 Description:  DevDmBootstrap3 Child Theme
 Author:       Erich Schweizer-Ferrari
 Author URI:   https://kath.ch
 Template:     devdmbootstrap3
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  devdmbootstrap3-child2
*/

/**
 * URL
 *
 * Copyright 2016 Katholisches Medienzentrum, Erich Schweizer-Ferrari
 */

/**
 * Farben
 * 
 * 
 */


body {
    font-family: 'Open sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    height: 100%;
    line-height: 1.5;
    margin: 0%;
    width: 100%;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

nav {
    z-index: 1;
}
.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: #e41b13;
    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;
}

.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

.container {
    width: 100%;
}

.navbar {
    background-color: transparent !important;
    border-radius: 0;
}
.navbar-default {
    background-color: #e41b13 !important;
    border: none;
}
.navbar-default .navbar-nav > .active > a {
    background-color: white;
    color: black;
}
.navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    color: #e41b13;
    background-color: white;
}
.navbar-default .navbar-nav > li > a {
    color: white;
}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
    color: #ffdd00;
}
.navbar-toggle {
    color: #999999;
    cursor: pointer;
}

#logo {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: none;
    margin-top: 4px;
}
#logo-collapse {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
}
a#logo-collapse {
    border: 1px solid white;
    width: 50px !important;
}
#head-title {
	color: #e41b13;
	display: none;
	height: 72px;
	margin: -72px 0 0 0;
    width: 263px;
}
#head-title div.bistum {
    background-color: white;
    display: block;
	font-size: 14px;
    opacity: 0.8;
    padding: 7px 7px 0 7px;
}
#head-title div.generalvikariat {
    background-color: white;
    display: block;
	font-size: 20px;
    opacity: 0.8;
    padding: 0 7px 7px 7px;
}
header {
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center;
    height: 120px;
}

.masthead {
    font-weight: 400;
}
.masthead a {
    color: #333333;
}

form {
    margin: 0 0 0 0;
    padding: 0;
}
.form-control, .btn-default {
    opacity: 0.7;
}
h1 {
    font-size: 28px;
    font-weight: normal;
    margin: 19px 0 13px 0;
    padding: 0;
    line-height: 1.5;
}
h2 {
    font-size: 24px;
    font-weight: normal;
    margin: 18px 0 12px 0;
    padding: 0;
    line-height: 1.5;
}
h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 16px 0 10px 0;
    padding: 0;
    line-height: 1.5;
}
html {
    overflow-y: scroll;
}
.caption {
    font-size: 14px;
    margin-top: 3px;
}
.image-right {
    float: right;
    margin: 8px 0 29px 29px;
    min-width: 300px;
    width: 40%;
}
.esf-social-buttons {
    float: right;
}
ul.index {
}
li.inline {
    display: block;
    float: left;
    margin: 0 23px 11px 0;
    padding: 0;
}
li.inline img {
    margin: 0 7px 0 0;
}
span.help-inline {
    min-width: 40px;
}
footer {
    background-color: #E8E8E8;
    bottom: 0px;
    font-size: 12px;
    height: 27px;
    position: fixed;
    text-align: right;
    width: 100%;
}
footer div {
    margin: 5px 7px 0 0;
}
.footer {
    height: 37px;
}
.strikethrough {
    text-decoration: line-through;
}

.infinite-container.infinite-loading:after {
    background: #CCCCCC;
    background-image: url('/loading.png');
    background-position: center center;
    background-repeat: no-repeat;
    bottom: 0;
    color: #FFFFFF;
    content: ' ';
    height: 30px;
    left: 0;
    line-height: 30px;
    position: absolute;
    right: 0;
    text-align: center;
}

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

.wp-caption {
    max-width: 100%;
    padding: 0;
}
.wp-caption img {
    max-width: 100%;
    width: 100%;
}
.wp-caption p.wp-caption-text {
    margin-top: 3px;
    text-align: left;
}

/*
cycle2
*/
/* 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;}

  /* ---------- */
 /* 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) {
    header {
        height: 200px;
    }
    a#logo {
        height: 150px !important;
        width: 150px !important;
    }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
    header {
        height: 280px;
    }
    #head-title {
        display: block;
        height: 59px;
        margin: -59px 0 0 0;
        width: 213px;
    }
    #head-title div.bistum {
        font-size: 12px;
    }
    #head-title div.generalvikariat {
        font-size: 16px;
    }
    a#logo {
        height: 200px !important;
        width: 200px !important;
    }
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    header {
        height: 360px;
    }
    #head-title {
        height: 72px;
        margin: -72px 0 0 0;
        width: 263px;
    }
    #head-title div.bistum {
        font-size: 14px;
    }
    #head-title div.generalvikariat {
        font-size: 20px;
    }
    a#logo {
        height: 250px !important;
        width: 250px !important;
    }
}

/**
* contact form 7
*/
table.wpcf7-table tbody tr td {
    border: none;
}
span.wpcf7-list-item {
    margin-left: 0;
    display: block;
}
span.wpcf7-list-item input[type="radio"] {
    margin-right: 0.8em;
}
input.wpcf7-text {
    width: 100%;
}
textarea.wpcf7-textarea {
    width: 100%;
}

/**
* social media buttons
*/
.esf-social-buttons {
    float: right;
    margin: 2px 0 0 27px;
}
a.post-share {
    background: #3e599a;
    color: #ffffff;
    display: block;
    float: left;
    height: 33px;
    margin: 3px 0px 0px 0px;
    overflow: hidden;
    padding: 8px 0 0 11px;
    position: relative;
    text-decoration: none;
    text-indent: 0;
    width: 83px;
}
a.post-share:hover {
    opacity: 0.8;
    text-decoration: none;
    cursor: pointer;
}
a.post-share span {
    background-color: #4665af;
    color: #ffffff;
    display: block;
    float: right;
    font: 14px "Open Sans", Verdana, Arial, Helvetica, Geneva, sans-serif;
    height: 23px;
    padding: 5px 11px 0 0;
    position: absolute;
    right: 0;
    text-align: right;
    top: 0;
    width: 41px;
}

a.post-share.facebook {
    background: #3a5799;
    margin-right: 0px;
}
a.post-share.facebook span {
    background: #3a5799;
    /* background-color: #4665af; */
}

a.post-share.twitter {
    background: #00aaf0;
    margin-right: 0px;
}
a.post-share.twitter span {
    background: #00aaf0;
    /* background-color: #529fda; */
}

a.post-share.gplus {
    background: #b8382e;
    margin-right: 0px;
}
a.post-share.gplus span {
    background-color: #d24238;
}

a.post-share.print {
    background: #0075b8;
    margin-right: 0px;
}
a.post-share.print span {
    background: #0075b8;
    /* background-color: #4665af; */
}

  /* ------------------- */
 /* bootstrap 3 helpers */
/* ------------------- */

header {
    /* height: 280px; */ /* defined in responsive zone */
}

.navbar-form input, .form-inline input {
    width: auto;
}

/*
#nav.affix {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}
*/

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

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

