/* 
    Created on : 08/08/2018, 10:23:42
    Author     : ti4
*/

/* Estrutura base */

.field-carousel
{
    position: relative;
}

.field-carousel-img {
    position: relative;
}

.field-carousel .carousel
{
    height: 400px !important;
}

.field-carousel-img .carousel
{
    height: 80vh !important;
}

/* Ajustar posicionamento das setas para field-carousel-img */
.field-carousel-img .field-carousel-img-larrow,
.field-carousel-img .field-carousel-img-rarrow
{
    position: absolute;
    top: 50%;
    font-size: 2.5em;
    width: 1em;
    height: 1em;
    padding: 0.1em;
    border-radius: 50%;
    background-color: rgba(66,66,66,.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    transition: ease-in-out all .3s;
    z-index: 10;
}

.field-carousel-img .field-carousel-img-larrow
{
    left: 1em;
}

.field-carousel-img .field-carousel-img-rarrow
{
    right: 1em;
}

.field-carousel-img .field-carousel-img-larrow:hover,
.field-carousel-img .field-carousel-img-rarrow:hover
{
    background-color: rgba(125,125,125,.6);
}

.field-carousel .field-carousel-display ~ .carousel
{
    height: 20vh !important;
}

.field-carousel .field-carousel-display ~ .carousel .carousel-item,
.field-carousel .field-carousel-display ~ .carousel .carousel-item img
{
    height: 20vh;
    width: 20vh;
}

ul.indicators .indicator-item{
    background-color: #999999 !important;
}

/* Display imagem atual */

.field-carousel-display
{
    display: block;
    height: 50vh;
    /*background-color: #fff;*/
    /*background-color: rgba(0, 0, 0, .7);*/
    text-align: center;
    overflow: hidden;
}

.field-carousel-display img
{
    margin: 0 auto;
    max-height: 100%;
    max-width: 100%;
}

@media only screen and (max-width: 600px)
{
    .field-carousel-display
    {
        display: none;
    }
}

/* Setas Navegação */

.field-carousel-larrow,
.field-carousel-rarrow
{
    position: absolute;
    top: 50%;


    font-size: 3em;
    width: 1em;
    height: 1em;
    padding: 0.1em;

    border-radius: 50%;
    background-color: rgba(66,66,66,.5);
    cursor: pointer;

    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;

    -webkit-justify-content: centar;
    justify-content: center;

    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);

    -webkit-transition: ease-in-out all .3s;
    -moz-transition: ease-in-out all .3s;
    -o-transition: ease-in-out all .3s;
    transition: ease-in-out all .3s;
}

.field-carousel-larrow svg path,
.field-carousel-rarrow svg path
{
    fill: #fff;
    width: 1em;
    height: 1em;
}

.field-carousel-larrow:hover,
.field-carousel-rarrow:hover
{
    background-color: rgba(125,125,125,.6);
}

.field-carousel-display ~ .field-carousel-larrow,
.field-carousel-display ~ .field-carousel-rarrow
{
    top: 60vh;
    font-size: 2em;
}

@media only screen and (max-width: 600px)
{
    .field-carousel-display ~ .field-carousel-larrow,
    .field-carousel-display ~ .field-carousel-rarrow
    {
        top: 50%;
        font-size: 1.5em;
    }
}

.field-carousel-larrow
{
    left: 0.2em;
}

.field-carousel-rarrow
{
    right: 0.2em;
}

/* Elementos do carousel */

.field-carousel-item
{
    position: relative;

    width: 100%;
    height: 100%;

    color: white;
    overflow: hidden;
}

.field-carousel-item > svg,
.field-carousel-item > img
{
    position: absolute;
    top: 50%;

    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: auto;

    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.field-carousel-overlay
{
    position: absolute;

    top: 0;
    width: 100%;
    height: 100%;
    /*background-color: rgba(80,80,80,.4);*/
    z-index: 1;

}

::-webkit-scrollbar {
    width: 12px;
    background: #FFF;
}

::-webkit-scrollbar-track {
    /*-webkit-box-shadow: inset 0 0 10px rgba(0,0,0,1);*/ 
    background: #FFF;
    /*    border-radius: 10px;*/
}

::-webkit-scrollbar-thumb {
    /*border-radius: 10px;*/
    /*-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.8);*/ 
    background: #999999;
}

.field-carousel .carousel-slider .field-carousel-overlay
{
    width: 30%;
}

.field-carousel .carousel-padrao .field-carousel-item.align_left > .field-carousel-overlay
{
    left: 5%;
}

.field-carousel .carousel-padrao .field-carousel-item.align_middle > .field-carousel-overlay
{
    left: 35%;
}

.field-carousel .carousel-padrao .field-carousel-item.align_right > .field-carousel-overlay
{
    left: auto;
    right: 5%;
}

/* Overlay de informações */

.field-carousel-overlay-header,
.field-carousel-overlay-content,
.field-carousel-overlay-footer
{
    width: 100%;

    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-flex-direction: column;
    flex-direction: column;

    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;

    -webkit-justify-content: space-around;
    justify-content: space-around;

    overflow: auto;
}


.field-carousel-overlay-header,
.field-carousel-overlay-footer
{
    position: absolute;
    height: auto;
    background-color: rgba(80,80,80,.1);
    z-index: 1;
}

.field-carousel-overlay-header
{
    font-weight: 700;
    font-size: 4Em;
    padding: 5% 5px;
    top: 0;
    left: 0;
}

.field-carousel-overlay-content
{
    height: 100%;
    padding: 15% 20px;
}

.carousel-item p{
    font-size: 1.2Em !important;    
}

.field-carousel-overlay-footer
{
    font-weight: 300;
    font-size: 2Em;
    bottom: 0;
    left: 0;
    padding: 10% 5px;
}