
.homepage {
    -webkit-font-smoothing: antialiased;
}

.homepage a.link-col {
    -webkit-font-smoothing: auto;
    color: #8EBDDB !important;
}

/*main*/

.homepage .first {
    margin-top: 18px;
    border-top: 1px solid #EEE;
}

.homepage a {
    color: #000 !important;
}

.homepage a.image-caption-link {
    color: #000 !important;
}

.homepage a.image-caption-link:hover {
    color: #000 !important;
}

.aui-theme-dark .homepage a {
    color: #FFF !important;
}

.homepage a.main-menu-btn {
    color: #CCC !important;
}

.homepage a.main-menu-btn:hover {
    color: #A8D3EF !important;
}

.homepage button.homepage-button:hover {
    color: #8EBDDB !important;
}

.homepage a:hover {
    color: #8EBDDB !important;
}

.homepage-tooolbar-section {
    padding: 20px 0; border-bottom: 1px solid #EEE; margin-bottom: 23px;
}

.homepage .search {
    display: table; margin: 0 auto; width: 98%;
}

.homepage .search input {
    font-size: 13px; width: 100%; height: 43px; /*letter-spacing: 1px;*/ padding-left: 12px; position: relative; top: 5px;
}

.homepage .search i {
    font-size: 12px; color: #AAA; position: absolute; right: 15px; top: 19px;
}

.homepage h2 {
    font-weight: 300 !important;
    text-transform: none !important;
    color: #000 !important;
    font-size: 23px !important;
    font-family: BrandonText !important;
    letter-spacing: 0px !important;
    margin-top: 40px;
}

.aui-theme-dark .homepage h2 {
    font-weight: 300 !important;
    text-transform: none !important;
    color: #FFF !important;
    font-size: 23px !important;
    font-family: BrandonText !important;
    letter-spacing: 0px !important;
    margin-top: 40px;
}

#aui-head + #aui-wrapper > #aui-main-content > #aui-content {
    padding-top: 95px;
}

.homepage li {
    list-style: none;
}

.records_list img {
    max-width: 100%;
    max-height: 100%;
}

/* Tile list
   Cascading columns of list items
----------------------------------------------------------- */

.homepage .records_list.tile_list {
    width: 100%;
}
.homepage .records_list.tile_list ul {
    float: left;
    clear: none;
    width: 22.5%;
    margin-right: 20px;
}
.homepage .records_list.tile_list ul:last-child {
    margin-right: 0;
}
.homepage .records_list.tile_list ul li {
    width: auto;
    margin: 0 0 30px;
}
.homepage .records_list.tile_list ul li .image {
    margin: 0 0 15px;
}
.homepage .records_list.tile_list ul li .image,
.homepage .records_list.tile_list ul li .image span {
    height: auto !important;
    width: auto;
}
.homepage .records_list.tile_list ul li .image span img {
    max-height: none !important;
}
.homepage .records_list.tile_list ul li .content {
    margin-top: 15px;
    font-size: 13px;
    color: #000;
}

.homepage .main-menu-icon {
    /*color: #CCC;*/
    font-size: 26px;
    display: block;
}

.homepage .main-menu-item {
    width: 85px;
    display: inline-block;
    text-align: center;
    position: relative;
    top: 5px;
}

.homepage .main-menu-item-caption {
    -webkit-font-smoothing: auto;
    text-transform: uppercase;
    letter-spacing: 2px;
    /*color: #CCC;*/
    font-size: 10px;
    font-weight: 100;
}

.homepage-banner {
    background-image: url('/images/homepage/background.jpg');
    background-repeat: no-repeat;
    background-size: cover !important;
    height: 225px;
    padding: 20px 0;
    display: table;
}
.homepage-title {
    margin: auto;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    color: #AAA;
    font-size: 14px;
}
.homepage-title span.title {
    color: #000; font-size: 36px;
    font-weight: 300;
    font-family: BrandonText !important;
}
.homepage-title span.date {
    text-transform: uppercase;
}

.homepage-button {
    text-transform: uppercase;
    color: #AAA;
    font-weight: 100;
    font-size: 11px;
    letter-spacing: 2px;
    padding: 10px 0 0 0;
    -webkit-font-smoothing: auto;
    margin-top: 10px;
}
.homepage .main-column {
    width: 67%;
    float: left;
}
.homepage .right-column {
    width: 27%;
    min-width: 340px;
    float: right;
    margin-left: 5px;
}
.homepage .menu-icons {
    width: 67%;
    float: left;
}
.homepage .main-search {
    width: 27%;
    float: right;
    position: relative;
}

/*favourites*/

.homepage #gradient {
    width: 101%;
    height: 100px;
    position: absolute;
    left: 0px;
    bottom: 45px;
    z-index: 100;
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 67%, rgba(255,255,255,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(67%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 67%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 67%,rgba(255,255,255,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 67%,rgba(255,255,255,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 67%,rgba(255,255,255,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );
}

.aui-theme-dark .homepage #gradient {
    width: 101%;
    height: 100px;
    position: absolute;
    left: 0px;
    bottom: 45px;
    z-index: 100;
    background: -moz-linear-gradient(top, rgba(34,34,34,0) 0%, rgba(34,34,34,1) 67%, rgba(34,34,34,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(34,34,34,0)), color-stop(67%,rgba(34,34,34,1)), color-stop(100%,rgba(34,34,34,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(34,34,34,0) 0%,rgba(34,34,34,1) 67%,rgba(34,34,34,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(34,34,34,0) 0%,rgba(34,34,34,1) 67%,rgba(34,34,34,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(34,34,34,0) 0%,rgba(34,34,34,1) 67%,rgba(34,34,34,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(34,34,34,0) 0%,rgba(34,34,34,1) 67%,rgba(34,34,34,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );
}

.homepage .image.loaded div{
    overflow: hidden;
}
.homepage .image.loaded img.hover{
    transform: scale(1.1);
    -webkit-transition: 0.6s ease-in-out;
    -moz-transition: 0.6s ease-in-out;
    -o-transition: 0.6s ease-in-out;
    transition: 0.6s ease-in-out;
}
.homepage .image.loaded img{
    transform: scale(1);
    -webkit-transition: 0.6s ease-in-out;
    -moz-transition: 0.6s ease-in-out;
    -o-transition: 0.6s ease-in-out;
    transition: 0.6s ease-in-out;
}
.homepage .image.loaded div:before {
    background: rgba(0, 0, 0, 0.3) none repeat scroll 0 0;
    content: ".";
    display: block;
    height: 100%;
    left: 0;
    margin: 0;
    opacity: 0;
    position: absolute;
    text-indent: -9999px;
    top: 0;
    transition: opacity 0.6s ease-in-out 0s;
    width: 100%;
    z-index: 100;
}
.homepage .image.loaded div:hover:before {
    opacity: 1;
}
.homepage .favourites {
    position: relative;
    display: table; margin: 0 auto; width: 100%;
}

.homepage .fav-heading {
    margin-bottom: 15px;
}

.fav-tile-list {
    height: 800px; overflow: hidden;
}

/*calendar*/

.homepage .calendar {
    margin-bottom: 20px;
}

.homepage .calendar .cal-heading {
    border-bottom: 1px solid #EEE;
    margin-bottom: 15px;
}
.homepage .cal-table th {
    /*text-transform: uppercase;*/
    text-align: center;
    font-weight: lighter;
    font-size: 12px !important;
    color: #000;
}
.homepage .cal-col-5, .cal-col-6 {
    /* background-color: #F5F5F5; */
}
.homepage .cal-past {
    /*background-color: #f8f8f8;*/
    color: #999;
}
.homepage .cal-past .cal-item-important {
    color: #A38EA9;
    /*max-height: 120px;
    overflow: auto;*/
}
.homepage .cal-day-heading {
    display: block;
    text-align: center;
    /*background: rgba(255, 255, 255, 0.3);*/
}
.homepage .cal-today:before {
    position: absolute;
    z-index: -100;
    left: 6px;
    top: 1px;
    content: '';
    background-color: #A8D3EF;
    width: 37px;
    height: 37px;
    /*color: #fff;*/
}
.homepage .cal-today {
    -webkit-font-smoothing: auto;
    position: relative;
    /*background-color: #A8D3EF;*/
    color: #fff;
}
.homepage .cal-past .cal-day {
    color: #EEE;
}

.homepage .cal-day-cell {
    text-align: center;
}

.cal-day {
    font-size: 14px;
    font-weight: 100;
    min-width: 26px;
    min-height: 26px;
    line-height: 25px;
    padding: 0 4px;
    text-align: center;
    /*background: rgba(255, 255, 255, 0.3);*/
    padding: 3px 6px;
    white-space: nowrap;
    display: inline-block;
    min-width: 31px;
}

.homepage .cal-dayrow-past .cal-day-cell .cal-item-contents .cal-entries {
    height: 60px;
    overflow: auto;
}

.homepage .cal-entries {
    min-height: 60px;
    display: block;
}

.homepage #excl_header {
    width: 12px;
    color: #AAAAAA;
}

.aui-theme-dark .homepage .cal-past {
    /*background-color: #111;*/
    color: #888;
}
.aui-theme-dark .homepage .cal-past .cal-day {
    color: #fff;
}
.aui-theme-dark .homepage .cal-item-important {
    background-color: #896C91;
}
.aui-theme-dark .homepage .cal-past .cal-item-important {
    color: #27182C;
}
.aui-theme-dark .homepage .cal-table th {
    color: #fff;
}

.homepage .center {
    width: 13px;
    text-align: center;
}
.homepage .rch label {
    padding-right: 0px;
}

#aui-main-content {
    padding-bottom: 0px;
}
.homepage .nonempty {
    display: none;
}

.homepage .calendar-add-event-window .rcc[data-column="1"] {
    text-align: center;
}

/*contacts*/

.homepage .contacts .contact {
    height: 44px;
    display: table;
    border-bottom: 1px solid #EEE;
    width: 100%;
    padding: 10px 0;
}

.homepage .contacts .initials-wrapper {
    height: 100%;
    width: 40px;
    float: left;
    display: table;
}

.homepage .contacts .initials-circle-wrapper {
    display: table-cell;
    vertical-align: middle;
}

.homepage .contacts .initials-circle {
    width: 40px;
    height: 40px;
    font-size: 16px;
    font-weight: 100;
    text-align: center;
    background-color: #A8D3EF;
    color: #FFF;
    display: table;
    border-radius: 20px;
}

.homepage .contacts .initials {
    /*-webkit-font-smoothing: auto;*/
    position: relative;
    top: 1px;
    display: table-cell;
    vertical-align: middle;
}

.homepage .contacts .contact-data {
    max-width: 300px;
    position: relative;
    padding-left: 15px;
    display: table-cell;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/*key_dates*/


.homepage .key-dates .view-more {
    text-transform: uppercase;
    color: #AAA;
    font-weight: 100;
    font-size: 11px;
    letter-spacing: 2px;
    padding: 10px 0 0 0;
}

.homepage .key-dates .key-date {
    height: 44px;
    padding: 5px 0;
    display: table;
    border-bottom: 1px solid #EEE;
    width: 100%;
}

.homepage .key-dates .date {
    height: 100%;
    width: 25px;
    float: left;
    display: table-cell;
    vertical-align: middle;
}

.homepage .key-dates .day {
    font-size: 20px;
    font-weight: 100;
    text-align: center;
}

.homepage .key-dates .month {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 100;
    text-align: center;
    position: relative;
    top: -7px;
}

.homepage .key-dates .key-event {
    position: relative;
    padding-left: 10px;
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    line-height: 1.3;
}

/*recently_added*/

.homepage .recently-added {
    width: 100%;
}

.homepage .recently-added .recently-added-item {
    height: 84px; padding: 5px 0; display: table; vertical-align: middle;
    border-bottom: 1px solid #EEE; width: 100%;
}

.homepage .recently-added .ra-image-wrapper {
    height: 80px; width: 80px; float: left; halign: center; display: table-cell; vertical-align: middle;
}

.homepage .recently-added .ra-image {
    width: 80px; height: 80px; font-size: 18px;
    color: #FFF; display: table;
    overflow: hidden;
}

.homepage .recently-added .ra-image img {
    width: 80px; height: 80px;
}

.homepage .recently-added .item-data {
    color: #000;
    width: 100%;
    position: relative;
    padding-left: 15px;
    display: table-cell;
    vertical-align: middle;
    font-size: 14px;
}

.homepage .recently-added .item-data td.item-metadata {
    white-space: nowrap;
}

.homepage .recently-added .item-metadata {
    text-align: right;
    width: 80px;
    color: #AAA;
    font-size: 12px;
    text-transform: uppercase;
    -webkit-font-smoothing: auto;
}

.homepage .recently-added i {
    padding-right: 7px;
    font-size: 12px;
}

/*today*/

.homepage .today-heading {
    border-bottom: 1px solid #EEE;
}

.homepage .events-today .add-entry {
    text-transform: uppercase;
    color: #AAA;
    font-weight: 100;
    font-size: 11px;
    letter-spacing: 2px;
    padding: 10px 0 0 0;
}

.homepage .events-today .event {
    width: 100%;
    height: 48px;
    padding: 5px 0;
    display: table;
    border-bottom: 1px solid #EEE;
}

.homepage .events-today .event-type {
    height: 100%;
    width: 2.5px;
    display: table-cell;
    vertical-align: middle;
}

.homepage .events-today .event-text {
    padding-left: 20px;
    display: table-cell;
    vertical-align: middle;
}

/*bottom*/

.homepage .artwork-list {
    border-bottom: 1px solid #EEE;
    display: table;
    padding: 6px 0;
    width: 100%;
}
.homepage .artwork-list .inner {
    display: table-cell;
    vertical-align: middle;
    width: 100%;
}
.homepage .artwork-list .inner .dates{
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #AAA;
    font-size: 11px;
}

.homepage .tel, .homepage .int-tel, .mail {
    width: 95%; border-bottom: 1px solid #EEE; display: table; padding: 15px 0;
}
.homepage .tel {
    border-top: 1px solid #EEE;
}
.homepage .tel .inner, .homepage .int-tel .inner, .homepage .mail .inner {
    display: table-cell; vertical-align: middle; width: 100%; font-size: 18px;
}

/*tutorials*/

.homepage.tutorials {
    border-top: 1px solid #eee; padding: 20px 0; margin-top: 20px; text-align: center; height: 530px;
}

.homepage .tutorials-caption-container {
    text-align: left; max-width: 480px; margin: 0 auto; position: relative;
}

.homepage.tutorials-other-space {
    height: 10px; border-top: 1px solid #eee; padding: 10px 0; margin-top: 20px;
}

/*responsive*/

@media screen and (max-width: 1220px) {

    .homepage .records_list.tile_list ul {
        width: 30%;
    }
    
}

@media screen and (max-width: 1171px) {

    .homepage .main-column {
        width: 65%;
    }

}

@media screen and (max-width: 1105px) {

    .homepage-main-section .content {
        display: none;
    }

    .homepage .main-column {
        width: 60%;
    }

    .homepage .right-column {
        width: 30%;
    }

}

@media screen and (max-width: 991px) {
    .homepage .menu-icons {
        width: 73%;
    }
    .homepage .main-search {
        width: 25%;
    }
}

@media screen and (max-width: 968px) {
    .homepage .main-column {
        width: 57.5%;
    }
}

@media screen and (max-width: 934px) {

    .homepage .records_list.tile_list ul {
        width: 44%;
    }

    .homepage .main-column {
        width: 55%;
    }
}

@media screen and (max-width: 915px) {
    .homepage .menu-icons {
        width: 100%;
        float: none;
    }
    .homepage .icons-container {
        display: table;
        margin: 0 auto;
    }
    .homepage .main-search {
        width: 560px;
        display: table;
        margin: 0 auto;
        float: none;
    }

    .homepage i.fa-search {

    }

    .homepage .search-container {
        margin-top: 20px;
        width: 100%;
    }
}

@media screen and (max-width: 862px) {
    .homepage .main-column {
        width: 53%;
    }
}

@media screen and (max-width: 838px) {

    .homepage .main-column {
        width: 50%;
    }
}

@media screen and (max-width: 781px) {

    .homepage .main-column {
        width: 49%;
    }
}

@media screen and (max-width: 767px) {

    .homepage .records_list.tile_list ul {
        width: 48%;
    }

    .homepage .main-column {
        width: 100%;
        float: none;
    }

    .homepage .right-column {
        width: 100%;
        float: none;
    }
}

@media screen and (max-width: 671px) {

    .homepage .main-search {
        width: 100%;
    }

    .homepage .icons-container {
        display: block;
        text-align: center;
        max-width: 420px;
        margin: 0 auto;
    }

    /*.homepage .menu-icons {
        display: none;
    }*/

    /*.homepage .main-menu-icon {

        font-size: 32px;
    }*/

    /*.homepage .main-menu-item {
        width: 59px;
    }*/

    .homepage .main-menu-item-caption {
        
        color: #888;
        /*display: none;*/
    }
}

@media screen and (max-width: 565px) {

    .homepage .records_list.tile_list ul {
        width: 45%;
    }

    .homepage .right-column {
        min-width: 0px;
    }

    div.homepage.tutorials {
        height: 500px !important;
    }
}

/*@media screen and (max-width: 464px) {

    .homepage .main-menu-icon {
        font-size: 26px;
    }

    .homepage .main-menu-item {
        width: 41px;
    }

}
*/
@media screen and (max-width: 404px) {

    .homepage .main-menu-item.settings {
        display: none;
    }

}

@media screen and (max-width: 399px) {
    /*narrower container for contact data (220px)
      make recently added smaller - font 12px, metadata 10px, image size 60px and padding left on item data 10px*/

    .homepage .recently-added .recently-added-item {
        height: 64px;
    }

    .homepage .recently-added .ra-image-wrapper {
        width: 60px;
    }

    .homepage .recently-added .ra-image {
        width: 60px;
        height: 60px;
    }

    .homepage .recently-added .ra-image img {
        width: 60px;
        height: 60px;
    }

    .homepage .recently-added .item-data {
        padding-left: 10px;
        font-size: 12px;
    }
    .homepage .recently-added .item-metadata {
        font-size: 10px;
    }

    .homepage .contacts .contact-data {
        max-width: 220px;
    }
}