/* Option page*/
.options-social-articles .form-table tr {
    background: none repeat scroll 0 0 #F9F9F9;
    border: 1px solid #E4E4E4;
    margin: 0;
    padding-left: 3px;
}

.options-social-articles .form-table td p {
    color: #AAA;
    font-size: 10px;
}

.options-social-articles .form-table label {
    font-size: 12px;
}

.options-social-articles .form-table input {
    width: 100%;
    padding: 5px;
    resize: none;
}

.options-social-articles .form-table input[type="checkbox"]{
    width: auto;
}

/* PostBox*/
.postbox#social-articles-donation {
    border-color: #3ac7f3;
    border-width: 2px;
}

.postbox .submitbutton {
    float: right;
    margin-top: 10px;
}

strong.blue {
    color: #3ac7f3;
    font-weight: bold;
    font-size: 105%;
}

/*Premium Features*/
#social_articles_premium_options h3 span{
    color: #3AC7F3;
    font-weight: bold;
}

.premium-feature  .premium-title{
    width: 100%;
    display: block;
    min-height: 40px;
}

.premium-feature .premium-title img {
    float: left;
}

.premium-feature  .premium-title h1 {
    color: #c94035;
    float: left;
    margin-left: 10px;
}

.premium-feature ul {
    margin-left: 5px;
}

.premium-feature ul li {
    margin-left: 15px;
}

.premium-feature ul li small {
    color: #999;
    display: block;
}

.modified-field{
    background-color: #ffd761 !important;
}

.editable-field{
    background-color: #0073aa !important;
}

.original-field{
    background-color: #666666
}

/*TABS*/
.sa-tab{
    background: #FFF;
    padding: 15px;
    height: auto;
    float: left;
    width: calc( 100% - 30px);
}

.options-social-articles .postbox-container{
    width: 100%;

}

.options-social-articles .form-table th{
    padding-left: 10px;
}


.options-social-articles .submitbutton{
    margin-top:20px;
}

.sa-tab.active {
    display: block;
}

.sa-tab {
    display: none;
}




/*Form builder*/

/* Floats */

.left {float: left;}
.right {float: right;}

.clear,.clearer {clear: both;}
.clearer {
    display: block;
    font-size: 0;
    height: 0;
    line-height: 0;
}


/*
	Example specifics
------------------------------------------------------------------- */

/* Layout */

#center-wrapper {
    margin: 0 auto;
    width: 920px;
}


/* Columns */

.column {
    margin-left: 2%;
    width: 32%;
}
.column.first {margin-left: 0;}


/* Sortable items */

.sortable-list {
    background-color: #F5F5F5;
    list-style: none;
    margin: 0;
    min-height: 60px;
    padding: 10px;
}
.sortable-item {
    color:#FFF;
    background-color: #666;
    border:none;
    border-radius:3px;
    cursor: move;
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: left;
}

/* Containment area */

#containment {
    background-color: #FFA;
    height: 230px;
}


/* Item placeholder (visual helper) */

.sortable-item{
    float:left;
}



.placeholder {
    background-color: #FFF;
    border: 1px dashed #666;
    height: 35px;
    margin-bottom: 5px;
    float:left;
    width: 47%;
    margin: 1%;
    border-radius:3px;
}

.sa-field-factory{
    width:20%;
    margin-right:1%;
}

.sa-field-factory .placeholder {
    width:100% !important;
}

.sa-field-factory .sortable-item{
    width:100%;
}

.sortable-list{
    float:left;
    width:100%;

}

.sa-form .sortable-list {
    min-height:400px;
    padding-right:0;
}

.sa-form{
    width:50%;
}


.sa-form .sortable-item{
    margin: 1%;
    position:relative
}

.sa-form .sa-halfwidth{
    width: 47.5%;
}

.sa-form .sa-fullwidth{
    width: 97%;

}

.sa-form .resizable-controls,
.sa-form .field-controls{
    display:block !important;
}

.resizable-controls{
    float: left;
    width: 44px;
    background: #C4C4C4;
    text-align: center;
    border-radius: 3px 0 0 3px;
    padding: 4px 0 4px 0;
}

.resizable-controls span{
    cursor: pointer;
    width: 15px;
    float: left;
    padding: 0 3px;
}
.resizable-controls span.half{
    border-left:1px solid !important;
}

.sa-field-size-indicator{
    width:38px !important;
    border:none !important;
    border-bottom:1px solid !important;

}

.sa-field-content{
    margin-left:15px;
    padding: 13px 0 9px;
    float:left;
}


.field-controls{
    display: block;
    float: right;
    width: 14px;
    background: #838383;
    height: 45px;
    padding: 0 3px;
    border-radius: 0 3px 3px 0;
    text-align:center;
}

.field-controls span.sa-icon-container{
    width: 14px;
    float: left;
    height: 15px;
    padding-top: 3px;
    font-size: 13px;
    font-weight: normal;
    cursor: pointer !important;
}


span.sa-icon-container .dashicons {
    width: 16px;
    height: 20px;
    font-size: 16px;
}

.sa-field-config{
    width: 25%;
}


.field-config-form-container label{
    float: left;
    width: calc(100% - 10px);
    padding: 5px;
    background: #F5F5F5;
    font-weight: bold;
    line-height: 14px;
    font-size: 12px;
}
.field-config-form-container p{
    border: 1px solid #ddd;
    position: relative;
    min-height: 38px;
}

.field-config-form-container p select{
    margin-top: 5px;
}

.field-config-form-container p i.fa-info-circle{
    float: right;
    margin-top: 12px;
    margin-right: 9px;
    font-size: 18px;
    position: absolute;
    right: 0;
    top: 0;
}

.field-config-form-container input{
    border: none !important;
    width: calc(100% - 10px);
    box-shadow: none !important;
    line-height: 20px;
    border-bottom: 1px solid #b4b9be !important;
    margin-left: 5px;
    margin-bottom: 5px;
    margin-top: 5px;
    padding-left: 0;
}

.field-config-form-container input[type="checkbox"]{
    width: auto;
    height: 26px !important;
    margin-left: 5px;
    border: 1px solid #dcd9d9 !important;
    margin-bottom: 5px !important;
    margin-top: 7px !important;
    padding: 6px !important;
    padding-bottom: 17px !important;
}


.field-config-actions{
    border: none !important;
    text-align: right;
    font-size: 18px;
    position: static !important;
}

a.ok-button {
    padding: 5px 10px;
    color: #fff;
    background: #0073aa;
    max-width: 34px !important;
    display: inline-block;
    text-decoration: none;
    line-height: 22px;
    border-radius: 3px;
}

a.cancel-button {
    padding: 5px 12px;
    color: #fff;
    background: #666666;
    max-width: 34px !important;
    display: inline-block;
    text-decoration: none;
    line-height: 22px;
    border-radius: 3px;
}

.field-config-form-container{
    border: 2px solid #ddd;
    padding: 0 10px;
    border-radius: 2px;
}

.field-config-form-container h4{
    text-transform: uppercase;
}

#changes-detected-message{
    display: none;
    font-weight: normal;
    float: right;
}


.sa-bk-field-container {
    border: 1px solid #ddd;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.sa-inner-label{
    float: left;
    width: 100%;
    padding: 5px 5px 0 5px;
}

/*Switch*/
.onoffswitch {
    position: relative; width: 70px;
    display: inline-block;
    margin-left: 5px;
    margin-top: 10px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.onoffswitch-checkbox {
    display: none !important;
}
.onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border: none;
    border-radius: 46px;
    float: initial !important;
    padding: 0 !important;
    background: none !important;
    width: 100% !important;
}
.onoffswitch-inner {
    display: block; width: 200%; margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block; float: left; width: 50%; height: 33px; padding: 0; line-height: 33px;
    font-size: 12px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    box-sizing: border-box;
}
.onoffswitch-inner:before {
    content: attr(data-yes);
    padding-left: 10px;
    background-color: #00B5D1; color: #FFFFFF;
}
.onoffswitch-inner:after {
    content: attr(data-no);
    padding-right: 10px;
    background-color: #EEEEEE; color: #999999;
    text-align: right;
}
.onoffswitch-switch {
    display: block;
    width: 14px;
    margin: 8px;
    background: #FFFFFF;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 37px;
    border: 2px solid #FFFFFF;
    border-radius: 46px;
    transition: all 0.3s ease-in 0s;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px;
}