/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

a {
	text-decoration: none;
	/*color: #124191;*/
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

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

    #ui-datepicker-div {
        background: #efefef;
    }

    .ui-datepicker span {
        color: black;
        font-weight: normal;
    }

	body {
        background: #505050;
        font-family: 'Segoe UI', sans-serif;
		font-size: 1em;
	}   
   
	h2 {
        font-family: 'Segoe UI', sans-serif;
		font-size: 1.5em;
		color: #fff;
		font-weight: 400;
		margin: 0 0 12px 12px;
	}
   
	#topHeader {
		background: #00baf2 ;
		height: 75px;
		position: relative;
		min-width: 1380px;
        white-space:nowrap;
	}

	#logo {
		float:left;
		margin: 12px 50px 0 30px;
		display: block;
		/*width: 154px;*/
	}

	#topNavigation {
		position: absolute;
		bottom: 0;
		left: 180px;
	}

	nav ul {
		margin: 0!important;
		list-style: none;
		display: inline;
	}

	nav ul > li {
		display: inline-block;
		background: #b1b1b1;
		color: #fff;
		width: auto;
		padding: 3px 6px 3px 6px;
	}
	
	nav ul> li > a {
	    font-family: 'Segoe UI', sans-serif;
        font-weight:100; 
		display: inline-block;
		width: 150px;
		text-align: center;
		font-size: 1.5em;
		color: #fff;
	}

	nav ul > li.selected a{
		color: #fff!important;
	}

	nav ul > li.selected {
		background: #505050;
	}

	#accountDetails a {
		color: #fff;
	}

	#accountDetails a:hover {
		text-decoration: underline;
	}

	#accountDetails 
	{
		display: inline-block;
		margin-left:15px;
	}

	 nav > #locationDiv {
        display:inline;
		margin-left:15px;
    }
    
    #locationDiv > span {
        color: white!important;
        font-size: 18px!important;
        font-weight: 100;
        margin-right: 6px;
    }

    #locationDiv > select {
        line-height: 28px;
        background: #505050;
        color: white;
       -webkit-appearance: none;
        border: none;
        width: 170px;
     }
	#locationDiv .select_theme {
		line-height: 28px;
		background: #505050;
		color: white;
		-webkit-appearance: none;
		border: none;
		width: 70px;
	}
	#accountFirstLine {
		
	}

	#accountSecondLine {
		
	}

	#content {
		margin-top:45px;
		margin-left: 45px;
	}

	#columnLeft {
		float:left;
		width: 48%;
		margin-right: 30px;
	}
	
	#columnLeftGroups {
		float:left;
		width: 50%;
		margin-right: 30px;
	}

	#columnRight {
		float: left;
		width: 48%;
	}

	.contentBox {
		margin-bottom: 30px;
	}
	
	.contentBox, .contentBoxRight, .contentBoxRightGroups {
		background: #737373;
		padding:12px;
	}

    .contentBoxRight {
        min-height: 600px;
    }
	
	.contentBox:after {
		content: attr(infotext);
		color: #fff;
		font-style: italic;
		
        /*margin-left:12px;*/
	}
	
	.contentBoxRightGroups:after {
		content: attr(infotext);
		color: #fff;
		font-style: italic;
		margin-left:12px;
	}
	
	#historyDateSelection label {
		color: #fff;
	}

	#visitorHistoryHeader {
		display: inline;
	}

	.actionButton {
        display:inline-block;
		/*float: right;
		background: #ec7c2a;
		margin: 3px 0 0 4px;
		padding: 3px 9px;
		cursor: pointer;
		color: #fff;*/
	}

	.simplebutton {
		background: #00baf2; 
		padding: 3px 12px;
		margin-left: 12px;
	    cursor: pointer;
        color: #fff;
	}

	/*.simplebutton:hover, .actionButton:hover {
		background: #EF9728;
		color: #fff;
	}

    .simplebutton:active, .actionButton:active {
        background:white;
        color: #ec7c2a;
    }*/
	.simplebutton:hover {
		background: #5fd5f8;
		color: #fff;
	}

    .simplebutton:active {
        background:white;
        color: #00baf2;
    }

    /*.simplebutton, .actionButton {*/
    .simplebutton {
		transition: background .3s;
		-moz-transition: background .3s; /* Firefox 4 */
		-webkit-transition: background .3s; /* Safari and Chrome */
		-o-transition: background .3s; /* Opera */
	}
	
	table.dataTableCustom {
		width:98%;
		margin-bottom:50px;
		margin:6px 12px 50px 12px;
	}
	
	.contentBoxRight > table.dataTableCustom {
		margin-bottom:12px;
	}
	
	#hideTable {
		display: none;
	}
	
	#hideTablePlaceholder {
		display: inherit;
		margin-top:12px;
	}
	
	td, th {
		color: #fff;
	}
	
	th {
		border-bottom: 1px solid #fff;
		text-align: left;
		font-weight: 400;
	}
	
	th.noBorder {
		border:none!important;
	}
	
	td {
		padding: 6px 3px;
	}
	
	td:first-child, th:first-child {
		padding-left:6px;
	}
	
	tr {
		transition: background .3s;
		-moz-transition: background .3s; /* Firefox 4 */
		-webkit-transition: background .3s; /* Safari and Chrome */
		-o-transition: background .3s; /* Opera */
	}
	
	tbody > tr:hover {
		background: rgb(189, 189, 189)
	}

	#table-wrapper {
		margin-top:20px;
		position:relative;
	}
	
	#table-scroll {
	    /*max-height: 270px;*/
		overflow:visible;  
		margin-top:20px;
		margin-bottom:30px;
	}

	#table-wrapper-right {
		margin-top:20px;
		position:relative;
	}
	
	#table-scroll-right {
		/*max-height:633px;*/
		overflow:visible;  
		margin-top:20px;
	}

	.editable-container.editable-inline {
		margin-top: 5px;
	}
	
	
	::-webkit-scrollbar {
		background: transparent;
		width: 10px;
	}
 
	::-webkit-scrollbar-track {
		background: transparent;
	}
 
	::-webkit-scrollbar-thumb {
		background: white;
	}
	
	::-webkit-scrollbar-thumb:active {
		background: #00baf2;
	}

	td > form > input {
		width: 95%!important;
	}

    #groupsManager {
        margin-bottom: 100px;
        display:block; 
        height:250px; 
        overflow-y: scroll;
    }

    #btnAddNewRow {
        margin-top: -60px;
        margin-left: 16px;
        cursor: pointer;
        -webkit-transition-property: rotation;
        -webkit-transition-duration: 0.2s;
        float: left;
    }

    #btnDeleteRow {
        margin-top: -60px;
        margin-left: 65px;
        cursor: pointer;
        -webkit-transition-property: rotation;
        -webkit-transition-duration: 0.2s;
        float: left;
    }

     #btnAddNewVisitor {
        margin-top: -60px;
        cursor: pointer;
        -webkit-transition-property: rotation;
        -webkit-transition-duration: 0.2s;
     }

      #btnDeleteVisitor {
        margin-top: -60px;
        margin-left: 10px;
        cursor: pointer;
        -webkit-transition-property: rotation;
        -webkit-transition-duration: 0.2s;
     }

    #btnAddNewRow:hover, #btnAddNewVisitor:hover, #btnDeleteRow:hover, #btnDeleteVisitor:hover {
        transform: rotate(90deg);
        -ms-transform: rotate(90deg); /* IE 9 */
        -webkit-transform: rotate(90deg); /* Safari and Chrome */
        -o-transform: rotate(90deg); /* Opera */
        -moz-transform: rotate(90deg); /* Firefox */
    }

    td > img {
        margin-left: 8px;
    }

    .dataTables_filter > label {
        color: white!important;
        float: right;
        margin-top: -45px;
    }

    .dataTables_processing {
        color: white!important;
        text-align: center;
        font-size: 22px;
       }


    .dataTables_wrapper {
        overflow: visible;
    }


    .buttonTd {
        text-align: right;
        padding-right: 5px;
    }

    .ui-dialog {
        background: white;
        /*padding: 15px!important;*/
        /*border: 2px solid #124191;*/
        padding:0;
        margin-bottom:5px;
    }

    .ui-dialog-title {
       margin-bottom:10px;
       color: #fff;
        font-size: 18px;
   }
    .submit-container {
       margin:8px 0;
       text-align:right;
   }
    button {
       border: 0px solid #124191;
       background: #124191;
       color: #ffffff;
       font-family: 'Segoe UI', sans-serif;
       padding: 8.5px 18px;
       font-size: 14px;
       vertical-align: middle;
       margin-right: 10px;
   }
    button:hover {
       background: #5fd5f8;
       color: #fff;
   }
    button:active {
       background: #fff;
       color: #00baf2;
   }

    .text-box {
        width: 98%;
    }

    .row_selected {
        background: rgb(196, 196, 196) !important;
    }

    td.row_selected {
        background: transparent;
    }

    .formColumn {
        float: left;
    }

    .formColumn > input {
        width: 140px!important;
    }

    .formColumn > input[type=checkbox] {
        border : 0px;
    }

    .formColumn > input.firstColumn {
        margin-right: 22px;
    }

    .hourEditor {
        /*line-height: 1.54em;*/
    }

    label.error {
        background: #e53c3c;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        color: white;
        padding: 4px;
    }

    .contentBoxFill {
		background: #737373;
        float: left;
		padding:12px;
        width: 95%;
        margin-bottom: 30px;
	}

	.contentBoxFill:after {
		content: attr(infotext);
		color: #fff;
		font-style: italic;
		
        margin-left:12px;
	}

    #columnRightGroups {
		display: table-cell;
		width: 875px;
        height: 460px;
        vertical-align: middle;
	}

    .singleVisitorBox {
        display: inline-block;
        width: 93%;
        height: 90px;
        background: #737373;
    }

    .verticallyCenteredContent {
        margin-top: 30px;
    }

    /* LOGIN */
    #loginForm {
        margin: 80px auto;
        width: 640px;
    }

    .login {
      position: relative;
      margin: 0 auto;
      padding: 20px 20px 20px;
      width: 310px;
      background: white;
    }

    .login h1 {
        font-family: 'Segoe UI', sans-serif;
        font-weight: normal;
        margin: -20px -20px 21px;
        line-height: 40px;
        font-size: 1.2em;
        color: #fff;
        text-align: center;
        background: #00baf2;
        border-bottom: 1px solid #cfcfcf;
        background-image: -webkit-linear-gradient(top, whiteffd, #eef2f5);
        background-image: -moz-linear-gradient(top, whiteffd, #eef2f5);
        background-image: -o-linear-gradient(top, whiteffd, #eef2f5);
        background-image: linear-gradient(to bottom, whiteffd, #eef2f5);
    }
    .login p {
      margin: 20px 0 0;
    }
    .login p:first-child {
      margin-top: 0;
    }
    .login input[type=text], .login input[type=password] {
      width: 278px;
    }
    .login p.remember_me {
      float: left;
      line-height: 31px;
    }
    .login p.remember_me label {
      font-size: 12px;
      color: #777;
      cursor: pointer;
    }
    .login p.remember_me input {
      position: relative;
      bottom: 1px;
      margin-right: 4px;
      vertical-align: middle;
    }
    .login p.submit {
      text-align: right;
    }

    .login-help {
      margin: 20px 0;
      text-align: center;
    }
    .login-help a {
      text-decoration: none;
    }
    .login-help a:hover {
      text-decoration: underline;
    }

    :-moz-placeholder {
      color: #c9c9c9 !important;
      font-size: 13px;
    }

    ::-webkit-input-placeholder {
      color: #ccc;
      font-size: 13px;
    }

    form > p > input {
      font-family: 'Segoe UI', sans-serif;
      font-size: 14px;
    }

    form > p > input[type=text], form > p > input[type=password] {
      margin: 5px;
      padding: 0 10px;
      width: 200px;
      height: 34px;
      color: #404040;
      background: white;
      border: 1px solid;
      border-color: #c4c4c4 #d1d1d1 #d4d4d4;
      border-radius: 2px;
    }
    form > p > input[type=text]:focus, input[type=password]:focus {
      border-color: #7dc9e2;
      outline-color: #dceefc;
      outline-offset: 0;
    }

    .lt-ie9 input[type=text], .lt-ie9 input[type=password] {
        line-height: 34px;
    }

    /* Input placeholder styles*/

    ::-webkit-input-placeholder { /* WebKit browsers */
        font:   'Segoe UI', sans-serif;
    }
    :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
        font:   'Segoe UI', sans-serif;
    }
    ::-moz-placeholder { /* Mozilla Firefox 19+ */
        font:   'Segoe UI', sans-serif;
    }
    :-ms-input-placeholder { /* Internet Explorer 10+ */
        font:   'Segoe UI', sans-serif;
        color: gray;
    }
    
	.field-validation-error {
		background-color: #d9534f;
		display: block;
		padding: .2em .6em .3em;
		font-size: 70%;
		line-height: 1;
		color: #ffffff;
		white-space: nowrap;
		vertical-align: baseline;
	}

	.formRow {
		display: table;
		margin-bottom: 20px;
	}
	
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

a.tooltip::before {
    content: attr(data-tip) ;   
     
    font-size: 10px;
    position:absolute;
    z-index: 999;
    white-space:nowrap;
    bottom:9999px;
    left: 50%;
    background:#000;
    color:#e0e0e0;
    padding:0px 7px;
    line-height: 24px;
    height: 24px;
     
    opacity: 0;  
    transition:opacity 0.4s ease-out; 
    }
     
a.tooltip:hover::before {
    opacity: 1;
    bottom:-35px;
    }

i.red {
    padding:3px;
    color:White;
    /*background-color:#E43A36; */
    background: #ea3e3a; /* Old browsers */
    background: -moz-linear-gradient(top, #ea3e3a 0%, #c6221f 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ea3e3a), color-stop(100%,#c6221f)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ea3e3a 0%,#c6221f 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ea3e3a 0%,#c6221f 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ea3e3a 0%,#c6221f 100%); /* IE10+ */
    background: linear-gradient(to bottom, #ea3e3a 0%,#c6221f 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ea3e3a', endColorstr='#c6221f',GradientType=0 ); /* IE6-9 */
    cursor:pointer;
}

i.green {
    padding:3px;
    color:White;
        /*background-color:#3CAB22;*/
    background: #62ca49; /* Old browsers */
    background: -moz-linear-gradient(top, #62ca49 0%, #299b0e 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#62ca49), color-stop(100%,#299b0e)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #62ca49 0%,#299b0e 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #62ca49 0%,#299b0e 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #62ca49 0%,#299b0e 100%); /* IE10+ */
    background: linear-gradient(to bottom, #62ca49 0%,#299b0e 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#62ca49', endColorstr='#299b0e',GradientType=0 ); /* IE6-9 */
    cursor:pointer;
}
i.blue {

    padding:3px;
    color:White;
    /*background-color:#05B0DB;*/
    background: #07beec; /* Old browsers */
    background: -moz-linear-gradient(top, #07beec 0%, #0192b6 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#07beec), color-stop(100%,#0192b6)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #07beec 0%,#0192b6 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #07beec 0%,#0192b6 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #07beec 0%,#0192b6 100%); /* IE10+ */
    background: linear-gradient(to bottom, #07beec 0%,#0192b6 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#07beec', endColorstr='#0192b6',GradientType=0 ); /* IE6-9 */
    cursor:pointer;
}

i.gray {
    padding:3px;
    color:#777777;
    background: #dddcdc; /* Old browsers */
    background: -moz-linear-gradient(top, #dddcdc 0%, #b9b9b9 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dddcdc), color-stop(100%,#b9b9b9)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #dddcdc 0%,#b9b9b9 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #dddcdc 0%,#b9b9b9 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #dddcdc 0%,#b9b9b9 100%); /* IE10+ */
    background: linear-gradient(to bottom, #dddcdc 0%,#b9b9b9 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dddcdc', endColorstr='#b9b9b9',GradientType=0 ); /* IE6-9 */
    cursor:pointer;
}

.gray{
    /*padding:3px;*/
    color:#636363;
    background: #dddcdc; /* Old browsers */
    background: -moz-linear-gradient(top, #dddcdc 0%, #b9b9b9 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dddcdc), color-stop(100%,#b9b9b9)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #dddcdc 0%,#b9b9b9 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #dddcdc 0%,#b9b9b9 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #dddcdc 0%,#b9b9b9 100%); /* IE10+ */
    background: linear-gradient(to bottom, #dddcdc 0%,#b9b9b9 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dddcdc', endColorstr='#b9b9b9',GradientType=0 ); /* IE6-9 */
    cursor:pointer;
}
.gray:hover{
    /*padding:3px;*/
    color:Black;
    background: #dddcdc; /* Old browsers */
}

.btnpadding{
    /*padding: 8.5px 18px;*/
}

i.inline {
    display:inline;
    margin-right:7px;
    margin-top:1px;
    font-size:1.1em;
}
.actionbuttons {
    white-space:nowrap;
}
.codereader {
    color: #fff;
}
.codereadersection {
    white-space:nowrap; 
    margin-left:20%;
}
.csvreporttitle {
    color: #fff;
    margin-left:7px;
}
tr.even {
    background-color:#838383;
}
tr.odd {
    background-color:#737373;
}
.expectedDateTimeSearch {
    color:white;
}
.fa-info{
    font-size:1.1em;
}
.paging_full_numbers {
    color: white;
}
#checkoutVisitorData{
    border:none;
}