@import url('https://fonts.googleapis.com/css?family=Roboto');

input:hover, input:focus, input:active {
    outline: none;
}

form label {
    display: block;
    width: max-content;
    margin-top: 20px;
    font-size: 14px;
    color: #aaa;
}

form input, form textarea {
    width: 100%;
    padding: 5px 7px;
    border-radius: 2px;
    border: 1px solid #ddd;
    font-size: 16px;
}

label {
    display: block;
    font-size: 14px;
}

input:focus, input:active, textarea:focus, textarea:active {
    outline: none;
}

input, textarea {
    font-size: 13px !important;
    padding: 10px 15px;
}

input::placeholder, textarea::placeholder {
    color: rgba(0,0,0,0.3);
}

#marker_creator fieldset {
    border: none;
}

#marker_bases {
    bottom: 50px;
    position: absolute;
    text-align: center;
    width: calc(100% - 30px);
}

#marker_bases img {
    width: 60px;
}

#marker_canvas {
    left: 50%;
    position: absolute;
    top: calc(50% - 50px);
    transform: translate(-50%, -50%);
}

#open_editor_options {
    cursor: pointer;
}

.display_options #editor_option_list {
    display: block;
}

#editor_options {
    position: absolute;
    transform: translateX(-104%);
    background: #fff;
    height: 100%;
    top: 0;
    width: 0px;
    transition: .12s width ease-in-out;
}

#editor_options .content {
    display: none;
    padding: 10px;
}

.display_options #editor_options {
    display: block;
    width: 205px;
    border-right: 1px solid #eee;
}

.display_options #editor_options .content {
    display: block;
}

#upload-base {
    display: none;
}

#download_new_marker_btn {
    bottom: 10px;
    position: absolute;
    right: 10px;
}

#marker_creator {
    font-family: 'Roboto';
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 3px 20px rgba(0,0,0,0.02), 0 10px 20px rgba(0,0,0,0.05);
    height: 90%;
    left: 50%;
    padding: 10px;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
}

#upload-icon-btn {
    display: none;
}

#upload-icon-label, #reset_canvas, #marker-color {
    display: inline-block;
    color: #fff;
    border: none;
    background: #761edb;
    padding: 5px 7px;
    border-radius: 2px;
    cursor: pointer;
    height: 30px;
    line-height: 20px;
    vertical-align: top;
}

#iconpicker, #image-filter {
    padding: 5px 7px;
    border: 1px solid #ccc;
    height: 30px;
    margin: 0;
    display: inline-block;
    vertical-align: top;
}

#marker_creator_background, #marker_creator {
    z-index: 999999;
}

#marker_creator label {
    display: block;   
}

#upload-icon-label {
    display: inline-block !important;
}

.fade.in {
    opacity: 1;
}

.iconpicker-selected.bg-primary {
    background: #761edb;
}

a.bg-primary:hover, a.bg-primary:active, a.bg-primary:focus {
    background: #761edb;
}

#close-marker-creator {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: #ccc;
}

#marker_creator {
    animation: marker_creator_anim .3s ease-in-out;   
}

#image-filter, #iconpicker {
    width: 150px;
}

#marker-color {
    display: none;
}

#new-marker-name {
    border: none;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    font-style: normal;
    padding: 5px 7px;
    transition: all .2s ease-on-out;
    width: 300px;
}

#new-marker-name:active, #new-marker-name:focus {
    border-color: #761edb;
}

#reset_canvas, #upload-icon-label {
    font-size: 17px;
    line-height: 20px;
}

#upload-icon-label {
    color: #fff;
    margin-top: 0;
}

label {
    color: #aaa;
    margin-top: 15px;
}

#marker-color-label {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ff0000;
    cursor: pointer;
    position: absolute;
    bottom: 10px;
    left: 10px;
    box-shadow: 0 0 1px 0px rgba(0,0,0,0.0);
    transition: .1s all cubic-bezier(0.1, 0.7, 1.0, 0.1);
}

#marker-color-label:hover {
    box-shadow: 0 0 10px 3px rgba(0,0,0,0.1);
}

#add-base {
    color: #ccc;
    cursor: pointer;
    display: inline-block;
    font-size: 20px;
}

#add-base:hover {
    color: #999;
}

#new-marker-name {
 font-size: 15px !important;   
}

#download_new_marker_btn {
    background-color: #761edb;
    color: #fff;
    border: none;
    padding: 5px 7px;
    cursor: pointer;
}

#marker_creator_background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .2;
    transition: opacity .2s ease-in-out;
}    

@media (max-width: 180px) {
    #new-marker-name {
        width: 100%;
    }

    #image-filter, #iconpicker {
        width: 90%;
    }

    #reset_canvas, #upload-icon-label {
        width: 10%;
        text-align: center;
    }

    #marker_canvas {
        margin-top: 100px;
    }

    #marker_creator {
        min-height: 500px;
    }
}


@keyframes marker_creator_anim {
    0% {
        opacity: 0;   
        transform: translate(-50%, -55%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}