/* 
====================
Navbar
==================== 
*/
.Navbar {
    background: #4141A4;
    margin: 0;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
}

.Navbar ul {
    margin: 0;
    padding: 0;
    display: inline-block;
    position: relative;
}

.Navbar ul li{
    position: relative;
    list-style: none;
    height: 48px;
    display: inline-block;
}

.Navbar ul li a {
    color: white;
    display: inline-block;
    text-decoration: none;
    padding: 8px 13px;
    line-height: 32px;
    text-align: left;
}

.Navbar ul li a:hover {
    background: #5b5bbe;
}

/* 
====================
Form
==================== 
*/
select, input {
    width: 200px;
    height: 50px;
}

.calculatorForm {
    background-color: #f1f1f1;
    padding: 40px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.wireSelect, .conduitSelect, .tensionSelect{
    background-color: #bbb;
    padding: 30px;
    margin: auto;
}
.conduitSelect {
    margin-bottom: 40px;
}

.wireSelect{
    margin-bottom: 20px;
    position: relative;
}

.calculatorForm p {
    margin: 0;
}

.calculatorForm h4 {
    margin: 0;
    text-align: left;
}

.numberDiv{
    position: absolute;
    top: 0;
    left: 0;
    background: #4141A4;
    color: white;
    font-size: 20px;
    height: 30px;
    width: 30px;
}

/* 
====================
Pull tension
==================== 
*/

.titleTension{
    margin-top: 20px;
    padding: 20px;
    padding-bottom: 0;
    padding-left: 0;
    margin: auto;
    text-align: left;
}

.titleTension h4{
    margin: 0;
}

.tensionSelect{
    margin-bottom: 20px;
    position: relative;
}

.tensionSelect .checkDiv {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: left;
}

.tensionSelect .soaping {
    height: 20px;
    width: 20px;
    cursor: pointer;
    vertical-align: middle;
    justify-content: center;
    position: relative;
    margin-bottom: 5px;
}

.tensionSelect label {
    display: block;
}

/* 
====================
Buttons
==================== 
*/
.removeButton{
    position: absolute;
    top: 0;
    right: 0;
    color: white;
    font-size: 12px;
    background-color: red;
    padding: 4px 8px;
    margin-bottom: 0;
}

.addWireButton {
    position: relative;
    margin-top: 0px;
    color: white;
    background: #333;
}

.addWireButton:hover {
    background: #555;
}

.calcButton {
    position: relative;
    color: white;
    background: #4141A4;
    width: 100%;
    margin-bottom: 0;
    margin-top: 20px;
}

.calcButton:hover {
    background: #5b5bbe;
}

.addAlign, .calcAlign {
    display: block;
    margin: auto;
    justify-content: center;
    align-items: center;
    text-align: right;
}

/* 
====================
Results
==================== 
*/
.resultsBox {
    background-color: #f1f1f1;
    display: block;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
}

.Gauge {
    position: relative;
    display: block;
    margin: auto;
    margin-bottom: 20px;
    background: white;
    border-radius: 50%;
    border: 25px solid #555;
    height: 300px;
    width: 300px;
    outline: 0;
    overflow: hidden;
    mask-image: radial-gradient(white, black);
    -webkit-mask-image: radial-gradient(white, black);
}

.fillGauge {
    position: absolute;
    height: 300px;
    width: 300px;
    margin: auto;
}

.fillEffect {
    position: absolute;
    width: 200%;
    height: 200%;
    bottom: -50%;
    left: -50%;
    background: white;
    border-radius: 35%;
    animation: wave 8s ease-out forwards;
}

@keyframes wave {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-100%) rotate(500deg);
    }
}

@media screen and (max-width: 500px) {
    .Gauge, .fillGauge {
        height: 250px;
        width: 250px;
    }
}

@media screen and (max-width: 375px) {
    .Gauge, .fillGauge {
        height: 200px;
        width: 200px;
    }
}

/* 
====================
Error Popup
==================== 
*/
.modal {
    position: fixed;
    z-index: 999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, .7);
}

.modalContent {
    position: relative;
    margin: auto;
    background: white;
    max-width: 500px;
    border: 1px solid black;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.modal h4, .modal p {
    margin: 0;
    padding-top: 10px;
    padding-bottom: 10px;
}

.closeModal{
    margin-top: 10px;
    position: relative;
    color: white;
    background: #333;
}

.closeModal:hover {
    background: #555;
}

/* 
====================
Examples Page
==================== 
*/
#examples {
    background: #f1f1f1;
}

#examples::before, #examples::after {
    content: "";
    display: table;
}

#examples::after {
    clear: both;
}

#examples .column {
    border: 2px solid #333;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    background: white;
} 

#examples .side {
    vertical-align: middle;
}

#examples h3, ul, h4 {
    margin: 0;
    margin-left: 10px;
}

#examples ul {
    list-style: none;
}

#examples mark {
    background-color: #ffffb3;
}

.exampleImage {
    margin: auto;
}
