﻿/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/*
*
* OTHER
*
*/

#dimWeightResult {
color: #a3cd3a;
padding-top: 10px;
}

.dimWeightResult-container {
padding-top: 30px;
min-height: 30px;
text-align: center;
font-weight: bold;
font-size: 1.5rem;
}

.dw-roll-height {
min-height: 100px !important;
opacity: 0;
visibility: hidden;
transition: visibility 0.23s, opacity 0.23s;
}

.dw-roll-height.active {
min-height: 100px !important;
opacity: 100;
visibility: visible;
transition: visibility 1.23s, opacity 1.23s;
}

/*
*
* PEX-FF
*
*/

/*.dimWeightCalc-container {*/
    /*margin-top: 150px;*/
    /*text-align: center;*/
/*}*/

/*.dimWeightCalc-container input {*/
    /*margin-top: 10px;*/
/*}*/

/*.dimWeightCalc-container .unitSwitch {*/
    /*margin-top: 40px;*/
/*}*/

/*.dimWeightCalc-container .unitField {*/
    /*width: 100%;*/
    /*position: relative;*/
/*}*/

/*.dimWeightCalc-container .unitField input {*/
    /*padding-right: 40px!important;*/
/*}*/

/*.dimWeightCalc-container .unitField .units {*/
    /*display: block;*/
    /*position: absolute;*/
    /*top: 9px;*/
    /*right: 0;*/
    /*font-size: 12px;*/
    /*padding: 1px 5px;*/
    /*border-left: 1px solid #a7a7a7;*/
    /*color: #a7a7a7;*/
    /*z-index: 50;*/
/*}*/


/*
*
* PEX
*
*/

#dimCalculator-pex #dimWeightCalculator {
    max-width: 980px;
    background: #053749;
    color: #fff;
    padding: 60px 35px 20px;
    border-radius: 15px;
    -webkit-box-shadow: 0 0 9px #000;
    box-shadow: 0 0 9px #000;
    position: relative;
    margin: 0 auto 60px;
    text-align: left;
    line-height: 1;
}

#dimCalculator-pex #dimWeightCalculator label {
    display: block;
}

#dimCalculator-pex #dimWeightCalculator input[type=text] {
    width: 100%;
    border-radius: 4px;
    border: none;
    padding: 8px 15px;
}

#dimCalculator-pex #dimWeightCalculator .skewSquare {
    position: absolute;
    top: -3px;
    left: 50%;
    margin-left: -45%;
    background: #043242;
    width: 90%;
    height: 36px;
    -webkit-perspective: 600px;
    perspective: 600px;
    -webkit-transform: perspective(400px) rotateX(-30deg);
    transform: perspective(400px) rotateX(-30deg);
}

#dimCalculator-pex #dimWeightCalculator .sSContainer .row {
    margin-bottom: 20px;
}

#dimCalculator-pex #dimWeightCalculator .row{
    margin-bottom: 20px;
}

#dimCalculator-pex #dimWeightCalculator .calcIcon {
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    width: 90px;
    height: 90px;
    line-height: 90px;
    background: url('/wp-content/plugins/dim-weight/public/images/pex/calc.svg') 50% 50% #a3cd3a no-repeat;
    background-size: 60%;
    border-radius: 100%;
    text-align: center;
    -webkit-box-shadow: 0 0 8px #000;
    box-shadow: 0 0 8px #000;
}

#dimCalculator-pex #dimWeightCalculator .unitField {
    position: relative;
}

#dimCalculator-pex #dimWeightCalculator .unitField .unitPlace {
    display: block;
    position: absolute;
    top: 9px;
    right: 0;
    font-size: 12px;
    padding: 1px 5px;
    border-left: 1px solid #a7a7a7;
    color: #a7a7a7;
    z-index: 50;
}

#dimCalculator-pex #dimWeightCalculator #dimWeightSwitch {
    text-align: center;
}

#dimCalculator-pex #dimWeightCalculator .switchLabel {
    display: inline-block;
    width: 67px;
    text-align: right;
}

@media only screen and (min-width: 992px) {
    #dimCalculator-pex #dimWeightCalculator .switchLabel {
        width: 120px;
    }
}


@media only screen and (min-width: 1200px) {
    #dimCalculator-pex #dimWeightCalculator .switchLabel {
        width: 170px;
    }
}

#dimCalculator-pex #dimWeightCalculator .switchLabel:last-child {
    text-align: left;
}

#dimCalculator-pex #dimWeightCalculator .tgl,
#dimCalculator-pex #dimWeightCalculator .tgl *,
#dimCalculator-pex #dimWeightCalculator .tgl+.tgl-btn,
#dimCalculator-pex #dimWeightCalculator .tgl:after,
#dimCalculator-pex #dimWeightCalculator .tgl :after,
#dimCalculator-pex #dimWeightCalculator .tgl:before,
#dimCalculator-pex #dimWeightCalculator .tgl :before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#dimCalculator-pex #dimWeightCalculator .tgl {
    display: none;
    margin: 0 10px;
}

#dimCalculator-pex #dimWeightCalculator .tgl-flat+.tgl-btn, #dimCalculator-pex #dimWeightCalculator .tgl-flat+.tgl-btn:after {
    -webkit-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
    transition: all .3s ease-in;
}

#dimCalculator-pex #dimWeightCalculator .tgl-flat+.tgl-btn {
    padding: 2px;
    border: 1px solid #fff;
    background: #fff;
    border-radius: 2em;
    margin: 0 10px -7px;
}

#dimCalculator-pex #dimWeightCalculator .tgl+.tgl-btn {
    outline: 0;
    display: inline-block;
    width: 4em;
    height: 2em;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#dimCalculator-pex #dimWeightCalculator .tgl-flat+.tgl-btn:after {
    background: #a3cd3a;
    content: "";
    border-radius: 1em;
}

#dimCalculator-pex #dimWeightCalculator .tgl+.tgl-btn:after {
    left: 0;
}

#dimCalculator-pex #dimWeightCalculator .tgl+.tgl-btn:after , #dimCalculator-pex #dimWeightCalculator .tgl+.tgl-btn:before {
    position: relative;
    display: block;
    width: 50%;
    height: 100%;
}

#dimCalculator-pex #dimWeightCalculator .tgl-flat:checked+.tgl-btn:after {
    left: 50%;
    background: #a3cd3a;
}

#dimCalculator-pex #dimWeightCalculator .tgl:checked+.tgl-btn:after {
    left: 50%;
}