﻿
.main-nav li .glyphicon {
    margin-right: 10px;
}

/* Highlighting rules for nav menu items */
.main-nav li a.active,
.main-nav li a.active:hover,
.main-nav li a.active:focus {
    background-color: #4189C7;
    color: white;
}


/* Keep the nav menu independent of scrolling and on top of other items */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

/*CUSTOM*/

:root {
    --orange: #FF9C23;
    --yellow: rgb(255, 196, 35);
    --blue: #3844D8;
    --lightblue: #2792D1;
}

#blazor-corner-icon {
    position: fixed;
    left: 5px;
    bottom: 5px;
    background-color: white;
    border-radius: 5px;
    border: solid 2px #aaa;
    padding: 5px;
    width:245px;
}
#blazor-corner-icon:hover{
    cursor:pointer;
    text-decoration:underline;
}
#corner-blazor-logo {
    max-width: 30px;
    height: auto
}
#navmenuLogo {
    max-height: 50px;
    background-color: white;
    border-radius: 30px;
    padding: 10px
}

#navbarWhole {
    background-color: var(--yellow);
    background: linear-gradient(141deg, rgba(255,214,0,1) 0%, rgba(255,196,35,1) 13%, rgba(255,196,35,1) 85%, rgba(255,214,0,1) 100%);
    border-bottom: 2px solid #999;
    height: 60px;
}

#MainLayoutBody {
    max-width: 1200px;
    margin: 10px auto;
    min-height: calc(100vh - 111px);
    background-color: white;
    box-shadow: 3px 5px 15px 1px lightgrey;
    padding-top: 60px;
}

.main-body {
    padding-top: 85px;
}

.main-nav li a.active, .main-nav li a.active:focus, .main-nav li a.active:hover {
    background-color: #4189c7;
    color: #fff
}

a:hover {
    text-decoration: none;
}

.btn-link:focus, .btn-link:hover {
    text-decoration: none;
}

.QR-code {
    width: 150px;
    height: 150px;
    margin: 2px;
}

.list-icon {
    width: 30px;
    height: 30px;
    margin: 5px;
}

.iconHolderLeft {
    display: inline-block;
    min-width: 28px;
    margin-right: 12px;
    vertical-align: middle;
}

.iconHolderRight {
    display: inline-block;
    min-width: 28px;
    margin-left: 12px;
    vertical-align: middle;
}

.img-centred-container {
    width: 100%;
    height: 100%;
}

.img-centred {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.img-centred-vertical {
    top: 25%;
    position: relative;
}

.full-width {
    width: 100%
}

.hidden {
    display: none
}

.showOnMobile {
    display: none;
}

.text-centred {
    text-align: center
}

.btn {
    margin: 5px 3px
}

.viewingProjectLabel {
    color: #666;
    font-size: 90%
}

.viewingProjectInfo {
    color: #333;
    font-weight: 700
}

.richTextEditor {
    font-family: Helvetica Neue,Helvetica,Arial,sans-serif;
    font-size: 10px
}

.formArea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 2px
}

.richTextEditor_noBorder div {
    font-family: Helvetica Neue,Helvetica,Arial,sans-serif;
    font-size: 14px;
    border: 0 solid #ddd
}

.project-image {
    width: auto;
    max-height: 275px;
    margin: auto;
    border: 1px solid grey
}

.techTypeContainer {
    overflow: hidden
}

.techTypeItem {
    background-color: #f5f5f5;
    padding: 8px;
    margin: 4px;
    border-radius: 17px;
    float: left;
    cursor: default;
    border: 1px solid #aaa;
}

    .techTypeItem:hover, .techTypeItemSelected {
        background-color: #c3c3c3;
        transition: background-color .3s
    }

.homeImage {
    border: solid 10px black;
    border-radius: 5px;
    max-width: 500px;
    margin: auto;
}

.plainList {
    list-style: none;
    border-bottom: 1px solid #ddd;
    padding: 5px;
    transition: background-color 100ms;
}
/*.plainList:hover {
        background-color: #fcffef;
        transition: background-color 300ms;
    }*/


.CV-box { /*sections*/
    border: 1px solid #ddd;
    padding: 5px;
}

.skills-box {
    padding: 10px;
    border: 3px solid var(--lightblue);
    border-radius: 10px;
}

.education-box {
    padding: 10px;
    border: 3px solid var(--orange);
    border-radius: 10px;
}

.work-box {
    padding: 10px;
    border: 3px solid var(--yellow);
    border-radius: 10px;
}


.lightLabel {
    font-size: 15px;
    color: #808080;
}

.lighterLabel {
    font-size: 13px;
    color: #9f9f9f;
}

.about-me-box {
    border: solid 1px #ddd;
    border-radius: 10px;
    transition: box-shadow 150ms;
}

    .about-me-box:hover {
        box-shadow: 1px 1px #aaa, 5px 5px #eee;
        transition: box-shadow 300ms;
    }

.non-list {
    padding: 20px;
    padding-left: 40px;
}

.CVpageHeadingImage {
    max-width: 50px;
    height: auto;
    margin-left: 10px;
    margin-bottom: 12px;
}

.skillsLabel {
    font-size: large;
}

/*#glCanvas{
    height: 100%;
    width:100%;
}*/
/*BOOTSTRAP OVERRIDES*/
.navbar {
    height: 85px;
    border-radius: 0;
    border: none;
}

.navbar-default {
    background-color: var(--yellow);
    font-weight: bold;
}

    .navbar-default .navbar-nav > li > a, .navbar-default .navbar-text {
        color: white;
        font-size: 20px;
    }

        .navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:visited {
            color: white;
            background-color: #f19c00;
        }

.navbar-togger {
    border: 3px solid white;
    background-color:none;
}
.dropdown-menu {
    /*background-color: var(--yellow);*/
    background-color: white;
    /*opacity:0.9;*/
}

    .dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover {
        color: white;
        text-decoration: none;
        background-color: var(--lightblue);
    }

    .dropdown-menu > .disabled > a, .dropdown-menu > .disabled > a:focus, .dropdown-menu > .disabled > a:hover {
        color: #ddd;
    }

.navbar-nav .open .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.navbar-nav > li {
    min-width: 120px;
    text-align: center;
}

    .navbar-nav > li > a {
        padding-top: 15px;
        padding-bottom: 15px;
    }

.row {
    margin-left: 0;
    margin-right: 0;
}

.desktopNav {
    height: 85px;
    margin-bottom: -85px;
}
/**********/
/* REACT COMPONENT ALTERATIONS*/
.rw-widget-picker > * {
    /*autcomplete/picker widget height isn't right without this */
    height: auto !important;
}

/*********/

/*BURGER MENU*/


.dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover {
    color: #444;
    text-decoration: none;
    background-color: #eee;
}

.hover-pointer:hover{
    cursor:pointer;
}

/****************/

/* Overrides to prevent things from having z-index clashing with burger menu*/

.ql-editor {
    min-height: 200px;
}

.viewingProjectInfo div {
    z-index: 0 !important;
}
/*****/


@media (max-width: 767px) {
    /* On small screens, the nav menu spans the full width of the screen. Leave a space for it. */
    /*body {
        padding-top: 50px;
    }*/
    .hideOnMobile {
        display: none;
    }

    .showOnMobile {
        display: initial;
    }

    .CV-container { /*whole page. Overrides container-fluid padding*/
        padding-left: 0;
        padding-right: 0;
    }

    .CV-box { /*sections*/
        border: 0 solid #ddd;
        padding: 2px;
    }

    .CVHeading {
        margin: 0px -30px 10px -30px;
        padding: 10px 0px 0px 12px;
        background-color: rgba(242, 255, 0, 0.5);
    }

    #blazor-corner-icon {
        position: relative;
        margin:auto;
    }

    #navmenuLogo {
        padding: 5px;
        max-height: 42px;
    }
    #navbarSupportedContent {
        background-color: var(--yellow);
        background: linear-gradient(141deg, rgba(255,214,0,1) 0%, rgba(255,196,35,1) 13%, rgba(255,196,35,1) 85%, rgba(255,214,0,1) 100%);
        border-bottom: 2px solid #999;
    }
    #MainLayoutBody{
        margin-top:0;
        padding-top:0;
    }
}



@media (min-width: 768px) {
}
