/*
* NOTE: Must be in sync with /CtApp/Content/styles/base/base.style.js file!
*/

html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body *{
    color: inherit;
}

h1, h2, h3, h4, h5, h6{
    margin: 0;
}

label{
    margin: 0;
}

ul{
    margin: 0;
    padding: 0;
    list-style: none;
}


a,
a:hover,
a:focus{
    cursor: pointer;
    outline: none;
    text-decoration: none;
}

textarea,
input[type='text'],
input[type='email']{
    -webkit-appearance: none;
    line-height: 1.5rem;
}

.ct-btn{
    position: relative;
    display: inline-block;
    border: none;
    outline: 0;
    border-radius: 2px;
    cursor: pointer;
    box-shadow: none;

    vertical-align: middle;

    height: auto;
    padding: .5rem 1.5rem;

    color: #ffffff;
    background-color: #424C55;

    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;

    -webkit-tap-highlight-color: transparent;
}
.ct-btn > * {
    cursor: pointer;
}
.ct-btn:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 2px;
    background-color: #000000;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease-in-out, visibility 0s .2s;
}
.ct-btn:active:after {
    transition: opacity .2s ease-in-out, visibility 0s;
    visibility: visible;
    opacity: .1;
}

.ct-btn-raw{
    position: relative;
    height: auto;
    margin: 0;
    padding: 0;
    border: none;
    outline: 0;
    background-color: transparent;
    cursor: pointer;
    text-align: left;
    box-shadow: none;

    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;

    -webkit-tap-highlight-color: transparent;
}
.ct-btn-raw > * {
    cursor: pointer;
}


.ct-btn-flat{
    position: relative;
    height: auto;
    margin: 0;
    padding: .2rem .3rem;
    border: none;
    outline: 0;
    background-color: transparent;
    cursor: pointer;
    text-align: left;
    border-radius: 2px;
    box-shadow: none;

    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;

    -webkit-tap-highlight-color: transparent;
}
.ct-btn-flat > * {
    cursor: pointer;
}
.ct-btn-flat:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 2px;
    background-color: #000000;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease-in-out, visibility 0s .2s;
}
.ct-btn-flat:active:after {
    transition: opacity .2s ease-in-out, visibility 0s;
    visibility: visible;
    opacity: .1;
}

.ct-btn-lite{
    position: relative;
    display: inline-block;
    border: 1px solid #eeeeee;
    background-color: transparent;
    outline: 0;
    border-radius: 2px;
    cursor: pointer;
    box-shadow: none;

    vertical-align: middle;

    height: auto;
    padding: .5rem 1.5rem;

    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;

    -webkit-tap-highlight-color: transparent;

    color: var(--MajorColor);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#f9fafb));
    background-image: linear-gradient(to bottom, #ffffff, #f9fafb);
}
.ct-btn-lite:active {
    border: 1px solid #dddddd;
}
.ct-btn-lite > * {
    cursor: pointer;
}
.ct-btn-lite:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 2px;
    background-color: #000000;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease-in-out, visibility 0s .2s;
}
.ct-btn-lite:active:after {
    transition: opacity .2s ease-in-out, visibility 0s;
    visibility: visible;
    opacity: .1;
}

/* remove and fix box-shadow inherited from old ct-styles */
.ct-btn:active,
.ct-btn-raw:active,
.ct-btn-lite:active,
.ct-btn-flat:active{
    box-shadow: none;
}

.ct-card{
    overflow: hidden;
    border-radius: 3px;
    -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}