.page-content, .ub--box {
    padding: 0px;
}

.ub--main{
    padding: 14px 0;
}

/**   Shortcuts **/

.ub--main ul.nav.nav-pills li a:hover {
    background-color: #000;
    color: #fff!important;
}
.ub--main ul.nav.nav-pills li a {
    background-color: #E6E6E6;
    color: #555;
}
ul.nav.nav-pills li:not(:last-child) {
    margin-bottom: 10px;
    margin-right: 10px;
}

/** \ Shortcuts **/

/** Kontaktformular**/

#ub--contact {
    padding: 14px 10px 28px 14px;
    margin-top: -14px;
    width: 50%;
    text-align: center;
    display:flex;
    justify-content:space-between;
    float: left;
}

#ub--contact:nth-child(2n)
{
    padding-left: 0px;
}

.tucicon-user::before {
    font-family: TUCAL;
    content: "\1f464" "\00a0";
}

.tucicon-clock::before {
    font-family: TUCAL;
    content: "\23f0" "\00a0";
}

.icon-ub::before {
    color: #000 !important;
    padding: 10px 1px;
    font-size: 2.3em;
}

#ub--contact > a[href]:hover::before {
    color: #fff!important;
}

#ub--contact > a[href] {
    color: #555!important;
    border: 0;
    background-color: #E6E6E6;
    padding: 10px 10px 2px 10px;
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: center center;
}



#ub--contact > a[href] > img {
    width: 30px;
}

#ub--contact > a[href]:hover {
    background-color: #000;
    color: #fff!important;
}

#ub--contact .glyphicon {
    font-size: 20px;
}

.ub--contact--button{
    position: relative;
    top: -8px;
    left: -5px;
}

.popover-content>a:hover {
    border-bottom: 1px solid;
}

.popover-content>a {
    border-bottom: 1px dotted #979797;
    color: #177665;
}

/** Suche **/
#ub--searchdropdown > li > a {
    font-size: 20px!important;
}
#ub--searchmenu {
    font-size: 20px!important;
    height: 46px!important;
}
#ub--searchbutton  .tucicon-search::before {
    font-size: 20px!important;
}
#ub--searchbutton{
    height: 46px!important;
    width: 46px!important;
}
#ub--searchfield::placeholder {
    font-size: 20px!important;
}
#ub--searchfield {
    min-height: 45px!important;
}

.ub--searchform form {
    height: 46px!important;
}

/** Boxen Ebene 1 und Allgemein **/

.ub--content {
    width: 100%;
    float: left;
}

.right {
  border: 7px solid #fff;
  border-right: none;
}

.left {
    border: 7px solid #fff;
    border-left:none;
}

.middle {
     border: 7px solid #fff;
}

.ub-nav {
    margin-left: -14px;
}
.ub--box {
    position: relative;
    overflow: hidden;
    float: left;
}

.ub--box::before {
    content: "";
    display: block;
    padding-top: 100%;
}

.ub--box:hover {
    opacity: 0.8;
}

.ub--box--content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    color: white;
    background-size: cover;
    cursor: pointer;
}

.text {
    display: table;
    margin: auto;
    color: white;
    text-align: center;
    width: 100%;
    height: 100%;
}

.intern-link {
    height: 40px;
    width: 40px;
    background-color: #fff!important;
    background-image: url('../images/icon_tu_link.png');
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: center center;
    display: inline-block;
    opacity: 1 !important;
    margin-top: 4px;
}

.short {
    margin-top: -3px;
}

.colored {
    width: 100%;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.colored span {
    background-color: #000;
    color: white;
    font-weight:bold;
    padding: 10.5px;
}

.colored h3 {
    text-transform: uppercase;
    font-size: 28px!important;
    line-height: 2.1;
    margin:0;
}

.colored .h4 {
    font-size: 14px;
    line-height: 2.1;
    margin: 0;
}

.colored p , .colored ul{
    font-weight: bold;
}

.class-tuc .page-content .colored a[href] {
    color: #fff;
}

.ub--box--content>a:focus{
    outline: 2px solid red;
}
.colored div {
    text-align: left;
    padding: 10px;
}

.colored ul > li {
    padding-top: 10px;
}

.page-content a[href*="facebook.com"]:not([data-rel])::before , .page-content a[href*="twitter.com"]:not([data-rel])::before ,
.page-content a[href*="instagram.com"]:not([data-rel])::before
{
    content: ""!important;
}

#socialmedia span{
    position:absolute;
    margin-top: 10px;
    margin-left: 10px;

}
.ub--start-social{
    width: 50px;
}

#socialmedia>ul>li:hover{
    background-color: #E6E6E6;
}

#socialmedia{
    margin-bottom: 14px;
}

span.linkextern::after {
    font-family: TUCAL;
    speak: none;
    content: "\21a6" "\00a0";
    font-size: .7em;
    padding-left: 5px;
}
@media (max-device-width: 1095px) {
 #ub--contact {width: 100%; padding-bottom: 28px; padding-right: 14px;}
 #ub--contact > a[href]{width: 49%; float: left; margin-bottom: 5px;}
 #ub--contact > a[href]:nth-child(odd){margin-right: 2.5px;}
 #ub--contact > a[href]:nth-child(even){margin-right: 2.5px;}
 #ub--contact > a[href]::before{font-size: 1.8em;}
#ub--contact:nth-child(2n) {padding-left: 14px;}
}

@media (max-device-width: 800px) {
    .ub--content>ul{padding: 0 10px;}
    .colored span {background-color: transparent; padding: 0;}
    #ub--contact {width: 100%!important; padding-bottom: 28px; padding-right: 14px; display:block;}
    .ub--box::before {padding-top: 120px;}
    .ub--box--content[style]{border: none; border-bottom: 4px solid #fff; background-image: none!important; background-color:grey!important;}
    .colored h3 {float:left; padding-left: 14px; padding-right: 10px; width: auto ;line-height: 1.1; max-width: 90%; text-align: left}
    .colored .h4 {float:left; padding: 10px; max-width: 90%; text-align: left; line-height: 1.1;};
    .colored {text-align:left;}
    .intern-link {width: 10%; float:right;background-image: url('../images/icon_tu_link_neg.png'); background-color: transparent!important;}
}
