html,
body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

main {
    height: calc(100% - 125px)
}

main .row {
    height: 100%;
}

main .row .side {
    height: 100%;
}

@media only screen and (max-width: 600px) {
    main .row .side {
        display: none;
    }
}

main .row .main {
    height: 100%;
    overflow: auto;
}

h1,
h2,
h3,
h4,
h5,
p,
span,
a,
button,
label,
th,
td,
input,
textarea,
select,
option,
div {
    font-family: 'Cairo', sans-serif !important;
}

.userlog .dropdown-menu[data-bs-popper] {
    right: auto;
    left: 0;
}

.devider {
    text-align: center;
}

.devider span {
    display: inline-block;
    vertical-align: middle;
}

.devider .outer-line {
    width: 40%;
    border-bottom: 4px solid rgba(128, 128, 128, 0.329);
}

.devider span svg {
    color: green;
}

@-webkit-keyframes rotating
/* Safari and Chrome */

{
    from {
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotating {
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.devider span svg {
    -webkit-animation: rotating 2s linear infinite;
    -moz-animation: rotating 2s linear infinite;
    -ms-animation: rotating 2s linear infinite;
    -o-animation: rotating 2s linear infinite;
    animation: rotating 2s linear infinite;
}

.login {
    position: absolute;
    left: 20px;
}

@media only screen and (max-width: 768px) {
    .login {
        position: relative;
        margin-right: 20px;
    }
}

.owl-carousel {
    position: relative;
}

.slider .owl-carousel .item {
    width: 100%;
    height: 500px;
    background-color: gray;
}

.slider .owl-carousel .caption {
    position: absolute;
    right: calc(50% - 250px);
    top: calc(50% - 125px);
    width: 500px;
    height: 250px;
    margin: auto;
    background-color: rgba(255, 255, 255, 0.411);
    text-align: center;
    padding: 20px;
}

.slider .owl-carousel .slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.slider .owl-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 500px;
    top: 0;
    margin: 0 !important;
}

.testimonials .owl-carousel .owl-nav {
    /* position: absolute; */
    width: 100%;
    top: 0;
    margin: 0 !important;
}

.slider .owl-carousel .owl-nav button {
    top: calc(50% - 20px);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.479) !important;
}

.testimonials .owl-carousel .owl-nav button {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 128, 0, 0.336) !important;
}

.owl-carousel .owl-nav button span {
    font-size: 40px;
    line-height: 23px;
}

.slider .owl-carousel .owl-nav button:hover {
    box-shadow: 0 0 5px 2px white;
}

.slider .owl-carousel .owl-nav .owl-prev {
    position: absolute;
    right: 10px;
    vertical-align: middle;
}

.testimonials .owl-carousel .owl-nav .owl-prev {
    position: absolute;
    right: 20px;
    vertical-align: middle;
}

.slider .owl-carousel .owl-nav .owl-next {
    position: absolute;
    left: 10px;
    vertical-align: middle;
}

.testimonials .owl-carousel .owl-nav .owl-next {
    position: absolute;
    left: 20px;
    vertical-align: middle;
}

.slider .owl-carousel .owl-dots {
    position: absolute;
    width: 100%;
    bottom: 0;
}

.testimonials .slide {
    margin-right: 5%;
    width: 90%;
    height: 220px;
}

.testimonials .slide .caption span {
    font-size: 26px;
}

.testimonials .slide {
    display: flex;
}

.box {
    background-image: linear-gradient(green, green), linear-gradient(green, green), linear-gradient(green, green), linear-gradient(green, green), linear-gradient(rgba(0, 128, 0, 0.103), rgba(0, 128, 0, 0));
    background-repeat: no-repeat;
    background-size: 4px 50%, 50% 4px, 4px 50%, 50% 4px, calc(100% - 8px) calc(100% - 8px);
    background-position: left bottom, left bottom, right top, right top, 4px 4px;
    height: 160px;
    width: 160px;
    margin: 20px;
}

.posts {
    width: 100%;
}

.posts .post {
    width: 100%;
    display: flex;
    padding: 5px;
    border-bottom: 1px solid gray;
}

.posts .post:last-child {
    border-bottom: 0;
}

.posts .post .post-img {
    width: 200px;
    height: 120px;
}

.posts .post .post-title {
    padding: 5px;
    padding-top: 10px;
}

.posts .post .post-title a {
    color: #198754;
}

footer {
    padding-top: 10px;
    color: white;
}

.sidebar {
    height: 100%;
}

.sidebar .nav-item {
    border-bottom: 1px solid #198754;
}

.sidebar .nav-item:last-child {
    border-bottom: none;
}

.sidebar .nav-item:hover,
.sidebar .nav-item.active {
    background-color: #198754;
}

.sidebar .nav-item a {
    color: #198754;
}

.sidebar .nav-item:hover a,
.sidebar .nav-item.active a {
    color: white !important;
}