/* Base styles
---------------------------------------------- */

header {
    width: 100%;
    margin: auto;
    padding: 0;
}

img {
    max-width: 100%;
}

small {
    line-height: 10px;
}

h4 small {
    font-size: 88%;
    line-height: 1.5;
}

.maincontainer {
    background-color: #fff;
}

/* Headings
---------------------------------------------- */

.heroheadlinewrapper {
    background: transparent url(../img/bg-panel.png) no-repeat scroll right bottom;
    height: 120px;
    padding: 27px 36% 10px 25px;
    display: flex;
    width: calc(100% + 30px);
    position: relative;
    top: -17px;
    left: -15px;
    flex-direction: column;
    justify-content: center;
}

.heroheadlinewrapper h1,
.heroheadlinewrapper h2 {
    margin: 0;
    padding: 4px 0;
    color: #fff;
    font-size: 28px;
}

/*.heroheadlinewrapper h1 {*/
    /*font-size: 23px;*/
/*}*/


@media (max-width: 768px) {
    h1 {
        font-size: 30px;
    }
}

h2 {
    font-size: 21px;
    color: #ff0000;

}

@media (max-width: 768px) {
    h2 {
        font-size: 25px;
        margin: 15px 0;
    }
}

h3 {
    color: #737373;
    font-size: 21px;
}

@media (max-width: 768px) {
    h3 {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 12px;
        line-height: 21px;
    }
}

/* Padding and margins
---------------------------------------------- */

.mt20 { margin-top: 20px!important; }
.mt50 { margin-top: 50px; }

.mb50 { margin-bottom: 50px; }
.mb30 { margin-bottom: 30px; }
.mb10 { margin-bottom: 10px; }

/* Header image
---------------------------------------------- */
header {
    background-color: #fff;
    padding:20px;
}

.logo:hover{
    opacity: 0.5;

}

.header-img {
    margin: 0 -15px;
}

/* Table
---------------------------------------------- */

table td {
    width: 30%;
}

table td:first-child {
    width: 10%;
}

/* Buttons
---------------------------------------------- */

.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
    outline: none;
}

.submit-button:after {
    content: "\00BB";
    float: right;
    right: 4px;
    position: relative;
}

/* Code
---------------------------------------------- */

.code-skin {
    background-color: #fff;
    text-align: center;
    height: 150px;
    border: 15px solid white;
}

.code-skin input,
.code-skin .btn-default {
    margin-top: 42px;
    min-width: auto;
}

/* Form
---------------------------------------------- */

@media (max-width: 768px) {
    .form-control {
        font-size: 12px;
    }
}

input[type=checkbox],
input[type=radio] {
    display: none;
}

input[type=checkbox]+label,
input[type=radio]+label {
    position: relative;
    padding-left: 35px;
    margin-left: 15px;
    margin-bottom: -5px;
    display: block;
    font-weight: normal;
}

input[type=checkbox]+label:before,
input[type=radio]+label:before {
    content: "";
    display: inline-block;
    position: absolute;
    top: 4px;
    left: 0;
    width: 16px;
    height: 16px;
    border: 2px solid #cccccc;
    background-color: #fff;
    border-radius: 50%;
}

input[type=checkbox]:checked+label:before {
    background-image: url("../img/check_new.png");
    background-size: 12px 10px;
    background-position: center;
    background-repeat: no-repeat;
}

input[type=checkbox]:checked {
    color: #808080;
}

input[type=radio]:checked+label:after {
    content: "";
    position: absolute;
    left: 4px;
    top: 8px;
    width: 8px;
    height: 8px;
    background: #ff0000;
    border-radius: 50%;
}

input[type="checkbox"][disabled]+label:before {
    background: #ededed;
}

input[type="text"][disabled] {
    background: #f5f5f5;
    color: #cccccc;
}

.btn.btn-bordered {
    border-color: #ff0000;
    color: #ff0000;
    background: white;
}

.btn.btn-bordered:hover,
.btn.btn-bordered:focus {
    color: white;
    background: #ff0000;
}

/* Select
--------------------- */

select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url('../img/arrow.png');
    background-position: 94% 50%;
    background-repeat: no-repeat;
    background-size: 12px 6px;
}

select::-ms-expand {
    display: none;
}

/* Validation
---------------------------------------------- */

form.ng-submitted input[type=radio].ng-invalid+label:before,
.ng-submitted input[type="checkbox"].ng-invalid+label:before,
form.ng-submitted input.ng-invalid,
form.ng-submitted select.ng-invalid {
    border: 2px solid #FF8AA4;
}


/* Footer
---------------------------------------------- */
.footer {
    margin:auto;
    padding-bottom: 20px;
}

.olympia-logo
{
    width:150px;
}

.footer-links {
    margin-top:30px;
}

footer a {
    color: #333333;
    text-decoration: none!important;
}

footer hr {
    border-top:1px solid #f6f4f1;
}

footer {
    background-color: #ddd8d3 !important;
}

footer p {
    font-size: 13px;
    line-height: 16px;
}

@media (max-width: 768px) {
    footer p {
        font-size: 10px;
        line-height: 13px;
        text-align: center;
    }
}


/* Sweet Alert
---------------------------------------------- */

.sweet-alert {
    border-radius: 0px;
    font-family: "Sparkasse Rg", Helvetica, Arial, sans-serif;
}



.sweet-alert button {
    background-color: #ff0000 !important;
    color: #ffffff;
    font-size: 15px;
    font-weight: normal;
    -webkit-border-radius: 0;
    border-radius: 0;
    padding: 6px 24px;
}

.sweet-alert button:hover {
    color: #fff;
    background-color: #e2001a !important;
}

.sweet-alert p {
    color: #000000;
    font-size: 15px;
    line-height: 28px;
    text-align: center;
    font-weight: 500;
}

.sweet-alert h2 {
    color: #ff0000;
    font-size: 32px;
    line-height: 1.1;
    font-weight: 300;
    margin: 25px 0;
    padding: 0;
    line-height: 40px;
    display: block;
}

.sweet-alert .sa-icon.sa-info { border-color: #919191 !important; }
.sweet-alert .sa-icon.sa-info::before { background-color: #919191 !important; }
.sweet-alert .sa-icon.sa-info::after { background-color: #919191 !important; }


/* Misc
---------------------------------------------- */

hr {
    margin-top: 50px;
    margin-bottom: 50px;
}



.table-responsive {
    width: 100%;
    border: 1px solid #d4d3d3;
}

.table-responsive h3 {
    margin-top: 15px;
    margin-bottom: 15px;
    padding-left: 15px;
}

.table-responsive h3 span {
    color: #ff0000;
}

.ausgebucht {
    color: #8e8e8e!important;
    cursor: not-allowed;
}

.table-themen td {
    width: auto;
    padding-top: 15px;
    padding-bottom: 15px;
    position: relative;
}

.table-themen td:first-child {
    width: 60px;
    text-align: center;
}

.table-themen td[colspan="2"] {
    text-align: left;
}

input[disabled] + label:before {
    border-color: #e0e0e0;
    background: #f5f5f5;
    cursor: not-allowed;
}

.sa-btn {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translate(-50%,-50%);
    border: none;
    background: transparent;
    width: 30px;
    height: 30px;
}

.panel-title {
    position: relative;
}

.panel-title .topic {
    color: #737373;
    font-size: 23px;
}

.panel-title input[type=checkbox]+label,
.panel-title input[type=radio]+label {
    display: inline-block;
    width: 30px;
    margin-bottom: 0;
}

.panel-title input[type=checkbox]+label:before,
.panel-title input[type=radio]+label:before {
    top: 0;
}

.panel-title input[type=checkbox]+label:after,
.panel-title input[type=radio]+label:after {
    top: 4px;
}

.panel-title a {
    display: inline-block;
    width: calc(100% - 54px);
    vertical-align: top;
    padding-right: 30px;
    position: relative;
}

.panel-title img {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.ng-submitted .validate {
    color: #ff0000;
}

.panel-default > .panel-heading,
.panel-group .panel {
    border: none;
    border-radius: 0;
}

.panel-default > .panel-heading.panel-heading-first-level {
    background-color: #ff0000;
    position: relative;
}

.panel-title img.panel-arrow {
    position: absolute;
    top: 50%;
    right: -45px;
    transform: translateY(-50%);
}

.panel-title a[aria-expanded='true'] .panel-arrow {
    transform: rotate(180deg);
    top: calc(50% - 5px);
}

.panel-default > .panel-heading.panel-heading-first-level .panel-title .topic {
    color: white;
}
.panel-body p {
    padding-left: 53px;
}
.panel-body .panel-body {
    background-color: #f5f5f5;
}


/* Tooltip
---------------------------------------------- */
.tooltip-box {
    position: relative;
    display: inline-block;
    /*border-bottom: 1px dotted black;*/
}

.tooltip-box .tooltiptext {
    visibility: hidden;
    min-width: 220px;
    width: 100%;
    background-color: grey;
    border-radius: 6px;
    padding: 13px 10px;
    position: absolute;
    color: white;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    margin-left: -110px;
    line-height: 1.7;
    opacity: 0;
    transition: opacity .8ms;
    cursor: pointer;
    font-size: 11px;
}

.tooltip-box:hover .tooltiptext,
.tooltip-box:focus .tooltiptext {
    visibility: visible;
    opacity: .95;
}

@media (max-width: 768px) {

    .tooltiptext {
        visibility: hidden;
        opacity: 0;
    }

    .tooltip-box:hover .tooltiptext,
    .tooltip-box:focus .tooltiptext {
        visibility: hidden;
        opacity: 0;
    }

    .tooltiptext.tooltip-show {
        visibility: visible!important;
        opacity: .95!important;
    }
}


.info-icon {
    color: darkgrey;
    border-radius: 50%;
    width: 13px;
    height: 13px;
    border: 1px solid darkgrey;
    display: inline-block;
    text-align: center;
    padding: 0;
}
/* Tooltip
---------------------------------------------- */
