/* 12.0 ===== Medias/Responsive ===== */


/* * Does the same thing as <meta name="viewport" content="width=device-width">, 
* but in the future W3C standard way. -ms- prefix is required for IE10+ to 
* render responsive styling in Windows 8 "snapped" views;
 IE10+ does not honor * the meta tag. See https://core.trac.wordpress.org/ticket/25888. */


/* All Tablet Portrait size smaller than standard 1199 (devices and browsers) */

@media only screen and (max-width: 1199px) {
  /*responsive for home page*/
  .header-info {
    padding-left: 20px;
  }
  .header-info li:nth-of-type(2) {
    padding-left: 5px;
  }
  .header-info li:nth-of-type(3) {
    padding: 0 5px;
  }
  .events-countdown>div {
    margin-right: 6%;
    margin-bottom: 10px;
  }
  .about-bottom {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }
  /*responsive for home page end*/
  .event-detail .entry-title {
    font-size: 30px;
  }
  .partner-section .owl-theme .owl-nav .owl-prev,
  .achievement .owl-theme .owl-nav .owl-prev {
    right: auto;
    left: 0;
  }
  .partner-section .owl-theme .owl-nav .owl-next,
  .achievement .owl-theme .owl-nav .owl-next {
    left: auto;
    right: 0;
  }
  .partner-section .owl-theme:hover .owl-nav .owl-prev,
  .achievement .owl-theme:hover .owl-nav .owl-prev {
    right: auto;
    left: 5px;
  }
  .partner-section .owl-theme:hover .owl-nav .owl-next,
  .achievement .owl-theme:hover .owl-nav .owl-next {
    left: auto;
    right: 5px;
  }
  .members-tab li.current:after {
    content: none;
  }
  .cart-product td {
    width: 20%;
  }
  .cart-product .cart-product-item {
    width: 40%;
  }
  .shop-grid-view .custom-col-4 {
    width: 50%;
  }
  .single-product{
    text-align: center;
  }
  .single-product .product-image{
    display: inline-block;
  }
  .product-wrapper .product-image img{
    width: 100%;
  }
  .single-product .product-content,
  .reviews-main{
    text-align:left;
  }
}


/* All Tablet Portrait size smaller than standard 1023 (devices and browsers) */

@media only screen and (max-width: 1023px) {
  /*responsive for home page*/
  .header-info li:nth-of-type(1),
  .header-info li:nth-of-type(2),
  .header-info li:nth-of-type(3) {
    width: 100%;
    margin-bottom: 5px;
  }
  .header-info li:nth-of-type(3) {
    margin-bottom: 0;
  }
  .header-info li figure {
    width: 18px;
  }
  .testimonial-section .icon-wrap {
    width: 100px;
    height: 80px;
  }
  .testimonial-section .icon-wrap i {
    line-height: 80px;
    font-size: 40px;
  }
  .testimonial-section .icon-wrap:after {
    border-width: 15px 51px 0 0;
  }
  .event-section {
    background-attachment: initial ! important;
  }
  /*responsive for home page end*/
  .sub-department li {
    width: 100%;
    float: none;
  }
  .sub-department li,
  .sub-department li:nth-of-type(2n) {
    margin-right: 0;
    margin-left: 0;
  }
  .event-wrap .image-wrap {
    width: 100%;
  }
  .event-wrap .image-wrap img {
    margin: 0 auto;
    display: block;
    width: 100%;
  }
}

@media only screen and (max-width: 992px) {
  /*responsive for home page*/
  .main-navigation ul li {
    margin-right: 15px;
  }
  .event-section .custom-col-6 {
    width: 80%;
  }
  .department-content-wrap .tab-content {
    padding: 30px;
  }
  .department-tabs>ul>li {
    padding: 24px 20px;
    font-size: 12px;
    min-width: auto;
  }
  .site-footer .info-wrap {
    position: relative;
    width: 100%;
    left: 0;
    height: initial;
  }
  .site-footer .info-wrap:after {
    display: none;
  }
  .footer-bottom {
    padding: 30px 0 30px;
    text-align: center;
  }
  .footer-menu ul li {
    margin: 0 10px;
  }
  .subscription_field .custom-col-7 {
    width: 100%;
  }
  .subscription-wrap {
    padding-left: 0;
    display: -o-flex;
    display: -ms-flex;
    display: -moz-flex;
    display: -webkit-flex;
    display: flex;
    -o-align-items: center;
    -ms-align-items: center;
    -moz-align-items: center;
    -webkit-align-items: center;
    align-items: center;
    -o-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .subscription-wrap .entry-title span {
    display: inline-block;
    margin-right: 10px;
  }
  /*responsive for home page end*/
  .sidebar .content-area {
    width: 60%;
  }
  #secondary {
    width: 40%;
  }
  .shop-list-view .product-wrapper .product-image {
    width: 40%;
  }
  .shop-list-view .product-wrapper .product-content {
    width: 60%;
  }
  body .site-footer .subscription_field .container> div{
    width:100%;
  }
  .subscription-padding .widget_text .widget-title + .textwidget{
    padding-left:30px;
    margin-left:auto;
  }
}



@media only screen and (max-width: 840px) {

  .header-info-responsive:focus {
    outline: 1px dotted #000;
  }
  .mean-container a.meanmenu-reveal span {
    height: 2px;
    padding-top: 1px;
  }
  .mean-container a.meanmenu-reveal span,
  .mean-container a.meanmenu-reveal span span{
    background: #00D386;
  }
  .mean-container a.meanmenu-reveal span span {
    height: 2px;
    width: 100%;
    margin-top: 7px !important;
    padding-top: 1px;
  }
  .main-navigation ul ul li:hover ul,
  .main-navigation ul ul ul li:hover ul,
  .main-navigation ul ul ul ul li:hover ul,
  .main-navigation ul ul ul ul ul li:hover ul,
  .main-navigation ul li ul {
    border-top: none !important;
    transition: none;
  }
  .main-navigation ul li:hover ul {
    transition: none;
  }

  .main-navigation ul li ul li a,
  .main-navigation ul li.current-menu-item ul li a,
  .main-navigation ul li ul li.current-menu-item a,
  .main-navigation ul li.current-page-ancestor ul li a,
  .main-navigation ul li.current-menu-ancestor ul li a,
  .main-navigation ul li.current-page-item ul li a {
    color: #fff;
    border-top: 1px solid rgb(255, 255, 255, 0.5);
    padding: 12px 10%;
  }
  .mean-container .mean-nav ul li li a {
    padding: 12px 10%;
    opacity: 1;
  }
  .mean-container .mean-nav ul li li li a {
    padding: 12px 15%;
  }
  .site-header {
    z-index: 9;
  }
  .mean-container .mean-nav ul li a.mean-expand {
    height: 20px;
  }
  .main-navigation.mean-container .mean-nav li ul.sub-menu {
    position: static;
    opacity: 1;
  }
  .main-navigation .menu-item-has-children .menu-item-has-children::before,
  .main-navigation li.menu-item-has-children::before{
    display: none
  }

  /*responsive for home page*/
  .custom-col-1,
  .custom-col-2,
  .custom-col-3,
  .custom-col-4,
  .custom-col-5,
  .custom-col-6,
  .event-section .custom-col-6,
  .custom-col-7,
  .custom-col-8,
  .custom-col-9,
  .custom-col-10,
  .custom-col-11,
  .custom-col-12 {
    float: none;
    width: 100%;
  }
  .shop-grid-view .custom-col-4 {
    float: left;
  }
  .about .custom-col-6,
  .about-bottom .custom-col-3,
  .blog-section .custom-col-4,
  .blog-wrap .custom-col-4 {
    width: 50%;
    float: left;
  }
  .custom-col-6:nth-of-type(2n) .team-item,
  .custom-col-6:nth-of-type(2n+1) .team-item {
    padding: 0;
  }
  .testimonial-wrap .row {
    display: block;
  }
  .testimonial-wrap .inner-detail {
    padding: 30px 15px 50px;
    top: 0;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  .testimonial-section .icon-wrap {
    display: none;
  }
  .department-contain {
    margin-top: 20px;
  }
  .service-list-wrap .row .custom-col-4:nth-last-of-type(1) .service-list,
  .service-list-wrap .row .custom-col-4:nth-last-of-type(2) .service-list,
  .service-list-wrap .row .custom-col-4:nth-last-of-type(3) .service-list {
    border-bottom: 1px solid #e5e6e7;
  }
  .service-list-wrap .row .custom-col-4:last-child .service-list {
    border-bottom: 0;
  }
  .main-navigation .mean-bar {
    background: transparent;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1;
  }
  .thumb-icon,
  #left-search,
  .header-cart-views {
    position: relative;
    z-index: 9;
  }
  .team-social{
    width: 30%;
  }
  .team-detail{
    width: 70%;
  }
  .team-social img{
    width: 100%;
  }
  /* .main-navigation .mean-nav,*/
  .appointment-dialog.active {
    right: 50%;
    -moz-transform: translateX(50%);
    -webkit-transform: translateX(50%);
    transform: translateX(50%);
  }
  .header-appoint-wrap {
    display: none;
    width: 100%;
  }
  .header-info {
    width: 100%;
  }
  .header-info-responsive {
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    margin: 10px auto;
    background: #00D386;
    display: block;
    position: absolute;
    right: 15px;
    top: 50px;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
  }
  .header-info-responsive:before {
    content: "\f107";
    font-family: FontAwesome;
  }
  .header-info-responsive.active:before {
    content: "\f106";
  }
  .main-navigation .mean-nav {
    background: #00D386;
  }
  .main-navigation a.meanmenu-reveal {
    color: #00D386;
  }
  .mean-container .mean-nav ul li a.mean-expand:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  .main-navigation ul li {
    margin: 0;
  }
  .main-navigation ul li a {
    font-size: 15px;
  }
  .menu-item-has-children::before {
    content: none;
  }
  .header-info-responsive:before {
    display: block;
  }
  .header-appointment-section {
    width: auto;
  }
  .header-appointment-section a {
    margin: 10px 0 20px;
    padding: 7px 12px;
    width: auto;
  }
  .header-info li {
    float: none;
  }
  .site-branding {
    margin-left: 0;
  }
  .event-section .entry-subtitle {
    font-size: 16px;
  }
  .event-section .entry-title {
    font-size: 24px;
  }
  /*responsive for home page end*/
  .post-thumbnail {
    margin-bottom: 20px;
  }
  .post-thumbnail img{
    margin:0 auto;
    display: block;
  }
  .team-detail-page .team-image {
    width: 40%;
  }
  .team-detail-page .team-detail {
    width: 60%;
  }
  .contact-wrap figure {
    display: none;
  }
  .main-navigation li a {
    line-height: 1;
  }
  .main-navigation ul li a:hover,
  .main-navigation li.current-menu-item a {
    color: #fff;
  }
  .page-title-wrap {
    background-attachment: initial;
  }
  .counter-info > div,
  .service-list-wrap > a{
    width:50%;
  }
  .service-list-wrap > a:nth-of-type(3n){
    border-right:1px solid #e5e6e7;
  }
  .service-list-wrap > a:nth-last-of-type(3) .service-list{
    border-bottom:1px solid #e5e6e7;
  }
  .service-list-wrap > a:nth-of-type(2n){
    border-right:0;
  }
  .main-navigation li ul.sub-menu{
    background-color:transparent;
    position: relative;
  }
  .site-header{
    margin-bottom:50px;
  }
  .site-footer .info-wrap{
    padding: 30px 15px;
  }
}


/* All Mobile Portrait size smaller than 768 (devices and browsers) */

@media only screen and (max-width:768px) {
  /*responsive for home page*/
  .section-padding {
    padding: 50px 0;
  }
  .about .custom-col-6 {
    width: 100%;
    float: none;
  }
  /*responsive for home page end*/
  /*about us page*/
  .about-us-page .list-content li,
  .about-us-page .list-content li:nth-of-type(2n) {
    width: 100%;
    margin: 0 0 20px;
    float: none;
  }
  .global-layout-right_sidebar #primary,
  .global-layout-left_sidebar #primary{
    width: 100%;
    float: none;
  }
  #secondary {
    width: 100%;
    float: none;
    padding-left: 0;
  }
  #primary + #secondary {
    margin-top: 30px;
  }
  .event-detail .entry-title {
    font-size: 24px;
  }
  .event-detail .entry-meta a {
    font-size: 16px;
  }
  .event-detail .entry-content ul li,
  .event-detail .entry-content ul li:nth-of-type(2n) {
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
  }
  .event-detail .events-countdown {
    max-width: 538px;
    padding: 20px;
    text-align: left;
  }
  .error-404.not-found {
    padding: 150px 0;
  }
  .error-404 .style-404 span.image-wrap {
    width: 200px;
    height: 200px;
    margin: 0 -20px;
    padding: 0px 30px;
  }
  .error-404 .style-404 span.numbers {
    font-size: 100px;
  }
  .error-404 .entry-title {
    font-size: 30px;
  }
  .cart-product .cart-product-item,
  .cart-product td,
  .cart-table th {
    width: 100%;
    display: block;
    border-right: 1px solid #ddd;
    border-bottom: 0;
  }
  .cart-product td:last-child {
    border-bottom: 1px solid #ddd;
  }
  .cart-table th.cart-product-item {
    text-align: center;
  }
  .cart-product-action .custom-col-7 {
    text-align: left;
    margin-top: 20px;
  }
}

@media only screen and (max-width:640px) {
  /*responsive for home page*/
  .search-section {
    right: -15px;
  }
  .search-section .search-arrow {
    display: none;
  }
  .search-section .search-form {
    width: 200px;
  }
  .appointment-dialog {
    width: 400px;
  }
  .slider-text {
    display: none;
  }
  .why-content {
    width: 100%;
  }
  .why-choose-us figure {
    display: none;
  }
  .blog-section .custom-col-4,
  .blog-wrap .custom-col-4 {
    max-width: 360px;
    width: 100%;
    float: none;
    margin-left: auto;
    margin-right: auto;
  }
  .department-tabs>ul>li {
    width: 100%;
  }
  .subscription-wrap .entry-header,
  .subscription-wrap .wpcf7-form {
    float: none;
    width: 100%;
  }
  .subscription-wrap .entry-header {
    margin-bottom: 10px;
  }
  /*responsive for home page end*/
  .event-wrap .image-wrap,
  .depatment-item .image-wrap {
    width: 100%;
  }
  .depatment-item .image-wrap img{
    width: 100%;
  }
  img {
    display: block;
    margin: 0 auto;
  }
  .caption-wrap {
    width: 100%;
  }
  .event-detail .events-countdown {
    margin-bottom: 0;
  }
  .event-detail .image-wrap+.events-countdown {
    margin-top: 0;
  }
  .events {
    margin-left: 0;
  }
  .event-wrap {
    width: 100%;
    margin: 50px auto 0;
  }
  .subscription-wrap .entry-title {
    width: 100%;
    float: none;
    margin-bottom: 10px;
  }
  .subscription-wrap .form{
    width:100%;
  }
  .shop-grid-view .custom-col-4 {
    float: none;
    width: 100%;
  }
  .shop-list-view .product-wrapper .product-image,
  .shop-list-view .product-wrapper .product-content {
    width: 100%;
    float: none;
    padding: 0;
  }
  .comment-body ol {
    margin-left: 0;
    padding-left: 0;
  }
  .subscription-padding .widget_text{
    display: block;
  }
  .subscription-padding .widget_text .widget-title{
    margin-bottom:20px;
  }
  .subscription-padding .widget_text .widget-title + .textwidget{
    padding-left:0px;
  }
}


/* All Mobile size smaller than standard 479 (devices and browsers) */

@media only screen and (max-width: 479px) {
  .search-section {
    right: 0;
  }
  /*responsive for home page*/
  .appointment-dialog {
    width: 300px;
  }
  .site-branding {
    width: 170px;
    margin: 20px 0;
  }
  .header-info-responsive {
    top: 18px;
  }
  .team-item{
    text-align: center;
  }
  .team-detail{
    text-align: left;
  }
  .team-detail,
  .about-bottom .custom-col-3 {
    width: 100%;
    float: none;
  }
  .team-social{
    float: none;
    width: auto;
    display: inline-block;
    margin-bottom:20px;
  }
  .team-social img{
    width: auto;
  }
  /*responsive for home page end*/
  .team-detail-page .team-image {
    margin-bottom: 20px;
  }
  .team-detail-page .team-image,
  .team-detail-page .team-detail {
    width: 100%;
    float: none;
    padding: 0;
  }
  .service-content-wrap blockquote {
    margin-right: 40px;
  }
  .service-content-wrap blockquote .icon-wrap {
    width: 60px;
    height: 40px;
    right: -40px;
    line-height: 40px;
    font-size: 20px;
    margin-bottom: 14px;
  }
  .service-content-wrap blockquote .icon-wrap:after {
    border-width: 13px 39px 0 0;
  }
  .error-404.not-found {
    padding: 100px 0;
  }
  .select-bar-wrap .select {
    float: none;
  }
  .select-bar-wrap .section-tabs {
    float: none;
    margin: 5px 0;
  }
  .comment-body figure,
  .product-comment-img,
  .widget-post-author .avatar {
    margin: 0 auto 10px;
    float: none;
  }
  .comments,
  .author-details {
    float: none;
    width: 100%;
    padding-left: 0;
  }
  .reviews-main ul li {
    font-size: 14px;
  }
  .counter-info > div,
  .service-list-wrap > a{
    width:100%;
  }
  .service-list-wrap > a,
  .service-list-wrap > a:nth-of-type(3n){
    border-right:0;
  }
  .service-list-wrap > a:nth-last-of-type(2) .service-list{
    border-bottom:1px solid #e5e6e7;
  }
  .testimonial-section .item-wrap{
    display: block;
  }
  .testimonial-section .item-wrap .inner-detail {
    width:100%;
    padding-left:0;
  }
  .testimonial-section .item-wrap figure{
    width:100%;
  }
  .testimonial-section .item-wrap .inner-detail{
    margin-top:0;
  }
}