body {
    font-family: 'Roboto', sans-serif;
    font-weight: 300
}

.container-fluid {
    margin-top: 20px
}

h2 {
    font-size: 14px;
    margin: 0;
    padding: 10px
}

.sketch {
    height: 500px;
    position: relative;
    background-size: 50px 50px;
    background-image: url('../images/grid.jpg');
}

.tools {
    background: #ffffff;
    height: auto;
    border-left: 1px solid #dddddd;
    border-right: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
}

.tools .solar-panel {
    float: left;
    margin: 0 0 0 10px
}

.tools a {
    display: inline-block;
    font-size: 30px;
    color: #000;
    margin: 10px 0 0 10px;
    text-decoration: none;
    line-height: 30px
}

.nav-tabs>li>a.small {
    font-size: 10px !important;
}

.tools a span {
    display: inline-block;
    float: left
}

.tools a span.a-tooltip {
    font-size: 12px;
    margin-left: 5px
}

.tools .form-check {
    margin: 10px 0 0 10px
}

.tools .form-check .form-check-label {
    font-size: 12px
}

.solar-panel {
    width: 50px;
    height: 80px
}

.solar-panel.obstacle {
    width: 50px;
    height: 50px
}

.solar-panel p {
    color: #fff;
    font-size: 8px;
    text-align: center;
    line-height: 12px;
    margin: 5px 0;
    font-weight: normal
}

.solar-panel p.option span {
    border-radius: 3px;
    background: #fff;
    color: #000;
    display: inline-block;
    padding: 2px 4px
}

.sketch .solar-panel.portrait>p:first-of-type {
    margin: 15px 0 0 0
}

.sketch .solar-panel.portrait p {
    margin: 0 0 3px 0
}

.sketch .solar-panel.landscape>p:first-of-type {
    margin: 15px 0 0 10px
}

.sketch .solar-panel.landscape p {
    margin: 0 0 3px 10px
}

.sketch .solar-panel.landscape p.option {
    margin-top: 0
}

.sketch .solar-panel.landscape p.option span {
    position: absolute;
    right: 5px;
    top: 15px
}

.solar-panel.landscape {
    width: 80px;
    height: 50px;
    position: relative
}

.solar-panel.landscape.obstacle {
    width: 50px;
    height: 50px
}

.solar-panel.landscape p {
    text-align: left;
    margin: 0 0 0 5px
}

.solar-panel.landscape p:first-of-type {
    margin-top: 5px
}

.solar-panel.ui-selected {
    position: relative
}

.solar-panel.ui-selected:before {
    position: absolute;
    content: " ";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
    background-image: linear-gradient(rgba(234, 227, 63, 0.5), rgba(234, 227, 63, 0.5))
}

.line {
    color: #000;
    font-size: 8px;
    font-weight: bold;
    height: 9px;
    line-height: 8px;
    text-align: center;
    position: absolute;
    background: #eae33f
}

.line:after {
    left: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(0, 128, 0, 0);
    border-left-color: #eae33f;
    border-width: 8px;
    margin-top: -8px
}

.line:before {
    right: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(0, 128, 0, 0);
    border-right-color: #eae33f;
    border-width: 8px;
    margin-top: -8px
}

.line.vertical:after {
    left: -50%;
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(0, 128, 0, 0);
    border-top-color: #eae33f;
    border-width: 8px;
    margin-top: -3px
}

.line.vertical:before {
    right: -50%;
    top: 0;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(0, 128, 0, 0);
    border-bottom-color: #eae33f;
    border-width: 8px;
    margin-top: -12px
}

@media only screen and (max-width: 992px) {
    .tools {
        height: auto;
        margin-top: 20px
    }
}

@media only screen and (min-width: 1199px) {
    .container-fluid {
        max-width: 1175px
    }
}