/* FCFAF8
B6D2EA
A1DEF7
90B8F4
368BF1 */

html,
body {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
}

body {
    position: relative;
    /* font-family: 'Mitr', sans-serif; */
    font-family: 'Prompt', sans-serif;
}

.masthead {
    height: 100vh;
    min-height: 500px;
    color: #fff;
    /* background-image: url('https://phuketruammit.com/assets/img/b1.jpg'); */
    /* background: url('https://phuketruammit.com/assets/img/bgmaster.jpg'); */
    background: url('../../assets/img/bg-header.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    /* background-attachment: fixed; */
    background-position: center;
}

#portfolio {
    /* background: url('../../assets/img/about.jpg'); */
    /* background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  min-height: 500px; */
}

#experience {
    background-image: url('https://phuketruammit.com/assets/img/b1.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center top;
}


/* .nav-item::after {
    content: '';
    display: block;
    width: 0px;
    height: 4px;
    background: #FFFFFF;
    background: #007bff;
    transition: 0.2s;
    margin-top: -10px;
} */


/* .nav-item:hover::after {
    width: 100%;
} */

.nav-link {
    padding: 15px 5px;
    transition: 0.1s;
}

.fa-html5 {
    color: #e44e32;
}

.fa-css3-alt {
    color: #2965f1;
}

.fa-js-square {
    color: #f0db4f;
}

.fa-bootstrap {
    color: #563d7c;
}

.fa-php {
    color: #6c7eb7;
}

.back-to-top {
    position: fixed;
    cursor: pointer;
    color: #fff;
    z-index: 9999;
    width: 40px;
    height: 40px;
    bottom: 15%;
    right: 34px;
    font-size: 25px;
    background-color: #90B8F4;
    text-align: center;
    border-radius: 50%;
    display: none;
}

#navbar {
    transition: all 0.4s;
    /* padding: 25px; */
}

#contact-social {
    background: #90B8F4;
    padding: 40px 0;
}

#contact-social .social a {
    display: inline-block;
    border-radius: 100%;
    margin: 0.5em;
    font-size: 2em;
    line-height: 60px;
    box-shadow: 0px 0px 2px #888;
    width: 4rem;
    height: 4rem;
    text-align: center;
    transition: all .4s;
    background: #A1DEF7;
    /* box-shadow: 0px 0px 2px #fff; */
    color: #fff;
}

#contact-social .social a.facebook:hover {
    background: #4172B8;
}

#contact-social .social a.instagram:hover {
    background: #E4405F;
}

#contact-social .social a.line:hover {
    background: #00C300;
}

#contact-social .social a.youtube:hover {
    background: #FF0000;
}

.yellow {
    color: #F8CC7A;
}

.timeline {
    list-style: none;
    padding: 20px 0 20px;
    position: relative;
}

.timeline:before {
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 3px;
    background-color: #eeeeee;
    left: 50%;
    margin-left: -1.5px;
}

.timeline>li {
    margin-bottom: 20px;
    position: relative;
}

.timeline>li:before,
.timeline>li:after {
    content: " ";
    display: table;
}

.timeline>li:after {
    clear: both;
}

.timeline>li:before,
.timeline>li:after {
    content: " ";
    display: table;
}

.timeline>li:after {
    clear: both;
}

.timeline>li>.timeline-panel {
    width: 46%;
    float: left;
    border: 1px solid #d4d4d4;
    border-radius: 2px;
    padding: 20px;
    position: relative;
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

.timeline>li>.timeline-panel:before {
    position: absolute;
    top: 26px;
    right: -15px;
    display: inline-block;
    border-top: 15px solid transparent;
    border-left: 15px solid #ccc;
    border-right: 0 solid #ccc;
    border-bottom: 15px solid transparent;
    content: " ";
}

.timeline>li>.timeline-panel:after {
    position: absolute;
    top: 27px;
    right: -14px;
    display: inline-block;
    border-top: 14px solid transparent;
    border-left: 14px solid #fff;
    border-right: 0 solid #fff;
    border-bottom: 14px solid transparent;
    content: " ";
}

.timeline>li>.timeline-badge {
    color: #fff;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.4em;
    text-align: center;
    position: absolute;
    top: 16px;
    left: 50%;
    margin-left: -25px;
    background-color: #999999;
    z-index: 100;
    border-top-right-radius: 50%;
    border-top-left-radius: 50%;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%;
}

.timeline>li.timeline-inverted>.timeline-panel {
    float: right;
}

.timeline>li.timeline-inverted>.timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto;
}

.timeline>li.timeline-inverted>.timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
}

.timeline-badge.primary {
    background-color: #2e6da4 !important;
}

.timeline-badge.success {
    background-color: #3f903f !important;
}

.timeline-badge.warning {
    background-color: #f0ad4e !important;
}

.timeline-badge.danger {
    background-color: #d9534f !important;
}

.timeline-badge.info {
    background-color: #5bc0de !important;
}

.timeline-title {
    margin-top: 0;
    color: inherit;
}

.timeline-body>p,
.timeline-body>ul {
    margin-bottom: 0;
}

.timeline-body>p+p {
    margin-top: 5px;
}

@media (max-width: 991.98px) {
    .masthead .display-4 {
        font-size: 20px;
    }
    .masthead .lead {
        font-size: 14px;
    }
    .masthead .card {
        padding: 0 !important;
    }
    .sidebar {
        background: #ffffff;
        width: 250px;
        max-height: 100%;
        min-height: 100%;
        position: fixed;
        left: -250px;
        top: 0;
        z-index: 9999;
        transition: all 0.3s;
        /* <!-- overflow-y: scroll; --> */
        overflow: visible;
        box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
    }
    .sidebar.active {
        left: 0;
    }
    .overlay.active {
        display: block;
        opacity: 1;
    }
    .overlay {
        position: fixed;
        display: none;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 2;
        cursor: pointer;
        transition: all 0.5s ease-in-out;
    }
}

.masthead {
    /* background: rgba(0, 0, 0, 0.6); */
    border: 0;
    /* color: #333; */
    /* padding: 40px */
}

@media (min-width: 991.98px) {
    .sidebar {
        display: none;
    }
}

.sidebar ul li {
    font-size: 14px;
}

.sidebar ul li a {
    display: block;
    padding: 10px 15px;
    border-bottom: 1px solid#ededed;
    color: #333333;
    text-decoration: none;
}

.sidebar ul li a:hover {
    color: #007bff;
    background-color: #f9f9f9;
}


/* @media (min-width: 992px) {

  .modal-lg,
  .modal-xl {
      max-width: 1200px;
  }
} */

.backscreen {
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
}

#contact .header-icon {
    width: 64px;
    height: 64px;
    left: calc(50% - 32px);
    bottom: -32px;
    /* border: 5px solid #007BFF; */
    border: 5px solid #fff;
    border-radius: 50%;
    padding-top: 10px;
    background: #fff;
    transition: all 0.5s ease-in-out;
}

h2 {
    position: relative;
    padding: 0 0 20px 0;
}


/* h2::before {
  content: "";
  width: 120px;
  height: 1px;
  background-color: #ddd;
  position: absolute;
  bottom: 1px;
  left: calc(50% - 60px);
}

h2::after {
  content: "";
  width: 40px;
  height: 3px;
  background-color: #007BFF;
  position: absolute;
  bottom: 0;
  left: calc(50% - 20px);
} */

.preloader {
    position: fixed;
    background: #fff;
    width: 100%;
    height: 100%;
    z-index: 99999;
    bottom: 0;
    text-align: center;
}

.preloader img {
    width: 64px;
    height: auto;
    left: calc(50% - 24px);
    position: absolute;
    bottom: 50%;
}

section {
    padding: 120px 0;
}

section#portfolio {
    /* background: #eee */
}

footer ul {
    padding: 0;
    list-style: none;
}

footer ul>li {
    padding: 6px 0;
}

footer ul>li a {
    color: #fff;
}

footer ul>li a:hover {
    text-decoration: none;
}

footer {
    /* background-image: url('../../assets/img/19742.jpg'); */
    /* background-size: cover; */
    /* background-repeat: no-repeat; */
    background-color: #1d1e24;
}

.footer-content {
    padding: 60px 0;
    /* background-color: #007bff; */
    color: #ccc;
}

.footer-copyright {
    background: #1e2129;
    color: #62666f;
    text-align: center;
}

.bg-top-portfolio {
    background: url('https://phuketruammit.com/assets/img/1.png') repeat-x center top;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-size: 100% 70px;
}

.bg-bottom-portfolio {
    background: url('https://phuketruammit.com/assets/img/1.png') repeat-x center top;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-size: 100% 70px;
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
}

.contact-address {
    margin: 10px 22px;
    padding: 3px 55px;
    position: relative;
    font-size: 14px;
}

.contact-icon {
    font-size: 20px;
    width: 40px;
    position: absolute;
    height: 40px;
    color: #fff;
    background: #007bff;
    text-align: center;
    padding-top: 6px;
    border-radius: 50%;
    left: 0;
}

.masthead-overlay {
    width: 100%;
    height: 100vh;
    min-height: 500px;
    background: #000;
    opacity: 0.6;
    position: absolute;
}


/* #about {
  padding: 60px 0;
} */

@media (max-width: 575.98px) {
    .masthead {
        /* height: 100vh;
      min-height: 500px; */
        background: url('../../assets/img/bg-header.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-position: center;
    }
    /* .masthead-overlay {
      width: 100%;
      height: 100%;
      background: #000;
opacity: 0.4;
      position: absolute;
  } */
}

#about ul {
    padding-left: 0;
}

#about ul li {
    list-style-type: none;
    text-align: left;
    font-size: 14px;
}

#about ul li span.pro-title {
    font-weight: 700;
    color: #040404;
    position: relative;
    width: 120px;
    display: inline-block;
    margin-bottom: 5px;
}

#about ul li span.pro-title::after {
    position: absolute;
    content: ':';
    color: #040404;
    font-size: 14px;
    left: 100px;
}

/* .masthead img {
    max-width: 200px;
} */

/* .masthead-content {
    padding: 120px 0px 120px;
} */

.masthead-text{
    background-color: rgba(0, 0, 0, 0.4);
    padding: 70px 30px;

}

@media (max-width: 575.98px) {
    /* .masthead img {
        max-width: 150px;
    } */
    /* .masthead .lead {
        font-size: 12px;
    } */
}

@media (max-width: 991.98px) {
    /* .masthead-content {
        padding: 82px 0px 0px;
    } */
    /* ul {
      padding-left: 0;
  } */
    #about ul li {
        font-size: 12px;
    }
    /* .contact-address {
  margin: 10px 22px;
  padding: 3px 55px;
  position: relative;
  font-size: 14px;
} */
    .contact-address {
        margin: 10px 22px;
        padding: 3px 20px;
        position: relative;
        font-size: 14px;
    }
    .contact-icon {
        left: -31px;
        top: -5px;
    }
    .contact-address p {
        font-size: 12px;
    }
}

.card-pricing.popular {
    z-index: 1;
    border: 3px solid #007bff;
}

.card-pricing .list-unstyled li {
    padding: .5rem 0;
    color: #6c757d;
}

.box-icon {
    background-color: #fff;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 200px;
    border-radius: 50%;
}


/* #contact {
    position: relative;
    background-color: #007bff;
    background-image: url('../../assets/img/19742.jpg');
    background-size: cover; */


/* } */

footer {
    position: relative;
}

.contact-overlay,
.footer-overlay {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #007bff;
    opacity: 0.9;
}

.bg-image {
    background-image: url('https://source.unsplash.com/kKvQJ6rK6S4/660x1000');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

a {
    color: #333;
}

.container-img{
    position: relative;
    overflow: hidden;
    height: 300px;
    max-height: 300px;
}
