﻿:root {
    --accent-color: #FF0029;
    --side-menu-background-color: #2D2D30;
    --text-gray: #DFDBD9;
}

*, :before, :after {
    box-sizing: border-box;
}

.nav-header {
    padding-top: 16px;
    width: 100px;
    margin:auto;
}
.column {
    float: left;
    width: 33.33%;
    text-align: center;
    font: 300 0.9em "Source Sans Pro", Helvetica, Arial, sans-serif;
}

    

    /* Clear floats after the columns */
    .row:after {
    content: "";
    display: table;
    clear: both;
}

.nav-header-language {
    list-style: none;
    padding: 0;
    margin: 0;
    text-decoration: none;
    color: var(--text-gray);
}

    .nav-header-language.selected {
        color: var(--accent-color);
    }

    .nav-header-language:hover {
        color: var(--accent-color);
        cursor: pointer;
    }

.unstyled {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .unstyled a {
        text-decoration: none;
    }

.list-inline {
    overflow: hidden;
}

    .list-inline li {
        float: left;
    }

.header {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 300px;
    background: var(--side-menu-background-color);
}

.logo {
    font: 300 1.5em "Source Sans Pro", Helvetica, Arial, sans-serif;
    text-align: center;
    padding: 0;
    margin: 0;
}

    .logo a {
        display: block;
        padding: 2em 0;
        color: var(--text-gray);
        text-decoration: none;
        transition: .15s linear color;
    }

        .logo a:hover {
            color: #fff;
        }

            .logo a:hover span {
                color: var(--accent-color);
            }

    .logo span {
        font-weight: 700;
        transition: .15s linear color;
    }

.main-nav ul {
    border-top: solid 1px #3C3735;
}

.main-nav li {
    border-bottom: solid 1px #3C3735;
}

.main-nav a {
    padding: 1.1em 0;
    color: var(--text-gray);
    font: 400 1.125em "Source Sans Pro", Helvetica, Arial, sans-serif;
    text-align: center;
    text-transform: lowercase;
}

    .main-nav a:hover {
        color: #fff;
    }

.nav-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.nav-leica-logo {
    margin-left: 118px;
    padding-bottom: 4px;
    max-width: 64px;
    max-height: 64px;
}

.list-hover-slide li {
    position: relative;
    overflow: hidden;
}
    .list-hover-slide li .selected {
        border-right: solid 5px var(--accent-color);
    }

    .list-hover-slide li .selected:hover {
        border-right: 0px;
        padding-right: 5px;
    }

.list-hover-slide a {
    display: block;
    position: relative;
    z-index: 1;
    transition: .35s ease color;
}

.list-hover-slide a:before {
    content: '';
    display: block;
    z-index: -1;
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    border-right: solid 5px var(--accent-color);
    background: #3C3735;
    transition: .35s ease left;
}

    .list-hover-slide a.is-current:before, .list-hover-slide a:hover:before {
        left: 0;
    }

.content-wrap {
    margin-left: 17.5em;
}

.content-wrap ul {
    margin: 0; /* To remove default bottom margin */
    padding: 0; /* To remove default left padding */
}

.no-bullets {
    list-style-type: none;
}

.tutorial-thumbnail {
    max-width: 100%;
    max-height: 100%;
    border-radius: 3px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


.tutorial-wrap {
    padding-left: 5em;
    padding-right: 2em;
    padding-top: 2em;
    padding-bottom: 2em;
    height: 12em;
    display: flex;
    border-bottom: 1px solid #cccccc;
    cursor: pointer;
}

.tutorial-thumbnail-container {
    flex: 0 0 12em;
}

#myBtn:hover .tutorial-thumbnail-container {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
}
#myBtn:hover {
    background: #F4F4F4;
}
    .tutorial-text-wrap {
    padding-left: 2em;
}

.tutorial-title {
    max-height: 1.1em;
    overflow: hidden;
    font: 500 1.3em Arial;
}

.tutorial-subtitle {
    height: 3.4em;
    overflow: hidden;
    margin-top: 1.4em;
    margin-bottom: 1.4em;
    font: 200 0.9em Arial;
    color: #666666;
}

.tutorial-publish-date {
    font: 400 0.9em Arial;
    color: #666666;
}






/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 200px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 1260px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 40px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

.modal-header {
    padding: 2px 16px;
    height: 50px;
    background: var(--side-menu-background-color);
    color: white;
}

.modal-body {
    height: 540px;
    background: #000000;
}

#video-player {
    outline: none;
}

#video-player-title {
    padding-top: 10px;
    font: 1.3em Arial;
}

#video-player-description {
    width: 300px;
    position: absolute;
    padding: 16px;
    overflow-y: scroll;
    top: 50px;
    right: 0;
    height: 540px;
    background: #ffffff;
    font: 1em Arial;
    color: #444444;
}