@media screen and (min-width: 992px) {
    #logo2 {
        display: none;
    }
    #slogan2 {
        color: white;
    }
    #header4 {
        display: none;
    }
    #headermain {
        padding-top: 40px;
    }
    header .row {
        display: flex;
        align-items: center;
    }
    header h1 {
        font-weight: bold;
        margin: 0;
    }
    header nav {
        display: flex;
        justify-content: flex-end;
        text-align: right;
    }
    header a {
        padding: 0 20px;
        margin: 0;
        color: #fff;
    }
    header a:hover {
        color: #fff;
    }
    #logo {
        font-weight: bold;
        font-size: 25px;
        text-align: center;
        position: absolute;
        left: 0;
        right: 0;
        bottom: -76px;
    }
    #logopic {
        width: 170px;
    }
    #logo a:hover {
        text-decoration: none;
    }
    #header3 a:hover {
        text-decoration: none;
    }
    #header1 {
        border-bottom: 3px solid #fff;
    }
    #header2 {
        border-top: 3px solid #fff;
        border-bottom: 3px solid #fff;
        padding-top: 3px;
        margin-top: 3px;
    }
    #header3 {
        font-size: 20px;
        text-align: center;
        margin-top: -0px;
        padding-left: 40px;
    }
    #otherheader {
        margin-bottom: 20px;
    }
    /*This is the dropdown menu:*/
    .dropdown {
        position: relative;
        display: inline-block;
    }
    .dropdown-content {
        display: none;
        position: absolute;
        top: -10px;
        min-width: 80px;
        border: solid 3px #fff;
    }
    .dropdown-content a {
        color: #fff;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }
    .dropdown-content2 {
        display: none;
        position: absolute;
        top: -10px;
        min-width: 80px;
        border: solid 3px #fff;
        width: 150px;
    }
    .dropdown-content2 a {
        color: #fff;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }
    .dropdown:hover .dropdown-content {
        display: block;
    }
    .dropdown:hover .dropdown-content2 {
        display: block;
    }
    #dropdownmenu2 {
        left: -11px;
    }
    #dropdownmenu3 {
        left: -7px;
    }
    #menutop {
        margin-top: 43px;
        text-align: center;
        font-weight: 500;
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    }
    #menu1 {
        text-align: center;
        font-weight: 500;
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    }
    #menu1:hover {
        background: #d3d3d3
    }
    #menu13 {
        text-align: center;
        font-weight: 500;
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    }
    #menu13:hover {
        background: #d3d3d3
    }
    #menutop:hover {
        background: #d3d3d3
    }
    #heading11 {
        font-weight: 500;
    }
    #heading12 {
        display: none;
    }
    #menupointer {
        display: none;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    #logo2 {
        display: none;
    }
    #slogan2 {
        color: white;
    }
    #header4 {
        display: none;
    }
    #headermain {
        padding-top: 40px;
    }
    header .row {
        display: flex;
        align-items: center;
    }
    header h1 {
        font-weight: bold;
        margin: 0;
    }
    header nav {
        display: flex;
        justify-content: flex-end;
        text-align: right;
    }
    header a {
        padding: 0 20px;
        margin: 0;
        color: #fff;
    }
    header a:hover {
        color: #fff;
    }
    #logo {
        font-weight: bold;
        font-size: 25px;
        text-align: center;
        position: absolute;
        left: 0;
        right: 0;
        bottom: -76px;
    }
    #logopic {
        width: 170px;
    }
    #logo a:hover {
        text-decoration: none;
    }
    #header3 a:hover {
        text-decoration: none;
    }
    #header1 {
        border-bottom: 3px solid #fff;
    }
    #header2 {
        border-top: 3px solid #fff;
        border-bottom: 3px solid #fff;
        padding-top: 3px;
        margin-top: 3px;
    }
    #header3 {
        font-size: 20px;
        text-align: center;
        margin-top: -0px;
        padding-left: 40px;
    }
    #otherheader {
        margin-bottom: 20px;
    }
    /*This is the dropdown menu:*/
    .dropdown {
        position: relative;
        display: inline-block;
    }
    .dropdown-content {
        display: none;
        position: absolute;
        top: -10px;
        min-width: 80px;
        border: solid 3px #fff;
    }
    .dropdown-content a {
        color: #fff;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }
    .dropdown-content2 {
        display: none;
        position: absolute;
        top: -10px;
        min-width: 80px;
        border: solid 3px #fff;
        width: 150px;
    }
    .dropdown-content2 a {
        color: #fff;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }
    .dropdown:hover .dropdown-content {
        display: block;
    }
    .dropdown:hover .dropdown-content2 {
        display: block;
    }
    #dropdownmenu2 {
        left: -11px;
    }
    #dropdownmenu3 {
        left: -7px;
    }
    #menutop {
        margin-top: 43px;
        text-align: center;
        font-weight: 500;
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    }
    #menu1 {
        text-align: center;
        font-weight: 500;
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    }
    #menu1:hover {
        background: #d3d3d3
    }
    #menu13 {
        text-align: center;
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    }
    #menu13:hover {
        background: #d3d3d3
    }
    #menutop:hover {
        background: #d3d3d3
    }
    #heading11 {
        font-weight: 500;
    }
    #menupointer {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    #headerlist {
        display: none;
    }
    #logopic {
        width: 150px;
    }
    #menupointer {
        color: white;
        font-weight: bold;
        bottom: 17px;
    }
    #head_nav {
        height: 0px;
    }
    #logo2 {
        font-weight: bold;
        font-size: 25px;
        position: absolute;
        left: 0;
        right: 0;
        bottom: -69px;
    }
    .icon-menu {
        padding-left: 30px;
    }
    #header3 {
        display: none;
    }
    #logo {
        display: none;
    }
    #headermain {
        padding-top: 50px;
    }
    header .row {
        display: flex;
    }
    header h1 {
        font-weight: 700;
        margin: 0;
    }
    header nav {
        display: flex;
        justify-content: flex-end;
        text-align: right;
    }
    header a {
        padding: 0 20px;
        margin: 0;
        color: #fff;
    }
    header a:hover {
        color: #fff;
    }
    #logo2 {
        font-weight: bold;
        font-size: 20px;
        text-align: center;
        color: #fff;
    }
    #logo2:hover {
        text-decoration: none;
    }
    #header4:hover {
        text-decoration: none;
    }
    #header1 {
        border-bottom: 3px solid #fff;
    }
    #header2 {
        border-top: 3px solid #fff;
        border-bottom: 3px solid #fff;
        padding-top: 3px;
        margin-top: 3px;
    }
    #header4 {
        font-size: 20px;
        text-align: center;
        margin-top: -0px;
        padding-left: 31px;
        color: #fff;
    }
    #headerback {
        position: relative;
    }
    #otherheader {
        margin-bottom: 20px;
    }
    /*This is the dropdown menu:*/
    .dropdown {
        position: relative;
        display: inline-block;
    }
    .dropdown-content {
        display: none;
        position: absolute;
        top: -10px;
        min-width: 80px;
        border: solid 3px #fff;
    }
    .dropdown-content a {
        color: #fff;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }
    .dropdown:hover .dropdown-content {
        display: block;
    }
    #dropdownmenu2 {
        left: -11px;
    }
    #dropdownmenu3 {
        left: -7px;
    }
    #menutop {
        margin-top: 43px;
        text-align: center;
    }
    #menu1 {
        text-align: center;
    }
    #menu1:hover {
        background: #d3d3d3
    }
    #menu13 {
        text-align: center;
    }
    #menu13:hover {
        background: #d3d3d3
    }
    #menutop:hover {
        background: #d3d3d3
    }
    /*No more dropdown from here*/
    #heading11 {
        font-weight: 500;
    }
    #heading12 {
        display: none;
    }
}