/* Copyright 2018 Diamond Edge Services*/
/* titan.css */

body{
	font-family: 'Montserrat', sans-serif !important;
	overflow-x: hidden;
}

/* Attributes */

.red-text{
	color: #FF0000;
}

.grey-text{
	color: #555555;
}

.noshow{
	display: none;
}

.inline-block{
    display: inline-block;
}

.eightpt{
    font-size: 8px;
}

.tenpt{
    font-size: 10px;
}

.twelvept{
    font-size: 12px;
}

.fourteenpt{
    font-size: 14px;
}

.sixteenpt{
    font-size: 16px;
}

.twentypt{
    font-size: 20px;
}

.fullcenter{
    text-align:center;
	width: 100%;
}

.fullwidth{
	width: 100%;
}

.fullheight{
	height: 100%;
}

.centertext{
    text-align:center;
}

.righttext{
    text-align:right;
}

.down10{
	margin-top: 10px;
}

.down20{
	margin-top: 20px;
}

.down30{
	margin-top: 30px;
}

.right10{
    margin-left: 10px !important;
}

.nomargin{
	margin: 0 !important;
}

.nopadding{
	padding: 0 !important;
}

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

.height80{
	height: 80px;
}

.flexbox {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 200px;
}

/* Elements */

#admin-container{
    margin: 50px 0 100px 220px;
    padding:15px;
}

#pipeline-container{
    margin: 50px 100px 100px 220px;
    padding:15px;
    min-width: 350px;
}

.pipeline-bordered-container-top{
	border: solid 2px #AAA;
    height: 50vh;
	min-height: 320px;
    border-radius: 20px;
    margin-bottom: 5px;
    -webkit-box-shadow: 5px 5px 10px -2px rgba(0,0,0,0.3);
          box-shadow: 5px 5px 10px -2px rgba(0,0,0,0.3);
}

.pipeline-bordered-container-bottom{
	border: solid 2px #AAA;
    height: 20vh;
    min-height: 200px;
    border-radius: 20px;
    -webkit-box-shadow: 5px 5px 10px -2px rgba(0,0,0,0.3);
          box-shadow: 5px 5px 10px -2px rgba(0,0,0,0.3);
}

.pipeline-bordered-container-bottom-half{
	border: solid 2px #AAA;
    height: 50%;
    min-height: 60px;
    border-radius: 20px;
    margin-bottom: 5px;
    -webkit-box-shadow: 5px 5px 10px -2px rgba(0,0,0,0.3);
          box-shadow: 5px 5px 10px -2px rgba(0,0,0,0.3);
    padding: 10px;
}


.titan-sidebar{
    background: #13536e linear-gradient(#247BA0, #247BA0, #247BA0, #247BA0, #57a6c7, #6ecaef);
    width: 220px;
    max-width: 220px;
    height: 100vh;
    position: fixed;
    top:0;
    left: 0;
    z-index: 100;
    padding: 10px;
}

.sidebar-icon{
    width: 20px;
    text-align: center;
}

.titan-sidebar a{
    color: white;
}

.titan-navbar{
    border-bottom: solid #666 1px;
    box-shadow: 0 0 20px 0 #888;
    height: 50px;
    width: 100vw;
    position: absolute;
    top:0;
    left: 0;
    vertical-align:center;
}

.navbar-username{
    margin-left: 240px;
	font-family: 'Titillium Web', sans-serif;
    line-height: 50px;
}

.navbar-logout{
	position: absolute;
	top: 10px;
	right: 30px;
}

.pipeline-name{
    color: white;
    font-size: 20px;
}

.pipeline-header{
    color: black;
    font-size: 30px;
	font-weight: bold;
	font-family: "Lato", sans-serif;
}

.pipeline-online{
    background-color: #54AA62;
    border-radius: 50%;
    height: 10px;
    width: 10px;
}

.offline{
    color: red !important;
    background-color: red !important;
}

.pipeline-status{
    font-size: 14px;
    color: #54AA62;
}

.pipeline-local-time{
    background-color: #54AA62;
    border-radius: 15px;
    color: white;
    padding: 5px 10px;
    height: auto;
    font-size: 32px;
    position: relative;
}

.active-sidebar-item {
    padding: 3px 7px 3px 10px;
	background-color: rgba(255,255,255,0.1);
    margin: 20px -10px 0;
}

.active-sidebar-item a{
	color: white !important;
}

.sidebar-item a{
	color: rgba(255,255,255,0.6);
    padding: 7px 7px 7px 15px;
    margin: 20px -10px 0;
    cursor: pointer;
	font-size: 10px;
}

.sidebar-item label{
	color: rgba(255,255,255,0.6);
    padding: 7px 7px 7px 15px;
    margin: 10px -10px 0;
    cursor: pointer;
	font-size: 10px;
}

.sidebar-item a:hover, .sidebar-item label:hover{
	color: rgba(255,255,255,0.8) !important;
}

.titan-pipeline-logo{
	margin: 10px auto;
}

.breadcrumbs{
	padding-left: 20px;
	font-size: 16px;
}

.titan-map{
	border-radius: 20px;
}

.pipeline-container-header{
	background-color: #EEE;
	border-radius: 20px 20px 0 0;
	padding: 3px 3px 3px 10px;
	font-size: 12px;
}

.table-container{
    overflow-y: scroll;
}

.titan-table{
	width: 100%;
	padding: 10px;
	font-size: 10px;
}

.titan-table tr:nth-child(even) {
	background: #EEE;
}

.titan-table tr {
	border-bottom: solid #BBB 1px;
}

.titan-table td, .titan-table th {
	padding: 5px 5px 5px 10px;
}


/* Scrollbar */

/* width */
.table-container::-webkit-scrollbar {
    width: 5px;
    left: -20px;
}

/* Track */
.table-container::-webkit-scrollbar-track {
    border: none;
    border-radius: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Handle */
.table-container::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 10px;
    height: 25%;
}

/* Handle on hover */
.table-container::-webkit-scrollbar-thumb:hover {
    background: #777;
    right: 50px;
}

.last-passage-name{
    font-size: 24px;
    color: #54AA62;
    font-weight: bold;
}

.last-passage-time{
    margin-top: 10px;
    font-size: 30px;
    color: #999;
}

.gray-border{
    border: solid #999 2px;
    border-radius: 5px;
}

.bottom-container-header{
    font-size: 2em;
    font-weight: bold;
    padding-left: 20px;
}

.bottom-container-header-secondary{
    font-size: 1.5em;
    font-weight: bold;
    padding-left: 20px;
}

.bottom-container-text{
    font-size: 1.3em;
    padding-left: 20px;
}

.progress-ball{
    height:10px;
    width:10px;
    background-color:green;
    border-radius: 50%;
    margin: 0 5% 0 7%;
    z-index: 100;
}

.progress-bar{
    height: 2px;
    background-color: grey;
    margin: -7px 5% 0;
    width: 90%;
    border-radius: 20%;
    z-index: -1;
}

.progress-text {
    margin: 0 4% 10px 4%;
    font-size: 8px;
}

.field-contact-info{
    margin: 80px;
}

.toggle-sidebar-icon{
    display: none;
    font-size: 20px;
    font-weight: bold;
    position: fixed;
    top: 10px;
    left: 15px;
    z-index: 1000;
    height:  40px;
    width: 40px;
    cursor: pointer;
}

.pointer{
    cursor: pointer;
}

.spinload {
    border: 6px solid #f3f3f3;
    border-radius: 50%;
    border-top: 6px solid #3498db;
    width: 40px;
    height: 40px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}

.notes-header{
    position: absolute;
    top: 10px;
    left: 25px;
    z-index: 99;
}

.notes-container{
    position: absolute;
    top: 30px;
    left: 25px;
    z-index: 98;
    height: 85%;
    overflow-y: auto;
}

.notes-container::-webkit-scrollbar {
    width: 0px;  /* Remove scrollbar space */
    background: transparent;  /* Optional: just make scrollbar invisible */
}

.notes-box{
    background-color: rgba(255,255,255, 0.9);
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 3px;
    width: 200px;
    font-size: 12px;
    border: solid 1px #ccc;
}

.rotated {
  transform: rotate(90deg);
  -ms-transform: rotate(90deg); /* IE 9 */
  -moz-transform: rotate(90deg); /* Firefox */
  -webkit-transform: rotate(90deg); /* Safari and Chrome */
  -o-transform: rotate(90deg); /* Opera */
}

.weather-data{
    position: absolute;
    bottom: 10px;
    right: 10px;
    text-align: right;
}

.weather-icon{
    margin-right: -8px;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Media Query for then screen is below 600 px */
@media screen and (max-width: 800px) {
    .titan-sidebar{display:none;}
    #pipeline-container{margin-left: 0; margin-right: 0}
    .col-xs-12{padding-left: 5px; padding-right: 5px}
    .toggle-sidebar-icon {display:block}
	.navbar-username{margin-left: 40px;}
	#admin-container{margin-left: 0;margin-right: 0}
}

@media screen and (min-width: 800px) {
    .titan-sidebar{display:block;}
}

@media screen and (max-width: 1000px) {
    #map-data{margin-top:200px;}
    .pipeline-bordered-container-bottom{margin-bottom:5px;}
}

@media screen and (max-width: 440px) {
    #map-data{margin-top:260px;}
    .pipeline-bordered-container-bottom{margin-bottom:5px;}
}
