/* Global Styles */

body {
    margin-top: 100px;
    background-color: #222;
}

@media(min-width:768px) {
    body {
        margin-top: 50px;
    }
}

#wrapper {
    padding-left: 0;
}

#page-wrapper {
    width: 100%;
    padding: 0;
    background-color: #fff;
}

.huge {
    font-size: 50px;
    line-height: normal;
}
.navbar-inverse{
	border: none;
}
@media(min-width:768px) {
    #wrapper {
        padding-left: 225px;
    }

    #page-wrapper {
        padding: 10px;
    }
}
.btn-primary {
	background-color: #690;
	border-color: #690;
}

/* Top Navigation */

.top-nav {
    padding: 0 15px;
}

.top-nav>li {
    display: inline-block;
    float: left;
}

.top-nav>li>a {
    padding-top: 15px;
    padding-bottom: 15px;
    line-height: 20px;
    color: #999;
}

.top-nav>li>a:hover,
.top-nav>li>a:focus,
.top-nav>.open>a,
.top-nav>.open>a:hover,
.top-nav>.open>a:focus {
    color: #fff;
    background-color: #000;
}

.top-nav>.open>.dropdown-menu {
    float: left;
    position: absolute;
    margin-top: 0;
    border: 1px solid rgba(0,0,0,.15);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    background-color: #fff;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
}

.top-nav>.open>.dropdown-menu>li>a {
    white-space: normal;
}

ul.message-dropdown {
    padding: 0;
    max-height: 250px;
    overflow-x: hidden;
    overflow-y: auto;
}

li.message-preview {
    width: 275px;
    border-bottom: 1px solid rgba(0,0,0,.15);
}

li.message-preview>a {
    padding-top: 15px;
    padding-bottom: 15px;
}

li.message-footer {
    margin: 5px 0;
}

ul.alert-dropdown {
    width: 200px;
}

/* Side Navigation */

@media(min-width:768px) {
    .side-nav {
        position: fixed;
        top: 51px;
        left: 225px;
        width: 225px;
        margin-left: -225px;
        border: none;
        border-radius: 0;
        overflow-y: auto;
        background-color: #222;
        bottom: 0;
        overflow-x: hidden;
        padding-bottom: 40px;
    }

    .side-nav>li>a {
        width: 225px;
    }

    .side-nav li a:hover,
    .side-nav li a:focus {
        outline: none;
        background-color: #000 !important;
    }
}

.side-nav>li>ul {
    padding: 0;
}

.side-nav>li>ul>li>a {
    display: block;
    padding: 10px 15px 10px 38px;
    text-decoration: none;
    color: #999;
}

.side-nav>li>ul>li>a:hover {
    color: #fff;
}

/* Validation */
.valid { background-color: #28a745; }
.invalid { background-color: #dc3545; }
.attention { background-color: #ffc107; }
.validatesubmitted { border: 2px solid #000; }


/* Flot Chart Containers */

.flot-chart {
    display: block;
    height: 400px;
}

.flot-chart-content {
    width: 100%;
    height: 100%;
}

/* Custom Colored Panels */

.huge {
    font-size: 40px;
}
.panel-yellow {
	border-color: #337ab7;
}
.panel-yellow > .panel-heading {
    border-color: #337ab7;
    color: #333;
    background-color: #337ab7;
}
.panel-yellow > a {
    color: #333;
}
.panel-yellow > a:hover {
    color: #df8a13;
}
.panel-blue {
    border-color: #337ab7;
}

.panel-blue > .panel-heading {
    border-color: #337ab7;
    color: #fff;
    background-color: #337ab7;
}

.panel-blue > a {
    color: #337ab7;
}

.panel-blue > a:hover {
    color: #df8a13;
}

.panel-green {
    border-color: #337ab7
}

.panel-green > .panel-heading {
    border-color: #337ab7
    color: #fff;
    background-color: #337ab7
}

.panel-green > a {
    color: #337ab7
}

.panel-green > a:hover {
    color: #df8a13;
}
td, th{
	padding: 8px;
}
#custom-search-input{
    padding: 3px;
    border: solid 1px #E4E4E4;
    border-radius: 6px;
    background-color: #fff;
}
#custom-search-input input{
    border: 0;
    box-shadow: none;
}
#custom-search-input button{
    margin: 2px 0 0 0;
    background: none;
    box-shadow: none;
    border: 0;
    color: #666666;
    padding: 0 8px 0 10px;
    border-left: solid 1px #ccc;
}
#custom-search-input button:hover{
    border: 0;
    box-shadow: none;
    border-left: solid 1px #ccc;
}
#custom-search-input .glyphicon-search{
    font-size: 12px;
}
th {
	cursor: pointer;
}
#search,
.search { height: 44px; }
.table-striped{width: 100%; }
input[type=checkbox][disabled] + label {
    color: #ccc;
}
.balloon {
	margin: 0 auto;
	margin-top: 60px;
}
.balloon > div {
	width: 104px;
	height: 140px;
	background: rgba(182, 15, 97, 0.9);
	border-radius: 0;
	border-radius: 80% 80% 80% 80%;
	margin: 0 auto;
	position: absolute;
	padding: 10px;
	box-shadow: inset 17px 7px 10px rgba(182, 15, 97, 0.9);
	-webkit-transform-origin: bottom center;
}
.balloon > div:nth-child(1) {
	background: rgba(182, 15, 97, 0.9);
	left: 0;
	box-shadow: inset 10px 10px 10px rgba(135, 11, 72, 0.9);
	-webkit-animation: balloon1 6s ease-in-out infinite;
	-moz-animation: balloon1 6s ease-in-out infinite;
	-o-animation: balloon1 6s ease-in-out infinite;
	animation: balloon1 6s ease-in-out infinite;
}
.balloon > div:nth-child(1):before {
	color: rgba(182, 15, 97, 0.9);
}
.balloon > div:nth-child(2) {
	background: rgba(242, 112, 45, 0.9);
	left: 120px;
	box-shadow: inset 10px 10px 10px rgba(222, 85, 14, 0.9);
	-webkit-animation: balloon2 6s ease-in-out infinite;
	-moz-animation: balloon2 6s ease-in-out infinite;
	-o-animation: balloon2 6s ease-in-out infinite;
	animation: balloon2 6s ease-in-out infinite;
}
.balloon > div:nth-child(2):before {
	color: rgba(242, 112, 45, 0.9);
}
.balloon > div:nth-child(3) {
	background: rgba(45, 181, 167, 0.9);
	left: 240px;
	box-shadow: inset 10px 10px 10px rgba(35, 140, 129, 0.9);
	-webkit-animation: balloon4 6s ease-in-out infinite;
	-moz-animation: balloon4 6s ease-in-out infinite;
	-o-animation: balloon4 6s ease-in-out infinite;
	animation: balloon4 6s ease-in-out infinite;
}
.balloon > div:nth-child(3):before {
	color: rgba(45, 181, 167, 0.9);
}
.balloon > div:nth-child(4) {
	background: rgba(190, 61, 244, 0.9);
	left: 360px;
	box-shadow: inset 10px 10px 10px rgba(173, 14, 240, 0.9);
	-webkit-animation: balloon1 5s ease-in-out infinite;
	-moz-animation: balloon1 5s ease-in-out infinite;
	-o-animation: balloon1 5s ease-in-out infinite;
	animation: balloon1 5s ease-in-out infinite;
}
.balloon > div:nth-child(4):before {
	color: rgba(190, 61, 244, 0.9);
}
.balloon > div:nth-child(5) {
	background: rgba(180, 224, 67, 0.9);
	left: 480px;
	box-shadow: inset 10px 10px 10px rgba(158, 206, 34, 0.9);
	-webkit-animation: balloon3 5s ease-in-out infinite;
	-moz-animation: balloon3 5s ease-in-out infinite;
	-o-animation: balloon3 5s ease-in-out infinite;
	animation: balloon3 5s ease-in-out infinite;
}
.balloon > div:nth-child(5):before {
	color: rgba(180, 224, 67, 0.9);
}
.balloon > div:nth-child(6) {
	background: rgba(242, 194, 58, 0.9);
	left: 600px;
	box-shadow: inset 10px 10px 10px rgba(234, 177, 15, 0.9);
	-webkit-animation: balloon2 3s ease-in-out infinite;
	-moz-animation: balloon2 3s ease-in-out infinite;
	-o-animation: balloon2 3s ease-in-out infinite;
	animation: balloon2 3s ease-in-out infinite;
}
.balloon > div:nth-child(6):before {
	color: rgba(242, 194, 58, 0.9);
}
.balloon > div:before {
	color: rgba(182, 15, 97, 0.9);
	position: absolute;
	bottom: -11px;
	left: 52px;
	content:"▲";
	font-size: 1em;
}
.balloon span {
	font-size: 4.8em;
	color: white;
	position: relative;
	top: 30px;
	left: 50%;
	margin-left: -27px;
}
@-webkit-keyframes balloon1 {
	0%, 100% {
		-webkit-transform: translateY(0) rotate(-6deg);
	}
	50% {
		-webkit-transform: translateY(-20px) rotate(8deg);
	}
}
@-moz-keyframes balloon1 {
	0%, 100% {
		-moz-transform: translateY(0) rotate(-6deg);
	}
	50% {
		-moz-transform: translateY(-20px) rotate(8deg);
	}
}
@-o-keyframes balloon1 {
	0%, 100% {
		-o-transform: translateY(0) rotate(-6deg);
	}
	50% {
		-o-transform: translateY(-20px) rotate(8deg);
	}
}
@keyframes balloon1 {
	0%, 100% {
		transform: translateY(0) rotate(-6deg);
	}
	50% {
		transform: translateY(-20px) rotate(8deg);
	}
}
@-webkit-keyframes balloon2 {
	0%, 100% {
		-webkit-transform: translateY(0) rotate(6eg);
	}
	50% {
		-webkit-transform: translateY(-30px) rotate(-8deg);
	}
}
@-moz-keyframes balloon2 {
	0%, 100% {
		-moz-transform: translateY(0) rotate(6deg);
	}
	50% {
		-moz-transform: translateY(-30px) rotate(-8deg);
	}
}
@-o-keyframes balloon2 {
	0%, 100% {
		-o-transform: translateY(0) rotate(6deg);
	}
	50% {
		-o-transform: translateY(-30px) rotate(-8deg);
	}
}
@keyframes balloon2 {
	0%, 100% {
		transform: translateY(0) rotate(6deg);
	}
	50% {
		transform: translateY(-30px) rotate(-8deg);
	}
}
@-webkit-keyframes balloon3 {
	0%, 100% {
		-webkit-transform: translate(0, -10px) rotate(6eg);
	}
	50% {
		-webkit-transform: translate(-20px, 30px) rotate(-8deg);
	}
}
@-moz-keyframes balloon3 {
	0%, 100% {
		-moz-transform: translate(0, -10px) rotate(6eg);
	}
	50% {
		-moz-transform: translate(-20px, 30px) rotate(-8deg);
	}
}
@-o-keyframes balloon3 {
	0%, 100% {
		-o-transform: translate(0, -10px) rotate(6eg);
	}
	50% {
		-o-transform: translate(-20px, 30px) rotate(-8deg);
	}
}
@keyframes balloon3 {
	0%, 100% {
		transform: translate(0, -10px) rotate(6eg);
	}
	50% {
		transform: translate(-20px, 30px) rotate(-8deg);
	}
}
@-webkit-keyframes balloon4 {
	0%, 100% {
		-webkit-transform: translate(10px, -10px) rotate(-8eg);
	}
	50% {
		-webkit-transform: translate(-15px, 20px) rotate(10deg);
	}
}
@-moz-keyframes balloon4 {
	0%, 100% {
		-moz-transform: translate(10px, -10px) rotate(-8eg);
	}
	50% {
		-moz-transform: translate(-15px, 10px) rotate(10deg);
	}
}
@-o-keyframes balloon4 {
	0%, 100% {
		-o-transform: translate(10px, -10px) rotate(-8eg);
	}
	50% {
		-o-transform: translate(-15px, 10px) rotate(10deg);
	}
}
@keyframes balloon4 {
	0%, 100% {
		transform: translate(10px, -10px) rotate(-8eg);
	}
	50% {
		transform: translate(-15px, 10px) rotate(10deg);
	}
}
/*fix this */
@media (max-width:500px) {
    .input-group-addon {
        clear: both;
        display: block;
        width: 100%;
        border: 1px solid #ccc;
        border-radius: 4px;
    }
    .input-group-addon + .form-control {
        border-radius: 4px;
        margin-bottom: 5px;
    }
}

.controls {
	margin-top: 10px;
	border: 1px solid transparent;
	border-radius: 2px 0 0 2px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	height: 31px;
	outline: none;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  }

  #pac-input {
	background-color: #fff;
	font-family: Roboto;
	font-size: 15px;
	font-weight: 300;
	margin-left: 12px;
	padding: 0 11px 0 13px;
	text-overflow: ellipsis;
	width: 300px;
  }

  #pac-input:focus {
	border-color: #4d90fe;
  }

  .pac-container {
	font-family: Roboto;
  }

  #type-selector {
	color: #fff;
	background-color: #4d90fe;
	padding: 5px 11px 0px 11px;
  }

  #type-selector label {
	font-family: Roboto;
	font-size: 13px;
	font-weight: 300;
  }
  #target {
	width: 345px;
  }
  fieldset{ margin-top: 40px !important; }
  /**
 * Nestable
 */

.dd { position: relative; display: block; margin: 0; padding: 0; max-width: 600px; list-style: none; font-size: 13px; line-height: 20px; }

.dd-list { display: block; position: relative; margin: 0; padding: 0; list-style: none; }
.dd-list .dd-list { padding-left: 30px; }
.dd-collapsed .dd-list { display: none; }

.dd-item,
.dd-empty,
.dd-placeholder { display: block; position: relative; margin: 0; padding: 0; min-height: 20px; font-size: 13px; line-height: 20px; }

.dd-handle { display: block; height: 30px; margin: 5px 0; padding: 5px 10px; color: #333; text-decoration: none; font-weight: bold; border: 1px solid #ccc;
    background: #fafafa;
    background: -webkit-linear-gradient(top, #fafafa 0%, #eee 100%);
    background:    -moz-linear-gradient(top, #fafafa 0%, #eee 100%);
    background:         linear-gradient(top, #fafafa 0%, #eee 100%);
    -webkit-border-radius: 3px;
            border-radius: 3px;
    box-sizing: border-box; -moz-box-sizing: border-box;
}
.dd-handle:hover { color: #2ea8e5; background: #fff; }

.dd-item > button { display: block; position: relative; cursor: pointer; float: left; width: 25px; height: 20px; margin: 5px 0; padding: 0; text-indent: 100%; white-space: nowrap; overflow: hidden; border: 0; background: transparent; font-size: 12px; line-height: 1; text-align: center; font-weight: bold; }
.dd-item > button:before { content: '+'; display: block; position: absolute; width: 100%; text-align: center; text-indent: 0; }
.dd-item > button[data-action="collapse"]:before { content: '-'; }

.dd-placeholder,
.dd-empty { margin: 5px 0; padding: 0; min-height: 30px; background: #f2fbff; border: 1px dashed #b6bcbf; box-sizing: border-box; -moz-box-sizing: border-box; }
.dd-empty { border: 1px dashed #bbb; min-height: 100px; background-color: #e5e5e5;
    background-image: -webkit-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff),
                      -webkit-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-image:    -moz-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff),
                         -moz-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-image:         linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff),
                              linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
}

.dd-dragel { position: absolute; pointer-events: none; z-index: 9999; }
.dd-dragel > .dd-item .dd-handle { margin-top: 0; }
.dd-dragel .dd-handle {
    -webkit-box-shadow: 2px 4px 6px 0 rgba(0,0,0,.1);
            box-shadow: 2px 4px 6px 0 rgba(0,0,0,.1);
}

/**
 * Nestable Extras
 */

.nestable-lists { display: block; clear: both; padding: 30px 0; width: 100%; border: 0; border-top: 2px solid #ddd; border-bottom: 2px solid #ddd; }

#nestable-menu { padding: 0; margin: 20px 0; }

#nestable-output,
#nestable2-output { width: 100%; height: 7em; font-size: 0.75em; line-height: 1.333333em; font-family: Consolas, monospace; padding: 5px; box-sizing: border-box; -moz-box-sizing: border-box; }

#nestable2 .dd-handle {
    color: #fff;
    border: 1px solid #999;
    background: #bbb;
    background: -webkit-linear-gradient(top, #bbb 0%, #999 100%);
    background:    -moz-linear-gradient(top, #bbb 0%, #999 100%);
    background:         linear-gradient(top, #bbb 0%, #999 100%);
}
#nestable2 .dd-handle:hover { background: #bbb; }
#nestable2 .dd-item > button:before { color: #fff; }

@media only screen and (min-width: 700px) {

    .dd { float: left; width: 48%; }
    .dd + .dd { margin-left: 2%; }

}

.dd-hover > .dd-handle { background: #2ea8e5 !important; }

/**
 * Nestable Draggable Handles
 */

.dd3-content { display: block; height: 30px; margin: 5px 0; padding: 5px 10px 5px 40px; color: #333; text-decoration: none; font-weight: bold; border: 1px solid #ccc;
    background: #fafafa;
    background: -webkit-linear-gradient(top, #fafafa 0%, #eee 100%);
    background:    -moz-linear-gradient(top, #fafafa 0%, #eee 100%);
    background:         linear-gradient(top, #fafafa 0%, #eee 100%);
    -webkit-border-radius: 3px;
            border-radius: 3px;
    box-sizing: border-box; -moz-box-sizing: border-box;
}
.dd3-content:hover { color: #2ea8e5; background: #fff; }

.dd-dragel > .dd3-item > .dd3-content { margin: 0; }

.dd3-item > button { margin-left: 30px; }

.dd3-handle { position: absolute; margin: 0; left: 0; top: 0; cursor: pointer; width: 30px; text-indent: 100%; white-space: nowrap; overflow: hidden;
    border: 1px solid #aaa;
    background: #ddd;
    background: -webkit-linear-gradient(top, #ddd 0%, #bbb 100%);
    background:    -moz-linear-gradient(top, #ddd 0%, #bbb 100%);
    background:         linear-gradient(top, #ddd 0%, #bbb 100%);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.dd3-handle:before { content: '≡'; display: block; position: absolute; left: 0; top: 3px; width: 100%; text-align: center; text-indent: 0; color: #fff; font-size: 20px; font-weight: normal; }
.dd3-handle:hover { background: #ddd; }