﻿
/*span
{
    display: block;
}*/

.option_item
{
    display: block;
    position: relative;
    width: auto;
    height: auto;
    margin: 10px;
}

.checkbox
{
    position: absolute;
    position: relative;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 1;
}

.checkbox:checked
{
    opacity: 0;
}

.option_inner
{
    display: block;
    position: relative;
    width: auto;
    height: auto;
    background: #FFF;
    border-radius: 5px;
    text-align: center;
    padding: 0;
    cursor: pointer;
    color: #585c68;
    border: solid 5px transparent;
    border: none;
}

.checkbox ~ .option_inner
{
    border-color: #96b0e8;
    color: #96b0e8;
}

.checkbox:checked ~ .option_inner
{
    border-color: #3b5999;
    color: #3b5999;
}

.checkbox:checked ~ .option_inner .tickmark
{
    border-top-color: #3b5999;
    border-left-color: #3b5999;
    color: #3b5999;
}

input.checkbox:checked ~ .option_inner .tickmark:before
{
    content: "✔";
    color: white;
    position: absolute;
    top: -14px;
    left: -14px;
}

.tickmark
{
    position: absolute;
    top: 0;
    left: 0;
    border: 20px solid;
    border-color: transparent;
}
