* {
    -webkit-box-sizing : border-box;
    -moz-box-sizing    : border-box;
    box-sizing         : border-box;
}

body {
    min-width: 320px;
    color: rgba(0,0,0,0.8);
    background: #f4f4f4 url(../images/background.png);
}

/**
 * special rule for content-tools hiding edit/save/cancel buttons
 */
.ct-app .ct-ignition,
.ct-app .ct-inspector {
    display: none;
}

p.note::before {
    content: 'Note : ';
    font-weight: bold;
}

p.note {
    font-size: .8em;
    border: 1px solid #aaaaee;
    border-radius: 2px;
    padding: .5em;
    border-color: #B26400 ;
    background-color: rgba(255, 179, 83, .5);
}


#header {
    box-shadow: 0px 5px 15px;

    position: fixed;
    
    top: 0px;
    left: 0px;
    float: left;
    width: 100%;
    z-index: 10000;

}

.avatar-100 {
    border-radius:50%;
    box-shadow: 0px 0px 5px 0px #FF8E00;
    border: 1px solid #FFF;
    width:100px;
    height:100px;
}
.avatar-36 {
    border-radius:50%;
    box-shadow: 0px 0px 5px 0px #FF8E00;
    border: 1px solid #FFF;
    width:36px;
    height:36px
}

.preview-header {
    background-color:white;
    padding:1em 0 1em 0;
    margin-bottom:1em;
    box-shadow:0px 2px 6px rgba(0, 0, 0, 0.2)
}

@media print {
    .preview-header {
        box-shadow: unset;
        background-color: unset;
    }
}

@media (min-width: 768px) {
    #content {
        margin-top: 38px;
        padding-top: 0.05em;
    }
}

html, button, input, select, textarea,
.pure-g [class *= "pure-u"] {
    letter-spacing: 0.01em;
}

#content.margin-left-200 {
    margin-left: 200px;
    width: 100%;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-o
}
/* --------------------------
 * Element Styles
 * --------------------------
*/

a {
    color: #3b8bba; /* block-background-text-normal */
    text-decoration: none;
    cursor: pointer;
}

a:visited {
    color: #265778; /* block-normal-text-normal */
}

dt {
    font-weight: bold;
}
dd {
    margin: 0 0 10px 0;
}

aside {
    background: #1f8dd6; /* same color as selected state on site menu */
    padding: 0.3em 1em;
    border-radius: 3px;
    color: #fff;
}
    aside a, aside a:visited {
        color: rgb(169, 226, 255);
    }



/* --------------------------
 * Header Module Styles
 * --------------------------
*/

.header {
    font-family: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
    max-width: 768px;
    margin: 0 auto;
    padding: 1em;
    text-align: center;
    border-bottom: 1px solid #bbb;
    background: #fff;
    letter-spacing: 0.05em;
}
    .header h1 {
        font-weight: 100;
        margin: 0;
    }
     .header h2 {
        font-size: 125%;
        font-weight: 100;
        line-height: 1.5;
        margin: 0;
        color: #666;
        letter-spacing: -0.02em;
    }

h2, h3 {
    /*text-transform: uppercase;*/
    border-bottom: 1px solid #bbb;
    padding-bottom: .2em;
}

h1, .h1, .pure-form input.h1 {
    font-size: 300%;
    margin: .5em 0 .5em 0;
}

div.flex {
    flex: 1;
    overflow: auto;
}

a {
    text-decoration: none;
}


.pure-form-aligned .pure-control-group label.tgl-btn {
    width: 5em;
}

.svg-container {
	display: inline-block;
	position: relative;
	width: 100%;
	padding-bottom: 100%;
	vertical-align: middle;
	overflow: hidden;
}
.svg-content {
	display: inline-block;
	position: absolute;
	top: 0;
	left: 0;
}

/*
 * -- BASE STYLES --
 * Most of these are inherited from Base, but I want to change a few.
 */
p {
    line-height: 1.6em;
}

.pure-button-success, .success,
.pure-button-error, .error,
.pure-button-warning, .warning,
.pure-button-secondary, .secondary {
    color: white;
    border-radius: 4px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.pure-button-success, .success {
    background: rgb(28, 184, 65); /* this is a green */
}

.pure-button-error, .error {
    background: rgb(202, 60, 60); /* this is a maroon */
}

.pure-button-warning, .warning {
    background: rgb(223, 117, 20); /* this is an orange */
}

.pure-button-secondary, .secondary {
    background: rgb(66, 184, 221); /* this is a light blue */
}


/*
 * -- BANNER --
 * The top banner with the headings. By using a combination
 * of `display: table;` and `display: table-cell;`, we can
 * vertically center the text.
 */

.banner {
    background: transparent url('../images/handball.jpg') 0 0 no-repeat fixed;
    text-align: center;
    background-size: cover;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/handball.jpg', sizingMethod='scale');

    width: 100%;
}

    .banner-head {
        color: white;
        text-shadow: 2px 2px 4px #000;
        font-family: 'Rock Salt';
    }

.is-center {
    text-align: center;
}

.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}



/*
 * -- PURE FORM STYLES --
 * Style the form inputs and labels
 */
.pure-form input[type],
.pure-form select,
.pure-form textarea,
/*.pure-form button,*/
#canvas {
    box-shadow: none;
    /*font-size: 100%;*/
    width: 100%;
    margin-bottom: 1em;
    border-radius: 1px;
}
#canvas svg {
    transition: all 2s ease;
}

#canvas {
    overflow: hidden;
    height: calc(attr(width) / 2);
    max-height: calc(attr(width) / 2);
}


.pure-box {
    padding: 1em;
    box-sizing: border-box;
}

.pure-lg-input {
    font-size: 1.5em;
}

