body, html {
    height: 100%;
    color: rgba(0,0,0,.87);
    background: #fff;
    position: relative;
	-webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    min-height: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
	display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
	font-family: 'Open Sans', sans-serif;
}

*{box-sizing: border-box;}
:focus {outline:none;}

body.sidebarLocked{
    padding-left:320px;
}

button{
	display: inline-block;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	cursor: pointer;
	color: inherit;
}

i {color:  inherit;}

.cellSpacing {
	padding: 5px;
}

.cellSpacing > * {
	margin: 5px;
}

.layout-fill {
	margin: 0;
    width: 100%;
    min-height: 100%;
    height: 100%;
}

.flex{
    -webkit-flex: 1;
    flex: 1;
}

/* typography */

h1, h2, h3 {
	box-sizing: border-box;
    font-weight: 300;
	margin: 0;
	padding: 0;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.5em;
}

/* content */
header{
	box-sizing: border-box;
	display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
	align-items: center;
	color:  #fff;
	background-color: #43BEEB;
    min-height:50px;
    height: 50px;
    max-height:50px;
}

/* sidebar */

sidebar-modal {
	box-sizing: border-box;
	display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
	align-items: center;
	justify-content: center;
	-webkit-transition:all linear 0.3s;
	transition:all linear 0.3s;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
	background-color: rgba(33,33,33,0.48);
	opacity: 1;	
}

sidebar-modal button.update{
    width:201px;height:155px;
	padding:40px;font-size:15px;cursor:pointer;background-color: #43BEEB; color: #fff;display: -webkit-flex;display: -ms-flexbox;display: flex;align-items: center;
	-webkit-box-shadow: 1px 1px 21px 0px rgba(50, 50, 50, 1);
	-moz-box-shadow:    1px 1px 21px 0px rgba(50, 50, 50, 1);
	box-shadow:         1px 1px 21px 0px rgba(50, 50, 50, 1);
    -webkit-transition:margin-left linear 0.3s, opacity linear 0.3s;
	transition:margin-left linear 0.3s, opacity linear 0.3s;
    opacity:1;
}

sidebar-modal button.update .ng-hide{
    opacity:0;
}

sidebar-modal span.loading{
	padding:40px;font-size:15px;cursor:pointer;background-color: #43BEEB; color: #fff;display: -webkit-flex;display: -ms-flexbox;display: flex;align-items: center;
	-webkit-box-shadow: 1px 1px 21px 0px rgba(50, 50, 50, 1);
	-moz-box-shadow:    1px 1px 21px 0px rgba(50, 50, 50, 1);
	box-shadow:         1px 1px 21px 0px rgba(50, 50, 50, 1);
}

sidebar-modal button.sidebarOpen{
	margin-left: 300px;
}

sidebar-modal button.update:hover{
	background-color: #FF0370; 
}

sidebar-modal.ng-hide{
	box-sizing: border-box;
	opacity:  0;
}

sidebar {
	display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
	left: 0;
    top: 0;
    bottom: 0;
	box-sizing: border-box;
    position: fixed;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    z-index: 60;
    width: 320px;
    max-width: 400px;
	min-width: 320px;
   
    overflow: auto;
	
	-webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
	
	background-color: #f0f0f0;
	transition:all 0.3s ease-in-out;
}

sidebar.closed{
	-webkit-transform: translate3d(-100%,0,0);
    transform: translate3d(-100%,0,0);
}

sidebar.locked{
	position: fixed !important;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

sidebar header h1{
	-webkit-flex: 1;
    flex: 1;
}

sidebar section{
	-webkit-flex: 1;
    flex: 1;
}

sidebar h2{
	margin-top: 30px;
	color: #43BEEB; 
	font-size: 1.1em;
	font-weight: 500;
}

/* main */
main {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column ;
}

main header {
	background-color: #333;	
}

main header button.openSidebar{
	border: 2px solid #fff;
	width: 30px;
	height: 30px;
	background-color: rgba(33,33,33,0);
	transition:background-color 0.3s linear;
	margin: 10px;
}

main header button.openSidebar:hover{
	background-color: rgba(33,33,33,0.3);
}

main header tabs {
	margin-left: 20px;
	margin-right: 10px;
	display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    
	align-self: flex-end;
	-webkit-flex: 1;
    flex: 1;
	height: 40px;
}

main header tabs>div, main header tabs>button{
	height: 40px;
	background-color: #666;
	color: #eee;
	padding: 0 20px 0 20px;
	margin: 0 2px 0 2px;
	border-bottom: 3px solid #333;
	line-height: 40px;
	cursor: pointer;
	transition:background-color 0.3s linear, color 0.3s linear;
}

main header tabs>div:hover{
	color: #FF0370;
	background-color: #eee;
}

main header tabs>button{
	background-color: #FF0370;
	color: #fff;
	width: 40px;
	padding: 0;
	display: -webkit-flex;display: -ms-flexbox;display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

main header tabs>button:hover{
	background-color: #43BEEB;
}

main header tabs>div.active{
	border-bottom: 0;
	background-color: #fff;
	color: #FF0370;
	margin: 0 2px 0 2px;
	cursor:  default ;
}

main header tabs>span{
	-webkit-flex: 1;
    flex: 1;
}

main section {
    height:100%;
    width:100%;
    padding:0;
    margin: 0;
    overflow:auto;
}

main section .container{
    padding-right: 2rem;
    padding-left: 2rem;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
    margin: 0 auto;
    max-width:1200px;
}

main section h1{
    color:#43BEEB;margin:50px 0 30px 0;max-height:43px;
}

/* responsive utilities: visible */
.visible-xs,
.visible-sm,
.visible-md,
.visible-lg {
  display: none !important;
}
@media (max-width: 767px) {
   main section .container{
       padding-left:0;
       padding-right:0;
   }

  .visible-xs {
    display: block !important;
  }
  table.visible-xs {
    display: table !important;
  }
  tr.visible-xs {
    display: table-row !important;
  }
  th.visible-xs,
  td.visible-xs {
    display: table-cell !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
   .container{
       padding-left:0;
       padding-right:0;
   }

  .visible-sm {
    display: block !important;
  }
  table.visible-sm {
    display: table !important;
  }
  tr.visible-sm {
    display: table-row !important;
  }
  th.visible-sm,
  td.visible-sm {
    display: table-cell !important;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .visible-md {
    display: block !important;
  }
  table.visible-md {
    display: table !important;
  }
  tr.visible-md {
    display: table-row !important;
  }
  th.visible-md,
  td.visible-md {
    display: table-cell !important;
  }
}
@media (min-width: 1200px) {
  .visible-lg {
    display: block !important;
  }
  table.visible-lg {
    display: table !important;
  }
  tr.visible-lg {
    display: table-row !important;
  }
  th.visible-lg,
  td.visible-lg {
    display: table-cell !important;
  }
}

/* responsive utilities: hidden */

@media (max-width: 767px) {
  .hidden-xs {
    display: none !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .hidden-sm {
    display: none !important;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .hidden-md {
    display: none !important;
  }
}
@media (min-width: 1200px) {
  .hidden-lg {
    display: none !important;
  }
}

.sk-cube-grid {
  width: 50px;
  height: 50px;
  margin: 10px;
}

.sk-cube-grid .sk-cube {
  width: 33%;
  height: 33%;
  background-color: #fff;
  float: left;
  -webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
          animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out; 
}
.sk-cube-grid .sk-cube1 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; }
.sk-cube-grid .sk-cube2 {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s; }
.sk-cube-grid .sk-cube3 {
  -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s; }
.sk-cube-grid .sk-cube4 {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s; }
.sk-cube-grid .sk-cube5 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; }
.sk-cube-grid .sk-cube6 {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s; }
.sk-cube-grid .sk-cube7 {
  -webkit-animation-delay: 0s;
          animation-delay: 0s; }
.sk-cube-grid .sk-cube8 {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s; }
.sk-cube-grid .sk-cube9 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; }

@-webkit-keyframes sk-cubeGridScaleDelay {
  0%, 70%, 100% {
    -webkit-transform: scale3D(1, 1, 1);
            transform: scale3D(1, 1, 1);
  } 35% {
    -webkit-transform: scale3D(0, 0, 1);
            transform: scale3D(0, 0, 1); 
  }
}

@keyframes sk-cubeGridScaleDelay {
  0%, 70%, 100% {
    -webkit-transform: scale3D(1, 1, 1);
            transform: scale3D(1, 1, 1);
  } 35% {
    -webkit-transform: scale3D(0, 0, 1);
            transform: scale3D(0, 0, 1);
  } 
}


.end-value{
    font-size:1.3em;
    font-family: 'Open Sans', sans-serif;
}

.scenario-0 .end-value{
    color:#4ECE4E;
}

.scenario-1 .end-value{
    color:#4ECE4E;
}

.scenario-2 .end-value{
    color:#43BEEB;
}

.scenario-3 .end-value{
    color:#FF3B30;
}

.scenario-4 .end-value{
    color:#FF3B30;
}

.goalAmount  .scenario-icon{
    border:1px dashed #000;
}

.scenario-icon{
    width:20px;height:0;
}

.scenario-0 .scenario-icon{
    border:1px solid #4ECE4E;
}

.scenario-1 .scenario-icon{
    border:1px dashed #4ECE4E;
}

.scenario-2 .scenario-icon{
    border:1px solid #43BEEB;
}

.scenario-3 .scenario-icon{
    border:1px dashed #FF3B30;
}

.scenario-4 .scenario-icon{
    border:1px solid #FF3B30;
}