﻿* {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    font-family: "Lato", sans-serif;
}

.model {
    background-color: black;
    opacity: 0.7;
}


input[type=text]:focus, textarea:focus, select:focus {
    border: 2px solid red;
    background-color: #FEFED5;
}

input[type=option]:focus {
    border: 2px solid red;
    background-color: #FEFED5;
}

.mygrid {
    font-size: 15px;
    text-align: center;
    text-decoration: none;
}

.mydivborder {
    border-top: 1px solid rgba(0,0,0,0.2);
    border-bottom: 1px solid rgba(0,0,0,0.2);
}

.mydivbottomborder {
    border-bottom: 1px solid rgba(0,0,0,0.2);
}

.gridScroll {
    width: max-content;
}

.sidebar {
    margin: 0;
    padding: 0;
    width: 180px;
    background-color: white;
    position: fixed;
    height: 100%;
    overflow: auto;
}

    .sidebar a {
        display: block;
        color: black;
        padding: 16px;
        text-decoration: none;
    }

        .sidebar a.active {
            background-color: #04AA6D;
            color: white;
        }

        .sidebar a:hover:not(.active) {
            background-color: #555;
            color: white;
        }

div.content {
    /*margin-right:15% ;*/
    margin-left:17% ;
    width: 83%;
}

.dropbtn {
    color: black;
    background-color: lightcyan;
    padding: 16px;
    font-size: 16px;
    border: none;
    width: inherit;
    text-align: left;
}

.MainHead {
    background: #0aa939;
    border: 2px solid #076912;
    border-radius: 3px;
    /** box-shadow:2px 2px 20px #107904; */
}

    .MainHead h3 {
        color: #fff;
        letter-spacing: 2px;
        font-family: serif,Arial,'Segoe UI';
    }

.dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    width: 100%;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        .dropdown-content a:hover {
            background-color: #ddd;
        }

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #3e8e41;
}

@media screen and (max-width: 600px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

        .sidebar a {
            float: left;
        }

    div.content {
        margin-left: 1%;
        width: 100%;
    }
}

@media screen and (max-width: 400px) {
    .sidebar a {
        text-align: center;
        float: none;
    }

    div.content {
        margin-left:1% ;
        width: 100%;
    }
    .cont{margin-left:1% ;}
}
