﻿.lightBoxSlide {
    overflow: hidden;
    background-color: #fff;
    z-index: 20001;
    padding: 10px;
    width: 600px;
    position: relative
}

    .lightBoxSlide img {
        height: 500px;
        max-width: 100%;
        object-fit: cover;
        margin-bottom: 5px;
    }

.popupYazi {
    text-align: left;
    padding: 0 5px;
    padding: 10px 5px;
    font-family: var(--regular);
    font-size: 16px;
    color: #21232d;
    line-height: 1.3;
    max-height: 250px;
    overflow-y: scroll;
}

.popupTitle {
    float: left;
    display: inline-block;
    max-width: 100%;
    padding: 5px 5px 5px 5px;
    font-family: var(--regular);
    font-size: 14px;
    color: #818181;
}

.popupImgBox {
    float: right;
    display: inline-block;
    width: 100px
}

.disPop {
    position: fixed;
    margin: 0;
    width: 100%;
    height: 100%;
    top: 0;
    background: rgba(0,0,0,0.6);
    left: 0;
    right: 0;
    bottom: 0;
    padding-left: auto;
    padding-right: auto;
    z-index: 100000;
    display: table;
    vertical-align: middle;
    overflow: hidden
}

.divShow {
    position: relative;
    z-index: 200000;
    bottom: 0;
    cursor: pointer;
    display: table-cell;
    vertical-align: middle;
    margin: 0 auto;
    text-align: center
}

.closeBar {
    width: 100%;
    margin: 0;
    position: absolute;
    left: 0;
    top: 0;
    right: 0
}

.lightBoxSlide img {
    width: 100%;
}

.lightBoxSlide iframe {
    width: 100%;
    height: 300px;
}



/* width 1500 */
@media only screen and (min-width:1441px) and (max-width:1550px) {
    .popupYazi {
        max-height: 170px;
    }
}
/* width 1366 */
@media only screen and (min-width:1281px) and (max-width:1366px) {
    .popupYazi {
        max-height: 220px;
    }

    .lightBoxSlide {
        width: 600px !important;
    }

        .lightBoxSlide img {
            height: 390px;
        }
}
/* width 1366-2 */
@media only screen and (min-width: 1279px) and (max-width:1366px) {
    .popupYazi {
        max-height: 180px;
    }

    .lightBoxSlide {
        width: 500px !important;
    }
}
/*width 1278*/
@media only screen and (min-width: 1025px) and (max-width:1278px) {
    .popupYazi {
        max-height: 220px;
    }

    .lightBoxSlide {
        width: 600px !important;
    }

        .lightBoxSlide img {
            height: 340px;
        }
}
/*width 1270*/
@media only screen and (min-width:1025px) and (max-width:1280px) {
    .popupYazi {
        max-height: 200px;
    }

    .lightBoxSlide {
        width: 700px !important;
    }
}
/*1024*/
@media only screen and (min-width:1000px) and (max-width:1024px) {
    .lightBoxSlide img {
        height: 420px;
    }

    .popupYazi {
        max-height: 200px;
    }

    .lightBoxSlide {
        width: 600px !important;
    }
}




/* iphone 5/5s dikey */
@media only screen and (max-width:359px) {
    .lightBoxSlide iframe {
        height: 150px;
    }

    .lightBoxSlide {
        width: 280px !important;
    }

    .popupYazi {
        max-height: 200px;
    }

    .lightBoxSlide img {
        height: 250px;
    }

    .popupYazi {
        max-height: 140px;
        min-height: unset;
    }
}
/* Samsung S3 dikey */
@media only screen and (min-width:360px) and (max-width:369px) {
    .lightBoxSlide img {
        height: 300px;
    }

    .popupYazi {
        max-height: 180px;
        min-height: unset;
    }

    .lightBoxSlide iframe {
        height: 200px;
    }

    .lightBoxSlide {
        width: 330px !important;
    }
}
/* iphone 6/6s dikey */
@media only screen and (min-width:370px) and (max-width:389px) {
    .lightBoxSlide img {
        height: 310px;
    }

    .popupYazi {
        max-height: 230px;
        min-height: unset;
    }

    .lightBoxSlide iframe {
        height: 230px;
    }

    .lightBoxSlide {
        width: 350px !important;
    }
}
/* iPhone 12 dikey */
@media only screen and (min-width:390px) and (max-width:399px) {
    .lightBoxSlide img {
        height: 300px;
    }

    .popupYazi {
        max-height: 180px;
        min-height: unset;
    }

    .lightBoxSlide iframe {
        height: 230px;
    }

    .lightBoxSlide {
        width: 360px !important;
    }

    .popupYazi {
        max-height: 380px;
    }
}
/* iphone Plus dikey */
@media only screen and (min-width:400px) and (max-width:479px) {
    .lightBoxSlide img {
        height: 350px;
    }

    .popupYazi {
        max-height: 220px;
        min-height: unset;
    }

    .lightBoxSlide iframe {
        height: 230px;
    }

    .lightBoxSlide {
        width: 380px !important;
    }
}

/* iphone 4 yatay */
@media only screen and (min-width:480px) and (max-width:559px) {

    .lightBoxSlide iframe {
        height: 150px;
    }

    .lightBoxSlide {
        width: 350px !important;
    }

    .popupYazi {
        max-height: 100px;
        min-height: unset;
    }

    .lightBoxSlide img {
        height: 150px;
    }
}
/* iphone 5/5s yatay */
@media only screen and (min-width:560px) and (max-width:639px) {
    .lightBoxSlide iframe {
        height: 150px;
    }

    .lightBoxSlide {
        width: 420px !important;
    }

    .popupYazi {
        max-height: 100px;
        min-height: unset;
    }

    .lightBoxSlide img {
        height: 150px;
    }
}
/* Samsung S3 yatay */
@media only screen and (min-width:640px) and (max-width:659px) {
    .lightBoxSlide iframe {
        height: 180px;
    }

    .lightBoxSlide {
        width: 420px !important;
    }

    .popupYazi {
        max-height: 100px;
        min-height: unset;
    }

    .lightBoxSlide img {
        height: 180px;
    }
}
/* iphone 6/6s yatay */
@media only screen and (min-width:660px) and (max-width:699px) {
    .lightBoxSlide iframe {
        height: 170px;
    }

    .lightBoxSlide {
        width: 520px !important;
    }


    .popupYazi {
        max-height: 130px;
        min-height: unset;
    }

    .lightBoxSlide img {
        height: 170px;
    }
}
/* iphone Plus yatay */
@media only screen and (min-width:700px) and (max-width:759px) {
    .lightBoxSlide iframe {
        height: 190px;
    }

    .lightBoxSlide {
        width: 630px !important;
    }

    .popupYazi {
        max-height: 140px;
        min-height: unset;
    }

    .lightBoxSlide img {
        height: 190px;
    }
}
/* tablet dikey */
@media only screen and (min-width:760px) and (max-width:810px) {
    .lightBoxSlide iframe {
        height: 400px;
    }

    .lightBoxSlide {
        width: 700px !important;
    }

    .popupYazi {
        max-height: 300px;
    }
    .lightBoxSlide img {
        height: 400px; 
    }
}
/* iphone x yatay*/
@media only screen and (min-width:811px) and (max-width:999px) {
    .lightBoxSlide iframe {
        height: 190px;
    }

    .lightBoxSlide {
        width: 620px !important;
    }

    .popupYazi {
        max-height: 100px;
        min-height: unset;
    }

    .lightBoxSlide img {
        height: 190px;
    }
}
/*ıPhone 12 Yatay*/
@media only screen and (min-width:844px) and (max-width:999px) {
    .lightBoxSlide iframe {
        height: 210px;
    }

    .lightBoxSlide {
        width: 650px !important;
    }

    .popupYazi {
        max-height: 100px;
        min-height: unset;
    }

    .lightBoxSlide img {
        height: 210px;
    }
}
