﻿/******************************************************************************
 * (c) Copyright Gemalto, 2017                                                *
 * ALL RIGHTS RESERVED UNDER COPYRIGHT LAWS.                                  *
 * CONTAINS CONFIDENTIAL AND TRADE SECRET INFORMATION.                        *
 *                                                                            *
 * GEMALTO MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF    *
 * THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED         *
 * TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A                *
 * PARTICULAR PURPOSE, OR NON-INFRINGEMENT. GEMALTO SHALL NOT BE              *
 * LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING,          *
 * MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.                *
 * THIS SOFTWARE IS NOT DESIGNED OR INTENDED FOR USE OR RESALE AS ON-LINE     *
 * CONTROL EQUIPMENT IN HAZARDOUS ENVIRONMENTS REQUIRING FAIL-SAFE            *
 * PERFORMANCE, SUCH AS IN THE OPERATION OF NUCLEAR FACILITIES, AIRCRAFT      *
 * NAVIGATION OR COMMUNICATION SYSTEMS, AIR TRAFFIC CONTROL, DIRECT LIFE      *
 * SUPPORT MACHINES, OR WEAPONS SYSTEMS, IN WHICH THE FAILURE OF THE          *
 * SOFTWARE COULD LEAD DIRECTLY TO DEATH, PERSONAL INJURY, OR SEVERE          *
 * PHYSICAL OR ENVIRONMENTAL DAMAGE ("HIGH RISK ACTIVITIES"). GEMALTO         *
 * SPECIFICALLY DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY OF FITNESS FOR      *
 * HIGH RISK ACTIVITIES.                                                      *
 ******************************************************************************/

/* Custom NAS Styles */

/* hands for data tables */
table.dataTable td.dataTables_empty { cursor: default; }
table.dataTable tr { cursor: pointer; }

/* Replace ugly drop down icon on FF Linux */
@-moz-document url-prefix() {
	select.form-control {
		padding-right: 25px;
		background-image: url("data:image/svg+xml, <svg version='1.1' xmlns='http://www.w3.org/2000/svg' width='14px' height='14px' viewBox='0 0 1200 1000' fill='rgb(51,51,51)'><path d='M1100 411l-198 -199l-353 353l-353 -353l-197 199l551 551z'/></svg>");
		background-repeat: no-repeat;
		background-position: calc(100% - 7px) 50%;
		-moz-appearance: none;
	}
}

/* get red of the IE-cross + pwd reveal */
::-ms-clear { display: none; }
::-ms-reveal { display: none; }

/* fix inline radio buttons */
div.form-check-inline span {
	margin-right: 2em;
}

div.form-check-inline span label {
	padding-left: 0.5em;
}

/* nav header fix*/
.navbar-header a.navbar-brand {
	padding-right: 5px;
}

/* radio button fix for the the user-type-selection.jsp */
.fix-user-type-selection {
	padding-top: 7px !important;
}

.error-page-label {
	text-align: right;
}

/* mandatory field feature */
.form-group.required .control-label:after, .required.control-label:after {
	content: "*";
	color: #b94a48;
	padding-left: 2px;
}

/* break long text without space */
.word-break {
	word-break: break-all;
}

/* issue with date picker size in rtl */
.datepicker-rtl {
	left: auto !important;
}
.datepicker-years.form-control[readonly]:not([disabled]) {
    background-color: #fff !important; opacity: 1;
}

/* rtl support for the date-picker orientation arrow */
body[dir=rtl] .datepicker-dropdown.datepicker-orient-left:before {
	right: 6px;
	left: 194px !important;
}

body[dir=rtl] .datepicker-dropdown.datepicker-orient-left:after {
	right: 7px;
	left: 194px !important;
}

/* side bar support */
@media (min-width: 768px) {
	.sidebar-nav .navbar .navbar-collapse {
		padding: 0;
		max-height: none;
	}

	.sidebar-nav .navbar ul {
		float: none;
	}

	.sidebar-nav .navbar ul:not {
		display: block;
	}

	.sidebar-nav .navbar li {
		float: none;
		display: block;
	}

	.sidebar-nav .navbar li a {
		padding-top: 12px;
		padding-bottom: 12px;
	}
}

/* Loader progress  */
.loader {
	border: 5px solid #c8c8c8;
	border-radius: 50%;
	border-top: 5px solid #555;
	width: 50px;
	height: 50px;
	animation: spin 1s linear infinite;
}

.loader-sm {
	border: 5px solid #c8c8c8;
	border-radius: 50%;
	border-top: 5px solid #555;
	width: 25px;
	height: 25px;
	animation: spin 1s linear infinite;
}

.center-overflow {
	left: 0;
	right: 0;
	position: fixed;
	z-index: 1070;
	top: 50%
}

.modal-backdrop.front {
	z-index: 1060;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* Step Wizard */
.stepwizard-step p {
	margin-top: 10px;
}

.stepwizard-row {
	display: table-row;
}

.stepwizard {
	display: table;
	width: 100%;
	position: relative;
	padding-bottom: 2em;
}

.stepwizard-step button[disabled] {
	opacity: 1 !important;
	filter: alpha(opacity=100) !important;
}

.stepwizard-row:before {
	top: 14px;
	bottom: 0;
	position: absolute;
	content: " ";
	width: 100%;
	height: 1px;
	background-color: #ccc;
	z-order: 0;

}

.stepwizard-step {
	display: table-cell;
	text-align: center;
	position: relative;
}

.btn-circle {
	width: 30px;
	height: 30px;
	text-align: center;
	padding: 6px 0;
	font-size: 12px;
	line-height: 1.428571429;
	border-radius: 15px;
}

/* active menu item */
.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
	color: #ffffff;
	background-image: linear-gradient(#636565, #3d3f3f 50%, #333434);
	border-radius: 4px;
}

/* custom NAS styles */
.navbar-selfservice .navbar-nav > li > a, .navbar-selfservice .navbar-brand {
	color: white;
}

/* accessibility custom styles */
.well .page-header {
	margin: 0 0 20px;
	border-bottom: 1px solid #e5e5e5;
}

.well .page-header h1 {
	margin-top: 0;
	margin-bottom: 0;
	font-size: 21px;
}

.panel .panel-heading h1 {
	margin-top: 0;
	margin-bottom: 0;
	font-size: 21px;
}

/* to be like label; colors default theme*/
.form-group > fieldset > legend {
	border: 0;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.42857143;
	color: #333;
	font-weight: 700;
}

/* Text Sizes */
.text-smaller {
	font-size: 65%;
}

.text-small {
	font-size: 3em;
}

.text-medium {
	font-size: 6em;
}

.text-large {
	font-size: 8em;
}

.space-1em {
	padding-top: 1em;
}

.space-2em {
	padding-top: 2em;
}

.space-4em {
	padding-top: 4em;
}

.btn-sq {
	width: 170px !important;
	height: 110px !important;
	/*font-size: 10px;*/
}

.nok {
	color: #DC143C;
}

.ok {
	color: #07A000;
}

#auditDetailForm label {
  font-weight: bold;
}


/* Qatar Address
============================================================================================= */

.qatar-address {
    background-color: #24628e;
    color: #FFF;
    padding-left: 0px;
    padding-right: 0px;
}

.qatar-address .border_1 {
    padding: 5px;
}

.qatar-address .white_border {
    padding: 7px;
    background-color: #FFF;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

.qatar-address .border_1 .box {
    background-color: #24628e;
    padding-left: 0px;
    padding-right: 0px;
}

.qatar-address .border_1 .box:first-child {
    padding: 5px;
    margin-bottom: 10px;
    -webkit-border-top-right-radius: 5px;
    -webkit-border-bottom-right-radius: 0;
    -webkit-border-bottom-left-radius: 0;
    -webkit-border-top-left-radius: 5px;
    -moz-border-radius-topright: 5px;
    -moz-border-radius-bottomright: 0;
    -moz-border-radius-bottomleft: 0;
    -moz-border-radius-topleft: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    border-top-left-radius: 5px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

.qatar-address .border_1 .box:last-child {
    -webkit-border-top-right-radius: 0;
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -webkit-border-top-left-radius: 0;
    -moz-border-radius-topright: 0;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-bottomleft: 5px;
    -moz-border-radius-topleft: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 0;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

.qatar-address .border_1 .box:last-child > div {
    padding: 5px;
}

body[dir=ltr] .qatar-address .border_1 .box:last-child > div:first-child {
    border-right: 2px solid #FFF;
}
body[dir=ltr] .qatar-address .border_1 .box:last-child > div:last-child {
    border-left: 2px solid #FFF;
}

body[dir=rtl] .qatar-address .border_1 .box:last-child > div:first-child {
    border-left: 2px solid #FFF;
}
body[dir=rtl] .qatar-address .border_1 .box:last-child > div:last-child {
    border-right: 2px solid #FFF;
}

body[dir=ltr] .qatar-address label.label-en {
    direction: ltr;
}

body[dir=ltr] .qatar-address label.label-ar {
    direction: rtl;
}

body[dir=rtl] .qatar-address label.label-en {
    direction: rtl;
}

body[dir=rtl] .qatar-address label.label-ar {
    direction: ltr;
}

.qatar-address .form-group.required label:after {
    content: "*";
    color: #ff0000;
    padding-left: 2px;
}

/* RTL support - RnD logout */
body[dir=rtl] .logout-sp {
    background-position: right;
	padding-right: 2em;
}

.tooltip-inner {
    max-width: 400px;
    background: linear-gradient(#FEFEFF, #E4E5F0);
    color: #000000;
    border: 1px solid black;
}

.tooltip.in {
    opacity:1!important;
}

body[dir=ltr] .tooltip-inner {
    text-align: left;
}

body[dir=rtl] .tooltip-inner {
    text-align: right;
}

body[dir=rtl] .twitter-typeahead pre {
    right: 0;
}

