/* Start Navbar Style */
.robopro_mainpage_body .navbar {
    position: fixed;
    left: 34px;
    top: 0px;
    width: auto;
    right: 34px;
    border-radius: 21px;
    height: 78px;
    display: block;
    background-color: #fffefe;
    z-index: 1000;
    padding: 0px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, .16);
}

.nav-container {
    margin-right: 2%;
    margin-left: 10%;
    height: 100%;
    margin-top: 7px;
}

.nav-container>.brand {
    width: 134px;
    margin: 9px 160px 20px 0px;
}

.nav-container>.brand>img {
    width: 134px;
}

.nav-container .nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    float: right;
    height: 100%;
    text-align: center;
}

.nav-container .nav-menu>.nav_item {
    display: inline-block;
    width: auto;
    height: 100%;
    margin: 0;
    border-radius: 10px;
    color: black;
    font-size: 20px;
    font-weight: 700;
    padding: 0;
    margin: 8px 20px 8px 0px;
}

.nav-container .nav-menu .nav_item_link {
    color: #000;
    padding: 8px 14px;
    background-color: #F6F6F6;
    display: block;
    border-radius: 10px;
}

.nav_item:not(:last-child):hover,
.nav_item:not(:last-child):hover .nav_item_link,
.nav_item:not(:last-child):hover .nav_item_link:hover {
    background-color: #F6F6F6;
    color: #000;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-radius: 9px;
    height: 90%;
}

.nav-before::after {
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

.nav_item:not(:last-child):hover .nav-before::after {
    border-bottom: .3em solid;
    border-right: .3em solid transparent;
    border-top: 0;
    border-left: .3em solid transparent;
}

.contact-nav {
    padding: 10px 18px;
    margin-right: 60px;
}

.btn_3d.btn_apply {
    box-shadow: 0px 3px 0px #E67F25;
    background-color: #FFBE2C;
    border: none;
    height: 45px;
    width: auto;
    border-radius: 9px;
    margin-top: 8px;
    font-weight: 700;
}

.btn_3d.btn_syllabus {
    background-color: transparent;
    border: 3px solid #F6F6F6;
    height: 45px;
    width: 152px;
    border-radius: 9px;
    margin-top: 8px;
    color: #F6F6F6;
    font-size: 20px;
    font-weight: 600;
}

.sub-menu {
    background-color: #F6F6F6;
    position: absolute;
    margin-left: 0px;
    /* margin-top: 17px; */
    width: auto;
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
    border-top-right-radius: 22px;
    opacity: 0;
    visibility: hidden;
}

.sub-menu-item {
    color: #707070;
    border: none;
    padding: 15px 25px;
}

.list-container {
    border-radius: 18px;
    background-color: #FFFFFF;
    padding: 13px 0px;
    margin: 17px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, .16);
}

.sub-menu-item>.sub-menu-link {
    color: #707070;
}

.sub-menu-item:hover>.sub-menu-link {
    color: #fff;
}

.sub-menu-item:last-child {
    border-bottom-right-radius: 22px;
    border-bottom-left-radius: 22px;
    margin-bottom: 10px;
}

.nav_item:hover .sub-menu,
.nav_item:focus .sub-menu {
    opacity: 1;
    visibility: visible;
    z-index: 10000;
    text-align: left;
}

.sub-menu-item:hover {
    background-color: #2D84BF;
    border-radius: 0px;
    color: #fff;
    cursor: pointer;
}

.navbar>.nav-btn {
    display: none;
}

#nav-check {
    display: none;
}

/* End Navbar Style */

@media screen and (min-width: 1200px) {
    .navbar-expand-md .navbar-collapse {
        float: right;
        margin-top: 10px;
    }
}

/***************** md Screen **********************************/
@media screen and (min-width: 992px) and (max-width: 1199px) {
    .nav-container {
        margin-left: 3%;
    }

    .nav-container>.brand {
        margin: 10px;
    }

    .navbar-expand-md .navbar-collapse {
        float: right;
    }

    .navbar-expand-md .navbar-collapse {
        margin-top: 10px;
    }
}


/***************** IPad Screen **********************************/
@media screen and (min-width: 768px) and (max-width: 991.8px) {
    .robopro_mainpage_body .navbar {
        border-radius: 0 0 21px 21px;
    }

    .nav-container {
        margin-left: 2%;
    }

    .navbar-expand-md .navbar-collapse {
        float: right;
        margin-top: 10px;
    }

    .nav-container>.brand {
        margin: 9px 0px 20px 22px;
    }

    .nav-container>.brand>img {
        width: 111px;
    }

    .nav-container .nav-menu>.nav_item {
        margin: 8px 3px 8px 0px;
        font-size: 16px;
    }

    .robopro_mainpage_body .navbar {
        left: 0;
        right: 0;
    }

    .nav-container .nav-menu {
        margin-right: 25px;
    }
}

@media screen and (min-width: 375px) and (max-width: 767.98px) {
    .robopro_mainpage_body .navbar {
        left: 0;
        right: 0;
        height: 59px;
        z-index: 11;
        border-radius: 0 0 21px 21px;
    }

    .nav-container {
        margin-top: 0;
        margin-right: 0;
        margin-left: 0;
        width: auto;
        height: 59px;
        border-radius: 0 0 21px 21px;
        background-color: #fffefe;
    }

    .nav-container>.brand {
        margin-right: 0;
        margin-left: 90px;
    }

    .nav-container>.brand>img {
        width: 111px;
        margin-top: 3px;
    }

    .btn_3d.btn_apply {
        height: 30px;
        margin-right: 35px;
        padding-top: 2px;
    }

    .btn_3d.btn_apply img {
        width: 23px;
        height: 23px;
    }

    .btn_3d.btn_apply span {
        font-size: 12px !important;
        font-weight: bold;
    }

    .nav-container .nav-menu>.nav_item {
        margin: 45px 0 8px 0;
        font-size: 16px;
    }

    .nav_item:not(:last-child):hover,
    .nav_item:not(:last-child):hover .nav_item_link,
    .nav_item:not(:last-child):hover .nav_item_link:hover {
        height: 74%;
    }


    .nav-btn {
        display: inline-block;
        position: absolute;
        left: 25px;
        top: 0;
    }

    .nav-btn>label {
        display: inline-block;
        width: 50px;
        height: 50px;
        padding: 16px;
    }

    .nav-btn>label>span {
        display: block;
        width: 30px;
        height: 6px;
        margin-bottom: 3px;
        border-top: 2px solid #707070;
        border-bottom: 4px solid #707070;
        border-radius: 5px;
    }

    #nav-check:checked~.nav-btn>label>span {
        border-top: 2px solid #FFBE2C;
        border-bottom: 4px solid #FFBE2C;
    }

    .nav-menu {
        position: absolute;
        z-index: -1;
        display: block;
        width: 100%;
        background-color: #2D84BF;
        height: 0px;
        transition: all 0.3s ease-in;
        top: -150px;
        left: 0px;
        border-radius: 0 0 20px 20px;
        box-shadow: 0px 3px 3px rgba(0, 0, 0, .16);
    }

    .nav-menu>.nav_item_link {
        display: block;
        width: 100%;
    }

    #nav-check:checked~.nav-menu {
        height: 100px;
        top: 35px;
    }

    .sub-menu-item {
        padding: 10px;
    }
}

@media screen and (max-width: 374.98px) {
    .robopro_mainpage_body .navbar {
        left: 0;
        right: 0;
        height: 59px;
        z-index: 11;
        border-radius: 0 0 21px 21px;
    }

    .nav-container {
        margin-top: 0;
        margin-right: 0;
        margin-left: 0;
        width: auto;
        height: 59px;
        border-radius: 0 0 21px 21px;
        background-color: #fffefe;
    }

    .nav-container>.brand {
        margin-right: 0;
        margin-left: 80px;
    }

    .nav-container>.brand>img {
        width: 111px;
        margin-top: 3px;
    }

    .btn_3d.btn_apply {
        height: 30px;
        margin-right: 10px;
        padding-top: 2px;
    }

    .btn_3d.btn_apply img {
        width: 23px;
        height: 23px;
    }

    .btn_3d.btn_apply span {
        font-size: 12px !important;
        font-weight: bold;
    }

    .nav-container .nav-menu .nav_item_link {
        padding: 8px 8px;
        font-size: 15px;
    }

    .nav-container .nav-menu>.nav_item {
        height: 0;
        margin: 40px 0 8px 4px;
        font-size: 16px;
    }

    .nav_item:not(:last-child):hover,
    .nav_item:not(:last-child):hover .nav_item_link,
    .nav_item:not(:last-child):hover .nav_item_link:hover {
        height: 72%;
    }


    .nav-btn {
        display: inline-block;
        position: absolute;
        left: 14px;
        top: 0;
    }

    .nav-btn>label {
        display: inline-block;
        width: 50px;
        height: 50px;
        padding: 16px;
    }

    .nav-btn>label>span {
        display: block;
        width: 30px;
        height: 6px;
        margin-bottom: 3px;
        border-top: 2px solid #707070;
        border-bottom: 4px solid #707070;
        border-radius: 5px;
    }

    #nav-check:checked~.nav-btn>label>span {
        border-top: 2px solid #FFBE2C;
        border-bottom: 4px solid #FFBE2C;
    }

    .nav-menu {
        position: absolute;
        z-index: -1;
        display: block;
        width: 100%;
        background-color: #2D84BF;
        height: 0px;
        transition: all 0.3s ease-in;
        top: -150px;
        left: 0px;
        border-radius: 0 0 20px 20px;
        box-shadow: 0px 3px 3px rgba(0, 0, 0, .16);
    }

    .nav-menu>.nav_item_link {
        display: block;
        width: 100%;
    }

    #nav-check:checked~.nav-menu {
        height: 100px;
        top: 35px;
    }

    .sub-menu-item {
        padding: 10px;
    }
}

@media screen and (max-width: 322px){
    .nav-container .nav-menu > .nav_item {
        margin: 40px 0 8px 0px;
    }
}
