* {
	padding: 0;
	margin: 0;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}

body *::-moz-selection { 
    background: none repeat scroll 0 0 #0053a0;
    color: #ffffff;
}
img {text-decoration: none; border: 0px}
body::selection {
	background: #0053a0;
	color: #FFFFFF;
}

a {
	text-decoration: none;
	color: #0053a0;
}
*:focus, *:active {
	outline: 0px solid transparent;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    border: 1px solid #ddd;
}

/* Zebra striping */
tr:nth-of-type(odd) { 
  background: #eee; 
}
th { 
  background: #333; 
  color: white; 
  font-weight: normal; 
  font-size: 13px !important;
}
td, th { 
  padding: 1px; 
  border: 1px solid #b4b3b3; 
  text-align: left; 
}
.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

div.clr {
	clear: both;
}

h1, h2 {
	font-family: 'futura';
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

body {
	font-family: verdana, arial, sans-serif;
	font-size:12pt;
	line-height: 1.6em;
}

p, table, thead, th, tbody, tr, td {
	font-family: verdana, arial, sans-serif;
	font-size: 16px;
	text-align: center;
}

tbody.admin_table_style td {
	font-size: 13px;
}

#logo {
	float: left;
    margin-left: 8px;
    margin-top: 2px;
}
#logo a {
	margin-right: 20px;
}

#logo a img {
	width: 8em;
}

div#background {
	position: absolute;
	left: 0px;
	right: 0px;
	top: 110px;
	bottom: 46px;
	z-index: 800;
	background-color: #ddd;
}

header { 
	display: block;
    width: 100%;
    height: 64px;
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: 800;
}

footer {
	position: fixed;
	left: 0px;
	right: 0px;
	bottom: 0px;
	height: 46px;
	background: #3e3f40;
	z-index:800;
	font-family: 'futura';
	padding: 10px 6px 6px;
}

footer #copyright {
	font-weight: 500;
    font-size: 12px;
    width: 100%;
    text-align: center;
    color: #D1D4D8;
    text-transform: uppercase;
    padding-top: 4px;
    letter-spacing: 0.1em;
}

.dialog {
	padding: 10px 20px 10px 20px;
	background-color: #FFF;
	box-shadow: 0px 0px 10px 5px #444;
	margin: 10px auto 10px;
	position: absolute;
    left: 12px;
	display: none;
	background: top left repeat-x #d1d4d8;
	z-index: 1000;
}

.settings {	
	width: 1000px;
}

.dialog .dialog_close {
    color: #162847;
    font-family: 'futura';
    font-size: 16pt;
    cursor: pointer;
    width: 18px;
    height: 18px;
    position: absolute;
    right: 20px;
    top: 20px;
}

.dialog_close:hover {
	color:#FF971B;
}

.dialog_close:after {
    content: "\274c \FE0E"; // \f00d
}

.small_italic {
    font-size: small;
    font-style: italic;
}

.dialog h1 {
	text-transform: uppercase;
	font-weight: 500;
	font-size: 24px;
	margin-bottom: 10px;
	margin-top: 10px;
	text-align: center;
}

#sign_in h2 {
	font-size: 18px;
}

.dialog h2 {
	font-size: 11pt;
	margin-bottom: 12px;
}

.btn {
	display: inline-block;
	padding: 10px 20px;
	margin: 0 auto;
	font-family: 'futura';
	font-weight: 500;
	text-align: center;
	font-size: 12px;
	text-transform: uppercase;
	cursor: pointer;
	opacity: 1;
	letter-spacing: 0.1em;
	
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

.btn-danger {
	color: #FFF;
	background-color: #DA2421;
}

.btn.nostyle {
	background-color: transparent !important;
	color: #7aa433  !important;
	padding-left: 10px !important;
	padding-right: 10px !important;
}

.btn:hover {
	opacity: 0.8;
}

.drilling-status-selected {
	border: 3px solid #FFF;
}

.dialog .sidebar {
	width: 160px;
	float: left;
	margin-right: 25px;
}

button:disabled {
	background-color: #a7a7a7;
}

form input[type='text'], form input[type='password'], select.large, #update_account input[type='text'] {
	width: 292px;
	padding: 6px 8px;
	font-family: verdana, arial, sans-serif;
	font-size: 14px;
	border: 2px solid #BBBBBB;
	color: #000;
	margin-top: 3px;
	margin-bottom: 3px;
}

form fieldset {
	border: 0px solid transparent;
}

form fieldset legend {
    text-transform: uppercase;
    font-weight: 500;
    text-align: left;
    font-size: 18px;
    position: relative;
    top: -11px;
    letter-spacing: 0.2em;
}

form input.error{
	border: 2px solid #FE202B !important;
}

.message {
    border: 1px solid transparent;
    margin-bottom: 20px;
    padding: 15px;
    font-family: verdana, arial, sans-serif;
    font-size: 8pt;
    display: none;
}
.message span {
	font-size: 8pt;
}

.message.error {
	background-color: #f2dede;
    border-color: #ebccd1;
    color: #a94442;
}

.message.notice {
	background-color: #fcf8e3;
    border-color: #faebcc;
    color: #8a6d3b;
}

.message.success {
	background-color: #dff0d8;
    border-color: #d6e9c6;
    color: #3c763d;
}
.message li {
	list-style-type: none;
}

.survey {
	background: none no-repeat scroll 0 0 #fff;
	font-size: 1em;
	display: inline-block;
	margin: auto;
	text-align: center;
	line-height: initial;
}

.loading {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -40px;
	margin-top: -40px;
	width: 80px;
	height: 80px;
	display: block;
}
.spinner {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -40px;
	margin-top: -40px;
	width: 80px;
	height: 80px;
	display: none;
}

#file_size, #file_type {
	display:inline-block; 
	font-size:13px;
}

.between-lines {
	height: 0px;
}

p.timer {
    border: 1px;
    background: white;
    padding: 1px; 
    display:inline-block;
	margin-bottom: 0;
}

figure.circle_red {
  display: inline-block;
  border-radius: 50%;
  height: 30px;
  width: 30px;
  margin: 0;
  background: radial-gradient(circle at 0px 0px, #ff0000, #fc8080);
}

figure.circle_green {
  display: inline-block;
  border-radius: 50%;
  height: 30px;
  width: 30px;
  margin: 0;
  background: radial-gradient(circle at 0px 0px, #008000, #86E786);
}

figure.circle_amber {
  display: inline-block;
  border-radius: 50%;
  height: 30px;
  width: 30px;
  margin: 0;
  background: radial-gradient(circle at 0px 0px, #f9ff00, #debd2e);
}

// Chat box related begin
#chat {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 100px;
    height: auto;
}

#chat .user {
    background: #fff;
    width: 330px;
    height: 400px;
    position: absolute;
    z-index: 1100;
}

.center-chat {
    left: 451px;
}

.user header {
    position: relative;
    height: 43px;
}

.user header .status {
    position: absolute;
    top: 36%;
    left: 10px;
    width: 8px;
    height: 8px;
    -webkit-border-radius: 4px; 
    -moz-border-radius: 4px;
    border-radius: 4px;
    background: green;
}

.user header .header-text {
    font-weight: bold;
    padding: 8px;
    margin: 0 0 0 15px;
    font-size: 12px;
    text-shadow: 0 -1px rgba(0, 0, 0, .25);
}

.user header .roc-notice { 
    color: #fff;
    font-weight: bold;
    padding: 8px;
    margin: -42px 0 0 495px;
    font-size: 12px;
    text-shadow: 0 -1px rgba(0, 0, 0, .25);
}

.user header .close { 
    position: absolute;
    right: 5px;
    top: 7px;
    color: #fff;
}

.drilling-toh-chat {
    color: #fff;
    background: #162847;
    border: 1px solid #162847;
}

.td-chat {	
    color: #212529;
    background: #FF971B;
    border: 1px solid #FF971B;
}

.tih-chat {
    color: #fff;
    background: #FF971B;
    border: 1px solid #FF971B;
}

.message-area {
    background: #fff;
    height: 70.5%;
    padding: 5px;
    color: #333;
    word-wrap: break-word;
    font-size: small;
    overflow: auto;
    border: 1px solid #333;
}

.center-chat .message-area {
	height: 79.5%;
}

.user .input-area {
    border-top: 1px solid #333;
}

.user .input-area textarea {
    padding: 5px;
    width: 100%;
    height: 74px;
    font-size: 12px;
    outline: none;
    overflow: inherit;
}

.user .center-chat .input-area textarea {
	height: 88px !important;
}

#chat .user header .close:hover {
	cursor: pointer;
}

button:hover:disabled{
	cursor:not-allowed;
}

#chat .user .init_hint {
	font-style: italic;
    font-size: x-small;
}

.chat-buttons {
	display: flex;
}

.notice {
    text-align:center;
    position: fixed;
    bottom: 0px;
    width: 100%;	
}

.notice p {
    font-size:14px;
    font-family: 'Times New Roman', Times, serif;"
}

.rig-notice p {
    font-size:13px;
    margin:0.125em;
}

.rig-notice .bold {
    font-weight: bold;
}

textarea {
    resize: none;
}

// Chat box related end

// make the icon blink begin
@-webkit-keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@-moz-keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@-o-keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.blink {
	-webkit-animation-name: blink; 
	-webkit-animation-iteration-count: infinite; 
	-webkit-animation-timing-function: cubic-bezier(1.0,0,0,1.0);
	-webkit-animation-duration: 1s;

    -moz-animation: blink 1s;
    -moz-animation-iteration-count: infinite;

    -o-animation: blink 1s;
    -o-animation-iteration-count: infinite;

    animation: blink 1s;
    animation-iteration-count: infinite;
}

// make the icon blink end

