
/* Torsten Behrens Webtemplatedesign */



/*
This file is part of a template, which was created by Torsten Behrens.
Take a modern CMSimple XH version. www.cmsimple-xh.org www.cmsimple.name www.cmsimple.me www.cmsimple.eu

Version 08.08.2013. Update for jQuery4CMSimple. 
##################################################################################
# Dies ist ein GPL3 Template von Torsten Behrens.                                #
# Torsten Behrens                                                                #
# Dorfstraße 2                                                                   #
# D-24619 Tarbek                                                                 #
# USt.ID-Nr. DE214080613                                                         #
# http://torsten-behrens.de                                                      #
# http://tbis.info                                                               #
# http://tbis.net                                                                #
# http://cmsimple-templates.de                                                   #
# http://cmsimple-templates.com                                                  #
##################################################################################
*/


.responsive body
{
   min-width: 240px;
}
  
.responsive .tbisgpl3-content-layout img,
.responsive .tbisgpl3-content-layout video
{
   max-width: 100%;
   height: auto !important;
}

.responsive.responsive-phone .tbisgpl3-content-layout img 
{
   float: none !important;
}
    
.responsive .tbisgpl3-content-layout .tbisgpl3-sidebar0, 
.responsive .tbisgpl3-content-layout .tbisgpl3-sidebar1, 
.responsive .tbisgpl3-content-layout .tbisgpl3-sidebar2 
{
   width: auto !important;
}
    
.responsive .tbisgpl3-content-layout, 
.responsive .tbisgpl3-content-layout-row, 
.responsive .tbisgpl3-layout-cell 
{
   display: block;
}
    
.responsive .image-caption-wrapper 
{
   width: auto;
}

.responsive.responsive-tablet .tbisgpl3-vmenublock,
.responsive.responsive-tablet .tbisgpl3-block
{
   margin-left: 1%;
   margin-right: 1%;
   width: 48%;
   float: left;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
}

.responsive .tbisgpl3-responsive-embed 
{
   position: relative;
   padding-bottom: 56.25%;
   /* 16:9 */
	height: 0;
}

.responsive .tbisgpl3-responsive-embed iframe,
.responsive .tbisgpl3-responsive-embed object,
.responsive .tbisgpl3-responsive-embed embed
{
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
}

/* dynamic width nav */
.tbisgpl3-nav .tbisgpl3-menu-btn 
{
   border: 1px solid #404040;
   border-radius: 3px;
   box-shadow: 0 0 3px 0 rgba(0, 0, 0, .2);
   display: none;
   background: -ms-linear-gradient(top, #707070 0, #000 100%);
   background: -moz-linear-gradient(top, #707070 0, #000 100%);
   background: -o-linear-gradient(top, #707070 0, #000 100%);
   background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #707070), color-stop(1, #000));
   background: -webkit-linear-gradient(top, #707070 0, #000 100%);
   background: linear-gradient(to bottom, #707070 0, #000 100%);
   margin: 3px;
   padding: 5px;
   position: relative;
   width: 20px;
}

.tbisgpl3-nav .tbisgpl3-menu-btn span 
{
   background: #E0E0E0;
   border-radius: 2px;
   display: block;
   height: 3px;
   margin: 3px 1px;
   position: relative;
   -moz-transition: background .2s;
   -o-transition: background .2s;
   -webkit-transition: background .2s;
   transition: background .2s;
}

.tbisgpl3-nav .tbisgpl3-menu-btn:hover span
{
   background: #f3f3f3;
}

.responsive .tbisgpl3-nav .tbisgpl3-menu-btn 
{
   display: inline-block;
}

.responsive nav.tbisgpl3-nav,
.responsive .tbisgpl3-nav-inner
{
   width: auto !important;
   position: relative !important;
   top: auto !important;
   left: auto !important;
   right: auto !important;
   bottom: auto !important;
   margin-top: 0;
   margin-bottom: 0;
   min-width: 0;
   text-align: left !important;
}

.responsive nav.tbisgpl3-nav
{
   min-width: 1%;
   margin-top: 1%;
   margin-right: 1% !important;
   margin-left: 1% !important;
}

.responsive .tbisgpl3-nav 
{
   padding-left: 0;
   padding-right: 0;
}

/* full width hmenu, instead of inline-block */
.responsive .tbisgpl3-nav ul.tbisgpl3-hmenu 
{
   display: none;
   float: none;
   text-align: center;
}

.responsive .tbisgpl3-nav .tbisgpl3-hmenu.visible 
{
   display: block;
}

/* elements on different lines */
.responsive .tbisgpl3-nav ul.tbisgpl3-hmenu li,
.tbisgpl3-hmenu-extra1,
.tbisgpl3-hmenu-extra2
{
   float: none;
}
  
/* horizontal margins */
.responsive .tbisgpl3-nav ul.tbisgpl3-hmenu>li:first-child, 
.responsive .tbisgpl3-nav ul.tbisgpl3-hmenu>li:last-child, 
.responsive .tbisgpl3-nav ul.tbisgpl3-hmenu>li
{
   margin-left: 0;
   margin-right: 0;
}
 
/* separator */ 
.responsive .tbisgpl3-nav ul.tbisgpl3-hmenu>li:before
{
   display: none;
}

/* vertical distance between items */
.responsive .tbisgpl3-nav ul.tbisgpl3-hmenu a
{
   margin-top: 1px !important;
   margin-bottom: 1px !important;
   text-align: center !important;
   height: auto;
   white-space: normal;
}

.responsive .tbisgpl3-nav ul.tbisgpl3-hmenu>li:first-child>a
{
   margin-top: 0 !important;
}

.responsive .tbisgpl3-nav ul.tbisgpl3-hmenu>li:last-child>a
{
   margin-bottom: 0 !important;
}

/* fixes for extended menu */
.responsive .tbisgpl3-nav .ext, 
.responsive .tbisgpl3-nav ul.tbisgpl3-hmenu>li>ul, 
.responsive .tbisgpl3-nav ul.tbisgpl3-hmenu>li>ul>li,
.responsive .tbisgpl3-nav ul.tbisgpl3-hmenu>li>ul>li a
{
   width: auto !important;
}

/* submenu position on hover */
.responsive .tbisgpl3-nav ul.tbisgpl3-hmenu ul
{
   left: auto !important;
   right: auto !important;
   top: auto !important;
   bottom: auto !important;
   display: none !important;
   position: relative !important;
   visibility: visible !important;
}

.responsive .tbisgpl3-nav ul.tbisgpl3-hmenu>li>ul>li:first-child:after 
{
   display: none;
}
.responsive .tbisgpl3-nav ul.tbisgpl3-hmenu ul a
{
   padding-left: 4% !important;
}
.responsive .tbisgpl3-nav ul.tbisgpl3-hmenu ul ul a
{
   padding-left: 6% !important;
}
.responsive .tbisgpl3-nav ul.tbisgpl3-hmenu ul ul ul a
{
   padding-left: 8% !important;
}
.responsive .tbisgpl3-nav ul.tbisgpl3-hmenu ul ul ul ul a
{
   padding-left: 10% !important;
}
.responsive .tbisgpl3-nav ul.tbisgpl3-hmenu ul ul ul ul ul a
{
   padding-left: 12% !important;
}
  
.responsive .tbisgpl3-nav ul.tbisgpl3-hmenu>li>ul
{
   padding: 5px;
}
  
.responsive .tbisgpl3-nav ul.tbisgpl3-hmenu>li>ul:before
{
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
}

.responsive .tbisgpl3-header 
{
   width: auto;
   height: auto;
   min-height: 100px;
   min-width: 1%;
   margin-top: 1%;
   margin-right: 1% !important;
   margin-left: 1% !important;
   background-position: center center !important;
   background-size: cover !important;
   background-repeat: repeat !important;
}

.responsive .tbisgpl3-header .tbisgpl3-headline, 
.responsive .tbisgpl3-header .tbisgpl3-slogan 
{
   display: block !important;
   top: 0 !important;
   left: 0 !important;
   margin: 2% !important;
}
    
.responsive .tbisgpl3-header .tbisgpl3-headline a, 
.responsive .tbisgpl3-header .tbisgpl3-slogan 
{
   white-space: normal !important;
}
  
.responsive .tbisgpl3-header *
{
   position: relative;
   text-align: center;
   -webkit-transform: none !important;
   -moz-transform: none !important;
   -o-transform: none !important;
   -ms-transform: none !important;
   transform: none !important;
}

.responsive .tbisgpl3-header #tbisgpl3-flash-area,
.responsive .tbisgpl3-header .tbisgpl3-shapes>*
{
   display: none;
}

.responsive #tbisgpl3-header-bg 
{
   background-position: center center !important;
   background-size: cover !important;
   background-repeat: repeat !important;
}

/* Search and other elements in header element directly */
.responsive .tbisgpl3-header>.tbisgpl3-textblock
{
   position: relative !important;
   display: block !important;
   margin: 1% auto !important;
   width: 75% !important;
   top: auto !important;
   right: auto !important;
   bottom: auto !important;
   left: auto !important;
}

/* For icons like facebook, rss, etc. */
.responsive .tbisgpl3-header>.tbisgpl3-textblock>div 
{
   width: 100%;
}
.responsive .tbisgpl3-sheet
{
   width: auto !important;
   min-width: 240px !important;
   max-width: none;
   margin-right: 1% !important;
   margin-left: 1% !important;
   margin-top: 1% !important;
}

#tbisgpl3-resp {
   display: none;
}

@media all and (max-width: 959px)
{
    #tbisgpl3-resp, #tbisgpl3-resp-t { display: block; }
    #tbisgpl3-resp-m { display: none; }
}

@media all and (max-width: 480px)
{
    #tbisgpl3-resp, #tbisgpl3-resp-m { display: block; }
    #tbisgpl3-resp-t { display: none; }
}

.responsive .tbisgpl3-content-layout, 
.responsive .tbisgpl3-content-layout-row, 
.responsive .tbisgpl3-layout-cell 
{
   display: block;
}

.responsive .tbisgpl3-layout-cell 
{
   width: auto !important;
   height: auto !important;
   border-right-width: 0 !important;
   border-left-width: 0 !important;
   border-radius: 0 !important;
}

.responsive .tbisgpl3-content-layout:after, 
.responsive .tbisgpl3-content-layout-row:after, 
.responsive .tbisgpl3-layout-cell:after 
{
   content: ".";
   display: block;
   height: 0;
   clear: both;
   visibility: hidden;
}

.responsive .tbisgpl3-post
{
   border-radius: 0;
}

.responsive .tbisgpl3-footer-inner
{
   min-width: 0;
}
.responsive .tbisgpl3-footer
{
   margin-top: 1%;
}

.responsive .responsive-tablet-layout-cell 
{
   width: 50% !important;
   float: left;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
}

