/*
    Created on : 23.11.2015, 10:51:16
    Author     : Marcin Jakubowski <jakubowski@takomat-agentur.de>
*/

body { font-family: 'PT Sans', sans-serif; color: #333; font-size: 16px; line-height: 1.4em; }
h1, h2, h3 { margin: 0px; padding: 0px; font-weight: normal; text-transform: uppercase; }

h1 { font-size: 24px; margin-bottom: 32px; }
h2 { font-size: 18px; margin-bottom: 24px; }
h3 { font-size: 16px; margin-bottom: 12px; }

#content a, #footer a { color: #00b1ae; }
    #content a:hover, #footer a:hover { color: #196775; }
#content a.btn { color: #fff; }
    #content a.btn:hover { color: #3da9e0; }
.align-right { text-align: right; }
.twitter-item { background-color: #efefef; margin-bottom: 1px; font-size: 14px; padding: 10px; position: relative; }
    .twitter-item p { margin: 0px; padding: 0px; }
    .twitter-item p span { color: #196775 }

.download-file { position: absolute; background: url(/assets/Images/icon_download-file.png) center no-repeat; right: 10px; bottom: 10px; width: 20px; height: 24px; display: block; text-indent: -999em; }

.homeProfile { margin-bottom: 32px; }


.search-box {  background: #eee; width: 100%;  padding: 5px; position: relative; margin-bottom: 24px; }
    .search-box .sword { width: 100%; height:38px; background: #fff; border: none; color: #666; text-indent: 10px; padding-right: 15px; }
    .search-box .submit { position: absolute; right: 5px; top: 5px; }

/* TABS */

.news-cat-tabs { margin: 0; padding: 0; list-style: none;  height: 32px; border-bottom: 1px solid #eee; margin-bottom: 32px; }
    .news-cat-tab { margin: 0; padding: 0; display: inline-block; height: 32px; }
        .news-cat-tab a { display: block; height: 32px; line-height: 32px; border: 1px solid transparent; border-bottom: none; padding:  0px 10px; }
                .news-cat-tab a.active { border-color: #eee; border-bottom: 1px solid #fff; background-color: #fff; color: #666; font-weight: 700; }

/* CAT */

.news-cat-list, .news-tags, .csc-menu { margin: 0; padding: 0; list-style: none; margin-bottom: 32px; margin-top: -18px; font-size: 15px; }
    .news-cat-list li, .news-tags li, .csc-menu li { border-bottom: 1px solid #eee; }
        .news-cat-list li a, .news-tags li a, .csc-menu li a { display: block; line-height: 32px; }
        .news-cat-list li a.active, .news-tags li a.active { font-weight: bold }

/* TEAM */
.team-item { margin-bottom: 32px; }
.team-image { max-height: 250px; overflow: hidden;}
.team-item-list .team-container { min-height: 300px; }
.team-name { font-weight: bold; line-height: 32px; border-bottom: 1px solid #eee; margin-bottom: 12px; }
.team-social { padding: 0; margin: 0; list-style: none; margin-bottom: 18px; }
    .team-social li { padding: 0; margin: 0; display: inline-block; width: 32px; height: 32px; margin-right: 12px; }
        .team-social li a { background-position: center; background-repeat: no-repeat; background-size: 100%; text-indent: -999em; display: block; width: 32px; height: 32px; }
            .team-social li.team-social-mail a { background-image: url(/assets/Images/icon-mail.gif); }
            .team-social li.team-social-rg a { background-image: url(/assets/Images/icon-research-gate.gif); }
            .team-social li.team-social-gs a { background-image: url(/assets/Images/icon-google-scholar.gif); }

            /* TODO: More inline-Style in template
            (Why? somehow is overwrited also with important and long selector, fixed with inline-style) */
            .team-social li.btn-primary { border-color:#00b1ae; background-color: #00b1ae; width: auto !important;}
            .team-social li.btn-primary a { text-indent: 0; color: #fff !important; padding: 6px 12px !important; width: auto !important; }
            .team-social li.btn-primary:hover { border-color: #196775; background-color: #196775; }
            .team-social li.btn-primary a:hover { text-decoration: none; }


.team-image-detail { width: 370px; height: auto; margin-right: 30px; float: left; }

.team-title { margin-top: 8px; color: #666; margin-bottom: 8px; }
.team-desc p { margin-top: 0px; padding-top: 0px; }

.csc-textpic-caption { font-style: italic;}
 .csc-textpic-image img { max-width: 100%; height: auto; }
.csc-textpic-center, .csc-textpic-imagewrap, .csc-textpic-center-outer, .csc-textpic-center-inner, .csc-textpic-image, .csc-textpic-caption { max-width: 100% !important; display: block !important;}

/* Downloadmodul */
.download-item { margin-left: -15px; margin-right: 15px;  }
    .download-icon { float: right; margin-bottom: 18px; margin-left: 12px; }
    .download-icon a { width: 32px; height: 32px; display: block; text-indent: -999em; background: url(/assets/Images/icon-download.png) center no-repeat; }
    .download-item img { margin-bottom: 12px; }

.file-download-item h2 { margin-bottom: 2px;  }

/* Projekte */
.projekt-teaser { }
    .projekt-teaser-list h2, .projekt-teaser-single h2, .projekt-teaser-list h1, .projekt-teaser-single h1 { margin-bottom: 10px; text-transform: none; }
    .projekt-teaser-list .laufzeit, .projekt-teaser-single .laufzeit, .file-download-item .filesize { padding: 0; margin: 0; color: #666; margin-bottom: 8px; font-size: 14px; clear: both; }
        .file-download-item .filesize { clear: none; }

/* ELASTIC VIDEO */
.elastic-video { position: relative; padding-bottom: 55%; padding-top: 15px; height: 0; overflow: hidden; margin-bottom: 12px; }
.elastic-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.spaltentext {-webkit-column-count: 2; -moz-column-count: 2; column-count: 2; -webkit-column-gap: 30px; -moz-column-gap: 30px; column-gap: 30px; }


.f3-widget-paginator{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}
.f3-widget-paginator>li{display:inline}

.f3-widget-paginator>li{position:relative;float:left;padding:6px 12px;line-height:1.42857143;text-decoration:none;color:#337ab7;background-color:#fff;border:1px solid #ddd;margin-left:-1px}

.f3-widget-paginator>li:first-child{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}
.f3-widget-paginator>li:last-child{border-bottom-right-radius:4px;border-top-right-radius:4px}

.f3-widget-paginator>li:hover,.f3-widget-paginator>li:focus{z-index:2;color:#23527c;background-color:#eee;border-color:#ddd}
.f3-widget-paginator>.current,.f3-widget-paginator>.current:hover,.f3-widget-paginator>.current:focus{z-index:3;color:#fff;background-color:#196775;border-color:#196775;cursor:default}
/*.f3-widget-paginator>.disabled>span,.f3-widget-paginator>.disabled>span:hover,.f3-widget-paginator>.disabled>span:focus,.f3-widget-paginator>.disabled>a,.f3-widget-paginator>.disabled>a:hover,.f3-widget-paginator>.disabled>a:focus{color:#777;background-color:#fff;border-color:#ddd;cursor:not-allowed}*/

.page-navigation { text-align: center; }
    .page-navigation p { display: none; }

#content a.btn-primary { background-color: #00b1ae; color: #fff; border-color: #00b1ae; }
    #content a.btn-primary:hover { background-color: #196775; color: #fff ; text-decoration: none; border-color: #196775 }

/* NEWSLETTER */
legend { border: none; font-size: 24px; margin-bottom: 32px; margin: 0px; padding: 0px; font-weight: normal !important;  }
    .tx-sremailsubscribe-pi1 label { font-weight: normal !important; }



/* TABLE */
table { width: 100%;}
td {
  padding: 0.5rem; border-top: 1px solid #efefef;
}
tr.tr-odd { background-color: #f9f9f9; }
tr:hover {
  background-color: #f3f3f3;
}
th {
  padding: 0.5rem; background-color: #fff;
}
@media (max-width:767px) {
    .search-box {  margin-bottom: 32px; }
.news-cat-tabs { height: auto; border: none; }

.news-tags, .news-cat-list {position: relative; max-height: 32px; overflow: hidden; border: 1px solid #eee; margin-top: 24px; background: #fff; }
    .news-tags::after, .news-cat-list::after {
        content: '';
        display: block;
        position: absolute;
        right: 0;
        top: 0;
        width: 32px;
        height: 32px;
        color: #00b1ae;
        background-image: url(/assets/Images/icon-content-navi.png);
        background-size: 60%;
        background-position: center;
        background-repeat: no-repeat;
    }
.news-tags:hover, .news-cat-list:hover { max-height: 9999px; overflow: visible; transition: all ease .5s;}
.news-tags li, .news-cat-list li { padding-left: 15px; height: 32px; position: relative;  line-height: 32px; }
.news-tags li a, .news-cat-list li a { line-height: 32px; }
.content-navi-title {}
    .download-item { margin-right: -15px; }



    .news-tags li.menu-item,
    .news-cat-list li.menu-item {
        height: 0;
        border-bottom: 0;
        overflow: hidden;
    }

    .news-tags:hover li.menu-item,
    .news-cat-list:hover li.menu-item {
        height: 32px;
        border-bottom: 1px solid #eee;
        text-decoration: none;
    }

    .news .news-tags li.menu-item--active,
    .news .news-cat-list li.menu-item--active {
        padding-left: 30px;
    }

    .news .news-tags li.menu-item--active::before,
    .news .news-cat-list li.menu-item--active::before {
        left: 15px;
    }

}

@media (max-width:992px) {
    .spaltentext {-webkit-column-count: 1; -moz-column-count: 1; column-count: 1;}
    img.team-image-detail { float: none; max-width: 100%; height: auto; width: 100%; }
}


/* Style Upgrade for TYPO3 8 */

.ce-textpic img {
    width: 100%;
    height: auto;
}
.frame-type-menu_pages ul,
.frame-type-menu_subpages ul {
    margin: 0 0 32px 0;
    padding: 0;
}
.frame-type-menu_pages li,
.frame-type-menu_subpages li {
    margin: 0;
    padding: 0;
    list-style-type: none;
    border-bottom: 1px solid #eee;
}
.frame-type-menu_pages li a,
.frame-type-menu_subpages li a {
    display: block;
    line-height: 32px;
}

ul.tx-indexedsearch-browsebox {
    margin: 0 0 32px 0;
    padding: 0;
}

ul.tx-indexedsearch-browsebox li {
    margin: 0;
    padding: 0 20px 0 0;
    display: inline-block;
}

dl.tx-indexedsearch-info {
    background: #eeeeee;
    padding: 0 10px;
}

dl.tx-indexedsearch-info dt,
dl.tx-indexedsearch-info dd {
    display: inline-block;
    padding: 5px 3px;
    font-weight: normal;
    font-size: 12px;
}

dl.tx-indexedsearch-info dd p {
    margin: 0;
}

dl.tx-indexedsearch-info .tx-indexedsearch-text-item-path {
    display: none;
}

.tx-indexedsearch-res {
    margin-bottom: 50px;
}

.news-tags li.menu-item--active,
.news-cat-list li.menu-item--active {
    position: relative;
    height: 32px;
    padding-left: 15px;
    border-bottom: 1px solid #eee;
    font-weight: bold;
    color: #196775;
}

#content .news-tags li.menu-item--active a,
#content .news-cat-list li.menu-item--active a {
    color: #196775;
}

.news-tags li.menu-item--active::before,
.news-cat-list li.menu-item--active::before {
    content: '>';
    position: absolute;
    top: 0;
    left: 0;
    color: #196775;
    line-height: 32px;
}

#content .news-tags li.menu-item a:hover,
#content .news-cat-list li.menu-item a:hover {
    text-decoration: none;
    color: #196775;
}


/* Events */

.event-registration {
    text-align: right;
}

.event-list-detail-published {
    font-size: 14px;
    color: #666;
}

.event-registration-row {
    padding: 0.5rem 0 1rem 0;
    min-height: 36px;
    display: flex;
    align-items: flex-start;
}

.event-registration-row input[type="radio"] {
    margin-right: 1rem;
    margin-left: 1rem;
}

.event-registration-row .field-errors {
    display: none;
}



.event-registration-row label {
    width: 300px;
    float: left;
    padding-right: 2rem;
}

.event-registration-row input[type=text], .event-registration-row textarea {
    width: 450px;
}

.event-registration {
    padding-top: 1rem;
    text-align: left;
}

.event-detail__h3 {
    text-transform: initial;
    line-height: 2rem;
}

.event-detail-row {
    padding-bottom: 2rem;
    border-bottom: solid 1px #ccc;
    margin-bottom: 2rem;
}

.event-detail__img {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

@media (max-width: 992px) {
    .event-registration-row label {
        width: 100%;
        float: none;
    }

    .event-registration-row input[type=text], .event-registration-row textarea {
        width: 100%;
    }
}

@media (max-width: 1199px) {
    .event-registration-row label {
        width: 250px;
    }

    .event-registration-row input[type=text], .event-registration-row textarea {
        width: 400px;
    }
}

.media2click-placeholder {
    background-size: cover;
}

.media2click-placeholder.media2click-haspreview {
    text-shadow: none;
}

.media2click-title {
    background-color: rgba(255, 255, 255, 0.5);
}

.media2click-content {
    background-color: rgba(255, 255, 255, 0.5);
}
