/*@font-face {
  font-family:"Font Awesome 5 Free";font-style:normal;font-weight:900;src:url(../webfonts/fa-solid-900.eot);src:url(../webfonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.woff) format("woff"),url(../webfonts/fa-solid-900.ttf) format("truetype"),url(../webfonts/fa-solid-900.svg#fontawesome) format("svg");
}*/

@media all{
    *{
        margin: 0;
        padding: 0;
        font-family: arial;
        box-sizing: border-box;
    }

    body{
        background: rgb(250,250,250);
    }

    a, a:visited{
        text-decoration: none;
    }

    /* TEXT FORMAT CLASSES */

    .text-white{
        color:#fff;
    }

    text-black{
        color:#000;
    }

    /* /TEXT FORMAT CLASSES */
    /* DESIGN CONSTANTS */
    
    
    .vertical-text{
        text-align: center;
        writing-mode: vertical-rl;
        text-orientation: sideways-right;
    }

    .flexbox-column{
        display:flex;
        flex-direction: column;
    }

    .flexbox-row{
        display:flex;
        flex-direction: row;
    }

    .flexbox-prop-around{
        justify-content: space-around;
        align-content: space-around;
    }

    .flexbox-prop-between{
        justify-content: space-between;
        align-content: space-between;
    }

    .flexbox-prop-center{
        justify-content: center;
        align-content: center;
        align-items: center;
    }

    .flexbox-prop-wrap{
        flex-wrap: wrap;
    }
    
    .flexbox-prop-nowrap{
        flex-wrap: nowrap;
    }
    
    .flexbox-prop-flexend{
        justify-content: flex-end;
    }


    .aspect-ratio-box-1-1{
        overflow:hidden;
        padding-top:calc( 1 / 1 * 100% )
    }


    .aspect-ratio-box-content{
        position:absolute;
        top:0;
        bottom:0;
        left:0;
        right:0;
        width:100%;
        height:100%;
    }

    /* /DESIGN CONSTANTS */

    /* SIZE CONSTANTS */

    .width-100{
        width:100%;
    }
    
    .width-90{
        width:90%;
    }
    
    .width-80{
        width:80%;
    }
    
    .width-70{
        width:70%;
    }
    
    .width-60{
        width:60%;
    }
    
    .width-50{
        width:50%;
    }
    
    .width-40{
        width:40%;
    }
    .width-30{
        width:30%;
    }

    /* /SIZE CONSTANTS */

    /* UI DESIGN CONSTANTS */
    
    

    .greyout{
        position:fixed;
        top:0;
        left:0;
        width:100%;
        height:100%;
        background: rgba(51,51,51,0.7);
        display:none;
        z-index:100;
    }

    .img {
        height: auto;
        max-height: 100%;
        width: auto;
        max-width: 100%;
        margin: 0 auto;
        position: absolute;
        top: 50%;
        left:50%;
        -webkit-transform: perspective(1px) translateY(-50%) translateX(-50%);
        -moz-transform: perspective(1px) translateY(-50%) translateX(-50%);
        -ms-transform: perspective(1px) translateY(-50%) translateX(-50%);
        transform: perspective(1px) translateY(-50%) translateX(-50%);
        z-index: 2000;
    }
    
    .img-fit{
        max-height:100%;
    }


    .info-box{
        width:100%;
        height:auto;
        padding: 10px;
        background:#fff;
        text-align: center;
        display:flex;
        margin: 0px 0 10px 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-bottom: 5px solid #efefef;
    }
    
    .toastMessage{
        position:fixed;
        bottom:40px;
        left:50%;
        right:50%;
        transform-origin: 50% 50%;
        transform: translateX(-50%);
        border-radius:20px;
        width: 50%;
        width:auto;
        display:none;
        padding: 10px 25px;
        color:#fff;
        background: rgba(53,53,53,0.7);
        width:50%;
        z-index:9999;
    }

    .bigBoy{
        position:fixed;
        z-index:1500;
        width:100%;
        height:100%;
        top:0;
        left:0;
        right:0;
        bottom:0;
        margin:0;
        padding:0;
        transition: all 0.5s ease-out;
    }
    
    .sideButton{
        position:relative;
        flex-grow: 1;
        cursor:pointer;
        text-align: center;
        min-width: 50px;
        max-width:50px;
        height:100%;
        color:#fff;
        min-height:55px;
        font-size: 150%;
        line-height:200%;
    }
    
    .sideButton:before{
        position:absolute;
        top:50%;
        left:50%;
        transform-origin: 50% 50%;
        transform: translateY(-50%) translateX(-50%);
    }
    
    .stretcher{
        width:100%;
        height:auto;
        display:block;
        position:relative;
    }
    
    .addButton{
        color: #fafafa;
        align-self: flex-end;
        margin:0 auto;
        margin-top:10px;
        margin-bottom: 30px;
        width:auto;
        cursor:pointer;
        text-align:center;
        background: #ec620e;
        padding: 11px 18px;
        border-radius: 3px;
        transition: all 0.3s ease-out;
        z-index: 50;
    }
    
    .addButton::before{
        display:none;
    }
    

        /* INPUT OVERLAY */
        
        .input-overlay{
            
            position:fixed;
            top:0;
            bottom:0;
            left:0;
            right:0;
            width:100%;
            height:100%;
            display:flex;
            flex-direction: column;
            background:#fff;
            z-index:99;
        }

        
        
        .input-overlay-header{
            background:#353535;
            width:100%;
            height:60px;
            display:flex;
            flex-direction: row;
            justify-content: flex-start;
        }
        
        .input-overlay-header > i{
            width:60px;
            height:60px;
            padding-top:10px;
        }
        
        .input-overlay-header > i:before{
            cursor:pointer;
            position:relative;
/*            height:40px;
            width:40px;*/
            width:auto;
            height:auto;
            margin:10px 16.25px;
            color:#fff;
            font-size:40px;
        }
        
        .input-overlay-content{
            width:100%;
            height: calc( 100% - 120px );
            display:flex;
            flex-direction: column;
            justify-content: space-around;
            align-items: stretch;
            align-content: stretch;
        }
        
        .input-overlay-content-element{
            text-align:center;
            width:80%;
            margin: 0 auto;
            padding: 15px;
            /*border:1px solid red;*/
            border-bottom: 1px solid #ebebeb;
            flex-grow: 2;
            display:flex;
            flex-direction: column;
            justify-content: center;
            align-content: center;
            align-items: center;
        }
        
        .input-overlay-content-element:last-child{
            border:none;
        }
        
        .input-overlay-content-element > select,
        .input-overlay-content-element > input{
            width: 50%;
            max-width: 200px;
            height:40px;
        }
        
        .input-overlay-footer{
            background:#353535;
            width:100%;
            height:60px;
            display:flex;
            flex-direction: row;
            flex-wrap: nowrap;
/*            justify-content: space-evenly;
            align-content: stretch;
            align-items: stretch;*/
            
        }
        
        .input-overlay-footer > i{
            cursor:pointer;
            color:#fff;
            font-size:30px;
            flex-grow: 1;
            text-align:center;
            background:#353535;
            padding-top:14.4px;
        }
        
        .input-overlay-footer > i:nth-child(even){
            color:#353535;
            border-top:1px solid #353535;
            background:#ebebeb;
        }
        
        .input-overlay-footer > i > span{
            margin-left:10px;
        }
        
        
        /* /INPUT OVERLAY */
        /* QUESTION OVERLAY */
        
        .question-overlay{
            top:0;
            left:0;
            bottom:0;
            right:0;
            padding:25px;
            position:fixed;
            width:100%;
            height:100%;
            background:rgba(53,53,53,0.6);
            z-index:200;
        }
        
        .question-overlay-wrapper{
            padding:15px 12px 7px 15px;
            position:relative;
            width:auto;
            height:auto;
            max-width:400px;
            top:50%;
            left:50%;
            transform-origin: 50% 50%;
            transform: translateY(-50%) translateX(-50%);
            background:#fff;
            border-radius: 3px;
            box-shadow: 0px 5px 10px 0px rgba(53,53,53,0.8);
            z-index:200;
        }
                
        .question-overlay-header{
            width:100%;
            display: inline-block;
            position:relative;
            font-weight: 600;
            font-size: calc(15px + .5vmin);
        }
        
        .question-overlay-wrapper > input{
            border:none;
            border-bottom: 3px solid #09c;
            font-size: 20px;
            font-size: calc(14px + .5vmin);
            text-align: center;
            font-weight: 400;
            width:auto;
            max-width:40px;
            height:auto;
            margin: 15px 0;
        }
        
        .question-overlay-buttonwrapper{
            width:auto;
            display:flex;
            flex-direction: row;
            justify-content: flex-end;
        }
        
        .question-overlay-buttonwrapper > button{
            border-radius:3px;
            margin-left: 5px;
            border:none;
            color: #09c;
            font-size: 3vmin;
            font-size: calc(12px + .5vmin);
            background: rgba(0,0,0,0);
            font-weight: 500;
            cursor:pointer;
            padding:7px 5px;
            transition: background 0.2s ease-out;
        }
        
        .question-overlay-buttonwrapper > button:active{
            background: #ebebeb;
            transition: background 0.2s ease-out;
        }
        
        
        /* / QUESTION OVERLAY */
        
    .ajaxLoader{
        position:fixed;
    }    
    
    /*the below at rock bottom!*/
        
    .wordbreak{
        word-wrap:break-word;
        white-space: pre-wrap;
    }
    
    .wordoverflow{
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellispis;
    }

    .centered{
        margin:0 auto;
    }
    
    .absolute-center{
        top:50%;
        left:50%;
        transform-origin:50% 50%;
        transform:translateX(-50%) translateY(-50%);
    }
    
    .show{
        display:block;
    }

    .hide{
        display:none;
    }

    /* /UI DESIGN CONSTANTS */
}

@media all and (max-width:590px){
    
    /* MOBILE SIZE CONSTANTS */
    
    .width-m-100{
        width:100%;
    }
    
    .width-m-90{
        width:90%;
    }
    
    .width-m-80{
        width:80%;
    }
    
    .width-m-70{
        width:70%;
    }
    
    .width-m-60{
        width:60%;
    }
    
    .width-m-50{
        width:50%;
    }
    
    .width-m-40{
        width:40%;
    }
    .width-m-30{
        width:30%;
    }
    
    /* /MOBILE SIZE CONSTANTS */
    
    .flexbox-m-column{
        display:flex;
        flex-direction: column;
    }

    .flexbox-m-row{
        display:flex;
        flex-direction: row;
    }
    
    .flexbox-m-prop-around{
        justify-content: space-around;
        align-content: space-around;
    }

    .flexbox-m-prop-between{
        justify-content: space-between;
        align-content: space-between;
    }

    .flexbox-m-prop-center{
        justify-content: center;
        align-content: center;
        align-items: center;
    }

    .flexbox-m-prop-wrap{
        flex-wrap: wrap;
    }
    
    .toastMessage{
        width:80%;
    }    
    
    .input-overlay-content-element{
        width:100%;
    }
    
    .question-overlay-buttonwrapper > button:focus{
        background: #ebebeb;
        transition: background 0.2s ease-out;
    }
    
    .addButton{
        margin:0;
        text-indent: -9999px;
        position: fixed;
        bottom:25px;
        right:20px;
        background: #E53935;
        background: #ec620e;
        border-radius: 50%;
        width:55px;
        height:55px;
        box-shadow: 0px 5px 10px 0px rgba(53,53,53,0.8);
    }
    
    .addButton::before{
        font-family: "Font Awesome 5 Free";
        /*-moz-osx-font-smoothing: grayscale;*/
        /*font-weight: 900;*/
        /*text-indent: 0;*/
        font-size: 23px;
        /*-webkit-font-smoothing: antialiased;*/
        position:absolute;
        left:50%;
        top:50%;
        right:50%;
        bottom:50%;
        display: inline-block;
/*        font-style: normal;
        font-variant: normal;
        text-rendering: auto;*/
        /*content: "\f067";*/
        text-indent: 0;
        display: block;
        width:23px;
        height:23px;
        
        
        
        /*line-height: initial;*/ 
        transform-origin: 50% 50%;
        transform: translateY(-50%) translateX(-50%);
    }
    
    .m-show{
        display:block;
    }

    .m-hide{
        display:none;
    }
    
}

/* ANIMATIONS */

/* /ANIMATIONS */