#coursesearch {

}

#coursesearch > div {
    overflow: hidden;
}

#coursesearch > div:first-of-type {
    -webkit-box-shadow: 0px 20px 61px 21px rgba(0,0,0,0.20);
    -moz-box-shadow: 0px 20px 61px 21px rgba(0,0,0,0.20);
    box-shadow: 0px 20px 61px 21px rgba(0,0,0,0.20);
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(0,0,0,0.2);
    border-radius: 0;
}

#coursesearch > div:first-of-type > div {
    text-align: center;
    padding: 15px;
    font-size: larger;
    font-weight: bold;
}

#coursesearch > div:last-of-type {

}

#coursesearch > div:last-of-type > div > div > div.course-limit {
    height: 27px;
    width: 100%;
}
#coursesearch > div:last-of-type > div > div > div.course-limit > div {
    width: 73px;
    background-color: rgba(0, 0, 0, 0.4);
    height: inherit;
    border-radius: 27px;
    white-space: nowrap;
    padding: 3px 0 0 3px;
    float: right;
    margin-right: 10%;
}
#coursesearch > div:last-of-type > div > div > div.course-limit > div > div {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 3px;
    display: inline-block;
}
#coursesearch > div:last-of-type > div > div > div.course-limit > div > div:nth-child(1) {
    background-color: rgb(0, 255, 0);
}
#coursesearch > div:last-of-type > div > div > div.course-limit > div > div:nth-child(2) {
    background-color: rgb(255, 255, 0);
}
#coursesearch > div:last-of-type > div > div > div.course-limit > div > div:nth-child(3) {
    background-color: rgb(255, 0, 0);
}
#coursesearch > div:last-of-type > div > div > div.course-limit > div > div.opacity {
    opacity: 0.2;
}
#coursesearch > div:last-of-type > div > div > p {
    white-space: nowrap;
    margin: 0 0 3px 0;
    text-overflow: ellipsis;
    font-size: small;
    padding-right: 3px;
}
#coursesearch > div:last-of-type > div > div.focus > p {
    font-size: large;
}

#coursesearch > div:last-of-type > div > div > p:nth-child(6),
#coursesearch > div:last-of-type > div > div > p:nth-child(7),
#coursesearch > div:last-of-type > div > div > p:nth-child(8) {
    overflow: unset;
}

#coursesearch > div:last-of-type > div > div > p:last-of-type.short > i,
#coursesearch > div:last-of-type > div > div > p:last-of-type.long > i
{
    float: right;
    line-height: 1.6;
    cursor: pointer;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

#coursesearch > div:last-of-type > div > div > p:last-of-type.long > i:first-of-type {
    margin: -23px 42px 0 0;
    width: 20px;
    height: 20px;
    font-size: 14px;
}
#coursesearch > div:last-of-type > div > div > p:last-of-type.short > i,
#coursesearch > div:last-of-type > div > div > p:last-of-type.long > i:last-of-type {
    margin: -43px -5px 0 0;
    width: 40px;
    height: 40px;
    font-size: 27px;
}
#coursesearch > div:last-of-type > div > div > p:last-of-type > i:first-of-type:hover {
    -webkit-box-shadow: inset 0px 0px 15px -2px darkgreen;
    -moz-box-shadow: inset 0px 0px 15px -2px darkgreen;
    box-shadow: inset 0px 0px 15px -2px darkgreen;
    color: white;
}
#coursesearch > div:last-of-type > div > div > p:last-of-type > i:last-of-type:hover {
    -webkit-box-shadow: inset 0px 0px 24px -2px darkgreen;
    -moz-box-shadow: inset 0px 0px 24px -2px darkgreen;
    box-shadow: inset 0px 0px 24px -2px darkgreen;
    color: white;
}

#coursesearch > div:last-of-type > div > div > p:first-child  {
    font-weight: bold;
}

#coursesearch > div > div {
    width: 14.285%;
    float: left;
    min-height: 50px;
    text-align: center;
}

#coursesearch > div > div > div {
    width: initial;
    float: unset;
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 10px 10px 5px 10px;
    overflow: hidden;
    margin: 10px 5px;
    border-radius: 5px;
    text-align: left;
}
#coursesearch > div > div > div.focus {
    width: 80%;
    margin: 0 auto 10px auto;
}

#coursesearch p > i {
    background-color: white;
    width: 19px;
    height: 19px;
    line-height: 1.5;
    text-align: center;
    border-radius: 50%;
    margin-right: 7px;
}
#coursesearch .focus > p > i {
    width: 28px;
    height: 28px;
}

#coursesearch > div:last-of-type > div > div > p:last-of-type > i.disabled:hover,
#coursesearch > div:last-of-type > div > div > p:last-of-type > i.disabled {
    background-color: darkgrey;
    color: grey;
    cursor: default;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}



#choice {
    width: 100%;
    overflow: hidden;
    display: table;
}

#choice > div {
    display: table-row;
}

#choice > div > div {
    display: table-cell;
    text-align: center;
}

#choice > div > div:last-of-type {
    padding-right: 7px;
}

#choice .form-control {
    height: 1rem;
    margin-top: 2px;
    vertical-align: text-bottom;
    margin-left: 5px;
    width: fit-content;
}

#choice > div > div > p {
    font-weight: bold;
    margin-bottom: 5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

#choice > div > div > label {
    line-height: 1;
    background: rgb(255,255,255);
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(241,241,241,1) 50%, rgba(225,225,225,1) 51%, rgba(246,246,246,1) 100%);
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(241,241,241,1) 50%,rgba(225,225,225,1) 51%,rgba(246,246,246,1) 100%);
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(241,241,241,1) 50%,rgba(225,225,225,1) 51%,rgba(246,246,246,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f6f6f6',GradientType=0 );
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.2);
    padding: 0 5px 1px 0;
    font-weight: normal;
    cursor: pointer;
    text-align: left;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin: 0 0 0 6px;
}

#choice > div > #stilarter > label {
    width: 188px;
}
#choice > div > #alder > label {
    width: 85px;
}
#choice > div > #undervisere > label {
    width: 195px;
}
#choice > div > #niveauer > label {
    width: 206px;
}
#choice > div > #lokaler > label {
    width: 144px;
}

#choice input[type=checkbox] {
    display:none;
}

#choice input[type=checkbox] + label:before {
    font-family: Font Awesome\ 5 Free;
    display: inline-block;
    content: "\f111";
    letter-spacing: 5px;
    margin: 2px 0 0 2px;
    color: rgba(0,0,0,0.2);
    font-weight: 900;
}

#choice input[type=checkbox]:checked + label:before {
    font-family: Font Awesome\ 5 Free;
    content: "\f058";
    letter-spacing: 5px;
    margin: 2px 0 0 2px;
    color: black;
    font-weight: 900;
}

#choice input[type=checkbox]:checked + label {
    background: rgb(235,244,235) !important;
    background: -moz-linear-gradient(top, rgba(235,244,235,1) 0%, rgba(175,237,170,1) 50%, rgba(138,234,151,1) 51%, rgba(216,249,212,1) 100%) !important;
    background: -webkit-linear-gradient(top, rgba(235,244,235,1) 0%, rgba(175,237,170,1) 50%, rgba(138,234,151,1) 51%, rgba(216,249,212,1) 100%) !important;
    background: linear-gradient(to bottom, rgba(235,244,235,1) 0%, rgba(175,237,170,1) 50%, rgba(138,234,151,1) 51%, rgba(216,249,212,1) 100%) !important;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ebf4eb', endColorstr='#d8f9d4',GradientType=0 ) !important;
    border: 1px solid black !important;
}

#accordion h3 {
    display: none;
}
#accordion .ui-widget-content{
    background-color: transparent;
}

#accordion .shown span.spinner {
    background-color: white;
    border-radius: 50%;
}
#accordion .shown span.numresults {
    background-color: transparent;
    border-radius: 0;
    margin-right: 6px;
}

#coursesearch > div:last-of-type > div > div.shown,
#coursesearch > div:last-of-type > div > div.focus {
    cursor: pointer;
    transition: 0.3s;
    padding-top: 35px;
}

#coursesearch > div:last-of-type > div > div.focus .w-dates {
    font-size: large;
    white-space: nowrap;
    margin: 0 0 3px 0;
    text-overflow: ellipsis;
    padding-right: 3px;
}
#coursesearch > div:last-of-type > div > div.focus .w-dates p {
    display: block;
    margin: 0;
}
#coursesearch > div:last-of-type > div > div.shown .hideonshown {
    display: none;
}
#coursesearch > div:last-of-type > div > div.focus .hideonfocus {
    display: none;
}

#coursesearch > div:last-of-type > div > div.shown:hover,
#coursesearch > div:last-of-type > div > div.focus:hover {
    background-color: #ffffff !important;
}

#coursesearch > div:last-of-type > div > div.focus:hover .dance-style div.placeholder-instructor,
#coursesearch > div:last-of-type > div > div.focus:hover .dance-style img.instructor {
    border: 10px solid #ffffff !important;
}
#coursesearch > div:last-of-type > div > div.focus:hover .dance-style div.placeholder-instructor {
    background-color: #ffffff !important;
}

#coursesearch > div:last-of-type > div > div.focus .dance-style div.placeholder-instructor i
{
    opacity: 0.5;
    font-size: 134px;
    margin: -2px 0;
}

#coursesearch > div:last-of-type > div > div.shown > p.short,
#coursesearch > div:last-of-type > div > div.shown > p.long > i.disabled:first-of-type,
#coursesearch > div:last-of-type > div > div.shown > p.long > i:nth-of-type(2){
    display: none;
}
#coursesearch > div:last-of-type > div > div.shown > p:last-of-type.long > i:first-of-type {
    margin: -190px -2px 0 0;
    width: 100%;
    height: 20px;
    border-radius: 20px;
    border: 1px solid grey;
}
#coursesearch > div:last-of-type > div > div.shown > p:last-of-type.long > i:first-of-type::before {
    padding-left: 5px;
    float: left;
    margin-right: 5px;
}
#coursesearch > div:last-of-type > div > div.shown > p.long > i > span {
    display: block;
    margin: -2px 25px 0 0;
    font-family: arial;
    font-weight: bold;
}
#coursesearch > div:last-of-type > div > div.focus > p.long > i > span {
    display: none;
}
#coursesearch > div:last-of-type > div > div.focus .dance-style {
margin: 0 0 10px 260px;
float: right;
position: relative;
min-width: calc(100% - 260px);
}
#coursesearch > div:last-of-type > div > div.focus .dance-style p {
z-index: 1;
position: relative;
background-color: rgba(255,255,255,0.5);
border-radius: 3px;
padding: 5px 10px;
}
#coursesearch > div:last-of-type > div > div.focus .dance-style p:first-of-type
{
margin: 10px;
}
#coursesearch > div:last-of-type > div > div.focus .dance-style p:last-of-type
{
margin: 10px 10px 10px 160px;
min-height: 106px;
}
#coursesearch > div:last-of-type > div > div.focus .dance-style div,
#coursesearch > div:last-of-type > div > div.focus .dance-style img
{
position: absolute;
object-fit: cover;
z-index: 0;
}
#coursesearch > div:last-of-type > div > div.focus .dance-style div {
background-color: rgba(0, 0, 0, 0.5);
}
#coursesearch > div:last-of-type > div > div.focus .dance-style div.placeholder-style,
#coursesearch > div:last-of-type > div > div.focus .dance-style img.style
{
border-radius: 4px 4px 10px 50px;
height: 100%;
top: 0;
width: 100%;
}
#coursesearch > div:last-of-type > div > div.focus .dance-style div.placeholder-instructor,
#coursesearch > div:last-of-type > div > div.focus .dance-style img.instructor
{
border-radius: 50%;
height: 150px;
width: 150px;
bottom: -10px;
left: -10px;
transition: 0.3s;
}
#coursesearch > div:last-of-type > div > div.shown .dance-style
{
display: none;
}

#session-select {
margin: 20px 0 0 0;
}
.ui-dialog-buttonset > button:hover {
color: #fff;
background-color: #218838;
border-color: #1e7e34;
}
.ui-dialog-buttonset > button {
width: 100px;
color: #fff;
background-color: #28a745;
display: inline-block;
font-weight: 400;
text-align: center;
white-space: nowrap;
vertical-align: middle;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
border: 1px solid #28a745;
padding: .375rem .75rem;
font-size: 1rem;
line-height: 1.5;
border-radius: .25rem;
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

@media screen and (min-width: 2400px) {
#coursesearch > div > div > div {
    margin: 5px;
    width: calc(50% - 10px);
    float: left;
}
#coursesearch > div > div > div.focus {
    width: 80%;
    margin: 0 auto 10px auto;
    float: unset;
}
}

@media screen and (max-width: 1200px) and (min-width: 1px) {
#coursesearch > div > div {
    width: 100%;
    float: none;
    min-height: inherit;
}

#coursesearch > div:first-of-type {
    display: none;
}

#accordion h3 {
    display: block;
    border:0;
    border-top: 1px solid rgba(255,255,255,0.4);
    border-bottom: 1px solid rgba(0,0,0,0.2);
    border-radius: 0;
}

#accordion h3 span {
    float: right;
    font-size: 75%;
}

.ui-widget-content {
    border: 0;
    background: #fff;
    color: #000;
}

.ui-accordion .ui-accordion-header {
    margin-top: 0;
}

.ui-accordion .ui-accordion-content {
    padding: 0;
}

#coursesearch > div > div > div {
    padding: 10px 10px 5px 10px;
    overflow: hidden;
}

#coursesearch > div:last-of-type > div > div > p  {
    margin: -10px 0 0 0;
    display: inline-block;
    overflow: hidden;
}
#coursesearch > div:last-of-type > div > div > p:last-of-type {
    float: right;
    margin: 10px 0 0 0;
    overflow: visible;
    min-width: 105px;
}
    #coursesearch > div:last-of-type > div > div.shown > p:last-of-type.long > i:first-of-type {

    }
#coursesearch > div:last-of-type > div > div > p:nth-child(6),
#coursesearch > div:last-of-type > div > div > p:nth-child(7),
#coursesearch > div:last-of-type > div > div > p:nth-child(8) {
    overflow: hidden;
}
#coursesearch > div:last-of-type > div > div > p:last-of-type.long > i:first-of-type {
    float: none;
    width: 20px;
    height: 20px;
    font-size: 14px;
    margin: -15px 10px 0 0;
}
#coursesearch > div:last-of-type > div > div > p:last-of-type.short > i,
#coursesearch > div:last-of-type > div > div > p:last-of-type.long > i:last-of-type {
    float: none;
    width: 35px;
    height: 35px;
    font-size: 24px;
    margin: -15px -8px 0 0;
}

#coursesearch > div:last-of-type > div > div > p:nth-of-type(1)  {
    width: 18%;
}
#coursesearch > div:last-of-type > div > div > p:nth-of-type(2)  {
    width: 11%;
}
#coursesearch > div:last-of-type > div > div > p:nth-of-type(3)  {
    width: 9%;
}
#coursesearch > div:last-of-type > div > div > p:nth-of-type(4)  {
    width: 16%;
}
#coursesearch > div:last-of-type > div > div > p:nth-of-type(5)  {
    width: 16%;
}
#coursesearch > div:last-of-type > div > div > p:nth-of-type(6)  {
    width: 14%;
}
#coursesearch > div:last-of-type > div > div > p:nth-of-type(7)  {
    width: 12%;
}

#coursesearch > div:last-of-type > div > div > div.course-limit {
    width: 91%;
}

#coursesearch > div:last-of-type > div > div.focus .dance-style
{
    margin: 0 0 20px 0;
    float: none;
    padding: 1px;
}

#coursesearch > div:last-of-type > div > div.focus .w-dates {
    display: inline-flex;
    font-size: small;
    white-space: normal;
}
#coursesearch > div:last-of-type > div > div.focus .w-dates p {
    display: inline-block;
    margin-right: 10px;
    white-space: normal;
}

#coursesearch > div:last-of-type > div > div.focus > p {
    font-size: small;
}
#coursesearch .focus > .dance-style > p > i {
    width: 18px;
    height: 18px;
}
#coursesearch > div > div > div.focus {
    width: 90%;
}

#coursesearch > div:last-of-type > div > div.focus .dance-style img.style {
    border-radius: 4px 4px 4px 75px;
}

#coursesearch .focus > p > i {
    width: 20px;
    height: 20px;
}


}

@media screen and (max-width: 880px) and (min-width: 1px) {
#choice > div > div {
    display: block;
    margin-top: 10px;
}

#coursesearch > div:last-of-type > div > div > p  {
    display: inline-block;
    width: 190px !important;
    float: left;
    margin: 0 0 3px 0;
}
#coursesearch > div:last-of-type > div > div > p:last-of-type {
    width: 30px !important;
    margin: 0 32px 0 0;
}
#coursesearch > div:last-of-type > div > div > p:last-of-type.short {
    margin: 0 2px 0 0;
}

#coursesearch > div:last-of-type > div > div > div.course-limit {
    width: 100%;
}

#coursesearch > div > div > div.focus {
    width: 100%;
}

#coursesearch > div:last-of-type > div > div.focus .w-dates {
    display: inline-block;
}
}




