﻿body {
    background-color: white;
    /*background: url('/Images/MISHomePage/1333-why-uq-world.jpg');           
            background-size: cover;*/
}

    body:before {
        z-index: 1;
        opacity: 0.4;
        background: url('/Images/MISHomePage/background_Steele_Building_bw.png');
        -ms-background-size: cover;
        -o-background-size: cover;
        -moz-background-size: cover;
        -webkit-background-size: cover;
        background-size: cover;
    }


/*columns large-4 large-uncentered medium-8 medium-centered small-12*/

.column, .columns {
    position: relative;
    padding-left: 15px;
    padding-right: 15px;
    float: left;
    width: 100%;
    float: left;
}

.column.medium-centered,
.columns.medium-centered {
    margin-left: auto;
    margin-right: auto;
    float: none;
}

.column.medium-uncentered,
.columns.medium-uncentered {
    float: left;
    margin-left: 0;
    margin-right: 0;
}

.column.medium-centered:last-child,
.columns.medium-centered:last-child {
    float: none;
}

.column.medium-uncentered:last-child,
.columns.medium-uncentered:last-child {
    float: left;
}

.column.medium-uncentered.opposite,
.columns.medium-uncentered.opposite {
    float: right;
}

.column.large-centered,
.columns.large-centered {
    margin-left: auto;
    margin-right: auto;
    float: none;
}

.column.large-uncentered,
.columns.large-uncentered {
    float: left;
    margin-left: 0;
    margin-right: 0;
}

.column.large-centered:last-child,
.columns.large-centered:last-child {
    float: none;
}

.column.large-uncentered:last-child,
.columns.large-uncentered:last-child {
    float: left;
}

.column.large-uncentered.opposite,
.columns.large-uncentered.opposite {
    float: right;
}


.small-12 {
    width: 100%;
}

.medium-8 {
    width: 66.66667%;
}

.large-4 {
    width: 30%;
}

.card {
    position: relative;
    overflow: hidden;
    margin-bottom: 32px;
    margin-bottom: 2rem;
    background: black;
    text-align: center;
    cursor: pointer;
    max-height: 24rem;
    /*width:354px;*/
}

    .card img {
        opacity: 0.68;
        width: 100%;
        height: 100%;
        min-height: 310px;
    }

.card__content {
    position: absolute;
    top: 20%;
    left: 0;
    /*padding: 32px;
            padding: 2rem;*/
    width: 100%;
    height: 100%;
    color: white;
}

.card__title {
    font-size: 25px;
    font-size: 1.575rem;
    transform: translate3d(0, 48px, 0);
    transform: translate3d(0, 3rem, 0);
    -moz-transition: -moz-transform, 0.35s;
    -o-transition: -o-transform, 0.35s;
    -webkit-transition: -webkit-transform, 0.35s;
    transition: transform, 0.35s;
    padding-bottom: 15px;
}

.card__button {
    opacity: 0;
    -moz-transition: -moz-transform, 0.35s;
    -o-transition: -o-transform, 0.35s;
    -webkit-transition: -webkit-transform, 0.35s;
    transition: transform, 0.35s;
    -moz-transition: opacity, 0.2s;
    -o-transition: opacity, 0.2s;
    -webkit-transition: opacity, 0.2s;
    transition: opacity, 0.2s;
    transform: translate3d(0, 48px, 0);
    transform: translate3d(0, 3rem, 0);
    display: inline-block;
    padding: 8px 32px;
    padding: 0.5rem 2rem;
    font-size: 16px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    /*border: 2px solid rgb(189,161,78)  ;*/
}

.card:hover .card__button,
.card:hover .card__title {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/*opacity: 0.7*/
.card:hover img {
    opacity: 0.3;
}

/*PHOTO BOX STYLES*/


.rowWrapper {
    width: 100%;
    margin-top: 20px;
    overflow: hidden;
    position: relative;
    display: block;
}

.PhotoBox_wrapper {
    width: 20%;
    margin: 0;
    text-align: center;
}

/*height: 200px;*/
.PhotoBox {
    width: 100%;
    margin: 0;
    /*height: 380px;*/
    overflow: hidden !important;
    display: inline-block;
    float: left;
}

    .PhotoBox h2 {
        font-weight: bold;
        color: white;
    }

.left {
    float: left;
    margin-right: 2%;
}

.right {
    float: right;
}

.middle {
    float: left;
    margin-right: 2%;
}

.PhotoBox_image {
    width: 100%;
    height: 100%;
    padding: 0px;
    margin: 0px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    box-shadow: inset 0px 0px 20px rgba(0,0,0,0.3);
}

.PhotoBox_title_new, PhotoBox_title_new:hover, .PhotoBox_title, .PhotoBox_title:link, .PhotoBox_title:active, .PhotoBox_title:visited, .PhotoBox_title:hover {
    color: #FFF;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    line-height: 18px;
    padding: 5px 0px 0px 10px;
    background-color: rgba(0, 0, 0, 0.5);
    text-shadow: 0px 0px 5px #000;
    /*height: 380px;*/
    position: relative;
    margin-top: -300px;
    text-decoration: none;
    text-align: left;
    overflow: hidden;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    transition-property: all;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
    transition-delay: 0;
}


.PhotoBox:hover div.PhotoBox_title, .PhotoBox:active div.PhotoBox_title {
    margin-top: -37px;
    background-color: rgba(0, 0, 0, 0.9);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

/*try new transition*/
.PhotoBox:hover div.PhotoBox_title_new, .PhotoBox:active div.PhotoBox_title {
    margin-top: -37px;
    transition: background-color 0.8s ease;
    background-color: rgba(0, 0, 0, 0.9);
}

.PhotoBox_title_new, PhotoBox_title_new:hover, .PhotoBox_title a, .PhotoBox_title:link, .PhotoBox_title:active, .PhotoBox_title:visited, .PhotoBox_title:hover,
.PhotoBox_title p:link, .PhotoBox_title p:active, .PhotoBox_title p:visited, .PhotoBox_title:link, .PhotoBox_title:visited, .PhotoBox_title:active {
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    line-height: 18px;
    text-shadow: 0px 0px 5px #000;
    color: #FFF !important;
    text-decoration: none !important;
    text-align: left;
}

.PhotoBox_title ul, .PhotoBox_title ul li {
    list-style-type: none !important;
    width: 98%;
    margin: 0 !important;
    padding-left: 10px !important;
    background: none !important;
}

.PhotoBox_title li {
    display: list-item !important;
    color: #FFF !important;
    text-decoration: none !important;
    border-left: 3px solid #333;
    padding-left: 5px !important;
    background: none !important;
}

.PhotoBox_title li:hover {
    color: #FFF !important;
    text-decoration: none !important;
    border-left: 3px solid #C02424;
    padding-left: 5px !important;
    background: none !important;
}


.drop-shadow {
    /* -webkit-box-shadow: 0 2px 5px rgba(50, 50, 50, 0.45);
    -moz-box-shadow: 0 2px 5px rgba(50, 50, 50, 0.45);
    box-shadow: 0 2px 5px rgba(50, 50, 50, 0.45)*/

    -webkit-box-shadow: 0 10px 20px rgba(0,0,0,0.40), 0 6px 6px rgba(0,0,0,0.50);
    -moz-box-shadow: 0 10px 20px rgba(0,0,0,0.40), 0 6px 6px rgba(0,0,0,0.50);
    box-shadow: 0 10px 20px rgba(0,0,0,0.40), 0 6px 6px rgba(0,0,0,0.50);
}

.rounded-top {
    -webkit-border-top-left-radius: 8px;
    -webkit-border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px
}

.rounded {
    -webkit-border-top-left-radius: 8px;
    -webkit-border-top-right-radius: 8px;
    -moz-border-radius-topleft: 8px;
    -moz-border-radius-topright: 8px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px
}


/*end of uq style*/
