/* --------------------------------------------------------------------------
 set the default font, colors for the site, set up the app-header-content-footer
*/

html,
body {
    font-family: Calibri, sans-serif;
    font-size: 16px;
    background-color: #FFFFFF;
    color: #414141;
    margin: 0;
    padding: 0;
    height: 100%;
}
#app-wrapper {
    min-height: 100%;
    position: relative;
}
#app-header {
    height: 75px;
    margin-left: 10px;
    margin-right: 10px;
//    border-bottom: 5px solid #01529d;
}
#app-content {
   border-top: 5px solid #01529d;
    padding-bottom: 45px;
    /* Height of the footer element */
}
#app-survey {
    border-top: 5px solid #01529d;
}
#app-footer {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;

    height: 45px; /* must match padding-bottom in #app-content */
    text-align: center;
    vertical-align: bottom;
    display: table;
}

#app-phone {
  position: absolute;
  float: right;
  z-index: 9; height: 170px; width: 330px;
  top: 10px;
  right: 5px;
  display: none;
}

#app-phone-header {
  cursor: grab;
  z-index: 10; height: 170px;
  color: #292929;
  float: left;
  width: 10%;
  text-align: right;
  margin-top: -10px;
}


#phone {
   height: 150px;
   float: left;
   width: 80%;
   z-index: 10;
}


#app-logo {
    height: 65px;
    width: 300px;
    margin: 0 0 0 0;
}

#app-footer-content {
    width: 100%;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.phone-move {
    margin-top: 20px;
}

.survox-logo {
    /* set the logo, and indent it a bit */
    background: url(../images/SURVOX_Logo_Branded_colour_sm.png) no-repeat 2% 98%;
}

.survox-footer {
    color: #bfbfbf;
    background-color: #414141;
}

.survox-link,
.survox-link:link,
.survox-link:visited {
    color: #bfbfbf;
    text-decoration: underline !important;
}

.survox-link:hover {
    color: #72B5CC;
}

/* --------------------------------------------------------------------------
*/

.title {
    position: relative;
    width: 150px;
    margin: 50px 0 0 150px;
    font-weight: bold;
    font-style: italic;
    color: #808080;
    background-color: #FFFFFF;
}

.tm {
    position: relative;
    margin: -1px 0 0 158px;
    font-weight: bold;
    font-size: 32px;
    color: #424242;
    vertical-align: text-top;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.page {
    position: relative;
    border: 0 solid #009;
    background-color: #FFFFFF;
}

.version {
    display: inline;
    position: relative;
    top: 9px;
    color: #bfbfbf;
    font-size: 9px;
}

.header1 {
    position: relative;
    width: 100%;
    height: 69px;
    text-align: left;
    display: block;
    background: #FFFFFF url(../images/logo.jpg) no-repeat;
}

.top_bg {
    position: relative;
    height: 0;
    background: white;
    border-bottom: 5px solid #01529d;
}

.login {
    width: 325px;
    padding: 10px 0 20px 0;
    margin: 7% auto 0 auto;
    text-align: left;
    background-color: #fff;
    border: 1px solid #72B5CC;
}

.loginfail {
    width: 325px;
    padding: 10px 0 20px 0;
    margin: 7% auto 0 auto;
    text-align: left;
    background-color: #fff;
    border: 1px solid #72B5CC;
    height: 180px;
}

.login input[type='submit'] {
    border: 0;
}

input[type='submit']:hover, input[type='button']:hover {
    background-color: #72B5CC;
}

input[type='submit'], input[type='button'] {
    color: #fff;
    background-color: #01529d;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    border: 2px solid #fff;
    padding: 5px 8px 5px 8px;
}

/***** info popups *****/
a.info {
    position: relative;
    color: black;
    border-bottom: 1px dashed #ccc;
}

/* Added to solve the z-order problem of IE */
a.info:hover {
    z-index: 2;
}

/* End */
a.info span {
    display: none;
}

a.info:hover span {
    display: block;
    position: absolute;
    z-index: 1;
    top: 2em;
    left: 0;
    width: 25em;
    border: 1px solid #F2AF1D;
    background-color: #FDF1D5;
    color: #414141;
    text-align: justify;
    font-size: small;
    font-weight: normal;
    padding: 3px;
    line-height: 15px;
}

table#login {
    width: 100%;
    border-collapse: collapse;
}

table#login2 {
    width: 100%;
    border-collapse: collapse;
}

table#login thead td {
    text-align: center;
    padding: 7px;
    color: #01529d;
    font-size: 1.3em;
}

table#login thead td.loginError {
    font-size: small;
    color: red;
}

table#login thead td.version {
    font-size: x-small;
    color: #414141;
}

table#login tfoot td {
    text-align: center;
    padding: 12px 6px 6px 6px;
    margin-top: 12px;
}

table#login tfoot .loginButton {
    width: 50px;
    height: 26px;
    /*font: 12px trebuchet ms, verdana, arial;*/
}

table#login tbody td {
    padding: 6px;
    color: #808080;
    text-align: left;
}

table#login tbody td.buffer {
    height: 12px;
}

table#login tbody td.text {
    width: 40%;
    text-align: right;
    color: #999;
    /*font: 12px trebuchet ms, verdana, arial;*/
}

table#login tbody input[type="text"] {
    border: 1px solid #ccc;
    color: #808080;
    width: 125px;
}

table#login tbody td.check {
    text-align: left;
}

/** LOGO */

/*#logo {
	height: 120;
	margin: 0 auto;
	padding-left: 0;
}*/

/*#logo h1 {
	margin: 0;
	line-height: normal;
	font-weight: normal;
	color: #E58316;
	padding-top: 3px;
	font-size: 30;
}*/

/* Main */

#main {
    padding: 20px 30px 0 20px;
}

/* Content */

#content {
    padding: 3em;
    height: 100%;
    font-size: 12px;
}

#content strong {
    color: #414141;
}

/* contentcontainer */

#contentcontainer td {
    vertical-align: top;
}

/* Other Stuff */

a.nounderline:link {
    text-decoration: none;
    color: #01529d;
}

a.nounderline:visited {
    text-decoration: none;
    color: #01529d;
}

a.nounderline:hover {
    text-decoration: underline;
    color: black;
}

a.nounderline:active {
    color: #01529d;
}

p.pagetitle {
    font-size: 14pt;
    font-weight: bold;
}

p.subitem {
    font-size: 11pt;
    font-style: italic;
}

p.section {
    font-size: 10pt;
    font-weight: bold;
    color: #414141;
}

p.subsection {
    font-size: 10pt;
    font-weight: bold;
    font-style: italic;
    color: #414141;
}

table.datatable {
    padding: 5px;
    border-collapse: collapse;
    border: 1px solid gray;
}

table.datatable th {
    padding: 15px;
    font-weight: bold;
    border: 1px solid black;
}

table.datatable td {
    padding: 0 5px 0 5px;
    border-top: 1px dotted gray;
    border-bottom: 1px dotted gray;
    border-left: 1px solid gray;
    border-right: 1px solid gray;
}

table.datatable a {
    text-decoration: none;
}

table.datatable a:link {
    color: black;
}

table.datatable a:visited {
    color: black;
}

table.datatable a:active {
    color: black;
}

table.datatable a:hover {
    color: black;
}

table.datatable tr.primary {
    background: #FFFFFF url(images/try1.jpg) repeat-x left top;
    padding: 15px;
}

table.datatable tr.primary td {
    padding: 2px 2px 2px 5px;
    border: none;
}

#dhtmltooltip {
    position: absolute;
    width: 150px;
    border: 2px solid black;
    padding: 2px;
    background-color: lightyellow;
    visibility: hidden;
    z-index: 100;
    /*Remove below line to remove shadow. Below line should always appear last within this CSS*/
    filter: progid:DXImageTransform.Microsoft.Shadow(color=gray, direction=135);
}

.hide, .hidden {
    display: none;
}

tr.hide {
    display: none;
}

table.hide {
    display: none;
}

.switch {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 15px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 3px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #00A5B6;
}

input:focus + .slider {
    box-shadow: 0 0 1px #00A5B6;
}

input:checked + .slider:before {
    -webkit-transform: translateX(12px);
    -ms-transform: translateX(12px);
    transform: translateX(12px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 12px;
}

.slider.round:before {
    border-radius: 50%;
}

.center {
    text-align: center;
}
