/* --------------------------------------------------------


   Template Name: Connor - Responsive Portfolio Landing Page Template
   Author: Pose Theme
   Description: Master CSS file



   Table Of Contents:

    1. Global
       1.1 General
       1.2 Typography
       1.3 Social Icon
    2. Preloader
    3. Color Switcher
    4. Menu
       4.1 Navigation
    5. Header
       5.1 Home
       5.2 Scroll Down
    6. About
       6.1 About
       6.2 Skill
    7. Service
    8. Work
       8.1 Filter List
       8.2 Image Gallery
    9. Count
   10. Blog
       10.1 Card 
   11. Blog.html
       11.1 Intro
       11.2 Blog Detail
            11.2.1 Post 
            11.2.2 Comment 
            11.2.3 Sidebar 
   12. Contact  
       12.1 Form
       12.2 Contact 
   13. Copyright
   14. Responsive
       14.1 Max Width 1024px
       14.2 Max Width 992px
       14.3 Max Width 768px
       14.4 Max Width 580px
       14.5 Max Width 380px






---------------------------------------------------------- */



/* ----------------------------------------- 1.GLOBAL ----------------------------------------- */


/* ---- 1.1 General ---- */

html {
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -o-font-smoothing: antialiased;
    -ms-font-smoothing: antialiased;
}


* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    background: #ffffff;
    font-family: 'Open Sans', sans-serif;
    overflow-x: hidden !important;
}

html,
body {
    width: 100%;
    height: 100%;
}




/* ---- 1.2 Typography ---- */

main {
    position: relative;
}


a {
    text-decoration: none;
    display: inline-block;
}


h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;

}

p {
    line-height: 1.8;
}



#about,
#service,
#work,
#blog,
#contact,
#count {
    padding-top: 100px;
    padding-bottom: 100px;
}



/* ---- 1.3 Social Icon ---- */

.social-icon {
    position: relative;
    padding: 0;
    margin: 0;
}

.social-icon li {
    display: inline-block;
    list-style: none;
}

.social-icon li a {
    border-radius: 100%;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    text-decoration: none;
    -webkit-transition: all ease-in-out 0.3s;
    -moz-transition: all ease-in-out 0.3s;
    -o-transition: all ease-in-out 0.3s;
    -ms-transition: all ease-in-out 0.3s;
    transition: all ease-in-out 0.3s;
    text-align: center;
    position: relative;
    margin: 4px 8px 0 8px;
}

.social-icon li a:hover {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -o-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}



/* ----------------------------------------- 2.PRELOADER ----------------------------------------- */

.loader-bg {
    width: 100%;
    height: 100vh;
    background-color: #000;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999999;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid;
    color: #3498db;
    border-radius: 50%;
    border-top-color: transparent;
    -webkit-animation: loader 1.2s linear infinite;
    -moz-animation: loader 1.2s linear infinite;
    -o-animation: loader 1.2s linear infinite;
    -ms-animation: loader 1.2s linear infinite;
    animation: loader 1.2s linear infinite;

}


@-webkit-keyframes loader {
    25% {
        color: #2ecc71;
    }

    50% {
        color: #f1c40f;
    }

    75% {
        color: #e74c3c;
    }

    to {
        transform: rotate(360deg);
    }
}

@-moz-keyframes loader {
    25% {
        color: #2ecc71;
    }

    50% {
        color: #f1c40f;
    }

    75% {
        color: #e74c3c;
    }

    to {
        transform: rotate(360deg);
    }
}

@-o-keyframes loader {
    25% {
        color: #2ecc71;
    }

    50% {
        color: #f1c40f;
    }

    75% {
        color: #e74c3c;
    }

    to {
        transform: rotate(360deg);
    }
}

@-ms-keyframes loader {
    25% {
        color: #2ecc71;
    }

    50% {
        color: #f1c40f;
    }

    75% {
        color: #e74c3c;
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes loader {
    25% {
        color: #2ecc71;
    }

    50% {
        color: #f1c40f;
    }

    75% {
        color: #e74c3c;
    }

    to {
        transform: rotate(360deg);
    }
}




/* ----------------------------------------- 3.COLOR SWITCHER ----------------------------------------- */


#color-switcher div h3 {
    font-size: 15px;
    margin: 8px 3px 12px;
}

#color-switcher {
    background: #fff;
    /* background: none repeat scroll 0 0 #ffff; */
    -webkit-box-shadow: 0px 0px 14px 0 rgba(0, 0, 0, .08);
    -moz-box-shadow: 0px 0px 14px 0 rgba(0, 0, 0, .08);
    -ms-box-shadow: 0px 0px 14px 0 rgba(0, 0, 0, .08);
    -o-box-shadow: 0px 0px 14px 0 rgba(0, 0, 0, .08);
    box-shadow: 0px 0px 14px 0 rgba(0, 0, 0, .08);
    left: -189px;
    position: fixed;
    top: 17%;
    width: 189px;
    z-index: 9999;
    padding: 10px 5px
}

#color-switcher div {
    padding: 5px 10px
}

#color-switcher .theme-btn {
    background: none repeat scroll 0 0 #fff;
    color: #252525;
    padding: 0
}

#color-switcher .theme-btn a.setting-color {
    background: none repeat scroll 0 0 #2b2424;
    -webkit-box-shadow: 2px 2px 0 0 rgba(0, 0, 0, .08);
    -moz-box-shadow: 2px 2px 0 0 rgba(0, 0, 0, .08);
    -ms-box-shadow: 2px 2px 0 0 rgba(0, 0, 0, .08);
    -o-box-shadow: 2px 2px 0 0 rgba(0, 0, 0, .08);
    box-shadow: 2px 2px 0 0 rgba(0, 0, 0, .08);
    display: block;
    height: 41px;
    position: absolute;
    right: -40px;
    top: 0;
    width: 40px;
    padding: 3px
}


#color-switcher .theme-btn a.setting-color i {
    margin-left: 5px;
    margin-top: 5px;
    color: #fff;
    font-size: 24px;
    position: absolute
}

ul.pattern {
    list-style: none outside none;
    margin: 0 0 0;
    overflow: hidden;
    padding: 0;
    border-radius: 0
}

ul.pattern li {
    float: left;
    margin: 2px
}

ul.pattern li a {
    cursor: pointer;
    display: block;
    height: 35px;
    width: 35px;
    margin: 5px
}

ul.pattern li a:active {
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -o-transform: scale(0.9);
    transform: scale(0.9);
}


#color-switcher .color1 {
    background: #000;
}

#color-switcher .color2 {
    background: #2a9d8f;
}

#color-switcher .color3 {
    background: chartreuse;
}

#color-switcher .color4 {
    background: #f4a261;
}

#color-switcher .color5 {
    background: #3d405b;
}

#color-switcher .color6 {
    background: #f94144;
}



@media (max-width: 580px) {
    #color-switcher {
        display: none
    }
}




/* ----------------------------------------- 4.MENU ----------------------------------------- */


/* ---- 4.1 Navigation ---- */

.custom-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    line-height: 1px;
    display: none;
    margin: 0 auto;
    padding: 20px 40px;
    background: #fff;
    -webkit-box-shadow: 0 25px 50px rgb(0 0 0 / 5%);
    -moz-box-shadow: 0 25px 50px rgb(0 0 0 / 5%);
    -o-box-shadow: 0 25px 50px rgb(0 0 0 / 5%);
    -ms-box-shadow: 0 25px 50px rgb(0 0 0 / 5%);
    box-shadow: 0 25px 50px rgb(0 0 0 / 5%);
}


.custom-nav .navbar-brand {
    font-family: 'Notable', sans-serif;
    font-weight: 300;
    font-size: 30px;
    color: #000;
}

.navbar-scroll {
    display: block;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    transition: 0.5s;
    -webkit-animation: scroll 0.6s 1;
    -moz-animation: scroll 0.6s 1;
    -o-animation: scroll 0.6s 1;
    -ms-animation: scroll 0.6s 1;
    animation: scroll 0.6s 1;
    opacity: 1;
}

@-webkit-keyframes scroll {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0%);
    }
}

@-moz-keyframes scroll {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0%);
    }
}

@-o-keyframes scroll {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0%);
    }
}

@-ms-keyframes scroll {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0%);
    }
}

@keyframes scroll {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0%);
    }
}


.custom-nav .nav li a {
    position: relative;
    z-index: 1;
    margin-right: 40px;
    text-transform: uppercase;
    font-size: 14px;
    text-decoration: none;
    letter-spacing: 0.2px;
    padding: 25px 20px;
    color: rgba(0, 0, 0, 0.8);
    display: inline-block;
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
    color: #999;
}

nav ul li a,
nav ul li a:after,
nav ul li a:before,
nav ul li a.active {
    -webkit-transition: all .6s;
    -moz-transition: all .6s;
    -o-transition: all .6s;
    -ms-transition: all .6s;
    transition: all .6s;
}


.custom-nav .nav li a:after {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: 100%;
    height: 1px;
    content: '.';
    color: transparent;
    visibility: none;
    opacity: 0;
    z-index: -1;
}


.custom-nav .nav li a.active:after {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: 100%;
    height: 1px;
    content: '.';
    color: transparent;
    visibility: none;
    z-index: -1;
    opacity: 1;
    visibility: visible;
    height: 50%;
}

.custom-nav .nav li a:hover:after {
    opacity: 1;
    visibility: visible;
    height: 50%;
}

.navbar-toggler {
    border: none;
    float: right;
}

.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(45, 52, 54,1.0)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.custom-toggler.navbar-toggler {
    border-color: rgba(45, 52, 54, 1.0);
}


@media screen and (max-width:992px) {
    .custom-nav {
        background: #fff;
        text-align: center;
    }

    .custom-nav .nav li a{
        border-bottom: 1px solid #faf9f9; 
        padding: 20px 20px;
    }

    .custom-nav.nav-collapse {
        background: #fff;    
    }
}

@media screen and (max-width:580px) {
    .custom-nav {
        display: block; 
        padding: 20px 40px; 
    }
}







/* ----------------------------------------- 5.HEADER ----------------------------------------- */

/* ---- 5.1 Home ---- */

#home {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/bg-1.jpg');
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -ms-background-size: cover;
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
    height: 100vh;
    min-height: 25rem;
    position: relative;
    width: 100%;
    overflow: hidden;
}

header .container {
    position: relative;
    z-index: 4;
}

header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: transparent;
    opacity: 0.5;
    z-index: 1;
}

.header-area {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    margin: 0;
    -webkit-text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    -moz-text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    -ms-text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    -o-text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.header-area h1,
p.element {
    font-weight: 300;
    color: #fff;
    font-size: 6em;
    line-height: 1.2em;
    font-family: 'Montserrat', sans-serif;
}

.header-area h1 span.animate {
    font-weight: 800;
}



/* Social Icon */
#home .social-icon {
    margin-top: 50px;
}

#home .social-icon li a {
    font-size: 22px;
}


/* ---- 5.2 Scroll Down ---- */
.scroll-down {
    height: 50px;
    width: 30px;
    border: 2px solid #fff;
    opacity: 0.7;
    position: absolute;
    left: 50%;
    bottom: 20px;
    border-radius: 50px;
    cursor: pointer;
}

.scroll-down .animated {
    position: relative;
    color: #fff;
    -webkit-animation: scroll-down 1s ease-in-out infinite;
    -moz-animation: scroll-down 1s ease-in-out infinite;
    -o-animation: scroll-down 1s ease-in-out infinite;
    -ms-animation: scroll-down 1s ease-in-out infinite;
    animation: scroll-down 1s ease-in-out infinite;
}


@-webkit-keyframes scroll-down {
    0% {
        top: 10%;
        opacity: 0;
    }

    100% {
        opacity: 1;
        top: 50%;
    }
}

@-moz-keyframes scroll-down {
    0% {
        top: 10%;
        opacity: 0;
    }

    100% {
        opacity: 1;
        top: 50%;
    }
}

@-ms-keyframes scroll-down {
    0% {
        top: 10%;
        opacity: 0;
    }

    100% {
        opacity: 1;
        top: 50%;
    }
}

@-o-keyframes scroll-down {
    0% {
        top: 10%;
        opacity: 0;
    }

    100% {
        opacity: 1;
        top: 50%;
    }
}

@keyframes scroll-down {
    0% {
        top: 10%;
        opacity: 0;
    }

    100% {
        opacity: 1;
        top: 50%;
    }
}






/* ----------------------------------------- ABOUT ----------------------------------------- */


/* ---- 6.1 About ---- */
#about {
    background-color: #fff;
}

#about .title h1 {
    font-weight: 800;
    padding-bottom: 12px;
}

#about .title {
    padding-bottom: 10px;
    padding-top: 10px;
}

.about-content {
    padding-top: 40px;
}

.about-content .btn-cv {
    padding: 5px 40px;
    font-size: 15px;
    margin-top: 20px;
}

.about-content i {
    margin-right: 10px;
}



/* ---- 6.2 Skill ---- */

#skills {
    padding-top: 20px;
}

.skill-item {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(250, 250, 250, 0.2);
}


#skills .progress {
    height: 35px;
    margin-bottom: 10px;
    border-radius: 35px;
    background-color: #F7F7F7;
}

#skills .progress .skill {
    font-family: "Open Sans", sans-serif;
    line-height: 35px;
    padding: 0;
    margin: 0 0 0 20px;
    text-transform: uppercase;
}

#skills .progress .val {
    float: right;
    font-style: normal;
    margin: 0 20px 0 0;
}

#skills .progress-bar {
    width: 100px;
    text-align: left;
    transition: .4s;
    border-radius: 35px;
}

.skillbar-title h4 {
    width: 100%;
    font-size: 16px;
    text-transform: capitalize;
    font-weight: 400;
    color: #000000;
    text-align: left;
    padding-left: 5px;
}




/* ----------------------------------------- 7.SERVICE ----------------------------------------- */

#service {
    background-color: #F7F7F7;
    padding-bottom: 20px;
}

#service .title h1 {
    font-weight: 800;
    padding-bottom: 12px;
    text-align: center;
}

#service .title {
    padding-bottom: 30px;
    padding-top: 10px;
    position: relative;
}

#service .card-box {
    padding: 2.5rem 1.3rem;
    margin-bottom: 3rem;
    -webkit-transition: box-shadow 0.3s;
    -moz-transition: box-shadow 0.3s;
    -o-transition: box-shadow 0.3s;
    -ms-transition: box-shadow 0.3s;
    transition: box-shadow 0.3s;
}

#service .card-box .card-icon {
    line-height: 1.55;
    margin: 0 auto;
    text-align: center;
    display: block;
}

#service .card-box .card-icon i {
    font-size: 2.5rem;
}

#service .card-title {
    text-align: center;
    font-weight: bold;
}

#service .card-text {
    text-align: center;
}



/* ----------------------------------------- 8.WORK ----------------------------------------- */

#work {
    background-color: #fff;
}

#work .title h1 {
    font-weight: 800;
    padding-bottom: 12px;
    text-align: center;
}

#work .title {
    padding-bottom: 40px;
    padding-top: 10px;
}




/* ---- 8.1 Filter List ---- */
.filter-list {
    padding: 4px;
    margin: 0 0 30px;
    text-align: center;

}

.filter-list li {
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    padding: 0 20px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    border-radius: 3px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;

}

.filter-list li.active {
    background-color: #000;
    color: #fff;
}

.filter-list li:hover {
    background-color: #000;
    color: #fff;
}




/* ---- 8.2 Image Gallery ---- */
.gallery-outer {
    margin-top: 1.25rem;
    border-radius: 0.375rem;
}

.gallery-item {
    overflow: hidden;
    position: relative;
    padding: 0;
    vertical-align: middle;
    text-align: center;
}

.gallery-item img {
    width: 100%;
    -webkit-transition: all ease-in-out 0.4s;
    -moz-transition: all ease-in-out 0.4s;
    -o-transition: all ease-in-out 0.4s;
    -ms-transition: all ease-in-out 0.4s;
    transition: all ease-in-out 0.4s;
}

.gallery-item:hover img {
    -webkit-transform: scale(1.15);
    -moz-transform: scale(1.15);
    -o-transform: scale(1.15);
    -ms-transform: scale(1.15);
    transform: scale(1.15);
}

.gallery-item .gallery-item-overlay {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    text-align: center;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    -ms-transition: all 0.5s;
    transition: all 0.5s;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}



/* Image Overlay */
.hover-text {
    position: absolute;
    display: block;
    bottom: 0;
    width: 100%;
    height: 25%;
    padding: 20px;
    -webkit-transition: all 08s;
    -moz-transition: all 0.8s;
    -o-transition: all 0.8s;
    -ms-transition: all 0.8s;
    transition: all 0.8s;

}

.hover-text h3 {
    position: absolute;
    z-index: 3;
    top: 30%;
    right: 0;
    left: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.hover-text span {
    position: absolute;
    z-index: 3;
    top: 60%;
    right: 0;
    left: 0;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
}

.hover-text.on {
    opacity: 1
}

.hover-text.off {

    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    -ms-transition: all 0.3s;
    transition: all 0.3s;
    -webkit-transform: translateX(100%) translateY(-90%);
    -moz-transform: translateX(100%) translateY(-90%);
    -o-transform: translateX(100%) translateY(-90%);
    -ms-transform: translateX(100%) translateY(-90%);
    transform: translateX(100%) translateY(-90%);
    opacity: 1;
    background: rgba(0, 0, 0, 0.70);
}

.gallery-item:hover .hover-text.off {
    -webkit-transform: translateX(0%) translateY(-90%);
    -moz-transform: translateX(0%) translateY(-90%);
    -o-transform: translateX(0%) translateY(-90%);
    -ms-transform: translateX(0%) translateY(-90%);
    transform: translateX(0%) translateY(-90%);
    opacity: 1;
}





/* ----------------------------------------- 9.COUNT ----------------------------------------- */


#count {
    background-color: #F7F7F7;
    background: linear-gradient(90deg, #F7F7F7, #fff);
}

.inner-counter {
    margin: auto;
}

.col {
    flex: 1;
    text-align: center;
    padding: 20px;
    color: #000;
    text-transform: uppercase;
    font-size: 15px;
}

.num {
    font-size: 40px;
    margin: 20px 0;
    font-weight: 700;
}


@media (max-width: 767px) {
    .col {
        border-bottom: 1px solid #999999;
    }
}



/* ----------------------------------------- 10.BLOG ----------------------------------------- */


#blog {
    background-color: #fff;
}

#blog .title h1 {
    font-weight: 700;
    padding-bottom: 12px;
    text-align: center;
}

#blog .title {
    padding-bottom: 50px;
    padding-top: 10px;
}




/* ---- 10.1 Card  ---- */
#blog .card {
    border: none;
}

#blog .card-img {
    overflow: hidden;
    position: relative;
    padding: 0;
    margin: 0;
}

#blog .card-img img {
    width: 100%;
    height: auto;
    -webkit-transition: all ease-in-out 0.4s;
    -moz-transition: all ease-in-out 0.4s;
    -o-transition: all ease-in-out 0.4s;
    -ms-transition: all ease-in-out 0.4s;
    transition: all ease-in-out 0.4s;
}

#blog .card-img a {
    display: block;
}

#blog .card-img a:hover img {
    -webkit-transform: scale(1.15);
    -moz-transform: scale(1.15);
    -o-transform: scale(1.15);
    -ms-transform: scale(1.15);
    transform: scale(1.15);
}



#blog .card-body {
    position: relative;
    text-align: left;
    margin: 0;
    padding: 0;
}

#blog .card .card-category-box {
    position: absolute;
    text-align: center;
    top: -16px;
    left: 15px;
    right: 15px;
    line-height: 25px;
    overflow: hidden;
}

#blog .card .card-category {
    display: inline-block;
    color: #fff;
    padding: 0 15px 5px;
    overflow: hidden;
    background-color: #000;
}

#blog .card .card-category .category {
    color: #fff;
    display: inline-block;
    text-transform: uppercase;
    font-size: .7rem;
    letter-spacing: .1px;
    margin-bottom: 0;
}


#blog .card-title {
    font-size: 18px;
    font-weight: 600;
    margin-top: 20px;
    padding-top: 20px;
}

#blog .card-title a {
    color: #000;
    text-decoration: none;
}

#blog .card-text {
    font-size: 15px;
    padding-bottom: 10px;
}


#blog .card-footer {
    border: none;
    background: #fff;
    margin: 0;
    padding: 0;
}

#blog .post-author {
    display: inline-block;
    font-size: 12px;
}

#blog .post-date {
    display: inline-block;
    font-size: 12px;
}

#blog .card-btn {
    padding-top: 20px;
}

#blog .card-btn a {
    color: #4e4e4e;
    text-decoration: none;
}

#blog .card-btn a:hover {
    color: #000;
}







/* ----------------------------------------- 11.BLOG.HTML ----------------------------------------- */


/* ---- 11.1 Intro  ---- */

#intro {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/bg-4.jpg');
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -ms-background-size: cover;
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
    height: 60vh;
    min-height: 25rem;
    position: relative;
    width: 100%;
    overflow: hidden;
}

#intro .container {
    position: relative;
    z-index: 2;
}

#intro .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: transparent;
    opacity: 0.5;
    z-index: 1;
}

.intro-area h2 {
    color: #fff;
    font-size: 50px;
}






/* ---- 11.2 Blog Detail ---- */


/* ---- 11.2.1 Post ---- */
.post-box {
    padding: 5rem 0;
}

.post-box .post-title {
    padding-top: 3rem;
}

#blog-detail .article-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: capitalize;
    padding-bottom: 5px;
}

#blog-detail .post-meta {
    margin-bottom: 1rem;
    color: #888888;
    font-size: 12px;
}

.post-meta .post-author {
    display: inline-block;
    margin-right: 10px;
}

.post-meta .post-date {
    display: inline-block;
    margin-right: 10px;
}

.post-meta .post-comment {
    display: inline-block;
}

.article-content {
    padding: 10px 10px 10px 0;
}

.article-content p {
    color: #999999;
}


.article-content .blockquote {
    padding: 20px;
    font-size: 16px;
    font-style: italic;
}

.article-content .blockquote p {
    padding-left: 10px;
    padding: 20px;
}

.article-content .blockquote span {
    display: inline-block;
    border-left: 4px solid #000;
    background-color: #F7F7F7;
}

/* ---- 11.2.2 Comment ---- */

.comment-title h3 {
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    padding-bottom: 15px;
}

.comment-box ul {
    list-style: none;
    padding-top: 50px;
    padding-bottom: 50px;
}

.comment-box .comments li {
    padding-bottom: 40px;
}

.comment-box .comments .comment-avatar img {
    width: 100px;
    float: left;
}

.comment-box .comments .comment-name {
    font-size: 1rem;
    font-weight: 500;
    text-transform: capitalize;
    margin-bottom: 0;
}

.comment-box .comments .comment-info {
    display: table-cell;
    padding-left: 25px;
}

.comment-box .comments a {
    float: right;
    color: #4e4e4e;
}

.comment-box .comments span {
    color: #1e1e1e;
    font-style: italic;
    font-size: 13px;
}


.comment-box .comments p {
    padding-top: 15px;
    color: #999999;
}

.comment-box .sub-comment {
    margin-left: 60px;
}

.form-comment .form {
    margin: 2rem 0.5rem;
}

.form-comment .form .btn-submit {
    padding: 5px 40px;
    font-size: 15px;
    margin-top: 20px;
    height: 50px;
    width: 200px;
}


input,
textarea {
    margin: 0 0 40px 0;
    padding: 0;
    display: block;
    width: 100%;
    height: 48px;
    font-size: 13px;
    color: #292929;
    letter-spacing: -0.045em;
    font-weight: 500;
    -webkit-appearance: none;
    -moz-appearance: none;
    resize: none;
    outline: 0;
    background: none;
    border: none;
    border-radius: 0px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -webkit-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
}

input:focus,
textarea:focus {
    color: #292929;
    border-bottom: 1px solid #292929;
}

textarea {
    margin: 0 0 35px 0;
    padding: 20px 0;
    height: 120px;
}


/* ---- 11.2.3 Sidebar ---- */

.sidebar-container {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.sidebar-container .sidebar {
    padding: 3rem 2rem;
    margin-bottom: 1rem;
}

.sidebar-category,
.sidebar-recent,
.sidebar-archive,
.sidebar-tags {
    border-left: 1px solid #f3f3f4;
}

.sidebar-search input {
    background-color: #fff;
    border-radius: 0;
    transition: all 0.5s ease-in-out;
}

.sidebar-search .btn-search {
    background-color: #4e4e4e;
    border-color: #4e4e4e;
    border-radius: 0;
    padding-left: 20px;
    padding-right: 20px;
}

.sidebar-search .btn-search i {
    color: #fff;
}

.sidebar-container .sidebar-title {
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: capitalize;
    margin-bottom: 1.5rem;
    padding-bottom: 20px;
    border-bottom: 2px solid #f3f3f4;
}

.sidebar ul {
    list-style: inside;
}

.sidebar ul li {
    line-height: 2rem;
    padding: 2px;
}


.sidebar .category-list {
    list-style: none;
    color: #4e4e4e;
}

.sidebar .category-list p {
    line-height: 1.5em;
}

.sidebar .category-list span {
    float: right;
}

.sidebar ul li a {
    color: #4e4e4e;
    text-decoration: none;
    text-transform: capitalize;
    font-size: 14px;
}

.sidebar ul li a:hover {
    color: #000;
}

.sidebar-tags ul li {
    display: inline-block;
    background-color: #4e4e4e;
    padding: .2rem .6rem;
    margin-bottom: .5rem;
    border-radius: 15px;
}

.sidebar-tags ul li a {
    color: #fff;
}




/* ----------------------------------------- 12.CONTACT ----------------------------------------- */

#contact {
    background-color: #F7F7F7;
}

#contact .title h1 {
    font-weight: 800;
    padding-bottom: 12px;
}


#contact .title {
    padding-bottom: 80px;
    padding-top: 10px;
}



/* ---- 12.1 Form ---- */
.form input,
.form textarea {
    margin: 0 0 40px 0;
    padding: 0;
    display: block;
    width: 100%;
    height: 48px;
    font-size: 13px;
    color: #292929;
    letter-spacing: -0.045em;
    font-weight: 500;
    -webkit-appearance: none;
    -moz-appearance: none;
    resize: none;
    outline: 0;
    background: none;
    border: none;
    border-radius: 0px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -webkit-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
}

.form input:focus,
.form textarea:focus {
    color: #292929;
    box-shadow: none;
    /* border-bottom: 1px solid #292929; */
    background: none;
}

.form textarea {
    margin: 0 0 35px 0;
    padding: 20px 0;
    height: 120px;
}

.contact-btn button#submit {
    padding: 5px 40px;
    font-size: 15px;
    margin-top: 20px;
    height: 50px;
    width: 200px;
}


/* Form message */
.alert-success {
    display: none;
}



/* ---- 12.2 Contact ---- */
.contact-info {
    padding-left: 40px;
    padding-bottom: 50px;
}

.contact-info h4 {
    font-size: 16px;
    font-weight: 500;
}

.contact-info img {
    margin: 10px 10px;
}

.contact-info a {
    color: #999999;
    text-decoration: none;
}

.contact-info a:hover {
    color: #4e4e4e;
}




/* ----------------------------------------- 13.COPYRIGHT ----------------------------------------- */



.copyright {
    padding: 30px 10px 5px 10px;
}

.footer-element .social-icon {
    margin-top: 0;
    margin-bottom: 20px;
}

.footer-element .social-icon li a {
    color: #000;
    font-size: 18px;
}






/* ----------------------------------------- 14.RESPONSIVE ----------------------------------------- */


/* 14.1 Max Width 1024px */
@media (max-width: 1024px) {

    #home h1,
    p.element {
        font-size: 4em;
    }

    #about {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    #about .about-content {
        padding-bottom: 40px;
    }

}

/* 14.2 Max Width 992px */
@media (max-width: 991px) {

    #contact .contact-sec {
        padding: 4rem 0;
    }

    #contact .contact-info {
        padding-bottom: 20px;
        padding-left: 0;
    }

}



/* 14.3 Max Width 768px */
@media (max-width: 768px) {

    #service {
        padding-top: 80px;

    }

    #service .card-box {
        margin-bottom: 0px;
    }

    #work {
        padding-top: 80px;
        padding-bottom: 80px
    }

    #count {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    #blog {
        padding-top: 80px;
        padding-bottom: 50px;
    }

    #contact {
        padding-top: 80px;
        padding-bottom: 0px;
    }

}




/* 14.4 Max Width 580px */
@media (max-width: 580px) {

    #home h1,
    p.element {
        font-size: 3em;
    }

    #about {
        padding-top: 80px;
        padding-bottom: 50px;
    }

    #about h1 {
        font-size: 35px;
    }

    #about h3 {
        font-size: 24px;
    }

    #about .about-content {
        padding-bottom: 40px;
    }

    #service {
        padding-top: 50px;
    }

    #service h1 {
        font-size: 35px;
    }

    #service .card-box {
        padding: 0px;
        margin-bottom: 2em;
    }

    #work {
        padding-top: 50px;
        padding-bottom: 50px
    }

    #work h1 {
        font-size: 35px;
    }

    #count {
        padding-top: 30px;
        padding-bottom: 50px;
    }

    #blog {
        padding-top: 50px;
        padding-bottom: 30px;
    }

    #blog h1 {
        font-size: 35px;
    }

    #blog .card-body-text,
    #blog .card-footer {
        padding: 0 7px;
    }

    #intro h2 {
        font-size: 35px;
    }

    #blog-detail p {
        font-size: 14px;
    }

    #blog-detail .comment-box .sub-comment {
        margin-left: 0;
    }

    #contact {
        padding-top: 50px;
        padding-bottom: 0px;
    }

    #contact h1 {
        font-size: 35px;
    }

}


/* 14.5 Max Width 380px */
@media (max-width: 380px) {

    #home h1,
    p.element {
        font-size: 2.3em;
    }

}
