/* ==========================================================================
   Bootstrap overrides
   ========================================================================== */

@media (max-width: 960px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in {
        display: block !important;
    }
    
}

@media (max-width: 768px) {

    body {
        margin-bottom: 71px !important;
    }

}

@media (max-width:991px) {
    #new-destination-btn {
    margin-top:0 !important;
}
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html {
    overflow-y: scroll;
}

body {
    padding-top: 50px;
}

#new-destination-btn {
    margin-top:1.5em;
}

.navbar-toggle {
    float: left;
    margin-right: 0;
    margin-left: 8px;
}

.main-content {

}

a:hover {
    text-decoration: none;
}

table a:not(.btn), .table a:not(.btn) {
    text-decoration: none;
}

a.action {
    margin-right: 10px;
    font-weight: bold;
}

.row.feedback p {
    padding: 15px;
}

label small {
    font-weight: normal;
}

span.select2-selection.select2-selection--single {
    height: 43px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 41px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-top: 6px !important;
}

.modal-backdrop {
    z-index: -1;
}

.form-control.active {
    outline: 0;
    border-color: #3FB618;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);
}

.select2-container {
    width: 100% !important;
}

table.table {
    width: 100% !important;
}

.phone-key {
    background: #fff;
    border-radius: 10px;
    word-wrap: break-word;
    background: #f5f5f5;
}

.phone-key.enabled {
    background: #5cb85c;
    color: #FFF;
}

.mark-label {
	background: #555;
	color: white;
	padding: 1px 3px;
	border-radius: 3px;
	vertical-align: 1px;
}

.phone-key.enabled a {
    text-decoration: none;
    font-weight: bold;
    color: #FFF;
}

.phone-key.enabled a:hover {
    text-decoration: none;
}

.phone-key.disabled {
    background: #F1C58C;
}

.phone-key h2 {
    font-weight: bold;
}

h2 {
    font-size: 50px;
}

.fa.fa-play-circle {
    font-size: 22px;
}

.keyboard audio {
    width: 47px;
}

.keyboard a {
    font-weight: bold;
}

.menu-options-menu {
    list-style: none;
}

.ui360 a, .ui360 a:hover, .ui360 a:focus {
    padding: 2px;
    margin-left: 10px;
    margin-top: -15px;
}

.phone-key .sm2-360ui {
    float: none;
}

.table-header-bordered tr,
.table-header-bordered tr th {
    border: 1px solid #ddd;
}

.app-mode {
    position: fixed;
    right: 15px;
}

.bg-online {
    background-color: green;
    color: #FFF;
    font-weight: bold;
    padding: 2px;
}

.bg-offline {
    background-color: yellow;
    color: #FFF;
    font-weight: bold;
    padding: 2px;
}

.btn-service {
    margin-left: 8px;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 41px;
}

.table-condensed > tbody > tr > td.audio {
    padding: 2px 5px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    min-height: 40px;
    background-color: #f5f5f5;
}

.footer p {
    margin-top: 10px;
}

.footer a {
    color: #000;
    font-weight: bold;
}

.call-center button span {
    font-size: 40px;
}

.call-center table td {
    font-size: 22px;
}

/* Overrides
-------------------------------------------------- */
.modal-backdrop {
    z-index: 3;
}

body {
    padding-right: 0 !important;
}

.navbar-fixed-bottom .navbar-collapse,
.navbar-fixed-top .navbar-collapse {
    max-height: 500px;
}

.panel > .panel-heading {
	padding: 2px 0 2px 15px;
}

.table-condensed {
	margin: 0;
}

.dossier {
	font-size: 13px;
}

.col-sm-7
{
	text-align: right;
}

/* added by dk */

.info-box  {
	padding: 0 10px !important;
}

.table-condensed
tr:first-child
td {
	border-top: none !important;
}

.table-expand
tr:first-child
td {
	border-top: 2px #ddd solid !important;
}

.table-shrink
tr:last-child
td {
	border-bottom: 2px #ddd solid !important;
}

.table-condensed td {
	padding: 3px 4px !important;
}

.table-steps {
	font-size: 13px;
}

.panel-heading .fa {
	vertical-align: 1px;
}

.nav-tabs {
	font-size: 12px;
}

.nav-tabs li a {
	padding: 5px 7px;
}

.active-steps {
	overflow-y: scroll;
	overflow-x: hidden;
	min-height: 210px;
	max-height: 210px;
}

.processing-steps {
	overflow-y: scroll;
	overflow-x: hidden;
	min-height: 145px;
	max-height: 145px;
}

.previous-steps {
	overflow-y: scroll;
	overflow-x: hidden;
	max-height: 300px;
}

#preview_body {
	padding: 0 10px !important;
}

#preview_body p {
	margin: 0 !important;
}

#preview_body p.error {
	margin: 10px 5px !important;
	color: red;
}

.bottom-panel {
	min-height: 130px !important;
	font-size: 11px !important;
}

.bottom-panel ul.nav li a {
	padding: 5px 2px;
	font-size: 11px; 
}

.pull-right {
	margin-right: .5em;
}

.dialog-html {
	text-align: center;
	font-size: 14px;
	width: 250px;
	padding-bottom: 1.5em;
	overflow: hidden;
	margin: 0 auto;
}

.dialog-html input[type='text'] {
	display: inline;
	width: auto !important;
	text-align: center;
}

.form-right td {
	vertical-align: middle !important;
	padding-top: 5px;
}

.file-panel {
	 max-height: 250px;
	 overflow-y: auto;
}

.opaque {
	opacity: 0.5;
}

.action-details {
	cursor: pointer;
}

.action-details:hover {
	color: blue;
}

.html-details {
	font-size: 12px;
	text-align: left;
	max-height: 420px !important;
	overflow-y: auto;
}

#document-panel-title {
	margin-bottom: 0;
	border: 0;
}

.info-icon {
	margin-right: 2px !important;
	padding-top: 3px;
	color: gray;
}

.remark {
	cursor: pointer;
}

.remark:hover {
	color: blue;
}

.attachments {
	margin-bottom: 1em;
}

.attachments > div:nth-of-type(2n) {
	background: #fafafa;
}

/* 
	columns in active/processing/steps panels
	responsive cell with auto ... must have fixed width
*/
.content-fixed-width {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.fixed-width-short {
	width: 50px;
	min-width: 50px;
	max-width: 50px;
}

.fixed-width-middle {
	width: 70px;
	min-width: 70px;
	max-width: 70px;
}

.fixed-width-long {
	width: 190px;
	min-width: 190px;
	max-width: 190px;
}


/* fix responsive screwup
	check: https://datatables.net/forums/discussion/29738/bootstrap-responsive-unnecessary-scroll-bar
	and: https://www.datatables.net/forums/discussion/18192/responsive-data-tables-with-bootstrap-3
*/

div.dataTables_filter,
div.dataTables_paginate {
	float: right;
}

div.dataTables_length select {
	vertical-align: 1px !important
}
div.dataTables_filter input {
	vertical-align: 1px !important;
	margin-left: 5px;
}

div.table-responsive {
	overflow: initial;
}

div.table-responsive
ul.pagination {
	margin-top: 0;
}

div.table-responsive
div.dataTables_info {
	margin-top: 7px;
	margin-bottom: 7px;
}

tr.jq-table-row-clickable {
	cursor: pointer;
}

.chk{
	transform: scale(1.3);
	margin-left: 15px !important;
	cursor: pointer;
}
.chk_label{
	cursor: pointer;
	padding-left: 45px !important;
}

.chk_label:hover{
	color: #337ab7;
}
.steps_ul > .col-md-3{
	list-style: none;
	cursor: pointer;
}

.steps_ul{
	display: inline-block;
}
.chain-steps-div{
	display: inline;
	float: left;
	width: 30%;
}
.div-1{
	margin-left: 15%;
}
#ul-sortable1, #ul-sortable2{
	width: 100%;
	border: 2px solid #ccc;
	border-radius: 3px;
	background: white;
	height: 500px;
	overflow: scroll;
}
.sortable_li{
	height: 55px;
	padding: 10px 15px;
	padding-top: 15px;
	list-style: none;
	width: 100%;
	cursor: pointer;
	vertical-align: middle;
	text-align: center;
}
.sortable_li:hover{
	background: #337ab7;
}
.span-right{
	float: right;
}
.ord-days{
	float: right;
	width: 50px;
	margin-right: 5px;
	margin-top: -5px;
}
hr{
	clear: both;
}
.selected-li-left, .selected-li-right{
background: #337ab7 !important;

}
.btn-block{
	width: 80%;
	display: block;
	margin: 0 auto;
	
}
.btns{
	padding-top: 200px;
	width: 10%;
	min-width: 100px;
	display: inline;
	float: left;
	height: 500px;
}

#form-div{
	width: 100%;
	display: inline-block;
	margin: 0 auto;
	margin-top: 5%;
}

.ul-1{
	text-align: center;
}
.ul-2{
	width: 40%;
	margin-left: 33%;
	text-align: center;
}

#view p{
	margin-top: 50px;
}
.countries-select{
	width: 10%;
	margin-bottom: 20px;
}

.priority{
	float: left !important;
	margin-left: 7%;
	background: #888 !important;
	border: 1px solid white;
}

.priority-h3{
	display: inline;
	float: left;
	margin-left: 4%;
	
}


.restrict_access_numbers{
	width: 90%;
	display: inline;
	float: left;
}
.fa-times-delete{
	margin-top: 9px;
	margin-left: 10px;
	margin-right: 5px;
	transform: scale(2.0, 2.0);
	display: inline;
	float: right;
	cursor: pointer;
}
.fa-times-delete:hover{
	color: red;
}
.restrict-div{
	display: inline-block !important;
	width: 100%;
}
.fa-plus-add{
	transform: scale(2.0, 2.0);
	cursor: pointer;
	margin-left: 8px;
	margin-top: 10px;
	margin-bottom: 10px;
}
.fa-plus-add:hover{
	color: green;
}

fieldset{
	padding-left: 5%;
}

.auth-form label{
	margin-top: 0 !important;
}

form label{
	margin-top: 20px;
}

.checkbox{
	cursor: pointer;
}
.text-danger{
	display: block;
	clear: both;
}
.form-control{
	padding: 6px 12px !important;
}

.btn-prime{
	color: #fff !important;
    background-color: #337ab7;
    border-color: #2e6da4;
}
.btn-prime:hover{
	color: #fff !important;
}

.btn-def{
	color: #333;
    background-color: #fff;
    border-color: #ccc;
}
/*
td.details-control {
    background: url('https://datatables.net/examples/resources/details_open.png') no-repeat center center;
    cursor: pointer;
}
tr.shown td.details-control {
    background: url('https://datatables.net/examples/resources/details_close.png') no-repeat center center;
}
*/
.form-password{
	margin-top: 100px !important;
}

.form-password label{
	margin-top: 0 !important;
	margin-bottom: 10px !important;
}

.form-password form{
	padding: 50px !important;
}

.info-span{
	width: 18px;
	height: 18px;
	cursor:pointer;
}

.sort-label, .btn-sort{
	margin-left: 8px;
	margin-right: 2px;
}

.input-sort{
	border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px;
}

.btn-clear{
	margin-left: 8px;
}

.form-sort{
	margin-bottom: 20px;
}
.ui-timepicker-wrapper{
	overflow-y: auto;
	height: 150px;
	width: 6.5em;
	background: #fff;
	border: 1px solid #ddd;
	-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);
	-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2);
	box-shadow:0 5px 10px rgba(0,0,0,0.2);
	outline: none;
	z-index: 10001;
	margin: 0;
}

.ui-timepicker-wrapper.ui-timepicker-with-duration {
	width: 13em;
}

.ui-timepicker-wrapper.ui-timepicker-with-duration.ui-timepicker-step-30,
.ui-timepicker-wrapper.ui-timepicker-with-duration.ui-timepicker-step-60 {
	width: 11em;
}

.ui-timepicker-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ui-timepicker-duration {
	margin-left: 5px; color: #888;
}

.ui-timepicker-list:hover .ui-timepicker-duration {
	color: #888;
}

.ui-timepicker-list li {
	padding: 3px 0 3px 5px;
	cursor: pointer;
	white-space: nowrap;
	color: #000;
	list-style: none;
	margin: 0;
}

.ui-timepicker-list:hover .ui-timepicker-selected {
	background: #fff; color: #000;
}

li.ui-timepicker-selected,
.ui-timepicker-list li:hover,
.ui-timepicker-list .ui-timepicker-selected:hover {
	background: #1980EC; color: #fff;
}

li.ui-timepicker-selected .ui-timepicker-duration,
.ui-timepicker-list li:hover .ui-timepicker-duration {
	color: #ccc;
}

.ui-timepicker-list li.ui-timepicker-disabled,
.ui-timepicker-list li.ui-timepicker-disabled:hover,
.ui-timepicker-list li.ui-timepicker-selected.ui-timepicker-disabled {
	color: #888;
	cursor: default;
}

.ui-timepicker-list li.ui-timepicker-disabled:hover,
.ui-timepicker-list li.ui-timepicker-selected.ui-timepicker-disabled {
	background: #f2f2f2;
}

// test

