/*
====================================
	1. Small Phone Devices
	2. Large Phone Devices
	3. Tablet Devices
	4. Laptops Devices
	5. Mobile Scale Devices
    6. Large Laptops Devices
    7. Specific Height Device
====================================
*/

/* Devices - Small Phone Devices */

@media only screen and (max-width: 375px)
{
    .header .navbar-custom .navbar-left p
    {
        font-size: 19px;
    }

    #profile .sidebarProfile ul li
    {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #profile .sidebarProfile ul .col-xs-4
    {
        display: none;
    }

    #profile .sidebarProfile ul .col-xs-8
    {
        width: 100%;
        text-align: center;
    }

    #skills .listCheck li
    {
        width: 100% !important;
    }

    #portfolio .modal .modal-body a
    {
        margin-bottom: 15px;
    }
}

/* Devices - Large Phone Devices */

@media only screen and (max-width: 600px)
{
    #home .secondParagraph
    {
        display: none;
    }

    #skills .listCheck li
    {
        width: 50%;
    }
}

/* Devices - Tablet Devices */

@media only screen and (max-width: 768px)
{
    #home .homeText
    {
        padding: 0 30px;
    }

    #home h1
    {
        font-size: 40px;
        line-height: 40px;
    }

    #home h1 span
    {
        display: block;
        font-size: 50px;
    }

    #home .scrollDown
    {
        display: none;
    }

    .header .navbar-nav
    {
        margin: 0;
    }

    .header .navbar-custom .navbar-left p
    {
        padding-left: 20px;
    }

    .header .navbar-custom .navbar-toggle
    {
        padding: 12px 0;
    }

    #profile .sidebarProfile img
    {
        width: 100% !important;
    }

    #profile .sidebarProfile ul .col-xs-4,
        #profile .sidebarProfile ul .col-xs-8
    {
        width: 20%;
        text-align: left;
    }

    #profile .sidebarProfile ul li
    {
        padding-left: 0;
        padding-right: 0;
    }

    #profile .paragraph
    {
        margin-bottom: 0;
    }

    #profile .paragraph ul
    {
        margin-left: 10%;
    }

    #profile .paragraph ul li
    {
        width: 100%;
    }

    .resume:before,
        .resume:after
    {
        left: 50% !important;
    }

    .timeline:before
    {
        left: 50%;
    }

    .timeline > li:first-child .posted-date
    {
        margin-top: 45px;
    }

    .timeline > li .posted-date
    {
        margin-top: 0;
        width: 200px !important;
        margin-left: 20% !important;
    }

    .timeline > li .timeline-panel
    {
        margin-top: 60px;
        margin-bottom: 30px;
        width: 100% !important;
    }

    .timeline > li:first-child .timeline-panel
    {
        margin-top: 90px;
    }

    .timeline > li .timeline-panel::before
    {
        display: none;
    }

    #skills .listCheck li
    {
        width: 50%;
    }

    #contact .contactDetails
    {
        padding-bottom: 20px;
    }

    #contact .col-md-6
    {
        padding-bottom: 15px;
    }

    footer .row
    {
        margin-left: 5px;
        margin-right: 5px;
    }

    footer p
    {
        display: grid;
    }
}

/* Device - Laptops Devices */

@media only screen and (max-width: 1024px)
{
    .tt-fullHeight
    {
        height: 10px !important;
    }

    #profile .col-md-4
    {
        width: 100%;
        margin-bottom: 40px;
    }

    #profile .col-md-8
    {
        width: 100%;
    }

    #profile .sidebarProfile img
    {
        width: 50%;
        margin: auto;
        display: block;
    }

    #profile .col-md-pull-4,
        #profile .col-md-push-8
    {
        left: 0;
        right: 0;
    }

    #profile .sidebarProfile ul .col-xs-4
    {
        width: 33.3%;
        text-align: left;
    }

    #profile .sidebarProfile ul .col-xs-8
    {
        width: 66.6%;
        text-align: left;
    }

    #profile .sidebarProfile ul li
    {
        padding-left: 60px;
        padding-right: 60px;
    }

    .timeline > li .posted-date
    {
        width: 85px;
        margin-left: -7px;
    }

    .timeline > li .timeline-panel
    {
        width: 85%;
    }

    .timeline > li:last-child
    {
        margin-bottom: 0;
    }

    #education .col-md-4
    {
        width: 100%;
    }

    #skills .listCheck li
    {
        width: 33.3%;
    }
}

/* Device - Mobile Scale Devices */

@media only screen and (max-width: 1200px)
{
    .navbar .container
    {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .navbar .navbar-header
    {
        float: none;
        margin: 0 6%;
    }

    .navbar .navbar-left, 
        .navbar .navbar-right
    {
        float: none !important;
    }

    .navbar .navbar-toggle
    {
        display: block;
    }

    .navbar .collapsing
    {
        margin-top: 2px;
    }

    .navbar .navbar-collapse
    {
        padding-left: 0;
        padding-right: 0;
    }

    .navbar .navbar-fixed-top
    {
        top: 0;
        border-width: 0 0 1px;
    }

    .navbar .navbar-nav
    {
        float: none !important;
    }

    .navbar .navbar-collapse.collapse
    {
        display: none !important;
    }

    .navbar .navbar-nav > li
    {
        float: none;
    }

    .navbar .navbar-nav > li > a
    {
        padding-top: 9px;
        padding-bottom: 9px;
        margin-left: 10%;
    }

    .navbar .collapse.in
    {
        margin-top: 2px;
        display: block!important;
        background-color: white;
        border-bottom: 1px solid #eee;
    }

    #profile .sidebarProfile ul
    {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    #profile .sidebarProfile ul .col-xs-4,
        #profile .sidebarProfile ul .col-xs-8
    {
        width: 100%;
        text-align: center;
    }

    #skills h3
    {
        font-size: 20px;
    }

    #skills .listCheck li
    {
        width: 50%;
    }

    #skills .listCheck .fullWidth
    {
        width: 100%;
    }

    #skills .extraBullet
    {
        padding-bottom: 0;
    }
}

/* Device - Large Laptops Devices */

@media only screen and (max-width: 1400px)
{
    .tt-fullHeight
    {
        height: 600px !important;
    }

    #home .row
    {
        padding-bottom: 10px;
    }

    #home .scrollDown
    {
        display: none;
    }
}

/* Device - Specific Height */

@media (max-height: 500px)
{
    #home .secondParagraph
    {
        display: none;
    }
}

@media (max-height: 700px)
{
    #home .scrollDown
    {
        display: none;
    }
}

@media (max-height: 500px) and (max-width: 1200px)
{
    .header .navbar-custom .navbar-nav > li > a
    {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }
}

@media (max-height: 700px) and (max-width: 1200px)
{
    .header .navbar-custom .navbar-nav > li > a
    {
        padding-top: 15px;
        padding-bottom: 15px;
    }
}
