/*
Theme Name: T-base Brand Design
Theme URI:
Author: Martin Stangl
Author URI: https://www.t-base.pro/
Description: Adaptive T-base theme based on _s and bootstrap
Version: 2.9.2
License: For use on T-base web sites only
License URI:
Text Domain: t-base
Tags: _s, Bootstrap 3.3.7

This theme, like WordPress, is licensed under the GPL.

t-base is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

@import url('https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css');
@import url('underscores.min.css');

html {
    font-size: 16px;
}

body {
    padding: 28px 0px 28px 0px;
    background: #000000 url('body_bg.jpg') repeat-x;
    overflow-x: hidden;
}

body.popup {
    padding: 10px 15px 10px 15px;
    background: #ffffff none;
    overflow-x: hidden;
}


a {
    color: #ea8100;
    text-decoration: none;
}

a:visited {
    color: #ea8100;
    text-decoration: none;
}

a:hover {
    color: #a71b28;
    text-decoration: none;
}

.wp-element-button, .wp-element-button:visited {
    background-color: #a71b28;    
    color: #fff;
}
.wp-element-button a, .wp-element-button:hover a {
    color: #fff;
}
.wp-element-button:hover {
    background-color: #F1511B;    
    color: #fff;
}

.form-control:focus {
    border-color: #ea8100;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(234, 129, 0, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(234,129,0, .6);
}

em,
cite {
    font-style:normal;
}

.hr {
    height:1px;
    overflow:hidden;
    background:#ccc;
    color:inherit;
    margin:15px 0;
}
.hr hr {
    display:none;
}

h1, h2, h3, h4, h5, h6, .panel {
    -ms-word-break: break-all;
    word-break: break-all;

    /* Non standard for webkit */
    word-break: break-word;

    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

h1.entry-title {
    margin-bottom: 0;
}

ul, ol {
    margin: 0;
}

.site-content p {
    margin-top:1em;
    line-height:1.3;
}

.site-content {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
}

div.content-wrapper {
    background-image: -webkit-linear-gradient(#EEEEEE, #343434);
    background-image:
    -moz-linear-gradient(#EEEEEE, #343434),
    -moz-linear-gradient(#EEEEEE, #343434);
    background-image:
    -o-linear-gradient(#EEEEEE, #343434),
    -o-linear-gradient(#EEEEEE, #343434);
    background-image:
    linear-gradient(#EEEEEE, #343434),
    linear-gradient(#EEEEEE, #343434);
    -moz-background-size: 100% 100%;
    background-size: 100% 100%;
    background-position: 0 0, 100% 0;
    background-repeat: no-repeat;

    -ms-border-radius: 17px;
    -webkit-border-radius: 17px;
    -moz-border-radius: 17px;
    -o-border-radius: 17px;
    border-radius: 17px;

    box-shadow: 0px 0px 11px 1px rgba(0,0,0,.85);

    position:relative;
    z-index:1;
    padding: 5px;
    /*   margin: -5px;*/
}

div.content-wrapper:before  {
    -ms-border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -o-border-radius: 12px;
    border-radius: 12px;
    background-color: white;
    content:"";
    position:absolute;
    z-index:-1;
    top:5px;
    left:5px;
    right:5px;
    bottom:5px;
}

div.content-wrapper.sidebar:before  {
    background-color: #f2f2f2;
}

div.content-wrapper.sidebar {
    top:180px;
}

.main-navigation {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 15px;
}

header.site-header {
    padding: 3px;
}

/*div.logo*/
#site-navigation, .header-band {
    margin: 0px;
    background-color: white;
    border-width: 0;

    -ms-border-radius: 9px 9px 0px 0px;
    -webkit-border-radius: 9px 9px 0px 0px;
    -moz-border-radius: 9px 9px 0px 0px;
    -o-border-radius: 9px 9px 0px 0px;
    border-radius: 9px 9px 0px 0px;
}

.header-band {
    position:relative;
    height: 107px;
    background-image: -webkit-linear-gradient(rgb(255,255,255), rgb(245,245,245) 54px, rgb(241,241,241) 55px, rgb(225,225,225) 107px);
    background-image:
        -moz-linear-gradient(rgb(255,255,255), rgb(245,245,245) 54px, rgb(241,241,241) 55px, rgb(225,225,225) 107px),
        -moz-linear-gradient(rgb(255,255,255), rgb(245,245,245) 54px, rgb(241,241,241) 55px, rgb(225,225,225) 107px);
    background-image:
        -o-linear-gradient(rgb(255,255,255), rgb(245,245,245) 54px, rgb(241,241,241) 55px, rgb(225,225,225) 107px),
        -o-linear-gradient(rgb(255,255,255), rgb(245,245,245) 54px, rgb(241,241,241) 55px, rgb(225,225,225) 107px);
    background-image: linear-gradient(rgb(255,255,255), rgb(245,245,245) 54px, rgb(241,241,241) 55px, rgb(225,225,225) 107px);
    -moz-background-size: 100% 100%;
    background-size: 100% 100%;
    background-position: 0 0, 100% 0;
    background-repeat: no-repeat;

    margin-bottom: 4px;
}

.popup-header-band {
    position:relative;
    height: 60px;
    padding: 0px 0px 10px 0px;
    border-bottom: 1px solid #e4e4e4;
    margin-bottom: 15px;
}

.navbar-collapse {
    border-width: 0px;
    padding-bottom: 1px;
}

.navbar-toggle {
    margin-right:0;
    position:absolute;
    right:15px;
    bottom:1px;
    z-index:10;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #ea8100;
}

.navbar-default .navbar-nav>li>a, .navbar-default .navbar-nav>.active>a.dropdown-toggle {
    color: #ea8100 !important;
    cursor: pointer;
}
.navbar-default .navbar-nav>.open>a.dropdown-toggle, .navbar-default .navbar-nav>.open.active>a.dropdown-toggle{
   background-color: #e7e7e7 !important;
}
.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>.active>a.dropdown-toggle:hover {
    color: #a71b28 !important;
    cursor: pointer;
}
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
    color: #555 !important;
    background-color: #fff !important;
}
.nav .open>a, .nav .open>a:focus, .nav .open>a:hover, .nav .open.active>a {
    background-color: #e7e7e7;
    border-color: #e7e7e7;
}
.nav-tabs.nav-justified>.open>a, .nav-tabs.nav-justified>.open>a:focus, .nav-tabs.nav-justified>.open>a:hover {
    border: 0px !important;
}
@media (max-width: 767px) {
    .nav-tabs.nav-justified>li>a, .nav-justified>li>a {
        margin-bottom: 0px;
    }
    .nav-tabs.nav-justified>li, .nav-justified>li {
        margin-top: 5px;
    }
    .nav.navbar-nav {
       margin: 7.5px 0px;
    }
    .navbar-nav .open .dropdown-menu .dropdown-header, .navbar-nav .open .dropdown-menu>li>a {
        padding-left: 15px !important;
    }
    .navbar-nav li.dropdown.open {
        border: 1px solid #e7e7e7;
        border-radius: 4px;
    }
    .navbar-nav li.dropdown.open>a {
        border: 0px;
        border-radius: 0px;
    }
}
.dropdown-menu > li > a {
    text-align: center;
    color: #ea8100 !important;
    cursor: pointer;
    font-size: 0.95rem;
    border-radius: 4px;
    margin: 6px 9px;
    padding: 6px 11px;
}
.dropdown-menu > li > a:hover {
    color: #a71b28 !important;
    background-color: #fff !important;
    cursor: pointer;
}
.dropdown-menu>.active>a, .dropdown-menu>.active>a:focus, .dropdown-menu>.active>a:hover {
    color: #555 !important;
    background-color: #fff !important;
    border: 1px solid #ddd;
}
.dropdown-menu {
    font-size: 0px !important;
    padding: 2px 0px !important;
}

.menu-item {
    white-space: nowrap;
}

/*
 Not compatible with 2nd level navigation drop downs of primary navigation
#navbar-collapse-primary {
    overflow-y: hidden !important;
    overflow-x: auto !important;
}
*/

div.logo {
    height: 107px;
    display: inline-block;
}

div.logo_small {
    height: 50px;
    display: inline-block;
    float: left;
}

#logospacer {
    width: 9px;
    display: inline-block;
}

#homelink {
    z-index:2;
}

#homelink img {
    margin-top: 9px;    
    height: 86px;
    padding: 5px;
}

#homelink.logo_small img {
    margin-top: 0px;
    height: 50px;
    padding: 0px;
}

#logosubtitle {
    font-family: Arial, sans-serif;
    color: #F1511B;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 6px;
    text-shadow: 0 0 10px #f3cdc2;
    white-space: nowrap;

    -ms-transform: scaleX(0.43) scaleY(0.45) skewX(170deg);
    -webkit-transform: scaleX(0.43) scaleY(0.45) skewX(170deg);
    -moz-transform: scaleX(0.43) scaleY(0.45) skewX(170deg);
    -o-transform: scaleX(0.43) scaleY(0.45) skewX(170deg);
    transform: scaleX(0.43) scaleY(0.45) skewX(170deg);
    -ms-transform-origin: 0% 0%;
    -webkit-transform-origin: 0% 0%;
    -moz-transform-origin: 0% 0%;
    -o-transform-origin: 0% 0%;
    transform-origin: 0% 0%;

    position: absolute;
    left: 63px;
    top: 78px;
    z-index:1;
}

#logosubtitle.logo_small {
    font-size: 16px;
    letter-spacing: 4px;
    text-shadow: 0 0 7px #f3cdc2;

    left: 27px;
    top: 37px;
}

#backlink {
    float: right;
    margin-top: 1em;
}

footer.site-footer {
    background-color: white;
    background-image: url('footer_bg.png');
    background-position: left bottom;
    background-repeat: no-repeat;
    min-height: 193px;

    -ms-border-radius: 0px 0px 12px 12px;
    -webkit-border-radius: 0px 0px 12px 12px;
    -moz-border-radius: 0px 0px 12px 12px;
    -o-border-radius: 0px 0px 12px 12px;
    border-radius: 0px 0px 12px 12px;

    padding-left: 3px;
    padding-right: 3px;
    margin-top: 10px;
    padding-top:10px;
}

footer.site-footer:before {
    height: 4px;
    display: block;
    content: "";
    margin-top: 5px;
    margin-left: 12px;

    background: -webkit-linear-gradient(right, rgba(228,228,228,0), rgba(228,228,228,0) 76px, rgba(228,228,228,1) 346px, rgba(228,228,228,1) 100%);
    background: -moz-linear-gradient(left, rgba(228,228,228,0), rgba(228,228,228,0) 76px, rgba(228,228,228,1) 346px, rgba(228,228,228,1) 100%);
    background: -o-linear-gradient(left, rgba(228,228,228,0), rgba(228,228,228,0) 76px, rgba(228,228,228,1) 346px, rgba(228,228,228,1) 100%);
    background: linear-gradient(to left, rgba(228,228,228,0), rgba(228,228,228,0) 76px, rgba(228,228,228,1) 346px, rgba(228,228,228,1) 100%);
    -moz-background-size: 100% 100%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: right;
}

@media (min-width: 480px) {
    footer.site-footer:before {
        background: -webkit-linear-gradient(left, rgba(228,228,228,1), rgba(228,228,228,1) 134px, rgba(228,228,228,0) 404px, rgba(228,228,228,0) 100%);
        background: -moz-linear-gradient(right, rgba(228,228,228,1), rgba(228,228,228,1) 134px, rgba(228,228,228,0) 404px, rgba(228,228,228,0) 100%);
        background: -o-linear-gradient(right, rgba(228,228,228,1), rgba(228,228,228,1) 134px, rgba(228,228,228,0) 404px, rgba(228,228,228,0) 100%);
        background: linear-gradient(to right, rgba(228,228,228,1), rgba(228,228,228,1) 134px, rgba(228,228,228,0) 404px, rgba(228,228,228,0) 100%);
        background-position: left;
    }
}

@media (min-width: 768px) {
    footer.site-footer {
        background-image: url('footer_bg_transparent.png'), url('footer_bg_repeat.png');
        background-position: right bottom, left bottom;
        background-repeat: no-repeat, repeat-x;
    }

    footer.site-footer:before {
        background: -webkit-linear-gradient(right, rgba(228,228,228,0), rgba(228,228,228,0) 364px, rgba(228,228,228,1) 634px, rgba(228,228,228,1) 100%);
        background: -moz-linear-gradient(left, rgba(228,228,228,0), rgba(228,228,228,0) 364px, rgba(228,228,228,1) 634px, rgba(228,228,228,1) 100%);
        background: -o-linear-gradient(left, rgba(228,228,228,0), rgba(228,228,228,0) 364px, rgba(228,228,228,1) 634px, rgba(228,228,228,1) 100%);
        background: linear-gradient(to left, rgba(228,228,228,0), rgba(228,228,228,0) 364px, rgba(228,228,228,1) 634px, rgba(228,228,228,1) 100%);
        background-position: right;
    }
}

footer.site-footer ul {
    margin-top: 4px;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 0;
}

footer.site-footer p.vcard {
    padding-left: 12px;
    padding-right: 12px;
    margin-top: 0;
    margin-bottom: 103px;
}

.posted-on {
    font-size: 0.9rem;
}

.embed-responsive-1200px {
    padding-bottom: 1200px;
}

.embed-responsive-800px {
    padding-bottom: 800px;
}

.embed-responsive-400px {
    padding-bottom: 400px;
}

.hentry {
    margin: 0;
}

.entry-content:before, .entry-content:after {
    display: none;
}

/* iDevice iframe scroll fix for fancybox */
#fancybox-frame, #fancybox-content {
    overflow: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

/* override underscores.css small button font */
button, input[type="button"], input[type="reset"], input[type="submit"] {
    font-size: inherit;
}

li {
    margin-bottom: 0.5em;
}

/* Safari workaround for eversports */
.safari_only {
    display: none;
}
.no_safari {
    display: inherit;
}

@media screen and (min-color-index:0) and(-webkit-min-device-pixel-ratio:0)
{ @media {
    .safari_only {
        display: inherit;
    }
    .no_safari {
        display: none;
    }
}}