/*
Colours:
deep, dark blue (black): #212529
bright blue like the admin active menu: #4E84C5
*/

header, footer, article, section, hgroup, nav, figure, aside {
    display: block;
}
figure {
    margin: 0;
    padding: 0;
}
html {
    height: 100%;
}
body {
    margin: 0;
    font: 12px/15px Verdana,Arial,sans-serif;
    color: #212529;
    background: #fff;
    height: 100%;
    width: 100%;
}
img {
    border-style: none;
}
a {
    color: #4E84C5;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
input,
textarea,
select {
    font: 100% arial, sans-serif;
    vertical-align: middle;
    color: #212529;
}

input:read-only,
textarea:read-only{
    color: #8a8a8a;
}
form,
fieldset {
    margin: 0;
    padding: 0;
    border: none;
}
#wrapper {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    background: url(../images/bg-wrapper.png) repeat-y;
}
#content {
    float: left;
    width: 100%;
}
.c1 {
    margin: 0 0 0 77px;
}
.controls {
    height: 1%;
    overflow: hidden;
    padding: 26px 13px 0 34px;
    background: url(../images/bg-controls.png);
}
.links {
    float: left;
}
.links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    float: left;
}
.links li {
    float: left;
    margin: 0 3px 0 0;
    position: relative;
}
.links a {
    float: left;
    border: 1px solid #dde2e8;
    background: #fff;
    -webkit-border-radius: 1px 1px 0 0;
    -moz-border-radius: 1px 1px 0 0;
    border-radius: 1px 1px 0 0;
    color: #1f252a;
    font-size: 13px;
    line-height: 15px;
    height: 28px;
    text-decoration: none;
    padding: 9px 19px 0 35px;
}
.links a:hover {
    text-decoration: underline;
}
.links .num {
    position: absolute;
    right: -3px;
    top: -8px;
    color: #fff;
    font: bold 10px/18px Arial, Helvetica, sans-serif;
    width: 20px;
    height: 20px;
    background: #4c95cd;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzRjOTVjZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMzYzc4YmEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, #4c95cd 0%, #3c78ba 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4c95cd), color-stop(100%, #3c78ba));
    background: -webkit-linear-gradient(top, #4c95cd 0%, #3c78ba 100%);
    background: -o-linear-gradient(top, #4c95cd 0%, #3c78ba 100%);
    background: -ms-linear-gradient(top, #4c95cd 0%, #3c78ba 100%);
    background: linear-gradient(to bottom, #4c95cd 0%, #3c78ba 100%);
    text-align: center;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
}
.links .ico1 {
    background: #fff url(../images/sprite.png) no-repeat 14px -445px;
}
.links .ico2 {
    background: #fff url(../images/sprite.png) no-repeat 13px -528px;
}
.links .ico3 {
    background: #fff url(../images/sprite.png) no-repeat 11px -637px;
}
.profile-box {
    float: right;
}
.btn-on {
    background: url(../images/sprite.png) no-repeat -230px -5px;
    width: 35px;
    height: 39px;
    overflow: hidden;
    text-indent: -9999px;
    float: left;
    margin: 0 0 0 7px;
}
.profile-box .profile {
    float: left;
    border: 1px solid #dde2e8;
    background: #fff;
    -webkit-border-radius: 1px 1px 0 0;
    -moz-border-radius: 1px 1px 0 0;
    border-radius: 1px 1px 0 0;
    height: 37px;
}
.profile-box .profile .image {
    float: left;
    margin: 1px 12px 0 0;
}
.profile-box a {
    text-decoration: none;
}
.profile-box .text-box {
    float: left;
    overflow: hidden;
    color: #a0a0a0;
    font-size: 10px;
    line-height: 12px;
}
.profile-box .section {
    padding: 4px 33px 0 7px;
    float: left;
}
.profile-box a.section {
    cursor: pointer;
}
.profile-box .name {
    display: block;
    font-size: 12px;
    line-height: 15px;
    color: #4f5f6f;
    font-weight: normal;
}
.profile-box .opener {
    float: left;
    background: url(../images/sprite.png) no-repeat -39px -58px;
    width: 32px;
    height: 37px;
    overflow: hidden;
    text-indent: -9999px;
    border-left: 1px solid #dde2e8;
}
.tabs {
    border-top: 1px solid #fff;
}
.tabs .text-section {
    background: #f9f9f9;
    padding: 19px 0 8px 36px;
    margin: 0 0 1px;
}
.tabs h1 {
    font-size: 18px;
    line-height: 20px;
    margin: 0 0 8px;
    color: #2b333b;
}
.tabs p {
    margin: 0 0 10px;
    min-height: 36px;
}
.tabs span{
    float: left;
}
.states {
    list-style: none;
    margin: 0;
    padding: 0;
}
.states li {
    vertical-align: top;
    margin: 0 0 1px;
    padding: 9px 5px 12px 55px;
}
.states .error {
    background: #ffdede url(../images/sprite.png) no-repeat 17px -712px;
    color: #be0000;
}
.states .warning {
    color: #dc6200;
    background: #fff6de url(../images/sprite.png) no-repeat 18px -975px;
}
.states .succes {
    color: #3f5a04;
    background: #dfedc0 url(../images/sprite.png) no-repeat 15px -841px;
}
#sidebar {
    float: left;
    margin: 0 0 0 -100%;
    width: 75px;
    padding: 0px 1px 0;
}
#sidebar .shadow {
    background: url(../images/bg-shadow.png) no-repeat;
    width: 5px;
    height: 9999px;
    overflow: hidden;
    text-indent: -9999px;
    position: absolute;
    left: 72px;
    top: 0;
}
.logo {
    background: url(../images/sprite.png) no-repeat -53px 0;
    width: 36px;
    height: 44px;
    overflow: hidden;
    text-indent: -9999px;
    display: block;
    margin: 0 auto 23px;
    position: relative;
    left: 1px;
}
.logo a {
    display: block;
    height: 100%;
}
.buttons {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
    font: bold 11px/13px Arial, Helvetica, sans-serif;
}
.buttons li {
    vertical-align: top;
    margin: 0 0 1px;
    position: relative;
}
.buttons a {
    vertical-align: top;
    background: #616a78;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzYxNmE3OCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMzNDNkNGIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, #616a78 0%, #343d4b 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #616a78), color-stop(100%, #343d4b));
    background: -webkit-linear-gradient(top, #616a78 0%, #343d4b 100%);
    background: -o-linear-gradient(top, #616a78 0%, #343d4b 100%);
    background: -ms-linear-gradient(top, #616a78 0%, #343d4b 100%);
    background: linear-gradient(to bottom, #616a78 0%, #343d4b 100%);
    width: 75px;
    height: 40px;
    display: block;
    overflow: hidden;
    cursor: pointer;
}
.buttons li.active a {
    background: url(../images/sprite.png) no-repeat -113px -2px;
    margin: 0 -21px 0 0;
    padding: 0 21px 0 0;
}
.buttons li.active a em {
    top: 40px;
}
.buttons a span {
    overflow: hidden;
    text-indent: -9999px;
    display: block;
    /*width:20px;

	height:20px;*/
    margin: 11px auto 0;
    /*background:url(../images/sprite.png) no-repeat 9999px 0;*/
    height: 16px;
    width: 16px;
}
.buttons em {
    position: absolute;
    right: 0;
    top: 0;
    background: url(../images/bg-shadow.png) repeat-y;
    width: 4px;
    height: 100%;
    overflow: hidden;
    text-indent: -9999px;
}
.buttons .icoHome span {
    background: url(../images/home.png);
}
.buttons .active .icoHome span {
    background: url(../images/home_light.png);
}
.buttons .icoUserSettings span {
    background: url(../images/user_settings.png);
}
.buttons .active .icoUserSettings span {
    background: url(../images/user_settings_light.png);
}
.buttons .icoAccount span {
    background: url(../images/account.png);
}
.buttons .active .icoAccount span {
    background: url(../images/account_light.png);
}
.buttons .icoLogout span {
    background: url(../images/logout.png);
}
.buttons .active .icoLogout span {
    background: url(../images/logout_light.png);
}
.buttons .icoGroups span {
    background: url(../images/admin_groups.png);
}
.buttons .active .icoGroups span {
    background: url(../images/admin_groups_light.png);
}
.buttons .icoEvents span {
    background: url(../images/events.png);
}
.buttons .active .icoEvents span {
    background: url(../images/events_light.png);
}
.buttons .icoSales span {
    width: 32px;
    height: 19px;
    background: url(../images/sales.png);
}
.buttons .active .icoSales span {
    width: 32px;
    height: 19px;
    background: url(../images/sales_light.png);
}
.buttons .icoCharts span {
    background: url(../images/admin_charts.png);
}
.buttons .active .icoCharts span {
    background: url(../images/admin_charts_light.png);
}
.buttons .icoWorkoutsDay span {
    width: 22px;
    height: 14px;
    background: url(../images/wod.png);
}
.buttons .active .icoWorkoutsDay span {
    width: 22px;
    height: 14px;
    background: url(../images/wod_light.png);
}
.buttons .icoAdminUsers span {
    background: url(../images/admin_users.png);
}
.buttons .active .icoAdminUsers span {
    background: url(../images/admin_users_light.png);
}
.buttons .icoAdminPermissions span {
    background: url(../images/admin_permissions.png);
}
.buttons .active .icoAdminPermissions span {
    background: url(../images/admin_permissions_light.png);
}
.buttons .icoAdminConfiguration span {
    background: url(../images/admin_configuration.png);
}
.buttons .active .icoAdminConfiguration span {
    background: url(../images/admin_configuration_light.png);
}
.buttons .icoAdminPages span {
    background: url(../images/admin_pages.png);
}
.buttons .active .icoAdminPages span {
    background: url(../images/admin_pages_light.png);
}
.buttons li:hover .navTooltip {
    display: block;
    line-height: initial;
}
.buttons .navTooltip {
    position: absolute;
    left: 61px;
    top: 9px;
    color: #3b414d;
    padding: 0 6px 0 0;
    background: url(../images/sprite.png) no-repeat 100% -95px;
    height: 24px;
    display: none;
    white-space: nowrap;
}
.buttons .navTooltip span {
    height: 20px;
    float: left;
    padding: 4px 3px 0 10px;
    background: url(../images/sprite.png) no-repeat -39px -125px;
}
.buttons .num {
    display: block;
    text-align: center;
    color: #fff;
    background: #950707;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzk1MDcwNyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM2MTAyMDIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, #950707 0%, #610202 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #950707), color-stop(100%, #610202));
    background: -webkit-linear-gradient(top, #950707 0%, #610202 100%);
    background: -o-linear-gradient(top, #950707 0%, #610202 100%);
    background: -ms-linear-gradient(top, #950707 0%, #610202 100%);
    background: linear-gradient(to bottom, #950707 0%, #610202 100%);
    border-top: 2px solid #b01919;
}
.userLink {
	color: #0088cc !important;
}

.bd-callout {
    padding: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #eee;
    border-left-width: .25rem;
    border-radius: .25rem;
}
.bd-callout-warning {
    border-left-color: #d80909;
}
.bd-callout-info {
    border-left-color: green;
}
.bd-callout ul{
	list-style: none;
	margin: 0;
}
/* Loader */
.loader {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: url('/images/loading.gif') no-repeat fixed center rgba(249,249,249, 0.75);
    background-size: 80px 80px;
    display:none;
}

@media (max-width: 768px) {
    #header{
        display: block !important;
        text-align: center !important;
    }
    #header img{
        max-width: 120px !important;
        margin-top: 10px !important;
        margin-bottom:20px;
    }
    #header h1{
        margin-top: 0;
        padding-left: 0 !important;
        font-size: 1.8rem !important;
        line-height: 1.9rem !important;
    }
    .minibar{
        display: block !important;
    }
    #bar{
        display: none !important;
    }
}