/*!
 * Start Bootstrap - SB Admin Bootstrap Admin Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

@import url(https://fonts.googleapis.com/css?family=Open+Sans);

/* Global Styles */

body {
    margin-top: 60px;
    background-color: #eeeeee;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.5em;
}

.angular-google-map-container { height: 600px; }

.message-margins {
    margin-top: 1em;
    margin-bottom: 2em;
}

/*
.hero-img {
    background-image: url("/assets/img/hero/hero-1-9x3.png");
  overflow: hidden;
  height: 0;
  padding-top: 56.25%;
}
*/

.aspect-ratio-box {
  height: 0;
  overflow: hidden;
  padding-top: calc(591.44 / 1127.34 * 100%);
  background: #eeeeee;
  position: relative;
}
.aspect-ratio-box-inside {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.flexbox-centering {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.viewport-sizing {
  font-size: 5vw;
}

@media (max-width: 568px) {
    .hero-img {
        display: none;
    }
}
.ava-text-form {
    margin-left:1em;
    font-style: italic;
}

h2 {
    color:#2989d8; /*#0078d2;*/
}
h4 {
    font-weight: normal;
    color: #3f3f3f;
    margin: 4px 0px;
    font-size: 16px;
}

.leftnavRow {
    margin-top: 10px;
    margin-bottom: 20px;
}

.leftnavTitle {
    font-size: 1.25em;
    color: cornflowerblue;
}

.leftnavText {
    margin-left: 5px;
}

@media (max-width: 768px) {
    .section-main {
        background-color: aliceblue;
    }
    .section-offset {
        background-color: whitesmoke;
    }
}

.panel-american-blue {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#2989d8+0,0010f7+43,0010f7+43,3324b7+77 */
    background: #2989d8;
    /* Old browsers */
    opacity: .75;
    background: -moz-linear-gradient(left, #2989d8 1%, #367dc4 26%, #0019bf 87%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(1%, #2989d8), color-stop(26%, #367dc4), color-stop(87%, #0019bf));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left, #2989d8 1%, #367dc4 26%, #0019bf 87%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left, #2989d8 1%, #367dc4 26%, #0019bf 87%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(left, #2989d8 1%, #367dc4 26%, #0019bf 87%);
    /* IE10+ */
    background: linear-gradient(to right, #2989d8 1%, #367dc4 26%, #0019bf 87%);
    /* W3C */
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#2989d8', endColorstr='#0019bf', GradientType=1);
    /* IE6-9 */
    color: whitesmoke;
}

.panel-american-grey-blue {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#a8a8a8+1,367dc4+90,367dc4+100 */
    background: #a8a8a8;
    /* Old browsers */
    background: -moz-linear-gradient(left, #a8a8a8 1%, #367dc4 90%, #367dc4 100%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(1%, #a8a8a8), color-stop(90%, #367dc4), color-stop(100%, #367dc4));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left, #a8a8a8 1%, #367dc4 90%, #367dc4 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left, #a8a8a8 1%, #367dc4 90%, #367dc4 100%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(left, #a8a8a8 1%, #367dc4 90%, #367dc4 100%);
    /* IE10+ */
    background: linear-gradient(to right, #a8a8a8 1%, #367dc4 90%, #367dc4 100%);
    /* W3C */
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#a8a8a8', endColorstr='#367dc4', GradientType=1);
    /* IE6-9 */
    color: white;
}

.panel-american-red {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ed042b+0,8f0222+65,6d0019+100 */
    background: #ed042b;
    /* Old browsers */
    background: -moz-linear-gradient(left, #ed042b 0%, #8f0222 65%, #6d0019 100%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%, #ed042b), color-stop(65%, #8f0222), color-stop(100%, #6d0019));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left, #ed042b 0%, #8f0222 65%, #6d0019 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left, #ed042b 0%, #8f0222 65%, #6d0019 100%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(left, #ed042b 0%, #8f0222 65%, #6d0019 100%);
    /* IE10+ */
    background: linear-gradient(to right, #ed042b 0%, #8f0222 65%, #6d0019 100%);
    /* W3C */
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#ed042b', endColorstr='#6d0019', GradientType=1);
    /* IE6-9 */
    color: whitesmoke;
}

.logo-font {
    font-size: 24px;
    vertical-align: middle;
    font-weight: bold;
}

@media(max-width:768px) {
    .logo-font {
        font-size: 16px;
    }
}

.navbar-default .navbar-nav>li>a:focus,
.navbar-default .navbar-nav>li>a:hover {
    color: #337ab7;
    background-color: #e7e7e7;
}


/*
.navbar-default .navbar-nav>.open>a,
    .navbar-default .navbar-nav>.open>a:focus,
    .navbar-default .navbar-nav>.open>a:hover {
        color: #337ab7;
        background-color: #e7e7e7;
        border-top: 2px solid #337ab7;
}
*/

footer {
    background-color: #d0dae0;
}

footer li {
    list-style-type: none;
}

.footer-brand {
    text-align: center;
}


/* override flexsliders's margins as it is huge and wastes space */

.flexslider {
    margin: 10px 0px 10px 0px ! important;
}


/* override the directional controls to make sure they never show */

.flex-direction-nav {
    display: none ! important;
}

.hero-rotator {
    /*    max-height: 300px;*/
    /*    line-height: 450px;*/
    /*    width:975px; */
    /*    height:300px;*/
    /*    background-color:rgb(230,230,230);*/
    overflow: visible !important/*Firefox*/
    ;
    overflow: hidden/*IE6*/
    ;
    /*    margin-top: 20px;*/
    padding: 0px 0px;
    /*    margin-left:-30px;*/
    /*    margin-right:-25px;*/
    margin-bottom: 5px;
    text-align: center;
    vertical-align: top;
}

.left-rail {
    /*    max-height: 300px;*/
    line-height: 300px;
    /*    width:975px; */
    /*    height:300px;*/
    /*    background-color:rgb(230,230,230);*/
    overflow: visible !important/*Firefox*/
    ;
    overflow: hidden/*IE6*/
    ;
    /*    margin-top: 20px;*/
    vertical-align: top;
    /*    margin-right:-30px;*/
    /*
    margin-left:-15px;
    margin-right:-25px;
*/
    /*    margin-bottom: 20px;*/
    margin: 0px -30px 0px 0px;
    text-align: right;
    background-color: aqua;
}

.hero-rotator img {
    text-align: center;
    max-height: 400px;
}

@media(max-width:768px) {
    .hero-rotator {
        display: none;
    }
}

.huge {
    font-size: 50px;
    line-height: normal;
}

.medium {
    font-size: 25px;
}


/* Top Navigation */

.navbar {
    background: whitesmoke;
}

.navbar-brand {
    padding: 5px 5px;
    height: 55px;
}

@media(max-width:400px) {
    .navbar {
        margin-bottom: 0px;
    }
    .navbar-brand>img {
        height: 48px;
    }
    .side-nav {
        display: none;
        padding-bottom: 0px;
    }
    .wrapper {
        margin-top: -35px;
    }
}

.main-section {
    margin-top: 10px;
    border-left: 1px solid lightgrey;
}

#clk {
    text-align: center;
}

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 {
        overflow-y: auto;
        background-color: white;
        bottom: 0;
        overflow-x: hidden;
        padding-bottom: 40px;
        margin-top: 10px
    }
    .side-nav>li {
        padding: 0px 10px 0px 10px;
        width: 225px;
    }
    .side-nav>li>a {
        width: 225px;
    }
    .side-nav li a:hover,
    .side-nav li a:focus {
        outline: none;
        background-color: lightgrey !important;
        width: 225px;
    }
}

.side-nav>ul {
    padding: 0;
    list-style-type: none;
}

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

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

.side-nav>li>p {
    text-align: center;
    width: 100% !important;
}


/* Flot Chart Containers */

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

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


/* Custom Colored Panels */

.huge {
    font-size: 40px;
}

.panel-green {
    border-color: #5cb85c;
}

.panel-green > .panel-heading {
    border-color: #5cb85c;
    color: #fff;
    background-color: #5cb85c;
}

.panel-green > a {
    color: #5cb85c;
}

.panel-green > a:hover {
    color: #3d8b3d;
}

.panel-red {
    border-color: #d9534f;
}

.panel-red > .panel-heading {
    border-color: #d9534f;
    color: #fff;
    background-color: #d9534f;
}

.panel-red > a {
    color: #d9534f;
}

.panel-red > a:hover {
    color: #b52b27;
}

.panel-yellow {
    border-color: #f0ad4e;
}

.panel-yellow > .panel-heading {
    border-color: #f0ad4e;
    color: #fff;
    background-color: #f0ad4e;
}

.panel-yellow > a {
    color: #f0ad4e;
}

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


/* --- FOOTER --- */

footer {
    /*  margin: 50px 0 0 0;*/
    /*  background: #fafafa;*/
    background: #d0dae0;
    padding: 30px;
    border-top: 1px solid #ddd;
    clear: both;
    /*    height: 1000px;   helps scroll the footer to the top when hitting the about us link */
}

footer a:link,
footer a:visited {
    color: #2989d8;
    font-size: 10pt;
}

footer a:hover {
    color: blue;
    font-size: 10pt;
}

footer .identifier {
    /*  width: 160px;*/
    height: 35px;
}

footer > div {
    max-width: 940px;
    margin: 0 auto;
}

footer > div > ul {
    display: inline-block;
    vertical-align: top;
    margin-bottom: 20px;
    padding: 0 30px;
}

footer li {
    padding-bottom: 10px;
    font-size: 14pt;
    color: #2989d8;
}

footer li span {
    font-family: 'Century Gothic';
    font-weight: 100;
}

footer li:nth-child(1) {
    padding-bottom: 14px;
}

footer > div > ul > li:nth-child(1) {
    font-weight: 600;
}

footer ul ul {
    margin-left: 16px;
}

.listHeader {
    color: #bbb;
    font-size: 10pt;
    text-transform: uppercase;
    font-weight: 400;
}

.legal {
    text-align: center;
    /*  margin: 40px 0 0 0;*/
}

.legal img {
    margin-bottom: 20px;
    /*  width: 120px;*/
}

.legal p {
    margin: 0;
    font-size: 8pt;
    color: #aaa;
}

.bb-g {
    padding: 4px 0;
    border-bottom: 1px solid #eeeeee;
}


/* --- RESIZING --- */

@media (max-width: 600px) {
    .mobileHide {
        display: none;
    }
}

.aa-line {
    margin: 5px 0;
    margin-bottom: 15px;
    height: 2px;
    border: 0;
    background: #2989d8;
    background: -moz-linear-gradient(left, #2989d8 0%, #a8a8a8 31%, #e3e3e3 53%, #e73827 80%, #ed042b 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, #2989d8), color-stop(31%, #a8a8a8), color-stop(53%, #e3e3e3), color-stop(80%, #e73827), color-stop(100%, #ed042b));
    background: -webkit-linear-gradient(left, #2989d8 0%, #a8a8a8 31%, #e3e3e3 53%, #e73827 80%, #ed042b 100%);
    background: -o-linear-gradient(left, #2989d8 0%, #a8a8a8 31%, #e3e3e3 53%, #e73827 80%, #ed042b 100%);
    background: -ms-linear-gradient(left, #2989d8 0%, #a8a8a8 31%, #e3e3e3 53%, #e73827 80%, #ed042b 100%);
    background: linear-gradient(to right, #2989d8 0%, #a8a8a8 31%, #e3e3e3 53%, #e73827 80%, #ed042b 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#2989d8', endColorstr='#ed042b', GradientType=1);
}

.sexy-line {
    margin: 5px 0;
    margin-bottom: 20px;
    display: block;
    border: none;
    color: white;
    height: 1px;
    background: black;
    background: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 350, from(#000), to(#fff));
}

.sexy-narrow-line {
    margin: 2px 0;
    margin-bottom: 2px;
    border: none;
    color: white;
    height: 1px;
    background: black;
    background: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 150, from(#000), to(#fff));
}

.lastflight-box {
    margin-bottom: 15px;
}

.login-form-link {
    line-height: 20px;
    position: relative;
    display: block;
    padding: 15px 15px;
    color: #777;
    text-decoration: none;
}

.logoff-link a{
    color: red !important;
    text-decoration:underline;
}

@media (min-width: 768px) .login-form-link {
    padding-top: 15px;
    padding-bottom: 15px;
}

.login-form-link a:focus,
login-form-link a:hover {
    color: #337ab7;
    background-color: #e7e7e7;
    border-top: 2px solid #337ab7;
}

.pilotname {
    font-size: 18px;
    font-weight: 500;
    color: #2989d8;
    margin-top: 10px;
    margin-bottom: 15px;
}

.flight-row:hover {
    background-color: #337ab7;
    cursor: pointer;
    color: white;
}

@media (max-width: 768px) {
    .flight-time: {
        display: none;
    }
}

/*
thead {
    background-color: #337ab7;
    color: white;
}
*/

.table-striped>tbody>tr:nth-of-type(even) {
    background-color: aliceblue;
}

#logbookSection {
    background-color: #f9f9f9;
    padding-top: 25px;
    padding-bottom: 25px;
}

.file-pirep {
    color: #337ab7;
    font-size: 14px;
}

.error-message {
    color: red;
}

.has-spinner.active {
    cursor: progress;
}

.has-spinner.active .spinner {
    opacity: 1;
    max-width: 50px;
    /* More than it will ever come, notice that this affects on animation duration */
}
.pirep-form-border {
    border: 1px silver solid;border-radius:4px;padding-top:15px;padding-bottom:10px;
}
.spinner {
    display: inline-block;
    opacity: 0;
    max-width: 0;
    -animation: spin .7s infinite linear;
    -webkit-animation: spin2 .7s infinite linear;
    font-size: 26px;
    color:#337ab7;
}

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

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

.css-form input.ng-invalid.ng-touched {
    background-color: #FA787E;
    color:white;
}

.css-form textarea.ng-valid.ng-touched {
    background-color: #78FA89;
}

.css-form textarea.ng-invalid.ng-touched {
    background-color: #FA787E;
    color:white;
}

.css-form input.ng-valid.ng-touched {
    background-color: #78FA89;
}

.css-form select.ng-invalid.ng-touched {
    background-color: #FA787E;
    color:white;
}

.css-form select.ng-valid.ng-touched {
    background-color: #78FA89;
}


.glyphicon-refresh-animate {
    -animation: spin .7s infinite linear;
    -webkit-animation: spin2 .7s infinite linear;
}

[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
  display: none !important;
}

.tabs-left > .nav-tabs > li,
.tabs-right > .nav-tabs > li {
    float: none;
}

.tabs-left > .nav-tabs > li > a,
.tabs-right > .nav-tabs > li > a {
    min-width: 74px;
    margin-right: 0;
    margin-bottom: 3px;
}

.tabs-left > .nav-tabs {
    float: left;
    margin-right: 19px;
    border-right: 1px solid #ddd;
}

.tabs-left > .nav-tabs > li > a {
    margin-right: -1px;
    -webkit-border-radius: 4px 0 0 4px;
    -moz-border-radius: 4px 0 0 4px;
    border-radius: 4px 0 0 4px;
}

.tabs-left > .nav-tabs > li > a:hover,
.tabs-left > .nav-tabs > li > a:focus {
    border-color: #eeeeee #dddddd #eeeeee #eeeeee;
    cursor:pointer;
}

.tabs-left > .nav-tabs .active > a,
.tabs-left > .nav-tabs .active > a:hover,
.tabs-left > .nav-tabs .active > a:focus {
    border-color: #ddd transparent #ddd #ddd;
    *border-right-color: #ffffff;
    cursor:pointer;
}


.goToTop
{
    position: fixed;
    font-size: 3em;
    bottom:0;
    right:0;
    margin-bottom: 20px;
    margin-right: 20px;
    z-index: 100000;
    cursor: pointer;
}

.dispatcher > h3{
    color: #2989d8;
}
