/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 04.08.2017, 15:00:12
    Author     : Arloth
*/

a:visited {
color: #757575;
}

.th-header {
    z-index: 2000;
}

.th-header .dropdown a:visited {
  color: var(--th-body-color) !important;  
}

.th-nav-path a:visited {
    color: currentColor !important;
}

.th-header .dropdown a:visited:hover,
.th-header .dropdown a:active,
.th-nav-path a:focus,
.th-nav-path a:active {
  color: white !important;  
}

main .btn:visited {
    color: #000 !important;
    background-color: #c8e0ef;
    border-color: #c8e0ef;   
}

.th-header .dropdown a:visited {
  color: var(--th-body-color) !important;  
}

.th-nav-path a:visited {
    color: currentColor !important;
}

.th-header .dropdown a:visited:hover,
.th-header .dropdown a:active,
.th-nav-path a:focus,
.th-nav-path a:active {
  color: white !important;  
}

#ienotice {
    display: none;
    z-index: 9999;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

iframe {
    width: 100%;
}

.cc-revoke-show {
    display: none !important;
}
.cc-link {
    opacity: 1;
}

.cc-deny {
    color: #fff !important;
    background-color: #98230f !important;
    border-color: #98230f !important;   
}

.cc-link, .cc-deny:hover, .cc-allow:hover {
    text-decoration: underline !important;
}

.cc-link, .cc-link:hover {border: none;}

.cc-link {
    text-decoration: underline !important;
}
.cc-link:hover {
    text-decoration: none !important;
}

.cc-banner.cc-bottom {
    left: 5rem;
    right: 0;
    bottom: 5rem;
    width: 50%;
    background: #00648c!important;
}


@media screen and (max-width: 414px) and (orientation: portrait), screen and (max-width: 736px) and (orientation: landscape) {
    .cc-window.cc-bottom {
        bottom: 9rem;
        left: 0;
        background: #00648c!important;
        width: 100%; 
    }
}

.th-content .fas, .th-slider .fas {margin-right: 5px;}
.th-collapse .fas {margin-left: 5px;}


figure, figure.image, .ce-gallery figure {
    display: block; 
}

.th-gallery figure { display: inline-block !important; }

.ce-gallery figcaption {display: block;}

.ce-textpic, .ce-image {
    overflow: visible;
}

.ce-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.ce-column {float:none; flex:1;max-width:100%;}

@media screen\0 {
/* Für IE */
.ce-outer, 
.ce-inner,
.ce-row,
.ce-column {
 max-width: 100%;
}

.image-caption { clear: both; display: block !important; }
}


@media (min-width: 768px) and (max-width: 1024px) {
    .th-logo {
        flex: unset !important;
    }
}

#th-slider + .th-slider,
#th-slider + .th-slider-blur {
    border-top: 4px solid #fff;
}


.th-slider-blur .th-slider-bg {
    height: calc(100% + 2em);
    width: calc(100% + 2em);
    margin-left: calc(0% - 1em);
    margin-top: calc(0% - 1em);
}


.th-slider+#th-content+.th-content,
.th-slider-blur+#th-content+.th-content {
    margin-top: 48px;
    margin-top: 3rem;
}


.th-slider .slick-slide .th-txt h1,
.th-slider .slick-slide .th-txt h2,
.th-slider .slick-slide .th-txt h3,
.th-slider .slick-slide .th-txt h4 {
    padding-top: 0!important;
}
.th-slider .slick-slide .th-txt p {
    margin-bottom: 0!important;
}

.th-service ul li .dropdown-menu span {
    border-bottom: none;
    padding-top: 8px;
    padding-top: .5rem;
    padding-bottom: 8px;
    padding-bottom: .5rem;
}
/*abstand pfeil des ministerium-dropdowns*/
.th-service ul li .dropdown button {
    padding: 1px 0 1px 6px;
}
.th-service ul li .dropdown button.dropdown-toggle {
    padding-right: 8px;    
}

/*abstand der pfeile innerhalb des dropdowns*/
.th-service ul li.th-dropdown-inner button {
    padding: .25rem .5rem !important;
}

.th-service ul li.th-dropdown-inner span:not(.dropdown-item) {
    padding: 0 !important;
}

.frame-type-menu_pages {
    position: relative;
}

/*POWERMAIL*/

.form-control.alert {
    border-color: inherit;
}

.tx-powermail .powermail_fieldset .powermail_field_error, .tx-powermail .powermail_fieldset .parsley-error, .tx-powermail .powermail_fieldset .powermail_form .parsley-error:focus, .tx-powermail .powermail_fieldset div.error {
    background-color: #fdd6c3;
    border-color: #fdd6c3;
    color: #98230f;    
}

.tx-powermail .powermail_fieldset input.parsley-error {
    border: 2px solid #c5c5c5;    
}

.tx-powermail .layout1 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    ms-flex: 0 0 100%;
}

.form-group .parsley-custom-error-message, .form-group .parsley-required {
    background-color: #fdd6c3;
    border-color: #fdd6c3;    
}

.powermail_confirmation table,
.powermail_create table {
    display: table;
}

.pagination .th-icn {
    display: -ms-flexbox;
    display: flex;
}


.g-recaptcha div, .g-recaptcha iframe {
    height: 95px;
}


select.form-control {
    padding-top: .25em;
    padding-bottom: .25em;
}

.frame-layout-201 .th-card.th-txt-pos1,
.frame-layout-201 .th-card.th-txt-pos1 .th-card-wrapper {
    height: auto;
}

.flex-column {
    -ms-flex-direction: column;
    flex-direction: column;
}

.flex-column .frame-layout-201 {
    /*flex: 1;*/
    height: auto;
}

.col-lg-4.d-flex.flex-column .frame-layout-201,
.col-lg-4.d-flex.flex-column .frame-layout-201,
.col-lg-4.d-flex.flex-column .frame-layout-201 .th-card.th-txt-pos1,
.col-lg-4.d-flex.flex-column .frame-layout-201 .th-card.th-txt-pos1 .th-card-wrapper {    
    height: 100% !important;
}


@media screen and (max-width: 1366px) {
    .col-lg-4.d-flex.flex-column .frame-layout-201,
    .col-lg-4.d-flex.flex-column .frame-layout-201 {    
        flex: 1 auto;
    }   
}

/* workaround as of now */

li.th-lst-itm.card .th-lst-body header {
    display: none;
    speak: none;
}

/*a:visited {
    color: #757575;
}*/

p.small { font-size: 0.7rem; }

.th-media .th-lst-body li {
    background-color: #ebebeb;
    border-bottom: 2px solid #fff;
    color: #000;    
}

.th-media .th-lst-body a.active:hover {
    background-color: #0089C1;
    color: #fff;
}

.th-look-secondary p:first-child, .th-look-special p:first-child, .th-look-sub p:first-child {
    padding-top: 0;
}

.th-look-secondary, .th-look-special, .th-look-sub {
    padding-top: 1rem    
}

.th-look-secondary.th-media {
    padding: 0 !important;
}

.th-look-primary figure {
    margin-bottom: 0;
}

.th-look-primary .row,
.th-look-secondary .row,
.th-look-special .row, 
.th-look-sub .row{
    margin: 0;
}

/*Korrektur blauer Kasten mit 2 spalter*/

.th-look-primary {
    background-color: inherit;
    color: inherit;      
}

.th-look-primary .row div[class^="col-"], .phone-box.th-look-primary {
    background-color: #0076a6;
    color: #fff;    
}

/********/
/* NEWS */
/********/

.th-media .th-lst-body a small ~ small {
    color: #555;
    font-size: 13px;
    font-size: .8125rem;
    line-height: 1.15385;
}

.th-idx .th-date {
    padding-bottom: 0;
}

.th-idx .th-media {
    -ms-flex-order: 4;
    order: 4;  
}

.th-idx .th-media li {
    border: none;
}

.th-idx .th-look-sub {
    border: none;
    padding: 0;
    margin-top: 1rem;
}

.news .th-slider .slick-list {
    box-shadow: 0 1px 2px rgba(0,0,0,.15);
}

.th-media .th-lst-body a.active {
    background-color: #0089C1;
    color: #fff;
}

.th-media .th-lst-body .th-current a span { border-bottom-color:black; }

.badge-primary {
    background-color: #00648c;
}
.badge-pill {
    padding-right: .6em;
    padding-left: .6em;
}
.badge {
    display: inline-block;
    padding: .25em .4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
}

/*timeline*/

.th-timeline .th-card.th-txt-pos1 .th-pic {
    padding: 0;
    padding-bottom: 1rem;
}

.th-timeline .th-card.th-txt-pos1 .th-txt h3 {    
    padding-bottom: 0.25rem;
}

.th-timeline-tiny .th-pic {
    padding: 0;
}

.th-timeline-tiny .th-pic img {
    padding-bottom: 1rem;
}

/*Images*/

.th-look-primary .ce-gallery {
    margin-bottom: 0;
}

.ce-gallery[data-ce-columns="1"] figure.image {
    width: 100%;
}

.th-slider.th-txt-pos1 .ce-gallery figcaption {
    padding-left: 5px;
    padding-top: 10px;    
}

/*slider*/

.news-slider-view .article {
    position: relative;
    height: 300px;
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;    
    padding-left: 0 !important;
    z-index: 1;
}

.slider-txt {
    position: absolute;
    z-index: 2;
    background-color: rgba(0,0,0,.6);
    color: #fff;
    padding: .5rem 6px;
    left: 24px;
    bottom: 20px;
    width: 90%;
    margin-right: 24px;
    padding-left: 12px;
    padding-right: 12px;
}

/*PVZ*/

.tx-kesearch-pi1 .th-search {
    text-align: left;  
}

.tx-kesearch-pi1 form {
    width: 100%;
}

.th-box .tx-kesearch-pi1 form {
    width: initial;
}


#ke_search_sword_pvz {
    top: 1px;
    height: auto;
    padding: 8px 40px 7px 9px;
    margin: 0;
    display: inline; 
    left: 0;
    width: 100%;
    max-width: 100%;    
}

/*cart*/

.book > .row {    
    padding-top: 20px;
    padding-top: 1.25rem;
    padding-bottom: 8px;
    padding-bottom: .5rem;
}
.book .book-title h2 { padding-top: 0; }


/*video overlay*/

.th-video {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.th-video .video_trigger {  
    height: -webkit-calc( 100% - 260px );
    height: -moz-calc( 100% - 260px );
    height: -o-calc( 100% - 260px );
    height: calc( 100% - 260px );
    
    width: -webkit-calc( 100% );
    width: -moz-calc( 100%);
    width: -o-calc( 100%);
    width: calc( 100% );
    
    position: absolute;
    bottom: 10%;
    z-index: 6;
}

.th-video iframe {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;    
}

.no-video {
    top: 0;
    height: 500px;
}

.no-video img {
    position: absolute;
    top: 0;    
    z-index: 1;
    opacity: 0.15;    
}

.no-video .th-video-hinweis {
    position: absolute;
    top: 2vh;
    padding: 0rem 1.5rem 1rem;
    z-index: 12;   
}

.col-lg-6 .no-video .th-video-hinweis {
    padding: 0 1rem;
    top: 0;
    font-size: 0.825rem;
}

.th-video .video_layer {
    display: none;
}

.th-video .video-config {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1999;
}


.th-video .video-config {
    display: none;
}

.th-video .video-config-box {
    display: none;
    position: absolute;
    top: 34px;
    right: 0;
    z-index: 1999;
    width: 300px;
    background: white;
    opacity: 0.8;
}

/**description lists*/
dl.th-data p {
    padding: 0 !important;
}

/*onepager*/
.th-kvsl figure {
    margin: 0 !important;
}

@media only screen and (min-device-width: 768px) 
                   and (max-device-width: 1024px) 
                   and (orientation: portrait) {

    .col-lg-6 .no-video .th-video-hinweis {
        padding: 0rem 1.5rem;   
        font-size: .9375rem;     
    }

}


@media only screen and (min-device-width: 480px) 
                   and (max-device-width: 820px) 
                   and (orientation: landscape) {

    .col-lg-6 .no-video .th-video-hinweis {
        padding: 1rem;   
        font-size: .9375rem;     
    }    

}

@media only screen and (min-device-width: 300px) 
                   and (max-device-width: 480px) 
                   and (orientation: portrait) {

    .no-video h5 {
        display: none;
    }                    

    .no-video .th-video-hinweis {
        top: 0 !important;
        padding: 0.5rem 1rem !important;
        font-size: 0.7rem !important;
    }

}

@media only screen and (min-device-width: 300px) 
                   and (max-device-width: 767px) 
                   and (orientation: portrait) {
        .th-icn {
            white-space: break-spaces;
        }

}

@media only screen and (min-device-width: 768px) 
                   and (max-device-width: 1023px) 
                   and (orientation: portrait) {

    #kesearch_results .th-pic {
        display: none !important;
    }

}


#kesearch_results h3 a {
    word-break: break-all; 
}

/*bilder-teaser-kachel*/

.col-b4 {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 3px;
    padding-left: 3px;    
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;    
}

@media (min-width: 480px) {
    .col-b4 {
    padding-right: 6px;
    padding-left: 6px;  
    }
}
@media (min-width: 640px) {
    .col-b4 {
    padding-right: 9px;
    padding-left: 9px;  
    }
}
@media (min-width: 980px) {
    .col-b4 {
    padding-right: 12px;
    padding-left: 12px;  
    }
}@media (min-width: 1200px) {
    .col-b4 {
    padding-right: 15px;
    padding-left: 15px;  
    }
}

.row-cols-2>* {
    flex: 0 0 auto;
    width: 50%;
}

.row-cols-3>* {
    flex: 0 0 auto;
    width: 33.3333333333%;
}

.row-cols-4>* {
    flex: 0 0 auto;
    width: 25%;
}

.th-imagebox {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.th-imagebox .th-txt {
    position: relative;
    text-align: center;
}


.th-imagebox a {

    border: none;
    color: #fff;
    font-size: 1.5rem;
    line-height: 2rem;
}

.th-imagebox .th-pic {
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
    width: 100%;
}

.th-imagebox .th-pic img {
    position: absolute!important;
    width: 1px!important;
    height: 1px!important;
    padding: 0!important;
    margin: -1px!important;
    overflow: hidden!important;
    clip: rect(0,0,0,0)!important;
    white-space: nowrap!important;
    border: 0!important;
}

.th-imagebox .mb-5 {  
    margin-bottom: 2rem !important;
}

.th-overlay {
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin-right: 15px;
    margin-left: 15px;    
}

.th-overlay:before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.9;
    background: rgba(0, 0, 0, 0.5);
    transition: background-color 0.6s;
}

.th-imagebox:hover .th-overlay:before {
    background-color: rgb(0,118,166);
    transition: background-color 0.2s;
}


@media only screen and (min-width: 640px) and (max-width: 1200px) {
    .row-cols-3>* {
        flex: 0 0 auto;
        width: 50%;
    }

    .row-cols-4>* {
        flex: 0 0 auto;
        width: 50%;
    }
}

@media (min-width: 640px) {

}

@media only screen and (max-width: 639px) {
    .th-d-none {
        display: none;
    }


    .row-cols-2>*,
    .row-cols-3>*,
    .row-cols-4>* {
        flex: 0 0 auto;
        width: 100%;
    }

    .th-tiles-slider {
        padding: 0 50px;
    }

    .th-overlay.d-block {
        margin-left: 0;
        margin-right: 0;
        display: flex !important;
    }

    .th-tiles-slider .slick-next:before,
    .th-tiles-slider .slick-prev:before {
        content: "";
    }


    .th-tiles-slider .slick-prev i:before,
    .th-tiles-slider .slick-next i:before {
        font-family: Font Awesome\ 5 Solid;
        font-size: 3rem;
        line-height: 1;
        color: inherit;
        display: block;
        padding: 0.8px;
        padding: 0.05rem;
        opacity: 1;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .th-tiles-slider .slick-next, 
    .th-tiles-slider .slick-prev  {
        background: transparent;
        color: #0076a6;
        top: calc(40% - 16px);
    }
}


}

/*uploads*/
.ce-uploads a {
    display: inline-flex;
    word-break: break-all;
    align-items: center;
}

.ce-uploads li {
    margin: 0;
}

.ce-uploads li img {
    display: none;
}

.ce-uploads span {
    display: inline-block;
}

.ce-uploads span.ce-uploads-description {
    font-size: 0.9rem;   
}

.ce-uploads span.ce-uploads-filesize {
    padding-left: 10px;
    font-size: 0.9rem;
}

.ce-uploads a:hover span.ce-uploads-filesize,
.ce-uploads a:hover span.ce-uploads-description {
    border-bottom-color: transparent;
}

.ce-uploads span.ce-uploads-filesize:before {
    content: "(";
}

.ce-uploads span.ce-uploads-filesize:after {
    content: ")";
}

/*kachel-slider mit abstand und hintergrund*/

.th-slider.th-distance-hg .slick-slide {
    margin: 10px 5px;
}


.th-slider.th-distance-hg .slick-list {
    /*background: #0076a6;*/
    background: #fff;
    padding: 0 5px;
    box-shadow: none;
}

.th-slider.th-distance-hg.full-content .slick-list {    
    padding: 0 6px 0 3px;
}

.news .th-slider.th-distance-hg .slick-prev {
    top: calc(50% - 32px);
    left: 1px;
}

.th-content .news .th-slider.th-distance-hg .slick-prev {
    left: -25px;
}

.news .th-slider.th-distance-hg .slick-next {
    top: calc(50% - 32px);
    right: 1px;
}

.th-content .news .th-slider.th-distance-hg .slick-next {
    right: -25px;
}



@media (max-width:879px) {
    .th-slider.th-distance-hg .slick-list {
        padding: 0;
    }

    .th-slider.th-distance-hg .slick-slide {
        margin: 0 5px 10px 5px;
    }
}

/*hochkant formate*/

.ratio-1x2 {
    width: 100%;
  aspect-ratio: 1/2;
}

.ratio-2x3 {
width: 100%;
  aspect-ratio: 2/3;
}

.ratio-3x4 {
width: 100%;
  aspect-ratio: 3/4;
}

/*sticky header*/
@media (min-width:880px) {
    html { scroll-padding-top: 118px; }
}

.navbar-toggler {
outline: none;
background-color: transparent;   
display: flex;
align-items: center; 
border: none;
padding-top: 5px;
padding-bottom: 5px;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
 background-color: transparent;
 cursor:pointer; 
}

.navbar-toggler[aria-expanded="false"] .nav-close,
.navbar-toggler[aria-expanded="true"] .nav-open {
    display: none;
}

.navbar-toggler .nav-open {
    width: auto;
        margin-left: 0.5rem;
}

.navbar-toggler .nav-close {
    display: inline-flex;
    width: auto;
        margin-left: 0.5rem;
}

.navbar-toggler .icon-bar {
  background-color: #0076a6;
  height: 4px;
  width: 33px;
  display: block;
  transition: all 0.2s;
}

.navbar-toggler .icon-bar + .icon-bar {
  margin-top: 4px;
}

.navbar-toggler[aria-expanded="false"] .top-bar {
  transform: rotate(0);
}
.navbar-toggler[aria-expanded="false"] .middle-bar {
  opacity: 1;
}
.navbar-toggler[aria-expanded="false"] .bottom-bar {
  transform: rotate(0);
}


.navbar-toggler[aria-expanded="true"] .top-bar {
  transform: rotate(45deg);
  transform-origin: 20% 10%;
}
.navbar-toggler[aria-expanded="true"] .middle-bar {
  opacity: 0;
}
.navbar-toggler[aria-expanded="true"] .bottom-bar {
  transform: rotate(-45deg);
  transform-origin: 10% 50%; 
}

.th-logo img {
 -webkit-transition: all 500ms ease-in-out;
   -moz-transition: all 500ms ease-in-out ;
   -ms-transition: all 500ms ease-in-out ;
   -o-transition: all 500ms ease-in-out ;
   transition: all 500ms ease-in-out ;
   max-width: 100%;
}

    .sticky-top {
        position: -webkit-sticky !important;
        position: sticky !important;
    }

.navbar-transition {
    border-bottom: 3px solid #0076a6;
}

.navbar-transition .th-nav-main.collapse.show > .th-container,
.th-nav-main .th-nav-flap {
    overflow-y: scroll;
    overflow-x: hidden;
}

.navbar-transition .th-nav-main.collapse.show .th-nav-flap {
    height: inherit;
    overflow: inherit;
}

.th-nav-main.collapse.show {
    display: block !important;
}

@media (max-width:879px) {


    .th-nav-sticky {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        width: 25%;
        max-width: 25%;
        padding-top: 3rem;
    }

    .th-brand .th-container {
        flex-direction: row-reverse;
        justify-content: space-between;
    }

    .th-logo {
        position: relative;
        min-height: 1px;
        -ms-flex: 0 0 75%;
        flex: 0 0 75%;
        width: 75%;
        max-width: 75%;
        padding-top: 2.5rem;
        padding-bottom: 2rem;
        padding-left: 0.5rem;    
    }

    .th-logo img {
        max-width: 220px;
    }

    .th-nav-main>.th-container {
        padding-top: 0;
        padding-bottom: 1rem;
    }

    .th-nav-close-menu {
        display: none !important;
    }

}


@media (min-width:880px) {

.navbar-transition .th-logo img {
    max-width: 250px;
}

.navbar-transition .th-brand .th-container {
    flex-direction: row-reverse;
}

.th-nav-sticky {
    position: relative;
    min-height: 1px;
    -ms-flex: 0 0 15%;
    flex: 0 0 15%;
    width: 15%;
    max-width: 15%;
    padding-top: 3rem;
}

    .th-nav-sticky,
    .th-nav-sticky .th-nav-main,
    .navbar-transition .th-service-search {
        display: none;
    }   


.navbar-transition .th-logo {
    position: relative;
    min-height: 1px;
    -ms-flex: 0 0 85%;
    flex: 0 0 85%;
    width: 85%;
    max-width: 85%;
    padding-top: 40px;
    padding-top: 2.5rem;
    padding-bottom: 32px;
    padding-bottom: 2rem;    
}

.navbar-transition .th-nav-sticky,
.navbar-transition .th-nav-main .th-search-tiny, 
.navbar-transition .th-nav-main .th-service-tiny {
    display: block;
}

.navbar-transition .th-nav-main {
    display: none;
    background-color: #0089c1;
    border-top: 3px solid #0076a6;
    color: #0076a6;
    position: relative;
    padding-top: 0;
}

.navbar-transition .th-nav-main>.th-container {
    box-shadow: 0 2px 4px rgb(0 0 0 / 23%);
    background: white;
    padding-top: 32px;
    padding-top: 2rem;
    padding-bottom: 32px;
    padding-bottom: 2rem;
}

.navbar-transition .th-nav-main .th-lvl1-lst {
    display: inherit;
    margin-bottom: 16px;
    margin-bottom: 1rem;
}

.navbar-transition .th-nav-main .th-lvl1-lst>li>.th-lvl1-btn {
    display: none !important;
}

.navbar-transition .th-nav-main .th-lvl1-lst>li .th-nav-flap .th-lvl1-trg {
    display: block;
    border: 2px solid white;
    border-bottom: 0;
    border-right: 0;    
}

.navbar-transition .th-nav-main .th-lvl1-lst>li>.th-lvl1-btn, 
.navbar-transition .th-nav-main .th-lvl1-lst>li>.th-lvl1-lnk {
    padding-left: 11.25px;
    padding-right: 11.25px;
}

.navbar-transition .th-nav-main .th-nav-flap {
display: inherit;
    position: inherit;
    left: inherit;
    right: inherit;
    background-color: inherit;
    border: inherit;
    border-top: inherit;
    box-shadow: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
    height: inherit;
    min-height: inherit;
    width: inherit;    
}

.navbar-transition .th-nav-main .th-lvl1-lst>li+li, 
.navbar-transition .th-nav-main .th-lvl2-lst {
    margin-top: 0;
}

.navbar-transition .th-nav-main .th-nav-flap .th-container {
    padding-left: 0;
    padding-right: 0;
    transition: all 1s;
}

.navbar-transition .th-nav-main .th-wrapper .th-lvl1-lnk, 
.navbar-transition .th-nav-main .th-wrapper .th-lvl2-lnk, 
.navbar-transition .th-nav-main .th-wrapper .th-lvl3-lnk {
    -ms-flex-positive: 1 !important;
    flex-grow: 1 !important;
    text-align: left;
}

.navbar-transition .th-nav-main .th-nav-close-menu {
    display: none;
}

.navbar-transition .th-nav-main .th-nav-flap:after {
    display: block;
    content: "";
    clear: both;
}

.navbar-transition .th-nav-main .th-nav-close-flap {
    display: none;
}

.navbar-transition .th-nav-main .th-lvl1-btn, 
.navbar-transition .th-nav-main .th-lvl1-lnk, 
.navbar-transition .th-nav-main .th-lvl1-trg, 
.navbar-transition .th-nav-main .th-lvl2-lnk, 
.navbar-transition .th-nav-main .th-lvl2-trg, 
.navbar-transition .th-nav-main .th-lvl3-lnk, 
.navbar-transition .th-nav-main .th-nav-close-flap button, 
.navbar-transition .th-nav-main .th-nav-close-menu button, 
.navbar-transition .th-nav-main .th-search-tiny input[type=submit], 
.navbar-transition .th-nav-tiny button, 
.navbar-transition .th-search button[type=submit], 
.navbar-transition .th-search input[type=submit] {
    display: inline-block;
    line-height: 1.375;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 8px 16px;
    padding: 0.5rem 1rem;
    font-size: 16px;
    font-size: 1rem;
    transition: all .2s ease-in-out;
}



.navbar-transition .th-nav-main .th-lvl1-lst>li>.th-lvl1-btn, 
.navbar-transition .th-nav-main .th-lvl1-lst>li>.th-lvl1-lnk {
    text-decoration: none;
    border-top: 2px solid white;
    border-bottom: none;
    border-left: none;
    border-right: none;
    color: #fff;
    display: inline-block;
    font-size: 1rem;
    height: 100%;
    padding-top: 0.625rem;
    text-align: left;
    vertical-align: top;
}

.navbar-transition .th-nav-main .th-lvl1-lst>li>.th-lvl1-btn:hover, 
.navbar-transition .th-nav-main .th-lvl1-lst>li>.th-lvl1-lnk:hover {
    background-color: #00648c;
    text-decoration: none;
}

.navbar-transition .th-nav-main .th-lvl1-lnk:hover span {
    border-bottom: none;
}

.navbar-transition .th-nav-main .th-wrapper .th-lvl1-trg, 
.navbar-transition .th-nav-main .th-wrapper .th-lvl2-trg {
    margin-left: 0;
}

.navbar-transition .th-nav-main .th-lvl1-lst>li .th-nav-flap .th-lvl1-lnk {
    margin-bottom: 0;
    padding: 10px 16px;
    padding: 0.625rem 1rem;
    border-color: white;
    border-left: 0;
    border-width: 2px;   
    border-top: 0;
    border-top: 2px solid white;
    border-bottom: none;
    border-left: none;
    border-right: none;    
}

.navbar-transition .th-nav-main .th-lvl1-lst li[class~="th-hasnav"]:last-child .th-nav-flap .th-lvl1-lnk {
    border-bottom: 0;
}

.navbar-transition .th-nav-flap .th-nav-inner .col-lg-8 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;    
}

.navbar-transition .th-nav-flap .th-nav-inner .col-lg-4 {
    display: none;
}

.navbar-transition .th-service-tiny>li {
    border-top: 1px solid white;
    border-bottom: none;
    border-left: none;
    border-right: none;       
}

.navbar-transition .th-service-tiny>li>a.th-lvl1-lnk {
    border: none;
}

.navbar-transition .th-service-tiny .th-nav-flap {
    margin-bottom: -1px;
}

.navbar-transition .th-service-tiny .th-nav-flap .th-lvl1-btn {
    padding-left: 0.65rem;
}

}

.th-look-primary.th-media .th-lst-body a, .th-look-primary .th-media .th-lst-body a, .th-look-primary.th-nav-submenu .th-lst-body a, .th-look-primary .th-nav-submenu .th-lst-body a {
background-color: rgb(200,224,239);
    color: rgb(0,100,140);
}

.th-nav-sitemap .th-lvl1-trg {
    background: transparent;
    border: 1px solid white;
    color: white;
    position: absolute;
    right: 10px;
}

.th-nav-sitemap .th-level1 li>div {
    position: relative;
}

@media (min-width: 880px) {
  .th-nav-sitemap .th-lvl1-trg {
    display: none;
  }  

  .th-nav-sitemap .collapse {
    display: block !important;
  }
}

@media (max-width: 879px) {
   .th-nav-sitemap .collapse {
   display: none !important;
  }  

  .th-nav-sitemap .collapse.show,
  .th-nav-sitemap .collapse.show .th-level2 {
    display: block !important;
  }
}