/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
  
    overflow-y: scroll; 

}


::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 16px/26px Arial,Helvetica, Helvetica Neue;
}

.wrapper {
  /*  width: 90%;*/
    margin: 0%;
}

/* ===================
    ALL: Orange Theme
   =================== */
.main-container {background-color:#ececec;}
.main-container #header-search {margin:0 0 2em 1em;}
img.logotext {margin-left:10%;display:none;}
aside {clear:both;}
.footer-container,
.main aside {  border-top: 1px solid #fff;}

.header-container, .main aside {
    background: #f08100;
}

.site-title H1 {
    color: white; font-size:100%; margin:0;padding:0 0 0 5px;text-transform:uppercase;
  
}

.masthead {padding:0px;}
.masthead a, .masthead a.visited{color: white;  text-decoration: none;}

#header-search {display:none;}

/* ==============
    MOBILE: Menu
   ============== */

    nav li i {display:none !important;}

.left-menu {background-color: #f08100;}
nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.main nav a {
    display: block;
    text-decoration: none;
   color: white;
   line-height:110%;
}
.main nav a {padding: 10px 1em 10px 1em;}
/*.main nav ul li { border-top:1px solid #fff;}
nav > ul > li:first-child { border:0;}*/
nav ul li ul {display:none;}
nav ul li.active ul {display:block;}
nav ul li.active ul li {border-top:1px dotted #ccc;}
nav ul li.active > A    {font-weight: bold;}

nav a:hover,
nav a:visited {
    color: white;
}

nav a:hover {
    text-decoration: underline;
}

header nav {margin:0;font-size:85%;}
header nav li {float:left;margin-right:1em;}
.main nav ul ul li {font-size:90%;background-color:#ff911f;padding-left:1em;}

/* ==============
    MOBILE: Main
   ============== */
header .banner .mask-img {display:none;}
#menu{display: none }
.site-title {display:none;}
.main {
    
}
.banner {border-top:1px solid #fff;}

article IMG {max-width:240px !important; height:auto;}

.frame-custom-100 figure.image {position:relative;}
.frame-custom-100 IMG {height:240px !important;}
.frame-custom-100 .maske {position:absolute;left:0;top:0;}

.main aside {
    color: white;
    padding: 0px 1em 10px;
}

.footer-container footer {
    color: white;
    padding: 20px 0;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */



.hide-l-500 {display:none;}

.header-container {margin-top:41px;}
img.logo {width:30px;margin:6px 4px 0 4px; position:absolute;z-index:9998;right:4px;top:-41px;}
header nav {margin:0;}







/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 500px) {

    .hide-l-500 {display:inline;}
    .hide-g-500 {display:none;}
        .hide-on-desktop {position:absolute;left:-9999px;top:-9999px;}

  
     article IMG {max-width:300px !important; height:auto;}
    .frame-custom-100 IMG {height:300px !important;}
/* ====================
    INTERMEDIATE: Menu
   ==================== */
   .main nav > ul {position:relative;background-color:#ff911f;}
   .main nav > ul > li {width:30%;background-color:#f08100;}
   
    .main nav ul ul {position:absolute;width:65%;top:0;left:30%;}
    .main nav ul ul li {float:left;width:44%;padding-left:0;margin-left:6%;}

/* ========================
    INTERMEDIATE: IE Fixes   ======================== */
/*
    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
    */
}

@media only screen and (min-width: 640px) {
    #header-search {display:block;}
    .header-container {margin-top:0;}
    .rounded {-webkit-border-radius: 8px;-moz-border-radius: 8px;border-radius: 8px;}
    .masthead {min-height:75px;position:relative;}
    nav li.home {display:none;}
    header .banner {background-color:#ececec}
    header .banner .mask-img {width:100%;height:auto;position:absolute;top:0;left:0;display:block;}

    img.logotext {width:40%;max-width:800px;min-width:280px;height:auto;position:absolute;left:0;margin-top:1%;}
    img.logo {position:static;width:9%;max-width:162px;min-width:32px;height:auto;margin:1% ;/*position:absolute;left:0*/}
    #mm-menu{display: none !important;}
    #menu{display: block !important;}
    #menu li i {float:right;color:#fff;padding:12px 6px;font-size:75%;display:inline !important;}
    #menu li.active i {color:#666;}
    header #header-search {float:right;background-color:#646363;;}
    header form {margin:0;padding:0;}
    header input{background-color:#646363; border:0; color:#fff;padding:4px 2px 0px 0px;font-size:14px;height:20px; }
    header input[type="search"] {width:205px;}
    header input[type="submit"] {font-size:0;color:#646363;line-height:0;overflow:hidden;width:30px;height:24px;background-image:url('/typo3conf/ext/crwstpldist/Resources/Public/Icons/search2.png');
        background-repeat:no-repeat;background-position:4px 2px;}
    #meta-box {position:absolute;right:0;bottom:0;}

    .header {display:none !important;}
    .site-title {display:block;}
    img.logotext {display:inline;}

    .banner {border-top:10px solid #fff;}

    .main nav > ul {position:static;background-color:transparent;}
    .main nav > ul > li {width:auto;background-color:transparent;}
   
    .main nav ul ul {position:static;width:auto;top:0;left:0;}
    .main nav ul ul li {float:none;width:auto;padding-left:1em;margin-left:0;}

    .main article {float:left;width:67%;}

  
    .container-left {float:left;width:27%;max-width:280px;min-width:140px;clear:both;}
}

@media only screen and (min-width: 768px) {

/* ====================
    WIDE: CSS3 Effects
   ==================== */

.container-left {/*margin-left:-8px;*/width:24%;}
    .main article {float:left;width:71%;}
    .rounded {
            -webkit-border-radius: 8px;-moz-border-radius: 8px;border-radius: 8px;
            -webkit-box-shadow: 0 5px 10px #999;
               -moz-box-shadow: 0 5px 10px #999;
                    box-shadow: 0 5px 10px #999;
                   /* margin-left:-8px;margin-right:-8px;*/
        }

    .container-left .rounded {margin-left:0;margin-right:0;}

    .header-container {border-top-left-radius: 8px;border-top-right-radius: 8px}
     #page, .main-container {border-bottom-left-radius: 8px;border-bottom-right-radius: 8px;}

    img.logotext {margin-left:10%;display:inline;}
    body {margin:2% 3% 2% 3%;}
    #page {
        -webkit-box-shadow: 0 5px 10px #999;
           -moz-box-shadow: 0 5px 10px #999;
                box-shadow: 0 5px 10px #999;
    }
    



}

@media only screen and (min-width: 940px) {
    body {margin:2% 4% 2% 4%;}
    img.logotext {}
     article IMG {max-width:360px !important; height:auto;}
    .frame-custom-100 IMG {height:360px !important;}

  
    .container-right {float:right;/*margin-right: -8px;*/ width:22%;}
    .main article {float: left;}
    
    .main article {padding:0 2% 0 2%;}
    .main article {width:46%;}
    .main article.wide {width:67%;}

    .container-right .rounded {margin-left:0;margin-right:0;}

    }



@media only screen and (min-width: 1280px) {

 
  body {margin:2% 5% 2% 5%;}
  img.logotext {}
     article IMG {max-width:400px !important; height:auto;}
    .frame-custom-100 IMG {height:400px !important;}
    .wrapper {
      /*  width: 1026px;      margin: 0 auto; */
    }
}

@media only screen and (min-width: 1400px) {

     body {margin:2% 6% 2% 6%;}
     .main article .csc-textpic-text {font-size: 18px}
     article IMG {max-width:450px !important; height:auto;}
    .frame-custom-100 IMG {height:450px !important;}
    }

@media only screen and (min-width: 1900px) {
    .main article {padding:0 3% 0 3%;}
    .main article {width:44%;}
    .main article.wide {width:65%;}
    body {margin:2% 7% 2% 7%;}
     img.logotext {margin-left:200px;}
     article IMG {max-width:500px !important; height:auto;}
    .frame-custom-100 IMG {height:500px !important;}
    }

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

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

    thead {
        display: table-header-group;
    }

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

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

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

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