.hidden {
  display: none;
}

.logo {
  text-align: center;
}
.logo > img {
  height:   50px;
  min-width: 100px;
}

#overlay,
#modal {
  z-index: 9999;
}

.ui-field-contain > label + [class*="ui-"], 
.ui-field-contain .ui-controlgroup-controls {
  width: 100%
}

.ui-controlgroup-controls {
    border-bottom: 2px solid #D9D9D9;
}

.ui-content{
  margin: 1% 15% 5%;
  -webkit-box-shadow: 0 0 15px 0 #D9D9D9;
  box-shadow: 0 0 15px 0 #D9D9D9;
  /*border-radius: 20px;*/
}
.ui-grid-a .ui-block-a {  
width: 6%;
border: 0px;
}
.ui-grid-a .ui-block-b { 
width: 94%; 
border: 0px;
} 

.ui-radio {
  border: 0px;
}

.ui-btn { border: none !important; }

.ui-page .ui-footer {
    bottom: 0;
    position: absolute;
    width: 100%;
}

.ui-page .ui-header {
  background: rgb(255,255,255); /* Old browsers */
  background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(229,229,229,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(229,229,229,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* IE10+ */
  background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
}
.ui-page .ui-footer {
  background: rgb(229,229,229); /* Old browsers */
  background: -moz-linear-gradient(top,  rgba(229,229,229,1) 0%, rgba(255,255,255,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(229,229,229,1)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  rgba(229,229,229,1) 0%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  rgba(229,229,229,1) 0%,rgba(255,255,255,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  rgba(229,229,229,1) 0%,rgba(255,255,255,1) 100%); /* IE10+ */
  background: linear-gradient(to bottom,  rgba(229,229,229,1) 0%,rgba(255,255,255,1) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e5e5e5', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}

img
{
    max-width: 100%;
    min-width: 300px;
    height: auto;
}

fieldset.required_fields {
  display: block;
  margin: 0 auto;
  border: 0 solid #d9d9d9;
  padding: 30px;
  max-width: 500px;
  /*border-radius: 10px;*/
  box-shadow: 0 0 15px 0 #D9D9D9;
  color: #505E67;

  background: rgb(255,255,255); /* Old browsers */
  background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(229,229,229,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(229,229,229,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* IE10+ */
  background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
}

.ui-page {
    /*background: #ffffff !important;*/
    /*background-image: url("/public/img/test.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);*/
    /*background-image:url('/public/img/test.png');*/
    background-repeat: no-repeat;
    background-color:#F0F0F0;
    /*background-color:#FFFFFF;*/
}

.ui-page .ui-header {
    border-bottom: 2px solid #505E67;
}

.ui-page .ui-footer {
    border-top: 2px solid #505E67;
    text-shadow: none;
    color:#505E67;
}

.timer:before{
    content: "Time duration: "
}

.timer-sec:after {
  content: " s";
}
.timer-min:after {
  content: " m";
}
.timer-hour:after {
  content: " h";
}

.timer {
    float: right;
    padding: 5px;
    margin-right:10px;
    min-width: 100px;
    text-align: center;
}

.timer{
  border: 2px solid #505E67;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background-color: #e5e5e5; /* Old browsers */
  background-repeat: repeat-x; /* Repeat the gradient */
  background-image: -moz-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%); /* FF3.6+ */
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#e5e5e5)); /* Chrome,Safari4+ */
  background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* Chrome 10+,Safari 5.1+ */
  background-image: -o-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* Opera 11.10+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
  background-image: linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* W3C */
}

/*** Engage result ***/
.ui-field-contain > h1 {
    text-align: center;
}

.most-container-result, 
.least-container-result {
    float: left;
    width: 50%;
}
#engage-most-graph,
#engage-least-graph,
#engage-general-most-graph,
#engage-general-least-graph{
    margin: 0 auto !important;
}

.most-container-result > h1,
.least-container-result > h1,
.most-container-result > h3,
.least-container-result > h3 {
    text-align: center;
}

.engage-summary-result {
    border-bottom: 1px solid #D9D9D9;
    padding: 20px 5%;
}

.raw-scores {
    margin-top: 40px;
    text-align: center;
}

.login-form {
    /*border-radius: 20px;*/
    box-shadow: 0 0 15px 0 #D9D9D9;
    margin: 3% auto;
    max-width: 400px;
    padding: 30px 20px;

}

fieldset.feedback_form {
  border-top: 1px solid #D9D9D9;
  padding: 20px 0;
}
fieldset.feedback_form .ui-btn {
  float: right;
}

.ui-content {
  background: #FFFFFF;
}

.login-form{
  /*background: url("/public/img/lock.png") no-repeat scroll center center / 265px auto rgba(0, 0, 0, 0);*/
  background: rgb(255,255,255); /* Old browsers */
  background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(229,229,229,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(229,229,229,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* IE10+ */
  background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
}

.login-form .ui-btn {
  width: 80px;
  float: right;
}

#btn-logout {
    background: url("/public/img/logout-inactive.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    float: right;
    height: 40px;
    margin: 8px 8px 8px 0;
    text-decoration: none;
    width: 140px;
}
#btn-logout:hover {
    background: url("/public/img/logout-active.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
}

#start_assessment {
  background:#008500;
  color: #fff;
}

#btn-logout img {
  min-width: 10px;
}

.sort_order_asc {
    background: url("/public/img/asc.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    float: right;
    height: 30px;
    text-decoration: none;
    width: 30px;
}
.sort_order_asc.sort_order_desc {
    background: url("/public/img/desc.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    float: right;
    height: 30px;
    text-decoration: none;
    width: 30px;
}

.engage-user-details table th {
  text-align: left;
}

.ui-block-a .ui-btn.ui-checkbox-on:after,
.ui-block-a .ui-btn.ui-radio-on:after,
.ui-block-a .ui-btn.ui-checkbox-off:after,
.ui-block-a .ui-btn.ui-radio-off:after {
  -moz-box-shadow:    0px 0px 5px 3px #0055FF;
  -webkit-box-shadow: 0px 0px 5px 3px #0055FF;
  box-shadow:         0px 0px 5px 3px #0055FF;
}
.ui-block-b .ui-btn.ui-checkbox-on:after,
.ui-block-b .ui-btn.ui-radio-on:after,
.ui-block-b .ui-btn.ui-checkbox-off:after,
.ui-block-b .ui-btn.ui-radio-off:after {
  -moz-box-shadow:    0px 0px 5px 3px #00BB00;
  -webkit-box-shadow: 0px 0px 5px 3px #00BB00;
  box-shadow:         0px 0px 5px 3px #00BB00;
}
.ui-block-a .ui-btn.ui-checkbox-on:after,
.ui-block-a .ui-btn.ui-radio-on:after,
.ui-block-b .ui-btn.ui-checkbox-on:after,
.ui-block-b .ui-btn.ui-radio-on:after {
  -moz-box-shadow:    0px 0px 5px 3px #CCCCCC;
  -webkit-box-shadow: 0px 0px 5px 3px #CCCCCC;
  box-shadow:         0px 0px 5px 3px #CCCCCC;
}


.ui-block-a > h4 {
    text-shadow: 0 0 15px #0055ff;
}
.ui-block-b > h4 {
    text-shadow: 0 0 15px #00bb00;
}

.ui-block-c {
    width: 100%;
}

.vip-code-form {
    border: 1px dashed #0172A8;
    margin: 50px auto;
    max-width: 450px;
    min-height: 225px;
    min-width: 200px;
    padding: 40px;
    color: #0172A8;
    background: #FFFFFF;
}
.button-holder {
    float: right;
    margin: 10px 0 10px 20px;
    width: 100px;
    height: 60px;

}

.warning-msg {
    background-color: #fcf8e3;
    border:1px solid #faebcc;
    color: #8a6d3b;
    padding: 20px;
    margin: 20px 0;
    display: none;
}

.warning-msg .button-holder {
    margin-top: -20px;
}

.vak-graph-result {
    border-top: 1px solid #d9d9d9;
}

/*@media only screen and (max-width: 768px), (min-device-width: 768px) and (max-device-width: 1024px) {*/
@media only screen and (max-width: 1200px) { 
  .ui-content{
    margin: 2% 10% 10%;
  }

  .ui-grid-a .ui-block-a {
    width: 10%; 
  }
  .ui-grid-a .ui-block-b {
    width: 90%;
  }
}

@media only screen and (max-width: 810px) {
  .ui-content{
    /*margin: 5% 10% 15%;*/
    margin: 5% 0 15%;
  }
  .most-container-result {
    border-bottom: 1px solid #d9d9d9;
  }
  .most-container-result, 
  .least-container-result {
    float:none;
    width:100%;
  }
  .timer{
    border-left:none;
    border-right:none;
    float:none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: none;
    width: 100%;
  }

  .ui-grid-a .ui-block-a {
    width: 20%; 
  }
  .ui-grid-a .ui-block-b {
    width: 80%;
  }
}

@media only screen and (max-width: 500px) {
  .ui-grid-a .ui-block-a {
    width: 30%; 
  }
  .ui-grid-a .ui-block-b {
    width: 70%;
  }

  .ui-controlgroup-controls .ui-btn,
  .ui-controlgroup-controls .ui-checkbox,
  .ui-controlgroup-controls .ui-radio,
  .ui-controlgroup-controls .ui-select {
    min-height: 64px;
  }
  .ui-field-contain .ui-controlgroup, 
  .ui-field-contain fieldset.ui-controlgroup {
    background: #f5f5f5;
    border-bottom: 1px solid #d9d9d9;
  }

}