@import url(https://fonts.googleapis.com/css?family=Kanit|Roboto&display=swap);
body {
    font-family: Roboto, sans-serif!important;
}

h1, h2, h3, h4, h5, h6, div.epartner>p, div.for-ads {
    font-family: Kanit, sans-serif!important
}

.bg-dark-blue {
    background-color: #1b334b!important
}

.text-dark-blue {
    color: #1b334b!important
}

div#smallNavbar {
    position: fixed!important;
    top: 58px;
    left: 0;
    width: 100%;
    background-color: rgba(27, 51, 75, .8)
}

div#smallNavbar a.nav-link {
    color: #fff
}

div#smallNavbar a.nav-link:hover {
    background-color: rgba(27, 51, 75, .9);
    color: #fac71e
}

button.navbar-toggler:focus {
    outline: 0
}

.search-form:focus {
    border: none!important
}

button.navbar-toggler {
    border: 1px solid #fac71e!important;
    color: #fac71e!important
}

.navbar-logo {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10001
}

.navbar-logo>img {
    height: 70px;
    width: auto
}

.navbar-collapse {
    justify-content: flex-end
}

.navbar {
    border-bottom: 4px solid #fac71e
}

.menu-large {
    position: static!important
}

.nav-item>a.dropdown-toggle, .nav-item>a.nav-link {
    color: #ffffff!important
}

.nav-item>a.dropdown-toggle:hover, .nav-item>a.nav-link:hover {
    color: #fac71e!important
}

div.epartner {
    background-color: rgba(27, 51, 75, .6);
    position: fixed;
    top: 130px;
    right: 0;
    z-index: 1000;
    clip-path: polygon(25% 0, 100% 1%, 100% 100%, 25% 100%, 0 50%)
}

div.for-ads {
    background-color: rgba(27, 51, 75, .6)!important;
    color: #fac71e!important;
    position: fixed;
    top: 130px;
    right: 0;
    z-index: 1000;
    line-height: 1.2;
    clip-path: polygon(25% 0, 100% 1%, 100% 100%, 25% 100%, 0 50%)
}

div.for-ads a, div.for-ads a:hover {
    text-decoration: none!important;
    color: inherit !important;
}

footer {
    width: 100%;
}

footer a {
    color: #fff
}

footer a:hover {
    color: #ddd
}

button#topBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000
}

button#topBtn:hover {
    color: #fac71e!important
}

button#topBtn:focus {
    -webkit-box-shadow: none!important;
    box-shadow: none!important
}

.login-register, .register {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
}

.login-register .card {
    width: 360px;
}

.register .card {
    width: 60%;
}

.btn-theme {
    background-color: #fac71e !important;
    color: #333333 !important;
    border-radius: 0 !important;
    border: 1px solid #333333 !important;
}

.btn-theme:hover {
    background-color: #f8c007 !important;
}

body.auth-bg {
    background-color: #fac71e;
    background-image: url(../img/bg/bg3.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.login-register .card, .register .card {
    background-color: rgba(255, 255, 255, 0.8) !important;
}

/* Dashboard */

.profile img.cover-img {
    z-index: 0;
    width: 100%;
    height: 250px;
    object-fit: cover !important;
}

.profile-text>h1 {
    font-weight: bolder;
    font-size: 2rem;
}

.post-pdf {
    width: 100%;
    max-height: 500px;
}

.post-pdf object {
    width: 100%;
    height: 500px;
}

.cover {
    margin-bottom: 30px;
    margin-top: 10px;
}

div.crop {
    position: relative;
}

.profile-img {
    margin: -85px 10px 0px 50px;
    z-index: 9;
    width: 150px !important;
    height: 150px !important;
}

.post-profile-img {
    width: 50px;
    height: 50px;
}

div.crop.profile-img {
    padding-top: 150px !important;
}

.crop img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important
}

button#profile-img-change-btn {
    position: relative;
    top: -150px;
    left: 5px;
    font-size: 12px;
}

button#cover-img-change-btn {
    position: relative;
    top: -240px;
    left: 5px;
    font-size: 12px;
}

.share .fa-3x {
    cursor: pointer;
}

.fa-facebook, .comapany-details .fa-fax, .comapany-details .fa-facebook-square {
    color: #3b5998;
}

.fa-twitter {
    color: #00acee;
}

.fa-whatsapp {
    color: #4FCE5D;
}

.fa-envelope, .comapany-details .fa-map-marker-alt {
    color: #B23121;
}

.fa-viber {
    color: #665cac;
}

.fa-skype, .comapany-details .fa-phone {
    color: #00aff0;
}

.fa-image, .comapany-details .fa-globe {
    color: rgb(9, 110, 21);
}

.fa-file-pdf {
    color: #B23121;
}

.edits {
    float: right;
}

.edits i {
    cursor: pointer;
}

img#imagePreview1 {
    max-width: 50%;
}

img#imagePreview2 {
    width: 100px;
    height: 100px;
    object-fit: cover !important
}

input[type=file] {
    padding: 3px;
}

.comapany-details a {
    color: inherit !important;
}

/* Read more */

.morecontent span {
    display: none;
}

.morelink {
    display: block;
}

.branches .fas {
    cursor: pointer;
}

@media (max-width:576px) {
    .only-lg {
        display: none!important
    }
}

@media (min-width:575px) {
    .only-sm {
        display: none!important
    }
}

@media (min-width:769px) {
    button.navbar-toggler, div#smallNavbar {
        display: none!important
    }
}

@media (max-width:768px) {
    .register .card {
        width: 80%;
    }
    div.navbar-collapse {
        display: none!important
    }
    .profile-text>h1 {
        font-size: 1.2rem;
    }
    .profile img.cover-img {
        height: 125px !important;
    }
    .profile-img {
        margin: -55px 10px 0px 25px;
        width: 90px !important;
        height: 90px !important;
    }
    button#profile-img-change-btn {
        top: -90px;
    }
    button#cover-img-change-btn {
        top: -115px;
    }
    div.crop.profile-img {
        padding-top: 90px !important;
    }
    .cover {
        margin-bottom: 15px;
    }
}

@media (max-width:993px) {
    li.hide-medium {
        display: none!important
    }
    div.epartner {
        display: none!important
    }
}

@media (min-width:992px) {
    div.for-ads {
        display: none!important
    }
}