.wha-puzzle-container-admin h3{
    font-size:16px;
    margin:10px 0 10px 0;
}
.wha-puzzle-container-admin .wha-puzzle-admin{
    border:1px solid #ccc;
    background: #f1f0f0;
    padding:10px;
    margin-bottom:20px;
    display:flex;
    align-items:center;
}
.wha-puzzle-container-admin .wha-puzzle-admin>.item-block{
    border-right:1px solid #ccc;
    padding:10px 10px;
    width:15%;
    text-align:center;
}
.wha-puzzle-container-admin .wha-puzzle-admin>.item-block.last-item{
    width:25%;
}
.wha-puzzle-container-admin .wha-puzzle-admin .item-block.last-item{
    border-right:none;
}

.wha-puzzle-container-admin .wha-puzzle-admin>.item-block label{
    display:block;
}
.wha-puzzle-container-admin .wha-puzzle-admin>.item-block select,
.wha-puzzle-container-admin .wha-puzzle-admin>.item-block input{
    border:1px solid #c0b9b9;
    text-align:center;
}
.wha-puzzle-container-admin .wha-puzzle-admin>.item-block input.jscolor{
    width:75%;
    padding:5px 10px;
    border-radius:15px;
}
.wha-puzzle-container-admin .wha-puzzle-admin>.item-block select.select-horizontally,
.wha-puzzle-container-admin .wha-puzzle-admin>.item-block select.select-vertical{
    width:100%;
}
.wha-puzzle-container-admin .wha-puzzle-admin>.item-block select.select-scaling{
    width:100%;
}
.wha-puzzle-container-admin .wha-puzzle-admin>.item-block>.upload-block{
    display:flex;
}
.wha-puzzle-container-admin .wha-puzzle-admin>.item-block>.upload-block>div{
    margin-top:15px
}
.wha-puzzle-container-admin .wha-puzzle-admin>.item-block>.upload-block img{
    margin-right:10px
}
.wha-puzzle-container-admin .wha-puzzle-admin>.item-block>.upload-block h6{
    margin:0;
    text-align:left;
    font-size:12px;
    color:#c41722
}
.wha-puzzle-container-admin .wha-puzzle-admin>.item-block>.upload-block input{
    border:none
}
.wha-puzzle-container-admin .wha-puzzle-admin>.item-block:last-child{
    border-right:none
}
.wha-puzzle-container-admin .wha-puzzle-admin>.item-block:last-child h3{
    text-align:center
}
.wha-puzzle-container-admin .wha-puzzle-admin>.item-block:last-child h6{
    margin:5px 0;
    font-size:12px;
    color:#c41722
}
.wha-puzzle-container-admin .wha-puzzle-admin #whapz-slider{
    border:1px solid #b5b5b5;
    margin-top:10px;
    height:20px;
    background:#ededed
}
.wha-puzzle-container-admin .wha-puzzle-admin #whapz-slider #whapz-handle{
    width:3em;
    height:30px;
    top:50%;
    margin-top:-15px;
    text-align:center;
    line-height:1.6em;
    position:relative;
    background:#373737;
    cursor:pointer
}
.wha-puzzle-container-admin .wha-puzzle-admin #whapz-slider .value-wrapper{
    display:block;
    position:absolute;
    top:34px;
    left:-4px;
    border:1px solid grey;
    right:-13px;
    color:#000000
}
.wha-puzzle-container-admin .wha-puzzle-admin #whapz-slider .value-wrapper::before{
    content:'';
    position:absolute;
    display:block;
    left:20px;
    top:-16px;
    border:5px solid transparent;
    border-bottom:10px solid grey;
}

#myCanvas{
    z-index:1000
}

#whapz-puzzle{
    text-align:center;
    max-width:100%
}
#whapz-puzzle input {
    letter-spacing: normal;
}
.whapz-panel-puzzle{
    background: rgb(144,140,140);
    background: linear-gradient(360deg, rgba(144,140,140,1) 0%, rgba(0,0,0,1) 100%);
    float:left;
    width:100%;
    min-width: 350px;
    padding:5px 0;
    font-family:Tahoma, sans-serif
}
.whapz-panel-puzzle a{
    float:right;
    margin:5px 5px 0 0;
    box-shadow: none !important;
}
.whapz-panel-puzzle a img{
     box-shadow:none !important;
    transition: .5s;
}
.whapz-panel-puzzle a:hover img{
    opacity: .3;
}
.whapz-panel-puzzle a:hover{
    text-decoration:none;
}
.whapz-panel-puzzle .whapz-timer-wrap{
     float:left;
     width:max-content;
     padding:0 10px 0 10px;
     display: flex;
     align-items: center;
 }
.whapz-panel-puzzle .whapz-timer-wrap>.whapz-group-buttons{
    display: flex;
    align-items: center;
    padding:5px 10px 0 0;
}
.whapz-panel-puzzle .whapz-timer-wrap>.whapz-group-buttons input{
    width:55px;
    border:none;
    padding:15px 0;
    background-size:contain !important;
    transition: all .3s linear;
}
.whapz-panel-puzzle .whapz-timer-wrap>.whapz-group-buttons input.whapz-startButton{
    background:url("../images/icon-start.png") no-repeat 0 0
}
.whapz-panel-puzzle .whapz-timer-wrap>.whapz-group-buttons input.whapz-resetButton{
    background:url("../images/icon-restart.png") no-repeat 0 0
}
.whapz-panel-puzzle .whapz-timer-wrap>.whapz-group-buttons input:hover{
    cursor:pointer;
    opacity: .3;
}
.whapz-panel-puzzle .whapz-timer-wrap>.whapz-timer-item{
    float:left;
    width:auto;
    color:#FFF;
    font-size:30px;
}




/*** Begin customize form ***/

.whapz-panel-puzzle .whapz-form-upload {
    float: left;
    width: max-content;
    padding: 10px 10px 0 10px;
}
.whapz-panel-puzzle form {
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.whapz-panel-puzzle .whapz-form-upload form label {
    margin: 0 10px 0 0;
    font-size: 18px;
    color: #0a0000;
    background-color: white;
    display: inline-block;
    padding: 0 10px 0 35px;
    cursor: pointer;
    position: relative;
    transition: all .3s linear;
    line-height: 40px;
}
.whapz-panel-puzzle .whapz-form-upload form label:before {
    content: "";
    background-image: url('/wp-content/plugins/wha-puzzle/images/icon-upload.png');
    background-size: 20px 20px;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    position: absolute;
    left: 10px;
    top: 10px;
}
.whapz-panel-puzzle .whapz-form-upload form label:hover {
    background: #a7a7a7;
}
.whapz-panel-puzzle .whapz-form-upload .whapz-add-image {
    background: #fff;
    border-radius: 0;
    font-size: 18px;
    padding: 0 10px 0 10px;
    color: #000;
    font-weight: normal;
    box-sizing: border-box;
    cursor: pointer;
    border: none;
    text-transform: capitalize;
    margin-left: 5px;
    line-height: 40px;
}
.whapz-panel-puzzle .whapz-form-upload form .whapz-inputfile {
   display: none;
}


@media (max-width: 639px){
    .whapz-panel-puzzle .whapz-form-upload {
        width: 100%;
    }
    .whapz-panel-puzzle .whapz-form-upload form label {
        width: 100%;
        margin: 0;
        padding: 0 10px 0 10px;
    }
    .whapz-panel-puzzle .whapz-form-upload form label:before {
        content: none;
    }
}

/*** End form ***/

.whapz-panel-puzzle .whapz-completed{
    width:100%;
    float:left;
    font-size:18px;
    color:#FFFFFF;
    font-family:"Courier New";
    border-top:1px solid #7b7b7b;
    text-align:center
}
.whapz-full{
    display:none;
    position:absolute;
    bottom:0;
    left:0;
    z-index:10000;
}
#modal_form{
    width:100%;
    min-width: 360px;
    max-width:25%;
    border:1px #7f7f7f solid;
    background:#fff;
    position:fixed;
    display:none;
    z-index:1100;
    padding:30px 10px;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}
#modal_form #modal_close{
    width:21px;
    height:21px;
    position:absolute;
    top:10px;
    right:10px;
    cursor:pointer;
    display:block;
    font-family:cursive;
    font-size:16px;
}
#modal_form .content{
    padding:15px;
    text-align:center;
    font-family: cursive;
    line-height: 1.3;
}
#modal_form .content h4{
    margin:7px 0
}
#modal_form .content p{
    border-top:1px solid #CCCC;
    padding-top:10px;
    margin-top: 10px;
    display: flex;
    justify-content: center;
}
#modal_form .content p a {
    margin-right: 10px;
    box-shadow: none;
}
#modal_form .content img{
    display:inline
}
#overlay{
    z-index:1003;
    position:fixed;
    background-color:#000;
    opacity:0.6;
    -moz-opacity:0.8;
    filter:alpha(opacity=80);
    width:100%;
    height:100%;
    top:0;
    left:0;
    cursor:pointer;
    display:none
}


#whapz_sidebar .inside h1 {
    font-size: 19px;
    color: #41b4f7;
    font-weight: bold;
    text-align: center;
}

#whapz_sidebar .whacs_logo_wrap {
    text-align: center;
    padding: 15px;
}
#whapz_sidebar .whacs_logo_wrap img {
    width: 100%;
    max-width: 100px;
}
#whapz_sidebar .inside h1,
#whapz_sidebar .inside h2,
#whapz_sidebar .inside h3,
#whapz_sidebar .inside h4,
#whapz_sidebar .inside h5 {
    padding: 0 !important;
}
#whapz_sidebar .btn-arrow {
    position: relative;
    transition: background-color 300ms ease-out;
}
#whapz_sidebar .btn {
    background: #41b4f7;
    color: white;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px 21px;
    border: 2px solid #41b4f7;
    transition: color 0.1s cubic-bezier(0.16, 0.08, 0.355, 1), background 0.1s cubic-bezier(0.16, 0.08, 0.355, 1);
    display: block;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    outline: none;
    vertical-align: middle;
    text-align: center;
    position: relative;
    overflow: hidden;
}
#whapz_sidebar .btn-arrow span {
    display: inline-block;
    position: relative;
    transition: all 300ms ease-out;
    will-change: transform;
}
#whapz_sidebar .btn-arrow svg {
    position: absolute;
    width: 1.3em;
    right: 0;
    opacity: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: all 300ms ease-out;
    will-change: right, opacity;
}


@media (max-width: 639px){
    #whapz-puzzle>.whapz-panel-puzzle .whapz-timer-wrap{
        width:75%;
    }
}

@media (min-width: 640px) and (max-width: 768px){
    #whapz-puzzle>.whapz-panel-puzzle a{
        float:right;
        padding-right:7px
    }
    #whapz-puzzle>.whapz-panel-puzzle .whapz-timer-wrap{
        width:35%;
        padding:5px 0 0 5px;
    }
    #whapz-puzzle>.whapz-panel-puzzle .whapz-timer-wrap>.whapz-group-buttons{
        padding:0;
        width:auto;
        display:flex;
        align-items:center;
    }
    #whapz-puzzle>.whapz-panel-puzzle .whapz-timer-wrap>.whapz-group-buttons input{
        width:55px;
        padding:15px 7px;
        margin-right:7px;
    }
    #whapz-puzzle>.whapz-panel-puzzle .whapz-timer-wrap>.whapz-timer-item{
        width:30%;
        font-size:24px;
    }
    #whapz-puzzle>.whapz-panel-puzzle .whapz-completed{
        width:96%;
        float:left;
        font-size:20px;
        color:#3f8d39;
        border-top:1px solid #3e3c3c;
        margin:5px 5px 0 5px;
    }
    #modal_form{
        max-width:85%;
    }
}
