
/**
 * "Yet Another Multicolumn Layout" - YAML CSS Framework
 *
 * default print stylesheet
 *
 * @copyright       © 2005-2013, Dirk Jesse
 * @license         CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/),
 *                  YAML-CDL (http://www.yaml.de/license.html)
 * @link            http://www.yaml.de
 * @package         yaml
 * @version         4.1.2
 */
@media print {
  /**
  * @section basic layout preparation
  */
  /* (en) change font size unit to [pt] - avoids problems with [px] in Gecko based browsers */
  /* (de) Wechsel der der Schriftgrößen-Maßheinheit zu [pt] - Probleme mit [px] in Gecko-Browsern vermeiden */
  body {
    font-size: 10pt;
    padding: 0 5px;
  }

  /* (en) Hide unneeded container of the screenlayout in print layout */
  /* (de) Für den Druck nicht benötigte Container des Layouts abschalten */
  nav,
  .ym-searchform {
    display: none;
  }

  /*------------------------------------------------------------------------------------------------------*/
  /* (en) Avoid page breaks right after headings */
  /* (de) Vermeidung von Seitenumbrüchen direkt nach einer Überschrift */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    page-break-after: avoid;
  }
}

/**
* PRINT LAYOUT
*
* Formatierung aller Elemente für die saubere Print-Ausgabe
*
* @copyright       Copyright 20012-2013, .hausformat
* @link            http://www.hausformat.com
*/

@media print {


    /*-------------------------------------------------------------------------*/
    /* Basiseinstellungen */

    * {
        background: transparent !important;
        color: #000 !important; /* gedruckt mit schwarzer Farbe ist schneller h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    #logo {
        margin-top: 10px;
        margin-bottom: 20px;
        max-width: 300px;
    }

    #logo img {
        width: 300px;
    }

    img.flexible,
    img {
        max-width: inherit !important;
        page-break-inside: avoid !important;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        margin: 2em 0 1.2em 0 !important;
    }

    /*-------------------------------------------------------------------------*/
    /* Sichtbarkeit der Spalten definieren */

    .ym-col1 {
        display: block;
        float: none;
        padding: 0;
        margin: 0 !important;
        width: 100% !important;
}
    }

    .ym-col3 {
        display: none !important;
        /*display: table-footer-group;*/
    }

    .ym-gl {
        padding-right: 20px;
    }

    /*-------------------------------------------------------------------------*/
    /* Grid Anpassung */

    /* linearization for grid module */
    .linearize-level-2,
    .linearize-level-2 > [class*="ym-g"],
    .linearize-level-1 > [class*="ym-c"] {
        display: block;
        float: none;
        padding: 0;
        margin: 0 !important;
        width: 100% !important;
    }

    .linearize-level-2.hf-equalize > [class*="ym-g"] > [class*="csc-default"] {
        height: auto !important;
    }

    .linearize-level-4 > [class*=ym-g] {
        float: left;
        width: 50%;
    }

    #maintop > .ym-grid > .ym-gr{
         display: none;
    }

    /*------------------------------------------------------------------------------------*/
    /* IE- BUG beheben bei welchem das Padding aber nicht das Minus-Margin beachtet wird. */
    .ym-equalize > [class*=ym-g] > [class*=ym-gbox] {
      padding-bottom: 0;
      margin-bottom: 0;
    }

    .box {
        margin-bottom: 0;
    }


    /*-------------------------------------------------------------------------*/
    /* Weitere Elemente ausblenden */

    #topnav,
    #mainnav,
    #travelnav,
    #agencies,
    #headerbottom,
    #devnote,
    #service,
    #logo-mobile,
    #sitefooter > .ym-grid,
    #sitefooter > #footerbottom,
    #sitefooter .ce-menu,
    #footersocial,
    .plugin-macina_banners_pi1,
    .page-navigation,
    .plugin-news_pi1 .social-buttons,
    .csc-linkToTop,
    .owl-controls,
    .typo3-adminPanel {
        display: none;
    }


    /*-------------------------------------------------------------------------*/
    /* Links etc. ausblenden */

    a.more,
    p.button,
    select,
    form {
        display: none;
    }


    /*-------------------------------------------------------------------------*/
    /* Definitionen aus html5boilerplate 22.02.2013 */

    a:visited {
        text-decoration: underline;
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }


    /*-------------------------------------------------------------------------*/
    /* diverse Definitionen */

    /* linkicon auf » umstellen, falls Bild verwendet wurde */
    a.linkicon {
        background: none;
        padding: 0;
    }

    a.linkicon:before {
        content: '» ';
    }

    #sitefooter .ym-g50 {
        width: 100%;
    }

    #sitefooter .ce-text {
        font-size: 12px;
        border-top: 2px solid;
        padding-top: 10px;
        margin-top: 20px;
        page-break-before: avoid;
        page-break-inside: avoid;
        page-break-after: avoid;
    }

    #changed {
        margin-top: 20px;
        font-size: 12px;
    }

    .owl-carousel .owl-item {
        display: none;
    }

    .owl-carousel .owl-item.active {
        display: block !important;
    }

    .news-list-view .ym-grid [class*="ym-g"] {
        display: block;
        float: none;
        padding: 0;
        margin: 0;
        width: 100% !important;
    }

    .accordion .accordion-header:before {
        margin-left: 0;
    }

    /* Länderinfos */
    .tx-hffaircountry .dropdown {
      display: none;
    }


    /* Rechte Spalte ausblenden */
    .plugin-hffaircountry_general #sectioncontent #main > .csc-shortcut > .ce-shortcut > .ym-grid > .ym-gr,
    .plugin-hffaircountry_general #sectioncontent #main > .ym-grid > .ym-gr {
        display: none;
    }


    /* JFMulticontent */
    .ui-tabs-panel > .ym-grid > .ym-gr {
        display: none;
    }
}