/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Aug 13, 2015, 12:29:51 PM
    Author     : elevenfox
*/

.page-all-worksheets .region-content .item-list {
    float: right;
    width: 77%;
}
.page-all-worksheets .region-content .item-list .pager {
    /*float: none;*/
}

.page-all-worksheets .region-content .item-list ul li {
    float: right;
    list-style: none;
    margin: 0;
}
.page-all-worksheets .region-content .item-list ul.pager li {
    float: left;
}
.page-all-worksheets .region-content .item-list .title {
    width: 265px;
}

.worksheet.teaser {
    margin: 5px;
    text-align: center;
    height: 315px;
    background-color: #fafafa;
    padding: 15px;
    margin: 5px 0px 50px 65px;
}
.worksheet.teaser img {
    /*border: 1px solid lightgrey;*/
    margin: 5px;
}
.ws_thumbnail_container {
    height: 291px;
    overflow: hidden;
    background-color: white;
    border: 1px solid lightgray;
    margin: 0 0 15px 0;
}

.item-list ul.pager {
    margin: 50px 25px 20px 0 !important;
}
.item-list .pager li {
    padding: 0 0.5em;
}

ul.filter-list {
    text-align: left;
}
ul.filter-list li {
    list-style: none;
}
#all_worksheet_filters, #block-hutrip-worksheet-worksheet-search-filter {
    border: 1px solid lightgrey;
    padding: 15px 10px 5px 5px;
    width: 190px;
    float: left;
    background-color: #fafafa;
    margin: 30px 15px 0 0;
}
#block-hutrip-worksheet-worksheet-search-filter #clear-filter {
    display: none;
}

.filter-list .title {
    font-weight: bold;
}
input.filter-item {
    margin: 5px !important;
    position: relative;
    top: -1px;
}
.filter-subject-toggle {
    padding: 5px 2px 5px 5px;
    font-size: 20px;
    cursor: pointer;
}
.filter-list label {
    font-weight: normal;
    display: inline-block;
}
.topic-list {
    display: none;
}
.filter-list li.subject {
    margin-left: 5px;
}
.filter-list li.topic {
    height: 16px;
}
.filter-message {
    background-color: lightyellow;
    width: 65%;
    float: right;
    margin: 40px 42px 0 30px;
    padding: 15px;
}
.filter-message .keyword {
    display: inline-block;
    margin: 0px 5px 0px 5px;
    padding: 0px 10px 0px 10px;
    text-align: center;
    border: 1px solid #ddd;
    cursor: pointer;
    /*background-color: #FF9933;*/
    color: #fff;
}
.worksheet {
    text-align: center;
}
.worksheet h1 {
    margin: 30px 0 20px 0;
}
.btn-block {
    padding: 5px 30px;
    background-color: #e63;
    color: white !important;
    font-size: 18px;
}

/*@media screen and (max-width:740px)*/
@media only screen and (min-device-width : 320px) and (max-device-width : 568px)
{
    .page-all-worksheets .region-content .item-list {
        width: 100%;
    }
    .page-all-worksheets .region-content .item-list ul:not(.pager) li {
        width: 100%;
        box-sizing: border-box;
    }
    .page-all-worksheets .region-content .item-list .title {
        width: 100%;
    }
    #all_worksheet_filters, #block-hutrip-worksheet-worksheet-search-filter {
        width: 100%;
        box-sizing: border-box;
    }
    ul.filter-list li {
        float: left;
    }
    .filter-list .title {
        width: 100%;
        float: left;
    }
    div.messages {
        display: none;
    }
    .worksheet.teaser {
        height: auto;
        margin: 5px 5px 50px 5px;
        width: 100%;
        box-sizing: border-box;
    }
    .ws_thumbnail_container {
        height: auto;
    }
    .ws_thumbnail_container img {
        width: 95%;
    }
    .page-all-worksheets .region-content .item-list .pager, .page-all-worksheets .region-content .item-list ul.pager li {
        float: none;
    }
    li.last .worksheet.teaser {
        margin: 5px;
    }
    .node-type-worksheet #main-content .content-inner {
        margin-left: 0 !important;
    }
    .node-type-worksheet #sidebar-left {
        display: none;
    }
    .node-type-worksheet .worksheet img {
        box-sizing: border-box;
    }
}
