﻿
.section {
    clear: both;
    padding: 0px;
    margin: 0px;
}

.box {
    display: block;
    float: left;
    margin: 0 0 0 0%;
    background-color: #5B7F95;
    outline: 1px solid #ececec;
    outline-offset: -1px;
    transition: all 0.3s ease-out
}

.box > img {
    width: 100%;
    height: auto;
    transition: all 0.3s ease-out;
}

.group:before,
.group:after {
    content: "";
    display: table;
}

.group:after {
    clear: both;
}

.group {
    zoom: 1; /* For IE 6/7 */
}

.box_1_of_4 {
    position:relative;
    width: 25%;
    overflow: hidden;
    cursor: pointer;
}

.box-detail-m {
    display: none;
}

.box-detail {
    position:absolute;
    top: 0;
    left: 0;
    transition: all 0.3s ease-out;
    width: 100%
}

.box-detail .pos {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    color: #fff;
}

    .box-detail .pos h3 {
        padding: 20px;
        margin: 0;
        font-weight: 400;
        line-height: 1.4
    }

    .box-detail .pos span {
        background-color: #5B7F95;
        font-size: 12px;
        font-weight: 500;
        text-transform: uppercase;
        padding: 5px 10px 5px 20px;
        margin-left: 1px
    }

.padded-multiline {
    line-height: 1.4;
    padding: 3px 0;
    border-left: 0px solid #5B7F95;
    width: 80%;
    margin: 20px 1px 10px 1px;
}

    .padded-multiline h3 {
        background-color: #5B7F95;
        padding: 4px 8px;
        color: #fff;
        display: inline;
        margin: 0;
        line-height: 1.5;
        font-size: 20px;
        font-weight: 400
    }

        .padded-multiline h3 strong {
            position: relative;
            left: 0px;
            font-weight: 400;
        }

.box-detail-m span.date {
    background-color: #333;
    font-size: 10px;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    padding: 5px 10px 5px 20px;
    margin-left: 1px
}

.box_1_of_4 > img:hover {
    transform: scale(0.9);
    transition: all 0.3s ease-out
}


.adj-pos {
    margin-top: -50px;
    z-index: 10
}


/* ==========================================================================
		Media Styles
	============================================================================= */

/*@media only screen and (max-width: 1600px) {
	.box_1_of_4 { width: 33.33%;}
  	}*/

@media only screen and (max-width: 1300px) {
    .box_1_of_4 {
        width: 50%;
    }
}

@media only screen and (max-width: 1200px) {
    .box_1_of_4 > img:hover {
        transform: none;
    }
}


@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio: 2) {
    .box_1_of_4 {
        width: 50%
    }

    .padded-multiline h3 {
        line-height: 1.6;
        font-size: 23px;
        font-weight: 400
    }

        .padded-multiline h3 strong {
            font-weight: 400
        }
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape)and (-webkit-min-device-pixel-ratio: 2) {
    /*.box_1_of_4 { width: 33.33%;}*/
    .padded-multiline h3 {
        line-height: 1.5;
        font-size: 28px;
    }

        .padded-multiline h3 strong {
            font-weight: 400;
        }
}

@media only screen and (max-width: 767px) {
    .box_1_of_4 {
        width: 100%;
    }

    .padded-multiline h3 {
        border-bottom: 1px solid #5B7F95;
        border-top: 1px solid #5B7F95;
        line-height: 1.6
    }
}
