@import url('https://fonts.googleapis.com/css?family=Ubuntu:400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Quicksand:300,400,500,600,700&display=swap');

:root {
    /* Cores*/
    --primary-color: #F7941E;
    --secondary-color: #2C479E;
    --grey-color: #808080;

    /* Cor Primaria Acender */
    --primary-color-1: #F7AA4F;
    --primary-color-2: #F7C180;
    --primary-color-3: #FFEDD9;

    /* Cor Primaria Escurecer */
    --primary-color-4: #C47618;
    --primary-color-5: #915712;
    --primary-color-6: #5E390B;

    /* Cor Secundaria Acender */
    --secondary-color-1: #647ED1;
    --secondary-color-2: #ADC1FF;
    --secondary-color-3: #E0E8FF;

    /* Cor Secundaria Escurecer */
    --secondary-color-4: #253C85;
    --secondary-color-5: #1E306B;
    --secondary-color-6: #172552;

    /* Cinzas */
    --grey-color-0: #F2F2F2;
    --grey-color-1: #E6E6E6;
    --grey-color-2: #B3B3B3;
    --grey-color-3: #808080;
    --grey-color-4: #4D4D4D;
    --grey-color-5: #1A1A1A;
    --grey-color-6: #000000;
    --grey-color-7: #D9D9D9;

    /* Alerts */
    --danger-color-0: #EF5350;
    --warning-color-0: #F1C40F;
    --success-color-0: #66BB6A;

    /* Fonte */
    --font: 'Quicksand', sans-serif;

    /* Tamanho Fonte */
    --font-size-3px: 0.1875rem;
    --font-size-4px: 0.25rem;
    --font-size-6px: 0.375rem;
    --font-size-8px: 0.5rem;
    --font-size-10px: 0.625rem;
    --font-size-1: 0.75rem;  /* h5 - 12px */
    --font-size-2: 0.875rem; /* h4 - 14px */
    --font-size-3: 1rem;     /* h3, p - 16px */
    --font-size-4: 1.125rem; /* h2 - 18px */
    --font-size-5: 1.5rem;   /* h1 - 24px */
}

h1, h2, h3, h4, h5, h6 {
    color: var(--grey-color-4);
    font-family: var(--font);
    font-weight: 700;
}

p, button, a{
    font-family: var(--font);
}

button:focus {
    outline: none;
}

h1 {
    font-size: var(--font-size-5);
}

h2 {
    font-size: var(--font-size-4);
}

h3 {
    font-size: var(--font-size-3);
}

h4 {
    font-size: var(--font-size-2);
}

h5 {
    font-size: var(--font-size-1);
}

p {
    color: var(--grey-color);
    font-size: var(--font-size-3);
    line-height: 1.5rem;
    font-family: var(--font);
    font-weight: 600;
}


hr {
    border: 0.05rem solid var(--grey-color-4);
}

.cb-btn--100{
    width: 100%;
}

.cb-btn, .cb-btn:visited {
    display: inline-block;
    font-family: var(--font);
    font-size: 1rem;
    text-decoration: none;
    font-weight: 700;
    background: var(--primary-color) 0% 0% no-repeat padding-box;
    box-shadow: 0 var(--font-size-4px) var(--primary-color-4);
    border-radius: 1.06rem;
    padding: 0.375rem 1rem;
    border: none;
    color: white;
    transition: 0.1s;
    white-space: nowrap;
    margin-bottom: 0.5rem;
}

.cb-btn:hover, .cb-btn:active{
    text-decoration: none;
}

.cb-btn i{
    margin-right: var(--font-size-8px);
}

/*.cb-btn:active {*/
/*    background: #C47618 0% 0% no-repeat padding-box;*/
/*    box-shadow: 0 0 #915712;*/
/*    transform: translateY(0.5rem);*/
/*}*/

.cb-btn:focus {
    outline: none;
}

.cb-btn-primary, .cb-btn-primary:visited {
    color: #fff !important;
    opacity: 1;
    transition: 0.1s;
    border: none;
}


.cb-btn p {
    font-weight: 700;
}

/*.cb-btn-primary:active {*/
/*    background: #C47618 0% 0% no-repeat padding-box;*/
/*    box-shadow: 0 0 #915712;*/
/*    transform: translateY(0.5rem);*/
/*}*/

.cb-btn-secondary, .cb-btn-secondary:visited {
    background: var(--grey-color-0);
    box-shadow: 0 0.25rem var(--grey-color-1);
    color: var(--grey-color-4);
}

.cb-btn-gray-light, .cb-btn-gray-light:visited {
    background: var(--grey-color-0) no-repeat padding-box;
    box-shadow: 0 var(--font-size-4px) 0 #E6E6E6;
    color: var(--grey-color-4) !important;
}

.cb-btn-gray-light-lg {
    padding: var(--font-size-3px) 1rem;
    margin: 0;
}

.cb-btn-gray-light-sm {
    padding: 5px 1rem;
}

.cb-btn-circle{
    border-radius: 100%;
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 0 !important;
    margin-left: 5px;
}

.cb-btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    /*box-shadow: 0.25rem;*/
}

.cb-btn-md{
    padding: 0.38rem 2.4rem !important;
    font-size: 1rem !important;
}

input[type=text] {
    background: var(--grey-color-0);
    border: none;
    padding: 0.5rem 1rem;
    font-family: var(--font);
    font-size: var(--font-size-3);
    font-weight: 600;
    border-radius: 0.25rem;
    color: var(--grey-color);
}

input[type=text]:focus {
    color: var(--grey-color-4);
    outline: none;
    box-shadow: 0 0 0 0.125rem var(--primary-color);
}

input[type=email] {
    background: var(--grey-color-0);
    border: none;
    padding: 0.5rem 1rem;
    font-family: var(--font);
    font-size: var(--font-size-3);
    font-weight: 600;
    border-radius: 0.25rem;
    color: var(--grey-color);
}

input[type=email]:focus {
    outline: none;
    box-shadow: 0 0 0 0.125rem var(--primary-color);
    color: var(--grey-color-4);
}

input[type=password] {
    background: var(--grey-color-0);
    border: none;
    padding: 0.5rem 1rem;
    font-family: var(--font);
    font-size: var(--font-size-3);
    font-weight: 600;
    border-radius: 0.25rem;
    color: var(--grey-color);
}

input[type=password]:focus {
    outline: none;
    box-shadow: 0 0 0 0.125rem var(--primary-color);
    color: var(--grey-color-4);
}

.cb-btn-primary-active{
    background: #C47618 0% 0% no-repeat padding-box;
    box-shadow: 0 0 #915712;
    transform: translateY(0.5rem);
}

.cb-btn-secondary-active{
    color: var(--grey-color-4);
    background: var(--grey-color-1) 0% 0% no-repeat padding-box;
    box-shadow: 0 0 var(--grey-color-0);
    transform: translateY(0.5rem);
}

.cb-btn-gray-light-active{
    background: var(--grey-color-1) 0% 0% no-repeat padding-box;
    box-shadow: 0 0 var(--grey-color-2);
    transform: translateY(0.5rem);
}

textarea {
    background: var(--grey-color-0);
    border: none;
    padding: 0.5rem 1rem;
    font-family: var(--font);
    font-size: var(--font-size-3);
    font-weight: 600;
    border-radius: 0.25rem;
    color: var(--grey-color);
}

textarea:focus {
    color: var(--grey-color-4);
    outline: none;
    box-shadow: 0 0 0 0.125rem var(--primary-color);
}

/*Input*/
.cb-input-group label{
    font-weight: 700;
}

.cb-input-group input, .cb-input-group select, .cb-input-group textarea{
    width: 100%;
    background-color: #F2F2F2;
    border: none;
    margin-bottom: 1rem;
    border-radius: 4px;
    padding: 0.5rem 1rem 0.5rem 1rem;
    font-weight: 700;
}

.cb-input-group input, .cb-input-group select{
    height: 38px;
    line-height: 38px;
}

.cb-input-group--danger input, .cb-input-group--danger input:focus{
    box-shadow: 0 0 0 0.125rem var(--danger-color-0);
}
.cb-input-group--warning input, .cb-input-group--warning input:focus{
    box-shadow: 0 0 0 0.125rem var(--warning-color-0);
}

select {
    background: var(--grey-color-0);
    border: none;
    padding: 0.5rem 1rem;
    font-family: var(--font);
    font-size: var(--font-size-3);
    font-weight: 600;
    border-radius: 0.125rem;
    color: var(--grey-color);
}

select:focus {
    outline: none;
    box-shadow: 0 0 0 0.125rem var(--primary-color);
    color: var(--grey-color-4);
}

.fa.fa-blockly{
    width: 20px;
    height: 20px;
    -webkit-mask-image: url('/static/img/blocos/blockly.svg');
    mask-image: url('/static/img/blocos/blockly.svg');
    -webkit-mask-size: 100%;
    background-color: var(--grey-color);
}

/* Alert */
.cb-alert{
    color: #fff;
    width: 100%;
    border-radius: 30px;
    font-size: 0.8em;
    padding: 2px 20px;
    font-weight: 500;
    text-align: center;
}
.cb-alert--success{
    background-color: var(--success-color-0);
}
.cb-alert--danger{
    background-color: var(--danger-color-0);
}
.cb-alert--warning{
    background-color: var(--warning-color-0);
}

@media screen and (max-width: 1280px) {
    .cb-btn{
        padding: var(--font-size-8px) 1rem;
        border-radius: 1.4rem;
    }
    .cb-btn-circle{
        width: 36px;
        height: 36px;
    }
}

