/*==========  Desktop First Method  ==========*/

@media only screen and (max-width : 1650px) {
  /* ================== BLOG ================== */
  .post-width {
    max-width: 100% !important;
  }
}

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1600px) {
  /* ================== SECTIONS ================== */
  .image-title {
    font-size: 50px;
    line-height: 50px;
  }

  .sec-title {
    font-size: 30px;
    line-height: 30px;
  }

  .secondary-title {
    font-size: 18px;
    line-height: 18px;
  }

  /* ================== VERTICAL MENU ================== */
  .common-menu i {
    font-size: 24px;
    line-height: 24px;
  }

  .common-menu .menu-img:after {
    -webkit-background-size: 40px 40px;
    background-size: 40px 40px;
    width: 40px;
    height: 40px;
  }

  .menu-content a:link,
  .menu-content a:active,
  .menu-content a:visited,
  .menu-content a:focus {
    font-size: 14px;
  }

  /* ================== PORTFOLIO ================== */
  .portfolio-details .left-slider-arrow {
    left: 15%;
  }
  .portfolio-details .right-slider-arrow {
    right: 15%;
  }

  /* ================== SINGLE BLOG ================== */
  .author img {
    width: 100px;
    height: 100px;
  }

  .comment-details {
    width: 87%;
  }

  .comment-reply .comment-details {
    width: 86%;
  }


}

/* Large Devices, Desktops */
@media only screen and (max-width : 1200px) {
    /* ================== PORTFOLIO ================== */
    .portfolio .item {
      width: 100%;
    }

    .portfolio-details .item-content {
      margin: 0px 90px;
    }

    .portfolio-details .left-slider-arrow {
      left: 10%;
    }
    .portfolio-details .right-slider-arrow {
      right: 10%;
    }

    /* ================== SKILLS ================== */
    .skills-items .item {
      margin: 0px 20px;
      margin-bottom: 20px;
    }

    .software-items {
      width: 100%;
    }

    /* ================== SERVICES ================== */
    .resume .first-row .img-wrapper {
      width: 100%;
    }

    .resume .first-row .text-description {
      width: 100%;
      display: inline-block;
    }

    .resume .second-row .main-info {
      width: 100%;
    }

    .resume .second-row .lists {
      width: 100%;
      display: inline-block;
    }

    /* ================== BLOG-GRID ================== */
    .blog-sidebar {
      padding: 0;
    }

    /* ================== SINGLE BLOG ================== */
    .author img {
      width: 100px;
      height: 100px;
    }

    .comment-details {
      width: 83%;
    }

    .comment-reply .comment-details {
      width: 82%;
    }
}


/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
  /* ================== SECTIONS ================== */
  .sec-content {
    padding-left: 20px;
    width: 91% !important;
  }

  .sec-content-collapsed {
    width: 85% !important;
  }

  .sec-descr {
    padding-left: 15px;
  }

  /* ================== VERTICAL MENU ================== */
  .vertical-menu {
    width: 8% !important;
  }

  .vertical-menu-opened {
    width: 14% !important;
  }

  /* ================== HORIZONTAL MENU ================== */
  .vertical-menu.ver-hidden {
    display: none;
  }

  .vertical-menu.hor-hidden {
    display: inline-block !important;
  }

  /* ================== ABOUT ================== */
  .person-details {
    margin-bottom: 30px;
  }

  .person-details p {
    font-size: 12px;
  }

  .sign-image {
    width: 130px;
    height: auto;
  }

  .download-btn:link,
  .download-btn:active,
  .download-btn:visited,
  .download-btn:focus {
    font-size: 12px;
  }

  .download-btn:before {
    font-size: 12px;
  }

  /* ================== PORTFOLIO ================== */
  #portfolio .slick-slider {
    margin-top: 20vh;
  }

  .portfolio-details .item-content {
    width: 500px;
    margin: 0px 120px;
  }

  .portfolio-details .left-slider-arrow {
    left: 20px;
  }
  .portfolio-details .right-slider-arrow {
    right: 20px;
  }

  .portfolio-details .title {
    font-size: 40px;
    line-height: 40px;
  }

  .portfolio-details .image {
    height: 250px;
  }

  /* ================== BLOG-GRID ================== */
  .blog-sidebar {
    width: 100%;
  }

  /* ================== SINGLE BLOG ================== */

  .post-description {
    font-size: 12px;
  }

  .post-description .accent {
    font-size: 14px;
  }

  /* Conversations and Comments */
  .comment-details {
    width: 80%;
  }

  .comment-reply {
    margin-left: 0;
  }

  .comment-reply .comment-details {
    width: 80%;
  }

  #single-blog .blog-grid-wrapper {
    width: 100%;
  }

  /* Leave comment */
  #single-blog .contact-form .name {
    width: 30%;
  }

  #single-blog .contact-form .email {
    width: 30%;
    margin: 0% 4%;
  }

  #single-blog .contact-form .website {
    width: 30%;
  }

}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
  /* ================== SECTIONS ================== */
  .sec-content {
    width: 100% !important;
  }

  .sec-content-collapsed {
    width: 100% !important;
  }

  .sec-descr {
    padding-left: 0px;
    height: 100%;
    overflow: visible;
    width: 100%;
    padding-left: 0px;
    padding-right: 10px;
  }

  .sec-descr:hover {
    overflow: visible;
  }

  .sec-image {
    width: 100%;
    height: 50vh;
    margin-bottom: 20px;
  }

  .image-sep {
    margin: 20px 0px;
    width: 60px;
  }

  .image-title {
    font-size: 40px;
  }

  #about .sec-descr:hover {
    overflow-y: visible;
  }

  #skills .sec-descr:hover {
    overflow-y: visible;
  }

  #experience .sec-descr:hover {
    overflow-y: visible;
  }

  #education .sec-descr:hover {
    overflow-y: visible;
  }

  #services .sec-descr:hover {
    overflow-y: visible;
  }

  #portfolio .sec-descr:hover {
    overflow-y: visible;
  }

  #contacts .sec-descr:hover {
    overflow-y: visible;
  }

  #blog .sec-descr:hover {
    overflow-y: visible;
  }

  /* =========== HORIZONTAL SECTIONS =========== */
  .hor-layout .sec-content {
    height: 100%;
    display: block;
  }


  /* ================== VERTICAL MENU ================== */
  .vertical-menu {
    height: auto;
    width: 100vw !important;
    top: 0px !important;
    left: 0px !important;
    right: 0px;
    position: relative;
    padding: 40px 20px;
    z-index: 12000;
  }

  .common-menu i {
    margin-bottom: 0px;
    position: absolute;
    right: 20px;
    top: 28px;
  }

  .common-menu .menu-img {
    position: absolute;
    left: 20px;
    top: 20px;
  }

  .common-menu .menu-img:after {
    margin-bottom: 0px;
  }

  .common-menu .menu-content {
    margin-top: 30px;
  }

  /* ================== SKILLS ================== */
  .skills-items {
    width: 100%;
  }

  .software-items {
    width: 90%;
  }

  .knowledge-items ul {
    margin-right: 20px;
  }

  /* ================== SERVICES ================== */
  .resume .first-row .img-wrapper {
    text-align: center;
  }

  .resume .main-info .vacancy {
    font-size: 16px;
  }

  /* ================== PORTFOLIO ================== */
  

  /* ================== BLOG-GRID ================== */
  .blog-grid-container {
    margin-left: 0;
    width: 100%;
    padding-left: 0px;
    overflow: hidden;
  }

  .blog-grid-wrapper {
    width: 100%;
  }

  .blog-sidebar {
    padding: 0px 15px;
    margin-top: 15px;
  }

  .sidebar-block {
    margin-bottom: 20px;
  }

  /* ================== SINGLE BLOG ================== */
  .author img {
    width: 80px;
    height: 80px;
  }

  .comment-details,
  .comment-reply .comment-details {
    width: 79%;
  }

  .post-text.post-single .title a {
    font-size: 14px;
  }

  /* Leave comment */
  #single-blog .contact-form .name {
    width: 100%;
    margin-bottom: 10px;
  }

  #single-blog .contact-form .email {
    width: 100%;
    margin: 0% 0%;
    margin-bottom: 10px;
  }

  #single-blog .contact-form .website {
    width: 100%;
  }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {

  /* ================== VERTICAL MENU ================== */
  .menu-content a:link,
  .menu-content a:active,
  .menu-content a:visited,
  .menu-content a:focus {
    font-size: 12px;
  }

  /* ================== SECTIONS ================== */
  .sec-image {
    padding: 0px;
  }

  .sec-content {
    padding-left: 20px;
  }


  .image-title {
    font-size: 20px;
    line-height: 20px;
  }

  .image-sep {
    border-top-width: 5px;
  }

  .image-overlay {
    border-width: 5px;
  }

  .overlay-content {
    left: 15px;
    right: 15px;
  }

  .sec-title {
    font-size: 20px;
    line-height: 20px;
  }

  .title-sep {
    border-top-width: 5px;
  }

  .secondary-title {
    font-size: 14px;
    line-height: 14px;
  }

  /* ================== ABOUT ================== */
  .download-btn:link,
  .download-btn:active,
  .download-btn:visited,
  .download-btn:focus {
    font-size: 10px;
  }

  /* ================== SKILLS ================== */
  .round-bar {
    width: 70px;
    height: 70px;
  }

  .skills-items .item {
    margin-right: 10px;
    margin-left: 0px;
  }

  .skills-items .last-item {
    margin-right: 0px;
  }

  .progressbar-text {
    font-size: 24px;
  }

  .skills-items .item p {
    font-size: 10px;
  }

  .software-items {
    width: 100%;
  }

  .progress-bar {
    padding: 0px 10px;
  }

  .progress span {
    font-size: 10px;
  }


  /* ================== EDUCATION ================== */
  .education .item {
    margin-bottom: 30px;
  }

  .education .item .date {
    font-size: 12px;
  }

  .education .item .name {
    font-size: 18px;
  }

  .education .item .speciality {
    font-size: 10px;
  }

  /* ================== SERVICES ================== */
  .services-items .icon {
    display: none;
  }

  .services-items .text-description {
    width: 100%;
  }

  .text-description .title {
    font-size: 14px;
  }

  .some-facts .num {
    font-size: 30px;
  }

  .some-facts .description {
    font-size: 12px;
  }

  /* ================== PORTFOLIO ================== */
  .portfolio .item-overlay {
    opacity: 1;
  }

  #portfolio .slick-slider {
    margin-top: 30vh;
  }

  .portfolio-details .item-content {
    width: 300px;
  }

  .portfolio-details .left-slider-arrow {
    left: -5px;
  }
  .portfolio-details .right-slider-arrow {
    right: -5px;
  }

  .portfolio-details .title {
    font-size: 20px;
    line-height: 20px;
  }

  .portfolio-details .description {
    font-size: 10px;
  }

  .portfolio-details .image {
    display: none;
  }

  /* ================== CONTACTS ================== */
  .contact-icons {
    margin-bottom: 10px;
  }

  .contact-icons .icon-wrapper {
    width: 60px;
    height: 60px;
  }

  .contact-icons i {
    font-size: 20px;
    line-height: 60px;
  }

  .contact-icons .name {
    font-size: 12px;
  }

  .contact-icons .description {
    font-size: 10px;
  }

  .social-icons {
    margin-bottom: 30px;
  }

  .contact-form .name {
    margin-bottom: 10px;
  }

  .contact-form .phone {
    margin-bottom: 10px;
  }

  .contact-form .email {
    margin-left: 0;
  }

  .contact-form .subject {
    margin-left: 0;
  }

  .contact-form .message {
    margin-bottom: 10px;
  }

  .contact-form input[type="submit"] {
    font-size: 10px;
  }

  /* ================== BLOG ================== */
  .bloglist {
    padding-right: 0px;
  }

  .post-text .title a {
    font-size: 12px;
    padding: 15px;
  }

  .post-text .details {
    background-color: #222222;
    padding: 15px;
  }

  .post-text i {
    font-size: 10px;
    margin-right: 3px;
  }

  .post-text .likes span,
  .post-text .comments span,
  .post-text .date span {
    font-size: 10px;
    margin-right: 10px;
  }

  /* ================== BLOG-GRID ================== */
  /* Search input */
  .search-input {
    padding: 12px;
  }

  .search-submit {
    width: 13px;
    height: 14px;
    right: 12px;
  }

  /* Categories and Archieve */
  .left-sign a {
    font-size: 12px;
  }

  .right-sign {
    font-size: 12px;
  }

  /* Tags pool */
  .tags-pull a {

  }

  /* Pagination */
  .blog-pagination .pagi-btn {
    padding: 10px;
    font-size: 12px;
    line-height: 12px;
  }

  /* ================== BLOG-SINGLE ================== */
  .author img {
    margin-bottom: 10px;
  }

  .comment-details {
    width: 100%;
  }

  .comment-reply .comment-details {
    width: 100%;
  }


}

/* Custom, iphone 6 */
@media only screen and (max-width : 375px) {
  /* ================== ABOUT ================== */
  .download-btn:link,
  .download-btn:active,
  .download-btn:visited,
  .download-btn:focus {
    padding: 10px 10px;
  }

  /* ================== SKILLS ================== */
  .skills-items .item {
    margin-bottom: 20px;
  }

  .skills-items .last-item {
    margin-right: 10px;
  }

  /* ================== PORTFOLIO ================== */
  .portfolio .name {
    font-size: 20px;
  }

  .portfolio-details .item-content {
    width: 280px;
  }

  /* ================== CONTACTS ================== */
  ::-webkit-input-placeholder {
    font-family: "PoppinsRegular";
    font-size: 10px;
    color: #787878;
  }
  :-moz-placeholder {
    font-family: "PoppinsRegular";
    font-size: 10px;
    color: #787878;
  }
  ::-moz-placeholder {
    font-family: "PoppinsRegular";
    font-size: 10px;
    color: #787878;
  }
  :-ms-input-placeholder {
     font-family: "PoppinsRegular";
     font-size: 10px;
     color: #787878;
  }

  /* ================== BLOG-GRID ================== */
  .blog-pagination .next-prev {
    float: left;
    display: block;
    margin-top: 10px;
  }

}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {
	/* ================== PORTFOLIO ================== */
  .portfolio-details .left-slider-arrow {
    left: 10px;
    color: #222222 !important;
  }
  .portfolio-details .right-slider-arrow {
    right: 10px;
    color: #222222 !important;
  }

  /* ================== BLOG ================== */
  .post-text .right {
    display: block;
    float: none;
  }


}
