﻿/* MASTER SLIDE V2 */

/*----------------------------SLIDE MAIN -----------------------*/
.S_Master_Slide_Main {
    flex: 0 1 auto;
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    min-height: 180px;
    background-color: rgba(70,70,70,1.0);
    z-index: 50;
}
.S_Master_Slide {
    flex: 0 1 auto;
    position: relative;
    display: block;
    width: 100%;
    height: 180px;
}
.S_Master_Slide_Mobile {
    flex: 0 1 auto;
    position: relative;
    display: none;
    width: 100%;
    height: 180px;
    z-index: 50;
}
.S_Master_Slide_Over {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background-color: rgba(0,0,0,0.6);
    z-index: 250;
}
/*----------------------------SLIDE MAIN -----------------------*/


/*--------------------------- SLIDE PIC ------------------------*/
.S_Master_Slide_Pic
{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    z-index: 100;
    overflow: hidden;
}
.S_Master_Slide_Pic_File_Other
{
    position: absolute;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    z-index: 100;
    
    -webkit-transform-origin: 50% 50%;
    -moz-transform-origin: 50% 50%;
    -o-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;

    animation-name: anim_zoom_out;
    
    animation-delay: 0s;
    
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.150, 0.000, 0.000, 1.000);
    animation-direction: normal;
    animation-duration: 4.0s;
}
@keyframes anim_zoom_out {
    0%
    {
        -moz-transform: scale(1.3,1.3);
        -ms-transform: scale(1.3,1.3);
        -o-transform: scale(1.3,1.3);
        -webkit-transform: scale(1.3,1.3);
        transform: scale(1.3,1.3);
    }
    100%
    {
        -moz-transform: scale(1.0,1.0);
        -ms-transform: scale(1.0,1.0);
        -o-transform: scale(1.0,1.0);
        -webkit-transform: scale(1.0,1.0);
        transform: scale(1.0,1.0);
    }
}
.S_Master_Slide_Pic_File
{
    position: absolute;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    z-index: 100;
    -moz-transition: all 0.6s ease-in-out;
	-ms-transition: all 0.6s ease-in-out;
	-o-transition: all 0.6s ease-in-out;
	-webkit-transition: all 0.6s ease-in-out;
	transition: all 0.6s ease-in-out;
}

.S_Master_Slide_Pic_File_LR_New
{
    position: absolute;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    
    -webkit-perspective-origin: 50%, 50%;
    -moz-perspective-origin: 50%, 50%;
    -o-perspective-origin: 50%, 50%;
    -ms-perspective-origin: 50%, 50%;
    perspective-origin: 50%, 50%;
    -webkit-transform-origin: 50% 50%;
    -moz-transform-origin: 50% 50%;
    -o-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;

    -moz-transition: all 0.7s cubic-bezier(0.700, 0.000, 0.300, 1.000);
	-ms-transition: all 0.7s cubic-bezier(0.700, 0.000, 0.300, 1.000);
	-o-transition: all 0.7s cubic-bezier(0.700, 0.000, 0.300, 1.000);
	-webkit-transition: all 0.7s cubic-bezier(0.700, 0.000, 0.300, 1.000);
	transition: all 0.7s cubic-bezier(0.700, 0.000, 0.300, 1.000);
}
.S_Master_Slide_Pic_File_LR_Old
{
    position: absolute;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    
    -webkit-perspective-origin: 50%, 50%;
    -moz-perspective-origin: 50%, 50%;
    -o-perspective-origin: 50%, 50%;
    -ms-perspective-origin: 50%, 50%;
    perspective-origin: 50%, 50%;
    -webkit-transform-origin: 50% 50%;
    -moz-transform-origin: 50% 50%;
    -o-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;

    -moz-transition: all 0.7s cubic-bezier(0.700, 0.000, 0.300, 1.000);
	-ms-transition: all 0.7s cubic-bezier(0.700, 0.000, 0.300, 1.000);
	-o-transition: all 0.7s cubic-bezier(0.700, 0.000, 0.300, 1.000);
	-webkit-transition: all 0.7s cubic-bezier(0.700, 0.000, 0.300, 1.000);
	transition: all 0.7s cubic-bezier(0.700, 0.000, 0.300, 1.000);
}
/*--------------------------- SLIDE PIC ------------------------*/


/*-------------------------- SLIDE TEXT ------------------------*/
.S_Master_Slide_Text
{
    position: absolute;
    display: block;
    width: auto;
    height: auto;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    overflow: hidden;
    z-index: 200;
}
.S_Master_Slide_Text_Content
{
    position: absolute;
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    left: 50px;
    right: 50px;
    top: 50%;
    font-size: 1.5em;
    line-height: 25px;
    z-index: 100;
    
    -webkit-transform: translateX(0%) translateY(-50%);
    -moz-transform: translateX(0%) translateY(-50%);
    -o-transform: translateX(0%) translateY(-50%);
    -ms-transform: translateX(0%) translateY(-50%);
    transform: translateX(0%) translateY(-50%);
}
.S_Master_Slide_Text_Content_Title
{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: normal;
    padding: 3px 0px 0px 0px;
    margin: 0px;

    -webkit-perspective-origin: 50%, 50%;
    -moz-perspective-origin: 50%, 50%;
    -o-perspective-origin: 50%, 50%;
    -ms-perspective-origin: 50%, 50%;
    perspective-origin: 50%, 50%;

    -webkit-transform-origin: 50% 50%;
    -moz-transform-origin: 50% 50%;
    -o-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;

    -moz-transition: all 0.7s cubic-bezier(0.700, 0.000, 0.300, 1.000);
	-ms-transition: all 0.7s cubic-bezier(0.700, 0.000, 0.300, 1.000);
	-o-transition: all 0.7s cubic-bezier(0.700, 0.000, 0.300, 1.000);
	-webkit-transition: all 0.7s cubic-bezier(0.700, 0.000, 0.300, 1.000);
	transition: all 0.7s cubic-bezier(0.700, 0.000, 0.300, 1.000);

    -moz-transition-delay: 0.3s;
    -ms-transition-delay: 0.3s;
    -o-transition-delay: 0.3s;
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
}
.S_Master_Slide_Text_Content_Text
{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: normal;
    padding: 0px;
    
    -webkit-perspective-origin: 50%, 50%;
    -moz-perspective-origin: 50%, 50%;
    -o-perspective-origin: 50%, 50%;
    -ms-perspective-origin: 50%, 50%;
    perspective-origin: 50%, 50%;

    -webkit-transform-origin: 50% 50%;
    -moz-transform-origin: 50% 50%;
    -o-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;

    -moz-transition: all 0.7s cubic-bezier(0.700, 0.000, 0.300, 1.000);
	-ms-transition: all 0.7s cubic-bezier(0.700, 0.000, 0.300, 1.000);
	-o-transition: all 0.7s cubic-bezier(0.700, 0.000, 0.300, 1.000);
	-webkit-transition: all 0.7s cubic-bezier(0.700, 0.000, 0.300, 1.000);
	transition: all 0.7s cubic-bezier(0.700, 0.000, 0.300, 1.000);

    -moz-transition-delay: 0.3s;
    -ms-transition-delay: 0.3s;
    -o-transition-delay: 0.3s;
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
}
.S_Master_Slide_Text_Content_Link_Main
{
    position: relative;
    display: table;
    height: auto;
    clear: both;
    
    -webkit-perspective-origin: 50%, 50%;
    -moz-perspective-origin: 50%, 50%;
    -o-perspective-origin: 50%, 50%;
    -ms-perspective-origin: 50%, 50%;
    perspective-origin: 50%, 50%;

    -webkit-transform-origin: 50% 50%;
    -moz-transform-origin: 50% 50%;
    -o-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;

    -moz-transition: all 0.7s cubic-bezier(0.700, 0.000, 0.300, 1.000);
	-ms-transition: all 0.7s cubic-bezier(0.700, 0.000, 0.300, 1.000);
	-o-transition: all 0.7s cubic-bezier(0.700, 0.000, 0.300, 1.000);
	-webkit-transition: all 0.7s cubic-bezier(0.700, 0.000, 0.300, 1.000);
	transition: all 0.7s cubic-bezier(0.700, 0.000, 0.300, 1.000);

    -moz-transition-delay: 0.3s;
    -ms-transition-delay: 0.3s;
    -o-transition-delay: 0.3s;
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
}
.S_Master_Slide_Text_Content_Link
{
    position: relative;
    display: table;
    width: auto;
    height: auto;
    min-width: 70px;
    padding: 7px 15px 7px 15px;
    margin-top: 10px;
    font-family: 'Avenir';
    font-style: normal;
    font-weight: bold;
    font-size: 0.6em;
    text-align: center;
    cursor: pointer;
    clear: both;
}
.S_Master_Slide_Text_Content_Link:hover
{
    /*
    background-color: #1964B9;
    box-shadow: 0px 0px 0px 2px rgba(25,100,185,0.5);
    */
}
.S_Master_Slide_Text_Slide_Link
{
    position: absolute;
    display: block;
    width: auto;
    height: auto;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 200;
}
/*-------------------------- SLIDE TEXT ------------------------*/





@media screen and (min-width:0px) and (max-width:1300px)
{
    .S_Master_Slide_Text_Content
    {
        left: 20px;
        right: 20px;
    }
}

@media screen and (min-width:0px) and (max-width:800px)
{
    .S_Master_Slide
    {
        display: none;
    }
    .S_Master_Slide_Mobile
    {
        display: block;
    }
    .S_Master_Slide_Text_Content
    {
        font-size: 1.3em;
        line-height: 20px;
    }
    .S_Master_Slide_Text_Content_Title
    {
        padding: 0px;
    }
    .S_Master_Slide_Text_Content_Link
    {
        min-width: 50px;
        padding: 3px 7px 3px 7px;
        margin-top: 4px;
    }
}

@media screen and (min-width:0px) and (max-width:600px)
{
    .S_Master_Slide_Text_Content
    {
        font-size: 1.1em;
        line-height: 18px;
    }
    .S_Master_Slide_Text_Content_Link
    {
        min-width: 50px;
        padding: 3px 7px 3px 7px;
        margin-top: 4px;
    }
}