::-webkit-input-placeholder { 
    color:rgb(130,130,130);
    opacity: 1;
}
::-moz-placeholder {
    color:rgb(130,130,130); 
    opacity: 1;
} /* firefox 19+ */
:-ms-input-placeholder {
    color:rgb(130,130,130); 
    opacity: 1;
} /* ie */
input:-moz-placeholder {
    color:rgb(130,130,130);
    opacity: 1;
}

.rutanCMS form label{
    font-family: 'Rutan-Medium';
}

.rutanCMS form.visible{
    outline:2px solid rgb(217,217,217);
    outline-offset: 10px;
}

.rutanCMS input,
.rutanCMS textarea,
.rutanCMS select,
.rutanCMS option{
    background: rgba(0,0,0,0.10);
    padding: 6px 12px;
    resize: none;
    margin-bottom:10px;
    width:100%;
    border-radius: 0;
    font-size:16px;
    outline-offset: -2px; /* CHROME BUG JUMPING OUTLINE */
}



body.firefox  .rutanCMS select{
    padding: 0px 12px;

}

body.firefox  .rutanCMS option{
    padding: 4.5px 12px;
}

body.firefox  .rutanCMS select:-moz-focusring, 
body.firefox .rutanCMS select::-moz-focus-inner{
    color: transparent !important;
    text-shadow: 0 0 0 #000 !important;
    background-image: none !important;
    border:0;
    outline:0;
    outline:none;
}

.rutanCMS textarea{
    resize:vertical;
    min-height:200px;
}
.rutanCMS input.small{
    width: 100px;
}

.rutanCMS input.confirm,
.rutanCMS textarea.confirm,
.rutanCMS select.confirm,
.rutanCMS option.confirm{
    outline:2px solid rgb(124,178,73);
}

.rutanCMS input.error,
.rutanCMS textarea.error,
.rutanCMS select.error,
.rutanCMS option.error{
    outline:2px solid rgb(213,20,25);
}

.rutanCMS input:invalid,
.rutanCMS textarea:invalid,
.rutanCMS select:invalid,
.rutanCMS option:invalid{
    box-shadow: none;
    border:none !important;
}

.rutanCMS form label.disabled{
    opacity: 0.5;
}

.rutanCMS input[type="search"]::-webkit-search-decoration,
.rutanCMS input[type="search"]::-webkit-search-cancel-button,
.rutanCMS input[type="search"]::-webkit-search-results-button,
.rutanCMS input[type="search"]::-webkit-search-results-decoration { 
    display: none; 
}

.rutanCMS header input,
.rutanCMS header textarea,
.rutanCMS header select,
.rutanCMS header option,
main > div.content > header input,
main > div.content > header textarea,
main > div.content > header select,
main > div.content > header option{
    background: rgba(255,255,255,0.15);
}
.rutanCMS select[multiple]{
    padding:8px;
}
.rutanCMS select[multiple] option{
    padding:2px 10px;
    margin-bottom: 4px;
    background:none;
    position: relative;
}

.rutanCMS select[multiple] option:last-child{
    margin-bottom: 10px;
}

.rutanCMS select[multiple] option:checked{
    background:  rgba(0,0,0,0.10) linear-gradient(0deg,  rgba(0,0,0,0.10) 0%,  rgba(0,0,0,0.10) 100%);
}

.rutanCMS select{
    -webkit-appearance: none; 
    -moz-appearance: none;
    appearance: none;
    margin:0;
    margin-bottom: 10px;
}
.rutanCMS button, 
.rutanCMS .button {
    padding: 4px 12px;
    cursor: default;
    display: inline-block;
    cursor: pointer;
    background: rgb(52,52,52);
    display: inline-block;
    border: none;
    border-radius: 0;
    color: #fff;
    line-height: 24px;
    vertical-align: top;
    font-size: 16px;
    overflow: hidden;
    box-shadow: none !important;
    margin-bottom: 5px;
    margin-right: 5px;
    position: relative;
}


.rutanCMS button[disabled],
.rutanCMS .button[disabled],
.rutanCMS input[disabled]{
    background: rgba(0,0,0,0.10);
    color: rgba(0,0,0,0.5);
    cursor:default;
}

.rutanCMS .floatRight button, 
.rutanCMS .rightAlign button,
.rutanCMS .floatRight .button, 
.rutanCMS .rightAlign .button{
    margin-right: 0px;
    margin-left: 5px;
}

.rutanCMS .floatRight button:last-child, 
.rutanCMS .rightAlign button:last-child,
.rutanCMS .floatRight .button:last-child, 
.rutanCMS .rightAlign .button:last-child{
    margin-right: 3px;
}

.rutanCMS .button:after,
.rutanCMS button:after{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
    pointer-events: none;
}

.rutanCMS .button:active:after,
.rutanCMS button:active:after{
    animation: ripple 2s ease;
}

.rutanCMS button.submit, 
.rutanCMS .button.submit {
    background: rgb(235, 91, 37);
    color: #fff;
}

.rutanCMS i + input{
    width:calc(100% - 48px);
    margin-left: 10px;
}
.rutanCMS button span, 
.rutanCMS .button span{
    color:#fff;
}
.rutanCMS button i, 
.rutanCMS .button i{
    color: #fff;
    font-size: 24px;
    vertical-align: top;
    padding: 3px 0px 3px 0;
}

.rutanCMS button i + span, 
.rutanCMS .button i + span{
    margin-left: 15px;
    line-height: 28px;
}

.rutanCMS .button.transparent,
.rutanCMS button.transparent{
    color:initial;
    font-size: initial;
    background: transparent;
}

.rutanCMS .button.transparent i,
.rutanCMS button.transparent i{
    color:rgb(52,52,52);
}

.rutanCMS .button.transparent:active,
.rutanCMS button.transparent:active{
    background:rgba(52,52,52,0.2);
}

.rutanCMS .button.transparent.confirm,
.rutanCMS .button.transparent.confirm i{
    color:rgb(124,178,73);
}

.rutanCMS div.inputGroup input.generate{
    width: calc(100% - 102px);
    display: inline-block;
    float:left;
}
.rutanCMS i.pwGenerate.button.transparent,
.rutanCMS i.clearPWField.button.transparent{
    font-size: 24px;
    line-height: 28px;
    width: 27px;
    margin-left: 0;
    height: 28px;
    margin-bottom: 0;
    background: rgba(0,0,0,0.10);
    margin-right: 0;
    float: left;
}


/****************************** CHECKBOX CHECKBOX***************************/
.rutanCMS input[type="checkbox"].custom {
    margin-left: 0;
    padding: 0;
}

.rutanCMS input[type="checkbox"].custom {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0px;
    border: 0;
}

.rutanCMS input[type="checkbox"].custom+label{
    height: 18px;
    width: 18px;
    display: inline-block;
    cursor: pointer;
    opacity: 1;
    position: relative;
    background:rgba(0,0,0,0.15);
}

.rutanCMS header input[type="checkbox"].custom+label,
main > div.content header input[type="checkbox"].custom+label{
    background:rgba(255,255,255,0.15);
}
.rutanCMS input[type="checkbox"].custom+label:after{
    color: rgb(130,130,130);
    content: "Check";
    font-size: 12px;
    top: -2px;
    left: 1px;
    right: 0;
    bottom: 0;
    position: absolute;
    text-align: center;
    font-family: 'cms-icons-filled';
    color:transparent;
}

.rutanCMS input[type="checkbox"].custom+label:hover:after,
.rutanCMS input[type="checkbox"].custom:checked+label:hover:after{
    color:rgba(130,130,130,0.5);
}

.rutanCMS input[type="checkbox"].custom:checked+label:after {
    color:rgba(130,130,130,1);
}

/****************************** CHECKBOX SWICTH***************************/
.rutanCMS label.checkbox{
    display:flex !important;
    vertical-align: top;
    margin-bottom: 25px;
}
.rutanCMS input[type="checkbox"].switch + div{
    position:relative;
    margin-left: auto;
    margin-top: 3px;
}
.rutanCMS input[type="checkbox"].switch {
    display:none;
}
.rutanCMS input[type="checkbox"].switch + div {
    position: relative;
    display: block;
    width: 36px;
    height: 16px;
    background: rgba(0,0,0,0.15);
    border-radius: 15px;
    transition: all 250ms ease;
}
.rutanCMS header input[type="checkbox"].switch + div,
main > div.content > header input[type="checkbox"].switch + div{
    background: rgba(255,255,255,0.2);
}

.rutanCMS input[type="checkbox"].switch + div div {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 2px 2px 15px #555;
    top: -2px;
    left: -4px;
    transition: left 300ms ease-in-out;
    cursor: pointer;
}
.rutanCMS input[type="checkbox"].switch:checked + div div {
    left:19px;
}
.rutanCMS input[type="checkbox"].switch:checked + div{
    background: rgb(235,91,37);
}
.rutanCMS input[type="checkbox"].switch.confirm + div  {
    background:rgb(124,178,73);
}
.rutanCMS input[type="checkbox"].switch.error + div  {
    background:rgb(213,20,25);
}

/****************************** INPUT ANIMATION ***************************/
.rutanCMS div.inputGroup{ 
    position:relative; 
    padding-top:19px;
}

.rutanCMS div.inputGroup.small{ 
    width: calc(50% - 7px);
    display: inline-block;
}

.rutanCMS div.inputGroup.small.first{
    margin-right: 7px;
}
.rutanCMS div.inputGroup.small.last{
    margin-left: 7px;
    clear:right;
}
.rutanCMS div.inputGroup input,
.rutanCMS div.inputGroup textarea{
    display:block;
    width:100%;
    border:none;
    margin-bottom: 0;
    outline:none;
}

.rutanCMS div.inputGroup label {
    position:absolute;
    pointer-events:none;
    left:5px;
    top:25px;
    transition:0.2s ease all; 
    font-family: 'Rutan-Light';
}
.rutanCMS div.inputGroup select{
    margin-bottom: 0;
}

.rutanCMS div.inputGroup select ~ label {
    top:-5px;
    left:0;
    font-family: 'Rutan-Medium';
}

/* active state */
.rutanCMS div.inputGroup input:not(:placeholder-shown) ~ label,
.rutanCMS div.inputGroup input:placeholder-shown:focus ~ label,
.rutanCMS div.inputGroup textarea:not(:placeholder-shown) ~ label,
.rutanCMS div.inputGroup textarea:placeholder-shown:focus ~ label{
    top:-5px;
    left:0px;
    color:rgb(52,52,52);
    font-family: 'Rutan-Medium';
}

header.rutanCMS  div.inputGroup input:not(:placeholder-shown) ~ label,
header.rutanCMS  div.inputGroup input:placeholder-shown:focus ~ label,
header.rutanCMS  div.inputGroup textarea:not(:placeholder-shown) ~ label,
header.rutanCMS  div.inputGroup textarea:placeholder-shown:focus ~ label{
    color:rgb(130,130,130);
}

.rutanCMS div.inputGroup .bar:before, 
.rutanCMS div.inputGroup .bar:after   {
    content:'';
    height:2px; 
    width:0;
    bottom:0px; 
    position:absolute;
    background:rgb(235,91,37); 
    transition:0.2s ease all; 

}
.rutanCMS div.inputGroup .bar{
    height: 2px;
    position: absolute;
    transition: 0.2s ease all;
    bottom: -2px;
    left: 0;
    width: 100%;
    overflow: hidden;
}
.rutanCMS div.inputGroup input:not(:placeholder-shown).loading ~ .bar,
.rutanCMS div.inputGroup textarea:not(:placeholder-shown).loading ~ .bar{
    background:rgb(235,91,37); 
}

.rutanCMS div.inputGroup .bar:before {
    left:50%;
}
.rutanCMS div.inputGroup .bar:after {
    right:50%; 
}

/* active state */
.rutanCMS div.inputGroup input:focus ~ .bar:before, 
.rutanCMS div.inputGroup input:focus ~ .bar:after,
.rutanCMS div.inputGroup textarea:focus ~ .bar:before, 
.rutanCMS div.inputGroup textarea:focus ~ .bar:after,
.rutanCMS div.inputGroup select:focus ~ .bar:before, 
.rutanCMS div.inputGroup select:focus ~ .bar:after{
    width:50%;
}

.rutanCMS div.inputGroup input:not(:placeholder-shown).loading ~ .bar:before,
.rutanCMS div.inputGroup input:focus:not(:placeholder-shown).loading ~ .bar:before,
.rutanCMS div.inputGroup input:not(:placeholder-shown).loading ~ .bar:after,
.rutanCMS div.inputGroup input:focus:not(:placeholder-shown).loading ~ .bar:after,
.rutanCMS div.inputGroup textarea:not(:placeholder-shown).loading ~ .bar:before,
.rutanCMS div.inputGroup textarea:focus:not(:placeholder-shown).loading ~ .bar:before,
.rutanCMS div.inputGroup textarea:not(:placeholder-shown).loading ~ .bar:after,
.rutanCMS div.inputGroup textarea:focus:not(:placeholder-shown).loading ~ .bar:after,
.rutanCMS div.inputGroup select.loading ~ .bar:before{
    content: "";
    left: -200px;
    width: 200px;
    height: 2px;
    top:0px;
    overflow:hidden;
    background-color: rgb(246,150,23);
    animation: loading 2s linear infinite;
}

.rutanCMS div.inputGroup input.confirm + .bar,
.rutanCMS div.inputGroup input.confirm + .bar:before,
.rutanCMS div.inputGroup input.confirm + .bar:after,
.rutanCMS div.inputGroup textarea.confirm + .bar,
.rutanCMS div.inputGroup textarea.confirm + .bar:before,
.rutanCMS div.inputGroup textarea.confirm + .bar:after{
    background:rgb(124,178,73); 
}

.rutanCMS div.inputGroup input.error + .bar,
.rutanCMS div.inputGroup input.error + .bar:before,
.rutanCMS div.inputGroup input.error + .bar:after
.rutanCMS div.inputGroup input:focus:invalid + .bar,
.rutanCMS div.inputGroup textarea.error + .bar,
.rutanCMS div.inputGroup textarea.error + .bar:before,
.rutanCMS div.inputGroup textarea.error + .bar:after
.rutanCMS div.inputGroup textarea:focus:invalid + .bar{
    background:rgb(213,20,25); 
}


/****************************** RADIO BUTTON ***************************/
.rutanCMS input[type="radio"].custom {
    margin-left: 0;
    padding: 0;
}
.rutanCMS input[type="radio"].custom {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0px;
    border: 0;
}
.rutanCMS input[type="radio"].custom + label{
    height: 18px;
    width: 18px;
    display: inline-block;
    cursor: pointer;
    opacity: 1;
    position: relative;
    border-radius: 50%;
    background:rgba(255,255,255,0.2);

}
.rutanCMS input[type="radio"].custom + label:after{
    background:transparent;
    content:' ';
    width:10px;
    height:10px;
    border-radius: 50%;
    font-size: 12px;
    top: 4px;
    left: 4px;
    position: absolute;
    text-align: center;
    color:transparent;
}

.rutanCMS input[type="radio"].custom:checked+label:after{
    background:rgba(130,130,130,1);
}
.rutanCMS input[type="radio"].custom:not(:checked)+label:hover:after{
    background:rgba(130,130,130,0.5);
}

/****************************** PASSWORD CHECK ***************************/
div.cmslightbox.rutanCMS div#complexity{
    width:100%;
}
div.rutanCMS div#complexity.default{
    border-bottom: 2px solid rgb(217,217,217);
}

div.rutanCMS div#complexity.weak{
    border-bottom: 2px solid rgb(213,20,25);
}

div.rutanCMS div#complexity.strong{
    border-bottom: 2px solid rgb(246,191,59);
}

div.rutanCMS div#complexity.stronger{
    border-bottom:2px solid rgb(124,178,73);
}

div.rutanCMS div#complexity.strongest{
    border-bottom: 2px solid rgb(124,178,73);
}

div.rutanCMS div#complexity{
    padding-bottom: 5px;
    margin-top: 3px;
    width:calc(100% - 25px);
}

div.cmslightbox.rutanCMS div#complexity{
    width:100%;
}
