/* General Rules */
body, html, form, .foo {
    margin: 0;
    padding: 0;
    font-family: 'Droid Sans', sans-serif;
    font-weight: bold;
}


/* Navbar */
.navbar {
    background-color: #222 !important;
    padding: 5px !important;
    border-bottom: none;
}


/* Wrapper For Left, Right */
#wrapper {
    position: relative !important;
    top: 50px !important;
    width:100%;
    overflow: auto;
}

#firepad {
    float: right;
    width:80%;
    position: absolute;
    top: 50px;
    right: 0;
    height: 5000vh !important;
}

#output {
   
    width: 35%;
    top: 55px;
    right: -7px;
    position: absolute;
    color: #111;
}

.left {
    float: left !important;
}

.clear {
    clear: both;
}

.hidden {
    display:none;
    opacity:0;
}

.active {
    display: block !important;
    opacity:1;
    -webkit-animation-name: fadeIn;
    -webkit-animation-duration: 2s;
    animation-name: fadeIn;
    animation-duration: 2s;
}

/* CodeMirror */
.CodeMirror, .CodeMirror-scroll {
    border: 0;
    min-height: 100px !important;
    width: 100%;
    line-height: 21px;
    display: block;
    top: 0;
    left: 0;
    z-index: 1;
    border-left: 1px solid  #cf385b;
    border-right: 3px solid  #cf385b;
    opacity: 1;
}


.CodeMirror-highlightErrorline-background {
    background: #990000 !important;
}

.lint-error {
    background: #ffa;
    color: #a00;
    padding: 2px 5px 3px;
}
.lint-error-icon {
    color: white;
    background-color: red;
    font-weight: bold;
    border-radius: 50%;
    padding: 3px;
    margin-right: 7px;
}

/* All Buttons */
.btn-run {
    padding: 15px 25px !important;
    width:100%;
    text-align: center;
    font-size: 20px !important;
    margin-top: 350px;
    line-height: 16px;
    position: absolute;
    z-index: 999999999999;
}

.btn-code {
    position: absolute;
    margin-left: 550px;
    top: 7px;
    width: 100px;
    text-align: center;
}

[class*='btn-'] {
    border-radius: 5px;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.08);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.08);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.08);
    color: #fff;
    display: inline-block;
    font-size: 14px;
    padding: 8px 16px;
    text-decoration: none;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);

    -webkit-transition: background-color 0.1s linear;
    -moz-transition: background-color 0.1s linear;
    -o-transition: background-color 0.1s linear;
      transition: background-color 0.1s linear;
}

[class*='btn-']:hover {
    cursor: pointer;
}

.btn-blue {
    background-color: rgb( 51, 102, 204 );
    border: 1px solid rgb( 44, 91, 104 );
}

    .btn-blue:hover {
        background-color: rgb( 58, 131, 213 );
    }

    .btn-blue:active {
        background-color: rgb( 42, 91, 191 );
    }

.btn-primary {
background-color: rgb( 74, 61, 117 );
border: 1px solid rgb( 44, 37, 59 );
}

.btn-primary:hover {
    background-color: rgb( 92, 76, 131 );
}

.btn-primary:active {
    background-color: rgb( 54, 44, 87 );
}

.btn-red {
background-color: rgb( 207, 56, 91 );
border: 1px solid rgb( 187, 40, 74 );
}

.btn-red:hover {
    background-color: rgb( 227, 77, 130 );
}

.btn-red:active {
    background-color: rgb( 187, 40, 74 );
}

.btn-green {
background-color: rgb( 43, 153, 91 );
border: 1px solid rgb( 33, 126, 74 );
}

.btn-green:hover {
    background-color: rgb( 75, 183, 141 );
}

.btn-green:active {
    background-color: rgb( 33, 126, 74 );
}


/* FireBase & FirePad */
#userlist {

    position: absolute;
    left: 0;
    top:30px;
    bottom: 0;
    height: auto ;
    width: 20%;
    z-index: 222222;
    color:#fff
}


.firepad-userlist {

    height: 5000vh !important;
    background: #ebebeb; /* Old browsers */
    background: -moz-linear-gradient(left, #ebebeb 0%, #eaeaea 93%, #d9d9d9 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#ebebeb), color-stop(93%,#eaeaea), color-stop(100%,#d9d9d9)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left, #ebebeb 0%,#eaeaea 93%,#d9d9d9 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left, #ebebeb 0%,#eaeaea 93%,#d9d9d9 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left, #ebebeb 0%,#eaeaea 93%,#d9d9d9 100%); /* IE10+ */
    background: linear-gradient(to right, #ebebeb 0%,#eaeaea 93%,#d9d9d9 100%); /* W3C */
}

.firepad-userlist {
    text-align: left;
    line-height: normal;
    background: #222

}

a.powered-by-firepad {
    display: none;
}

.firepad-userlist-heading {
    margin: 20px 15px 0;
    font-size: 15px;
    text-align: center;
    font-weight: bold;
    border-bottom: 2px solid #c9c9c9;
}

.firepad-userlist-users {
    position: absolute;
    left: 15px;
    right: 15px;
    top: 38px;
    bottom: 10px;
    overflow-y: auto;
    overflow-x: hidden;
}

.firepad-userlist-user {
    position: relative;
    margin-top:20px;
    height: 52px;
    border-bottom: 1px solid #c9c9c9;
    padding-bottom: 5px;
}

.firepad-userlist-color-indicator {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 1px solid #ccc;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

input.firepad-userlist-name-input {
    position: absolute;
    left: 38px;
    top: 4px;
    width: 130px;
    height: 25px;
    border: 0;
    color:#000;
    border-bottom: 1px solid #d6d6d6;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    line-height: 15px;
    padding: 3px;
}

.firepad-userlist-name-hint {
    position: absolute;
    left: 41px;
    top: 40px;
    width: 300px;
    font-size: 12px;
    line-height: 6px;
}

.firepad-userlist-name {
    position: absolute;
    top: 8px;
    left: 40px;
    width: 150px;
    text-transform: capitalize; 
    font-size: 14px;
}


/* My Trick For The Flash Light*/
.open-blink {
	content: ' ';
	position: relative;
	display: inline-block;
	width: 16px;
	height: 16px;
    top:8px;
	margin: 0 10px;
	border-radius: 50%;
	background-color: #4caf50;
	-webkit-animation-name: flash;
	animation-name: flash;
	-webkit-animation-duration: 1.2s;
	animation-duration: 1.2s;
	-webkit-animation-iteration-count: infinite;
	animation-iteration-count: infinite;
}

.open-blink:before {
	content: ' ';
	position: absolute;
	top: -8px;
	left: -8px;
	display: inline-block;
	width: 30px;
	height: 30px;
	opacity: 0.1;
	border-radius: 50%;
	background-color: #4caf50;
}


@-webkit-keyframes flash {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@keyframes flash {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

