﻿body {
    font-family: 'Montserrat', sans-serif;
    padding-top: 4rem;
    padding-bottom: 90px;
}

html {
    position: relative;
    min-height: 99%;
}

.navbar-brand > span:hover {
    color: #00FF7F;
    transform: scale(1);
    transition: all 0.5s ease;
}

.navbar {
    padding-top: 0;
    padding-bottom: 0;
    background: linear-gradient(to right, #1bb389, #115c71);
}

.navbar-collapse.collapse.show {
    border-bottom: 3px solid #00FF7F;
}

.nav_balans {
    border: 1px solid #00FF7F;
    border-radius: 3px;
    padding-bottom: 4px;
    padding-top: 4px;
    margin-bottom: 4px;
    margin-top: 4px;
}

.dr_unknown {
    background: url(/Content/Images/dr_unknown.png) no-repeat center left;
    background-size: 20px;
    background-position-x: 5px;
    display: list-item;
}

.dr_maintainer {
    background: url(/Content/Images/dr_maintainer.png) no-repeat center left;
    background-size: 20px;
    background-position-x: 5px;
    display: list-item;
}

.dr_brand {
    background: url(/Content/Images/dr_brand.png) no-repeat center left;
    background-size: 20px;
    background-position-x: 5px;
    display: list-item;
}

.dropdown {
    cursor: pointer;
}

.dropdown-item {
    padding-left: 2rem;
}

/*Animation for secont part of Landing*/
.animation.animate {
    animation: scale 2s ease-in-out;
}

@keyframes scale {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.animation.animate.sec {
    animation-delay: 2s;
}

.animation.animate.third {
    animation-delay: 4s;
}

/*navbar link animation*/
@media (min-width: 800px) {
    .nav-link {
        font-size: 15px;
        position: relative;
        text-decoration: none;
        z-index: 1;
    }

        .nav-link:before {
            content: ' ';
            position: absolute;
            width: 100%;
            height: 2px;
            bottom: 0;
            left: 0;
            /*top: 100%;*/
            background: #1baf88;
            border-bottom: 2px solid #00FF7F;
            border-radius: 4px;
            /*box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);*/
            /*margin-top: 10px;*/
            transform: scaleX(0);
            transition: .25s linear;
        }

        .nav-link:hover:before,
        .nav-link:focus:before {
            visibility: visible;
            transform: scaleX(1);
        }
}
/*H1 text animation*/
.headline {
    position: relative;
    text-decoration: none;
}

    .headline:before {
        content: ' ';
        position: absolute;
        width: 100%;
        height: 2px;
        bottom: 0;
        left: 0;
        top: 100%;
        background: #1baf88;
        border: 2px solid #1baf88;
        border-radius: 4px;
        /*box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);*/
        /*margin-top: 10px;*/
        transform: scaleX(0.7);
        transition: .25s linear;
        display: flex;
    }

@media (min-width: 800px) {
    .headline:hover:before,
    .headline:focus:before {
        transform: scaleX(1);
    }
}

@media (max-width: 800px) {
    .headline {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

        .headline:before {
            transform: scaleX(0.6);
        }
}

/*For image upload section*/
.jumbotron {
    padding: 2em;
}

/*Sent order message*/
.sweet-alert button {
    background-color: #00FF7F;
    color: black;
    border: none;
    box-shadow: none;
    font-size: 17px;
    font-weight: 500;
    -webkit-border-radius: 4px;
    border-radius: 5px;
    padding: 10px 32px;
    margin: 26px 5px 0 5px;
    cursor: pointer;
}

    .sweet-alert button:focus {
        outline: none;
        box-shadow: 0 0 2px rgba(128, 179, 235, 0.5), inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    }

    .sweet-alert button:hover {
        background-color: #00FF7F;
    }

    .sweet-alert button:active {
        background-color: #00FF7F;
    }

/*Animate links*/
.anim {
    position: relative;
    text-decoration: none;
}

    .anim:before {
        content: ' ';
        position: absolute;
        width: 100%;
        height: 2px;
        bottom: 0;
        left: 0;
        /*top: 50%;*/
        background: #1baf88;
        border-bottom: 2px solid;
        border-radius: 4px;
        /*box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);*/
        /*margin-top: 10px;*/
        transform: scaleX(0);
        transition: .25s linear;
    }

    .anim:hover:before,
    .anim:focus:before {
        visibility: visible;
        transform: scaleX(1);
    }

/* Set padding to keep content from hitting the edges */
/*.body-content {
    padding-left: 15px;
    padding-right: 15px;
}*/

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.longfield {
    max-width: 500px;
}

@media (max-width: 800px) {
    body {
        padding-top: 5rem;
    }

    #mainimg {
        display: none;
    }

    #scroll {
        display: none;
    }

        #scroll span {
            display: none;
        }
}

/*Corner ribbon on card*/

.ribbon {
    position: absolute;
    right: -7px;
    top: -9px;
    z-index: 1;
    overflow: hidden;
    width: 75px;
    height: 75px;
    text-align: right;
    margin: 0;
    padding: 0;
}

    .ribbon span {
        font-size: 16px;
        font-weight: bold;
        color: #000;
        text-transform: uppercase;
        text-align: center;
        /*line-height: 20px;*/
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
        width: 100px;
        display: block;
        background: #79A70A;
        background: linear-gradient(#00FF7F 0%, #00FF7F 100%);
        box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
        position: absolute;
        top: 19px;
        right: -21px;
        margin: 0;
        padding: 0;
    }

        .ribbon span::before {
            content: "";
            position: absolute;
            left: 0;
            top: 100%;
            z-index: -1;
            border-left: 3px solid #00FF7F;
            border-right: 3px solid transparent;
            border-bottom: 3px solid transparent;
            border-top: 3px solid #00FF7F;
        }

        .ribbon span::after {
            content: "";
            position: absolute;
            right: 0;
            top: 100%;
            z-index: -1;
            border-left: 3px solid transparent;
            border-right: 3px solid #00FF7F;
            border-bottom: 3px solid transparent;
            border-top: 3px solid #00FF7F;
        }

@media (min-width: 800px) {
    .card.card_anim {
        transition: transform 0.5s ease-in-out;
    }

        .card.card_anim:hover {
            transform: scale(1.05);
        }
}

.bottom-img {
    width: 100%;
}

.imgm {
    max-height: 100px;
    max-width: 100px;
}

@media (min-width: 800px) {
    #scroll {
        position: fixed;
        right: 10px;
        bottom: 10px;
        cursor: pointer;
        width: 35px;
        height: 35px;
        background-color: #00FF7F;
        text-indent: -9999px;
        display: none;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        opacity: .5;
        z-index: 5;
    }

        #scroll span {
            position: absolute;
            top: 50%;
            left: 50%;
            margin-left: -8px;
            margin-top: -12px;
            height: 0;
            width: 0;
            border: 8px solid transparent;
            border-bottom-color: #ffffff
        }

        #scroll:hover {
            background-color: #00FF7F;
            opacity: 1;
            filter: "alpha(opacity=100)";
            -ms-filter: "alpha(opacity=100)";
        }
}

.pdbot {
    padding-bottom: 15px;
}

.pdtop {
    padding-top: 15px;
}

.mglf {
    margin-left: 15px;
}

.mgrg {
    margin-right: 15px;
}

/*For labels in Edit\Create section*/
.control-label {
    -ms-flex-pack: start !important;
    justify-content: flex-start !important;
    text-align: left;
    font-weight: 600;
}

/*Main banner*/
#banner2 {
    background-image: linear-gradient(to right, #1bb389, #115c71);
    color: #fff;
    font-weight: 400;
    padding-top: 5%;
}

    #banner2 p {
        animation: fadein 1.5s;
        -moz-animation: fadein 1.5s; /* Firefox */
        -webkit-animation: fadein 1.5s; /* Safari and Chrome */
        -o-animation: fadein 1.5s; /* Opera */
    }

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-moz-keyframes fadein { /* Firefox */
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-webkit-keyframes fadein { /* Safari and Chrome */
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-o-keyframes fadein { /* Opera */
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.w3-animate-fading {
    animation: fading 2s
}

@keyframes fading {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}


/*List Promo img in card*/
.card-img-top {
    width: 100%;
    height: 20vw;
    object-fit: cover;
}

@media (max-width: 800px) {
    .card-img-top {
        width: 100%;
        height: 50vw;
        object-fit: cover;
    }
}

/*For image zoom option*/
.imggg {
    margin: 30px;
    cursor: zoom-in;
}

.popup {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    display: none;
    text-align: center;
}

.popup_bg {
    background: rgba(0,0,0,0.3);
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: auto;
    height: auto;
}


.popup_img {
    position: fixed;
    z-index: 2;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    max-height: 90%;
}

.popup_img {
    pointer-events: none;
}

.text-success {
    background-color: palegreen;
    color: black !important;
    border-radius: 5px;
    padding: 15px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px;
    padding: 1%;
    margin: 0;
    border-top: 1px solid #e0e0e0;
}

/*Accordion*/

.card-header.collapsed {
    background: linear-gradient(to right, #fafafa, #eee);
}

.card-header:not(.collapsed) {
    background: linear-gradient(to right, #1bb389, #115c71);
}

    .card-header:not(.collapsed) .btn-link-my {
        color: white;
        font-weight: 700;
    }

.btn-link-my {
    font-weight: 600;
    text-decoration: none;
}

    .btn-link-my:hover {
        text-decoration: none;
    }

    .btn-link-my:focus, .btn-link-my.focus {
        text-decoration: none;
        box-shadow: none;
        font-weight: 700;
    }

.card .collapse.show {
    border: 1px solid #1bb389;
}

/*Highcharts*/
.highcharts-exporting-group {
    display: none;
}

.highcharts-credits {
    display: none;
}

.highcharts-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.highcharts-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.highcharts-axis-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.footer_text {
    padding-top: 0;
    padding-bottom: 15px;
}

.footer .btn-link {
    padding-top: 0;
}

#messageText-error.error {
    color: red;
    font-weight: 500;
}

#email-error.error {
    color: red;
    font-weight: 500;
}

#g-recaptcha-error {
    color: red;
    font-weight: 500;
}

#statTable thead {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background: linear-gradient(to right, #1bb389, #115c71);
    color: white;
}

#statTable tbody td {
    font-weight: 500;
}

.tooltiptip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

@media(max-width: 800px) {
    .tooltiptext {
        display: none;
    }
    .tooltiptip {
        border-bottom: none;
    }
}

.tooltiptip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    top: -5px;
    left: 110%;
}

    .tooltiptip .tooltiptext::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 100%;
        margin-top: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: transparent black transparent transparent;
    }

.tooltiptip:hover .tooltiptext {
    visibility: visible;
}


.btn-noleftpad {
    padding-left: 0;
    border-style: none;
}
