/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
    outline: none;
}

html {
    font-size: 0.75em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.input-box-wrap {
    width: 600px;
    border: 1px solid #D8D8D8;
    margin: 20px auto 0;
    padding: 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
    .input-box-wrap a,
    .modal-box a {
        color: #0070A3;
        text-decoration: none;
        cursor: pointer;
    }
        .input-box-wrap a:hover,
        .modal-box a:hover {
            text-decoration: underline;
        }
        .input-box-wrap a > i.fa,
        .input-box-wrap li > i.fa,
        .modal-box a > i {
            margin: 0 4px 0 0;
            font-size: 14px;
        }

.input-box-head {
    margin: 0 0 5px;
}

.input-box-menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
    float: left;
}
    .input-box-menu > li {
        float: left;
        color: #0070A3;
        margin: 0 0 0 5px;
        padding: 0 0 0 5px;
        border-left: 1px solid #0070A3;
    }
        .input-box-menu > li:first-child {
            margin: 0;
            padding: 0;
            border: none;
        }
        .input-box-menu.wo-sep > li {
            border: none;
        }

.input-box-body {

}

.number-add {
    text-align: center;
    padding: 5px 0 0;
    border-top: 1px solid #D8D8D8;
    margin: 0 0 5px;
}

.message-block textarea,
.templ-editor-area textarea {
    resize: vertical;
    width: 100%;
    height: 100px;
    overflow: auto;
    outline: 0;

    border: 1px solid #D5D5D5;

    background: white;
    font-size: 12px;
    padding: 6px 4px 5px;
    margin: 0;
}
.templ-editor-area input[type="text"] {
    width: 100%;
}
.message-ctrl {
    margin: 5px 0 0 0;
}

.count-wrap {
    width: 460px;
    height: 30px;
}
    .count-wrap > div {
        height: 50%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        line-height: 14px;
        font-size: 10px;
    }

.sms-count {
    color: #FFFFFF;
    background: #748DA9;
    border: 1px solid #405368;
    -webkit-border-radius: 2px 2px 0 0;
    -moz-border-radius: 2px 2px 0 0;
    border-radius: 2px 2px 0 0;
}
.sms-part {
    display: inline-block;
    width: 11.11%;
    background: #546C87;
    border-right: 1px solid #405368;
    text-align: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.sms-part-last {
    border: none;
}


.sms-part-last {background-color: #546C87 }

.chars-count {
    padding: 0 4px;

    border: 1px solid #FED22F;
    background: #FFE45C 50% top repeat-x;
    color: #363636;
    -webkit-border-radius: 0 0 2px 2px;
    -moz-border-radius: 0 0 2px 2px;
    border-radius: 0 0 2px 2px;
}

.send-button  {
    margin: 0 0 0 10px;
    width: 130px;
}
    .send-button i.fa {
        font-size: 14px;
        margin: 0 4px 0 0;
    }

.input-box-foot {

}

.alert-message {
    margin: 5px 0 0 0;
    padding: 5px 24px 5px 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    position: relative;
    display: none;
}
    .alert-message.error {
        background: #FFCECE;
        border-color: #F59999;
    }
    .alert-message.success {
        background: #C3F4A2;
        border-color: #A4DC7F;
    }
        .alert-message.error .close-icon {
            color: #A03A38;
        }
        .alert-message.success .close-icon {
            color: #557D3A;
        }

.close-icon {
    font-size: 14px;
    position: absolute;
    right: 5px;
    top: 50%;
    margin: -7px 0 0 0;
    cursor: pointer;
}

.sender-select {
    width: 130px;
    height: 20px;
    margin: -3px 0 0 0;
    border: 1px solid #D5D5D5;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    outline: none;
    overflow: hidden;
    text-overflow: ellipsis;
}

.settings-block {
    display: none;
}

#app-wrap > fieldset.floated-to-left {
    float: left;
    margin: 0 1px 0 5px;
    min-height: 280px;
    min-width: 47%;
}

#profile-wrap fieldset .sett-buttons-block {
    float: left;
    width: 50%;
    padding-bottom: 5px;
}


#provider-settings-wrap .psw-left-panel,
#provider-settings-wrap .psw-right-panel {
    float: left; width: 48%;
}

#provider-settings-wrap .sms-prov-set-field {
    padding: 5px 10px;
}

#provider-settings-wrap .sms-prov-set-field input[type="checkbox"] {
    position: relative;
    top: 5px;
}

#provider-settings-wrap .sms-prov-set-button {
    padding: 5px 0px;
}

#crm-menu-templates-wrap fieldset.crm-templateform {
    display: none;
}

.modal-box fieldset {
    margin: 10px 0;
    border: 1px solid #D5D5D5;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
.modal-box fieldset > legend {
    font-weight: bold;
}

.settings-item {
    text-align: right;
    line-height: 28px;
    margin: 5px 0;
}

.settings-item ul,
.settings-item label {
    float: left;
}

.settings-item input {
    width: 60%;
    height: 28px;
    outline: none;
}

.balance {
    font-weight: bold;
    color: #0070A3;
}

.access-list {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    list-style-type: none;
    text-align: left;
    margin: 0;
    padding: 0 0 0 20px;
}
    .access-list > li {

    }
        .access-list > li .access-remove > i {
            font-size: 16px;
            margin: 0 0 0 8px;
            color: #D43F3A;
            cursor: pointer;
        }

#add_integrations, #rem_integrations {
    height: 30px;
    padding: 0 10px;
}


.type-destination ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#templ-form-wrap > fieldset:first-child {
    margin-right: 13px;
}
#templ-form-wrap fieldset {
    float: left;
    position: relative;
    width: 47%;
    min-height: 526px;
}


#templ-form-wrap div {
    padding: 5px 0;
}

#templ-form-wrap div.sone-checkers {
    float: left;
    position: relative;
    width: 50%;
}

#templ-form-wrap sub,
#sms-filter-wrap sub {
    display: block;
    line-height: inherit;
}

#templ-form-wrap label,
#crm-menu-templates-wrap fieldset.crm-templateform label {
    font-weight: bold;
}

.templ-editor-area textarea {
    height: 126px;
}

#templ-form-wrap button {
    width: 100%;
}

#sms-filter-wrap .ft-list-col {
    min-height: 250px;
    float: left;
    position: relative;
    width: 47%;
}

.ft-list-col:not(.ft-list-for-filter) {
    margin-left: 10px;
}

#sms-filter-wrap .ft-val-list span:not(:last-child)::after {
    content: "; ";
}


ul.tabs {
    margin-bottom: 10px;
    font-size: 12px;
    color: #0070A3;
}
    ul.tabs > li {
        float: left;
        cursor: pointer;
        margin: 0 0 0 5px;
        padding: 0 0 0 5px;
        border-left: 1px solid #0070A3;
    }

    .templ-editor-area li i,
    .templ-editor-area .create-template {
        cursor: pointer;
        color: #0070A3;
    }

        ul.tabs > li:first-child {
            margin: 0;
            padding: 0;
            border: none;
        }
        ul.tabs > li:hover,
        ul.tabs > li.current {
            text-decoration: underline;
        }
        ul.tabs > li > i.fa {
            font-size: 14px;
            margin: 0 4px 0 0;
        }

.box-container li {
    margin: 0 0 5px 0;
}

    .box-container li > ul {
        margin: 0 0 0 20px;
    }
    .box-container li > input[type="checkbox"] {
        vertical-align: middle;
        outline: none;
    }

.check-employee {

}
.foto-employee {
    display: inline-block;
    vertical-align: middle;
    margin: 0 5px;
    width: 48px;
    height: 48px;
    text-align: center;
    overflow: hidden;
}
    .foto-employee > img {
       max-width: 48px;
    }
.employee {
    display: inline-block;
    vertical-align: middle;
    font-size: 12px;
    max-width: 350px;
}
    .employee a {
        color: #0070A3;
        text-decoration: none;
    }
        .employee a:hover {
            text-decoration: underline;
        }
    .employee > i.fa {
        float: left;
        height: 16px;
        line-height: 16px;
        margin: 0 4px 0 0;
        font-size: 14px;
    }
    .employee .number {
        margin: 0 0 0 15px;
    }

.icon-list,
.icons-list {
    width: 11px;
    height: 14px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 9px 0 0;
}
    li div.icon-list > i.fa,
    li div.icons-list > i.fa {
        font-size: 14px;
    }

.search-field {
    margin: 10px 0;
}
    .search-field > input[type="text"] {
        width: 86%;
    }
    .search-field > button {
        width: 10%;
        background: transparent;
        color: #777777;
        border: 1px solid #909090;
        padding: 4px 6px;
        line-height: 18px;
        text-align: center;
        border-radius: 3px;
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
        box-shadow: 0px 1px 0px #ccc;
        -moz-box-shadow: 0px 1px 0px #ccc;
        -webkit-box-shadow: 0px 1px 0px #ccc,inset 0px 1px 0px #fff;
    }


.opened ul {
    display: block;
}

.closed ul {
    display: none;
}

.install {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

    .install p {
        font-size: 16px;
    }

    .install button {
        padding: 0 20px;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;
        min-width: 120px;
        height: 64px;
        font-size: 24px;
        font-weight: bold;

        color: #428BCA;
        border: 3px solid #428BCA;
        background-color: #FFFFFF;
    }
        .install button:hover {
            color: #FFFFFF;
            border: 3px solid #FFFFFF;
            background-color: #428BCA;
            -webkit-box-shadow: 0px 0px 5px #428BCA;
            -moz-box-shadow: 0px 0px 5px #428BCA;
            box-shadow: 0px 0px 5px #428BCA;
        }

.loader-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; left: 0;
    background: rgba(255, 255, 255, .33);
    z-index: 1001;
}

.loader-icon {
    height: 40px;
    width: 100%;
    text-align: center;
    line-height: 1.00;
    font-size: 40px;
    position: absolute;
    top: 50%; left: 0;
    margin: -20px 0 0 0;
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Floating
 */

.pull-right {
    float: right;
}

.pull-left {
    float: left;
}

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}