
*{
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    background-color: #fafbfd;
}

#app-subtitle{
    margin-left: 3rem;
}

/* Application version */
span.version{
    font-size: 75%;
}

/* Timezone */
span.timezone {
    color: #a0a0a0;
    font-size: medium;
}


.main-border{
    margin-top: 0;
    margin: auto;
}

.post-date{
	background: #f4f4f4;
	display: block;
	margin: 2px;
	padding: 4px 0;
}

.project-tab {
    padding: 10%;
    margin-top: -8%;
}
.project-tab #tabs{
    background: #007b5e;
    color: #eee;
}
.project-tab #tabs h6.section-title{
    color: #eee;
}
.project-tab #tabs .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #ff5523;
    background-color: transparent;
    border-color: transparent transparent #f3f3f3;
    border-bottom: 3px solid !important;
    font-size: 16px;
}
.nav-link.active span{
    color: #000000;
}
.project-tab .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
    color: #000000;
    font-size: 16px;
    font-weight: 500;
}
.project-tab thead{
    background: #f3f3f3;
    color: #333;
}
.project-tab a{
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

.app-btn {
    color: #fff;
    background-color: #ff6f45;
    border-color: #ff6f45;
}

.fa-paper-plane{
    background-color: #ff6f45;
}

#app-subtitle{
    font-weight: bold;
    margin-bottom: 2em;
}

.label-dd{
    margin-left: -140px !important;
}

.container.main-content{
    padding: 0 5rem 0 5rem;
}

/* Alert message */

.main-content .alert p{
    background-color: transparent;
}

/* Text Area Fied */
.row-textarea{
    height: 125px;
    margin-left: -8px;
    margin-right: 0px;
}

.col-md-12#textarea-field{
    max-width: 100%;
    float: right;
    padding: 0;
}


/* Check box field */

input[type="checkbox"] {
    visibility: hidden;
    width: 0;
  }
  
input[type="checkbox"] + label:before {
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    content: "\00a0";
    display: inline-block;
    font: 16px/1em sans-serif;
    height: 16px;
    margin: 0.20em .50em 0 0;
    padding: 0;
    vertical-align: top;
    width: 16px;
}
input[type="checkbox"]:checked + label:before {
    background: #fff;
    color: #ff5523;
    content: "\2713";
    text-align: center;
    font-weight: bold;
}
input[type="checkbox"]:disabled + label:before {
    background: #f9f9f9;
}
input[type="checkbox"]:checked + label:after {
    font-weight: bold;  
}

input[type="checkbox"]:focus + label::before {
    outline: rgb(59, 153, 252) auto 5px;
}

.template-check{
    margin-left: -1.9rem;
}

.field-to, .field-name{
    display: inline;
}

/* Name Field */
label.rname{
    margin: auto;
}


/* Inbox message */
.content-message{
    border-radius: .80rem;
    padding: 1em;
    margin-top: -1rem;
    margin-bottom: .5rem;
}

/* Send now button */
#send-message{
    margin-left: -.5rem;
    border-radius: .80rem;
}

/* Date groupings */
.date-header span{
    color: #a0a0a0;
}


/* Sent message */
.sent-color{
    background-color: #d0ffdf;
}
.sent-sms{
    margin-right: 10rem;
}
.sname-snumber{
    margin: 0;
}


/* Receive message */
.receive-color{
    background-color: #e5e5e5;
}
.receive-sms{
    margin-left: 10rem;
}
.rname-rnumber{
    text-align: right;
}

/* Common style */
.sname-snumber span.float-right,
.rname-rnumber span.float-left
{
    color: #a0a0a0;
}

.sent-color span, .sent-color p,
.receive-color span, .receive-color p{
    background-color: transparent;
}
.sent-color span, .receive-color span{
    font-size: small;
}
.name-bold{
    font-weight: bold;
    color: #717171;
}
.content-message p{
    padding-top: .5rem;
}
.fade-time{
    color: #8c8c8c;
}
.fade-num{
    color: #b0b0b0;
}

/* Template message */
.template-color, .template-color p{
    background-color: #ffffff;
}

.content-message.template-color{
    border: 1px solid #afafaf;
    margin-top: 1rem;
}


/* Inbox */
.s-filter{
    display: inline-block;
    width: 50%;
}
.sender-filter{
    display: inline-block;
    width: 80%;
    height: calc(1.2em + 1rem + 2px);
}
.date{
    width: 35%;
    float: right;
}

/* Message pagination & count */
.page-number{
    display: flex !important;
}
input.message-num::-webkit-outer-spin-button,
input.message-num::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.input-number{
    display: inline-block;
    width: 30%;
}
.message-num{
    display: inline-block;
    width: 24%;
}

/* Help section */

/* Notes */
.infos{
    border-radius: .80rem;
}
hr.faq-hr,
hr.error-hr{
    border-top: 1px solid #ff5523;
}
.infos, .title, .info,
div.error, div.error_message, div.conditions,
div.faq, div.question, div.answer{
    background-color: #ffffff;
}

p.error_message, p.conditions,
p.question, p.answer{
    background-color: transparent;
}

div.conditions,
div.answer{
    margin-top: 10px;
    margin-left: 20px;
    align-content: left;
}

span.conditions,
span.answer{
    margin-left: 20px;
}

/* Loading icon */
#loader{
    display: inline-block;
}

/* Info icon*/
.failed-info{
    color: #dc3545 !important;
}
.modal-secondary-btn{
    color: #fff;
    background-color: #dc3545 !important;
    border-color: #dc3545;
}

i.fa-info-circle{
    background-color: transparent !important;
}

/* Modal */
.modal, .modal-dialog{
    background-color: transparent !important;
}


/*** Contacts Page ****/

/* Action Icon */
.add-contact button{
    margin: 0px;
}
.search-contact, .clear-contact{
    margin-top: 27px;
}
.search-contact{
    padding: 0;
    max-width: 120px;
}
.company-input{
    margin-left: 35px;
}
#contact-company{
    border: none;
    border-bottom: 1px solid #ced4da;
}

/* Phone Number */
.intl-tel-input{
    display: block;
    margin-left: 35px;
}
#error-msg, #valid-msg{
    margin-left: 35px;
}
#error-msg{color: #ea4335;}
#valid-msg{color: #34a853;}


/* Edit Contact */
#contact-id{
    display: none;
}

@media (min-width: 1800px){
    /* Text Area Fied */
    .row-textarea{
        margin-left: -1px;
    }

    .template-check{
        margin-left: -1.5rem;
    }

    #send-message{
        margin-left: 0rem;
    }

    /* Message pagination & count */
    .input-number{
        width: 30%;
    }
    .message-num{
        width: 25%;
    }
}

@media (max-width: 1250px){

    #app-subtitle{
        margin-left: 1.5rem;
    }

    /* Text Area Fied */
    .row-textarea{
        height: 125px;
        margin-left: -40px;
        margin-right: -13px;
    }

    .col-md-12#textarea-field{
        max-width: 97%;
        float: right;
        padding: 0;
    }

    .template-check{
        margin-left: -4.2em;
    }

    #send-message{
        margin-left: -3em;
        border-radius: .80rem;
    }

    .container.main-content{
        padding: 0 2rem 0 8rem;
    }

    /* Name Field */
    label.rname{
        margin-left: -10px;
    }
    
    .receive-sms{
        margin-left: 5rem;
    }
    
    .sent-sms{
        margin-right: 5rem;
    }

    /* Inbox */
    .sender-filter{
        height: calc(1.1em + 1rem + 2px);
    }

    /* Message pagination & count */
    .input-number{
        width: 37%;
    }
    .message-num{
        width: 25%;
    }
    
}

@media (max-width: 995px){
    .main-border{
        flex: 0 0 105%;
        max-width: 105%;
    }
    .to-input{
        flex: 0 0 85%;
        max-width: 85%;
        margin-bottom: 12px;
    }
    .template-input, .to-input, .from-input{
        margin-left: -10px;
    }
    label.label-to, label.label-from{
        text-align: left !important;
    }
    label.rname{
        margin: 0px;
        max-width: 16.666667%;
    }
    .to-input, .name-input{
        flex: 0 0 83.5%;
    }
    .name-input{
        max-width: 85% !important;
        margin-left: 10px;
    }
    .col-md-12#textarea-field{
        max-width: 96%;
        margin-left: -5px;
    }
    .template-check {
        margin-left: -4.5em;
    }
    #send-message {
        margin-left: -3.3em;
    }

}

@media (max-width: 750px){
    .main-border{
        flex: 0 0 105%;
        max-width: 105%;
    }
    .row{
        margin-right: -40px;
        margin-left: -40px;
    }
    label.rname {
        margin-left: -10px;
    }
    .name-input{
        margin-left: 0px;
    }
    .name-input, .to-input{
        flex: 0 0 100%;
        max-width: 100% !important;
    }
    .label-template{
        text-align: left !important;
        margin-left: -10px;
    }
    label.label-to, 
    label.label-from,
    label.rname,
    .label-template, 
    input#receiverName{
        margin-left: -10px;
    }

    .col-md-12#textarea-field {
        float: left !important;
        margin-left: -95px;
        flex: 0 0 117%;
        max-width: 117%;
    }
    .template-check {
        margin-left: -11em;
    }
    #send-message {
        margin-left: -10em;
    }
    .input-number {
        width: 40%;
    }
}

@media (max-width: 280px){
    span.timezone {
        font-size: 14px;
        float: none !important;
        margin-left: 30px;
    }
    .sender-filter {
        width: 95%;
    }
    .col-md-12#textarea-field {
        flex: 0 0 138%;
        max-width: 138%;
    }
    .inbox-menu, .template-menu{
        width: 180px;
    }
    .input-number {
        width: 70%;
    }
    .content-message {
        margin-top: 0px;
    }
    .sname-snumber span, .rname-rnumber span{
        font-size: 12px !important;
    }
    .sent-status {
        float: none !important;
    }
}
