﻿#tile-cont {
    position: relative;
    width: 100%;
    height: 70%;
}
#tile {
    position: absolute;
    top: 4%;
    left: 2%;
    width: 96%;
    height: 92%;
    background-color: white;
}
    #tile .tab {
        display: none;
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
    }
        #tile .tab.active {
            display: block;
        }

#title {
    position: absolute;
    top: 1vw;
    left: 1vw;
    right: 1vw;
    font-size: 130%;
    font-weight: bold;
    
}
    #title span {
        cursor: pointer;
        padding-bottom: 2px;
        margin-right: 3%;
    }
        #title span:hover, #title span.active {
            border-bottom: 2px solid #DC2D27;
        }
#left {
    position: absolute;
    top: 12%;
    left: 1vw;
    bottom: 1vw;
    width: 50%;
    text-align: left;
    font-style: normal;
    font-size: 110%;
    line-height: 120%;
    overflow: auto;
}
    #left .tab {
        width: 96%;
        padding-right: 4%;
    }
    #left .tab .razmak {
        width: 50%;
        height: 2.5%;
        min-height: 10px;
    }

#right {
    position: absolute;
    top: 0%;
    right: 1vw;
    bottom: 0%;
    margin-right: 2vw;
    width: 45%;
    text-align: left;
    
}
    #right .tab img {
        width: 85%;
        height: auto;
    }




@media (max-width: 1290px) and (min-height : 790px) and (max-height : 850px) and (orientation : landscape) {
    #title {
        font-size: 140%;
    }
    #left {
        font-size: 120%;
    }
}
@media (max-width: 1050px) and (orientation : landscape) {
    #title {
        font-size: 160%;
    }
    #title span {
        margin-right: 5%;
    }
    #left {
        font-size: 120%;
    }
}
@media (max-width: 1050px) and (orientation : portrait) {
    #tile-cont {
        font-size: 100%;
        position: relative;
        width: auto;
        height: auto;
        margin: 20px 2% 20px 2%;
        min-height: calc(75% - 40px);
        padding: 2%;
        background-color: white;
    }
    #tile { 
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
    }
        #tile .tab {
            display: none;
            position: relative;
            top: auto;
            left: auto;
            width: 100%;
            height: auto;
        }

#title {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    font-size: 120%;
    font-weight: bold;
    margin-bottom: 5%;
}
    #title span {
        cursor: pointer;
        padding-bottom: 2px;
        margin-right: 8%;
    }
        #title span:hover, #title span.active {
            border-bottom: 2px solid #DC2D27;
        }

    #left {
        position: relative;
        top: auto;
        left: auto;
        bottom: auto;
        width: 100%;
        text-align: left;
        font-style: normal;
    }
    #left .tab {
        width: 96%;
        padding-right: 4%;
    }
    #left .tab p {
        margin-bottom: 2%;
        text-align: left;
    }

    #right {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        margin-right: auto;
        margin-top: 10%;
        margin-bottom: 10%;
        width: 100%;
    }
}
