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

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-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;
}


.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 Helvetica, Helvetica Neue, Arial;
}
/*
.wrapper {
    width: 90%;
    margin: 0 5%;
}


 ==============
    MOBILE: Main
   ============== 

.main {
    padding: 30px 0;
}

.main article h1 {
    font-size: 2em;
}

.main aside {
    color: white;
    padding: 0px 5% 10px;
}

.footer-container footer {
    color: white;
    padding: 20px 0;
}
*/
/* ===============
    ALL: IE Fixes
   =============== */

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

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

#editor, #blocklyDiv {
  height:380px;
  width:100%; 
  font-size:12pt
}

#graphique, #sortieSVG  { 
  height:480px;
  width:640px;
  background-color: #ddd;
  background-image: url("img/grille.png"); 
  background-repeat: no-repeat;
  background-position: left;
}

#mycanvas   {
    height: 360px;
    width: 100%;
    /*background-image: url("img/sableblanc.jpg");*/
	background-color:#e5e5e5;
}

#sortieSVG { 
  display: none;
}

.icon {
  height:32px;
}

#titlebar, .output, .message {
  margin : 0 auto;
  width : 100%;
  max-width:640px;
  background-color: black;
  color: #55ff55;
  font-family: monospace;
  padding : 5px;
  margin-left:0px;
}

#titlebar {
  font-weight : bolder;
  color: orange;
  border-bottom : solid grey 1px; 
  border-radius : 10px 10px 0px 0px;
}
#titlebarend {
  width : 100%;
  max-width:640px;
  font-weight : bolder;
  color: orange;
  background-color: black;
  border-bottom : solid grey 1px; 
  border-radius : 0px 0px 10px 10px;
}
.output {
  height : 150px;
}

.message {
  color:red;
}
#titlebar-py, .output-py, .message-py {
  margin : 0 auto;
  width : 100%;
  background-color: black;
  color: white;
  font-family: monospace;
  padding : 5px;
}

#titlebar-py {
  font-weight : bolder;
  color: #6080ff;
  border-bottom : solid grey 1px; 
  border-radius : 10px 10px 0px 0px;
}
#titlebarend-py {
  font-weight : bolder;
  color: #6080ff;
  background-color: black;
  border-bottom : solid grey 1px; 
  border-radius : 0px 0px 10px 10px;
}

.output-py {
  height : 150px;
}

.message-py {
  color:red;
}

.remarque
{
	font-size: 10pt;
	padding: 5px;
	border: 1px solid #800000;
	margin-left: 50px;
	margin-right: 50px;
	color: 800000;
}








/* ==========================================================================
   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;
    }
}
