/* 
FORM CONTROLS
==========================================================
*/

.carni-divDisabled
{
    opacity: 0.5;
    pointer-events: none;
}

.eyal-control-checkbox-wrapper
{
    position: relative;
    width: max-content;
    width: -moz-max-content;
    width: -webkit-max-content;
    min-height: 22px;
    border-radius: 30px;
    overflow: hidden;
    
    border: solid 2px;
    border-color: #ffbe42;   
    background-color: #ffbe42;
    
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    
    transition: background-color 150ms linear, border-color 150ms linear;
}

.eyal-control-checkbox-wrapper.colored
{
    background-color: #e84c3d;
    border-color: #e84c3d;
}

.eyal-control-checkbox-wrapper.colored.active
{
    background-color: #0088dd;
    border-color: #0088dd;
}

.eyal-control-checkbox-width
{
    visibility: hidden;
    position: relative;
    
    width: max-content;   
    width: -moz-max-content;
    width: -webkit-max-content;    
    display: grid;
    grid-template-columns: max-content max-content;
    grid-template-columns: -moz-max-content -moz-max-content;
    grid-template-columns: -webkit-max-content -webkit-max-content;
    grid-gap: 0px;
    justify-items: center;
    align-items: center;    
}

.eyal-control-checkbox-width div
{
    padding: 0px 6px;
}

.eyal-control-checkbox-values
{
    width: 100%;
    height: 100%;
    
    position: absolute;
    top: 0px;
    left: 0px;
        
    display: grid;
    grid-template-columns: 50% 50%;        
    grid-gap: 0px;
    justify-items: center;
    align-items: center;
}

.eyal-control-checkbox-val
{
    width: 100%;
    height: 100%;
    
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    
    z-index: 10;
}

.eyal-control-checkbox-slider
{    
    width: 50%;
    height: 100%;
        
    position: absolute;
    top: 0px;
    left: 0px;
    
    background-color: #fff;
    z-index: 15;
    border-radius: 30px;
    
    transform: translateX(0%);
    transition: all 150ms linear;    
}

.eyal-control-checkbox-slider.active
{
    transform: translateX(100%);    
}

.eyal-control-checkbox-button
{
    width: 100%;
    height: 100%;
        
    position: absolute;
    top: 0px;
    left: 0px;
    
    background-color: transparent;
    z-index: 30;    
    
    cursor: pointer;
}

.eyal-control-checkicon-wrapper
{    
    position: relative;
}

.eyal-control-checkicon-button
{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px; 
    cursor: pointer;
}

.eyal-control-checkicon-icon
{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;    
    
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;          
}

/* CHECKBOX ICON STYLE(start): defualt */

.eyal-control-checkicon-wrapper-default
{
    width: 50px;
    height: 50px;
    perspective: 150px;
    
    opacity: 1;
}

.eyal-control-checkicon-wrapper-default:hover
{
    opacity: 0.8;
}

.eyal-control-checkicon-stl-default
{
    font-size: 28px;

    border-radius: 5px;
    backface-visibility: hidden;
        
    transition: transform 300ms linear;
}

.eyal-control-checkicon-stl-default.active
{    
}

.eyal-control-checkicon-false.eyal-control-checkicon-stl-default
{
    color: #fff;
    background-color: #F00;
    
    transform: rotateY(180deg);    
}

.eyal-control-checkicon-false.eyal-control-checkicon-stl-default.active
{
    transform: rotateY(0deg);
}

.eyal-control-checkicon-true.eyal-control-checkicon-stl-default
{
    color: #fff;
    background-color: #0073aa;
    
    transform: rotateY(-180deg);    
}

.eyal-control-checkicon-true.eyal-control-checkicon-stl-default.active
{
    transform: rotateY(0deg);
}

/* CHECKBOX ICON STYLE(end): defualt */



/* CHECKBOX ICON STYLE(start): small */

.eyal-control-checkicon-wrapper-small
{
    width: 25px;
    height: 25px;
    perspective: 75px;
    
    opacity: 1;
}

.eyal-control-checkicon-wrapper-small:hover
{
    opacity: 0.8;
}

.eyal-control-checkicon-stl-small
{
    font-size: 16px;

    border-radius: 3px;
    
    opacity: 0;    
    transition: opacity 300ms linear;
}

.eyal-control-checkicon-stl-small.active
{    
    opacity: 1;    
}

.eyal-control-checkicon-false.eyal-control-checkicon-stl-small
{
    color: #fff;
    background-color: #F00;    
}

.eyal-control-checkicon-true.eyal-control-checkicon-stl-small
{
    color: #fff;
    background-color: #0073aa;   
}

/* CHECKBOX ICON STYLE(end): small */

/* 
FORM ELEMENTS
==========================================================
*/

.timepicker_wrap
{
    width: max-content;
}

.timePickOn
{
    background-color: #ffff00 !important;
}





/* 
SHORTCODES
==========================================================
*/

.carni-button-sc
{
    display: inline-block;
    
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
}

.carni-button-sc a
{
    text-decoration: none;
    color: #fff;
}

.carni-button-sc-content
{
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    
    background-color: #0288d1;
    color: #fff;
    padding: 1rem 2rem;
    margin: 0px 1rem;
    
    font-size: 1.6rem;
    font-weight: 600;    
    
    cursor: pointer;
    
    transition: background-color 300ms ease-out, color 300ms ease-out;
}

.carni-button-sc-content:hover
{
    background-color: #81D4FA;
    color: #000;
}

.carni-button-sc-content:active
{
    background-color: #0288d1;
    color: #fff;
}

.carni-button-sc.carni-button-sc-align-center
{
    width: 100%;
    clear: both;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}

.carni-button-sc.carni-button-sc-align-right
{
    float: right;
}

.carni-button-sc.carni-button-sc-align-left
{
    float: left;
}

.carni-button-sc.carni-button-sc-align-right .carni-button-sc-content
{
    margin-right: 0px;
}

.carni-button-sc.carni-button-sc-align-left .carni-button-sc-content
{
    margin-left: 0px;
}

.carni-button-sc-icon
{
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    
    margin-right: 5px;
    color: #fff;
    
    font-size: 1.6rem;
    
    transition: background-color 300ms ease-out, color 300ms ease-out;
}

.carni-button-sc-content:hover .carni-button-sc-icon
{
    color: #000;
}

.carni-button-sc-content:active .carni-button-sc-icon
{
    color: #fff;
}





/* ================== PHONE ================== */
@media (max-width: 768px)
{  
    .carni-button-sc-icon
    {
        font-size: 1.8rem;
    }    
}