/*==============================================================================

 * Template Name: Folion - Creative & Elegant Personal Portfolio
 * Author: Folio Technologies - (https://themeforest.net/user/foliotechnologies)
 * Description: Personal Portfolio Template
 * Version: 1.0
 * Copyright 2019 Folion

==============================================================================*/


/* ==========================================================================
    Media Query for mobile devices and Tablets (BOTH)
========================================================================== */

@media(min-width: 320px) and (max-width: 992px) {
  .slider-controls {
    display: block;
  }
  #cursor {
    display: none !important;
  }
}


/* ==========================================================================
    Media Query for Tablets and above
========================================================================== */

@media(min-width: 768px) and (max-width: 992px) {
  .workpage h1 {
    margin-bottom: 20px;
  }
  .workslides.slider-controls {
    top: 15px;
  }
  .home-content .main-heading {
    font-size: 76px;
  }
  .home-content .designation {
    font-size: 22px;
  }
  .slider-controls span {
    font-size: 30px;
  }
  .mac-container .screenshot {
    top: 15px;
    max-height: 234px;
  }
  .mac-container .macbook {
    height: 290px;
  }
}


/* ==========================================================================
    Media Query for mobiles only
========================================================================== */

@media(max-width: 767px) {
  .v-c-parent {
    padding: 15px;
  }
  .home-content .welcome {
    font-size: 15px;
  }
  .home-content .main-heading {
    font-size: 30px;
    margin: 10px 0px;
  }
  .home-content .designation {
    font-size: 15px;
  }
  .home-content .before-cta {
    font-size: 14px;
    margin-top: 15px;
    margin-bottom: 10px;
  }
  .home-content .cta {
    font-size: 13px;
  }
  .alt-sidebar .hiremebtn a {
    font-size: 12px;
    padding: 5px 10px;
  }
  .logo img {
    width: 30px;
    height: 60px;
  }
  .sidebar .logo {
    left: 15px;
    top: 15px;
  }
  .alt-sidebar .hiremebtn {
    right: 53px;
    top: 16px;
  }
  .sidebar .nav-btn,
  .sidebar .nav-btn:hover {
    top: 20px;
    right: 15px;
    left: auto;
  }
  .sidebar .nav-btn span,
  .sidebar .nav-btn span:nth-child(2) {
    width: 23px;
  }
  .sidebar .email {
    bottom: 15px;
    left: 15px;
    transform: rotate(0deg);
  }
  .sidebar .email p {
    font-size: 13px;
  }
  .alt-sidebar .social-icons {
    right: 15px;
    bottom: 14px;
  }
  .alt-sidebar .social-icons span a i {
    font-size: 11px;
  }
  .alt-sidebar .social-icons span {
    margin-top: 5px;
  }
  .main-nav ul li a {
    font-size: 40px;
  }
  .main-nav ul li {
    margin-bottom: 10px;
  }
  .closebtn {
    left: 15px;
    top: 15px;
    height: 20px;
    width: 20px;
  }
  .closebtn {
    left: 15px;
    top: 15px;
    height: 30px;
    width: 30px;
    padding-top: 2px;
  }
  .closebtn i {
    font-size: 10px;
  }
  .aboutpage p {
    font-size: 12px;
    line-height: 25px;
    margin-bottom: 15px;
  }
  .aboutpage h2 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
  }
  .aboutpage p {
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 15px;
  }
  h1.lined-heading {
    font-size: 30px;
  }
  .lined-heading::after {
    height: 3px;
  }
  .logo-cont {
    display: none;
  }
  .whatidopage p.topLevel {
    font-size: 15px;
    margin: 20px 0px;
  }
  .service-item {
    padding: 15px;
  }
  .mac-container .screenshot {
    top: 11px;
    max-height: 160px;
  }
  .mac-container .macbook {
    height: 200px;
  }
  .project-data ul {
    display: block;
  }
  .project-data ul li p {
    font-size: 14px;
  }
  .project-data ul li h2 {
    font-size: 18px;
  }
  .project-data ul li {
    margin-bottom: 20px;
    float: left;
    margin-right: 1%;
    width: 49%;
    text-align: center;
  }
  .project-data ul li:last-child {
    float: none;
    clear: both;
    margin: 0 auto;
  }
  .contactpage p {
    font-size: 15px;
    margin-top: 20px;
    line-height: 30px;
  }
  #serviceName {
    min-width: 85px;
  }
  #personName {
    min-width: 36px;
  }
  #phoneNumber {
    min-width: 118px;
  }
  #emailAddress {
    min-width: 122px;
  }
  .contactpage p input::-webkit-input-placeholder {
    /* WebKit, Blink, Edge */
    color: #525151;
  }
  .contactpage p input:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #525151;
    opacity: 1;
  }
  .contactpage p input::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #525151;
    opacity: 1;
  }
  .contactpage p input:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #525151;
  }
  .contactpage p input::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #525151;
  }
  .contactpage p input::placeholder {
    /* Most modern browsers support this now. */
    color: #525151;
  }
  #formSubmit {
    font-size: 14px;
    text-transform: uppercase;
    border: 1px solid #fff;
    padding: 5px 10px;
    display: inline-block;
    margin-top: 25px;
  }
  .project-data ul li a {
    font-size: 13px;
    padding: 7px 27px;
  }
  .ribbon{
      display:none;
  }
}


/* ==========================================================================
    Media Query for old mobile devices below 350px width
========================================================================== */

@media(max-width: 350px) {
  .mac-container .macbook {
    height: 170px;
  }
  .mac-container .screenshot {
    max-height: 140px;
    top: 9px;
  }
}
