.hidden {
    display: none !important;
}

.inline {
    display: inline;
}

.inline-block {
    display: inline-block;
    vertical-align: top;
}

.pull-right {
    float: right;
}

.pull-left {
    float: left;
}

.clearfix:after { 
   content: " ";
   display: block; 
   height: 0; 
   clear: both;
}

.indent {
    margin-left: 30px;
}

.text-disabled {
    color: #999;
}

.click-pointer {
    cursor: pointer;
}

.info-pointer {
    cursor: help;
}

.form {
    background-color: #AAA;
    border: 1px solid #000;
    border-radius: 5px;
    padding: 10px 10px;
    margin: 10px 10px;
}

.slidable-form {
    display:none;
}

.floating-popup {
    display:none;
    position: absolute;
    width: 100%;
    background-color: #AAA;
    border: 1px solid #000;
    border-radius: 5px;
    padding: 10px 10px;
    z-index: 999;
}

.anim-rotate {
    -webkit-animation:spin 4s linear infinite;
    -moz-animation:spin 4s linear infinite;
    animation:spin 4s linear infinite;
}
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

.setup-error {
    background-color: #F00;
    padding: 10px 10px;
    margin: 10px 10px;
    margin-left: 0;
}

.setup-error p {
    font-style: italic;
}

#confirmation-popup {
    position: fixed;
    max-width: 95%;
    width: 400px;
    left: 50%;
    z-index: 999;
    
    transform: translateX(-50%);
    moz-transform: translateX(-50%);
    webkit-transform: translateX(-50%);
}

#background-hijack {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 900;
    opacity: 0.3;
    
    background-color: #000;
}

#confirmation-popup .floating-popup {
    position: relative;
    top: 100px;
    background-color: #FFF;
    border: 3px solid #000;
}

#confirmation-popup .confirmation-warning {
    color: #F00;
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 15px;
}

#confirmation-popup .confirmation-actions {
    margin-top: 30px;
}

#confirmation-popup input {
    margin-right: 7px;
}

#gaep-options {
    margin-bottom: 50px;
}

.option-block {
    margin-bottom: 20px;
}

.option {
    line-height: 1.1em;
    font-size: 1.1em;
}

.option-explanation {
    margin-left: 15px;
    color: #777;
    font-size: 0.9em;
}

.extra-header {
    font-weight: bold;
}

.selector-wrapper {
    display: block;
    border: 1px solid #000;
    border-radius: 5px;
    padding: 10px 10px;
    padding-top: 0;
    margin: 10px 10px;
    margin-left: 0;
    width: auto;
}

.selector {
    display: inline-block;
    width: 200px;
}

.selector:first-child {
    margin-left:1.5%;
}

.selector:not(:last-child) {
    margin-right: 3%;
}

.selector select {
    width: 100%;
    margin-bottom: 10px;
}

.selector.experiment {
    display: block;
    width: 250px;
}

.experiment-header {
    margin-bottom: 20px;
}

.exp-info-display {
    font-weight: 600;
}

#experiment-goals-list {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#misc-publishing-actions label:before {
    display: inline-block;
    font: normal 20px/1 dashicons;
    padding: 0 5px 0 0;
    vertical-align: top;
}

#misc-publishing-actions label[for="exp_goal"]:before {
    content: "\f227";
}

#misc-publishing-actions label[for="exp_status"]:before {
    content: "\f173";
}

#misc-publishing-actions label[for="exp_property"]:before {
    content: "\f183";
}

#misc-publishing-actions label[for="exp_view"]:before {
    content: "\f498";
}

.experiment-contents {
    margin-right: 310px;
}

.experiment-contents input#experiment-name {
    height: 1.7em;
    line-height: 100%;
    font-size: 1.7em;
    padding: 3px 8px;
    width: 100%;
}

#info-button-wrapper {
    position: relative;
    display: inline;
}

#info-button-wrapper .floating-popup {
    width: 280px;
    left: 15px;
    top: 15px;
}

.editable-experiment-name {
    margin-bottom: 15px;
}

.editable-experiment-name img,
#experiment-saving {
    width: 24px;
    height: auto;
    margin-left: 5px;
    vertical-align: middle;
}

.save-experiment-wrapper {
    width: 280px;
    margin: 0 15px;
}

.save-experiment-wrapper .inside {
    padding: 0;
    margin-bottom: 0;
}

.save-experiment-wrapper .experiment-action {
    float: none !important;
    clear: both;
}

img#experiment-saving {
    margin-right: 5px;
    vertical-align: middle;
}

.start-action,
.start-action a {
    color: #0F0;
}

.delete-action,
.delete-action a {
    color: #F00;
}

.variants-wrapper {
    width: 100%;
}

.variant {
    width: 100%;
}

.variant textarea {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.variant-name {
    padding: 5px 10px;
}

.variant-name img {
    width: 24px;
    height: auto;
    margin-left: 10px;
    vertical-align: middle;
}

.variant-name-label {
    font-size: 1.3em;
    font-weight: 400;
}

img#settings-saving,
img.saving-loading {
    width: 24px;
    height: auto;
    vertical-align: middle;
}

img.saving-loading {
    position: absolute;
    bottom: -7px;
    right: 3px;
}

.form-header {
    font-weight: bold;
    font-size: 1.1em;
}

#form-experiment-name {
    text-decoration: underline;
}

.form#new-experiment-form {
    width:450px;
}

#new-exp-loading {
    width: 32px;
    height:auto;
}

.form input[type=submit] {
    margin: 0 5px;
}

form#auth img {
    width: 32px;
    height: auto;
    vertical-align: middle;
}

#auth-token-next {
    cursor: pointer;
}

/* Experiments table list */
.wp-list-table .column-name img {
    width: 32px;
    height : auto;
    margin-right: 20px;
    vertical-align: middle;
}

.wp-list-table .column-nb_variations {
    width: 80px;
}

.wp-list-table .column-ga_property,
.wp-list-table .column-ga_view {
    width: 125px;
}
/* End experiment table style */

@media screen and (max-width: 400px) {
    .form#new-experiment-form {
        width:250px;
    }

    .selector.experiment {
        width: 200px;
    }
}