/*
This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License, either version 2
of the License, or any later version.

For the full copyright and license information, please read the
LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share!
*/
/*
    Created on : 03.10.2016, 17:53:01
    Author     : Kevin Ditscheid <kevinditscheid@gmail.com>
*/
.header-top {
    height: 32px;
    padding-top: 8px;
    border-bottom: 2px solid #DFDFDD;
    font-size: 13px;
}

.header-top > .container {
    position: relative;
}

.header-top .search {
    display: inline-block;
    margin-left: 15px;
}

.header-top .tx-indexedsearch-searchbox-sword {
    width: 142px;
    border-radius: 0px;
    vertical-align: middle;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    margin-right: 0;
    display: none;
}

.header-top .tx-indexedsearch-searchbox-sword:focus {
    border-right: none;
    margin-top: -1px;
    margin-right: 1px;
}

.btn.btn-search {
    border: 1px solid transparent;
    display: inline-block;
    background-color: #ec6608;
    width: 26px;
    height: 26px;
    text-align: center;
    color: #fff;
    font-size: 1em;
    line-height: 1;
    padding: 0;
    border-radius: 4px;
}



/* Burger menu */
.burger-checkbox {
    display: block;
    position: absolute;
    opacity: 0;
}

/* show main navigation if burger is checked */
.burger-checkbox:checked ~ .main-navigation {
    display: block;
}

.burger-label {
    display: block;
    height: 30px;
    width: 30px;
    padding: 5px;
    float: right;
    margin-top: 40px;
}

.burger-label hr {
    height: 2px;
    border: 0;
    background-color: #BEBFB7;
    display: block;
    max-width: 100%;
    margin: 6px 0;
}

.meta-navigation {
    display: inline;
}

.meta-navigation .item + .item {
    padding-left: 5px;
}

.meta-navigation .item + .item:before {
    content: '\f111';
    font-family: 'fontawesome';
    font-size: 4px;
    vertical-align: middle;
    margin-right: 5px;
}

/*Div for the consultation-number width hover effeckt*/
.consultation-number {
    float: right;
    padding-top: 5px;
}

.consultation-number .text {
    display: none;
}

.consultation-number-hover .inner {
    font-size: 18px;
}

.consultation-number-hover {
    width: 300px;
    position: absolute;
    right: 0;
    top: -128px;
    z-index: 100;
    padding: 20px;
    transition: top .4s;
}

.consultation-number-hover p {
    margin: 0;
}

.consultation-trigger {
    position: absolute;
    opacity: 0;
}

.consultation-trigger + label {
    cursor: pointer;
}

.consultation-trigger:checked ~ .consultation-number-hover {
    top: -8px
}

/*for p in the hover effekt*/
.consultation {
    font-weight: 400;
    font-size: 1.22em;
    font-family: 'Roboto';
}

/*icon arrow down*/
.fa.fa-caret-down {
    content: '\f0d7';
    font-family: 'fontawesome';
    color: #ec6608;
    font-size: 20px;
    margin-top: 2px;

}

.number-header {
    font-size: 1.22em;
    font-weight: bold;
    line-height: 1.2em;
    margin: 0;
}

.phone-icon-header {
    background-image: url('/typo3conf/ext/ep_template_zab/Resources/Public/Images/Icons/phone.svg');
    float: left;
    height: 40px;
    width: 40px;
    padding-right: 12px;
    background-repeat: no-repeat;
    margin-top: 20px;
}

.co-opening-header {
    font-weight: 400;
    font-size: 1.22em;
    font-family: 'Roboto';
}

.mail-header {
    font-weight: 400;
    font-size: 1.02em;
    font-family: 'Roboto';
}

.i-border {
    background-image: url('../Images/Icons/header-button.svg');
    background-repeat: no-repeat;
    width: 18px;
    height: 18px;
    float: left;
    margin-left: -22px;
    position: absolute;
}

/*second part of the header*/
.header-bottom {
    position: relative;
}

.header-bottom:after {
    content: '';
    height: 0;
    display: block;
    clear: both;
    visibility: hidden;
}

.logo {
    float: left;
    margin-top: 12px;
    margin-bottom: 12px;
}

/*#Header .navigation {
	display: inline-block!important;
} */
.consultation-phone-header {
    color: #ec6608;
    padding-top: 4px;
}

.additional-stats {
    /*font-size: 80%;*/
}

@media screen and (max-width: 380px) {
    .header-top .container {
        padding: 0 10px;
        max-width: calc(100% - 20px);
    }
}

@media screen and (max-width: 940px) {
    .consultation-number-hover {
        top: -149px;
    }
}

@media screen and (min-width: 561px) {
    .consultation-number .text {
        display: inline;
    }

    .consultation-number:hover .consultation-number-hover {
        top: -8px
    }

    .consultation-phone-header {
        display: none;
    }
}

@media screen and (max-width: 560px) {
    .consultation-number {
        display: none;
    }

    #Header .meta-navigation {
        clear: both;
        float: right;
    }

    #Header .search {
        float: right;
        clear: both;
        margin-top: 4px;
        margin-left: 0;
    }

    #Header .consultation-phone {
        position: relative;
    }

    #Header .consultation-phone .consultation-phone-header {
        float: left;
        margin-right: 10px;
    }

    #Header .consultation-phone .btn-search {
        float: right;
    }

    #Header .header-top {
        height: 50px;
    }
}

@media screen and (min-width: 869px) {
    .header-top {
        height: 43px;
        padding-top: 22px;
        font-size: initial;
    }

    .header-top .search {
        margin-left: 30px;
    }

    .header-top .tx-indexedsearch-searchbox-sword {
        display: inline;
    }

    .btn.btn-search {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        margin-left: -4px;
        vertical-align: top;
        margin-top: 1px;
    }

    .i-border {
        width: 25px;
        height: 25px;
        margin-left: -30px;
    }

    .consultation-number-hover {
        top: -163px;
    }

    .consultation-number:hover .consultation-number-hover {
        top: -24px;
    }
}

@media screen and (min-width: 950px) {
    .burger-checkbox,
    .burger-label {
        display: none;
    }

    .logo {
        float: left;
        margin-top: 28px;
        margin-bottom: 0;
    }
}

@media screen and (min-width: 1110px) {
    .consultation-number-hover {
        padding: 0;
        height: 208px;
        width: 40%;
        top: -230px;
    }

    .consultation-number-hover .inner {
        padding-left: 50px;
        padding-top: 10px;
    }

    .phone-icon-header {
        padding-right: 30px;
        height: 80px;
        width: 80px;
    }

    .consultation {
        font-size: 1.88em;
        padding-top: 20px;
    }

    .number-header {
        font-size: 2.22em;
        line-height: 1.2em;
    }

    .co-opening-header {
        font-size: 1.66em;
        margin-top: 20px;
        padding-left: 40px;
        padding-top: 15px;
    }

    .mail-header {
        font-size: 1.36em;
        padding-left: 40px;
    }
}

@media screen and (min-width: 1146px) {
    .consultation-number-hover {
        height: 215px;
        top: -237px;
    }
}
