a {
    color: #066837;
}

a:hover {
    color: #41aa34;
}

.content-out-wrap {
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
    z-index: 8;
}

.container {
    width: calc(100% - 20px);
}

@media (min-width:1200px) and (max-width:1260px) {
    #header {
        padding-left: 60px;
    }
    #header .container {
        max-width: 1080px;
    }
}

@media (min-width:992px) and (max-width:1085px) {
    #header {
        padding-left: 60px;
    }
    #header .container {
        max-width: 900px;
    }
}

@media (max-width:639px) {
    #sponsorHead.container {
        max-width: calc(100% - 75px);
        margin-left: 65px;
    }
}

#tafelhead.container {
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 2px;
    margin: 15px auto 0;
    padding: 5px;
    top: 0;
    min-height: 100px;
    overflow: hidden;
}

@media (min-width:992px) {
    #tafelhead.container {
        height: 100px;
    }
}

#tafelhead p:last-child {
    margin-bottom: 0;
}

@media (min-width:992px) and (max-width:1199px) {
    .h1,
    h1 {
        font-size: 1.9rem
    }
    .h2,
    h2 {
        font-size: 1.65rem
    }
    .h3,
    h3 {
        font-size: 1.5rem
    }
    .h4,
    h4 {
        font-size: 1.35rem
    }
    .h5,
    h5 {
        font-size: 1.25rem
    }
    .h6,
    h6 {
        font-size: 1rem
    }
}

@media (min-width:768px) and (max-width:991px) {
    .h1,
    h1 {
        font-size: 1.8rem
    }
    .h2,
    h2 {
        font-size: 1.6rem
    }
    .h3,
    h3 {
        font-size: 1.5rem
    }
    .h4,
    h4 {
        font-size: 1.35rem
    }
    .h5,
    h5 {
        font-size: 1.20rem
    }
    .h6,
    h6 {
        font-size: 1rem
    }
}

@media (max-width:767px) {
    .h1,
    h1 {
        font-size: 1.5rem
    }
    .h2,
    h2 {
        font-size: 1.4rem
    }
    .h3,
    h3 {
        font-size: 1.3rem
    }
    .h4,
    h4 {
        font-size: 1.2rem
    }
    .h5,
    h5 {
        font-size: 1.1rem
    }
    .h6,
    h6 {
        font-size: 1rem
    }
}

#tafelhead.container .hspons-img-wrap-links {
    text-align: left;
}

#tafelhead.container .hspons-img-wrap-rechts {
    text-align: right;
}

@media (min-width:992px) {
    #tafelhead.container .row>div {
        max-height: 90px;
    }
}

#tafelhead.container img {
    max-width: 100%;
    max-height: 90px;
    display: inline-block;
    vertical-align: middle;
}

@media (max-width:767px) {
    #tafelhead.container .row>div {
        width: 100%;
    }
    #tafelhead.container .hspons-img-wrap-links,
    #tafelhead.container .hspons-img-wrap-rechts {
        text-align: center;
    }
    #tafelhead.container .row a.hspons-img-wrap-links,
    #tafelhead.container .row a.hspons-img-wrap-rechts {
        width: 100%;
    }
}

#tafelhead.container h1 {
    margin-top: 0;
}

@media (min-width:1200px) {
    #tafelhead.container .ht-m {
        font-size: 1.2rem;
    }
    #tafelhead.container .ht-l {
        font-size: 1.4rem;
    }
    #tafelhead.container .ht-xl {
        font-size: 1.6rem;
    }
}

@media (min-width:992px) {
    #tafelhead.container .ht-m {
        font-size: 1.1rem;
    }
    #tafelhead.container .ht-l {
        font-size: 1.2rem;
    }
    #tafelhead.container .ht-xl {
        font-size: 1.3rem;
    }
}

#tafelbody.container {
    padding: 0px;
    margin: 15px auto;
    text-align: center;
    height: 0;
    border-radius: 5px;
    background: url('../images/bg-image.png'), url('../images/grid-item-light.png'), linear-gradient( #066837, #066837);
    background-repeat: no-repeat, round, repeat;
    background-position: center center, left top, left top;
    background-size: 100% 100%, auto auto, 100% 100%;
    border: 10px groove #d7d7d7;
    position: relative;
    overflow: hidden;
}

#tafelbody.container::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: 33%;
    height: 33%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url('../images/verein-logo.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    opacity: 1;
}

@media (min-width:1430px) {
    #tafelbody.container {
        max-width: 1400px;
    }
}

@media (max-width:991px) {
    #tafelbody.container::after {
        display: none;
    }
}

.sponsor-item-wrap {
    background-color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
    display: inline-block;
    margin: 5px;
    padding: 0px;
    vertical-align: middle;
    max-width: calc(100% - 10px);
}

@media (min-width:992px) {
    .sponsor-item-wrap {
        display: block;
        position: absolute;
        margin: 0px;
        max-width: 100%;
    }
}

.sponsor-item-link {
    display: block;
    width: 100%;
    height: 100%;
}

.sponsor-item-img {
    display: block;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    margin: 5px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}


/*Form*/

.form-control:focus {
    border-color: #066837;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(6, 104, 55, .25);
}

.d-flex.justify-content-end {
    margin-bottom: 10px;
}

.d-flex.justify-content-end>* {
    margin-left: 10px;
    margin-bottom: 0;
}

.img-section-wrap>div,
.hg-section-wrap>div {
    margin-top: 7px;
}

.img-section-wrap .img-thumb {
    padding: 3px;
    border: 1px solid rgba(0, 0, 0, .1);
    max-height: 50px;
    max-width: calc(80% - 8px);
}

.img-section-wrap .img-thumb:hover {
    background-color: #d7d7d7;
}

div.btn:hover {
    cursor: pointer;
}

fieldset {
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 2px;
    margin-bottom: 20px;
}

fieldset legend {
    padding: 5px 10px;
    display: inline-block;
    width: auto;
}

.custom-file-input:lang(de)~.custom-file-label::after {
    content: "Durchsuchen";
}

textarea.iframe-wrap {
    margin-top: 20px;
    height: auto;
    min-height: 100px;
}


/*colorpicker*/

.colorpicker-component .input-group-text i {
    display: inline-block;
    cursor: pointer;
    height: 16px;
    vertical-align: text-top;
    width: 16px;
    border: 1px solid rgba(0, 0, 0, .1)
}


/*Button*/

.btn.focus,
.btn:focus {
    outline: 0;
    box-shadow: none;
}

.btn-primary {
    background-color: #066837;
    border-color: #066837;
}

.btn-primary:hover {
    background-color: #41aa34;
    border-color: #41aa34;
}

.btn-light {
    border-color: #dee2e6;
}

.btn-light:hover {
    border-color: #ced2d6;
}

.btn-action {
    text-indent: -9999px;
    height: 38px;
    width: 50px;
    background: transparent url('../images/actions-active.svg') no-repeat center center;
    background-size: auto 24px;
}

.btn-action.act-deaktiv,
.btn-action.act-inaktiv {
    background-image: url('../images/actions-deactive.svg');
}

.btn-action.action-edit {
    background-image: url('../images/actions-edit.svg');
}

.btn-action.action-edit-sponsoren {
    background-image: url('../images/actions-sponsoren.svg');
}

.btn-action.action-delete {
    background-image: url('../images/actions-delete.svg');
}

.btn-action.action-view {
    background-image: url('../images/actions-view.svg');
}

.btn-action.action-copy {
    background-image: url('../images/actions-copy.svg');
}

.btn-action.action-reset {
    background-image: url('../images/actions-reset.svg');
}

.btn-page-0,
.btn-page-last {
    display: none;
}


/*Fancybox*/

.fancybox-bg {
    background: #000;
}

.fancybox-is-open .fancybox-bg {
    opacity: .15;
}
.fancybox-active .fancybox-content {
    background: rgba(255,255,255,0.9);
}