﻿
/* Fonts */


@font-face {
    font-family: 'Rubik-L';
    src: url('../fonts/Rubik-Light.eot');
    src: url('../fonts/Rubik-Light.eot?#iefix') format('embedded-opentype'), url('../fonts/Rubik-Light.woff2') format('woff2'), url('../fonts/Rubik-Light.woff') format('woff'), url('../fonts/Rubik-Light.ttf') format('truetype'), url('../fonts/Rubik-Light.svg#Rubik-Light') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}



@font-face {
    font-family: 'Rubik-B';
    src: url('../fonts/Rubik-Bold.eot');
    src: url('../fonts/Rubik-Bold.eot?#iefix') format('embedded-opentype'), url('../fonts/Rubik-Bold.woff2') format('woff2'), url('../fonts/Rubik-Bold.woff') format('woff'), url('../fonts/Rubik-Bold.ttf') format('truetype'), url('../fonts/Rubik-Bold.svg#Rubik-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik-M';
    src: url('../fonts/Rubik-Medium.eot');
    src: url('../fonts/Rubik-Medium.eot?#iefix') format('embedded-opentype'), url('../fonts/Rubik-Medium.woff2') format('woff2'), url('../fonts/Rubik-Medium.woff') format('woff'), url('../fonts/Rubik-Medium.ttf') format('truetype'), url('../fonts/Rubik-Medium.svg#Rubik-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}



.close {
    font-size: 20px;
    font-family: 'Rubik-B';
    color: #4a4a4a;
}


.lightBoxSlide {
    overflow: auto;
    background-color: #fff;
    z-index: 20001;
    padding: 10px;
    width: 45% !important;
    position: relative;
    max-height: 700px;
    margin: auto;
    min-width: 700px;
}

    .lightBoxSlide img {
        height: auto;
        max-width: 100%;
        object-fit: cover;
    }

.popupYazi {
    text-align: left;
    padding: 5px;
    font-family: 'Rubik-L';
    font-size: 14px;
    color: #21232d;
    max-height: 500px;
    max-width: 100%;
    overflow-x: auto;
}

.lightBoxSlide.onlyImage {
    width: 100% !important;
}

.popupYazi.yazi {
    padding: 5px;
    font-family: 'Rubik-L';
    font-size: 14px;
    color: #9b8f97;
    /*max-height: 150px;*/
    max-height: 85px;
    overflow-x: auto;
    width: 100%;
}

.popupYazi p {
    margin: 2px 0
}

.popupYazi::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}

.popupYazi::-webkit-scrollbar {
    width: 5px;
    background-color: rgba(255, 255, 255, .5);
}

.popupYazi::-webkit-scrollbar-thumb {
    background-color: #4a4a4a;
}

.popupTitle {
    float: left;
    display: inline-block;
    max-width: 100%;
    padding: 5px 5px 5px 5px;
    font-size: 15px;
    font-family: 'Rubik-B';
    color: #4a4a4a;
}

.popupImgBox {
    float: right;
    display: inline-block;
    width: 100px
}

.disPop {
    position: fixed;
    margin: 0;
    width: 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;
    height: 100%;
}

.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
}


/*Samsung S3 dikey  */
@media only screen and (min-width:360px) and (max-width:369px) {

    .lightBoxSlide img {
        height: 200px;
    }

    .popupYazi {
        max-height: 200px;
        max-width: 300px;
    }

    .lightBoxSlide {
        min-height: 150px;
        max-width: 100%;
        width: 100% !important;
        margin: auto;
    }

    .popup-iframe {
        width: 280px;
        height: 315px;
    }
}
/* Samsung S3 yatay */
@media only screen and (min-width:640px) and (max-width:659px) {
    .popupYazi {
        max-height: 200px;
        max-width: 500px;
    }

    .lightBoxSlide {
        max-width: 450px;
        min-height: 100px;
        width: 100% !important;
        max-height: 320px;
    }

    .popup-img {
        max-height: 300px;
    }

    .popup-iframe {
        width: 400px;
        height: 220px;
    }

    .lightBoxSlide img {
        height: 180px;
    }
}
/* iphone 4 yatay */
@media only screen and (min-width:480px) and (max-width:559px) {
    .popupYazi {
        max-height: 200px;
        max-width: 500px;
    }

    .lightBoxSlide {
        max-width: 450px;
        min-height: 100px;
        width: 100% !important;
        max-height: 290px;
    }

    .popup-img {
        max-height: 300px;
    }

    .popup-iframe {
        width: 400px;
        height: 220px;
    }

    .lightBoxSlide img {
        height: 140px;
    }
}

/* iphone 5/5s dikey */
@media only screen and (max-width:359px) {

    .lightBoxSlide img {
        height: 200px;
    }

    .popupYazi {
        max-height: 200px;
        max-width: 300px;
    }

    .lightBoxSlide {
        min-height: 150px;
        max-width: 100%;
        width: 90% !important;
        margin: auto;
    }

    .popup-iframe {
        width: 280px;
        height: 315px;
    }
}
/* iphone 6/6s dikey */
@media only screen and (min-width:370px) and (max-width:399px) {


    .lightBoxSlide img {
        height: 240px;
    }

    .popupYazi {
        max-height: 200px;
        max-width: 350px;
    }

    .lightBoxSlide {
        min-height: 150px;
        max-width: 95%;
        width: 100% !important;
        margin: auto;
    }

    .popup-iframe {
        width: 280px;
        height: 315px;
    }
}

/*iphone Plus dikey*/
@media only screen and (min-width:400px) and (max-width:479px) {
    .lightBoxSlide img {
        height: 230px;
    }

    .popupYazi {
        max-height: 200px;
        /*max-width: 300px;*/
        max-width: 345px;
    }

    .lightBoxSlide {
        min-height: 150px;
        max-width: 100%;
        width: 100% !important;
        margin: auto;
    }

    .popup-iframe {
        width: 280px;
        height: 315px;
    }
}

/*tablet dikey */
@media only screen and (min-width:760px) and (max-width:810px) {
    .lightBoxSlide img {
        height: 400px;
    }

    .popupYazi {
        max-height: 200px;
        max-width: 600px;
    }

    .lightBoxSlide {
        min-height: 200px;
        max-width: 100%;
        width: 100% !important;
        margin: auto;
    }

    .popup-iframe {
        width: 280px;
        height: 315px;
    }
}

/* iphone 5/5s yatay */
@media only screen and (min-width:560px) and (max-width:639px) {
    .popupYazi {
        max-height: 200px;
        max-width: 500px;
    }

    .lightBoxSlide {
        max-width: 450px;
        min-height: 100px;
        width: 100% !important;
        max-height: 290px;
    }

    .popup-img {
        max-height: 300px;
    }

    .popup-iframe {
        width: 400px;
        height: 220px;
    }

    .lightBoxSlide img {
        height: 150px;
    }
}
/* iphone 6/6s yatay */
@media only screen and (min-width:660px) and (max-width:699px) {
    .popupYazi {
        max-height: 200px;
        max-width: 500px;
    }

    .lightBoxSlide {
        max-width: 450px;
        min-height: 100px;
        width: 100% !important;
        max-height: 330px;
    }

    .popup-img {
        max-height: 300px;
    }

    .popup-iframe {
        width: 400px;
        height: 220px;
    }

    .lightBoxSlide img {
        height: 190px;
    }
}
/*iphone Plus yatay*/
@media only screen and (min-width:700px) and (max-width:759px) {
    .popupYazi {
        max-height: 200px;
        max-width: 500px;
    }

    .lightBoxSlide {
        max-width: 450px;
        min-height: 100px;
        width: 100% !important;
        max-height: 380px;
    }

    .popup-img {
        max-height: 300px;
    }

    .popup-iframe {
        width: 400px;
        height: 220px;
    }

    .lightBoxSlide img {
        height: 240px;
    }
}
/*iphone x yatay*/
@media only screen and (min-width:811px) and (max-width:999px) {
    .popupYazi {
        max-height: 200px;
        max-width: 500px;
    }

    .lightBoxSlide {
        max-width: 450px;
        min-height: 100px;
        width: 100% !important;
        max-height: 340px;
    }

    .popup-img {
        max-height: 300px;
    }

    .popup-iframe {
        width: 400px;
        height: 220px;
    }

    .lightBoxSlide img {
        height: 200px;
    }
}
/*tabley yatay*/
@media only screen and (min-width:1000px) and (max-width:1024px) {
    .popupYazi {
        max-height: 400px;
        max-width: 800px;
    }

    .lightBoxSlide {
        max-width: 800px;
        min-height: 300px;
        max-height: 600px;
    }

        .lightBoxSlide img {
            height: 460px;
        }
}

/**/
/*desktop*/


/* width:1680 */
@media only screen and (min-width:1601px) and (max-width: 1680px) {
    .lightBoxSlide {
        width: 50% !important;
    }
}
/* width 1600 */
@media only screen and (min-width:1551px) and (max-width:1600px) {
    .lightBoxSlide {
        width: 50% !important;
    }
}
/* width 1500 */
@media only screen and (min-width:1441px) and (max-width:1550px) {
    .lightBoxSlide {
        width: 40% !important;
    }

        .lightBoxSlide img {
            height: 450px;
        }
}
/* width 1440 */
@media only screen and (min-width:1367px) and (max-width:1440px) {
    .lightBoxSlide {
        width: 50% !important;
    }
}
/* width 1366 */
@media only screen and (min-width:1281px) and (max-width:1366px) {
    .lightBoxSlide {
        width: 50% !important;
    }
}
/*width 1270*/
@media only screen and (min-width:1025px) and (max-width:1280px) {
    .lightBoxSlide {
        width: 60% !important;
    }
}
/*1024*/
@media only screen and (min-width:1000px) and (max-width:1024px) {
    .lightBoxSlide {
        width: 100% !important;
    }
}
