/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

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

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

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

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

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

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

















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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

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

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

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

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

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

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

.container {
    padding: 10px;
}

/*.board {
    width: 984px;
    height: 768px;
    margin: 0 auto;
    border: 1px solid #E6E8EB;
}
*/
.toolbar {
    background: #E6E8EB;
    height: 65px;
    width: 100%;
    margin: 0 auto;
    border: 2px solid silver;
    border-bottom: none;
    border-radius: 3px;
}

.incomingConference {
    text-align: center;
    margin-bottom: 15px;
}

.incomingConference .answerCall {
    height: 35px;
    border: 2px solid silver;
    width: 100px;
    font-size: 16px;
    border-radius: 3px;
}

.incomingConference .declineCall {
    height: 35px;
    border: 2px solid silver;
    width: 100px;
    font-size: 16px;
    border-radius: 3px;
}

.remote {
    width: 134px;
    margin-left: 10px;
    height: 100px;
}

.pencil-icon {

}

.eraser-icon {

}

.icon {
    display: inline-block;
    font-size: 34px;
    margin-top: 7px;
    margin-left: 20px;
    color: #4e5d78;
    cursor: pointer;
}

.icon.active {
    color: #009be7;
    border: 2px solid;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 10px;
}

.color-pallet {
    list-style: none;
    display: inline;
}


.color-pallet li {
    /*display: inline-block;
    border-radius: 5px;
    margin-right: 10px;
    width: 10px;
    height: 10px;*/
    position: relative;
    display: inline-block;
    width: 14px;
    height: 14px;
    padding: 3px;
    cursor: pointer;
    border: 2px solid transparent;
    background: transparent;
    border-radius: 16px;
    -moz-border-radius: 16px;
    -webkit-border-radius: 16px;
    -khtml-border-radius: 16px;

}

.color-pallet li.active {
    border: 2px solid #8f98a9;
    border-radius: 16px;
}

.color-pallet li:before {
    position: absolute;
    top: 6px;
    left: 6px;
    display: inline-block;
    width: 8.2px;
    height: 8.2px;
    content: " ";
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -khtml-border-radius: 8px;  
}

li.icon.text-icon {
    font-family: 'Open Sans';
}
.color-pallet .one:before {
    background-color: #414141;
}

.color-pallet .two:before {
    background-color: #009be7;
}

.color-pallet .three:before {
    background-color: #ed1c24;
}
.color-pallet .four:before {
    background-color: #4daf3e;
}
.color-pallet .five:before {
    background-color: #ff9300;
}
.color-pallet .six:before {
    background-color: #999999;
}
.color-pallet .seven:before {
    background-color: #662d91;
}
.color-pallet .eight:before {
    background-color: #76817b;
}

.thickness-pallet {
    display: inline;
}

.thickness-pallet li {
    position: relative;
    display: inline-block;
    width: 14px;
    height: 14px;
    padding: 3px;
    cursor: pointer;
    border: 2px solid transparent;
    background: transparent;
    border-radius: 16px;
    -moz-border-radius: 16px;
    -webkit-border-radius: 16px;
    -khtml-border-radius: 16px;
}

.thickness-pallet li.active {
    border: 2px solid #8f98a9;
}

.thickness-pallet li:before {
    position: absolute;
    top: 6px;
    left: 6px;
    display: inline-block;
    width: 8.2px;
    height: 8.2px;
    content: " ";
    background-color: #414141;
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -khtml-border-radius: 8px;
}

.thickness-pallet .one:before {
    top: 8px;
    left: 8px;
    width: 4px;
    height: 4px;
}

.thickness-pallet .two:before {
    top: 6px;
    left: 6px;
    width: 8px;
    height: 8px;
    background-color: #414141;
}

.thickness-pallet .three:before {
    top: 4.5px;
    left: 4.5px;
    width: 10px;
    height: 10px;
    background-color: #414141;
}

.thickness-pallet .four:before {
    top: 4px;
    left: 4px;
    width: 12px;
    height: 12px;
}

.status {
    display: inline-block;
    margin-top: 25px;
    margin-right: 10px;
    color: #949595;
    font-family: 'Open Sans';
    font-size: 14px;
    /*margin-left: 35%;*/
    float: right;
}

.pure-button {
    /* Structure */
    display: inline-block;
    *display: inline; /*IE 6/7*/
    zoom: 1;
    line-height: normal;
    white-space: nowrap;
    vertical-align: baseline;
    text-align: center;
    cursor: pointer;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Firefox: Get rid of the inner focus border */
.pure-button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

.connect {
    background-color: #ccd4d9;
    padding: 20px;
    width: 350px;
    border-radius: 5px;
    margin: 0 auto;
    margin-top: 50px;
    text-align: center;
}

.connect span {
    display: block;
    text-align: center;
    margin-top: 19px;
}

.connect input {
    margin-bottom: 20px;
    width: 93%;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 3px;
    border: 2px solid silver;
    height: 35px;
    font-size: 14px;
    outline: none;
}


/*csslint outline-none:false*/

.pure-button {
    font-family: inherit;
    font-size: 100%;
    *font-size: 90%; /*IE 6/7 - To reduce IE's oversized button text*/
    *overflow: visible; /*IE 6/7 - Because of IE's overly large left/right padding on buttons */
    padding: 0.5em 1em;
    color: #444; /* rgba not supported (IE 8) */
    color: rgba(0, 0, 0, 0.80); /* rgba supported */
    *color: #444; /* IE 6 & 7 */
    border: 1px solid #999;  /*IE 6/7/8*/
    border: none rgba(0, 0, 0, 0);  /*IE9 + everything else*/
    background-color: #E6E6E6;
    text-decoration: none;
    border-radius: 2px;
}

.pure-button-hover,
.pure-button:hover,
.pure-button:focus {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#1a000000',GradientType=0);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(transparent), color-stop(40%, rgba(0,0,0, 0.05)), to(rgba(0,0,0, 0.10)));
    background-image: -webkit-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));
    background-image: -moz-linear-gradient(top, rgba(0,0,0, 0.05) 0%, rgba(0,0,0, 0.10));
    background-image: -o-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));
    background-image: linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));
}
.pure-button:focus {
    outline: 0;
}
.pure-button-active,
.pure-button:active {
    box-shadow: 0 0 0 1px rgba(0,0,0, 0.15) inset, 0 0 6px rgba(0,0,0, 0.20) inset;
}

.pure-button[disabled],
.pure-button-disabled,
.pure-button-disabled:hover,
.pure-button-disabled:focus,
.pure-button-disabled:active {
    border: none;
    background-image: none;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    filter: alpha(opacity=40);
    -khtml-opacity: 0.40;
    -moz-opacity: 0.40;
    opacity: 0.40;
    cursor: not-allowed;
    box-shadow: none;
}

.pure-button-hidden {
    display: none;
}

/* Firefox: Get rid of the inner focus border */
.pure-button::-moz-focus-inner{
    padding: 0;
    border: 0;
}

.pure-button-primary,
.pure-button-selected,
a.pure-button-primary,
a.pure-button-selected {
    background-color: rgb(0, 120, 231);
    color: #fff;
}

.pure-form input[type="text"],
.pure-form input[type="password"],
.pure-form input[type="email"],
.pure-form input[type="url"],
.pure-form input[type="date"],
.pure-form input[type="month"],
.pure-form input[type="time"],
.pure-form input[type="datetime"],
.pure-form input[type="datetime-local"],
.pure-form input[type="week"],
.pure-form input[type="number"],
.pure-form input[type="search"],
.pure-form input[type="tel"],
.pure-form input[type="color"],
.pure-form select,
.pure-form textarea {
    padding: 0.5em 0.6em;
    display: inline-block;
    border: 1px solid #ccc;
    box-shadow: inset 0 1px 3px #ddd;
    border-radius: 4px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.videoCallButton {
    display: block;
    float: right;
    margin-top: 11px; 
    margin-right: 20px;
}

.draw-pallet {
    list-style: none; 
    display: inline
}



@media only screen and (max-width: 900px){
    /*.connect {
        background-color: #ccd4d9;
        padding: 20px;
         width: auto; 
        border-radius: 5px;
       
        margin-top: 50px;
        text-align: center;
    }*/

    canvas {
        height: 290px !important;
    }

    .status {
        display: inline-block;
        margin-top: 10px;
        margin-right: 10px;
        color: #949595;
        font-family: 'Open Sans';
        font-size: 14px;
        /* margin-left: 35%; */
        float: right;
    }

    .videoCallButton {
        display: block;
        float: right;
        margin-top: 0px;
        margin-right: 10px;
    }

    .thickness-pallet {
        display: inline;
        /*padding-left: 100px;*/
        /*float: left;*/
    }

    .color-pallet {
        list-style: none;
        display: inherit;
        text-align: center;
        /*float: left;*/
        /*padding-left: 50px;*/
    }

    .draw-pallet {
        margin-top: 0px;
        text-align: center;
        list-style: none;
        display: inherit;
    }

    .toolbar {
        background: #E6E8EB;
        height: 170px;
        width: 100%;
        margin: 0 auto;
        border: 2px solid silver;
        border-bottom: none;
        border-radius: 3px;
    }

    .chat-header {
        background-color: green;
        color: white;
        height: 35px !important;
        line-height: 2;
        padding-left: 10px;
    }
}


@media only screen and (max-width: 400px){
    .connect {
        background-color: #ccd4d9;
        padding: 20px;
         width: auto; 
        border-radius: 5px;
        /* margin: 0 auto; */
        margin-top: 50px;
        text-align: center;
    }

    .status {
        display: inline-block;
        margin-top: 4px;
        margin-right: 0px;
        color: #949595;
        font-family: 'Open Sans';
        font-size: 13px;
        /* margin-left: 35%; */
        float: right;
    }

    .videoCallButton {
        display: block;
        float: right;
        margin-top: 0px;
        margin-right: 4px;
    }

    .videoCallButton img {
        width: 25px;
    }

    .chat-area {
        background-color: #E6E8EB;
        width: 300px;
        position: absolute;
        right: 10%;
        bottom: 0;
    }
}

.menu {
    display: inline-block;
    font-size: 18px;
    float: right;
    line-height: 4.5;
}

.menu a {
    margin-left: 20px;
}

.nav h1 {
    display: inline-block;
}