/**FONTS**/

@font-face {
    font-family: "SourceSansPro-Regular";
    src: url("../fonts/SourceSansPro-Regular.otf") format("opentype");
}

@font-face {
    font-family: "SourceSansPro-Semibold";
    src: url("../fonts/SourceSansPro-Semibold.otf") format("opentype");
}

@font-face {
    font-family: "SourceSansPro-SemiboldIt";
    src: url("../fonts/SourceSansPro-SemiboldIt.otf") format("opentype");
}

@font-face {
    font-family: "SourceSansPro-LightIt";
    src: url("../fonts/SourceSansPro-LightIt.otf") format("opentype");
}

@font-face {
    font-family: "SourceSansPro-Light";
    src: url("../fonts/SourceSansPro-Light.otf") format("opentype");
}

@font-face {
    font-family: "SourceSansPro-It";
    src: url("../fonts/SourceSansPro-It.otf") format("opentype");
}

@font-face {
    font-family: "SourceSansPro-ExtraLightIt";
    src: url("../fonts/SourceSansPro-ExtraLightIt.otf") format("opentype");
}

@font-face {
    font-family: "SourceSansPro-ExtraLight";
    src: url("../fonts/SourceSansPro-ExtraLight.otf") format("opentype");
}

@font-face {
    font-family: "SourceSansPro-BoldIt";
    src: url("../fonts/SourceSansPro-BoldIt.otf") format("opentype");
}

@font-face {
    font-family: "SourceSansPro-Bold";
    src: url("../fonts/SourceSansPro-Bold.otf") format("opentype");
}

@font-face {
    font-family: "SourceSansPro-BlackIt";
    src: url("../fonts/SourceSansPro-BlackIt.otf") format("opentype");
}

@font-face {
    font-family: "SourceSansPro-Black";
    src: url("../fonts/SourceSansPro-Black.otf") format("opentype");
}


/**FONTS END**/

html, body {
    font-size: 16px;
    margin: 0;
    width: 100%;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-background-clip: padding-box;
    font-family: 'SourceSansPro-Regular' !important;
}

h1, h2, h3, h4, h5 {
    font-family: 'SourceSansPro-Bold' !important;
}

.blue-text {
    color: #1d69bb;
}

.white-text {
    color: #ffffff;
}

.gray-text{
    color: #b5b5b5;
}

#spindiv {
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:1000;
    /*background-image: linear-gradient(rgba(255,255,255,0.5),rgba(255,255,255,0.5));*/
    background-color:grey;
    opacity: .4;
}

.ajax-loader {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -32px; /* -1 * image width / 2 */
    margin-top: -32px;  /* -1 * image height / 2 */
    display: block;
}

.navbar-brand {
    padding-top: 5px;
    padding-left: 70px;
    margin-left: 10px;
    margin-right: 45px;
}

.navbar {
    min-height: 60px;
}

.sidebar-nav > ul > li > a {
    background-color: #2C67B8;
    color: #FFF;
}

.sidebar-nav > ul > li.menu-category {
    background-color:#1D3E6F;
    color:#FFFFFF;
    height:40px;
    padding-top:9px;
    text-transform: uppercase;
    font-family: 'SourceSansPro-Semibold' !important;
}

.sidebar-nav > ul > li > ul > li > a.menu-link {
    color:#337ab7;
}

/*.sidebar-nav > ul > li > a :focus {*/
    /*background-color: #CCC;*/
    /*color: #000;*/
/*}*/

.navbar-default .sidebar-nav > ul > li > a:hover, .navbar-default .sidebar-nav > ul > li > a:focus {
    background-color: #2C67B8;
    color: #FFF;
}

.navbar-default {
    border-color: #888;
    background-color: #FFF;
}

html{
    min-height:100%;/* make sure it is at least as tall as the viewport */
    position:relative
}

body, #wrapper, #page-wrapper, .sidebar-nav {
    min-height: 100%;
}

.sidebar {
    margin-top: 0px;
    box-shadow: 2px 1px 1px rgba(0, 1, 1, 0.25);
    background-color: #2C67B8;
    min-height: 100%;
}

.sidebar{
    position:absolute;
    top:0;
    left:0;
    right:0;
    padding-bottom:80px;
}

body {
    /*background-image: url("../images/dashboard_bg.png");*/
    background: #e8e4e0;
}

#page-wrapper {
    background-color: transparent;
}

.navbar-static-top {
    border-width: 0px 0px 1px 0px;
    box-shadow: 2px 1px 1px rgba(0, 1, 1, 0.25);
}

.nav-second-level {
    background-color: #FFF;
}

.activeMenu {
    background-color: #90bce5;
    color: #FFF;
}

.nav-menu-icon {
    width: 35px;
    position: relative;
    float: left;
    height: 20px;
}

.nav-menu-icon span {
    display: inline-block;
    position: absolute;
    border-bottom: 1px solid #666;
    right: 7px;
    top: 13px;
    width: 5px;
    height: 8px;
    border-left: 1px solid #666;
    z-index: 10;
}

.nav-tabs > li > a {
    font-family: 'SourceSansPro-Semibold' !important;
    cursor: pointer;
}

/*.nav.activeMenu > li > a:focus, .nav.activeMenu > li > a:hover {*/
    /*background-color: #90bce5;*/
    /*color: #FFF;*/
/*}*/

/*.activeMenu > a:hover {*/
    /*background-color: #000;*/
    /*color: #FFF;*/

/*}*/



.nav > li > a:focus, .nav > li > a:hover {
    background-color: #FFF;
    color: #337ab7;
}

/*a.activeMenu:hover, a.activeMenu:focus {*/
    /*background-color: #90bce5;*/
    /*color: #FFF;*/
/*}*/


.navbar-default .sidebar-nav > ul > li > ul > li >  a.activeMenu:hover, .navbar-default .sidebar-nav > ul > li > ul > li > a.activeMenu:focus {
    background-color: #90bce5;
    color: #FFF;
}

#page-wrapper {
    padding-bottom: 0px;
    overflow: hidden;
}

.pricing-table {
    cursor: pointer;
}

/*.panel-heading {*/
    /*cursor: pointer;*/
/*}*/

/*90bce5*/

.horizontal-nav
{
    color: rgba(0, 0, 0, 0.7);
    position: relative;
    display: inline-block;
    margin-left:-5px;
    padding: 0.83em 0.95em;
    border-top: 0em solid transparent;
    background: none;
    vertical-align: middle;
    line-height: 1;
    text-decoration: none;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: opacity 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    transition: opacity 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    text-decoration: none !important;
}

.horizontal-nav:after
{
    position: absolute;
    content: '';
    top: 0%;
    right: 0px;
    width: 1px;
    height: 100%;
    background: -webkit-linear-gradient(rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.05) 100%);
    background: linear-gradient(rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.05) 100%);
}

.horizontal-nav-first:before
{
    position: absolute;
    content: '';
    top: -10px;
    left: 0px;
    width: 1px;
    height: 150%;
    background: -webkit-linear-gradient(rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.05) 100%);
    background: linear-gradient(rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.05) 100%);
}


.horizontal-nav-selected
{
    background: rgba(0, 0, 0, 0.03) none repeat scroll 0% 0%;
    color: rgba(0, 0, 0, 0.7);
    font-weight: normal;
    box-shadow: 0em 2px 0em inset;
}

.horizontal-nav:hover
{
    background: rgba(0, 0, 0, 0.03) none repeat scroll 0% 0%;
    color: rgba(0, 0, 0, 0.7);
}

.horizontal-nav span {
    width: 1.9em;
}

.navbar-collapse.collapse {
    display: block!important;
}

.navbar-nav>li, .navbar-nav {
    float: left !important;
}

.navbar-nav.navbar-right:last-child {
    margin-right: -15px !important;
}

.navbar-right {
    float: right!important;
}

@media (max-width: 767px) {
    .sidebar {
        max-width: 250px;
    }

    #page-wrapper {
        position: inherit;
        margin: 0px 0px 0px 250px;
        padding: 30px;
        border-left: 1px solid #E7E7E7;
    }
}

body{
    min-width:1280px; /* suppose you want minimun width of 1000px */
    width: auto !important;  /* Firefox will set width as auto */
    width:1280px;             /* As IE ignores !important it will set width as 1000px; */
}

/*--- spinner ---*/

.spinner-wrapper {
    margin:0px auto;
    box-sizing:border-box;
    width:33px;
    height:33px;
    border-radius:50%;
    background:linear-gradient(rgba(64, 150, 238, 1) -50%,rgba(64, 150, 238, 0) 60%);
    animation:roll-r 2s linear infinite;
}

.spinner-wrapper>div {
    padding:3px;
    animation:roll-l 1s linear infinite;
}
.spinner-wrapper>div:after {
    content:"";
    display:block;
    width:27px;
    height:27px;
    border-radius:50%;
    background:#fff;
}

@keyframes roll-r {
    0% {transform:rotate(0deg);}
    100% {transform:rotate(360deg);}
}
@keyframes roll-l {
    0% {transform:rotate(0deg);}
    100% {transform:rotate(-360deg);}
}

/*--- parsley ---*/

input.parsley-success,
select.parsley-success,
textarea.parsley-success {
    color: #555;
    background-color: #FFF;
    border: 1px solid #D6E9C6;
}

input.parsley-error,
select.parsley-error,
textarea.parsley-error {
    color: #B94A48;
    background-color: #F2DEDE;
    border: 1px solid #EED3D7;
}

.parsley-errors-list {
    margin: 2px 0 3px;
    padding: 0;
    list-style-type: none;
    font-size: 0.9em;
    line-height: 0.9em;
    opacity: 0;
    color: #e74c3c;


    transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
}

.parsley-errors-list.filled {
    opacity: 1;
}

input.username-success,
select.username-success,
textarea.username-success {
    color: #555;
    background-color: #DFF0D8;
    border: 2px solid #D6E9C6;
}

input.username-error,
select.username-error,
textarea.username-error {
    color: #B94A48;
    background-color: #F2DEDE;
    border: 2px solid #EED3D7;
}

ul.ui-autocomplete {
    z-index: 2500 !important;
}

ul.auto-complete-list {
    z-index: 2500 !important;
}


/* datetime picker http://trentrichardson.com/examples/timepicker/ */
.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
.ui-timepicker-div dl { text-align: left; }
.ui-timepicker-div dl dt { float: left; clear:left; padding: 0 0 0 5px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 40%; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }
.ui-timepicker-div .ui_tpicker_unit_hide{ display: none; }

.ui-timepicker-div .ui_tpicker_time .ui_tpicker_time_input { background: none; color: inherit; border: none; outline: none; border-bottom: solid 1px #555; width: 95%; }
.ui-timepicker-div .ui_tpicker_time .ui_tpicker_time_input:focus { border-bottom-color: #aaa; }

.ui-timepicker-rtl{ direction: rtl; }
.ui-timepicker-rtl dl { text-align: right; padding: 0 5px 0 0; }
.ui-timepicker-rtl dl dt{ float: right; clear: right; }
.ui-timepicker-rtl dl dd { margin: 0 40% 10px 10px; }

/* Shortened version style */
.ui-timepicker-div.ui-timepicker-oneLine { padding-right: 2px; }
.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time,
.ui-timepicker-div.ui-timepicker-oneLine dt { display: none; }
.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time_label { display: block; padding-top: 2px; }
.ui-timepicker-div.ui-timepicker-oneLine dl { text-align: right; }
.ui-timepicker-div.ui-timepicker-oneLine dl dd,
.ui-timepicker-div.ui-timepicker-oneLine dl dd > div { display:inline-block; margin:0; }
.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_minute:before,
.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_second:before { content:':'; display:inline-block; }
.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_millisec:before,
.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_microsec:before { content:'.'; display:inline-block; }
.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide,
.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide:before{ display: none; }

/* DASHBOARD MAIN STUFF */

.overlay-block-not-in-package {
    position: absolute;
    overflow:hidden;
    background-color: rgba(0,0,0,.75);
    top:0;
    bottom:0;
    width: 100%;
    margin-left: -30px;
    z-index: 2;
}

.overlay-block-not-in-package-modal {
    width:400px;
    height:150px;
    background-color:#1f69b2;
    z-index:3;
    transform: translate(-100%, -100%);
    top: 50%;
    left: 50%;
    position: absolute;
}

.overlay-block-not-in-package-modal-contents {
    margin-top:50px;
    color:#FFF;
}

.dashboard-border-box {
    padding: 20px;
    background-color: #1f69b2;
    border-radius: 5px;
    margin-bottom: 20px;
}

.dashboard-alert-border-box {
    padding: 15px;
    background-color: #fcf8e3;
    border-radius: 5px;
    margin-bottom: 20px;
}

.d-flex {
    display: flex!important
}

.justify-content-around {
    justify-content: space-around!important
}

.justify-content-between {
    justify-content: space-between!important
  }
  

.nav-pills>li>a {
    border-radius: 0px;
    background-color: #efeeed;
    color: #1f69b2;
}

.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
    border-radius: 0px;
    background-color: #1e69b2;
    color: #FFFFFF;
}

.tab-content {
    border-radius: 0px;
}

.nav-pills {
    padding-bottom: 20px;
}

#credit-graph svg, #points-graph svg, #users-graph svg, #donut-gc svg, #donut-points svg {
    width: 100% !important;
}

/* END DASHBOARD MAIN STUFF */

/* TABLE STUFF */

table.dataTable tr.odd td.sorting_1 {
    background-color: #d9ecff;
}

table.dataTable tr.even td.sorting_1 {
    background-color: #aacef1;
}

.tab-content table.dataTable tr.odd {
    background-color: #d9ecff;
}

.tab-content table.dataTable tr.even {
    background-color: #aacef1;
}

/* END TABLE STUFF */

/* LEFT MENU STUFF */

li a .menuIcon {
    float:left;
    font-size:1.3em;
    margin-top:0px;
    margin-right:8px;
}

.icon-lock {
    font-size:1.0em !important;
}

/* END LEFT MENU STUFF */

/* SMS UI updates */

#sms-invalid-word-message {
    position: relative;
    box-shadow: none;
    background-color: #FFF5F5;
    border-color: #FDD6D7;
    color: #232429;
    padding: 18px;
    padding-left: 46px;
    margin-top: 15px !important;
    margin-bottom: 0;
}

#sms-invalid-word-message:before {
    position: absolute;
    top: 23px;
    left: 18px;
    content: "!";
    width: 16px;
    height: 16px;
    background-color: #de2f37;
    border-radius: 100%;
    color: #fff5f4;
    line-height: 1;
    text-align: center;
    font-family: 'SourceSansPro-Semibold';
}

#sms-time-disclaimer, #sms-instructions {
	font-size: 14px;
	color: #5C626A;
}

#sms-per-month {
    color: #5C626A;
}


