/* Monitor RCD size 992 to standard 1199 (devices and browsers) */
@media only screen and (min-width: 992px) and (max-width: 1199px) {

  .navbar-brand {
    margin-right:0;
  }

  #header-wrapper .navbar-brand.logo img.logo-img {
    margin: -1px 5px;
  }

  .main-menu.left > div > ul > li > a {
    padding-right: 0;
  }

  .main-menu.right > div > ul > li > a {
    padding-left: 0;
  }

  .main-menu.left > div > ul > li {
    float: left;
    margin: 0 15px 0 15px;
  }

  #header {
    max-width: 990px;
  }

  .comment-count-list {
    margin: -12px;
  }
}

/* Monitor RCD size 980 to standard 991 (devices and browsers) */
@media only screen and (min-width: 980px) and (max-width: 991px) {

  .main-menu.left > div > ul > li {
    margin: 0;
  }

  .main-menu.right > div > ul > li > a {
    padding-left: 0;
  }

  .text-info-mvc {
    font-size: 1.5rem;;
  }

  footer.page-footer div.container{
    max-width: 975px;
  }

  .btn-slider-quote:hover {
    color: #fff;
    font-weight: 600;
    background-color: rgb(255,123,0);
    border-color: rgb(255,123,0);
  }

  .page-post-img {
    width: 100%;
    height: 400px;
  }

  .blog-post-list .clean-blog-post h3{
    padding-top:0 !important;
  }

  .comment-count-list {
    margin: -12px;
  }

  .clean-block.clean-blog-list .block-content {
    padding: 30px !important;
  }

  .img-single-post {
    width: 100%;
    height: 400px;
  }

  .container {
    max-width: 900px;
  }

    #header {
        width: 98%;
        max-width: 980px;
    }
}

/* Tablet Portrait size 768 to standard 979 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 979px) {
  /*	Layouts ------------------------------------------------------------------------------------------*/
  .content {
    padding: 0 40px;
  }

  .videos-home{
    flex: 0 0 48.333%;
    max-width: 48.333%;
  }

  #page-content-wrap .contact-info-head{
    padding-right:0 !important;
  }

  #page-content-wrap .contact-info-head p{
    margin-left:0;
    text-align: center;
  }

  #page-content-wrap .contact-info-head p span.text-info-head,
  #page-content-wrap .contact-info-head p span.text-info-head-phone{
    margin-right: 5px !important;
  }

  #header-wrapper #header{
    text-align: center;
  }

  .contact-info-social.col-sm-3{
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .blog-post-list .clean-blog-post h3{
    padding-top:0 !important;
  }


  .page-post-img {
    width: 100%;
    height: 400px;
  }

  #header-wrapper .navbar-brand.logo img.logo-img {

    margin: 0;
  }

  .clean-block.clean-info h3{
    font-size: 1.4rem;
  }

  .comment-count-list {
    margin: -12px;
  }

  .clean-block.clean-blog-list .block-content {
    padding: 30px !important;
  }

  .img-single-post {
    width: 100%;
    height: 400px;
  }

  .btn-slider-quote {
    font-size: 20px !important;
  }

  .btn-slider-quote:hover {
    color: #fff;
    font-weight: 600;
    background-color: rgb(255,123,0);
    border-color: rgb(255,123,0);
  }

  .carousel-caption .text-uppercase strong span{
    font-size: 1.2rem;

  }

  .carousel-caption {
    bottom:0 !important;
  }

  /*	Header -------------------------------------------------------------------------------------------*/
  #header {
    width: 770px;
    max-width: 979px !important;

  }

    .main-menu .sub-menu {
      top: 23px;
      left: -12px;
    }

  #header .main-menu.left > div > ul > li {
    padding: 0;
  }

  #header .main-menu.right > div > ul > li {
    padding: 0;
  }

  .main-menu.left > div > ul > li {
    margin: 0;
  }

  #header .main-menu > div > ul > li > a {
    font-size: 0.7em;
    background: none;
  }
  #header .main-menu.left > div > ul > li > a {
    padding-right: 8px;
  }

  #header .main-menu.left > div > ul > li:last-child > a {
    padding-right:0;
  }

  #header .main-menu.right > div > ul > li > a {
    padding-left: 5px;
  }
  #header .main-menu .sub-menu {
    width: 160px;
  }
  #header .main-menu .sub-menu .menu-item {
    padding: 7px 10px 7px 10px;
  }
  #header .main-menu .sub-menu .menu-item > a {
    font-size: 12px;
  }

  .contact-form p {
    float: none;
    width: 100%;
  }

  /* Comments --------------------------------------------------------------------*/
  #comments .comment .avatar {
    width: 60px;
    height: 60px;
  }
  #comments .comment .comment-body, #comments .comment .comment-meta {
    width: 78%;
    text-align: left;
  }
  #comments .comment .children .comment:first-child {
    margin-top: 0;
  }
  #comments .commentlist .children .depth-2 .comment-body, #comments .commentlist .children .depth-2 .comment-meta {
    width: 72%;
  }
  #comments .commentlist .children .depth-3 .comment-body, #comments .commentlist .children .depth-3 .comment-meta {
    width: 62%;
  }
  #comments .commentlist .children .depth-4 .comment-body, #comments .commentlist .children .depth-4 .comment-meta {
    width: 50%;
  }
  #comments .commentlist .children .depth-5 .comment-body, #comments .commentlist .children .depth-5 .comment-meta {
    width: 42%;
  }
}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {
  #sidebar .widget {
    width: 100%;
    margin: 0 auto 15px;
    text-align: center;
  }

  .container {
    max-width: 735px;
  }

  /*	Header ------------------------------------------------------------------------------------*/
  #header {
    width: 440px;
    padding: 12px 0 10px;
    height: auto;
  }

  #header .main-menu.left {
    position: static;
    margin: 0 auto 10px;
    display: none;
  }

  #header nav ul {
    text-align: center;
    display: none;
  }
  #header .main-menu {
    background-color: #fde69f;
    width: 95%;
    margin: 0 auto;
    padding: 5px;
    border: 1px solid #191919;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
  }
  #header .main-menu .responsive-nav {
    width: 100%;
    display: block;
    margin: 0 auto;
    border: 1px solid #fde6a4;
  }

  .contact-form p {
    float: none;
    width: 100%;
  }

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 24px;
  }

  /*-----------------------------------------------------------------------------------*/
  /*	18. Comments
  /*-----------------------------------------------------------------------------------*/
  #comments .commentlist .children {
    padding: 0;
    position: relative;
  }
  #comments .comment .avatar {
    width: 60px;
    height: 60px;
    float: none;
  }
  #comments .comment .comment-body, #comments .comment .comment-meta {
    float: none;
    width: 100%;
    padding: 0;
  }
  #comments .commentlist .children .depth-2 .comment-body, #comments .commentlist .children .depth-2 .comment-meta {
    width: 100%;
    padding: 0;
  }
  #comments .commentlist .children .depth-3 .comment-body, #comments .commentlist .children .depth-3 .comment-meta {
    width: 100%;
    padding: 0;
  }
  #comments .commentlist .children .depth-4 .comment-body, #comments .commentlist .children .depth-4 .comment-meta {
    width: 100%;
    padding: 0;
  }
  #comments .commentlist .children .depth-5 .comment-body, #comments .commentlist .children .depth-5 .comment-meta {
    width: 100%;
    padding: 0;
  }

  #respond #commentform p {
    text-align: left;
  }
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
  /*-------------------------------------------------------------------------------------------------------*/
  /*	Layouts
  /*-------------------------------------------------------------------------------------------------------*/

  /* Nuevo */
  #page-content-wrap{
    position: relative;
  }

  .contact-info-social.col-sm-3,
  .contact-info-head.col-sm-8{
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  #page-content-wrap .contact-info-head p{
    margin-left:0;
    text-align: center;
  }
  #header-wrapper #header{
    text-align: center;
  }

  .social-links{
    padding-bottom: 5px;
  }

  #header-wrapper .navbar-brand.logo{
    margin-right: 0;
    padding: 0;
  }

  #header-wrapper .navbar-brand.logo img.logo-img{
    width: 172px;
    height: 93px;
    margin: -1px 15px;
  }

  .main-menu.right{
    display: block;
    margin-bottom: 5px!important;
    margin-top: 11px !important;
  }

  #carousel-1{
    margin-top: 0;
  }

  #header {
    width: 100%;
    padding: 3px;
    height: auto!important;
  }

  /* HOME*/
  .fast-request-estimate{
    font-size:20px!important;
  }

  main.page{
    margin-top:0 !important;
  }

  /*Testimonials*/
  .testimonials-list .container .block-content{
    padding: 20px 5px 40px 5px !important;
  }

  button, input {
    overflow: hidden;
  }

  .info-rating-all-header .service-rating {
    font-size: 32px;
  }

  .service-rating  .strong-rating-wrapper .strong-rating-summary{
    margin-top: 20px !important;
    font-size: 23px;
  }

  .card-body{
    padding:0;
  }

  /* BLOG */
  .comment-count-list{
    text-align: center;
  }

  .blog-post-list .clean-blog-post a .blog-post-list-img{
    height: 300px !important;
    width: auto !important;
  }

  .page-post-img{
    width: 100%;
    height: 300px;
  }

  /*POST SINGLE*/
  #contact-form h2 {
    font-size: 25px;
  }

  #content-group-contacts{
    width: 100% !important;
    text-align: center;
  }

  #content-group-contacts .contact-list .fa-map-marker.font-ico{
    margin-right: 5px;
  }

  #content-group-contacts .contact-list {
    padding: 0;
  }
  /* End New */

  #sidebar {
    padding: 25px 0;
    text-align: center;
    float: none;
  }
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {
  /*	Layouts difference 320 -------------------------------------------------------------------------------*/

  /* NUEVO */
  h3.text-info-mvc{
    font-size: 25px;
  }

  #page-content-wrap{
    position: relative;
  }

  /*HEADER*/
  #page-content-wrap .contact-info-head p{
    margin-left:0;
    text-align: center;
  }
  #header-wrapper #header{
    text-align: center;
  }

  .social-links{
    margin-bottom: 5px;
  }

  #header-wrapper .navbar-brand.logo{
    margin-right: 0;
    padding: 0;
  }

  #header-wrapper .navbar-brand.logo img.logo-img{
    width: 172px;
    height: 93px;
    margin: -1px 15px;
  }


  .main-menu.right{
    display: block;
    margin-bottom: 5px!important;
    margin-top: 11px !important;
  }

  #carousel-1{
    margin-top: 0;
  }

  /* HOME*/
  .fast-request-estimate{
    background-color:rgb(255,123,0)!important;
    font-size:12px!important;
  }

  main.page{
    margin-top:0 !important;
  }

  /*Testimonials*/
  .testimonials-list .container .block-content{
    padding: 20px 5px 40px 5px !important;
  }

  button, input {
    overflow: hidden;
  }

  .info-rating-all-header .service-rating {
    font-size: 32px;
  }

  .service-rating  .strong-rating-wrapper .strong-rating-summary{
    margin-top: 16px !important;
    font-size: 16px;
  }

  .card-body{
    padding:0;
  }

  /* BLOG */
  .comment-count-list{
    left: 75%;
    text-align: center;
  }

  .blog-post-list .clean-blog-post a .blog-post-list-img{
    height: 100% !important;
    width: 100% !important;
  }

  /*POST SINGLE*/
  .img-single-post{
    width: 100%;
    height: 300px;
  }
  .page-post-img{
    width: 100%;
    height: 300px;
  }

  /* Contacts*/
  .clean-block.clean-form form{
    padding: 5px;
  }

  #contact-form h2 {
    font-size: 20px;
  }

  #content-group-contacts{
    width: 100% !important;
    text-align: center;
  }

  #content-group-contacts .contact-list{
    padding: 0;
  }

  #content-group-contacts .contact-list .fa-map-marker.font-ico{
    margin-right: 5px;
  }

  .contact-list.dir_contact > span{
    float: none;
    width: auto;
  }

  #content-group-contacts .contact-list.dir_contact i {
    float: none;
  }
  /*FIN NEW*/

  /*	Header ---------------------------------------------------------------------------------------------*/
  #header {
    width: 100%;
    padding: 3px;
    height: auto!important;
  }

  .contact-form p {
    float: none;
    width: 100%;
  }

  /*	General -----------------------------------------------------------------------------------------------*/
  blockquote {
    background: none;
    padding: 20px 15px;
    font-style: italic;
  }
}

/* Opera */
@media all and (-webkit-min-device-pixel-ratio: 10000), not all and (-webkit-min-device-pixel-ratio: 0) {
  #sidebar .social li {
    vertical-align: middle;
  }
}

/* Safari */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  #comments .comment .avatar {
    border: none;
  }
}