/*--------------------------------------------------------------
This is the Our News Creds stylesheet.

Credits: http://buddyboss.com/
--------------------------------------------------------------*/

.blocker {
    z-index: 999 !important;
}

#modal-creds.modal {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    background: #FAFAFA;
    border: 2px solid #656464;
    padding: 0;
}

.modal-heading {
    background: #dedede;
    padding: 0;
    height: 25px;
    border-bottom: 2px solid #656464;
}

.modal-info {
    padding: 20px;
}

.modal-close {
    float: right;
    padding: 0 5px;
}

#dialog-creds {
    display: none;
}

.creds-uni-action .fa {
    font-family: FontAwesome;
}

.fa-facebook-square {
    color: #3B5998;
}

.fa-twitter-square {
    color: #00ACEE;
}

.fa-linkedin-square {
    color: #0E76A8;
}

.fa-google-plus-square {
    color: #DD4B39;
}

.fa-question-circle {
    color: #d8d4d8;
}
/*
.file-upload .fa {
    padding: 25px 0;
}
*/

.file-upload a.on-change-profile {
    cursor: pointer;
    display: inline-block;
}

.file-upload a.on-change-profile label {
    cursor: pointer;
}

.entry-content .file-upload img.on-default-profile {
    max-width: 80px !important;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.file-upload label img {
    max-width: 80px !important;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.on-creds-iconbtn a.on-creds-action,
.file-upload .fa {
    font-size: 80px;
}

/*jquery-ui-dialog*/
.ui-dialog {
    padding: 0;
    /*background: #fafafa;*/
    font-family: Roboto;
    font-size: 1.5em;
    z-index: 1000 !important;
    background: rgba(253, 253, 253, 1);
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.8);
    -moz-box-shadow: 0 0 3px rgba(0,0,0,0.8);
    -o-box-shadow: 0 0 3px rgba(0,0,0,0.8);
    -ms-box-shadow: 0 0 3px rgba(0,0,0,0.8);
    box-shadow: 0 0 3px rgba(0,0,0,0.8);
}

.ui-dialog.ui-corner-all,
.ui-dialog-titlebar.ui-corner-all {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    border: 0;
}

.ui-dialog .ui-dialog-titlebar {
    padding: .6em 1em;
}

.ui-dialog-titlebar {
    border-bottom: 1px solid #66428c;
    background: #66428c;
    color: #fff;
}

.ui-dialog.ui-widget-content {
    border: 0px solid #656464;
}

.ui-button-icon-only .ui-button-text,
.ui-button-icon-only {
    outline: none;
}

.dialog-options {
    padding: 5px 0 10px;
}

.dialog-options .loading-container{
    float: left;
    margin-right: 5px;
}

a.creds-dialog-opt1,
a.creds-dialog-opt1:visited,
a.creds-dialog-opt1:link,
a.creds-dialog-opt2,
a.creds-dialog-opt2:visited,
a.creds-dialog-opt2:link,
a.creds-dialog-opt3,
a.creds-dialog-opt3:visited,
a.creds-dialog-opt3:link {
    display: inline-block;
    padding: 7px 20px;
    background: #4D2A7D;
    border: 0;
    color: #fff;
    font-weight: bold;
}

a.creds-dialog-opt1:hover,
a.creds-dialog-opt2:hover,
a.creds-dialog-opt3:hover {
    background: #7d01d7;
    color: #fff !important;
    border-color: #656464 !important;
}

a.creds-dialog-opt2 {
    float: right;
}

.ui-dialog .ui-dialog-content {
    padding: 30px 40px 20px;
}

.dialog-content p {
    margin: 0 0 25px;
}

.ui-widget-overlay.ui-front {
    background: #000;
    opacity: 0.4;
    position: fixed;
}

.ui-state-default.ui-dialog-titlebar-close {
    background: transparent;
    border: 0;
}

html .ui-icon.ui-icon-closethick:after {
    font-family: FontAwesome;
    color: #fff;
}

.ui-dialog .ui-icon-closethick:after {
    content: '\f00d';
}

.creds-link-dialog {
    display: none;
}

.fixed-dialog {
    position: fixed;
    top: 150px;
}
/*jquery-ui-dialog end*/

.invite-btn-container a{
    float: right;
    max-width: 200px;
    background: #4D2A7D;
    color: #fff !important;
    padding: 10px 0 8px;
    min-width: 200px;
    display: inline-block;
    font-weight: bold;
    margin-right: 5px;
    text-align: center;
}

.invite-btn-container a:hover{
    color: #EDE9E3 !important;
}

.on-credstable-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    /*-moz-box-shadow: 2px 2px 1px 0 rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 2px 2px 1px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 2px 2px 1px 0 rgba(0, 0, 0, 0.2);*/
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 30px 0;
}

.on-creds-cell {
    background: #F2F2F2;
    /*border-top: 1px solid #7b7b7b;
    border-left: 1px solid #7b7b7b;*/
    margin: 5px;
    -webkit-box-flex:  0 0 calc(33.333% - 10px);
    -ms-flex:  0 0 calc(33.333% - 10px);
    flex:  0 0 calc(33.333% - 10px);
    padding: 15px;
    text-align: center;
    min-height: 100px;
}
/*
.on-credstable-wrap .on-creds-col-1 {
    border-left: 0;
}

.on-credstable-wrap .on-creds-cell:nth-child(1),
.on-credstable-wrap .on-creds-cell:nth-child(2),
.on-credstable-wrap .on-creds-cell:nth-child(3) {
    border-top: 0;
}
*/
.on-creds-fa {
    background: #CA2928;
    background: -moz-linear-gradient(top, #b1575f 0%, #951c1e 100%);
    background: -webkit-linear-gradient(top, #b1575f 0%,#951c1e 100%);
    background: linear-gradient(to bottom, #b1575f 0%,#951c1e 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b1575f', endColorstr='#951c1e',GradientType=0 );
    display: inline-block;
    width: 22px;
    height: 22px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    border: 1px solid #fff;
    line-height: 20px;
    -webkit-box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0 2px;
}

.on-creds-fa.on-creds-close {
    background: #CA2928;
    background: -moz-linear-gradient(top, #cf7879 0%, #c86465 47%, #bf443f 49%, #bb372f 100%);
    background: -webkit-linear-gradient(top, #cf7879 0%,#c86465 47%,#bf443f 49%,#bb372f 100%);
    background: linear-gradient(to bottom, #cf7879 0%,#c86465 47%,#bf443f 49%,#bb372f 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cf7879', endColorstr='#bb372f',GradientType=0 );
}

.on-creds-fa.on-creds-plus {
    background: #759edf;
    background: -moz-linear-gradient(top, #759edf 0%, #316ed0 100%);
    background: -webkit-linear-gradient(top, #759edf 0%,#316ed0 100%);
    background: linear-gradient(to bottom, #759edf 0%,#316ed0 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#759edf', endColorstr='#316ed0',GradientType=0 );
}

.on-creds-fa:hover {
    border-color: #fff !important;
}

.on-creds-fa .fa {
    color: #fff;
    line-height: 20px;
    font-size: 12px;
}

.on-creds-fa.on-creds-plus .fa {
    line-height: 22px;
}

.on-creds-name {
    font-weight: bold;
    padding: 0 0 5px;
}

.on-creds-subheading {
    font-weight: bold;
    padding: 0 0 5px;
}

.on-creds-amount {
    font-size: 0.9em;
}

.creds-uni-action {
    padding: 25px 0;
}

.on-creds-btn a.on-creds-action {
    background: #4D2A7D;
    color: #fff;
    padding: 10px 0 8px;
    min-width: 75%;
    display: inline-block;
    font-weight: bold;
}

.creds-uni-action a.on-creds-action:hover {
    color: #EDE9E3 !important;
    border-color: #272A2D !important;
}

.creds-uni-action a.on-inactive {
    background: #d8d4d8;
}

.creds-uni-action a.on-inactive:hover {
    border-color: #CBCBCB !important;
}

/*switch button*/
.on-creds-switch-btn {
    padding: 25px 0;
}

.onoffswitch {
    position: relative;
    width: 80px;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select: none;
    margin: 30px auto 0;
}

.onoffswitch-checkbox {
    display: none;
}

.onoffswitch-label {
    display: block;
    overflow: hidden;
     cursor: pointer;
    border: 0;
    border-radius: 20px;
}

input[type="checkbox"] + label.onoffswitch-label {
    left: 0;
}

.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;
    text-align: left;
    width: 50%;
    height: 23px;
    padding: 0;
    line-height: 23px;
    font-size: 14px;
    color: white;
    font-family: Trebuchet, Arial, sans-serif;
    font-weight: bold;
    box-sizing: border-box;
}

.onoffswitch-inner:before {
    content: "ON";
    padding-left: 10px;
    /*background-color: #34A7C1;*/
    background: #0380ea;
    color: #FFFFFF;
}

.onoffswitch-inner:after {
    content: "OFF";
    padding-right: 10px;
    background-color: #969696;
    color: #ffffff;
    text-align: right;
}

.onoffswitch-switch {
    display: block;
    width: 19px;
    margin: 2px;
    background: #fff;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 56px;
    border: 0;
    border-radius: 20px;
    transition: all 0.3s ease-in 0s;
    -webkit-box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px;
}
/*switch button end*/

.file-upload > input#file-input {
    display: none;
}

.on-creds-profile {
    cursor: pointer;
}

.creds-uni-action {
    min-height: 130px;
}


/* Save Phone Number */
#dialog_configure_phone .ournews_phone_num{
    width: 100%;
}
#dialog_configure_phone .field-visibility-settings-toggle{
    display: block;
    margin-top: 5px;
    margin-bottom: 15px;
}
#dialog_configure_phone .description{
    font-size: 12px;
    font-style: italic;
    margin-top: 5px;
    margin-bottom: 15px;
}

@media screen and (max-width: 768px) {

    .on-creds-cell {
        -webkit-box-flex:  0 0 calc(50% - 10px);
        -ms-flex:  0 0 calc(50% - 10px);
        flex:  0 0 calc(50% - 10px);
    }

}

@media screen and (max-width: 550px) {

    a.creds-dialog-opt2,
    a.creds-dialog-opt3 {
        float: none;
        margin: 15px 0 0;
    }

}

@media screen and (max-width: 480px) {

    .on-creds-cell {
        -webkit-box-flex:  0 0 calc(100% - 10px);
        -ms-flex:  0 0 calc(100% - 10px);
        flex:  0 0 calc(100% - 10px);
    }

}