/* BASIC STYLINGS
============================================================================= */

html {
    position: relative;
    min-height: 100%;
}
body {
    margin: 0 0 100px 0;
	/*overflow: hidden;*/
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'CoreSansA45Regular', sans-serif;
    color: #000000;
}

h5, .h5 {
    line-height: 1.3;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-button {
  display: none!important;
}

::-webkit-scrollbar-thumb:vertical {
  height: 2px;
  border: 0;
  background: #ccc;
}

::-webkit-scrollbar-thumb:horizontal {
  width: 2px;
  border: 0;
  background: #ccc;
}

:focus {
    outline: none !important;

}


/*
[type="checkbox"],
[type="checkbox"]:checked {
    max-height: 16px;
}
*/
a:focus {
    outline: none;
    outline-offset: -2px;
}

.coloredinput.ng-not-empty {
    background-color: rgb(0, 199, 242);
}

.nopadding {
   padding: 0 !important;
   margin: 0 !important;
}

.nopadding-left {
	padding-left: 0 !important;
}

.nopadding-top {
	padding-top: 0 !important;
}

.nopadding-bottom {
	padding-bottom: 0 !important;
}

.row {
    margin-left: 0px; 
    margin-right: 0px;
}

.btn {
    -webkit-transition: background-color 0.1s ease-out;
    -moz-transition: background-color 0.1s ease-out;
    -o-transition: background-color 0.1s ease-out;
    transition: background-color 0.1s ease-out;
}

.btn.btn-primary {
    background-color: #00c7f2;
    border-color: #00c7f2;
}

.btn.btn-primary:hover {
    background-color: #00d7ff;
    border-color: #00d7ff;
}

.btn.btn-primary.dark {
    background-color: #000000;
    border-color: #000000;
}

.btn.btn-default.light {
    background-color: #ffffff;
    color: red;
    border-color: rgba(255, 0, 0, 0.24);
    font-size: 12px;
    border: 0.25px solid transparent;
    border-radius: 3px;
}

.btn.btn-block.blue {
	background-color: #00c7f2;
    border-color: #00c7f2;
	color: #ffffff; 
}
.btn.blue:hover, .btn.blue:active, .btn.blue:focus {
	background-color: rgba(0, 199, 242, 0.6);
    border-color: rgba(0, 199, 242, 0.6);
	color: #ffffff; 
}

.btn.btn-link {
    color: rgb(0, 199, 242);
}

.btn.btn-link:hover, .btn.btn-link:active, .btn.btn-link:focus,
.btn.light-blue:hover, .btn.light-blue:active, .btn.light-blue:focus
{
	color: rgba(0, 199, 242, 0.6);
}

.btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: all !important;
}

.h3 {
    line-height: 1.4;
    font-size: 22px;
    font-family: CoreSansA55Medium;
}

.h4 {
    line-height: 1.25;
    font-size: 18px;
}

input, button, select, textarea {
   line-height: initial;
}

.form-control, input {
  border-width: 1px;
  height: 50px;
}

.form-control:focus {
    border-color: #00c6f4;
}

.form-group {
    margin-bottom: 0px;
}

input.ng-dirty.ng-invalid {
    border-color: red;
}

.input-group-addon {
    background: #ffffff;
    color: #00c7f2;
    min-width: 58px;
}

/**************************************
 5 columns grid 
***************************************/
.col-xs-15,
.col-sm-15,
.col-md-15,
.col-lg-15 {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}

.col-xs-15 {
    width: 20%;
    float: left;
}
@media (min-width: 768px) {
.col-sm-15 {
        width: 20%;
        float: left;
    }
}
@media (min-width: 992px) {
    .col-md-15 {
        width: 20%;
        float: left;
    }
}
@media (min-width: 1200px) {
    .col-lg-15 {
        width: 20%;
        float: left;
    }
}



.navbar
{
    height: 100px;
    border: none;
    padding-top: 30px;
    padding-bottom: 30px;
    margin-bottom: 30px;
    background-color: rgb(246, 246, 246);
    box-shadow: 0px 0px 7px 0px rgba(7, 4, 6, 0.17);
}

.navbar-brand
{
    position: absolute;
    width: 100%;
    left: 0;
    text-align: center;
    margin:0 auto;
}
.navbar-toggle {
    z-index:3;
}
.navbar-collapse.collapse {
  display: block!important;
}

.navbar-nav>li, .navbar-nav {
  float: left !important;
}

.navbar-nav.navbar-right:last-child {
  margin-right: -15px !important;
}
.right, .navbar-right {
  float: right!important;
}
.navbar-nav>li>a {
	padding-top: 0px;
	line-height: 50px;
}

.footer {
    position: absolute;
    left: 0;
    bottom: 0;
    /*height: 140px;*/
    min-height: 120px;
    width: 100%;
}

@media (max-width: 768px) {
    .footer {
        position: static;
    }
}
@media (min-width: 1200px) {
  .container {
    width: 1050px;
  }
}

#content {
	max-height: calc(100% - 310px); /* navbar height + navbar bottommmargin + footer height */
    overflow-y: visible;
    /*padding: 0px 10%;*/
}

#content.shortFooter {
    max-height: calc(100% - 250px); /* navbar height + navbar bottommmargin + footer height (i.e. aplayer)*/
    overflow-y: visible;
    /*padding: 0px 10%;*/
}

.vertical-center {
  height:100%;
  width:100%;

  text-align: center;  /* align the inline(-block) elements horizontally */
  font: 0/0 a;         /* remove the gap between inline(-block) elements */
}

.vertical-center:before {    /* create a full-height inline block pseudo=element */
  content: " ";
  display: inline-block;
  vertical-align: middle;    /* vertical alignment of the inline element */
  height: 100%;
}

.vertical-center > .container {
  max-width: 100%;

  display: inline-block;
  vertical-align: middle;  /* vertical alignment of the inline element */
                           /* reset the font property */
  font: initial;
}

@media (max-width: 768px) {
  .vertical-center:before {
    height: auto;
    /* Or */
    display: none;
  }
}

.form-control {
    color: #000000;
    font-size: 18px;
}

/*//////////////////////////////////////////////////
// ref: http://www.bootply.com/ugwCnanAfm
///////////////////////////////////////////////////*/
/* CSS used here will be applied after bootstrap.css */	/* custom checkboxes */
.custom-checkbox > [type="checkbox"],
.custom-checkbox > label{
    margin-bottom:0px !important;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.custom-checkbox > [type="checkbox"]:not(:checked),
.custom-checkbox > [type="checkbox"]:checked {
    position: absolute;
    left: -9999px;
}
.custom-checkbox > [type="checkbox"]:not(:checked) + label,
.custom-checkbox > [type="checkbox"]:checked + label {
    position: relative;
    padding-left: 22px;
    cursor: pointer;
}
.custom-checkbox > [type="checkbox"]:not(:checked) + label:before,
.custom-checkbox > [type="checkbox"]:checked + label:before {
    content: '';
    position: absolute;
    left:0;
    top: 30%;/*50%;*/
    margin-top:-9px;
    width: 17px;
    height: 17px;
    border: 1px solid #ddd;
    background: #ffffff;
    border-radius: 2px;
}
.custom-checkbox > [type="checkbox"]:not(:checked) + label:after,
.custom-checkbox > [type="checkbox"]:checked + label:after {
    /*font: normal normal normal 14px/1 'FontAwesome';
    content: '\f00c';*/
    font: normal normal normal 14px/1 'icomoon';
    content: "\e921";
    position: absolute;
    top: 30%;/*50%;*/
    margin-top: -9px; /*-8px;*/
    left: 0px; /*1px;*/
    color: #ffffff;
    background: rgb(0, 199, 242);/*#ffffff;*/
    xtransition: all .2s;
    width: 17px;
    height: 17px;
    font-size: 8px;
    line-height: 18px;
    padding-left: 1px;
}

.custom-checkbox > [type="checkbox"]:not(:checked) + label:after {
    opacity: 0;
    transform: scale(0);
}
.custom-checkbox > [type="checkbox"]:checked + label:after {
    opacity: 1;
    transform: scale(1);
    text-align: center;
}

.custom-checkbox > [type="checkbox"][data-indeterminate] + label:after,
.custom-checkbox > [type="checkbox"][data-indeterminate] + label:after {
    content: '\2212';
    left: 2px;
    opacity: 1;
    transform: scale(1);
}

.custom-checkbox > [type="checkbox"]:disabled:not(:checked) + label:before,
.custom-checkbox > [type="checkbox"]:disabled:checked + label:before {
    box-shadow: none;
    background-color: #eeeeee;
    border-color: #eeeeee;
    cursor: not-allowed;
    opacity: 1;
    color: #dadada;
}
.custom-checkbox > [type="checkbox"]:disabled:checked + label:after {
    color: #dadada; cursor: not-allowed;
}
.custom-checkbox > [type="checkbox"]:disabled + label {
    color: #aaa; cursor: not-allowed;
}
.custom-checkbox > [type="checkbox"]:checked:focus + label:before,
.custom-checkbox > [type="checkbox"]:not(:checked):focus + label:before {
    border: 1px solid #66afe9;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
.custom-checkbox > label:hover:before {
    border: 1px solid #88D2FF !important;
}
.custom-checkbox > [type="checkbox"]:disabled:not(:checked) + label:hover:before,
.custom-checkbox > [type="checkbox"]:disabled:checked + label:hover:before{
    border: 1px solid #E4E4E4 !important;
}

.iagree {
    font-size: 14px;
    font-weight: normal;
    color: rgb(145, 145, 145);
    line-height: 1.5;
}

/*ref:http://stackoverflow.com/questions/31531865/css-change-dropdown-arrow-to-unicode-triangle*/
  .select {
      border:1px solid #e3e3e3;
      border-radius:3px;
      color:#616263;
      overflow: hidden;
      height: 42px;
      width: 240px;
      position: relative;
      display: block;
  }

select{
    height: 42px;
    padding: 5px;
    background-color:#ececec;
    border: 0;
    outline: none;
    font-size: 16px;
    width: 240px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.select:after {
    content:"▼";
    padding: 12px 8px;
    position: absolute;
    right: 0px; top: 0;
    z-index: 1;
    text-align: center;
    width: 10%;
    height: 100%;
    pointer-events: none;
    box-sizing: border-box;
}