.slider-photo-pp{
    position: relative;
}

.slider-photo-pp .modal-dialog{
    width: 1100px;
    margin-top: 50vh;
    transform: translateY(-50%) !important;
}

.slider-photo-pp .close{
    float: inherit;
    color: white;
    text-shadow: none;
    filter: alpha(opacity=1);
    opacity: 1;
    position: absolute;
    z-index: 8;
    right: 2%;
    top: 1%;
    /*font-size: 4em !important;*/
    width: 4%;
}

.slider-photo-pp .modal-content{
    background-color: rgba(255,255,255,1);
    border: none;
    border-radius: 0;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.slider-photo-pp .carousel{
    position: relative;
    width: 100%;
    height: 700px;
    max-width: 100%;
}

.slider-photo-pp .carousel-indicators li{
    vertical-align: middle;
    width: 10px;
    height: 10px;
    border: 2px solid #ff8f00;
    margin-right: 1rem;
}

.slider-photo-pp .carousel-indicators li.active{
    background-color: #ff8f00;
    width: 12px;
    height: 12px;
}

.slider-photo-pp .carousel-indicators li button{
    width: 100%;
    height: 100%;
    overflow: hidden;
    -webkit-appearance: inherit;
    padding: 0;
    position: relative;
    display: list-item;
    border: none;
    background: transparent;
}

.slider-photo-pp .carousel-indicators li button:focus, .slider-photo-pp .carousel-control:focus span:before{
    outline: 1px solid deepskyblue;
}

.slider-photo-pp .carousel .carousel-inner, .slider-photo-pp .carousel .carousel-inner .item{
    height: 95%;
    margin-top: 5%;
}

.slider-photo-pp .carousel .carousel-inner .item img{
    margin: auto;
    max-height: 85%;
    /*height: 85%;*/
    cursor: zoom-in;
}

.slider-photo-pp .carousel .carousel-inner .item iframe{
    max-height: 85%;
    left: 50%;
    max-width: 85%;
    transform: translateX(-50%);
}

.slider-photo-pp .carousel-caption{
    right: inherit;
    left: inherit;
    width: 70%;
    bottom: 1%;
    padding-bottom: 0;
    /*transform: translateX(-50%);*/
    text-shadow: none;
    color: #000000;
    text-align: left;
    position: relative;
    margin: auto;
}

.slider-photo-pp .carousel-caption p{
    background: none;
    font-family: 'TradeGothicLTStd';
    font-size: 1.2em;
}

.slider-photo-pp .carousel-indicators{
    bottom: -1%;
    margin-left: inherit;
    transform: translateX(-50%);
}

.slider-photo-pp button.carousel-control{
    border: none;
    color: #FF8F00;
    background: transparent;
    top: inherit;
    bottom: 6%;
    left: inherit;
    width: auto;
    right: 6%;
    height: 8%;
}

.slider-photo-pp button.carousel-control.left{
    right: inherit;
    left: 8%;
}

.slider-photo-pp button.carousel-control img{
    height: 100%;
}

.slider-photo-pp button.carousel-control.right img{
    transform: rotate(180deg);
}

@media screen and (max-width: 768px){
    main{
        margin-top: 140px !important;
    }

    .span3{
        width: 100%;
        display: inline-block;
        vertical-align: top;
    }

    .span3 > * {
        max-width: 48%;
    }

    .span6{
        width: 100%;
        display: inline-block;
    }

    .span2{
        width: 100%;
        display: inline-block;
    }

    .span9{
        width: 100%;
        display: inline-block;
        padding: 0;
    }

    .with-margin-right{
        padding-right: 2%;
    }

    .modal{
        max-width: 100%;
    }

    .slider-photo-pp .modal-dialog{
        max-width: 90%;
    }

    .slider-photo-pp .close{
        width: 10%;
    }

    .slider-photo-pp .carousel .carousel-inner, .slider-photo-pp .carousel .carousel-inner .item{
        margin-top: 13%;
        height: 80%;
    }

    .slider-photo-pp button.carousel-control{
        height: 8%;
    }
}

@media screen and (max-height: 480px) and (orientation: landscape){
    .modal{
        max-width: 100%;
    }

    .slider-photo-pp .modal-dialog{
        max-width: 90%;
    }

    .slider-photo-pp .close{
        width: 5%;
    }

    .slider-photo-pp .carousel{
        height: 400px;
    }

    .slider-photo-pp .carousel .carousel-inner{
        margin-top: 5%;
        height: 85%;
    }

    .slider-photo-pp .carousel .carousel-inner .item{
        height: 80%;
    }

    .slider-photo-pp button.carousel-control{
        height: 10%;
    }

    .slider-photo-pp .carousel-caption p{
        font-size: 1em;
    }
}

@media screen and (max-width: 480px){
    body{
        padding: 0 0.5em;
    }

    main{
        margin-top: 160px !important;
    }

    .with-margin-right{
        padding-right: 0;
    }

    .modal{
        max-width: 100%;
    }

    .slider-photo-pp .modal-dialog{
        max-width: 90%;
    }

    .slider-photo-pp .close{
        width: 10%;
    }

    .slider-photo-pp .carousel{
        height: 400px;
    }

    .slider-photo-pp .carousel .carousel-inner{
        margin-top: 20%;
        height: 80%;
    }

    .slider-photo-pp .carousel .carousel-inner .item{
        height: 70%;
        margin-top: 15%;
    }

    .slider-photo-pp button.carousel-control{
        height: 10%;
    }

    .slider-photo-pp .carousel-caption p{
        font-size: 1em;
    }

}

