/***********************************************************************************************************************
 * Project    : Arndt
 * Created    : 15.01.2018 18:49:05
 * Author     : Mario Diaz @ mario-diaz.com
 * Filename   : styles.css
 * @copyright 2018 by Mario Diaz
 * @version    : 1.0.0
 * description: CSS for Arndt. Uses bootstrap package as basis. Overwrites some styles.
                Needs typekit webfont for myriad-pro:
                300: light
                400: normal
                600: semibold
                700: bold
                900: black
 **********************************************************************************************************************/


/* *** common tags ************************************************************************************************** */
body {
    font-family: "myriad-pro","Myriad Web","Tahoma","Helvetica","Arial",sans-serif;
    line-height: 1.667;
}
.frame-jumbotron p,
body,
.htmlarea-content-body {
    font-size: 18px;
    color: #373737;
    font-weight: 400;
}
@media (max-width: 1024px) {
    .frame-jumbotron p,
    body,
    .htmlarea-content-body {
        font-size: 16px;
    }
}

h1,
h2 {
    color: #9f2234;
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 0;
    line-height: 1;
}
h3 {
    font-size: 1.222em;
    font-weight: 600;
    line-height: 1.364;
    margin-bottom: 0.95em;
}
.container h1,
.container h2 {
    font-family: "myriad-pro-condensed";
    font-weight: 600;
}

p {
    margin-bottom: 1.1em;
}




/* *** sections ***************************************************************************************************** */


body .section {
    padding: 20px 0 0 0;
}
.frame {
    padding-top: 48px;
}
body .section-nopadding {
    padding: 0 !important;
}
body .section-nopadding .frame {
    padding: 0;
}
@media (max-width: 768px) {
    body .section {
        padding-top: 16px;
        padding-bottom: 0;
    }
    .frame {
        padding-top: 32px;
    }
}


/* *** rows and cols ************************************************************************************************ */
.row {
    margin-left: -30px;
    margin-right: -30px;
}
.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, 
.col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, 
.col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, 
.col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, 
.col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    padding-left: 30px;
    padding-right: 30px;
}




/* *** content elements ********************************************************************************************* */

#logo-print {
    display: none;
}

/* *** header *** */

/* logo */
a.navbar-brand-image {
    padding: 0;
    display: inline;
    float: none;
    height: auto !important;
    line-height: 1 !important;
}
.navbar-header-main {
    width: 254px;
    box-sizing: border-box;
    text-align: center;
    padding: 0;
    margin: 0;
    position: absolute;
    z-index: 1;
}
.navbar-default-transition .navbar-brand > .navbar-brand-logo-normal {
    display: inline !important;
}
.navbar-default-transition .navbar-brand > .navbar-brand-logo-inverted {
    display: none !important;
}
.navbar-brand-image > img {
    -webkit-transition: width 1s ease, height 1s ease;
    transition: width 1s ease, height 1s ease;
    top: 0;
    margin-top: 10px;
    transform: none;
    width: 203px;
    height: 80px;
}
@media (min-width: 991px) {
    .navbar-brand-image > img {
        margin-top: 16px;
    }
}
.navbar-transition .navbar-brand-image > img {
    margin-top: 10px;
    width: 127px;
    height: 50px;
}

@media (min-width: 991px) {
    /* navi */
    .navbar-collapse {
        max-width: 100%;
    }
    .navbar-default-transition {
        background: #fff;
    }
    .navbar-main {
        width: 80%;
        width: calc(100% - 252px);
        height: 100%;
        background: #d6d6d6;
        background: -moz-linear-gradient(top, #d6d6d6 0%, #b4b4b4 15%, #aeaeae 93%, #bcbcbc 100%);
        background: -webkit-linear-gradient(top, #d6d6d6 0%,#b4b4b4 15%,#aeaeae 93%,#bcbcbc 100%);
        background: linear-gradient(to bottom, #d6d6d6 0%,#b4b4b4 15%,#aeaeae 93%,#bcbcbc 100%);
    }
    .navbar-main li {
        width: 19%;
        width: calc(20% - 1px);
        height: 100%;
        background: #e7e7e7;
        margin-right: 1px;
        box-sizing: border-box;
    }
    .navbar-main li:last-child {
        margin-right: 0;
        width: 20%;
    }
    .navbar-main > li > a {
        line-height: 1.2em;
        text-align: center;
        color: #363636 !important;
        padding: 0;
        font-size: 26px;
        text-transform: none;
        height: 116px;
        font-family: 'myriad-pro-condensed';
    }
    .navbar-main > li > a span.navbar-item-text {
        margin-top: 60px;
        -ms-transform: translate(0,-50%);
        -moz-transform: translate(0,-50%);
        -webkit-transform: translate(0,-50%);
        transform: translate(0,-50%);
        padding: 0 50px;
        display: inline-block;
    }
    /* *** transition after scrolling down */
    .navbar-transition .navbar-main > li > a {
        color: #363636;
        line-height: 1.2em;
        height: 70px;
        -webkit-transition: min-height 1s ease, height 1s ease;
        transition: min-height 1s ease, height 1s ease;
    }
    .navbar-transition .navbar-main > li > a span.navbar-item-text {
        margin-top: 33px;
        -webkit-transition: margin-top 1s ease, height 1s ease;
        transition: margin-top 1s ease, height 1s ease;
    }
    .navbar-default-transition .navbar-nav > li > a {
        color: #363636;
        line-height: 1.231em;
    }
}


/* responsive with full menu */
@media (min-width: 991px) and (max-width: 1880px) {
    .navbar-main > li > a span.navbar-item-text {
        padding: 0 30px;
    }
}
@media (min-width: 991px) and (max-width: 1580px) {
    .navbar-main > li > a span.navbar-item-text {
        padding: 0 10px;
    }
    .navbar-main > li > a {
        font-size: 23px;
    }
}
@media (min-width: 991px) and (max-width: 1260px) {
    .navbar-main > li > a {
        font-size: 20px;
    }
    .navbar-main > li > a span.navbar-item-text {
        padding: 0;
    }
}
@media (min-width: 991px) and (max-width: 1124px) {
    .navbar-main > li > a {
        font-size: 18px;
    }
}
@media (min-width: 991px) and (max-width: 1024px) {
    .navbar-main > li > a {
        font-size: 16px;
    }
}


/* dropdown menu */
@media (min-width: 991px) {
    ul.nav li.dropdown:hover ul.dropdown-menu {
        display: block;
        margin-top:0px
    }
    .dropdown-menu {
        width: 100%;
        border: none;
        border-top: 5px solid #9f2234;
        padding: 0;
    }
    .navbar-main ul.dropdown-menu > li {
        width: 100% !important;
    }
    .dropdown-menu > li > a {
        width: 100%;
        white-space: normal;
    }
}





/* *** header bottom with lang switch and search field *** */
div#header-bottom {
    border-top: 5px solid #9c2034;
    padding-bottom: 10px;
}

/* lang menu */
ul#language-switch {
    list-style: none;
    margin: 0;
    padding: 0 0 0 22px;
    float: left;
}
ul#language-switch li {
    display: inline-block;
    line-height: 1em;
}
ul#language-switch li a img {
    margin: 4px 14px 0 0;
    -webkit-filter: brightness(105%) grayscale(100%);
   filter: brightness(105%) grayscale(100%);
   -webkit-transition: -webkit-filter 700ms ease;
    transition: filter 700ms ease;
}
ul#language-switch li a:hover img,
ul#language-switch li.active a img {
    -webkit-filter: none;
    filter: none;
}

/* search field */
div#header-bottom #tx_indexedsearch {
    float: left;
}
div#header-bottom #tx_indexedsearch p,
div#header-bottom #tx_indexedsearch label {
    display: none;
}
div#header-bottom #tx_indexedsearch .form-group {
    margin: 0;
}
div#header-bottom #tx_indexedsearch .form-group a {
    display: none;
}
input.quicksearch-sword {
    border-radius: 3px;
    border: 1px solid #bbb;
    padding: 1px 10px 2px 10px;
    font-size: 12px;
    line-height: 1.1em;
    height: auto;
    margin: 9px 0 0 0;
    float: left;
    width: 94px;
}
input.quicksearch-submit {
    background: url(../images/loupe.png) no-repeat 0 0;
    width: 17px;
    height: 17px;
    padding: 0;
    margin: 12px 0 0 6px;
    border: none;
    color: transparent;
    font-size: 0;
    float: left;
}
@media (max-width: 990px) { 
    .navbar-fixed-top {
        border-bottom: 1px solid #999;
    }
    div#header-bottom {
        position: absolute;
        right: 0;
        top: 0;
        border-top: none;
    }
    input.quicksearch-submit {
        margin-right: 24px;
    }
    .navbar-toggle {
        margin-bottom: 0;
    }
    .navbar-header-main .navbar-header-border-bottom {
        display: none;
    }
    ul#language-switch {
        float: right;
        margin-right: 24px;
        margin-bottom: 2px;
    }
    ul#language-switch li a img {
        margin-right: 0;
        margin-left: 14px;
    }
    .navbar-collapse {
        position: relative;
        z-index: 9999;
        margin-top: 17px;
    }
    .navbar-header-main {
        position: relative;
        z-index: 1;
        width: 220px;
    }
    .navbar-header-main .navbar-brand.navbar-brand-image > img {
        max-height: 48px;
    }
}
@media (max-width: 359px) { 
    .navbar-toggle {
        margin-top: 0;
    }
}




/* *** main content ************************************************************************************************* */
@media (min-width: 991px) {
    div#content {
        margin-top: 20px;
    }
}


div#content > a {
    display: none;
}

.navbar-fixed-top.navbar-default-transition + .main-section > a + .carousel {
    margin-top: 0;
}
@media (min-width: 1394px) {
    .carousel .item .valign, 
    .container {
        width: 1248px;
    }
}

div#content ul {
    list-style: none;
}
div#content ul li {
    padding: 0 0 0 0.82em;
    background: url(../images/red_dot.png) no-repeat 0 0.65em;
    margin: 0;
}

q {
    line-height: 1;
    margin-bottom: 1px;
}

blockquote {
    margin: 0;
    padding: 34px 0 0 0;
    border: none;
    color: #9c2034;
    font-size: 2em;
    font-family: "myriad-pro";
    font-weight: 600;
    line-height: 1.5em;
}
blockquote p {
    margin: 0;
}

header h1,
header h2,
header h3 {
    margin: 16px 0 1px 0;
}
.frame-inner h1,
.frame-inner h2,
.frame-inner h3 {
    margin-bottom: 0.3em;
}

ul.list-normal {
    margin-top: -1.1em;
}

.textpic-intext-left-media {
    padding-right: 15px;
}
.textpic-intext-right-media {
    padding-left: 15px;
}



/* *** carousel *** */
.carousel .item {
    height: 445px;
}
.carousel-item-type-header .carousel-text-inner {
    width: auto;
    background: rgb(255,255,255);
    background: rgba(255,255,255,0.76);
    padding: 14px 30px 24px 24px;
    border-radius: 8px;
    margin: -20px 0 0 20px;
    font-family: 'myriad-pro-condensed';
    display: inline-block;
    padding-right: 120px;
}
.carousel-item-type-header .carousel-text-inner h1.awesome {
    font-size: 44px;
    color: #9f2234;
    text-align: left;
    line-height: 57px;
}
.carousel-item-type-header .carousel-text-inner h1.awesome span {
    color: #373737;
}
@media (max-width: 768px) {
    .carousel-item-type-header .carousel-text-inner {
        padding-right: 30px;
    }
    .carousel-item-type-header .carousel-text-inner h1.awesome {
        font-size: 30px;
        line-height: 39px;
    }
}


/* *** news *** */
.section-news .frame-container {
    margin-right: auto;
    margin-left: auto;
    padding: 38px 52px 41px 52px;
    background: rgb(255,255,255);
    background: rgba(255,255,255,0.76);
    color: #373737;
    box-sizing: border-box;
    border-radius: 11px;
}
@media (min-width: 768px) {
    .section-news .frame-container {width: auto}
}
@media (min-width: 992px) {
    .section-news .frame-container {width: 932px}
}
@media (min-width: 1200px) {
    .section-news .frame-container {width: 1140px}
}
@media (min-width: 1394px) {
    .section-news .frame-container {width: 1208px}
}
.section-news h2 {
    font-size: 2.667em;
    color: #9e2234;
    text-transform: uppercase;
    text-align: center;
    font-family: 'myriad-pro-condensed';
    margin-bottom: 19px;
}
.section-news h3 {
    font-size: 1.667em;
    font-family: 'myriad-pro-condensed';
    font-weight: normal;
    margin-bottom: 2px;
    margin-top: 2px;
    line-height: 1.2em;
}
.section-news .article {
    float: left;
    width: 40%;
    width: -webkit-calc(50% - 30px);
    width: calc(50% - 30px);
}
.section-news .news-list-view .article:nth-child(2) {
    float: right;
}
body .section-news .frame-jumbotron {
    padding-top: 50px;
    padding-bottom: 50px;
}
.section-news .teaser-text {
    line-height: 1.333;
}
.section-news .frame-jumbotron a {
    text-decoration: none;
    color: #727272;
    font-weight: normal;
}
.section-news .frame-jumbotron a.more {
    margin: 26px 0 0 0;
    color: #fff;
    font-size: 14px;
    background: #992030;
    background: -webkit-linear-gradient(top, #992030 0%,#801b20 100%);
    background: linear-gradient(to bottom, #992030 0%,#801b20 100%);
    display: inline-block;
    padding: 4px 13px 6px 13px;
    border-radius: 4px;
}
@media (max-width: 580px) {
    .section-news .frame-container {
        padding: 38px 20px 41px 20px;
    }
    .section-news .news-list-view .article:nth-child(2),
    body .section-news .news-list-view .article {
        float: none;
        width: auto;
    }
    .section-news .news-list-view .article:nth-child(2) {
        margin-top: 36px;
    }
    .section-news .frame-jumbotron a.more {
        margin: 0;
    }
}




/* *** footer ******************************************************************************************************* */
.footer-section {
    color: #373737;
    background: #e7e7e7;
    padding: 50px 0;
}
.footer-section a {
    color: #373737;
}
.footer-section a:hover {
    text-decoration: none;
}
body .footer-section-meta {
    padding-top: 7px;
    padding-bottom: 30px;
}
.footer-section-meta {
    text-align: left;
    font-size: 16px;
    line-height: 24px;
}
.footer-section .col-sm-6 .col-sm-6,
.footer-section .col-sm-6 {
    padding: 0 !important;
}
.footer-section-question {
    background: #9f2234;
    color: #fff;
    font-size: 30px;
    font-weight: 900;
    padding: 0 50px;
}
.footer-section-question .frame {
    padding-top: 18px;
    padding-bottom: 45px;
}
.footer-section-question .frame-inner {
    text-align: center;
}
.footer-section-question p {
    display: inline-block;
    padding: 10px 56px 10px 56px;
    background: url(../images/icon_footer_question.png) no-repeat 0 13px;
}
.footer-section-question a, 
.footer-section-question a:hover {
    color: #fff;
}
body .footer-section-copyright {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 24px 0 97px 0;
}





/*** intext left and right BEGIN ***/
@media (min-width: 480px) {
    .textpic-intext-left .textpic-intext-left-media {
        margin-top: 8px;
    }
    .textpic-intext-left .textpic-intext-left-media figure {
        margin-bottom: 0;
    }
    .textpic-intext-left .textpic-intext-left-header,
    .textpic-intext-right .textpic-intext-right-header {
        margin-bottom: 1px;
    }
    .textpic-intext-right .textpic-intext-right-media,
    .textpic-intext-left .textpic-intext-left-media {
        display: block;
        min-width: 100px;
        max-width: 40%;
        width: inherit;
    }
    .textpic-intext-left .textpic-intext-left-media {
        float: left;
    }
    .textpic-intext-right .textpic-intext-right-media {
        float: right;
    }
    .textpic-intext-left .textpic-intext-left-body,
    .textpic-intext-right .textpic-intext-right-body {
        display: block;
        float: none;
        width: 100%;
    }
}
/*** intext left and right END ***/


/* *** repeating styles ********************************************************************************************* */
.c-important {
    color: #9f2234;
}

a.arrow {
    display: inline-block;
}
a.arrow:before {
    content: '‣';
    margin: 0 4px 0 0;
    top: 2px;
    position: relative;
}

.ce-left img {
    margin: 0;
}
.ce-right figure {
    text-align: right;
}
.ce-right img {
    display: inline;
    margin: 0;
}

.frame-space-before-extra-small {
    padding-top: 0;
    margin-top: 2px;
}
.frame-space-after-extra-small {
    padding-bottom: 0;
    margin-bottom: 2px;
}