/*This is needed for the 7block CSS*/

@font-face {
    font-weight: normal;
    font-style: normal;
    font-family: 'feathericons';
    src: url('/Markup/Embark/v1/fonts/feathericons/feathericons.eot?-8is7zf');
    src: url('/Markup/Embark/v1/fonts/feathericons/feathericons.eot') format('embedded-opentype'), url('/Markup/Embark/v1/fonts/feathericons/feathericons.woff?-8is7zf') format('woff'), url('/Markup/Embark/v1/fonts/feathericons/feathericons.ttf?-8is7zf') format('truetype'), url('/Markup/Embark/v1/fonts/feathericons/feathericons.svg?-8is7zf') format('svg');
    font-display: swap;
}

.box-block {
    padding-top: 25px;
}

    .box-block .container {
        width: unset;
    }

.grid {
    position: relative;
    margin: 0 auto;
    /*padding: 1em 0 4em;*/
    padding: 0;
    max-width: 1000px;
    list-style: none;
    text-align: center;
}

/* Common style */
/*.grid figure re
	position: relative;
	float: left;
	overflow: hidden;
	margin: 10px 1%;
	min-width: 320px;
	max-width: 480px;
	max-height: 360px;
	width: 48%;
	background: #3085a3;
	text-align: center;
	cursor: pointer;
}*/

.box-block .row:first-child .grid figure {
    position: relative;
    float: left;
    overflow: hidden;
    min-width: 375px;
    max-height: 360px;
    width: 99%;
    text-align: center;
    cursor: pointer;
    margin: 0;
}

.box-block .row:last-child .grid figure {
    position: relative;
    float: left;
    overflow: hidden;
    min-width: 281px;
    max-height: 360px;
    width: 99%;
    text-align: center;
    cursor: pointer;
    margin: 0;
}

.box-block .row:last-child {
    padding-top: 1px;
}

.box-block .top-row h2 {
    color: #fff;
    border: 1px solid white;
    background: rgba(38, 101, 171, 0.85);
    text-transform: uppercase;
    display: inline;
    padding: 15px 5px;
    line-height: 275px;
}

.box-block .bottom-row h2 {
    color: #fff;
    border: 1px solid white;
    background: rgba(38, 101, 171, 0.85);
    text-transform: uppercase;
    display: inline;
    padding: 15px 5px;
    line-height: 215px;
}

.grid figure img {
    position: relative;
    display: block;
    min-height: 100%;
    width: 100%;
    opacity: 0.8;
}

.grid figure figcaption {
    /*padding: 2em;*/
    color: #fff;
    /*text-transform: uppercase;*/
    /*font-size: 1.25em;*/
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

    .grid figure figcaption::before,
    .grid figure figcaption::after {
        pointer-events: none;
    }

    .grid figure figcaption,
    .grid figure figcaption > a {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

        /* Anchor will cover the whole item by default */
        /* For some effects it will show as a button */
        .grid figure figcaption > a {
            z-index: 1000;
            text-indent: 200%;
            white-space: nowrap;
            font-size: 0;
            opacity: 0;
        }

/*.grid figure a.btn.btn-primary {
    text-indent: unset;
    left: unset;
    top: unset;
    width: unset;
    height: unset;
    opacity: 0;
    font-size: 12px;
    color: #fff;
    border-color: #fff;
    margin-left: -45px;
}*/

/*.grid figure a.btn.btn-primary:hover {
    background: transparent !important;
}*/

.grid figure h2 {
    word-spacing: -0.15em;
    font-weight: 300;
    font-size: 21px;
}

    .grid figure h2 span {
        font-weight: 800;
    }

.grid figure h2,
.grid figure p {
    margin: 0;
    color: #fff;
}

.grid figure p {
    letter-spacing: 1px;
    font-size: 68.5%;
}

.box-block .col-md-4,
.box-block .col-md-3 {
    padding-left: unset;
    padding-right: unset;
}

/* Individual effects */
/*---------------*/
/***** Oscar *****/
/*---------------*/

figure.effect-oscar {
    background: rgba(38, 101, 171, .85);
}

    figure.effect-oscar img {
        opacity: 0.9;
        -webkit-transition: opacity 0.35s;
        transition: opacity 0.35s;
    }

    figure.effect-oscar figcaption {
        /*padding: 3em;*/
        background-color: rgba(38, 101, 171, .45);
        -webkit-transition: background-color 0.35s;
        transition: background-color 0.35s;
    }

        figure.effect-oscar figcaption::before {
            position: absolute;
            top: 10px;
            right: 10px;
            bottom: 10px;
            left: 10px;
            border: 1px solid #fff;
            content: '';
        }

    figure.effect-oscar h2 {
        margin: 15% 0 10px 0;
        -webkit-transition: -webkit-transform 0.35s;
        transition: -webkit-transform 0.35s;
        transition: transform 0.35s;
        transition: transform 0.35s, -webkit-transform 0.35s;
        -webkit-transform: translate3d(0,100%,0);
        transform: translate3d(0,100%,0);
    }

    figure.effect-oscar figcaption::before,
    figure.effect-oscar p {
        opacity: 0;
        -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
        transition: opacity 0.35s, -webkit-transform 0.35s;
        transition: opacity 0.35s, transform 0.35s;
        transition: opacity 0.35s, transform 0.35s, -webkit-transform 0.35s;
        -webkit-transform: scale(0);
        -ms-transform: scale(0);
            transform: scale(0);
    }

/*.grid figure.effect-oscar:hover a.btn.btn-primary {
    display:none;
}*/

@media screen and (min-width: 1025px) {
    .box-block .row:first-child .grid figure.effect-oscar:hover p {
        padding-left: 15px;
        padding-right: 15px;
        font-size: 16px;
        /*width: 340px;*/
    }

    .box-block .row:last-child .grid figure.effect-oscar:hover p {
        padding-left: 15px;
        padding-right: 15px;
        font-size: 16px;
    }

    figure.effect-oscar:hover figcaption::before,
    figure.effect-oscar:hover p {
        opacity: 1;
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
            transform: scale(1);
    }

    figure.effect-oscar:hover figcaption {
        background: rgba(38, 101, 171, .85);
    }

    figure.effect-oscar:hover img {
        opacity: 0.4;
    }


    figure.effect-oscar:hover a.btn.btn-primary.readmore {
        display: block;
        margin-top: 10px;
    }

    a.btn.btn-primary.readmore:hover {
        background: unset;
    }

    figure.effect-oscar:hover h2 {
        /*-webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);*/
        background: unset;
        border: unset;
        margin: unset;
        display: block;
        padding: unset;
        line-height: 20px !important;
        margin-bottom: 25px;
        margin-top: 15px;
    }
}

a.btn.btn-primary.readmore {
    color: #fff;
    border-color: #fff;
    display: none;
    width: 25%;
    margin: auto;
}

.bottom-row a.btn.btn-primary.readmore {
    width: 35%;
}


@media screen and (max-width: 1300px) {
    .box-block .row:last-child .grid figure.effect-oscar:hover p {
        padding-left: 15px;
        padding-right: 15px;
        font-size: 12px;
    }


    /*.box-block .row:last-child .grid figure.effect-oscar a.btn.btn-primary.readmore {
        display: none;
    }*/
}

@media screen and (max-width:1199px) {
    .box-block .row:first-child .grid figure {
        position: relative;
        float: left;
        overflow: hidden;
        min-width: 316px;
        max-height: 360px;
        width: 99%;
        text-align: center;
        cursor: pointer;
        margin: 0;
    }


    .box-block .row:last-child .grid figure {
        position: relative;
        float: left;
        overflow: hidden;
        min-width: 238px;
        max-height: 360px;
        width: 99%;
        text-align: center;
        cursor: pointer;
        margin: 0;
    }

    .grid figure h2 {
        word-spacing: -0.15em;
        font-weight: 300;
        font-size: 14px;
    }

    /*.row:first-child .grid figure a.btn.btn-primary {
        text-indent: unset;
        left: unset;
        top: unset;
        width: unset;
        height: unset;
        opacity: 0;
        font-size: 12px;
        color: #fff;
        border-color: #fff;
        margin-top: 35px;
        margin-left: -45px;
    }*/

    /*.row:last-child .grid figure a.btn.btn-primary {
        text-indent: unset;
        left: unset;
        top: unset;
        width: unset;
        height: unset;
        opacity: 1;
        font-size: 12px;
        color: #fff;
        border-color: #fff;
        margin-top: 35px;
        margin-left: -45px;
    }*/

    /*.grid figure.effect-oscar:hover a.btn.btn-primary {
        display:none;
    }*/

    /*.box-block .row:first-child .grid figure.effect-oscar:hover p {
        padding-left: 35px;
        width: 285px;
        padding-top: 25px;
    }

    .box-block .row:last-child .grid figure.effect-oscar:hover p {
        display: none;
    }*/
}

@media screen and (max-width:1024px) {
    .box-block .row:first-child .grid figure {
        position: relative;
        float: left;
        overflow: hidden;
        min-width: 248px;
        max-height: 360px;
        width: 99%;
        text-align: center;
        cursor: pointer;
        margin: 0;
    }


    .box-block .row:last-child .grid figure {
        position: relative;
        float: left;
        overflow: hidden;
        min-width: 186px;
        max-height: 360px;
        width: 99%;
        text-align: center;
        cursor: pointer;
        margin: 0;
    }

    .box-block .top-row h2 {
        color: #fff;
        border: 1px solid white;
        background: rgba(38, 101, 171, 0.85);
        text-transform: uppercase;
        display: inline;
        padding: 15px 5px;
        line-height: 165px;
    }

    .box-block .bottom-row h2 {
        color: #fff;
        border: 1px solid white;
        background: rgba(38, 101, 171, 0.85);
        text-transform: uppercase;
        display: inline;
        padding: 15px 5px;
        line-height: 135px;
    }

    .grid figure h2 {
        word-spacing: -0.15em;
        font-weight: 300;
        font-size: 13px;
    }

    .grid figure.effect-oscar:hover p {
        display: none;
    }

    /*.row:last-child figure.effect-oscar figcaption::before {
        position: absolute;
        top: 20px;
        right: 20px;
        bottom: 20px;
        left: 20px;
        border: 1px solid #fff;
        content: '';
    }*/

    a.btn.btn-primary.readmore {
        display: none !important;
    }

    .box-block .col-md-4, .box-block .col-md-3 {
        padding: unset;
    }
}

@media screen and (max-width:767px) {
    .top-row,
    .bottom-row {
        padding: 5px 5px !important;
    }

    .box-block .row:first-child .grid figure {
        position: relative;
        float: left;
        overflow: hidden;
        min-width: 250px;
        max-height: 360px;
        width: 100%;
        text-align: center;
        cursor: pointer;
        margin: 0;
    }

    .box-block .row:last-child .grid figure {
        position: relative;
        float: left;
        overflow: hidden;
        min-width: 165px;
        max-height: 360px;
        width: auto;
        text-align: center;
        cursor: pointer;
        margin: 0;
    }

    .box-block .top-row h2 {
        color: #fff;
        border: 1px solid white;
        background: rgba(38, 101, 171, 0.85);
        text-transform: uppercase;
        display: inline;
        padding: 15px 5px;
        line-height: 225px;
    }

    .box-block .bottom-row h2 {
        color: #fff;
        border: 1px solid white;
        background: rgba(38, 101, 171, 0.85);
        text-transform: uppercase;
        display: inline;
        padding: 15px 5px;
        line-height: 125px;
    }

    .grid figure h2 {
        word-spacing: -0.15em;
        font-weight: 300;
        font-size: 19px;
    }
}

@media screen and (max-width:598px) {
    .bottom-row, .top-row {
        padding: 2px 2px !important;
    }

        .top-row .grid figure h2 {
            word-spacing: -0.15em;
            font-weight: 300;
            font-size: 21px;
        }

        .bottom-row .grid figure h2 {
            word-spacing: -0.15em;
            font-weight: 300;
            font-size: 13px;
        }
}

@media screen and (max-width:1525px) {
    a.btn.btn-primary.readmore {
        width: 27%;
    }
}

@media screen and (max-width: 1450px) {
    a.btn.btn-primary.readmore {
        width: 30%;
    }

    .bottom-row a.btn.btn-primary.readmore {
        width: 45%;
    }
}

@media screen and (max-width:1270px) {
    a.btn.btn-primary.readmore {
        width: 33%;
    }
}

@media screen and (max-width: 1130px) {
    a.btn.btn-primary.readmore {
        width: 38%;
    }

    .bottom-row a.btn.btn-primary.readmore {
        width: 50%;
    }
}