/* Structural divs */

body { background: #f4f4f4; }

#page_wrapper.sticky_header .content-area {
    margin-top: 0;
    background: #f4f4f4;
}

.flexbox {
    display: flex;
    flex-wrap: wrap;
}

.flex-center {
    justify-content: center;
}

#site-footer {
    background: #ddd;
}

#primary-nav-bar {
    height: 60px;
    width: 100%;
    background: #231f20;
    /* border-bottom: 1px solid #000000; */
}

#primary-nav-container {
    height: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

#secondary-nav-bar {
    width: 100%;
    background: #5d5d5d;
    border-top: 1px solid #676565;
    border-bottom: 1px solid #515050;
}

#secondary-nav-bar .secondary-nav-item a {
  outline: 0;
}

#filter-bar {
    display: block;
    overflow: auto;
    padding-bottom: 6px;
    width: 100%;
    background: #ffffff;
}

.wrapper {
    width: 100%;
    max-width: 1200px;
    padding-top: 10px;
    display: block;
    margin: 0 auto;
    overflow: visible;
}

#filter-wrapper {
    padding: 10px;
}

#breadcrumb {
    height: 40px;
    width: 100%;
    font-size: 11px;
    text-transform: uppercase;
    line-height: 30px;
    font-weight: 400;
    font-family: 'montserrat', sans-serif;
    color: #676565;
}

.content-container {
    width: 100%;
    padding-top: 10px;
    overflow: hidden;
}

#one-third {
    width: 32%;
    float: left;
    position: relative;
    min-width: 320px;
    margin-bottom: 20px;
}

#two-thirds {
    float: left;
    position: relative;
    width: 65%;
    margin-left: 2%;
}

.patch-description, .patch-stats {
    cursor: default;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 10px;
}

patch-stats, .patch-stats2 {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 10px;
    background: none;
}

.patch-stats2 {
    border: 1px dotted #b7b7b7;
    border-radius: 5px;
    text-align: center;
    padding: 10px;
    line-height: 1.4;
    margin-top: 10px;
    display: none;
}

span.parameter-label {
    font-size: 10px;
    color: #909090;
}

.patch-stats .parameter-label {
    width: 100px;
    display: inline-block;
    text-align: left;
}

.patch-stats .parameter-label:after {
    content:" : ";
    font-size: 15px;
}

.patch-stats .parameter-value {
    padding: 0;
    font-size: 11px;
    color: #231f20;
}

.patch-stats2 span.parameter-value {
    font-size: 12px;
    color: #333;
    margin-left: 10px;
    font-family: "Montserrat", sans-serif;
}

.patch-stats2 span.parameter-value::after {
    content: "//";
    margin-left: 20px;
    margin-right: 20px;
    color: #b7b7b7;
    font-size: 8px;
}

.patch-stats2 span.parameter-value:last-child::after {
    content: "";
    margin-right: 0;
}

.patch-stats table tr td {
    border-top: 1px dotted #b7b7b7;
    padding: 5px;
}

.patch-stats table tr td p {
    padding: 0;
    font-size: 10px;
    color: #231f20;
}

.patch-stats table tr:last-of-type {
    border-bottom: 1px dotted #b7b7b7;
}

.patch-stats a {
    text-decoration: underline;
    cursor: pointer;
}

.patch-description {
    background: #5d5d5d;
}

.patch-stats table tr td, .patch-stats .patch-stats-row {
    border-top: 1px dotted #b7b7b7;
    padding: 5px;
}

.patch-stats p {
    padding: 0;
    margin: 0;
    font-family: "Montserrat", sans-serif;
}

.patch-stats table tr:last-of-type {
    border-bottom: 1px dotted #b7b7b7;
}

.patch-soundcloud {
    margin-bottom: 20px;
}

#patch-counter {
    color: #909090;
    clear: both;
    margin-bottom: 20px;
    font-size: 10px;
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
    text-align: center;
}

.clear {
    width: 100%;
    height: 20px;
    clear: both;
}

.white-box {
    width: 100%;
    height: auto;
    overflow: hidden;
    padding: 20px;
    border-radius: 5px;
    background: #ffffff;
    border: 1px solid #d3d3d3;
    margin-bottom: 20px;
}

/* Navigation items */

#reg-signin-items {
    float: right;
    top: 100px;
}

#logo {
    display: inline-block;
    float: left;
    margin: 11px 20px 0 0;
    transition: .3s;
}

#logo:hover {
    opacity: .5;
    transition: opacity 0.3s;
}

#primary-nav-items li, #reg-signin-items li {
    display: inline;
    float: left;
    text-align: center;
    list-style-type: none;
    line-height: 60px;
}

#primary-nav-items li a, #reg-signin-items li a {
    display: block;
    height: 60px;
    padding: 0 10px 0 10px;
    background: #231f20;
}

#primary-nav-items li a:hover, #reg-signin-items li a:hover {
    background: #433f40;
}

#primary-nav-items li a.active, #reg-signin-items li a.active {
    background: #433f40;
    border-bottom: 5px solid #ed7800;
}

.order-button {
    background: #e19758;
    padding: 0 25px 0 25px !important;
    margin-left: 30px;
    border-bottom: 5px solid #ed7800;
}

.order-button:hover {
    background: #fff !important;
    color: #231f20;
}

/* Secondary nav items */

#secondary-nav-bar-content {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* Tag filter cloud */

.tag-filter-button {
    /* width: 145px; */
    width: 16%;
    height: 50px;
    background: #fff;
    border: 1px solid #d3d3d3;
    line-height: 50px;
    padding-left: 10px;
    display: inline;
    float: left;
    margin: 0 4px 4px 0;
    align: center;
    overflow: hidden;
    white-space: nowrap;
}

.tag-filter-button:hover {
    border: 1px solid #ed7800;
    background: #f4f4f4;
}

.tag-filter-button.active {
    border: 1px solid #ed7800;
    background: #d4d4d4;
}

/* Patch Preview Controls */

.patch-preview-buttons {
    margin-left: 10px;
}

.patch-preview-buttons button {
    width: 165px;
    margin-right: 30px;
    line-height: 0px;
    padding: 20px;
    margin-bottom: 15px;
    display: block;
}

.patch-preview-buttons button:disabled {
    background-color: #ccc;
    border-bottom: 2px solid #999;
}

.patch-compile-button.isCompiling {
    padding-right: 36px;
}

.audio-input-selector {
    display: inline-block;
}
.audio-input-selector label {
    margin-right: 15px;
    text-transform: uppercase;
    color: #e19758;
}


/** owl-device-control  **/
.owl-device-control {
    margin-left: 10px;
    overflow: hidden;
}

.owl-device-control .owl-device-stats {
    float: left;
    margin-left: 30px;
    margin-top: 13px;
    font-size: 15px;
    width: 320px;
}

.owl-device-control button {
    display: block;
    margin-bottom: 15px;
    padding: 20px;
    line-height: 0px;
    width: 168px;
}

.owl-device-control .owl-device-stats p {
    line-height: 1em;
}

.owl-device-control .owl-device-stats span {
    text-transform: uppercase;
    color:#e19758;
}

.error-msg {
    text-align: center;
}

/** dialog **/

.modal-dialog {
    width: 680px;
}

.modal-dialog .dialog-header {
    width: 100%;
    background: #000;
    line-height: 23px;
    padding: 10px;
    font-size: 18px;
    font-weight: normal;
    color: #fff;
    text-transform: capitalize;
}

.modal-dialog .dialog-header.error {
    background: #bd2929;
}

.modal-dialog .dialog-tabs {
    margin: 0;
}

.modal-dialog .dialog-tabs li {
    box-sizing: border-box;
    display: inline-block;
    color: #a5a3a3;
    text-transform: capitalize;
    font-size: 14px;
    margin-right: 4px;
    border: 1px solid #ccc;
    padding: 8px 20px;
    border-bottom: none;
    cursor: pointer;
}

.modal-dialog .dialog-tabs li.active {
    background: #6d6c6c;
    color: #fff;
    border: 1px solid #6d6c6c;
}

.modal-dialog .dialog-tabs li.error {
    background: #bd2929;
}

.modal-dialog .dialog-body {
    margin-top: -1px;
    border: 1px solid #ccc;
    font-size: 13px;
    line-height: 1.3em;
    font-family: 'Droid Sans Mono', monospace;
    color: #666;
    font-weight: normal;
    padding: 10px;
    height: 250px;
    overflow: scroll;
}

.modal-dialog .dialog-footer {
    padding: 10px 20px;
    background: #efecec;
    text-align: center;
    border: 1px solid #ccc;
    border-top: none;
}

.modal-dialog .dialog-footer button {
    display: inline-block;
    padding: 20px;
    line-height: 1px;
}

/* loader spinner */
.loading-spinner {
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -10px;
    display: block;
    height: 20px;
    width: 20px;
    background-image:url(../images/loading-spinner.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    -webkit-animation: spin 0.9s infinite linear;
    -moz-animation: spin 0.9s infinite linear;
    -ms-animation: spin 0.9s infinite linear;
    -o-animation: spin 0.9s infinite linear;
}

@-moz-keyframes spin {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}

@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}

/* Patch tile */

.patch-tile-small {
    position: relative;
    height: 120px;
    width: 100%;
    padding: 20px;
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    box-shadow: 0px 0px 10px #6f757f;
    background-image:url(../images/patch-background.png);
    background-size: 100%;
    background-position: top center;
    transition: .3s;
}

.patch-tile {
    height: 280px;
    width: 32%;
    min-width: 320px;
    float: left;
    position: relative;
    padding: 20px;
    /* margin-bottom: 24px;
    margin-left: 24px; */
    margin: 0 15px 15px 0;
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    box-shadow: 0px 0px 10px #6f757f;
    background:url(../images/patch-background.png);
    background-size: 102%;
    background-position: center center;
    transition: .3s;
}

.patch-tile:hover {
    border: 1px solid #ed7800;
    background-size: 120%;
    transition: 0.3s;
}

.patch-tile .patch-title:hover {
    background: #ed7800;
    transition: .3s;
}

.patch-title.no-pseudo-link:hover {
    cursor: default;
}

.patch-tile-new {
    -moz-opacity: 0.50;
    -khtml-opacity: 0.50;
    opacity: 0.50;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=50);
    cursor: pointer;
}

.patch-tile-new:hover {
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=100);
}

.spacer {
    height: 280px;
    width: 2%;
    float: left;
}

.patch-baseline {
    height: 30px;
    width: 100%;
    position: absolute;
    background: #fff;
    border-top: 1px solid #6f757f;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    bottom: 0;
    left:0;
}

.patch-title-controls {
    width: 100%;
    vertical-align: top;
}

.patch-title-controls-new {
    height: 100%;
    background: url(../images/plus.png) no-repeat center center;
}

.patch-title {
    display: inline;
    background: #231f20;
    padding: 10px;
    line-height: 30px;
    transition: .3s;
    font-weight: 700;
    color: #fff;
    font-size: 18px;
}

.author-name {
    display: inline-block;
    background: #5d5d5d;
    padding: 10px;
    transition: .3s;
}

.author-name:hover {
    background: #fff;
    transition: .3s;
}

.author-name:hover {
    color: #000;
    transition: .3s;
}

.play-button {
    height: 30px;
    width: 30px;
    margin-right: 10px;
    border-radius: 30px;
    background: #ed7800;
    border: 1px solid #b6540d;
    text-align: center;
    line-height: 28px;
    transition: .3s;
}

.play-button:hover {
    background: #231f20;
    border: 1px solid #000;
    transition: .3s;
}

.add-button {
    height: 30px;
    width: 30px;
    border: 1px solid #D4D4D4;
    border-radius: 5px;
    text-align: center;
    line-height: 26px; /* Take some px off for internal box borders */
    margin-left: 10px;
    /* Gradient */
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 43%, #d4d4d4 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(43%,#ffffff), color-stop(100%,#d4d4d4)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ffffff 43%,#d4d4d4 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ffffff 43%,#d4d4d4 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ffffff 43%,#d4d4d4 100%); /* IE10+ */
    background: linear-gradient(to bottom, #ffffff 43%,#d4d4d4 100%); /* W3C */
    transition: .3s;
}

.add-button:hover {
    transform:rotate(180deg);
    color: green;
    transition: .3s;
}

.patch-buttons {
    position: absolute;
    right: 20px;
    top: 20px;
}

.patch-button {
    height: 30px;
    width: 30px;
    border: 1px solid #D4D4D4;
    border-radius: 5px;
    text-align: center;
    line-height: 26px; /* Take some px off for internal box borders */
    margin-left: 10px;
    /* Gradient */
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 43%, #d4d4d4 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(43%,#ffffff), color-stop(100%,#d4d4d4)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ffffff 43%,#d4d4d4 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ffffff 43%,#d4d4d4 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ffffff 43%,#d4d4d4 100%); /* IE10+ */
    background: linear-gradient(to bottom, #ffffff 43%,#d4d4d4 100%); /* W3C */
    transition: .2s;
    position: relative;
    top: 3px;
    float: left;
}

.patch-button:hover {
    cursor: pointer;
}

.patch-button a {
    outline: 0;
}

.patch-button{
    margin: 3px;
    opacity: 0.7;
}

.patch-button:hover{
    opacity: 1;
}

.patch-button-edit {
    background-image: url("../images/pencil.png"), linear-gradient(to bottom, #ffffff 43%,#d4d4d4 100%);
    background-repeat: no-repeat;
    background-position: center;
}

.patch-button-delete {
    background-image: url("../images/bin.png"), linear-gradient(to bottom, #ffffff 43%,#d4d4d4 100%);
    background-repeat: no-repeat;
    background-position: center;
}

.tag {
    background: #d4d4d4;
    border-radius: 0 3px 3px 0;
    display: inline-block;
    height: 20px;
    left: 8px;
    top: 0;
    line-height: 18px;
    padding: 0 8px 0 5px;
    position: relative;
    margin-top: 5px;
    margin-left: 5px;
    margin-right: 5px;
}

.tag::before {
    border-bottom: 10px solid transparent;
    border-right: 8px solid #d4d4d4;
    border-top: 10px solid transparent;
    content: "";
    height: 0;
    left: -8px;
    position: absolute;
    top: 0;
    width: 0;
}

.tag span, .tag a {
    font-family: 'ubuntu', sans-serif;
    font-size: 12px;
    text-decoration: none;
    color: #000;
}

.tag:hover {
    background:#ed7800;
    transition: .3s;
}

.tag:hover.tag::before {
    border-right: 8px solid #ed7800;
    transition: .3s;
}

.tag:hover span {
    color: #fff;
}

.add-counter {
    float: right;
    margin-top: 5px;
    margin-right: 5px;
    line-height: 20px;
    font-size: 12px;
    color: #999999;
}

.add-counter::before {
    content: "+";
    margin-right: 5px;
    font-weight: bold;
}

/* Links */

a {
    color: inherit;
    text-decoration: none;
}

/* Typography */

h2, #primary-nav-items li, #reg-signin-items li {
    font-family: 'montserrat', sans-serif;
    color: #fff;
    font-weight: 400;
    font-size: 12px;
}

h2, .parameter-label {
    text-transform: uppercase;
    padding-bottom: 10px;
}

.parameter-label {
    text-align: center;
    font-size: 10px;
    margin-top: -20px;
}

#primary-nav-items li, a.order-button {
    text-transform: uppercase;
}

.tag-filter-button {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 100;
    font-size: 14px;
}

h2 {
    color: #cccccc;
}

.parameter-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #231f20;
}

.patch-tile, .patch-tile-small, .patch-description {
    font-family: 'Ubuntu', sans-serif;
}

.author-name {
    font-weight: 100;
    color: #fff;
    font-size: 12px;
}

.add-button, .play-button {
    font-weight: 800;
    font-size: 20px;
}

.add-button {
    color: #5d5d5d;
}

.play-button {
    color: #fff;
}

#load-owl-button {
    display:block;
    padding:10px 10px 40px;
    margin:0 auto;
}

#load-owl-button img {
    vertical-align:middle;
    display:inline;
    margin:0;
}

.tag span {
    font-weight: 100;
    font-size: 11px;
    color: #231f20;
}

.patch-description p, .patch-stats p {
    color: #fff;
    line-height: 1.5;
    font-size: 14px;
    padding-bottom: 10px;
}
.patch-description-list-view {
    display: inline-block;
    max-height: 9.5em;
    width: 343px;
    overflow: hidden;
    padding-top: 2em;
    line-height: 1.5em;
    color: #fff;
}

/* add/edit patch form */

#patch-add-edit-form .row {
  margin-top: 10px;
}

#patch-add-edit-form .btn-row {
  margin-top: 30px;
  margin-bottom: 20px;
  padding-left: 21%;
}

#patch-add-edit-form .btn-row button {
  margin-right: 15px;
}

#patch-add-edit-form fieldset button {
    margin-bottom: 0;
    padding: 18px;
    line-height: 4px;
}

.btn-large {
  width: 165px;
  margin-right: 30px;
  line-height: 0px;
  padding: 20px;
  margin-bottom: 15px;
}

.btn-large:disabled {
  background-color: #ccc; 
  border-bottom: 2px solid #999;
}

.patchcode-toolbar .btn-large {
  width: auto;
  min-width: 100px;
  margin-right: 15px;
}

#patch-add-edit-form .row:before, #patch-add-edit-form .row:after {
  content: " ";
  display: table;
  clear: both;
}

#patch-add-edit-form textarea {
  height: 100px;
}

#patch-add-edit-form input[type=number],
#patch-add-edit-form select {
  width: 100px;
  width: 30% !important;
  text-align: right;
}

#patch-add-edit-form select {
  background-color: white;
}

#patch-add-edit-form fieldset {
  border: 1px solid #d3d3d3;
  border-radius: 5px;
  padding: 5px 0 20px 0;
  margin-top: 10px;
}

#patch-add-edit-form fieldset legend {
  margin-left: 21%;
  padding: 0 10px;
  font-weight: bold;
  color: #5d5d5d;
}

#patch-add-edit-form label {
  width: 20%;
  font-weight: normal;
  text-transform: none;
  text-align: right;
  float: left;
  display: block;
  margin-right: 10px;
  margin-top: 4px;
  font-size: 16px;
}

#patch-add-edit-form label.percent {
  width: auto;
  padding: 5px;
}

#frm-patch-tags {
  width: 30% !important;
}

#patch-add-edit-form .form-control {
  width: 70%;
  float: left;
  display: block;
}

#patch-add-edit-form input.form-control,
#patch-add-edit-form textarea.form-control,
#patch-add-edit-form select.form-control {
  border: 1px solid #d3d3d3;
  border-radius: 5px;
  font-family: Ubuntu, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 15px;
  color: #5d5d5d;
  padding: 4px;
}

#patch-add-edit-form label.required:after {
  content: "*";
}

#patch-add-edit-form small {
  font-size: 12px;
  color: #5d5d5d;
}

#patch-add-edit-form .row.repeat input[type=text],
#patch-add-edit-form .row.repeat input[type=url] {
  width: 80%;
  float: left;
}

#patch-add-edit-form div.remove {
  padding-left: 10px;
  font-size: 12px;
  display: inline !important;
}

#patch-add-edit-form fieldset .add {
  padding-left: 21%;
  padding-top: 10px;
  display: block;
  font-size: 12px;
}

#patch-add-edit-form .invalid {
  border-color: #ed7800;
  box-shadow: 0 0 8px rgba(237,120  ,0,.6);
}

#patch-add-edit-form div.error-message {
  clear: both;
  display: none;
  float: left;
  margin-left: 21%;
  font-size: 12px;
  margin-top: 5px;
  color: #ed7800;
}

#patch-add-edit-form div.error-message.no-margin {
  margin-left: 0;
}

#patch-add-edit-form div.info-message {
  clear: both;
  float: left;
  margin-left: 21%;
  font-size: 12px;
  margin-top: 5px;
  color: #5d5d5d  ;
}

#patch-add-edit-form label.frm-patch-author-radio {
  float: left;
  width: auto;
  display: block;
  text-align: left;
  color: #5d5d5d;
}

#frm-patch-author-name {
  float: left;
  font-family: Ubuntu, sans-serif;
  font-size: 16px;
  color: #5d5d5d;
}

/* tabs */

.tab-nav {
  border-bottom: 1px solid #d3d3d3;
  font-size: 11px;
  margin: 0;
}

.tab-nav li {
  cursor: pointer;
  color: grey;
  background: #d3d3d3;
  top: 1px;
  position: relative;
  display: inline-block;
  margin: 1px 4px 0 0;
  padding: 5px 20px;
  border: 1px solid #d3d3d3;
}

.tab-nav li.active {
  color: #000;
  border-bottom: 1px solid #fff;
  background: white;
}

.tab-content {
  overflow: scroll;
  position: relative;
  padding: 40px 20px ;
  min-height: 100px;
  border: 1px solid #d3d3d3;
  border-top: none;
}

.file-download-link {
  background: url('../images/download.png') no-repeat center center;
  height: 15px;
  width: 20px;
  display: inline-block;
  margin-left: 10px;
}

.file-edit-link {
  background: url('../images/pencil.svg') no-repeat center center;
  background-size: 96%;
  height: 15px;
  width: 20px;
  display: inline-block;
  margin-left: 10px;
  background-color: rgba(255,255,255,0);
}

.edit-mode .file-edit-link {
  background-image: url('../images/pencil_orange.svg');
}

/* GitHub file tabs */
#github-files pre.prettyprint {
  border: none !important;
}

pre.prettyprint {
    overflow: scroll;
    font-family: "Droid Sans Mono", "Lucida Console", "Monaco", "Courier New", monospace;
    font-size: 13px;
}

span.patch-title, span.author-name, div.tag, .tag-filter-button, .secondary-nav-item {
    cursor: pointer;
}

div.patch-visibility {
  color: white;
  text-transform: uppercase;
  font-size: 12px;
  margin-top: 10px;
  background: url("../images/lock.png") no-repeat 5px center;
  padding-left: 21px;
}

div.patch-visibility img {
  display: inline;
  margin: 0 5px;
}

.white-box {
    padding: 40px 40px 40px;
    border-top-right-radius: 0px;
    min-height: 1040px;
}

.white-box a, .widget-area a, #breadcrumb a {
    color: #ed7800;
}

.white-box a:hover, .widget-area a:hover, #breadcrumb a:hover {
    color: #e19758;
    text-decoration: underline;
}

.white-box ul, .white-box li {
  list-style: square outside;
}

.white-box ul {
  margin-left: 20px;
}

.white-box > ol, .white-box > ol > li {
  list-style: none;
}

.white-box2 {
    background: none repeat scroll 0 0 #ffffff;
    border: 1px solid #d3d3d3;
    border-radius: 5px;
    height: auto;
    margin-bottom: 20px;
    padding: 20px;
    width: 100%;
}

#compile-dialog {
  display: none;
  width: 60%;
}

#compile-tabs {
  height: 200px;
}

#compile-dialog-button-container {
  text-align: right;
  margin-top: 10px;
}

#compile-tabs textarea {
  height: 130px;
  font-family: 'Droid Sans Mono', monospace;
  font-size: 12px;
  border: none;
  width: 99%;
  padding: 3px;
}

#tabs-result, #tabs-stdout, #tabs-stderr {
  padding: 0;
}

a.github-link {
  display: block;
  position: absolute;
  top: 15px;
  right: 30px;
  text-decoration: underline;
  color: #ed7800;
}

div.file-upload-container { /* simulate a button */
    overflow: hidden;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: #e19758 none repeat scroll 0 0;
    border-color: -moz-use-text-color -moz-use-text-color #ed7800;
    border-image: none;
    border-style: none none solid;
    border-width: medium medium 2px;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline;
    font-family: "montserrat",sans-serif;
    font-size: 12px;
    font-weight: 400;
    height: 24px;
    list-style-type: none;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    top: 3px;
    padding: 3px 10px;
}

div.file-upload-container:hover {
    color: white;
    background: #433540;
}

div.file-upload-container input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}

/* general buttons */
input[type=submit], input[type=reset], input[type=button], button {
    color: #fff;
    font-family: "montserrat",sans-serif;
    font-size: 12px !important;
    font-weight: 400;
    display: inline;
    list-style-type: none;
    text-align: center;
    height: 24px;
    text-transform: uppercase;
    background: none repeat scroll 0 0 #e19758;
    border: none;
    position: relative;
    top: -1px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border-bottom: 2px solid #ed7800;
    cursor: pointer;
}

input[type=submit]:hover, input[type=reset]:hover, input[type=button]:hover, button:hover {
    color: white;
    background: #433540;
}

input[type=submit]:disabled, input[type=reset]:disabled, input[type=button]:disabled, button:disabled {
    color: white;
    background: #E1B48E;
}

input[type=submit]:disabled:hover, input[type=reset]:disabled:hover, input[type=button]:disabled:hover, button::disabled:hover {
    color: white;
    background: #E1B48E;
}

/* Media queries */

@media only screen and (max-width: 1430px) {
    .patch-tile {
        width: 48%;
        height: 180px;
    }
    .patch-description-list-view {
        width: 95%;
        max-height: 3.5em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    #one-third {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }
    #two-thirds {
        width: 100%;
        clear: both;
        margin-left: 0px;
    }
    .patch-tile-small, .patch-description {
        width: 32%;
        height: auto;
        margin-top: 0px;
        margin-bottom: 0px;
    }
    .patch-description {
        margin-left: 2%;
    }
    .patch-stats {
        border: 1px dotted #b7b7b7;
        border-radius: 5px;
        text-align: center;
        padding: 10px;
    }

    .patch-stats .patch-stats-row {
        display: inline-block;
        border: none;
        margin-right: 15px;
    }
    .patch-stats .parameter-label {
        width:auto;
        margin-right: 8px;
    }
}

@media only screen and (max-width: 1024px) {
    #page_wrapper.sticky_header .content-area {
        padding-top: 0;
    }
}

@media only screen and (max-width: 860px) {
    #primary-nav-items li, #reg-signin-items li {
        font-size: 10px;
    }
    #logo {
        margin: 11px 10px 0 5px;
    }
    .patch-tile {
        width: 48%;
        margin: 0 8px 8px 0;
    }
    .wrapper {
        width: 100%;
        padding: 5px;
    }
    #one-third {
        flex-wrap: wrap;
    }
    .patch-tile-small {
        width: 100%;
    }
    .patch-description {
        width: 100%;
        margin-left: 0px;
        margin-top: 10px;
    }
}

@media only screen and (max-width: 680px) {
    #reg-signin-items {
        display: none;
    }
    .patch-tile {
        width: 100%;
        margin: 0 0 10px 0;
    }
    .modal-dialog {
        width: 400px;
    }
}

@media only screen and (max-width: 480px) {
    .tag-filter-button {
        width: 48.9%;
    }
}


