﻿

.board {
    width: 100%;
    margin: 60px auto;
    height: 500px;
    background: #fff;
    /*box-shadow: 10px 10px #ccc,-10px 20px #ddd;*/
}

    .board .nav-tabs {
        position: relative;
        /* border-bottom: 0; */
        /* width: 80%; */
        margin: 40px auto;
        margin-bottom: 0;
        box-sizing: border-box;
    }

    .board > div.board-inner {
        background: #fafafa url(https://subtlepatterns.com/patterns/geometry2.png);
        background-size: 30%;
    }

hr {
    border-top: 2px solid #eee;
}

.display {
    margin-top: 1%;
    border: 2px solid #eee;
    text-align: center;
    border-radius: 25px;
    padding-top: 1%;
}

.item-middle {
    width: 23%;
    height: auto;
    display: inline-block;
    text-align: center;
    position: relative;
    border-radius: 10px;
    border: 1.8px solid #ddd;
    border-radius: 10px;
    margin: 0 20px 10px 10px;
}

.item-middle-2 {
    width: 43%;
    height: auto;
    display: inline-block;
    text-align: center;
    position: relative;
    border-radius: 10px;
    border: 1.8px solid #ddd;
    border-radius: 10px;
    margin: 0 20px 10px 10px;
}

p.narrow {
    width: 60%;
    margin: 10px auto;
}

.hidden-xs {
    font-weight: 600;
    display: block !important;
}

.btn.active {
    background-image: none;
    outline: 0;
    -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,0.125);
    box-shadow: inset 0 3px 20px rgba(0,0,0,0.08);
    border: 1.8px solid #5cb85c;
}

.btn-white {
    border: 1px solid #ddd;
    border-radius: 10px;
}

    .btn-white.active {
        background-color: #5cb85c;
        border-color: #5cb85c;
        color: #fff;
    }

.img-white {
    width: 21%;
    height: auto;
    display: inline-block;
    text-align: center;
    position: relative;
    border-radius: 10px;
    border: 1.8px solid #ddd;
    border-radius: 10px;
    margin: 0 20px 10px 10px;
    font-size: 12px;
}

.img-item {
    width: 34%;
}

.btn-g > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.btn-g > .btn:last-child:not(:first-child):not(.dropdown-toggle) {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.btn-g > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
    border-radius: 10px;
}

.tab-content {
    width: 100%;
    margin-left: -4px;
    float: right;
    height: auto;
    background-color: #fff;
    margin-bottom: 5%;
    padding-bottom: 2%;
}

.liner {
    height: 2px;
    background: #ddd;
    position: absolute;
    width: 100%;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 1;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    color: #555555;
    cursor: default;
    background-color: #fff;
    border: 1px solid #fff;
    border-bottom-color: transparent;
}

span.round-tabs {
    width: 93%;
    height: 48px;
    line-height: 43px;
    display: inline-block;
    border-radius: 4px;
    background: white;
    z-index: 2;
    position: absolute;
    left: 0;
    text-align: center;
    font-size: 13px;
}

    span.round-tabs.one {
        color: #5cb85c;
        border: 2px solid #5cb85c;
    }

li.active span.round-tabs.one {
    background: #fff !important;
    border: 2px solid #ddd;
    color: #5cb85c;
}

span.round-tabs.two {
    color: #febe29;
    border: 2px solid #febe29;
}

li.active span.round-tabs.two {
    background: #fff !important;
    border: 2px solid #ddd;
    color: #febe29;
}

span.round-tabs.three {
    color: #3e5e9a;
    border: 2px solid #3e5e9a;
}

li.active span.round-tabs.three {
    background: #fff !important;
    border: 2px solid #ddd;
    color: #3e5e9a;
}

span.round-tabs.four {
    color: #f1685e;
    border: 2px solid #f1685e;
}

li.active span.round-tabs.four {
    background: #fff !important;
    border: 2px solid #ddd;
    color: #f1685e;
}

span.round-tabs.five {
    color: #999;
    border: 2px solid #999;
}

li.active span.round-tabs.five {
    background: #fff !important;
    border: 2px solid #ddd;
    color: #999;
}

span.round-tabs.six {
    color: #999;
    border: 2px solid #999;
}

li.active span.round-tabs.six {
    background: #fff !important;
    border: 2px solid #ddd;
    color: #999;
}

span.round-tabs.seven {
    color: #999;
    border: 2px solid #999;
}

li.active span.round-tabs.seven {
    background: #fff !important;
    border: 2px solid #ddd;
    color: #999;
}

span.round-tabs.eight {
    color: #999;
    border: 2px solid #999;
}

li.active span.round-tabs.eight {
    background: #fff !important;
    border: 2px solid #ddd;
    color: #999;
}


span.round-tabs.passive {
    color: white;
    border: 2px solid #999;
    background-color: #999;
}

li.active span.round-tabs.passive {
    background: #fff !important;
    border: 2px solid #ddd;
    color: #999;
}

span.round-tabs.active {
    color: #fff !important;
    border: 2px solid #5cb85c;
    background: #5cb85c;
}

li.active span.round-tabs.active {
    background: #5cb85c;
    border: 2px solid #ddd;
    color: #999 !important;
}


.nav-tabs > li.active > a span.round-tabs {
    background: #fafafa;
}

.nav-tabs > li {
    width: 14.1%;
}

    .nav-tabs > li:after {
        content: " ";
        position: absolute;
        left: 45%;
        opacity: 0;
        margin: 0 auto;
        bottom: 0px;
        border: 5px solid transparent;
        border-bottom-color: #ddd;
        transition: 0.1s ease-in-out;
    }

    .nav-tabs > li.active:after {
        content: " ";
        position: absolute;
        left: 45%;
        opacity: 1;
        margin: 0px auto;
        bottom: 0px;
        border: 10px solid transparent;
        border-bottom-color: #ddd;
    }

    .nav-tabs > li a {
        width: 100%;
        height: 70px;
        margin: 15px auto 0 10px;
        border-radius: 12%;
        padding: 0;
    }

        .nav-tabs > li a:hover {
            background: transparent;
            border: 0;
        }

.tab {
    width: 100%;
    height: 70px;
    margin: 4px auto 0 10px;
    border-radius: 12%;
    padding: 0;
    position: relative;
    background-color: #fff;
}

.tab-content {
}

.tab-pane {
    position: relative;
    padding-top: 50px;
}

.tab-content .head {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 25px;
    /*text-transform: uppercase;*/
    padding-bottom: 10px;
}

.btn-outline-rounded {
    padding: 10px 40px;
    margin: 20px 0;
    border: 2px solid transparent;
    border-radius: 20px;
}

.btn.green {
    background-color: #5cb85c;
    /*border: 2px solid #5cb85c;*/
    color: #ffffff;
}

.btn-process {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    margin-top: 10px;
    margin-bottom: 10px;
    display: inline-block;
    border: 1px solid #ddd;
}

    .btn-process.active {
        background-color: #5cb85c;
        border-color: #5cb85c;
        color: #fff;
    }

.board-inner > ul > li {
    pointer-events: none;
}

.head-inside {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 17px;
    font-weight: 400;
}

.modal-dialog {
    left: 0
}

.text-green {
    color: #5cb85c;
}

.popover .arrow {
    display: none;
}

.decimal-mask {
    text-align: right;
}

.price-mask {
    text-align: right;
}

.navigation-btn {
    margin-top: 10%;
    margin-left: auto;
    margin-right: 3%;
    float: right;
}

.text-contact {
    margin-left: 38%;
    float: left;
    width: 50%;
}

.text-contact-item {
    margin-top: 2%;
    width: 100%;
}

input[type="text"] {
    width: 50%;
}

.price {
    width: 60%;
    margin-left: 20%;
}

.location {
    width: 30%;
    margin-left: 36%;
}

.mtopDiv {
    margin-top: 0px;
}

@media (max-width : 1150px ) {
    .img-white {
        width: 29%;
        font-size: 10px;
        border: 1.8px solid #ddd;
    }

    .board-inner {
        display: none;
    }

    /*input[type="text"] {
        width: 30%;
    }*/

    .mtopDiv {
        margin-top: 3%;
    }
}

@media (max-width : 990px ) {

    .item-middle {
        width: 27%;
        margin: 0 6% 10px 10px;
    }

    .text-contact {
        width: 100%;
    }

    .price {
        width: 40%;
        margin-left: 30%;
    }

    input[type="text"] {
        width: 30%;
    }
}

@media( min-width : 900px ) {

    .text-contact {
        width: 70%;
    }
}

@media (max-width : 700px ) {
    .img-white {
        width: 40%;
        font-size: 10px;
        border: 1.8px solid #ddd;
    }

    input[type="text"] {
        width: 30%;
    }
}

@media( min-width : 520px ) {

    .text-contact {
        margin-left: 36%;
    }
}


@media( max-width : 585px ) {
    .board {
        width: 90%;
        height: auto !important;
        background: #fff;
    }

    span.round-tabs {
        font-size: 14px;
        width: 50px;
        height: 50px;
        line-height: 50px;
    }

    .tab-content .head {
        font-size: 20px;
    }

    .nav-tabs > li a {
        width: 50px;
        height: 50px;
        line-height: 50px;
    }

    .nav-tabs > li.active:after {
        content: " ";
        position: absolute;
        left: 35%;
    }

    .btn-outline-rounded {
        padding: 12px 20px;
    }

    .img-white {
        width: 95%;
        font-size: 14px;
        border: 1.8px solid #ddd;
    }

    .tab-content {
        width: 100%;
        margin-left: 0;
        background-color: #fff;
        padding-bottom: 10px;
        margin-bottom: 10px;
        margin-top: 10px;
    }

    input[type="text"] {
        width: 70%;
    }

    .item-middle {
        width: 27%;
        margin: 0 6% 10px 10px;
    }

    .item-middle-2 {
        width: 40%;
        margin: 0 6% 10px 10px;
    }

    .price {
        width: 72%;
        margin-left: 13%;
    }

    .text-contact {
        margin-left: 15%;
    }


    .location {
        width: 80%;
        margin-left: 10%;
    }
}
