/*!
 * Sidewinder
 *
 * Copyright 2013–2016 McKay Ltd
 */
/*
 *  Fonts, Sizes and Colours
 *  base font size 12
 *  Main headings - Oswald 700
 *  sub headings  - Arial Narrow 140%
 *  general body -  Tahoma 120%
 *  light blue - #C6D4DA
 *  mid blue - #208da6
 *  dark grey - #0D1e28
 *  orange - #d4522a
 *  sick orange - #Bc832b
 */

html {
  font-size: 12px;
}

h1, .h1 {
    font-size: 36px;
}

h2, .h2 {
    font-size: 30px;
}

h3, .h3 {
    font-size: 26px;
}

h4, .h4 {
    font-size: 20px;
}

.project .checkbox input[type=checkbox] {
  z-index:-5;
}

.sidebar .logo, .bootstrap-navbar .logo {
  height: 99px;
  margin-left: -7px;
  border-bottom: none;
}

.sidebar .logo .logo-text, .bootstrap-navbar .logo .logo-text {
  padding: 5px 15px 5px 0px;
}

.no-navbar-info.login .sidebar-wrapper,
.no-navbar-info.login .sidebar .logo,
.no-navbar-info.logout .sidebar-wrapper,
.no-navbar-info.logout .sidebar .logo  {
  border-right: 2px solid #777;
}

.sidebar .logo::before, .bootstrap-navbar .logo::before {
    height: 0;
    background-color: transparent;
}

.navbar-default {
  border-bottom: none;
}
.main-panel {
  background: #ffffff;
  z-index: 100;
}

h2 .fa {
  width: 25px;
}

.nav-text > li.active a, .nav-icons > li.active a {
  color: #ba2f26;
}

a, a:active, a:visited  {
/*  color: #208da6; */
  color: #0d38ab;
}

a:hover{
  color: #b82b25;
}

.has-navbar-info,
.no-navbar-info {
/*  background-color: #b11f24;
  background-image: linear-gradient(to right, rgb(246, 158, 54), rgb(208, 93, 59), rgb(208, 90, 62), rgb(238, 132, 72), rgb(232, 138, 52));
*/
}

.no-navbar-info.logout>nav.navbar-default,
.no-navbar-info.login>nav.navbar-default {
  background-color: #fff;
  border-bottom: none;
  background-image: linear-gradient(to right, rgba(255, 165, 52, 0.3), #fff);

}
.no-navbar-info.login>div.main-panel,
.no-navbar-info.logout>div.main-panel {
  background-image: linear-gradient(to right, rgba(255, 165, 52, 0.3), #fff);
  background-color: #fff;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:not(.btn):hover,
.navbar-default .navbar-nav > .active > a:not(.btn):focus,
.navbar-default .navbar-nav > li > a:not(.btn):hover,
.navbar-default .navbar-nav > li > a:not(.btn):focus {
  /* color: #d4522a; */
  color: #b11f24;
}
.navbar-default .navbar-nav > .dropdown > a:hover .caret, 
.navbar-default .navbar-nav > .dropdown > a:focus .caret {
  border-bottom-color: #d4522a;
  border-top-color: #d4522a;
}

.navbar-default .navbar-nav > li > a:not(.btn) {
  color: #ffffff;
}

.navbar-default .navbar-brand {
  color: #ffffff;
  font-size: 30px;
}
.navbar-default .navbar-brand:hover {
  color: #343232;
}
.midscreen {
  padding-top: 100px;
}

.scr-login-out {
  width: 450px;
  margin:auto;
}

#upload_form {
  padding-bottom: 10px;
}

.logcard .content {
  padding: 15px;
}

.logcard .title, .logcard .header {
  padding: 15px 10px 0px;
  color: #b12024;
  font-weight: 500;
}
.logcard .footer {
  padding: 0 15px 10px;
  background-color: transparent;
  line-height: 30px;
}
.user p {
  text-align: left;
}

#searches td.ahref {
  color: #b12024;
}
#searches td.ahref:hover {
  color: #b12024;
}
.card form [class*="col-"].nudge-right {
  padding-left: 15px;
}

.tab-pane {
    padding: 10px 0;
}

#cableview .nav-tabs>li {
  float: inherit;
}

#cable-overview .nav-icons > li > a i,
#organisation-projects .nav-icons > li > a i,
#admin-tools .nav-icons > li > a i,
#root-tools .nav-icons > li > a i {
  font-size: 2em;
  margin-bottom: 0;
}

#cable-overview p,
#organisation-projects p,
.work-tabtext,
#admin-tools p,
#work-pack p,
#root-tools p {
  font-size: 25px;
  margin: 0 15px;
}

#work-pack li,
#work-pack a {
  height: 40px;
}

#cableview .nav-tabs>li.active>a,
#cableview .nav-tabs>li.active>a:focus,
#cableview .nav-tabs>li.active>a:hover {
  font-size: 17px;
  color: #b82b25;
  font-weight: 700;
  background-color: #f5f5f5;
  border-bottom-color: #ddd;
}

#cableview .panel-title {
  color: #b82b25;
}

#cableview .nav-tabs>li>a {
  color: #777;
}

#cableview .tab-pane {
  padding-top: 0;
}

#cabpartrun {
  margin: auto;
  width: 40px;
  height: 40px;
  background: url('/img/cabpartrun-sp.png') 0 0 no-repeat;
}

li.active #cabpartrun {
  left: 40px;
  width: 40px;
  background: url('/img/cabpartrun-sp.png') -40px 0 no-repeat;
}

#cabunrun {
  margin: auto;
  width: 40px;
  height: 40px;
  background: url('/img/cabunrun-sp.png') 0 0 no-repeat;
}

li.active #cabunrun {
  left: 40px;
  width: 40px;
  background: url('/img/cabunrun-sp.png') -40px 0 no-repeat;
}

#cabunterm {
  margin: auto;
  width: 40px;
  height: 40px;
  background: url('/img/cabunterm-sp.png') 0 0 no-repeat;
}

li.active #cabunterm {
  left: 40px;
  width: 40px;
  background: url('/img/cabunterm-sp.png') -40px 0 no-repeat;
}

#cabuntest {
  margin: auto;
  width: 40px;
  height: 40px;
  background: url('/img/cabuntested-sp.png') 0 0 no-repeat;
}

li.active #cabuntest {
  left: 40px;
  width: 40px;
  background: url('/img/cabuntested-sp.png') -40px 0 no-repeat;
}

#pipunrel {
  margin: auto;
  width: 40px;
  height: 40px;
  background: url('/img/pipunrel-sp.png') 0 0 no-repeat;
}

li.active #pipunrel {
  left: 40px;
  width: 40px;
  background: url('/img/pipunrel-sp.png') -40px 0 no-repeat;
}
#pipunfab {
  margin: auto;
  width: 40px;
  height: 40px;
  background: url('/img/pipunfab-sp.png') 0 0 no-repeat;
}

li.active #pipunfab {
  left: 40px;
  width: 40px;
  background: url('/img/pipunfab-sp.png') -40px 0 no-repeat;
}
#pipunpaint {
  margin: auto;
  width: 40px;
  height: 40px;
  background: url('/img/pipunpaint-sp.png') 0 0 no-repeat;
}

li.active #pipunpaint {
  left: 40px;
  width: 40px;
  background: url('/img/pipunpaint-sp.png') -40px 0 no-repeat;
}

#pipuninst {
  margin: auto;
  width: 40px;
  height: 40px;
  background: url('/img/pipuninst-sp.png') 0 0 no-repeat;
}

li.active #pipuninst {
  left: 40px;
  width: 40px;
  background: url('/img/pipuninst-sp.png') -40px 0 no-repeat;
}
#pipuntest {
  margin: auto;
  width: 40px;
  height: 40px;
  background: url('/img/pipuntest-sp.png') 0 0 no-repeat;
}

li.active #pipuntest {
  left: 40px;
  width: 40px;
  background: url('/img/pipuntest-sp.png') -40px 0 no-repeat;
}

.card .title,
.card .header {
  padding: 15px 10px 0px;
  color: #b12024;
  font-weight: 500;
}

.card .content {
    padding: 25px;
}

.card .category, .card .form-group > label {
  padding: 15px 10px 0px;
}

.project .form-group > label {
  padding: 0px 10px 10px 25px;
  text-transform: none;
  font-weight: 800;
  color: #333333;
}

.checkbox.checked .icons, .radio.checked .icons {
    color: #b11f24;
}

.checkbox.checked .second-icon, .radio.checked .second-icon {
    color: #b11f24;
}

.card {
/*  -webkit-box-shadow: 1px 1px 6px 1px rgba(0,0,0,0.75);
  -moz-box-shadow: 1px 1px 6px 1px rgba(0,0,0,0.75);
  box-shadow: 1px 1px 6px 1px rgba(0,0,0,0.75);
  */
  box-shadow: none;
  border-radius: 0;
}

.import-export>.card {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.title-text h2 {
  display: inline-block;
}

hr.grad-lr {
  margin-top: 5px;
  border: 0;
  height: 1px;
  background-image: linear-gradient(to right, rgba(186,48,38, 0.75), rgba(186,48,38, 0.55), rgba(186,48,38, 0));
}

hr {
  margin-bottom: 12px;
}

.content-panel-child {
  width: 90%;
  max-width: 500px;
  margin: auto;
  padding: 20px;

}

footer  {
  background: url("../img/bottom-line.png") no-repeat right bottom;
  padding: 10px 20px;
  margin: 15px 15px;
  opacity: 0.5;
  filter: alpha(opacity=50);
}

.pagination > li.active > a,
.pagination > li.active > span,
.pagination > li.active > a:hover,
.pagination > li.active > span:hover,
.pagination > li.active > a:focus,
.pagination > li.active > span:focus {
  background-color: #ba2f26;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
  margin: 8px 0 10px;
  font-weight: 500;
}

h2, .h2 {
  color: #b11f24;
}

.fa {
  margin-right: 20px;
}

.sidebar-wrapper {
  padding-bottom: 20px;

}

/* [class^="pe-7s-"], [class*=" pe-7s-"] {
  vertical-align: middle;
}
 */
.row-title {
  color: #0D1e28;
  padding-left: 15px;
  padding-bottom: 20px;

}

.selectize-control {
  max-width: 450px;
}
.sw-dropdown:hover {
  cursor: pointer;
}

/* .midscreen.btn-primary {
  background-color: #d6522b;
  color: #fff;
} */

.btn-primary {
  background-color: #ba2f26;
  border-color: #ba2f26;
  color: #fff;
}
.btn-primary:hover {
  background-color: #c81207;
  border-color: #c81207;
  color: #fff;
}

.btn-primary:focus,
.btn-primary:active:focus,
.btn-primary:active,
.btn-primary:visited
{
  background-color: #ba2f26;
  border-color: #ba2f26;
  color: #fff;
}

/* @media (min-width: 768px) {
  .sidebar {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    overflow-x: hidden;
    overflow-y: auto; Scrollable contents if viewport is shorter than content.
    background-color: #f5f5f5;
  }
} */

/* Sidebar navigation */
.sidebar .sidebar-wrapper {
  position: fixed;
  height: 100vh;
  overflow: scroll !important;
}
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding: 8px 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff;
  background-color: #428bca;
}

@media print {

  .no-print, .no-print * {
    display: none;
  }

  .col-sm-offset-3, .col-md-offset-2 {
    margin-left: 0;
  }
  .col-sm-9, .col-md-10 {
    width: 100%;
  }

  body {
    padding: 0;
    margin: 0;
  }

  a[href]:after {
    content: "";
  }

  .progress {
    background-color: #F5F5F5 !important;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#F5F5F5', endColorstr='#F5F5F5')" !important;
    }

    .progress-bar-info {
    display: block !important;
        background-color: #5BC0DE !important;
        -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#5BC0DE', endColorstr='#5BC0DE')" !important;
    }

    .progress-bar-success {
    display: block !important;
        background-color: #5cb85c !important;
        -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#5cb85c', endColorstr='#5cb85c')" !important;
    }

    .progress-bar-danger {
    display: block !important;
        background-color: #d9534f !important;
        -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#d9534f', endColorstr='#d9534f')" !important;
    }

    .progress-bar-warning {
    display: block !important;
        background-color: #f0ad4e !important;
        -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#f0ad4e', endColorstr='#f0ad4e')" !important;
    }

    .progress, .progress > .progress-bar {
    display: block !important;
        -webkit-print-color-adjust: exact !important;

        box-shadow: inset 0 0 !important;
        -webkit-box-shadow: inset 0 0 !important;
    }

}

.row-marketing {
  margin: 0;
}

.row-marketing .col-lg-4 {
  border-radius: 0;
  border-top: 0;
  margin: 0;
}

/* remove side borders on center child */
.row-marketing :nth-child(2) {
  border-left: 0;
  border-right: 0;
}

/*
MARKETING CONTENT
--------------------------------------------------
Pad the edges of the mobile views a bit*/
.marketing {
  padding-left: 15px;
  padding-right: 15px;
}

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  text-align: center;
}
.marketing h2 {
 font-weight: normal;
}


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 80px 0; /* Space out the Bootstrap <hr> more */
}

/*Thin out the marketing headings*/
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
}



/*RESPONSIVE CSS
--------------------------------------------------*/

@media (min-width: 768px) {
  /*Remove the edge padding needed for mobile*/
  .marketing {
  padding-left: 0;
  padding-right: 0;
  }

  /*Navbar positioning foo*/
  .navbar-wrapper {
  margin-top: 20px;
  }
  /*The navbar becomes detached from the top, so we round the corners*/
  .navbar-wrapper .navbar {
  border-radius: 4px;
  }

  /*Bump up size of carousel content*/
  .carousel-caption p {
  margin-bottom: 20px;
  font-size: 21px;
  line-height: 1.4;
  }

  .featurette-heading {
  font-size: 50px;
  }

}

@media (min-width: 992px) {
  .featurette-heading {
  margin-top: 60px;
  }
}

.input-group-btn .btn {
  background-color: #f5f5f5;
}

.text-primary {
  color: #777;
}

.iphone-screenshot {
  background: url('/img/ipod-frame-black.png') no-repeat;
}
.iphone-screenshot img {
  padding: 178px 24px 160px 37px;
}

.alert-debug {
  background-color: rgba(255, 0, 0, 0.1);
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 10px, #FFF 10px, #FFF 20px);
  border: 2px rgba(255,0,0,0.5) solid;
}

.modal-content-delete {
  background-color: #ff0000;
  border-radius: 5px;
  color: #ffffff;
  padding: 10px;
}

.modal-dialog,
.modal-content {
    /* 80% of window height */
    max-height: 80%;
}

.modal-body {
    max-height: calc(100% - 120px);
    overflow-y: visible;
}

.badge {
  padding: 1px 9px 2px;
  font-size: 12.025px;
  font-weight: bold;
  white-space: nowrap;
  color: #ffffff;
  background-color: #999999;
  -webkit-border-radius: 9px;
  -moz-border-radius: 9px;
  border-radius: 9px;
}
.badge:hover {
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
}
.badge-error {
  background-color: #b94a48;
}
.badge-error:hover {
  background-color: #953b39;
}
.badge-warning {
  background-color: #f89406;
}
.badge-warning:hover {
  background-color: #c67605;
}
.badge-success {
  background-color: #468847;
}
.badge-success:hover {
  background-color: #356635;
}
.badge-info {
  background-color: #3a87ad;
}
.badge-info:hover {
  background-color: #2d6987;
}
.badge-inverse {
  background-color: #333333;
}
.badge-inverse:hover {
  background-color: #1a1a1a;
}

.hidden {
display: none;
}

/* PLEASE WAIT SPINNER */

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

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

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

/* CSS CONTROLLED PROGRESS BAR */

@-webkit-keyframes progressbar {
    0% {width: 0%; background-color: #5BC0DE;}
   100% {width: 100%; background-color: #5CB85C;}
}
@-o-keyframes progressbar {
    0% {width: 0%; background-color: #5BC0DE;}
   100% {width: 100%; background-color: #5CB85C;}
}
@keyframes progressbar {
    0% {width: 0%; background-color: #5BC0DE;}
   100% {width: 100%; background-color: #5CB85C;}
}

.progress {
  height: 15px;
  border-radius: 10px;
  background-color: #E6E6E6;
  box-shadow: inset 14px 15px 10px rbga(0, 0, 0, 0.9);
}

#progress-auto {
  -webkit-animation-name: progressbar;
  animation-name: progressbar;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  -webkit-animation-duration: 30s;
  animation-duration: 30s;
  -webkit-animation-direction: normal;
  animation-direction: normal;
}

@media screen and (min-width: 768px) {
    .pdf-modal-class {
        width: 80%;
    }
}

.navbar-default {
  /* perfect match to top of sidebar */
  background-color: #407af7 !important;

  height: 64px !important;
}
