/* CSS Document */

@charset "UTF-8";
@import url(http://fonts.googleapis.com/css?family=PT+Sans:400,700&subset=latin,cyrillic);

html, body {
    height: 100%;
}

body {
    background: #fff;
    color: #000000;
    font: 13px 'PT Sans', sans-serif;
}

::-moz-selection {
    background: rgba(15, 84, 153, 0.2);
}

.layout {
    background: #fff;
    border: 0 none;
    margin: 0 auto;
    max-width: 100%;
    min-height: 100%;
    min-width: 1024px;
    padding: 0;
    position: relative;
    text-align: left;
}

nav {
    height: 100px;
    background: #0079FF;
    position: fixed;
    width: 100%;
    z-index: 9999;
    top: 0;
    left: 0;
    min-width: 1024px;
}

section {
    margin: 10px 20px 0;
    position: relative;
    height: 100%;
}

.sub_nav {
    background: #efeff4;
    border-bottom: 1px solid #c8c7cc;
    height: 50px;
    margin: 100px 0 0;
}

footer {
    background: #efeff4;
    border-top: 1px solid #c8c7cc;
    bottom: 0;
    height: 100px;
    left: 0;
    position: absolute;
    width: 100%;
    color: #8e8e93;
    line-height: 100px;
    text-align: center;
}

section:after {
    clear: both;
    height: 200px;
    content: "";
    display: block;
}

nav .icon {
    display: block;
    float: left;
    margin: 13px 20px 0;
    position: relative;
    text-align: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.1s ease;
}

nav .icon_right {
    float: right;
}

nav .icon_black {
    color: #000;
}

nav .icon_black:hover {
    color: #fff !important;
}

nav .icon:hover {
    color: #000;
}

nav .active {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: #fff;
    margin: 13px 5px 0;
    padding: 0 15px 6px;
}

nav .icon:before {
    display: inline-block;
    font-size: 30px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    width: 50px;
    font-family: 'ios7-icon';
    -webkit-text-rendering: geometricPrecision;
    -moz-text-rendering: geometricPrecision;
    -ms-text-rendering: geometricPrecision;
    -o-text-rendering: geometricPrecision;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -ms-font-smoothing: antialiased;
    -o-font-smoothing: antialiased;
    font-smoothing: antialiased;
    content: attr(icon-img);
}

nav .icon:after {
    display: block;
    text-align: center;
    content: attr(icon-title);
}

nav .icon_img {
    font-family: 'ios7-icon';
}

nav .icon_title {
    display: block;
    text-align: center;
}

.sub_nav ul {
    float: left;
    margin: 12px 0 0 20px;
    border: 1px solid #0079ff;
    border-radius: 5px;
}

.sub_nav li {
    padding: 3px 10px;
    display: block;
    float: left;
    border-right: 1px solid #0079ff;
}

.sub_nav ul li:last-child {
    border: 0;
}

.sub_nav li a {
    color: #0079ff;
    text-decoration: none;
}

.sub_nav .active {
    background: #0079ff;
}

.sub_nav .active a {
    color: #fff;
}

.sub_nav .search {
    background: #E4E6E8;
    border-radius: 3px;
    color: #8e8e93;
    height: 22px;
    text-align: center;
    width: 300px;
    border: 0;
    float: right;
    margin: 13px 20px 0 0;
}

.w30 {
    width: 30%;
    float: left;
    padding: 0 50px 0 0;
    box-sizing: border-box;
}

.w50 {
    width: 50%;
    float: left;
    padding: 0 50px 0 0;
    box-sizing: border-box;
}

.clear {
    clear: both;
}

section h2 {
    font-size: 18px;
    margin: 37px 0 16px;
    text-transform: uppercase;
}

section label {
    display: block;
}

section input {
    border: 0 none;
}

section input[type="text"], section input[type="password"], section input[type="email"], section textarea, section select {
    position: relative;
    display: block;
    margin: 5px 0 20px;
    width: 100%;
    padding: 0 20px;
    height: 40px;
    border-radius: 5px;
    background: #efeff4;
    color: #000000;
    border: 2px solid #efeff4;
    max-width: 900px;
    box-sizing: border-box;
}

section select {
    width: 60%;
}

section select[multiple] {
    height: 100px;
}

section textarea {
    padding: 20px;
    height: 300px;
    color: #000000;
    font: 13px 'PT Sans', sans-serif;
}

section input[type="text"]:focus, section input[type="password"]:focus, section input[type="email"]:focus, section textarea:focus, section select:focus {
    border: 2px solid #0079FF;
}

section option {
    padding: 4px 0;
}

section .mce-tinymce {
    margin: 5px 0 20px;
}

section .btn {
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    border-radius: 5px;
    color: #FFFFFF;
    font: bold 13px/40px "Trebuchet MS", Arial, Helvetica, sans-serif;
    height: 40px;
    margin: 21px 10px 0 0;
    padding: 0 30px;
    text-transform: uppercase;
    display: inline-block;
    border: 0;
    text-decoration: none;
    cursor: pointer;
}

section .btn_green {
    background: #4CD964;
}

section .btn_red {
    background: #fe3f35;
}

section .btn_blue {
    background: #0079FF;
}

section .btn:active {
    opacity: 1 !important;
}

section .btn:hover {
    opacity: 0.9;
}

section button[disabled=disabled] {
    background: #efeff4 !important;
}

label.error {
    border: 2px solid #fe3f35;
}

input.ng-invalid, textarea.ng-invalid, select.ng-invalid {
    border: 2px solid #ffa7a2 !important;
}

.records li {
    border-bottom: 1px solid #c8c7cc;
    position: relative;
    display: block;
    width: 960px;
    line-height: 40px;
    /*background: #fff;*/
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.records .title {
    display: block;
    margin: 0 0 0 20px;
    overflow: hidden;
    position: relative;
    width: 540px;
    white-space: nowrap;
}

.records li:hover {
    background: #efeff4;
}

.record_btn_red {
    background: #fe3f35;
    right: 0;
}

.record_btn_orange {
    background: #FF9500;
    right: 120px;
}

.record_btn {
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    display: block;
    position: absolute;
    text-align: center;
    top: 0;
    width: 120px;
}

.record_date {
    color: #8e8e93;
    display: block;
    position: absolute;
    right: 260px;
    top: 0;
}

.msgbox {
    left: 0;
    margin: auto;
    position: fixed;
    right: 0;
    top: 0;
    width: 300px;
    z-index: 10001;
}

.msgbox span:after {
    content: "";
    position: absolute;
    top: -10px;
    left: 140px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #fff;
}

.msgbox span {
    display: block;
    padding: 20px 10px;
    text-align: center;
    color: #000;
    border-radius: 10px;
    margin: 10px 0 0;
    position: relative;
    background: #fff;
    border-right: 10px solid #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.msgbox .alert-success {
    border-left: 10px solid #4cd964;
}

.msgbox .alert-error {
    border-left: 10px solid #fe3f35;
}

#loading-bar {
    pointer-events: none;
    -webkit-pointer-events: none;
    -webkit-transition: 350ms linear all;
    -moz-transition: 350ms linear all;
    -o-transition: 350ms linear all;
    transition: 350ms linear all;
    position: fixed;
    z-index: 10000;
    top: 98px;
    left: 0;
    width: 100%;
    height: 2px;
}

#loading-bar.ng-enter,
#loading-bar.ng-leave.ng-leave-active,
#loading-bar-spinner.ng-enter,
#loading-bar-spinner.ng-leave.ng-leave-active {
    opacity: 0;
}

#loading-bar.ng-enter.ng-enter-active,
#loading-bar.ng-leave,
#loading-bar-spinner.ng-enter.ng-enter-active,
#loading-bar-spinner.ng-leave {
    opacity: 1;
}

#loading-bar .bar {
    -webkit-transition: width 350ms;
    -moz-transition: width 350ms;
    -o-transition: width 350ms;
    transition: width 350ms;
    background: #ff9500;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
}

.records .animate-repeat.ng-move- *
.records .animate-repeat.ng-enter,
.records .animate-repeat.ng-leave {
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.records .animate-repeat.ng-leave.ng-leave-active,
.records .animate-repeat.ng-move,
.records .animate-repeat.ng-enter {
    opacity: 0;
    max-height: 0;
}

.records .animate-repeat.ng-leave,
.records .animate-repeat.ng-move.ng-move-active,
.records .animate-repeat.ng-enter.ng-enter-active {
    opacity: 1;
    max-height: 40px;
}

.msgbox .animate-repeat.ng-enter.ng-enter-active,
.msgbox .animate-repeat.ng-leave {
    opacity: 1;
    -webkit-transition: opacity 300ms linear;
    -moz-transition: opacity 300ms linear;
    transition: opacity 300ms linear;
}

.msgbox .animate-repeat.ng-leave.ng-leave-active,
.msgbox .animate-repeat.ng-enter {
    opacity: 0;
    -webkit-transition: opacity 300ms linear;
    -moz-transition: opacity 300ms linear;
    transition: opacity 300ms linear;
}

.tabs {
    margin: 12px 0;
}

.tabs li {
    float: left;
    background-color: #efeff4 ;
    padding: 5px 10px;
    color: black;
    list-style: none;
    cursor: pointer;
}

.tabs li:hover {
    background-color: #c8c7cc;
}

.tabs li:first-child {
    border-radius: 5px 0 0 5px;
}

.tabs li:last-child {
    border-radius: 0 5px 5px 0;
}

.tabs:after {
    display: block;
    content: "";
    clear: both;
}

.tabs .active:hover {
    background-color: #0079FF;
    cursor: default;
}

.tabs .active {
    background-color: #0079FF;
    color: #fff;
}