﻿/* Shabnam Font */

@font-face {
    font-family: Shabnam;
    src: url('shabnamFont/Shabnam.eot');
    src: url('shabnamFont/Shabnam.eot?#iefix') format('embedded-opentype'), url('shabnamFont/Shabnam.woff2') format('woff2'), url('shabnamFont/Shabnam.woff') format('woff'), url('shabnamFont/Shabnam.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: Shabnam;
    src: url('shabnamFont/Shabnam-Bold.eot');
    src: url('shabnamFont/Shabnam-Bold.eot?#iefix') format('embedded-opentype'), url('shabnamFont/Shabnam-Bold.woff2') format('woff2'), url('shabnamFont/Shabnam-Bold.woff') format('woff'), url('shabnamFont/Shabnam-Bold.ttf') format('truetype');
    font-weight: bold;
}

@font-face {
    font-family: Shabnam;
    src: url('shabnamFont/Shabnam-Thin.eot');
    src: url('shabnamFont/Shabnam-Thin.eot?#iefix') format('embedded-opentype'), url('shabnamFont/Shabnam-Thin.woff2') format('woff2'), url('shabnamFont/Shabnam-Thin.woff') format('woff'), url('shabnamFont/Shabnam-Thin.ttf') format('truetype');
    font-weight: 100;
}

@font-face {
    font-family: Shabnam;
    src: url('shabnamFont/Shabnam-Light.eot');
    src: url('shabnamFont/Shabnam-Light.eot?#iefix') format('embedded-opentype'), url('shabnamFont/Shabnam-Light.woff2') format('woff2'), url('shabnamFont/Shabnam-Light.woff') format('woff'), url('shabnamFont/Shabnam-Light.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: Shabnam;
    src: url('shabnamFont/Shabnam-Medium.eot');
    src: url('shabnamFont/Shabnam-Medium.eot?#iefix') format('embedded-opentype'), url('shabnamFont/Shabnam-Medium.woff2') format('woff2'), url('shabnamFont/Shabnam-Medium.woff') format('woff'), url('shabnamFont/Shabnam-Medium.ttf') format('truetype');
    font-weight: 500;
}


/* Single Page */

* {
    margin: 0;
    padding: 0;
    font-family: 'Shabnam', sans-serif;
}

#body {
    background-color: #f7f7f7;
}

/* navbar */
.navbar-nav {
    margin-right: 0 !important;
    padding-right: 100px;
    text-align:center;
}

.navbar {
    background-color: #f7f7f7;
    color: black !important;
}

/*.nav-item a {
    color: white !important;
}*/

.nav-item {
    padding-left: 2px;
}

.navbar-brand {
    padding-left: 100px;
}

#navbar button {
    color: white !important;
}

/* banner */

#banner-container {
    background-color: #f7f7f7;
    color: white !important;
    padding-top: 80px;
    padding-bottom: 80px;
}

#banner-row img {
    max-width: 70%;
    height: auto;
    display: block;
    padding-left: 30px;
}

#banner-row h3, p {
    padding-left: 20px;
    padding-top: 20px;
    text-align: center;
}

#banner-row a {
    background-color: white !important;
    color: black !important;
    border: none;
    margin-left: 20px;
    margin-top: 20px;
}

#banner-col {
    padding-left: 20px;
}

/* about */

#about {
    padding-top: 80px;
    padding-bottom: 80px;
}

#about h1 {
        padding-bottom: 70px;
    }

#about-col ul {
    padding-top: 50px;
    padding-left: 50px;
}

#about-col ul li {
        padding-top: 15px;
    }

/* project */

#project {
    padding-top: 80px;
    padding-bottom: 80px;
}

#project .container{
    margin-top:50px;
}

#project-col2 ul {
    padding-top: 90px;
}

#project-col2 ul li {
        padding-top: 15px;
    }

/* marja */

#marja {
    padding-top: 80px;
    padding-bottom: 80px;
    text-align:center;
}

#marja h1 {
        padding-bottom: 70px;
    }

.marja-col a:hover img {
    transform: translateY(-10px);
}

#marja-row {
    flex-direction: row;
}

#marja img {
    border-radius: 100%;
    width: 200px;
    height: 200px;
    padding: 0 !important;
    display:inline !important;
}

/*#marja-col {
    background-color: #f7f7f7;
    padding:20px;
}*/

/* footer */

#footer-banner-container {
    background-color: #f7f7f7;
    color: black !important;
    padding-top: 80px;
    padding-bottom: 80px;
}

.card {
    flex-direction: row;
    direction: rtl;
    text-align: right;
}

.card p {
        text-align: right !important;
    }

.card-title {
    font-weight: bold;
}

.card img {
    width: 30%;
    border-top-right-radius: 0;
    border-bottom-left-radius: calc(0.25rem - 1px);
}

/* media */

@media only screen and (max-width: 615px) {
    .img-responsive {
        display: none !important;
    }

    #button-responsive {
        margin-left: 85px;
    }
}

@media only screen and (max-width: 987px) {
    .navbar-brand {
        padding-left: 0px;
    }
}

@media only screen and (max-width: 768px) {
    #banner-row img {
        padding-top: 20px;
    }

    .social-col {
        width: 33%;
    }
}

@media only screen and (max-width: 768px) {
    a {
        display: none;
    }

    .card-body {
        padding: 0.5em 1.2em;
    }

    .card-body .card-text {
        margin: 0;
    }

    .card img {
        width: 50%;
    }
}

@media only screen and (max-width: 1200px) {
    .card img {
        width: 40%;
    }
}

/* PERSONAL */
table {
    text-align: right;
    direction: rtl;
}

.fix-footer {
    /*margin-top:100px;*/
    min-height: calc(100vh - 50px);
}


/*Index Crousel*/

/* Slideshow container */
.slideshow-container {
    position: relative;
    background: #f7f7f7;
}

/* Slides */
.mySlides {
    display: none;
    padding: 80px;
    text-align: center;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -30px;
    padding: 16px;
    color: #888;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    position: absolute;
    right: 0;
    border-radius: 3px 0 0 3px;
}

    /* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
        background-color: rgba(0,0,0,0.8);
        color: white;
    }

/* The dot/bullet/indicator container */
.dot-container {
    text-align: center;
    padding: 20px;
    background: #f7f7f7;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

    /* Add a background color to the active dot/circle */
.active, .dot:hover {
        background-color: #717171;
}

/* Add an italic font style to all quotes */
q {
   /* font-style: italic;*/
   color:black;
}

/* Add a blue color to the author */
.author {
    color: cornflowerblue;
}


/*open box on mouse over*/
.hidden-box {
    background: #F8F8F8;
    border: 5px solid #DFDFDF;
    color: #717171;
    font-size: 13px;
    height: 30px;
    letter-spacing: 1px;
    line-height: 30px;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    display: none;
    padding: 0 20px;
}

.hidden-box:after {
    content: '';
    position: absolute;
    bottom: -10px;
    width: 10px;
    height: 10px;
    border-bottom: 5px solid #dfdfdf;
    border-right: 5px solid #dfdfdf;
    background: #f8f8f8;
    left: 50%;
    margin-left: -10px;
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.question-mark  {
    cursor: pointer;
}

/*
.question-mark:hover + .hidden-box {
    display: block;
}*/
