/* ------------------------------------------------------------ *\
|* ------------------------------------------------------------ *|
|* Navigation
|* ------------------------------------------------------------ *|
\* ------------------------------------------------------------ */

/* ------------------------------------------------------------ *\
|* ------------------------------------------------------------ *|
|* Image Grid
|* ------------------------------------------------------------ *|
\* ------------------------------------------------------------ */
.col {
    float: left
}
.carousel-inner.testi-height {
  min-height: 235px;
}
.col-row {
    margin-bottom: 60px
}
.col-row:last-child {
    margin-bottom: 0
}
.two-col {
    padding-left: 60px
}
.two-col .col {
    width: 268px
}
.col-1-2 {
    margin-left: -60px;
    margin-right: 60px;
}
/* ------------------------------------------------------------ *\
|* ------------------------------------------------------------ *|
|* Figures
|* ------------------------------------------------------------ *|
\* ------------------------------------------------------------ */
figure {
    margin: 0;
    position: relative;
}
figure img {
    display: block;
    position: relative;
    z-index: 10;
    max-width: 100%;
    height: auto;
}
figure figcaption {
    display: block;
    position: absolute;
    z-index: 5;
}
figure h3 {
    color: #fff;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 10px;
}
figure span {
    color: #000;
    display: block;
    line-height: 1.2;
}
figure a.close-caption {
    display: block;
    position: absolute;
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 44px;
    font-size: 24px;
    font-weight: 700;
    color: #000;
}
figure a.close-caption.hidden {
    display: none
}
/* ------------------------------------------------------------ *\
|* ------------------------------------------------------------ *|
|* Effect 1
|* ------------------------------------------------------------ *|
\* ------------------------------------------------------------ */

/* ------------------------------------------------------------ *\
|* ------------------------------------------------------------ *|
|* Effect 2
|* ------------------------------------------------------------ *|
\* ------------------------------------------------------------ */
#effect-2 a.close-caption {
    top: 10px;
    right: 10px;
}
#effect-2 figure figcaption {
    top: 0;
    left: 0;
    width: 90%;
    height: 100%;
    background: rgba(255,175,75,1);
background: -moz-linear-gradient(top, rgba(255,175,75,1) 0%, rgba(255,146,10,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,175,75,1)), color-stop(100%, rgba(255,146,10,1)));
background: -webkit-linear-gradient(top, rgba(255,175,75,1) 0%, rgba(255,146,10,1) 100%);
background: -o-linear-gradient(top, rgba(255,175,75,1) 0%, rgba(255,146,10,1) 100%);
background: -ms-linear-gradient(top, rgba(255,175,75,1) 0%, rgba(255,146,10,1) 100%);
background: linear-gradient(to bottom, rgba(255,175,75,1) 0%, rgba(255,146,10,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffaf4b', endColorstr='#ff920a', GradientType=0 );
	border:1px #C60 solid;
    text-align: center;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    -ms-transform: rotateY(-180deg);
    -o-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}
#effect-2 figure figcaption h3 {
    margin-top: 50px
}
#effect-2 figure img {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}
.no-touch #effect-2 figure:hover img,
#effect-2 figure.hover img {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg);
}
.no-touch #effect-2 figure:hover figcaption,
#effect-2 figure.hover figcaption {
    -webkit-transform: rotateY(0);
    -moz-transform: rotateY(0);
    -ms-transform: rotateY(0);
    -o-transform: rotateY(0);
    transform: rotateY(0);
}
/* ------------------------------------------------------------ *\
|* ------------------------------------------------------------ *|
|* Effect 3
|* ------------------------------------------------------------ *|
\* ------------------------------------------------------------ */

/* ------------------------------------------------------------ *\
|* ------------------------------------------------------------ *|
|* Media Queries
|* ------------------------------------------------------------ *|
\* ------------------------------------------------------------ */
@media all and (max-width: 1200px) { 
    .col {
        float: none
    }
    .two-col {
        padding-left: 0
    }
    .two-col .col {
        margin-bottom: 60px
    }
    .two-col .col:last-child {
        margin-bottom: 0
    }
    .col-1-2 {
        margin: 0 auto
    }
    .col-2-2 {
        margin: 0 auto
    }
}
@media all and (max-width: 660px) { 
    .col-row {
        margin-bottom: 30px
    }
    .two-col .col {
        max-width: 540px;
        width: 100%;
        margin-bottom: 30px;
    }
}
@media all and (max-width: 615px) { 
    figure h3 {
        font-size: 18px
    }
    figure span {
        font-size: 12px
    }
}
@media all and (max-width: 480px) { 
    #effect-2 figure figcaption h3 {
        margin-top: 100px
    }
}
@media all and (max-width: 360px) { 
    #effect-2 figure figcaption h3 {
        margin-top: 80px
    }
}
