/* Mobile first layout SmartMenus Core CSS (it's not recommended editing these rules)
   You need this once per page no matter how many menu trees or different themes you use.
-------------------------------------------------------------------------------------------*/

.sm,
.sm ul,
.sm li {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: normal;
  direction: ltr;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.sm-rtl,
.sm-rtl ul,
.sm-rtl li {
  direction: rtl;
  text-align: right;
}

.sm>li>h1,
.sm>li>h2,
.sm>li>h3,
.sm>li>h4,
.sm>li>h5,
.sm>li>h6 {
  margin: 0;
  padding: 0;
}

.sm ul {
  display: none;
}

.sm li,
.sm a {
  position: relative;
}

.sm a {
  display: block;
}

.sm a.disabled {
  cursor: not-allowed;
}

.sm:after {
  content: "\00a0";
  display: block;
  height: 0;
  font: 0px/0 serif;
  clear: both;
  visibility: hidden;
  overflow: hidden;
}

.sm,
.sm *,
.sm *:before,
.sm *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}



@media (max-width: 480px) {
div#block-creative-responsive-theme-page-title h1 {
    line-height: 40px;
        padding: 0 !important;
}


.node__content
{
    padding: 0 10px;
}


.imagefield_slideshow-wrapper {
    display: block;
    border: none;
    padding: 0;
    margin: 0;
}

.container_internal  ,
.container
{
    padding: 0px !important;
width:100%;
}


body .product .views-col {
width: 100% !important;
    margin: 0px;
    padding: 0px;
    float: unset;
}
.product     .views-view-grid .views-row 
  {
    display: block;
}

.block-views-blockteaching-block-1 .arrow_list li  .views-field-field-teaching-img img 
 {
    width: 100% !important;
}

  .block-views-blockservices-block-1   .views-field.views-field-title {
    display: none;
  }

.block-views-blockteaching-block-1 ul.arrow_list {
padding:0px !important;
}

  body #block-contactus h2 {
    background: #cb0c22;
    color: #fff;
    text-align: center;
    font-size: 24px;
    margin: 10px;
    font-weight: bold;
  }

  ul.menu-base-theme {
    background: #eee;
    border: 1px solid #ccc;
    display: block;
    width: 90vw;
  }

  ul.menu-base-theme li {
    float: none !important;
    border-bottom: 1px dashed #ccc;
    width: 100%;
    padding: 10px;
    clear: both;
  }


  .region-searchbox {
    display: block;
    grid-template-columns: 10fr 2fr;
    padding: 10px !important;
    background: #cb0c22;
    color: #fff;
    width: 100vw;
    overflow: hidden;
  }


  body .region-slideshow {
    padding: 0;
  }

  .container_internal {
    padding: 0 10px;
    margin: 0 auto;
    width: 100vW;
    overflow: hidden;
  }

  body .row {
    margin: 5px !important;
        width: 100%;
  }
 


  header .col-md-3 {
    width: 60% !important;
    display: grid;
    gap: 10px;
    font-weight: bold;
    grid-template-columns: 1fr 1fr;
  }


  header .col-md-3 .block {
    margin: 0px;
    padding: 0px !important;
  }

  header .col-md-3::before {
    content: "تلفن تماس: ";
    text-align: center;
  }

  body .block-views-blockteaching-block-1 .views-field-title a {
    font-weight: bold;
    font-size: 14px !important;
    height: 84px !important;
  }

  .region-slideshow .views-field-title {
    font-size: 14px !important;
    top: 15px !important;
  }


  body .col-md-12,
  body .col-md-9 {
    float: none !important;
    padding: 0px !important;
  }

  body div#block-contactus {
    margin-top: 0;
  }

  div#block-creative-responsive-theme-views-block-product-block-1 h2,
  .block-views-blockteaching-block-1 h2 {
    padding: 0 !important;    ;
    margin: 10px auto !important;    ;
  }

  div#views_slideshow_controls_text_slideshow-block_1,
  #views_slideshow_controls_text_product-block_1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
  }







  body .container {
    width: 99%;
  }

  body .main-header {
    padding-top: 1px;
 margin: 0px !important;
        width: 100%;
height: 50px;
  }


body .container_internal.slideshow  {
 padding-top: 0px;
 margin: 0px !important;
        width: 100%;
}
  .slideshow>div>.col-md-12 {
    float: unset !important;
    height: 100px;
  }

  body .views-field.views-field-field-slide img {
    width: 100% !important;
    height: auto;
  }

  body .views_slideshow_controls_text .views_slideshow_controls_text_previous {

    right: 30px;
    top: 35px;
    width: 30px;
    background-size: 60px;
  }

  body .views_slideshow_controls_text span {
    left: 30px;
    top: 35px;
    width: 30px;
    background-size: 60px;
  }

  .block-views-blockslideshow-block-1 {
    margin: 0px !important;
  }

  .block-search {
    display: none;
  }

  body .block-views-blockservices-block-1 .views-field.views-field-title a {
    position: absolute;
    top: 188px;
    padding: 0px;
    text-align: center;
    width: 320px;
    width: 186px;
    font-size: 9px;
  }



  .views-slideshow-controls-top {
    display: block !important;
  }

  div#block-creative-responsive-theme-views-block-services-block-1 {
    padding: 0 !important;
  }

  .clearfix:before {
    display: none;
  }

  .block-views-blockservices-block-1 .views-view-grid .views-col {
    height: 170px;
  }

  body div#block-creative-responsive-theme-views-block-product-block-1 .views_slideshow_cycle_slide {
    display: block !important;
  }

  body div#block-creative-responsive-theme-views-block-product-block-1 .views_slideshow_cycle_slide .views-row {
    margin: 10px 0;
  }

  body div#block-creative-responsive-theme-views-block-product-block-1 .views_slideshow_cycle_slide .views-row .views-field.views-field-title {
    top: 385px;
  }

  body .block-views-blockteaching-block-1 .arrow_list li:first-child .views-field-field-teaching-img,
  .block-views-blockteaching-block-1 .arrow_list li:first-child .views-field-field-teaching-img img {
    width: 100%;
    clear: both;
    float: none !important;

  }

  body .block-views-blockteaching-block-1 .arrow_list li {
    width: 100%;
    float: none;
    padding: 10px;
    box-shadow: -1px 2px 6px 3px #ccc;
    height: 580px !important;
    margin: 10px 0px !important;
    border-radius: 10px;
    list-style: none;
  }

  .block-views-blockteaching-block-1 h2 {
    width: 90% !important;
  }







  .main-header .col-md-9 {
    float: left !important;
  }

  .block-views-blockservices-block-1 img {
    width: 60%;
    height: auto;
  }

  .block-views-blockteaching-block-1 .arrow_list li:nth-child(n+2) {
    width: 100% !important;
    height: 501px;

  }

  .container .block-views-blockservices-block-1 .views-view-grid .views-row {
    grid-template-columns: 1fr 1fr !important; 
gap: 0px;
  }

  body .container .block-views-blockservices-block-1 .views-field.views-field-field-type-service {
    color: #fff;
   padding: 0;
        text-align: center;
        width: 90%;
        font-size: 17px;
        font-weight: bold;
        height: 40px;
        border-bottom: 1px dashed #ccc;
  }




  .block-views-blockteaching-block-1 .arrow_list li:first-child .views-field-body,
  .block-views-blockteaching-block-1 .arrow_list li:first-child .views-field-title {
    width: 100% !important;
    float: unset !important;
    text-align: justify;
  }

  .block-views-blockteaching-block-1 .arrow_list li:nth-child(n+2) img {
    width: 100%;
    height: auto !important;
  }

  .node__content>div:first-child {
    width: 100% !important;
    ;
    float: unset !important;
    ;
  }

  .node__content>div img {
    vertical-align: middle;
    width: 100%;
  }


  .node__content>div:nth-child(2) {
    width: 100% !important;
    float: unset !important;
    text-align: justify !important   
  }

  .views-view-grid .views-row {
    float: unset;
    clear: both;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 5px;
    overflow: hidden;
  }

  .block-views-blockservices-block-1 .views-view-grid .views-col {
    width: 100% !important;
    float: unset !important;
  }
























}

@media (min-width: 1200px) and (max-width: 1599px) {

  .views_slideshow_controls_text span {
    cursor: pointer;
    display: block;
    padding: 0px;
    margin-bottom: 3px;
    font-size: 0px;
    width: 45px !important;
    height: 50px;
    background-image: url(../images/navigation3.png);
    background-repeat: no-repeat;
    text-decoration: none;
    text-indent: -9999em;
    background-position: left top;
    position: absolute;
    left: 10px !important;
    top: 80%;
    z-index: 15000;
    background-size: 100px;
  }






  .block-views-blockslideshow-block-1 .views_slideshow_controls_text span {
    top: 45% !important;
  }



  .block-views-blockproduct-block-1 .views-slideshow-controls-top .views_slideshow_controls_text span {
    top: 60vh !important;
    right: unset !important;    ;
    left: 0px !important;
  }

  .block-views-blockproduct-block-1 .views-slideshow-controls-top .views_slideshow_controls_text .views_slideshow_controls_text_previous {
    left: unset !important;
    right: 0px !important;
    top: 60vh !important;
  }



  .block-views-blockservices-block-1 .views-field.views-field-field-type-service {

    color: #fff;
    padding: 10px;
    text-align: center;
    width: 320px;
    font-size: 18px;
    font-weight: bold; 
    height: 80px;
  }


  .block-views-blockslideshow-block-1 .views-slideshow-controls-top,
  .block-views-blockproduct-block-1 .views-slideshow-controls-top {
    display: block;
  }



  .block-views-blockproduct-block-1 .views-field-field-images .field-content {
    overflow: hidden;
  }

  body .container {
    width: 99% !important;
    padding: 0;
    margin: 0 auto;
  }

  div#block-creative-responsive-theme-views-block-services-block-1 {
    padding: 0 !important;
  }

  body div#block-contactus {
    margin-top: 160px;
    background: #cb0c22;
    color: #fff;
    text-align: center;
    height: 540px;
    border-radius: 10px;
  }


  body .block-views-blockteaching-block-1 .arrow_list li:first-child {
    width: 100%;
    clear: both;
    height: 394px;
  }

  body .block-views-blockteaching-block-1 .arrow_list li:nth-child(n+2) img {
    width: 100%;
    height: 246px;
  }

  body .block-views-blockteaching-block-1 .arrow_list li:nth-child(n+2) {
    width: calc(33% - 20px);
    float: right;
    padding: 10px;
    box-shadow: -1px 2px 6px 3px #ccc;
    height: 500px;
  }

  .block-views-blockteaching-block-1 .arrow_list li:last-child {
    display: none;
  }

  body .block-views-blockteaching-block-1 h2 {
    padding: 30px 0 30px 0;
  }

  body div#block-creative-responsive-theme-views-block-product-block-1 {
    margin-top: 100px;
    background: unset;
  }

  body div#block-creative-responsive-theme-views-block-product-block-1 .views_slideshow_cycle_slide {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    height: 510px !important;
  }

  body div#block-creative-responsive-theme-views-block-product-block-1 .views_slideshow_cycle_slide .views-row {
    position: relative;
    border: 1px solid #ccc;
    border-radius: 10px;
    background: #eee;
    height: 456px;
  }

  body .views-slideshow-controls-bottom.clearfix {
    position: absolute;
    bottom: 20px;
  }

  body .block-views-blockservices-block-1 .views-view-grid .views-col .field-content {
    text-align: center;
  }


  body .block-views-blockservices-block-1 .cover {
    left: 9px;
  }













}

/********end 1200-1599******/

























.menu-base-theme a,
.menu-base-theme a:hover,
.menu-base-theme a:focus,
.menu-base-theme a:active {
  padding: 10px 20px;
  padding-right: 58px;
  background: #3092c0 ;
  color: white;
  line-height: 23px;
  text-decoration: none;
}

.menu-base-theme a.current {
  background: #006892 ;
  color: white;
}

.menu-base-theme a.disabled {
  color: #a1d1e8;
}

.menu-base-theme a span.sub-arrow {
  position: absolute;
  top: 50%;
  margin-top: -17px;
  left: auto;
  right: 4px;
  width: 34px;
  height: 34px;
  overflow: hidden;
  text-align: center;
  background: rgba(0, 0, 0, 0.1);
}

.menu-base-theme a.highlighted span.sub-arrow:before {
  display: block;
  content: '-';
}

.menu-base-theme ul {
  background: white;
}

.menu-base-theme ul ul {
  background: rgba(102, 102, 102, 0.1);
}

.menu-base-theme ul a,
.menu-base-theme ul a:hover,
.menu-base-theme ul a:focus,
.menu-base-theme ul a:active {
  background: transparent;
  color: #2b82ac;
  border-left: 8px solid transparent;
}

.menu-base-theme ul a.current {
  background: #006892;
   color: white;
}

.menu-base-theme ul a.disabled {
  color: #b3b3b3;
}

.menu-base-theme ul ul a,
.menu-base-theme ul ul a:hover,
.menu-base-theme ul ul a:focus,
.menu-base-theme ul ul a:active {
  border-left: 16px solid transparent;
}

.menu-base-theme ul ul ul a,
.menu-base-theme ul ul ul a:hover,
.menu-base-theme ul ul ul a:focus,
.menu-base-theme ul ul ul a:active {
  border-left: 24px solid transparent;
}

.menu-base-theme ul ul ul ul a,
.menu-base-theme ul ul ul ul a:hover,
.menu-base-theme ul ul ul ul a:focus,
.menu-base-theme ul ul ul ul a:active {
  border-left: 32px solid transparent;
}

.menu-base-theme ul ul ul ul ul a,
.menu-base-theme ul ul ul ul ul a:hover,
.menu-base-theme ul ul ul ul ul a:focus,
.menu-base-theme ul ul ul ul ul a:active {
  border-left: 40px solid transparent;
}

.menu-base-theme ul li {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.menu-base-theme ul li:first-child {
  border-top: 0;
}

@media (min-width: 768px) {

  .menu-base-theme ul {
    position: absolute;
  }

  .menu-base-theme li {
    float: left;
  }

  .menu-base-theme.sm-rtl li {
    float: right;
  }

  .menu-base-theme ul li,
  .menu-base-theme.sm-rtl ul li,
  .menu-base-theme.sm-vertical li {
    float: none;
  }

  .menu-base-theme a {
    white-space: nowrap;
  }

  .menu-base-theme ul a,
  .menu-base-theme.sm-vertical a {
    white-space: normal;
  }

  .menu-base-theme .sm-nowrap>li>a,
  .menu-base-theme .sm-nowrap>li> :not(ul) a {
    white-space: nowrap;
  }

  /* ...end */
  .menu-base-theme {
    background: #3092c0;
  }

  .menu-base-theme a,
  .menu-base-theme a:hover,
  .menu-base-theme a:focus,
  .menu-base-theme a:active,
  .menu-base-theme a.highlighted {
    padding: 13px 24px;
    background: #3092c0;
    color: white;
  }

  .menu-base-theme a:hover,
  .menu-base-theme a:focus,
  .menu-base-theme a:active,
  .menu-base-theme a.highlighted {
    background: #2b82ac;
  }

  .menu-base-theme a.current {
    background: #006892;
    color: white;
  }

  .menu-base-theme a.disabled {
    background: #3092c0;
    color: #a1d1e8;
  }

  .menu-base-theme a span.sub-arrow {
    top: auto;
    margin-top: 0;
    bottom: 2px;
    left: 50%;
    margin-left: -5px;
    right: auto;
    width: 0;
    height: 0;
    border-width: 5px;
    border-style: solid dashed dashed dashed;
    border-color: #a1d1e8 transparent transparent transparent;
    background: transparent;
  }

  .menu-base-theme a.highlighted span.sub-arrow:before {
    display: none;
  }

  .menu-base-theme>li {
    border-left: 1px solid #2b82ac;
  }

  .menu-base-theme>li:first-child {
    border-left: 0;
  }

  .menu-base-theme ul {
    border: 1px solid #a8a8a8;
    padding: 0;
    background: white;
  }

  .menu-base-theme ul li ul li ul {
    background: white;
    left: unset !important;
    right: 142px !important;
    margin-top: -38px !important;
  }


  .menu-base-theme ul a,
  .menu-base-theme ul a:hover,
  .menu-base-theme ul a:focus,
  .menu-base-theme ul a:active,
  .menu-base-theme ul a.highlighted {
    border: 0 !important;
    padding: 9px 23px;
    background: transparent;
    color: #2b82ac;
  }

  .menu-base-theme ul a:hover,
  .menu-base-theme ul a:focus,
  .menu-base-theme ul a:active,
  .menu-base-theme ul a.highlighted {
    background: #108EC2;
    color: white;
  }

  .menu-base-theme ul a.current {
    background: #006892;
    color: white;
  }

  .menu-base-theme ul a.disabled {
    background: white;
    color: #b3b3b3;
  }

  .menu-base-theme ul a span.sub-arrow {
    top: 50%;
    margin-top: -5px;
    bottom: auto;
    left: 2px !important;
    margin-left: 0;
    right: 10px !important;
    border-style: solid;
    border-color: transparent #333 transparent transparent;
  }

  .menu-base-theme ul li {
    border: 0;
  }


  .menu-base-theme li ul li ul {
    right: 100% !important;
    margin-top: -40px !important;
  }





  ul.menu-base-theme li ul li {
    border-bottom: 1px solid #ccc;
    width: 100%;
    text-align: right;
    background: #eee !important;
  }


  .menu-base-theme li>ul {
    left: unset !important;
    right: 0px !important;
  }


  .menu-base-theme span.scroll-up,
  .menu-base-theme span.scroll-down {
    position: absolute;
    display: none;
    visibility: hidden;
    overflow: hidden;
    background: white;
    height: 20px;
  }

  .menu-base-theme span.scroll-up-arrow,
  .menu-base-theme span.scroll-down-arrow {
    position: absolute;
    top: -2px;
    left: 50%;
    margin-left: -8px;
    width: 0;
    height: 0;
    overflow: hidden;
    border-width: 8px;
    border-style: dashed dashed solid dashed;
    border-color: transparent transparent #2b82ac transparent;
  }

  .menu-base-theme span.scroll-down-arrow {
    top: 6px;
    border-style: solid dashed dashed dashed;
    border-color: #2b82ac transparent transparent transparent;
  }

  .menu-base-theme.sm-rtl.sm-vertical a span.sub-arrow {
    right: auto;
    left: 10px;
    border-style: dashed solid dashed dashed;
    border-color: transparent #a1d1e8 transparent transparent;
  }

  .menu-base-theme.sm-rtl>li:first-child {
    border-left: 1px solid #2b82ac;
  }

  .menu-base-theme.sm-rtl>li:last-child {
    border-left: 0;
  }

  .menu-base-theme.sm-rtl ul a span.sub-arrow {
    right: auto;
    left: 10px;
    border-style: dashed solid dashed dashed;
    border-color: transparent #a1d1e8 transparent transparent;
  }

  .menu-base-theme.sm-vertical a {
    padding: 9px 23px;
  }

  .menu-base-theme.sm-vertical a span.sub-arrow {
    top: 50%;
    margin-top: -5px;
    bottom: auto;
    left: auto;
    margin-left: 0;
    right: 10px;
    border-style: dashed dashed dashed solid;
    border-color: transparent transparent transparent #a1d1e8;
  }

  .menu-base-theme.sm-vertical>li {
    border-left: 0 !important;
  }

  .menu-base-theme.sm-vertical ul a {
    padding: 9px 23px;
  }
}

@media (max-width: 1600px) {

body div#block-contactus {
    margin-top: 100px;
    background: #cb0c22;
    color: #fff;
    text-align: center;
    height: 630px;
}
body div#block-creative-responsive-theme-views-block-product-block-1 .views_slideshow_cycle_slide .views-row{
height:520px;
}
}