﻿.title {
    font-weight: bold;
    text-decoration: underline;
}
.img-circle {
    border-radius: 100%;
    -webkit-border-radius: 100%;
}

.centre {
    text-align: center;
}
.question h1,
.question h2 {
    margin: 0px;
}
.instruction {
    font-style: italic;
    padding-top: 17px;
}
.answer {
    text-align: left;
    margin-left: 20px;
}
.number {
    width: 50px !important;
}
.grid {
    border-collapse: collapse;
}
.grid th {
    min-width: 35px;
    vertical-align: bottom;
}
.grid th, .grid td {
    padding: 5px;
}
.grid td:nth-child(n+2) {
    width: 75px;
}
.grid th, .grid td+td {
    text-align: center;
}
.grid .gridlabel {
    width: 300px;
    text-align: left;
}
.grid tr+tr:nth-child(even) td {
    background: #EEEEEE;
}
.grid .grid-select {
    background: #CCCCCC !important;
}
.grid label {
    display: none;
    background: #CCCCCC;
    border-radius: 5px;
    height: 40px;
    width: 150px;
    padding: 5px;
    vertical-align: middle;
}
.grid input[type="radio"]:checked + label,
.grid label:hover label {
    background: rgba(79, 37, 130, 0.75);
    color: White;
    
}
.grid .grid-select {
    background: #4f2582 !important;
}
.number-list th:first-child {
    min-width: 130px;
}
.number-list td+td {
    text-align: center;
}

.collapsehandle {
    width: 350px;
    cursor: pointer;
    font-weight: bold;
}

.collapsehandle span {
    display: inline-block;
    width: 15px;
    height: 15px;
    background: url('../../images/arrow.png') no-repeat;
    margin: 0px 2px;
    -webkit-transition: 0.5s all; /* Safari */
    transition: 0.5s all;
    -ms-transform: rotate(180deg); /* IE 9 */
    -webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
    transform: rotate(180deg);
}
.expand span {
    -ms-transform: rotate(0deg); /* IE 9 */
    -webkit-transform: rotate(0deg); /* Chrome, Safari, Opera */
    transform: rotate(0deg);
}
.collapseitem {
    display: none;
}
.collapseitem div {
    margin-left: 15px;
}
#confirmation {
    background: white;
    border: solid 1px #999999;
    border-radius: 10px;
    display: none;
    position: fixed;
    width: 20%;
    z-index: 1001;
    padding: 10px;
    text-align: center;
}
/*** carousel ***/
.text_wrapper {
    border: solid 1px #666666;
    border-radius: 10px;
    width: 80%;
    text-align: center;
    margin: auto;
    padding: 20px 10px;
    min-height: 50px;
    font-weight: bold;
}
.answer_wrapper {
    width: 80%;
    text-align: center;
    margin: auto;
    padding-top: 10px;
}
.answer_wrapper label {
    display: inline-block;
    background: #CCCCCC;
    border: solid 1px #999999;
    border-radius: 10px;
    height: 75px;
    width: 100px;
    vertical-align: middle;
    margin: 10px;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
}
.answer_wrapper label:hover {
    color: White;
	background: rgba(79, 37, 130, 0.75);
}

.answer_wrapper div {
    width: 100px;
    height: 75px;
    display: table-cell;
    vertical-align: middle;    
    text-align: center;
    font-weight: bold;
}
/*** end carousel ***/
.delay {
    display: none;
}

/*** buttons ***/

.button {
    text-align: center;
}
.button > div {
    display: inline-block;
    width: 200px;
    margin: auto 50px;
}
.button > div > label {
    display: inline-block;
    background: #CCCCCC;
    border-radius: 10px;
    padding: 20px;
    font-weight: bold;
    vertical-align: middle;
    
}
.button > div > label > div {
    min-height: 75px;
}
.button > div > label:hover, 
.button input[type="radio"]:checked + label {
    background: rgba(79, 37, 130, 0.75);
    color: White;
}
.button > div input {
    display: none;
}
.button > div img {
    padding: 5px;
}
/*** end buttons ***/

/*** mobile-grid ***/
.mobile-grid > div:nth-child(even) {
    background: #EEEEEE;
}
.mobile-grid > div {
    padding: 7px 5px;
}
/*** end mobile-grid ***/
/*
.panels {
    display: inline-block;
    width: 64%;
    vertical-align: top;
    border-right: solid 1px #666666;
    margin: 0px 3px;
}
.panels:nth-child(2) {
    width: 33%;
    border-right: none;
}
*/

.panels:nth-child(2) {
    display: none;
    position: fixed;
    top: 50px;
    background: white;
    border: solid 1px Black;
    border-radius: 10px;
    width: 400px;
    padding: 10px 15px;
    z-index: 1000;
}

textarea{
    width: 300px;
    height: 100px;
}

#comment .navigation {
    margin: auto;
    text-align: center;
}

#bucketwrapper, #list{
    border: solid 1px #666666;
    border-radius: 10px;
    display: inline-block;
    padding: 5px;
    vertical-align: top;
    width: 270px;
    cursor: default;
}
#bucketwrapper {
    padding: 20px 0px;
}
#bucket {
    width: 270px;
    border: solid 1px transparent;
}
.sortable div {
    border: solid 1px #666666;
    margin: 5px;
    padding: 5px;
    border-radius: 5px;
    width: 250px;
    background: white;
}

.sort-label {
    position: absolute;
    font-weight: bold;
    margin-left: 10px;
    font-size: 20px;
}
.sort-top {
    margin-top: -15px;
    color: Green;
}
.sort-bottom {
    margin-top: -10px;
    color: Red;
}
.ui-input-text {
    min-height: 30px;
    z-index: 1;
}
.space-top {
    margin-top: 10px;
}
@media screen and (max-width: 480px){
    #wrapper {
        margin: 0px auto;
        width: 99%;
    }
    #footer {
        width: 90%;
    }
    #header img {
        height: 50px;
    }
    #transit .path {
        white-space: normal !important;
    }
    img.scalable {
        width: 100% !important;
        height: auto !important;
    }
    .answer {
        margin-left: 0px;
    }
    .indent {
        padding: 10px 0px 10px 5px !important;
    }
    input[type='text'] {
        width: 200px !important;
        z-index: 100;
        position: relative;
    }
    .answer_wrapper label {
        margin: 5px;
    }
    
    .panels {
        width: auto !important;
        border-right: none;
        margin-bottom: 3px;
    }
    .space-top {
        margin-top: 0px; 
    }
}