@media(max-width:1200px) {
    .hiw_ellipse {
        width: 100%;
        height: auto;
        background-image: none;
        display: flex;
        flex-wrap: wrap;
    }

    .hiw_box {
        position: relative;
        bottom: unset;
        left: unset;
        right: unset;
        top: unset;
        width: 50%;
        margin-bottom: 40px;
        padding-right: 30px;
    }

    .box4 .hiw_image {
        order: 1;
    }

    .video_slider  .vide_desc_box{
        display: none;
    }

    .video_box_img{
        height: 100% !important;
    }

    .nav{
        margin-left: 140px;
    }

    .navbar_logo .logo img{
        width: 80px;
    }

    .box4 .hiwbox_desc {
        order: 2;
        text-align: left;
        padding-right: 0;
        padding-left: 32px;
    }

    .hiw_ellipse a {
        display: none;
    }

    .title_cont {
        margin-top: 60px;
        margin-bottom: 30px;
    }

    .hiw_ellipse {
        margin-top: 30px;
    }

    .how_it_works {
        padding-bottom: 40px;
    }

    .book_img {
        height: 200px;
    }

    .book_box {
        height: 300px;
    }

    .owl-carousel .owl-item img {
        height: 100%;
        object-fit: cover;
    }

    .teacher_box .Timagebox {
        height: 200px;
    }

    .book_desc {
        height: calc(100% - 200px);
    }

    .hiw_box_video {
        display: flex !important;
        justify-content: center;
        height: auto;
        align-items: center;
    }

    .hiw_box_video a {
        display: flex !important;
        position: relative;
        float: left;


        align-items: center;
        color: #000;
    }

    .hiw_box_video a img {
        width: 25px;
        margin-right: 10px;
    }

    .hiw_box_video a p {
        margin-top: 4px;
    }

    .latest_projects_list ul li,
    .books_list ul li {
        width: calc((100% - 64px) / 3);
        margin-left: 32px;
    }

    .latest_projects_list ul li .video_box {
        width: 100%;
    }

    .latest_projects_list ul li:nth-child(3n - 2),
    .books_list ul li:nth-child(3n - 2) {
        margin-left: 0;
    }

    .content_container {
        width: 95%;
        margin: 0 auto;
        padding: 32px 15px;
    }

    .d_inner_filters {
        flex-direction: column
    }

    .filter_table_search {
        width: 100%;
    }

    .add_dep_link {
        width: 100%;
        margin-top: 20px;
    }

    .dashboard_container select,
    .edit_user_popup select {
        width: 100%;
        border: 1px solid #15516A;
        box-sizing: border-box;
        border-radius: 4px;
        height: 40px;
        font-weight: normal;
        font-size: 14px;
        line-height: 17px;
        color: #828282;
        padding: 0 16px;
        background-repeat: no-repeat;
        background-position: center right 15px;
        background-image: url(admin_img/select_down.svg);
        background-color: transparent;
    }

    .quiz_center_container {
        width: 100%;
        padding: 0 15px;
    }

    .search_and_lisence input {
        width: 50%;
    }

    .search_and_lisence .end_date {
        width: 50%;
    }
    .d_inner_filterright{
        margin-top: 15px;
    }

    .d_inner_right_select p{
        display: none;
    }

    .download_pdf_cont,
    .d_inner_right_select{
        width: 50%;
    }

    .video_slider .video_box{
        width: calc(50% - 10px);
        margin-right: 20px !important;
    }

    .video_slider .video_box:nth-child(even){
        margin-right: 0 !important;
    }
}

@media(max-width:991px) {
    .nav {
        display: none;
    }

    .teacher_popup{
        width: 95%;
        height: auto;
        display: flex;
        flex-direction: column;
    }



    .navbar_logo .logo img{
        width: 60px;
    }

    .menu_open {
        display: block;
        margin-left: 16px;
    }

    .banner_container h1 {
        font-size: 30px;
        line-height: 40px;
        margin-bottom: 25px;
    }

    .video_box_img {
        height: 150px;
    }

    .video_box {
        height: 250px;
    }

    .page_title {
        font-size: 25px;
        line-height: 33px;
    }

    .hiw_image {
        width: 100px;
        height: 100px;
        flex: none;
    }

    .how_it_works {
        padding-bottom: 0;
    }

    .bottom_title .page_title {
        font-size: 35px;
        line-height: 42px;
    }

    .hiw_image img {
        transform: scale(1);
        width: 48px;
    }

    .banner_section {
        height: 400px;
    }

    .hiwbox_desc {
        width: 100%;
    }

    .banner_container p {
        display: none;
    }

    .f_box2,
    .f_box3 {
        display: none;
    }

    .copyright {
        display: none;
    }

    .mobile_copyright {
        display: flex;
        justify-content: center;
        margin-top: 25px;
    }

    .mobile_copyright p {
        display: flex;
        align-items: center;
        font-size: 14px;
        color: #fff;
    }

    .f_logo_cont {
        align-items: center;
    }

    .f_box4 a.contact_link {
        margin-top: 10px;
    }

    .f_box4 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .plan_card_title_price {
        flex-direction: column;
    }

    .plan_card_title_price h4 {
        font-size: 18px;
    }

    .plan_card_title_price p {
        font-size: 20px;
    }

    .plan_pop {
        width: 95%;
        height: auto;
        display: flex;
        flex-direction: column;
    }

    .plan_popup_title h3 {
        font-size: 20px;
    }

    .plan_popup_title p {
        font-size: 14px;
    }

    .plan_form_container {
        margin-top: 20px;
    }

    .plan_form_textarea {
        margin-top: 0;
    }

    .pro_content h2 {
        font-size: 20px;
        line-height: 26px;
    }

    .share_this .pro_time {
        font-size: 14px;
    }

    .share_this {
        margin-top: 12px;
        padding-bottom: 14px;
    }

    .project_inner_content_text {
        font-size: 15px;
        margin-top: 14px;
        line-height: 20px;
        margin-bottom: 25px;
    }

    .project_content_slider a {
        height: 150px;
    }

    .project_banner {
        height: 250px;
    }

    .standart_table tr th,
    .standart_table tr td {
        text-align: left;
        padding: 8px 5px;
        font-size: 13px;
    }

    .edit_user_form .form-group input {
        width: 100%;
        border: 1px solid #15516A;
        box-sizing: border-box;
        border-radius: 4px;
        height: 40px;
        font-weight: normal;
        font-size: 14px;
        line-height: 17px;
        color: #828282;
        padding: 0 16px;
        background-color: #fff;
    }

    .table_no,
    .standart_table tr td:first-child {
        padding-left: 16px !important;
    }

    .table_links .table_save {
        margin-right: 0;
        margin-left: 12px;
    }

    .d_inner_table thead tr th:last-child {
        padding-right: 16px;
    }

    .filter_table_search {
        margin-left: 0;
    }
}

@media(max-width:768px) {
    .hiw_box {
        width: 100%;
        padding-right: 0;
        height: auto;
    }

    .main_videos .owl-nav, .teacher_slider_cont .owl-nav, .books_slider .owl-nav{
        top: -55px;
        right: 0;
    }

    .desktop_subj{
        display: none;
    }


    .mobile_subj{

        display: flex;
        margin-top: 20px;
    }

    .banner_container {
        width: 100%;
        padding: 0 20px;
    }

    .departament_box{
        flex-direction: column;
        height: auto;
        padding-bottom: 32px !important;
        align-items: center;
    }

    .dep_title{
        margin-bottom: 20px;
    }
    .user{
        display: none;
    }
    
    .db_left{
        width: 100%;
    }

    .user_side_logout{
        display: none !important;
    }

    .qe_answers{
        width: 100%;
    }


    .header_logout{
        display: flex;
    }

    .header_logout a{
        font-weight: 500;
        font-size: 18px;
        line-height: 22px;
        color: #333333;
    }

    .db_right{
        width: 150px;
    }

    .effectivity_text{
        bottom: -20px;
    }

    /*.latest_projects_list ul li,
    .books_list ul li {
        width: calc((100% - 16px) / 2);
        margin-left: 16px;
        margin-bottom: 16px;
    }

    .latest_projects_list ul li .video_box {
        width: 100%;
        margin-bottom: 0;
    }

    .latest_projects_list ul li:nth-child(odd),
    .books_list ul li:nth-child(odd) {
        margin-left: 0 !important;
    }

    .latest_projects_list ul li:nth-child(even),
    .books_list ul li:nth-child(even) {
        margin-left: 16px !important;
    }*/
    .latest_projects_list ul li, .books_list ul li{
        width: 100%;
        margin-left: 0 !important;
        margin-bottom: 0;
    }

    .breadcrumbs ul li a {
        font-size: 14px;
    }

    .breadcrumbs {
        margin-top: 16px;
    }

    .breadcrumbs ul li:after {
        width: 20px;
    }

    .two_side_title {
        display: flex;
        flex-direction: column;
        justify-content: unset;
    }

    .sorting p {
        display: none;
    }

    .sorting {
        margin-top: 10px;
    }

    .sorting select {
        width: 100%;
        margin-left: 0;
    }

    .subject_link>ul>li>a {
        font-size: 16px;
        line-height: 19px;
        margin-bottom: 24px;
    }

    .question_next_prev{
        display: flex;
        flex-direction: column;
        margin-bottom: 10px;
    }

    .question_next_prev a {
        width: 100%;
        font-size: 12px;
    }

    .question_next_prev  h1{
        margin-bottom: 20px;
    }

    .plan_pop {
        padding: 32px 24px;
        padding-bottom: 16px;
    }
    .db_left:before{
        display: none;
    }

    .plan_card {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 24px 18px;
    }

    .plans_list {
        padding: 0 15px;
    }

    .title_and_down {
        justify-content: unset;
        flex-direction: column;
    }

    .down_pdf {
        margin-top: 20px;
        width: 100%;
    }


    .question_extended {
        padding: 0 15px 0 15px;
    }

    .question_text {
        height: auto;
        padding: 12px 15px;
        font-size: 16px;
        padding-right: 30px;
        align-items: flex-start;
    }

    .question_text span {
        font-size: 16px;
        flex: none;
    }

    .question_text:after {
        right: 15px;
    }

    .qe_answers {
        padding-left: 0;
    }

    .qe_answers p {
        display: flex;
    }


    .contact_left {
        width: 100%;
        padding: 24px 18px;
        height: auto;
    }

    .contact_right {
        width: 100%;
        margin-left: 0;
        margin-top: 25px;
        padding: 24px 18px;
    }

    .contact_left ul {
        margin-top: 16px;
    }

    .cr_titles p {
        font-size: 14px;
    }

    .contact_map .in_page_title {
        margin-top: 40px;
    }

    .map_box {
        height: 300px !important;
    }

    .contact_form .plan_form_textarea {
        margin-top: 0;
    }

    .contacts {
        flex-direction: column;
    }

    .contact_side_title {
        font-size: 20px;
    }

    .login_popup {
        width: 95%;
        padding: 40px 32px;
        height: auto;
        display: flex;
        padding-bottom: 8px;
    }

    .dashboard_container {
        display: flex;
        flex-direction: column;
    }

    .dashboard_left {
        width: 100%;
        min-height: auto;
        padding-bottom: 15px;
    }

    .departament_box {
        padding: 24px 20px;
    }

    .dashboard_right {
        width: 100%;
        min-height: auto;
    }



    .departaments .col-md-12 {
        padding-left: 15px;
        padding-right: 15px;
    }

    .dashboard_menu ul li {
        padding-left: 15px;
    }

    .dashboard_menu ul li a {
        font-size: 16px;
    }

    .dashboard_menu ul li {
        margin-bottom: 10px;
    }

    .add_dep_popup {
        width: 95%;
        padding: 32px 20px;
        padding-bottom: 16px;
    }

    .popup_title h3 {
        font-size: 20px;
    }

    .popup_title p {
        font-size: 14px;
        line-height: 19px;
    }

    .admin_body {
        background-color: #E5E5E5;
    }

    .dashboard_left,
    .admin_header {
        background-color: #fff;
    }

    .table_img p {
        font-size: 11px;
    }

    .admin_header .header_contaier .container {
        padding: 0 15px;
    }

    .admin_header_userbox .username {
        font-size: 12px;
    }

    .admin_header_userbox .username img {
        width: 24px;
        height: 24px;
    }

    .d_inner_table thead tr th:last-child {
        text-align: center;
    }

    .table_links {
        justify-content: center;
    }

    .table_links a:first-child {
        margin-left: 0;
    }

    .subjects {
        padding: 24px 15px;
    }



    .user_subjects_page_info {
        padding: 0;
    }

    .filter_table_search {
        margin-left: 0;
    }

    .dashboard_container select,
    .edit_user_popup select {
        width: 100%;
        border: 1px solid #15516A;
        box-sizing: border-box;
        border-radius: 4px;
        height: 40px;
        font-weight: normal;
        font-size: 14px;
        line-height: 17px;
        color: #828282;
        padding: 0 16px;
        background-repeat: no-repeat;
        background-position: center right 15px;
        background-image: url(admin_img/select_down.svg);
        background-color: transparent;
    }

    .table_links a:nth-child(3){
        display: none;
    }

    .table_no {
        width: unset;
    }

    .popup_title {
        margin-bottom: 20px;
    }

    .edit_user_popup {
        width: 95%;
        padding: 32px 24px;
        padding-bottom: 16px;
    }

    .departament_inner_select_sort {
        width: 100%;
    }

    /* .standart_table{
        width: 760px;
    }

    .table_container{
        width: 100%;
        overflow-x: scroll;
        padding-bottom: 15px;
    } */
    .departament_inner_section {
        padding: 0 15px;
    }

    .standart_table tr th,
    .standart_table tr td {
        text-align: left;
        padding: 8px 5px;
        font-size: 11px;
    }

    .edit_user_form .form-group input {
        width: 100%;
        border: 1px solid #15516A;
        box-sizing: border-box;
        border-radius: 4px;
        height: 40px;
        font-weight: normal;
        font-size: 14px;
        line-height: 17px;
        color: #828282;
        padding: 0 16px;
        background-color: #fff;
    }

    .table_no,
    .standart_table tr td:first-child {
        padding-left: 16px !important;
    }

    .table_links .table_save {
        margin-right: 0;
        margin-left: 12px;
    }

    .d_inner_table thead tr th:last-child {
        padding-right: 16px;
    }

    .profile_infobox {
        width: 100%;
    }

    .departament_inner_select {
        padding-right: 15px;
    }
}

@media(max-width:600px) {
    .banner_section {
        height: 250px;
    }

    .video_box {
        height: auto !important;
    }

    .profile_infobox {
        flex-direction: column;
        height: auto;
    }

    .profile_main_img img {
        max-height: 200px;
    }

    .profile_infobar {
        padding-left: 0;
        margin-top: 20px;
    }

    .profile_main_img {
        margin: 0 auto;
    }

    .banner_container h1 {
        font-size: 20px;
        line-height: 26px;
        margin-top: 30px;
    }

    .profile_infobar p{
    	display: flex;
    	flex-direction: column;
    	align-items: flex-start;
    }
    .profile_infobar{
    	width: 100%;
    }

    .header_logout{
    	margin-left: 15px;
    }

    .banner_links a {
        width: 100px;
        height: 30px;
        font-size: 12px;
        margin-left: 16px;
    }

    .main_social_cont {
        display: none;
    }

    .banner_container {
        margin-top: 36px;
    }

    .login {
        height: 30px;
        font-size: 12px;
        margin-left: 16px;
    }

    header {
        top: 10px;
    }

    .video_box {
        width: 100%;
    }

    #cBlob {
        display: none;
    }

    .title_cont {
        margin: 25px 0;
    }

    .langbar a {
        font-size: 12px;
        margin-left: 10px;
    }


    .banner_links a:first-child {
        margin-left: 0;
    }

    .video_box_img {
        height: 120px;
    }

    .vide_desc_box {
        height: calc(100% - 120px);
        padding: 10px 10px;
    }

    .vide_desc_box a {
        font-size: 14px;
        line-height: 20px;
        word-break: break-all;
    }

    .vide_desc_box p {
        font-size: 12px;
        line-height: 16px;
        height: 32px;
        overflow: hidden;
        flex: none;
    }

    .video_box {
        height: 225px;
    }

    .video_slider .video_box {
        margin-right: 0;
    }

    .teacher_box .Timagebox {
        height: 150px;
    }

    .Tdesc {
        padding-top: 10px;
    }

    .Tdesc h5 {
        font-size: 16px;
        line-height: 23px;
    }

    .Tdesc p {
        font-size: 12px;
    }

    .hiw_image {
        width: 74px;
        height: 74px;
    }

    .hiw_image img {
        width: 30px;
    }

    .hiwbox_desc {
        padding-left: 18px;
    }

    .step {
        font-size: 12px;
        line-height: 15px;
    }

    .hiwbox_desc h5,
    .book_desc h5 {
        font-size: 16px;
        line-height: 21px;
        flex: none;
    }

    .down_pdf{
        font-size: 12px;
    }

    .box4 .hiwbox_desc {
        padding-left: 18px;
    }

    .book_img {
        height: 150px;
    }

    .book_desc {
        height: calc(100% - 150px);
    }

    .bottom_title .page_title {
        font-size: 20px;
        line-height: 27px;
    }

    .footer {
        margin-top: 30px;
    }

    .page_title {
        font-size: 20px;
        line-height: 25px;
        margin-bottom: 0;
    }

    .latest_projects_list li .vide_desc_box a {
        font-size: 16px;
        font-weight: 500;
    }

    .latest_projects_list li .video_box_img{
        height: 180px;
    }

    .hiwbox_desc p,
    .book_desc .author,
    .free_down,
    .latest_projects_list li .vide_desc_box p {
        font-size: 12px;
        line-height: 17px;
        flex: none;
    }

    .latest_projects_list li .vide_desc_box {
        height: auto;
    }

    .latest_projects_list li .video_box {
        height: 180px;
    }

    .book_box {
        height: 250px;
    }

    .search_and_lisence input {
        width: 100%;
    }

    .search_and_lisence {
        flex-direction: column;
    }

    .search_and_lisence .end_date {
        width: 100%;
        margin-left: 0;
        margin-top: 15px;
        justify-content: center;
    }

     .tpc_top{
        flex-direction: column-reverse;
        align-items: center;
    }

    .tpc_top .tpc_desc{
        align-items: center;
        margin-bottom: 20px;
        text-align: center;
    }

    .tpc_top{
        height: auto;
    }

    .tpc_top img{
        width: 100%;
        height: auto;
        max-height: 300px;
    }

    .teacher_popup_container{
        padding: 32px 16px;
    }

    .tpc_top .tpc_desc p.tname{
        font-size: 20px;
    }
}