﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */


/*#navbar-L{
    display: none;
}*/

@font-face {
    font-family: KhmerOSsiemreap;
    src: url('../fonts/KhmerOSsiemreap.ttf') format(("opentype"));
    unicode-range: U+1780, U+17FF;
}

@font-face {
    font-family: 'Productsans';
    src: url('../fonts/Product Sans Regular.ttf'), url('../fonts/Product Sans Bold Italic.ttf'), url('../fonts/Product Sans Bold.ttf'), url('../fonts/Product Sans Italic.ttf');
}

p, span {
    font-family: 'Productsans' !important;
}

.justify-hyphens {
    text-align: justify;
}

    .justify-hyphens > p, .justify-hyphens > span {
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

ul.navbar-nav:hover > li > a.nav-link {
    filter: blur(2px);
    -webkit-filter: blur(2px);
}
    ul.navbar-nav:hover > li > a.nav-link:hover {
        color: gold;
        filter: blur(0);
        -webkit-filter: blur(0);
    }
    ul.navbar-nav > li > a.nav-link {
        color: #FFF;
    }

.nav-item.dropdown > div.dropdown-menu > .dropdown-item:hover {
    color: gold;
    background-color: #3b6c8d;
}
.dropdown-item:focus{
    outline: none;
}

.dropdown-menu {
    top: 95%;
    border-radius: 0 !important;
    padding: 0;
    background-color: whitesmoke;
    border: thin solid gray;
    border-top: none;
}

body {
    font-family: 'Productsans', sans-serif, 'Siemreap', cursive;
    background-color: #BABABA;
}

nav .logo {
    position: relative;
    z-index: 2;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.navbar-collapse {
    height: 150px;
}


/* Provide sufficient contrast against white background */

a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}


/* Sticky footer styles
-------------------------------------------------- */

html {
    font-size: 14px;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}


/* Sticky footer styles
-------------------------------------------------- */

html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    /*margin-bottom: 60px;*/
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Vertically center the text there */
}

/*****************************************sidebar******************************************/


/* The side navigation menu */

.sidenav {
    height: 100%;
    /* 100% Full-height */
    width: 0;
    /* 0 width - change this with JavaScript */
    position: fixed;
    /* Stay in place */
    z-index: 16;
    /* Stay on top */
    top: 0;
    /* Stay at the top */
    /*left: 0;*/
    right: 0;
    background-color: #111;
    /* Black*/
    overflow-x: hidden;
    /* Disable horizontal scroll */
    padding-top: 60px;
    /* Place content 60px from the top */
    transition: 0.5s;
    /* 0.5 second transition effect to slide in the sidenav */
}


/* The navigation menu links */

.sidenav a {
    padding: 8px 8px 0px 8px;
    text-decoration: none;
    font-size: 18px;
    color: #5A5A5A;
    display: block;
    transition: 0.3s;
    border-bottom: 1px solid #E1E1E1;
}


/* When you mouse over the navigation links, change their color */

.sidenav a:hover {
    color: #192853;
}


/* Position and style the close button (top right corner) */

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 30px;
    margin-left: 50px;
}


/* Style page content - use this if you want to push the page content to the right when you open the side navigation */

#main {
    transition: margin-left .5s;
    padding: 20px;
}


/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }
    .sidenav a {
        font-size: 18px;
    }
}

.dropdown:hover > .dropdown-menu-hover {
    display: block;
}

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 18%;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
        -webkit-border-radius: 0 6px 6px 6px;
        -moz-border-radius: 0 6px 6px;
        border-radius: 0 6px 6px 6px;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #ccc;
        margin-top: 5px;
        margin-right: -10px;
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #fff;
    }

    .dropdown-submenu.pull-left {
        float: none;
    }

        .dropdown-submenu.pull-left > .dropdown-menu {
            left: -100%;
            margin-left: 10px;
            -webkit-border-radius: 6px 0 6px 6px;
            -moz-border-radius: 6px 0 6px 6px;
            border-radius: 6px 0 6px 6px;
        }

/*****************************************Custom******************************************/

.overlay:hover {
    /*position: fixed;*/
    /*display: none;*/
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(159,153,153,0.5);
    z-index: 2;
    cursor: pointer;
}
    .overlay:hover p {
        text-shadow: 0px 0px 5px #000;
        color: transparent;
    }

.overlay-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
}

    .overlay:hover .overlay-btn {
        display: block;
        color: white;
    }

.overlay-btn {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 6px 14px;
    /*font-family: -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;*/
    border-radius: 6px;
    border: none;
    background: #6E6D70;
    box-shadow: 0px 0.5px 1px rgba(0, 0, 0, 0.1), inset 0px 0.5px 0.5px rgba(255, 255, 255, 0.5), 0px 0px 0px 0.5px rgba(0, 0, 0, 0.12);
    color: #DFDEDF;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

    .overlay-btn:focus {
        box-shadow: inset 0px 0.8px 0px -0.25px rgba(255, 255, 255, 0.2), 0px 0.5px 1px rgba(0, 0, 0, 0.1), 0px 0px 0px 3.5px rgba(58, 108, 217, 0.5);
        outline: 0;
    }

    .overlay-btn i{
        font-size: 16px;
    }

    .overlay-btn:hover {
        box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
    }

    .overlay-btn:active{
        background-color: red;
        color: blue;
    }