@font-face {
    font-family: 'helv';
    src: url("../fonts/Helvetica.ttf");
}

@font-face {
    font-family: 'yekan';
    /* src:url("https://www.bertinapark.com/fonts/Yekan.eot"); */
    src: url("../fonts/nazanin.woff") format("woff"), url("../fonts/nazanin.ttf") format("truetype")
}

*,
*::after,
*::before {
    box-sizing: border-box;
}

* {
    transition: font-size 0.5s ease;
}

html,
body {
    height: 100%;
    min-height: 100%;
}

body {
    /*font-family: 'yekan', 'helv', sans-serif;*/
    margin: 0;
    color: #fff;
    background-color: #fff;
    
}













.un_c {
    font-size: 2em;
}



.cf::after {
    clear: both;
}

.cb-slideshow,
.cb-slideshow:after {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 0;
    list-style: none;
    margin-top: 0px;
}

    .cb-slideshow:after {
        content: '';
        /* background: transparent url("/images/pattern.png") repeat top left; */
    }

@-webkit-keyframes imageAnimation {
    0% {
        opacity: 0;
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    8% {
        opacity: 1;
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }

    17% {
        opacity: 1
    }

    25% {
        opacity: 0
    }

    100% {
        opacity: 0
    }
}

@keyframes imageAnimation {
    0% {
        opacity: 0;
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    8% {
        opacity: 1;
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }

    17% {
        opacity: 1
    }

    25% {
        opacity: 0
    }

    100% {
        opacity: 0
    }
}

.cb-slideshow li span {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    color: transparent;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 0;
    -webkit-animation: imageAnimation 48s ease infinite 0s;
    animation: imageAnimation 48s ease infinite 0s;
}

.cb-slideshow li:nth-child(1) span {
    background-image: url("../img/bg1.jpg");
    -webkit-animation-delay: 10s;
    animation-delay: 10s;
}

.cb-slideshow li:nth-child(2) span {
    background-image: url("../img/bg2.jpg");
    -webkit-animation-delay: 20s;
    animation-delay: 20s;
}

.cb-slideshow li:nth-child(3) span {
    background-image: url("../img/bg3.jpg");
    -webkit-animation-delay: 30s;
    animation-delay: 30s;
}

.cb-slideshow li:nth-child(4) span {
    background-image: url("../img/bg4.jpg");
    -webkit-animation-delay: 40s;
    animation-delay: 40s;
}

.cb-slideshow li:nth-child(5) span {
    background-image: url("../img/bg5.jpg");
    -webkit-animation-delay: 50s;
    animation-delay: 50s;
}
/*
.cb-slideshow li:nth-child(6) span { 
    background-image: url("../img/bg6.jpg");
    animation-delay: 36s; 
}
.cb-slideshow li:nth-child(7) span { 
    background-image: url("../img/bg7.jpg");
    animation-delay: 42s; 
}
.cb-slideshow li:nth-child(8) span { 
    background-image: url("../img/bg8.jpg");
    animation-delay: 48s; 
}*/
.container {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    background-image: url("../img/bg9.jpg");
    background-size: 100% 100%;
    direction: rtl;
    position: relative;
}

    .container .res-img {
        display: none;
        transition: all 0.5s ease;
    }

.left,
.right {
    float: left;
    width: 50%;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
    text-align: center;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.webName {
    display: inline-block;
    direction: ltr;
    font-size: 1.5em;
    font-family: helv, tahoma, sans-serif;
}

.time {
    display: block;
    font-family: 'helv', sans-serif;
}

.time {
    font-size: 6em;
    direction: ltr;
}

    .time > span {
        font-size: 0.125em;
    }

.en-english, .fa-farsi {
    margin: 0 auto;
    width: 40%;
    text-align: right;
    font-size: 28px;
    display: inline-block;
    text-align: center;
}

.en-english {
    direction: ltr;
    font-family: 'helv', sans-serif;
}

.header > h1 {
    font-size: 4em;
}

.header > h2 {
    font-size: 1.5em;
}

.footer {
    float: none;
    clear: both;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 60px;
    background-color: rgba(0,0,0,0.5);
    width: 100%;
    line-height: 60px;
}

    .footer img {
        position: absolute;
        top: 0;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        right: 20px;
        width: 120px;
        height: 120px;
    }

    .footer img.reflogo {
        position: absolute;
        top: 0;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        right: 20px;
        width: 80px;
        height: 120px;
    }

p.list {
    margin: 0;
}

    p.list > a {
        font-size: 1.2em;
        display: inline-block;
        margin: 0 20px;
    }

        p.list > a:hover {
            color: #ff9600;
            border-bottom: none;
        }

    p.list.first {
        display: none;
    }

@media (max-width: 1020px) {
    .left {
        float: none;
        width: 100%;
    }

    .right {
        display: none;
    }

    .en-english, .fa-farsi {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 840px) {
    .footer {
        display: none;
    }

    .res-img {
        position: absolute;
        top: 1em;
        right: 1em;
        width: 80px;
        height: auto;
        display: block !important;
    }

    p.list.first {
        display: block !important;
        margin-top: 50px;
    }

        p.list.first > a {
            font-size: 1.2em;
        }

    .left .logo-c img {
        position: relative;
        margin: auto !important;
        transform: scale(1,1);
        left: 0 !important;
        right: 0 !important;
    }

    .container {
        padding-top: 30%;
    }

    .logo-img-c {
    }
}

@media (max-width: 705px) {
    .time {
        font-size: 6em;
    }

    .header > h1 {
        font-size: 2em;
    }
}

@media (max-width: 580px) {
    .time {
        font-size: 3em;
        margin-top: 0.8em;
    }

    .header > h1 {
        font-size: 1.5em;
    }

    .header > h2 {
        font-size: 1.2em;
    }

    .res-img {
        width: 100px;
        height: auto;
        right: 50% !important;
        -webkit-transform: translateX(50%);
        transform: translateX(50%);
    }

    .en-english, .fa-farsi {
        font-size: 18px;
    }
}


.certificateImages {
    max-width: 400px;
    height: 200px;
    display: inline-block
}

    .certificateImages img {
        width: 90px;
        margin: auto;
    }

    .certificateImages .googleP {
        width: 200px;
        padding: 10px;
    }

@media (max-width: 1020px) {
    .certificateImages {
        display: none;
    }
}


.certificateImagesMobile {
    max-width: 400px;
    height: 200px;
    display: inline-block
}

    .certificateImagesMobile img {
        width: 90px;
        margin: auto;
    }

    .certificateImagesMobile .googleP {
        width: 200px;
        padding: 10px;
    }

@media (min-width: 1021px) {
    .certificateImagesMobile {
        display: none;
    }
}