/*

Theme Name: AlgoSME
Text Domain: AlgoSME
Version: 1.0.0
Description: Theme from algosme.com
Tags: algosme, responsive, custom-blog
Author: Kosal Soem
Author URI: https://www.algosme.com/
*/


@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;800&family=Sarabun&display=swap');


html {
    font-family: 'Sarabun', Helvetica, Arial, sans-serif;
    font-size: 16px;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    margin: 0;
    padding: 0;
    position: relative;
    overflow: visible;
    overflow-y: visible;
    overflow-x: hidden;
    font-family: 'Sarabun', Helvetica, Arial, sans-serif;
    font-size: 16px;
    background: #fafafa;
}

.font-NotoSansThai {
    font-family: 'Noto Sans Thai', Helvetica, Arial, sans-serif;
}

.dp-flex {
    display: flex;
}

.navtop {
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    background-color: #06b3e8;
}

.tb {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.navtop .list-inline a {
    display: block;
    color: #fff;
}

.navtop .list-inline>li {
    padding-right: 16px;
}

.navbar {
    min-height: 80px;
    border: 1px solid #f2f2f2;
    background-color: #fff;
}

.navbar-default .navbar-nav>li>a {
    font-size: 17px;
    font-family: 'Noto Sans Thai', Helvetica, Arial, sans-serif;
}

.navbar-brand {
    height: 80px;
    line-height: 80px;
}

.navbar-default .navbar-toggle {
    border: unset;
}

.navbar-toggle {
    /* (80px - button height 34px) / 2 = 23px */
    margin-top: 23px;
    padding: 9px 10px !important;
}


.caret {
    margin-left: 8px !important;
}

.breadcrumb {
    margin: 0;
    padding: 0;
}

.icw .f-left {
    float: left;
}

.icw .f-right {
    float: right;
}

.icw .a-left {
    text-align: left;
}

.icw .a-center {
    text-align: center;
}

.icw .a-right {
    text-align: right;
}

.icw .v-top {
    vertical-align: top;
}

.icw .v-middle {
    vertical-align: middle;
}

.icw .v-bottom {
    vertical-align: bottom;
}

.icw .c-green {
    color: #06b3e8;
}

.icw .c-black {
    color: #333;
}

.icw .c-white {
    color: #fff;
}

.icw .c-red {
    color: #ed1b2e;
}

.icw .links li {
    margin-bottom: 0;
}

.icw a.link {
    display: inline-block;
}

a:link {
    text-decoration: none;
}


a:visited {
    text-decoration: none;
}


a:hover {
    text-decoration: none;
}

.icw .btn-app-primary {
    background: #06b3e8 !important;
    color: #fff !important;
}

.icw .btn-app-secondary {
    background: #fff !important;
    color: #06b3e8 !important;
    border: 1px solid #06b3e8;
}

.icw .app-bg-menu-footer {
    height: 40px;
    line-height: 40px;
    font-size: 12px;
    font-weight: 600;
    background: #fff !important;
    color: #06b3e8 !important;
    border-top: 1px solid #06b3e8;
}


a:active {
    text-decoration: none;
}

.text-bold-700 {
    font-weight: 700;
}

.blog-post-title {
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
}

/*==============================Body=============================*/

.body-content {
    min-height: 700px;
}

.content-section {
    margin-top: 50px;
}

.panel {
    box-shadow: rgb(0 0 0 / 12%) 0px 4px 16px;
    text-align: center !important;
    border-radius: 8px;
}

.panel-title {
    font-size: 2rem;
    text-align: center;
    padding: 16px 0;
}

.panel-body {
    min-height: 350px;
}

.panel-footer {
    background: none;
    border-top: unset;
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%);
}

.app-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #06b3e8;
}

.form-control {
    height: 45px !important;
}

/*=========================Footer===============================*/
footer {
    background-color: #f5f5f5;
    font-size: 12px;
}

.list-group-item>.item-icon {
    float: left;
}

.item-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    text-align: center;
    vertical-align: middle;
    margin-right: 16px;
}

footer .list-group-item {
    border: none;
    background-color: unset;
    padding: 5px 15px;
}

.fade-in {
    animation: fadeIn 1s;
    -webkit-animation: fadeIn 1s;
    -moz-animation: fadeIn 1s;
    -o-animation: fadeIn 1s;
}


/*===========================Blog============================*/
.fix-bg {
    position: absolute;
    left: 0;
    top: -40px;
    width: 100%;
    height: 700px;
    overflow: hidden;
    z-index: -1;
}

.fix-bg .img {
    position: absolute;
    top: 0;
    left: -20px;
    height: 100%;
    top: 0;
    width: calc(100% + 40px);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% auto;
    -moz-filter: blur(10px);
    -o-filter: blur(10px);
    -ms-filter: blur(10px);
    filter: blur(10px);
}

#crumbs>a,
#crumbs>span {
    font-size: 13px;
}

.thumbnail {
    padding: unset;
    border: unset;
    height: 300px;
    border-radius: unset;
}

.thumbnail>img,
.thumbnail a>img {
    width: 100%;
    object-fit: cover;
}

.blog-post-content {
    padding: 4px 0;
}

.blog-post-content>blockquote {
    padding: 8px;
    border-left: 3px solid #eeeeee;
    height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-post-content>blockquote footer {
    font-size: 0.8rem;
    background-color: unset;
}

.cut-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pagination>li>a,
.pagination>li>span {
    min-width: 64px;
    text-align: center;
}

.bs-callout {
    padding: 20px;
    border-left: 3px solid #eee;
    border-radius: 3px;
}

.bd-b {
    border-bottom: 1px solid #ddd;
}

.bg-post-content {
    background-color: #fff;
    min-height: 500px;
}

.bg-post-content .glyphicon-link {
    margin-right: 16px;
    color: #06b3e8;
}

.bg-post-content .list-group-item {
    border: unset;
}

.dp-flex {
    display: flex;
    align-items: center;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

@-ms-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.wp-post-image, .default-featured-img {
    width: 100%;
    height: auto;
}
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 99999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 280px; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

@media (min-width: 768px) {
    .navbar {
        margin-bottom: unset;
    }

    .navbar-nav>li>a {
        /* (80px - line-height of 27px) / 2 = 26.5px */
        padding-top: 30px;
    }

    .footer-first-item-height {
        height: 30px;
    }

    .navbar-header {
        margin-right: 50px;
    }

    .list-inline>li:last-child {
        padding-right: 0;
    }

    ul.nav.navbar-nav.navbar-right>li>a {
        padding-right: 0;
    }

    #bs-example-navbar-collapse-1>.nav .open>a,
    .nav .open>a:hover,
    .nav .open>a:focus {
        background-color: unset;
        border-color: unset;
    }

    .dropdown-menu>li>a {
        padding: 16px 20px !important;
        font-size: 17px;
        font-family: 'Noto Sans Thai', Helvetica, Arial, sans-serif;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
        border-radius: 5px;
        padding: 0 !important;
    }

    .navbar-default .navbar-nav .dropdown .dropdown-menu {
        left: -30%;
    }

    .dropdown-menu-before:before,
    .dropdown-menu-before:after {
        content: "";
        position: absolute;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        left: 50%;
        z-index: 10000;
    }

    .dropdown-menu-before:before {
        top: -15px;
        border-width: 8px;
        margin-left: -8px;
        border-bottom-color: #ccc;
    }

    .dropdown-menu-before:after {
        top: -13px;
        border-width: 7px;
        margin-left: -7px;
        border-bottom-color: #fff;
    }

    .bg-post-content {
        padding: 0 56px;
    }

    .bg-section-1 {
        position: absolute;
        height: 450px;
        z-index: -2;
        width: 100%;
        background-color: #f4f4f4;
        background-image: url('../AppSources/Images/absolute_curve_bg.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: bottom;
    }

    .bg-curve {
        position: absolute;
        z-index: 1;
        width: 100%;
        height: 100%;
        background-color: unset;
    }

    .intersection-padding {
        padding: 64px 0;
    }

    .intersection-padding-d {
        padding: 16px 0;
    }

    .padding-left-desktop {
        padding-left: 48px;
    }

    .padding-right-desktop {
        padding-right: 48px;
    }

    .reduce-margin-column {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .single-left-content {
        width: calc(100% - 325px);
        min-height: 300px;
        float: left;
        padding: 0;
    }

    .single-right-content {
        width: 300px;
        float: right;
    }

    .single-right-content>div>div>div.media-left>a>img {
        width: 80px;
        height: 70px;
    }
}

@media (max-width: 768px) {

    .navtop,
    .app-bg-menu-footer {
        display: none !important;
    }

    .intersection-padding {
        padding: 40px 0;
    }
}