/*----------------------Mobile Menu Icon------------------------------*/

/*-----------------Superfish Menu------------------*/
.sf-arrows .sf-with-ul{
  padding-right: 15px;
}

.sf-arrows .sf-with-ul:after{
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  margin-top: -2px;
  height: 0;
  width: 0;
  border: 5px solid transparent;
  border-top-color: #1e3237;
}

.sf-arrows ul .sf-with-ul:after{
  margin-top: -5px;
  margin-right: -3px;
  border-color: transparent;
  border-left-color: #888;
}

.sf-arrows ul li > .sf-with-ul:focus:after,
.sf-arrows ul li:hover > .sf-with-ul:after,
.sf-arrows ul .sfHover > .sf-with-ul:after{
  border-left-color: #333;
}
.toggle-nav, a.closebtn{
  display: none;
}
.main-navigation ul ul li{
  padding: 10px;
}

/*-------------- media section ---------------*/

@media screen and (max-width:575px) {
  
  #topbar .socialbox {
    text-align: center;
    padding: 10px 0;
  }
  #topbar p.clock {
    display: inline-block;
    margin-top: 10px;
  }
  #topbar p.text {
    display: block;
  }
  #topbar .emailPhone {
    padding: 10px 0;
  }
  .home #header_navigation::after {
    display: none;
  }
  #online_lesson p.head {
    display: block;
  }
  #skills .main_sub_heading, #skills .main_heading , #skills p.text , #skills h6 , #skills .Buttons , #category .post-slide .post-content , #latest_news .post-slide .post-review  , #newsletter .button{
    text-align: center;
  }
  #thought i.fas.fa-quote-right {
    top: unset;
  }
  #thought h5 , #thought h6 {
    line-height: 40px;
  }
  #skills li:nth-child(odd) {
    margin: 25px 0px 25px 0px;
  }
  #testimonial .owl-nav {
    display: none;
  }
  #skills .main_heading:after {
    margin: 5px auto;
  }
  #skills .button1 , #skills .button2{
    font-size: 12px;
    padding: 10px 10px;
  }
  #service .owl-item:nth-child(even) {
    margin-top:unset ;
  }
  #online_lesson .box h5 , #online_lesson .box p {
    text-align: center;
  }
  #service .owl-item:nth-child(odd) .border_dashed {
    border: 1px dashed transparent;
  }
  section#find_tutor {
    position: unset;
    padding: unset;
    bottom: unset;
  }
  #find_tutor input, #find_tutor select {
    margin-bottom: 10px;
  }
  #slider .carousel-caption {
    max-width: unset;
  }
  .toggle-nav {
    top: 6px;
  }
  #header .tutor , #header .call {
    padding: 8px 15px;
    margin: 10px 0;
  }
  #newsletter input[type="text"], #newsletter input[type="number"], #newsletter input[type="email"] {
    width: 100%!important;
    float: unset;
    margin: 20px 0!important;
  }
  #slider .carousel-caption {
    top:15%;
    right: 0%;
    left: 0%;
  }
  #slider .slider-box a {
    margin-top: 0px;
  }
  #slider .slide_btn {
    margin-top: 0px;
  }
  #slider .slider-box h1 {
    font-size: 20px;
    line-height: 20px;
  }
  #slider .slider-box h4 {
    display: none;
  }
  .home #header_navigation {
    position: unset;
    background: #fff;
  }
  .main_heading {
    font-size: 20px;
  }
  .main_para {
    font-size: 16px;
  }
  #footer h3 {
    text-align: center;
  }
  #footer {
    text-align: center;
  }
  #footer ul li {
    text-align: center;
  }
  section{
    padding: 20px 0;
  }
  blockquote{
    width: 100%;
  }
  .media-small {
    padding-left: 10px !important;
  }
  section h2{
    font-size: 22px;
  }
  .above_title {
    margin-top: 2%;
  }
  .sticky {
    position: unset !important;
  }
  .post-navigation .nav-previous {
    width: 100%;
  }
  .post-navigation .nav-next {
    width: 100%;
  }

}
@media screen and (min-width: 576px) and (max-width:767px){

  #topbar .emailPhone {
    margin-top: 10px;
  }
  .logo{
    text-align: center;
  }
  .toggle-nav {
    float: right;
    top: 6px;
  }
  .home #header_navigation::after {
    display: none;
  }
  .home #header_navigation {
    position: unset;
  }
  #slider .slider-box a {
    margin-top: 5px;
  }
  #online_lesson p.head {
    display: block;
  }
  #skills .main_sub_heading, #skills .main_heading , #skills p.text , #skills h6 , #skills .Buttons , #category .post-slide .post-content , #latest_news .post-slide .post-review  , #newsletter .button{
    text-align: center;
  }
  #thought i.fas.fa-quote-right {
    top: unset;
  }
  #thought h5 , #thought h6 {
    line-height: 40px;
  }
  #testimonial .owl-nav {
    display: none;
  }
  #skills .main_heading:after {
    margin-top: 5px auto;
  }
  #service .owl-item:nth-child(even) {
    margin-top:unset ;
  }
  #online_lesson .box h5 , #online_lesson .box p {
    text-align: center;
  }
  #service .owl-item:nth-child(odd) .border_dashed {
    border: 1px dashed transparent;
  }
  section#find_tutor {
    position: unset;
    padding: unset;
    bottom: unset;
  }
  #find_tutor input, #find_tutor select {
    margin-bottom: 10px;
  }
  #slider .carousel-caption {
    max-width: unset;
  }
  #header .tutor , #header .call {
    padding: 8px 15px;
    margin: 10px 0;
  }
  #newsletter input[type="text"], #newsletter input[type="number"], #newsletter input[type="email"] {
    width: 100%!important;
    float: unset;
    margin: 20px 0!important;
  }
  #slider .carousel-caption {
    top:30%;
  }
  #slider .slider-box h1 {
    font-size: 20px;
    line-height: 20px;
  }
  #category .post-slide .post-title > a {
    font-size: 15px;
  }
  #latest_news .post-bar span.view {
    margin-left: 10px;
  }
  .main_heading {
    font-size: 20px;
  }
  .main_para {
    font-size: 16px;
  }
}
@media screen and (min-width: 768px) and (max-width:991px) {
  
  #topbar a.get_ticket {
    display: inline-block;
    margin-top: 10px;
  }
  .toggle-nav {
    float: right;
    top: 6px;
  }
  #slider .carousel-caption {
    top:40%;
  }
  #slider .slider-box h1 {
    font-size: 25px;
    line-height: 30px;
  }
  #slider .slider-box a {
    margin-top: 5px;
  }
  #online_lesson p.head {
    display: block;
  }
  #skills .button1 , #skills .button2 {
    padding: 8px 10px;
  }
  #skills ul {
    padding: 0;
  }
  #testimonial .owl-nav {
    display: none;
  }
  section#find_tutor {
    position: unset;
    padding: unset;
    bottom: unset;
  }
  #find_tutor input, #find_tutor select {
    margin-bottom: 10px;
  }
  #slider .carousel-caption {
    max-width: unset;
  }
}
@media screen and (min-width: 992px) and (max-width:1200px) {

  .toggle-nav {
    margin-top: 24px !important;
    float: left!important;
    margin: unset;
  }
  #slider .carousel-caption {
    top: 45%;
    right: 18%;
    left: 18%;
  }
}

@media screen and (max-width: 1024px){

  .main-navigation ul {
    margin: 0;
    padding: 0;
  }
  .main-navigation ul ul{
    background-color: transparent;
  }
  .main-navigation ul ul li, .menubar.scrolled .main-navigation ul ul li{
    border-bottom: none;
  }
  .site-description{
    font-size: 12px !important;
  }
  .toggle-nav {
    display: block;
    position: relative;
    height: 30px;
    width: 30px;
    cursor: pointer;
    margin: 0 auto;
    z-index: 999999;
    right: 0;
    text-align: center;
  }
  .toggle-nav i {
    font-size: 29px;
    color: #000;
  }
  .sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9999999;
    top: 0;
    right: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
  }
  .sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    color: #818181;
    display: block;
    transition: 0.3s;
  }
  .sidenav a:hover {
    color: #f1f1f1;
  }
  .sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    display: block;
    color: #ffffff;
  }
  .sidenav #site-navigation {
    width: 100%;
  }
  .toggle-nav span {
    cursor:pointer; 
    text-align: right;
  }
  iframe {
    width: 100%;
    height: auto;
  }
  .innermenubox {
    position: static;
  }

  .main-navigation .menu{
    float: none;
    text-align: center;
  }
  .main-navigation ul ul li,
  #masthead.scrolled .main-navigation ul ul li{
    display: block;
  }
  .main-navigation .menu > ul > li.highlight{
    background: transparent !important;
  }
  .menu > ul > li:hover:before, 
  .menu > ul > li.current_page_item:before, 
  .menu > ul > li.current-menu-item:before{
    display: none;
  }
  .sf-arrows .sf-with-ul:after{
    border-top-color: #333;
  }
  .toggle i.fa.fa-bars,.toggle i.fa.fa-times {
    float: right;
    color: black;
  }
  .menubar .nav ul{ 
    width:100%;
    margin-top:0; 
  }
  .menubar .nav ul li,
  .menubar.scrolled .main-navigation li{
    border-top:1px #303030 solid; 
    display:block;
    text-align:left;
    float:none;
    width: 18rem;
    padding: 5px;
  }
  .nav ul li a{
    padding:5px 10px; 
    display:block; 
    color:#ffffff;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
  }
  .nav ul li a:hover{
    color:#ff8a00;
  }
  .nav ul li ul,
  .nav ul li ul ul{ 
    display:block !important;
  }
  .nav ul li ul li a:before{
    content:"\00BB \00a0";
  }
  .nav ul li ul li a{
  padding-left:20px !important;
  }
  .nav ul li ul li ul li a{
    padding-left:30px !important;
  }
  .main-navigation ul ul{
    position: static;
    width: 100%;
    box-shadow: none;
  }
  .main-navigation li.current_page_item
  {
    border:none;
  }
  section {
    padding: 30px 0;
  }
}

