/*
Plugin Name: iB Projects Control (ProjeC)
Version: 1.0.0
Author: Igot B.
*/

.ibpc-project-metadata,
.ibpc-project-progress,
.ibpc-project-duration {
  font-weight: 600;
}

.statistics-switch-button {
  background: #f4ad24;
  color: #fff !important;
  font-size: 20px;
  font-weight: 600;
  padding: 10px 20px;
  display: inline-block;
}


/*============================================= Reset ================================================*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}
html {
    font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
    overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
    -webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
    -ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
body {
    background: #fff;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
    display: block;
}
ol, ul {
    list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
    border-collapse: separate;
    border-spacing: 0;
}
caption, th, td {
    font-weight: normal;
    text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: "";
}
blockquote, q {
    quotes: "" "";
}
a:focus {
    outline: thin dotted;
}
a:hover,
a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
    outline: 0;
}
a img {
    border: 0;
}





/*============================================= Global ================================================*/

body,
button,
input,
select,
textarea {
    color: #404040;
    font-family: sans-serif;
    font-size: 16px;
    font-size: 1.6rem;
    line-height: 1.5;
}

/* Headings */
h1,h2,h3,h4,h5,h6 {
    clear: both;
}
hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

/* Text elements */
p {
    margin-bottom: 1.5em;
}
ul, ol {
    margin: 0 0 1.5em 3em;
}
ul {
    list-style: disc;
}
ol {
    list-style: decimal;
}
ul ul, ol ol, ul ol, ol ul {
    margin-bottom: 0;
    margin-left: 1.5em;
}
dt {
    font-weight: bold;
}
dd {
    margin: 0 1.5em 1.5em;
}
b, strong {
    font-weight: bold;
}
dfn, cite, em, i {
    font-style: italic;
}
blockquote {
    margin: 0 1.5em;
}
address {
    margin: 0 0 1.5em;
}
pre {
    background: #eee;
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 15px;
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 1.6em;
    padding: 1.6em;
    overflow: auto;
    max-width: 100%;
}
code, kbd, tt, var {
    font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}
mark, ins {
    background: #fff9c0;
    text-decoration: none;
}
sup,
sub {
    font-size: 75%;
    height: 0;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sup {
    bottom: 1ex;
}
sub {
    top: .5ex;
}
small {
    font-size: 75%;
}
big {
    font-size: 125%;
}
figure {
    margin: 0;
}
table {
    margin: 0 0 1.5em;
    width: 100%;
}
th {
    font-weight: bold;
}
button,
input,
select,
textarea {
    font-size: 100%; /* Corrects font size not being inherited in all browsers */
    margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
    vertical-align: baseline; /* Improves appearance and consistency in all browsers */
    *vertical-align: middle; /* Improves appearance and consistency in all browsers */
}
button,
input {
    line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
    *overflow: visible;  /* Corrects inner spacing displayed oddly in IE6/7 */
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid #ccc;
    border-color: #ccc #ccc #bbb #ccc;
    border-radius: 3px;
    background: #e6e6e6;
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), inset 0 15px 17px rgba(255,255,255,0.5), inset 0 -5px 12px rgba(0,0,0,0.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), inset 0 15px 17px rgba(255,255,255,0.5), inset 0 -5px 12px rgba(0,0,0,0.05);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), inset 0 15px 17px rgba(255,255,255,0.5), inset 0 -5px 12px rgba(0,0,0,0.05);
    color: rgba(0,0,0,.8);
    cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
    -webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
    font-size: 12px;
    font-size: 1.4rem;
    line-height: 1;
    padding: 1.12em 1.5em 1em;
    text-shadow: 0 1px 0 rgba(255,255,255,.8);
}
button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa #bbb;
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), inset 0 15px 17px rgba(255,255,255,0.8), inset 0 -5px 12px rgba(0,0,0,0.02);
    -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), inset 0 15px 17px rgba(255,255,255,0.8), inset 0 -5px 12px rgba(0,0,0,0.02);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), inset 0 15px 17px rgba(255,255,255,0.8), inset 0 -5px 12px rgba(0,0,0,0.02);
}
button:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
html input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
    border-color: #aaa #bbb #bbb #bbb;
    -webkit-box-shadow: inset 0 -1px 0 rgba(255,255,255,0.5), inset 0 2px 5px rgba(0,0,0,0.15);
    -moz-box-shadow: inset 0 -1px 0 rgba(255,255,255,0.5), inset 0 2px 5px rgba(0,0,0,0.15);
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.5), inset 0 2px 5px rgba(0,0,0,0.15);
}
input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */
    padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
    -webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
    box-sizing: content-box;
}
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
    -webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
    border: 0;
    padding: 0;
}
input[type=text],
input[type=email],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
}
input[type=text]:focus,
input[type=email]:focus,
textarea:focus {
    color: #111;
}
input[type=text],
input[type=email] {
    padding: 3px;
}
textarea {
    overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
    padding-left: 3px;
    vertical-align: top; /* Improves readability and alignment in all browsers */
    width: 98%;
}

/* Links */
a {
    color: royalblue;
}
a:visited {
    color: purple;
}
a:hover,
a:focus,
a:active {
    color: midnightblue;
}












/*============================================= CSS ================================================*/

h2 span.top-title {
    font-weight: normal;
}

.ibpc-position-right {
    float: right;
}

.ibpc-position-left {
    float: left;
}

.strong {
    font-weight: bold;
}

.text-muted {
    font-size: 0.92em;
    color: #889095;
}

/*
h2.linked_title.blue {
	color: #2442fc;
}

#nav_menu-workroom li.menu-item.new::before {
	content: url('../new.gif');
    position: absolute;
    right: -20px;
}
*/

/*==================================== jQuery goalProgress CSS ======================================*/

.goalProgress {
	background: #f7f7f7;
	padding: 5px;
}
div.progressBar {
	background: #ff008c;
	color: #fff;
	font-size: 1.5em;
	font-family: 'helvetica neue', helvetica, arial, sans-serif;
	letter-spacing: -1px;
	font-weight: 700;
	padding: 10px;
	display: block;
	overflow: hidden;
	width: 20px;
}
span.goalAmount {
	display: none;
	text-indent: -9999px;
}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {
    .main_color h1{
        font-size: 24px;
        line-height: 1em;
    }
}



/*==================================== Workroom CSS ======================================*/

.sub_menu_title {
    float: left;
    font-size: 1.3em;
    line-height: 3.1em;
    font-weight: normal;
    color: #a7abb1 !important;
    margin-left: 50px;
    margin-bottom: 0;
}

.workroom-header {
    min-height: 90px;
}

ul#menu-workroom li.active a {
    color: #fff;
}

#workroom-sidebar {
    width: 25%;
    padding: 40px;
    z-index: inherit;

    border-right: 1px solid #e1e1e1;
    background: #f1f1f1;
}

#workroom-main {
    width: 75%;
    padding: 40px;
    z-index: inherit;
}

#top .av-flex-placeholder {
    display: table-cell;
    width: 0 !important;
}

#newsbox-1,
#newsbox-2,
#task_info,
#task_settings,
#task_action_confirmation {
    text-align: right;
}

#newsbox-2 .news-thumb {
    margin-right: 0px;
    margin-left: 9px;
    float: right;
}

#newsbox-2 .latest-replays .news-excerpt p {
    float: left;
}

#avatar_block {
   text-align: right;
}

.avatar-image {
    float: right;
    margin-bottom: 17px;
}

.avatar-title {
    float: right;
    padding-top: 30px;
}

.avatar-title h3 {
    margin-bottom: 0;
}

#edit-section {
    border: 1px solid #dddddd;
    background: #e6f3ff;
    padding: 30px;
}

#task-list {
    margin: 20px 0;
}


/*==================================== Timeline CSS ======================================*/




/*==================================== Project section CSS ======================================*/

section#edit-section {
    display: none;
}

a.edit-details,
a.close-details-editing,
a.close-add-task,
a.add-task {
    cursor: pointer;
}

#single-project .iconbox {
    clear: none;
}

#single-project .iconbox_top {
    border: 1px solid #c2c2c2;
    background: #ececec !important;
    float: left;
    padding: 10px;
    margin: 10px !important;
    max-width: 100px;
    cursor: pointer;
}

li.project-link {
    background: #ddd;
    margin: 3px 0;
    line-height: 1em;
    padding: 1em 2em;
    border: 1px solid #ccc !important;
}

li.project-link a {
    cursor: pointer;
    color: #666;
}

li.project-link a:hover {
    text-decoration: inherit;
    color: #4f95d6;
}

li.project-link.active {
    background: #fff;
}

li.project-link.active a {
    color: #4f95d6;
    font-weight: bold;
}

span.condition_icon {
    float: left;
    margin-right: 5px;
}


#single-project .iconbox_top.short .avia-image-container.avia-align-center {
    margin: 0 !important;
}

#single-project .iconbox.av-no-box .iconbox_icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
}

#sub_menu1 .av-subnav-menu {
    padding: 0px 50px;
}
/*
#sub_menu1 li.create-new-project-button {
    border: 2px solid #2442FC !important;
}

#sub_menu1 li span.avia-menu-text {
    background-color: #ffffff !important;
    color: #889095 !important;
    border-color: #889095 !important;
}

#sub_menu1 li span.avia-menu-text:hover {
    color: #41454A !important;
    border-color: #41454A !important;
}

#sub_menu1 li.create-new-project-button span.avia-menu-text {
    background-color: #2442FC !important;
    color: #ffffff !important;
    border-color: #2442FC !important;
}

#sub_menu1 li.create-new-project-button span.avia-menu-text:hover {
    background-color: #ffffff !important;
    color: #2442FC !important;
}
*/


/*==================================== Tasks CSS ======================================*/

.task-sidebar-avatar img {
    float: right;
    margin: 0px 0px 0px 10px;
    display: block;
    position: relative;
}

.task-subtitle {
    padding: 5px 0;
    display: inline-block;
}

td.autor-name {
    width: 1px;
    white-space: nowrap;
}

td.title-subject {
    overflow: visible;
    outline: none;
    vertical-align: middle;
    white-space: nowrap;
}

td.title-subject a {
    cursor: pointer;
    color: inherit;
}

tr.unread td.title-subject a {
    font-weight: bold;
}

tr.unread td.title-subject a span.row-task-title {
    color: #000;
}

tr.unread td.title-subject a:hover {
    color: #0080ff;
}

td.title-subject div.ts-wraper {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 700px;
}

td.icon-cell {
    width: 32px;
}

span.icon,
#task_info span.icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
}

.task-in-work {
    background-image: url( "../icons/in-work-icon.gif" );
    height: 5px !important;
}

.task-waiting {
    background-image: url( "../icons/new-icon.png" );
}

.task-processing {
    background-image: url( "../icons/processing-2-icon.png" );
}

.task-paused {
    background-image: url( "../icons/pause-icon.png" );
}

.task-completed {
    background-image: url( "../icons/completed-icon.png" );
}

.task-done {
    background-image: url( "../icons/completed-icon.png" );
}

.task-canceled {
    background-image: url( "../icons/canceled-icon.png" );
}

.task-type {
    background-image: url( "../icons/feature-icon.png" );
}

.task-unread {
    background-image: url( "../icons/unread-message-icon.png" );
}

.task-read {
    background-image: url( "../icons/read-message-icon.png" );
}

.task-empty {
    background-image: url( "../icons/empty-message-icon.png" );
}

.task-attention {
    background-image: url( "../icons/attention-icon.png" );
}

.task-replay-content-section {
    padding-left: 50px;
}

.task-replay-avatar {
    float: left;
}

.task-replay-avatar img {
    width: 36px;
    height: 36px;
}

.task-replay-title {
    float: left;
    width: 75%;
    margin-top: 10px;
    margin-bottom: 10px;
}

.task-replay-date {
    float: right;
    width: 25%;
    margin-top: 5px;
    margin-bottom: 10px;
}

.task-replay-date span.time-ago {
    color: #aaa;
    font-size: 0.9em;
}

.task-description a.edit-details {
    margin-top: 25px;
}

.task-description,
.task-replay-row {
    border-bottom: 1px solid #e1e1e1;
    margin-bottom: 50px;
}

.task-replay-row {
    padding: 10px 15px 50px;
}

.task-description {
    padding: 10px 0 50px;
}

#replay-form {
    padding: 20px;
    background-color: #f1f1f1;
    border: 1px solid #e1e1e1;
    border-radius: 0px;
    margin: 30px 0;
}

#replay-form .task-replay-avatar {
    margin-top: 55px;
}

.task-description-wrap {
    padding: 15px;
    background: #fffeef;
    border: 1px solid #dddbbb;
}




.collapsed .task-description .task-replay-content,
.collapsed .task-replay-row:not(.newest) .task-replay-content,
.collapsed .edit-details {
    display: none;
}

.collapsed .task-description,
.collapsed .task-replay-row:not(.newest) {
    margin-bottom: 0px;
    padding-top: 10px;
    padding-bottom: 5px;
    cursor: pointer;
}

.collapsed .task-replay-row:not(.newest) {
    background: #f6f6f6;
}

.collapsed .task-description:hover .task-replay-title,
.collapsed .task-replay-row:not(.newest):hover .task-replay-title {
    color: #0080ff;
}

.collapsed .task-description:hover .task-description-wrap,
.collapsed .task-replay-row:not(.newest):hover {
    background: #f1f1f1;
}

#collapse-expand-rows a,
#order-rows a,
#print-all,
#refresh {
    cursor: pointer;
}

#collapse-expand-rows a:hover,
#order-rows a:hover,
#print-all a:hover,
#refresh a:hover {
    color: #0080ff !important;
}

.icon-buttons span {
    margin-left: 20px;
}

a.i-agree {
    margin-top: 20px !important;
    cursor: pointer;
    text-shadow: none;
}

a.i-agree.color-green {
    color: #fff !important;
    background: #008000 !important;
    border: 2px solid #008000 !important;
    text-shadow: none !important;
}

a.i-agree.color-green:hover {
    color: #000 !important;
    background: #fff !important;
}

a.i-agree.color-orange {
    color: #fff !important;
    background: #ff8c00 !important;
    border: 2px solid #ff8c00 !important;
    text-shadow: none !important;
}

a.i-agree.color-orange:hover {
    color: #000 !important;
    background: #fff !important;
}

button#reguired_time_submit {
    display: block;
    width: 100%;
    margin-top: 20px;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1em;
    text-shadow: none;
    color: #fff;
    background: #0080ff;
    border: 2px solid #0080ff;
    border-radius: 3px;
}

button#reguired_time_submit:hover {
    color: #0080ff;
    background: #fff;
    border: 2px solid #0080ff;
    font-weight: bold;
}

.notice-current {
    color: initial;
    text-transform: initial;
    font-weight: initial;
}

#task_settings .avia_message_box_content p {
    display: inherit;
}

#task-status {
    text-align: left;
}

#task-status p {
    text-transform: none;
}

#task-status input[type="radio"] + label {
    cursor: pointer;
}

#task-status input[type="radio"] {
    display: none;
}

#task-status input[type="radio"]#in-work:checked + label {
    background: #0080ff;
}

#task-status input[type="radio"]#paused:checked + label {
    background: #ff8c00;
}

#task-status input[type="radio"]#canceled:checked + label {
    background: #8b0000;
}

#task-status input[type="radio"]#done:checked + label {
    background: #008000;
}

#task-status input[type="radio"]#completed:checked + label {
    background: #008000;
}

#task-status #waiting.active div.iconlist_icon {
    background: #444;
}

#task-status label.iconlist_icon:hover {
    color: #fff !important;
    background: #444;
}

#top #task-status label span {
    font-size: inherit;
    color: inherit;
    text-shadow: none !important;
}

#task-status .avia-icon-list .iconlist_icon {
    margin-left: 0;
}






/*==================================== Modal CSS ======================================*/

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.ibpc-modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #444 !important;
    width: 50%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
    font-weight: normal;
    color: initial;
    text-shadow: none;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 1.5em;
}

#ibpc-modal button {
    font-size: 1em;
    text-transform: uppercase;
    font-weight: bold;
}

button#set_status {
    background: #008000;
    border: 2px solid #008000;
}

button#close_modal {
    background: #8b0000;
    border: 2px solid #8b0000;
}

button#set_status:hover {
    background: #fff;
    color: #008000;
    border: 2px solid #008000;
}

button#close_modal:hover {
    background: #fff;
    color: #8b0000;
    border: 2px solid #8b0000;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.ibpc-modal-header {
    padding: 30px;
    background-color: #444;
    color: white;
    font-size: 1.5em;
    line-height: 1.5em;
}

.ibpc-modal-body {
    padding: 30px;
}

.ibpc-modal-body span.status-name {
    font-weight: bold;
    color: #8b0000;
}

.ibpc-modal-footer {
    padding: 10px 30px;
    background-color: #444;
    color: #c4c4c4;
}





/*==================================== Forms CSS ======================================*/

div.form_element {
    margin: 30px 0;
}








/*==================================== Media Queries CSS ======================================*/

    @media only screen and (max-width: 1367px) and (min-width: 989px) {

        td.title-subject div.ts-wraper { max-width: 500px; }

    }

    /* large screens with 1367px with */
    @media only screen and (min-width: 1367px)  {

    }

    /* large screens with 1140px with */
    @media only screen and (min-width: 1140px)  {

    }

    /* Smaller than standard 960 (devices and browsers) */
    @media only screen and (max-width: 989px) {

    }

    /* Tablet Portrait size to standard 960 (devices and browsers) */
    @media only screen and (min-width: 768px) and (max-width: 989px) {

    }

    /* All Mobile Sizes (devices and browser) */
    @media only screen and (max-width: 767px) {

    }

    /* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
    @media only screen and (min-width: 480px) and (max-width: 767px) {

    }

    /* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
    @media only screen and (max-width: 479px) {

    }





/*Added with version 1.3*/

/*mobile-advanced*/

/*
#mobile-advanced{
width:100%;
right:-100%;
position: absolute;
z-index: 10030;
top:0;
padding:89px 0;
overflow: hidden;
border-left-style: solid;
border-left-width: 1px;
margin:0 0 0 -2px;
-webkit-transform:  scale(0.5);
-ms-transform:      scale(0.5);
transform:          scale(0.5);
-webkit-transition: all 0.6s ease;
transition:         all 0.6s ease;
-webkit-transform-origin: 0% 0%;
-moz-transform-origin: 0% 0%;
-ms-transform-origin: 0% 0%;
transform-origin: 0% 0%;
display:none;
}

#mobile-advanced.large-sceen{
width: 34%;
right: -34%;
}

.show_mobile_menu{
overflow: hidden;
}

.avia_transform3d #mobile-advanced{
-webkit-transform:  scale3d(0.5);
transform:          scale3d(0.5);
}

.show_mobile_menu #mobile-advanced{
-webkit-transform:  scale(1);
-ms-transform:      scale(1);
transform:          scale(1);
-webkit-transform:  translate(-100%, 0);
-ms-transform:      translate(-100%, 0);
transform:          translate(-100%, 0);
}



.avia_transform3d .show_mobile_menu #mobile-advanced{
-webkit-transform:  scale3d(1);
transform:          scale3d(1);
-webkit-transform:  translate3d(-100%, 0, 0);
transform:          translate3d(-100%, 0, 0);
}


#mobile-advanced .avia-menu-fx{display:none; visibility:hidden;}
#mobile-advanced .avia-menu-subtext{display:none;}
#mobile-advanced .av-menu-button > a .avia-menu-text{border:none; padding:0;}
#mobile-advanced>li:first-child>a:first-child{border-top-style: solid;border-top-width: 1px;}
#mobile-advanced li{margin:0; padding:0; position: relative; float:none; clear: both;}
#mobile-advanced li > a:before, .html_header_mobile_behavior #mobile-advanced span > a:before, #mobile-advanced .mega_menu_title:before {
content: "\25BA";
position: absolute;
top: 13px;
margin-left: -10px;
font-family: 'Arial';
font-size: 7px;
}

.html_header_mobile_behavior #mobile-advanced span > a:before{ top: 0px; }

#mobile-advanced ul{margin:0; padding:0; display: block; width:100%; left:0; position: relative;}
#mobile-advanced a , #mobile-advanced .mega_menu_title{padding:13px 28px; border-bottom-style: solid; border-bottom-width:1px; width:100%; display:block; margin:0; text-decoration: none; position: relative; cursor: pointer; }
#mobile-advanced  ul a, #mobile-advanced  .mega_menu_title{padding-left:50px;}
#mobile-advanced  ul ul a{padding-left:80px;}
#mobile-advanced  ul ul ul a{padding-left:110px;}
#mobile-advanced  ul ul ul ul a{padding-left:140px;}

/*mega menu fixes*/

/*
#mobile-advanced .avia-bullet{display:none;}
#mobile-advanced .avia_mega_div{width:100%; margin:0; float: none;}
#mobile-advanced .mega_menu_title a{padding:0; border:none;}
#mobile-advanced .avia_mega_text_block{display:none;}

#advanced_menu_toggle, #advanced_menu_hide{
position: absolute;
border-radius: 2px;
height: 46px;
width: 46px;
line-height: 46px;
text-decoration: none;
text-align: center;
right: 0;
top: 50%;
margin-top:-23px;
z-index: 10000;
border-style:solid;
border-width: 1px;
font-size: 30px;
display:none;
}



.bottom_nav_header #advanced_menu_toggle{top:40px;}


#advanced_menu_hide{
z-index: 10050;
visibility: hidden;
opacity: 0;
top: 44px;
right: 23px;
}

.show_mobile_menu #advanced_menu_hide{
opacity: 1;
visibility: visible;
}

/* .html_logo_right #advanced_menu_toggle{left:0; right:auto;} */

/*
.html_logo_right #advanced_menu_hide{left:23px; right:auto;}
.html_header_mobile_behavior #mobile-advanced ul{display:none;}
#top #mobile-advanced .visible_sublist, #top #mobile-advanced .avia_mega_div.visible_sublist>ul{display:block;}

@media only screen and (max-width: 989px) {
.responsive.html_mobile_menu_tablet .main_menu .avia-menu,
.responsive.html_mobile_menu_tablet #header_main .social_bookmarks,
.responsive.html_mobile_menu_tablet #header_main_alternate{display:none;}
.responsive.html_mobile_menu_tablet .container #advanced_menu_toggle, .responsive.html_mobile_menu_tablet #advanced_menu_hide{display:block;}
.responsive.html_mobile_menu_tablet.html_logo_right #advanced_menu_toggle{left:50px;}
}

@media only screen and (max-width: 767px) {
.main_menu .avia-menu, #header_main_alternate, .fallback_menu{display:none;}
.container #advanced_menu_toggle, #advanced_menu_hide{display:block;}
.responsive.html_mobile_menu_tablet.html_logo_right #advanced_menu_toggle{left:auto;}
}

*/
