/********************/
/*                  */
/*  MEDIA QUERIES   */
/*                  */
/********************/

.hide_from_desktop {
    display: none;
}

@media screen and (max-width: 1420px) {

    .course-block-menu-inner ul {
        margin: 0;
    }

    .container {
        width: 92% !important;
    }

    .header-banner .view ul li .header-banner-container--inner {
        width: 92%;
    }

    .view-header-banner .header-banner-image .desktop-view {
        display: none;
    }

    .view-header-banner .header-banner-image .laptop-view {
        display: block;
    }

    .header-banner .view ul li .header-banner-container--inner {
        bottom: 0;
        height: 85%;
        top: unset;
        padding-left: 0;
        padding-right: 0;
    }

    .header-image {
        background-position: -190px center;
    }

        .tutor-face-caret-below {
        display: inline-block;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 30px 30px 30px;
        border-color: transparent transparent #000 transparent;
        bottom: -65px;
        position: absolute;
        z-index: -1;
        left: 0;
         right: 0;
        margin-left: auto;
        margin-right: auto;
        opacity: 0;
    }
    .testimonial-container button.slick-prev.pull-left.slick-arrow {
        position: absolute;
        bottom: auto;
        top: -60px;
    }

    .testimonial-container button.slick-next.pull-right.slick-arrow {
         position: absolute;
        bottom: auto;
        top: -60px;
    }
    #block-uglitheme-main-menu ul.menu > li > ul[data-children-count="3"] {
        left: calc(-30vw - 100px);
    }
}

@media screen and (max-width: 1400px) {

    .course-block-menu-inner ul {
        width: 250px;
    }

    .course-block-menu-inner.sticky-left-menu > ul {
        width: 250px;
    }
}

@media screen and (max-width: 1300px) {
    .tutor-face-caret-below {
        bottom:-91PX;
    }
    .newsletter-signup--inner-out {
        width: 92%;
    }

    .newsletter-signup--inner-in label.control-label {
        font-size: 20px;
    }

    .newsletter-signup--inner input#edit-sign-up-to-our-newsletter {
        font-size: 20px;
    }

    .newsletter-signup--inner button#edit-actions-submit {
        font-size: 20px;
        margin-top: 0;
    }

    .tutors-container-tutors-hover-popup-container-desktop-version {
        top: 72%;
    }
}

@media screen and (max-width: 1200px) {
    .block_icon_blocks .block-icon-item-column {
        margin-bottom: 0;
    }
    .block_icon_blocks .block-icon-item-column--title h4 {
        height: auto;
        overflow: unset;
        font-size: 22px;
        line-height: normal;
        margin-top: 15px !important;
    }
    .testimonial-quote {
        font-size: 24px;
    }
    .course-block-menu-inner ul {
        width: 100%;
    }
    .course-block-menu-inner.sticky-left-menu > ul {
        width: 100%;
    }
    .course-block-menu-inner.sticky-left-menu {
        position: relative;
        width: 92%;
    }

    .region.region-navigation a.logo {
        display: block;
        float: unset !important;
        text-align: center;
        margin-bottom: 20px;
        width: 200px;
        margin-left: auto;
        margin-right: auto;
    }

    nav#block-uglitheme-main-menu {
        top: 0;
        position: relative;
        width: 100%;
    }

    nav#block-uglitheme-main-menu ul:not(.dropdown-menu) {
        text-align: center;
        display: block;
        width: 100%;
    }

    nav#block-uglitheme-main-menu ul li,
    .navbar-text {
        float: unset;
        display: inline-block;
    }
}

@media only screen and (max-width: 1200px) {
    #block-uglitheme-main-menu ul.menu > li:nth-child(2) > ul:first-of-type {
        left: -80px;        
    }
    #block-uglitheme-main-menu ul.menu > li:nth-child(3) > ul:first-of-type {
        left: -230px;        
    }
}


@media screen and (max-width: 1170px) {
    .tutors-container-tutors-hover-popup-container-desktop-version {
        top: 65%;
    }
}

@media screen and (max-width: 1110px) {
    nav#block-uglitheme-main-menu li a,
    .navbar-text {
        margin: 3px 10px;
        padding: 7px 10px;
        font-size: 14px;
    }
    .course-block-menu-inner ul li a,
    .course-block-menu-inner ul li a:link,
    .course-block-menu-inner ul li a:visited,
    .course-block-menu-inner ul li a:hover,
    .course-block-menu-inner ul li a:focus {
	   /*left: 0px;*/
    }
}
@media screen and (min-width: 993px) and (max-width: 1280px) {
    .block-icon-item-column--body p {
        height: 100px;
    }
}


@media screen and (max-width: 992px) {
    .hide_from_desktop {
        display: block;
    }
    .hide_from_mobile {
        display: none;
    }
    .page-node-type-course-scroller .course-block-types-container .col-md-9.course-content-blocks {
        padding-right: 0;
        padding-left: 0;
        margin-left: -15px;
        margin-right: -15px;
    }
    .block_icon_blocks .block-icon-item-column {
        margin-bottom: 30px;
    }
    .block-pricing-table-container .sub-pricing-mini-desc {
        width: 100%;
    }

    .block-pricing-table-container .shopify-buy-frame--product {
        width: 100%;
    }
    .block-pricing-table-container .sub-pricing-toggle-link a {
        font-size: 17px;
        line-height: 17px;
        font-style: normal;
        padding: 15px 10px;
        width: 100%;
        display: block;
    }
    .block-pricing-table-container .pricing-table-price {
        position: relative;
        bottom: 0;
        right: 0;
        font-size: 32px;
        margin-top: 10px;
        top: 0;
        transform: unset;
        margin: 20px 0 0;
    }
    .block-pricing-table-container .pricing-table-price .btn {
        margin-top: 15px;
        display: block;
    }

    .course-block-types-container .course-content-menus {
        position: relative;
    }
    .course-block-menu-inner ul li a,
    .course-block-menu-inner ul li a:link,
    .course-block-menu-inner ul li a:visited,
    .course-block-menu-inner ul li a:hover,
    .course-block-menu-inner ul li a:focus {
       left: 0px;
    }
    .newsletter-signup--inner input#edit-sign-up-to-our-newsletter {
        height: 50px;
    }

    .newsletter-signup--inner {
        padding-bottom: 10px;
    }

    .newsletter-signup--inner div#edit-actions {
        margin-bottom: 0;
    }

    .newsletter-signup--inner-in label.control-label {
        font-size: 18px;
    }

    .newsletter-signup--inner input#edit-sign-up-to-our-newsletter {
        font-size: 18px;
        height: auto;
        padding: 10px;
    }

    .newsletter-signup--inner button#edit-actions-submit {
        font-size: 18px;
        margin-top: 0;
        padding: 10px;
        height: auto;
    }

    .footer-outside .footer {
        padding-left: 0;
        padding-right: 0;
    }

.footer-social-media,
#block-footeraddress,
#block-footercontactdetails {
    width: 100%;
    float: left;
    clear: both;
    text-align: center;
}


    .mobile-back-to-top {
        display: block !important;
    }

    
    .col-md-6.footer-right-side div {
        text-align: center;
    }

    #block-uglitheme-main-menu {
        display: none;
    }

    .region.region-navigation img {
    /*    
        width: 100%;
    */
    }

    .region.region-navigation a.logo {
        display: block;
        float: left !important;
        text-align: center;
        margin-bottom: 10px;
        /* height: 70px; */
        margin-left: -7.5%;
        margin-right: unset;
    }
/*
    body.HideNav-1 .region.region-navigation a.logo {
        float: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
*/
    .responsive-menu-toggle-wrapper.responsive-menu-toggle {
        display: block;
    }

    .newsletter-signup--inner {
        position: relative;
        bottom: 0;
        margin-top: 30px;
        padding-bottom: 30px;
    }

    .big-image-newsletter-signup .form-item.js-form-item.form-type-email.js-form-type-email.form-item-sign-up-to-our-newsletter.js-form-item-sign-up-to-our-newsletter.form-group {
        width: 100%;
        display: block;
    }

    .newsletter-signup--inner-in label.control-label {
        width: 100%;
        text-align: center;
        margin-left: 0;
        margin-right: 0;
    }

    .newsletter-signup--inner input#edit-sign-up-to-our-newsletter {
        width: 100%;
        display: block;
    }

    .newsletter-signup--inner button#edit-actions-submit {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .newsletter-signup--inner div#edit-actions {
        width: 100%;
        display: block;
        float: unset;
    }

    .big-cta-inner-container a {
        width: 100%;
        font-size: 20px;
        padding: 15px;
    }

    .testimonial-quote {
        margin-top: 20px;
        width: 100%;
    }

    .container.block-types.block_two_col .block-content {
        column-count: 1;
    }

    .course-block-menu-inner ul li.hide-menu-on-mobile,
    .view-header-banner .header-banner-image .desktop-view,
    .view-header-banner .header-banner-container .desktop-view,
    .view-header-banner .header-banner-image .laptop-view {
        display: none;
    }

    .view-header-banner .header-banner-image .mobile-view,
    .view-header-banner .header-banner-container .mobile-view {
        display: block;
    }

    .course-block-menu-inner {
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .course-block-menu-inner.sticky-left-menu > ul {
        width: 100%;
        position: relative;
        top: 0;
        margin-left: 0;
        z-index: 1;
        text-align: center;
    }

    .course-block-menu-inner.sticky-left-menu {
        width: 100%;
    }

    .course-block-menu-inner ul {
        text-align: center;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .course-block-menu-inner ul li {
        position: relative;
        display: inline-block;
    }

    .header-banner-container.has-trigger-mobile-bg {
        min-height: 500px;
        background-size: cover;
        background-position: center center;
        margin-bottom: 50px;
    }

    .header-banner-container.has-trigger-mobile-bg .header-banner-container--inner {
        position: relative !important;
        bottom: 0 !important;
        top: 0 !important;
        padding-top: 50px;
        padding-bottom: 50px;
    }

  
}

@media screen and (max-width: 1090px) {

	.container.block-types.block_two_col .block-content {
	    column-count: 1;
	}




}


@media screen and (max-width: 992px) {

    .block-icon-item-column,
    .block-responsive-boxes .row div[class*="col-md"] {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        float: left;
        clear: both;
    }

    .MobileColumns-2 .block-icon-item-column,
    .block-responsive-boxes .MobileColumns-2 div[class*="col-md"] {
        margin-left: 2.5%;
        margin-right: 2.5%;
        width: 45%;
        float: left;
        clear: none;
    }

    .IconBlockHide-1 {
        display: none;
    }

    .block-icon-item-column--body p {
        height: 65px;
    }

    .tutors-container-outer-desktop {
		display: none !important;
	}

	.tutors-container-mobile.mobile-version {
		display: block !important;
	}

    .block-language-switcher {
        display: block;
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }

    .region.region-language-switcher {
        float: none;
        display: inline-block;
    }

    .block-language-switcher span {
        float: none;
        display: inline-block;
        vertical-align: top;
        margin-right: 15px;
        margin-top: 3px;
    }

    .block-top-header-text {
        text-align: center;
        width: 100%;
        margin-bottom: 5px;
    }

}


@media screen and (max-width: 880px) {

    .block-course-dates-container ul li div.course-field-date span {
        font-size: 20px;
    }

    .block-course-dates-container ul li div.course-field-date {
        margin-top: 7px;
        margin-right: 20px;
    }

    .block-course-dates-container ul li div.course-field-link a {
        width: 100px;
    }

    .top-header-inner ul {
        padding-right: 0;
   
}

@media screen and (max-width: 768px) {
    /*.block_icon_blocks .block-icon-item-column--body p {
        height: auto;
    }*/
    .carousel-outer-indicator-container ul.carousel-indicators.slick-initialized button.slick-prev, 
    .carousel-outer-indicator-container ul.carousel-indicators.slick-initialized button.slick-next {
        top: 8px;
    }
    .block-course-dates-container ul li div.course-field-date {
        width: 100%;
        margin-right: 0;
        text-align: center;
        margin-bottom: 10px;
    }

    .block-course-dates-container ul li div.course-field-content {
        width: 100% !important;
        text-align: center;
        margin-bottom: 10px;
    }

    .block-course-dates-container ul li div.course-field-link a,
    .block-course-dates-container ul li div.course-field-link,
    .block-course-dates-container ul li div.course-field-link div {
        width: 100%;
    }

    .testimonial-container button.slick-prev.pull-left.slick-arrow,
    .testimonial-container button.slick-next.pull-right.slick-arrow {
        display: none !important;
    }

    .testimonial-box-mobile-arrows {
        display: block;
    }
}


@media screen and (max-width: 750px) {

    #block-blogctafooter {
        display: none;
    }

    .region-sidebar-second {
        padding-left: 0;
    }

    #views-exposed-form-blog-page-1 button {
        bottom: 12px;
    }

    .swatch,
    .BlogArticle .field--name-body img {
        width: 100%;
        float: left;
        margin: 0 0 20px 0;
    }
}

@media screen and (max-width: 740px) {

	.footer-outside {
	    padding-bottom: 85px;
	}

}

@media only screen and (max-width: 720px) {
	.block_responsive_boxes .block-content img,
	.block_one_col img {
		width: 100% !important;
		float: left !important;
		margin: 15px 0 !important;
	}

}

@media screen and (max-width: 700px) {
    .testimonial-container button.slick-prev.pull-left.slick-arrow {
        top: 40%;
        right: unset;
        left: 5%;
        bottom: unset;
        display: none;
    }

    .testimonial-container button.slick-next.pull-right.slick-arrow {
        top: 40%;
        right: 5%;
        bottom: unset;
        display: none;
    }

    .testimonial-name {
	    margin-left: auto;
	    margin-right: auto;
	}

    .tutors-container button.slick-prev.pull-left.slick-arrow {
        bottom: 0;
        right: unset;
        left: 5%;
    } 

    .tutors-container button.slick-next.pull-right.slick-arrow {
        bottom: 0 !important;
        right: 5%;
        bottom: unset;
    }

    .testimonial-quote {
        text-align: center;
    }

    .testimonial-name {
        margin-left: auto;
        margin-right: auto;
    }

    .testimonial-subtitle {
        width: 100%;
        margin-top: 5px;
        text-align: center;
    }
    .tutor-face {
        height: 150px;
        width: 150px;
    }
    .tutor-qualifications {
        padding: 25px 20px;
    }
    .tutor-face-inner {
        width: 130px;
        height: 130px;
        font-size: 12px;
    }
}

@media screen and (max-width: 650px) {
    li.tutor-mobile-left-thumbs-list-row.tutor-active-mobile .tutor-face-caret-right {
        display: none !important;
    }
    .table-responsive table {
        table-layout: fixed;
    }
    .table-responsive table tr td,
    .table-responsive table tr th {
        width: calc(100vw - 18vw) !important;
        word-break: break-word;
        white-space: normal !important;
    }
}

@media screen and (max-width: 500px) {
    .tutor-face {
        height: 115px;
        width: 115px;
    }
    .tutor-face-inner {
        width: 95px;
        height: 95px;
    }
    .tutor-qualifications {
        padding: 10px;
    }

	
    thead {

    	vertical-align: top;
    	border-top-color: white;
    	border-left-color: white;
    	border-color: white;
    	border: 2px solid;

    }
	th:before { 

		content:attr(td); 
		position:absolute;
	}

 
}

@media screen and (max-width: 630px) {

    .block-pricing-table-container .pricing-table-price {
        position: relative;
        bottom: 0;
        right: 0;
        font-size: 32px;
        margin-top: 20px;
    }
}

/* @media screen and (max-width: 600px) {

    .course-block-menu-inner ul li {
       width: 100%;
    }

    .course-block-menu-inner ul li a {
       text-align: left;
    }

    .course-block-menu-inner ul li a:hover {
        left: 0;
    }
} */

@media screen and (max-width: 540px) {

    .header-banner-container h2.header-text-title, .header-banner-container div.header-text-subtitle p, .header-cta-container a {
        width: 100%;
        word-break: break-word;
    }

    .block-course-dates-filter-container form .form-item {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .block-course-dates-filter-container form button.form-submit {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 400px) {
    .tutor-mobile-left-thumbs.col-md-4.col-sm-4.col-xs-4,
    .tutor-mobile-right-full-descriptions.col-md-8.col-sm-8.col-xs-8 {
        width: 100%;
    }
    .tutor-face {
        height: 250px;
        width: 250px;
    }
    .tutor-face-inner {
        width: 230px;
        height: 230px;
    }
   .tutor-qualifications {
        padding: 40px 30px;
    }
    li.tutor-mobile-right-full-descriptions-list-row {
        display: none !important;
    }
}

