/*
This file provides the basic styling 
*/

html, body {
	height:100%;
	font-family: Nunito Sans, sans-serif;
	font-style: normal;
	font-weight: 300;
	font-size: 14px;
	line-height: 16px;
	letter-spacing: 0.035em;	
	overflow-x: hidden;
}

h1 {
	margin:0px;
	display: grid;
	font-weight: 900;
	font-size: 24px;
	line-height: 33px;
	color: #000000;
	text-transform: uppercase;
}

h1:before {
	content: "";
	background:  #0069b4;
	display: inline-block;
	max-width: 55%;
	height: 3px;
}

h2 {
	font-size: 18px;
	line-height: 25px;
	text-transform: uppercase;
}

table, td, th {  
  text-align: left;
}

table {
  border-collapse: collapse;
}

th, td {
  padding: 0 20px 10px 0;
}

tr {
	vertical-align: middle;
}

a {
	color: #000;
	cursor: pointer;
}

a:hover {
	text-decoration: none;
}

.modal-footer .btn+.btn {
    margin-bottom: 0;
    margin-left: 0px;
}

button {
	width: 100%;
	overflow: hidden;
	text-transform: uppercase;
}

button.dropdown-toggle, .dropdown-menu button, button.menuEntry {
	text-transform: initial;
}

button.menuEntry {
	border: none !important;
}

.modal-header button {
	border: none;
	background: none;
}

.callLog {
	margin-top: 25px;
	min-height: 25px;
	overflow: auto;
    max-height: 25vh;
}

.callLog thead th { 
	z-index: 1;
	background: #fff;
	position: sticky !important; 
	top: 0 !important; 
}

.panel button {
	width: auto;
	text-transform: none;
}

.modal-dialog {
	background: #FFF;
}

.btn.btn-primary {
	background: #0069b4;
	border: 6px solid #0069b4;
	box-sizing: border-box;
	font-weight: 900;
	border-radius: 2px;
	font-size: 14px;
	line-height: 19px;
	color: #000000;
}

.btn.btn-primary:hover {
	color: #000;
    background-color: #4484b3;
    border-color: #4484b3;
}

.btn.btn-danger {
	background: #c9302c;
	border: 2px solid #c9302c;
	box-sizing: border-box;
	font-weight: 900;
	border-radius: 2px;
	font-size: 14px;
	line-height: 19px;
	color: #fff;
}

.btn.btn-danger:hover {
	color: #fff;
    background-color: #d9534f;
    border-color: #d9534f;
}
	

.btn.btn-default {
	background: #fff;
	border: 2px solid #0069b4;
	box-sizing: border-box;
	border-radius: 2px;
	font-size: 14px;
	line-height: 19px;
	color: #000000;
}

.progressBar {
	background-color: #28a745;
}

.margin_15 {
	margin: 15px 0;
}

.borderBetween > [class*='col-']:after, .borderBetween > [class*='col-']:before {
   background: #ccc;
   bottom: 0;
   content: " ";
   right: 0;
   position: absolute;
   width: 1px;
   top: 0;
}

.borderBetween > [class*='col-']:before {
   left: -1px;
}

.borderBetween > [class*='col-']:first-child:before, .borderBetween > [class*='col-']:last-child:after {
   display: none;
}

.dropdownInput { 
	width:calc(100% - 10px);
	padding-right: 10px;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden; 
}

.addonIcon i {
	min-width: 20px;
}

.dropdown > ul > li > button {
	border: none !important;
	text-transform: initial;
	text-align: left;
	padding: 5px 20px;
}

.dropdown > button {
	display: inline-grid;
	text-align: left;
    color: #555 !important;
    border: 1px solid #ccc !important;
    border-radius:  0 4px 4px 0 !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.dropdown > button:after {
	content: "";
	position:absolute;
	right: 10px;
	top:14px;
	width: 0; 
    height: 0; 
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #555;
}

#filter .dropdown-menu {
   	top: auto;
   	left: auto;
   	bottom: 5px;
   	height:70vh;
   	overflow: auto;
}

.callNote textarea {
	margin-top: 10px;
	min-height: 100px;
	resize: vertical;
}

/* WRAPPER */

.content-wrapper {
	background-color: #fff;
	width: 100%;
	text-align: left;
	padding: 15px;
	margin: 0px;
}

.header-wrapper {
	position: sticky;
	top: 0;
	background-color: #fff;
	z-index: 10;
	text-align: left;
	padding: 15px;
	margin-bottom: 20px;
	-webkit-box-shadow: 0px 5px 10px -3px rgba(0,0,0,0.25);
	-moz-box-shadow: 0px 5px 10px -3px rgba(0,0,0,0.25);
	box-shadow: 0px 5px 10px -3px rgba(0,0,0,0.25);
}

.footer-wrapper {
	position: sticky;
	background-color: #fff;
	bottom: 0;
	text-align: left;
	padding: 10px 15px 50px 15px;
}

/* END REASONS CALL LOG ROW */

.callLogCallLater {
	background-color: #f5cea6;
}

@media only screen and (max-width: 1200px) {
	.borderBetween > [class*='col-']:before, .borderBetween > [class*='col-']:after {
	   display: none;
	}

	.callNote > [class*='col-'] {
		margin-bottom: 20px;
		padding-bottom: 20px;
		border-bottom: 1px solid #ccc;
	}	
}

@media only screen and (min-width: 993px) {
	.callLog .callLogNote {
		max-width: 30vw;
	}
}

@media only screen and (max-width: 600px) {
	
	.hideOnMobile, .addonIcon + .addonText {
    	display: none;
  	}

	.addonIcon i {
		margin-right: 0 !important;
	}
	
	.dropdown-menu {
		right: 0;
	}
	
	.dropdown-menu>li>a {
	    text-overflow: ellipsis;
	    white-space: nowrap;
	    overflow: hidden;
	}
}