.topnav a:hover {
    /* text-transform: uppercase; */
    font-family: sans-serif, Courier, monospace;
    font-size: 1.6rem;
    font-weight: bold;
}

.topnav a:active {
    color: #000000;
}

/* Fix for active nav-link so text doesn't turn white */
/* For pressed/active/focused nav links */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:active,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.dropdown-toggle.show {
    color: #000 !important;
    /* keep text black */
    background-color: transparent !important;
    text-decoration: none !important;
    outline: none !important;
}

/* Fix dropdown item active/focus */
.navbar-nav .dropdown-menu .dropdown-item:active,
.navbar-nav .dropdown-menu .dropdown-item:focus,
.navbar-nav .dropdown-menu .dropdown-item.active {
    color: #000 !important;
    background-color: #ffe6a1 !important;
    /* or any light highlight */
}

a.nav-link.active {
    font-family: sans-serif, Courier, monospace;
    font-size: 1.6rem;
    font-weight: bold;
}

.navbar-nav>li>.dropdown-menu {
    background-color: #f9d9a1;
}

.navbar-nav>li>.dropdown-menu a:hover {
    background-color: rgb(255, 228, 181)
}

.navbar a {
    font-size: 1.4rem;
}

a.prev,
a.next {
    text-decoration: none;
}

.my_paper_list {
    background-color: #ffffff5e;
    /* display: flex;
    justify-content: center; */
    margin-bottom: 10px;
    min-width: 600px;
}

.my_paper_border {
    border: 6px solid #f9d9a1 !important;
    border-radius: 5px !important;
}

body {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;
}

.my_col_center {
    margin: 0 auto;
}

.my_buttons_radius {
    border-radius: 5px !important;
}

input#id_captcha_field_1 {
    margin-left: 15px;
    width: 240px;
    font-size: xx-large;
}

img.captcha {
    min-height: 50px;
    max-height: 50px;
    margin-left: 15px;
    max-width: 125px;
    min-width: 110px;
}

.my_send_button {
    margin-left: 20spx;
}

/* Extra large devices (large desktops, 1200px and up) */
@media screen and (min-width: 1200px) {
    img.captcha {
        margin-left: 110px;
    }

    .my_send_button {
        margin-left: 15px;
    }


}

/* Large devices (desktops, 995px and up) */
@media screen and (min-width: 995px) {
    img.captcha {
        margin-left: 110px;
    }

    .my_send_button {
        margin-left: 15px;
    }


}

/* Medium devices (tablets, 768px and up) */
@media screen and (min-width: 768px) {
    img.captcha {
        margin-left: 20px;
    }

    .my_send_button {
        margin-left: 15px;
    }


}

/* Small devices (landscape phones, 576px and up) */
@media screen and (min-width: 576px) {
    img.captcha {
        margin-left: 110px;
    }

    .my_send_button {
        margin-left: 15px;
    }

}

.solar_power_heating_pic {
    width: 40%;
    max-height: 200px;
    max-width: 300px;
    display: inline-block;
}


.my_bold_larger_text {
    font-weight: bold;
    font-size: larger;
}

.my_bold_medium_text {
    font-weight: bold;
    font-size: medium;
}

.my_big_card_text {
    font-weight: bold;
    font-size: 1.1em;
}

.my_bold_small_text {
    font-weight: bold;
    font-size: small;
}

.my_small_box {
    border: 3px solid #ffc107;
    border-radius: 5px;
    background-color: #ffc107;
    text-align: center;
    height: 4em;
    display: flex;
    align-items: center;
    /* text-shadow: 1px 1px 1px #ababab; */
    justify-content: center;
    margin-bottom: 10px;
}

.my_small_box:hover {
    transform: scale(1.01);
}

.my_home_box:hover {
    transform: scale(1.01);
}

.my_slide_from_left {
    animation: my_slide_from_left 1s ease-in-out;
}

@keyframes my_slide_from_left {
    0% {
        left: -30em;
    }

    100% {
        left: 0px;
    }
}

.my_slide_from_right {
    animation: my_slide_from_right 1s ease-in-out;
}

@keyframes my_slide_from_right {
    0% {
        left: 30em;
    }

    100% {
        left: 0px;
    }
}

hr.my_hr {
    border: none;
    height: 3px;
    /* Set the hr color */
    color: rgba(0, 128, 0);
    /* old IE */
    background-color: rgba(0, 128, 0);
    /* Modern Browsers */
}

.my_green {
    color: rgba(0, 128, 0);
}

.my_contacts_block {
    height: 100%;
    display: flex;
    align-content: center;
    flex-wrap: nowrap;
    justify-content: flex-end;
    flex-direction: column;
    color: rgba(0, 128, 0);
    /* border: 3px solid rgba(0, 128, 0); */
    border-radius: 5px;
}

.my_contacts_block:hover {
    transform: scale(1.01);
    text-decoration: none;
    color: rgba(0, 128, 0);
}

a.my_contacts_block {
    text-decoration: none;
}

.my_green_color {
    background-color: rgba(0, 128, 0) !important;
}

/* Tables style */
tr:nth-child(even) {
    background-color: #ffc10738;
}

th {
    background-color: rgba(0, 128, 0);
    color: white;
}

tr {

    table,
    th,
    td {
        border: 2px solid rgba(0, 128, 0);
    }
}

/* Slideshow styles - start */
* {
    box-sizing: border-box
}

/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

.my_slide_img_center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: black;
    font-weight: bold;
    font-size: 30px;
    transition: 0.6s ease;
    border-radius: 3px;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    transform: scale(1.2);
    background-color: #ffc107;
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #717171;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* Slideshow styles - end */