@font-face {
    font-family: 'BYekan';
    src: url('BYekan/BYekan.eot');
    src: local('☺'),
    url('BYekan/BYekan.ttf') format('truetype'),
    url('BYekan/BYekan.woff') format('woff');
}

@font-face {
    font-family: 'BNazanin';
    src: url('BNazanin/BNazanin.eot');
    src: local('☺'),
    url('BNazanin/BNazanin.ttf') format('truetype'),
    url('BNazanin/BNazanin.woff') format('woff');
}

body {
    background: #ececec;
    margin-top: 50px;
    font-family: "raleway";
    height: 100%;
}

p {
    text-align: justify;
}

a, a:hover {
    text-decoration: none;
    transition: color 0.5s;
}

.lang-fa {
    font-family: "BYekan";
}

.row {
    margin-left: 0px;
    margin-right: 0px;
}

.row.same-height {
    display: table;
    height: 100%;
    width: 100%;
}

.row.same-height > [class*='col-'] {
    float: none;
    display: table-cell;
    vertical-align: top;
    height: 100%;
}

.row [class*='col-'] {
    padding: 8px;
}

.row [class*='col-']:first-child {
    padding-left: 0px;
}

.row [class*='col-']:last-child {
    padding-right: 0px;

}

.block {
    border-radius: 5px;
    background-color: #fff;
    padding: 15px;
    height: 100%;
    box-sizing: content-box;
    box-shadow: 2px 2px 0px #ddd;
}

.block-aaa {
    border-radius: 5px;
    /*background-color: #2d3e58;*/
    padding: 0px;
    height: 100%;
    box-sizing: content-box;
    /*box-shadow: 2px 2px 0px #ddd;*/
}

.block.button-block {
    cursor: pointer;
}

.block.no-padding {
    padding: 0;
}

.block.colored {
    background-color: #2d3e58;
    color: #fff;
    box-shadow: none;
}

.block.colored a {
    color: #fff;
}

.block.margin-bottom {
    margin-bottom: 20px;
}

.bg-light-colored {
    background: #17c4bb;
    color: #fff;
}

.bg-light-colored a {
    color: #fff;
    text-decoration: none;
}

.bg-colored {
    background: #2d3e58;
    color: #fff;
}

.black-text {
    color: rgba(0, 0, 0, 0.8);
}

.block .header {
    background: #2d3e58;
    color: #fff;
    margin: -15px;
    margin-bottom: 15px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    padding: 10px 15px;
}

.block .footer {
    position: absolute;
    bottom: 8px;
    right: 0px;
    left: 0px;
    border-top: solid 1px #bbb;
    padding: 10px;
}

.top-round {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.block.no-padding .header {
    margin: 0px;
}

.padding10 {
    padding: 10px;
}

.padding20 {
    padding: 20px;
}

.block .header a {
    text-decoration: none;
    color: #fff;
}

.white-text {
    color: #fff;
}

.black-on-white {
    background: #fff;
    color: #000;
}

.with-text-shadow {
    text-shadow: 1px 1px rgba(0, 0, 0, 0.3);
}

.semi-black {
    background: rgba(0, 0, 0, 0.3);
}

.semi-black-darker {
    background: rgba(0, 0, 0, 0.7);
}

.toolbox-link {
    border-right: solid 1px rgba(255, 255, 255, 0.3);
    padding: 10px;
    transition: background 1s;
    background: rgba(0, 0, 0, 0.1);
}

.toolbox-link:hover {
    background: rgba(0, 0, 0, 0.7);
}

.white-links a {
    color: #fff;
}

.fit-to-parent-height {
    height: 100%;
}

.left-curved {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.left-curved-10 {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.right-curved {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.right-curved-10 {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

#header {
    color: #17c4bb;
    padding: 10px;
    margin-bottom: 20px;
}

#header a {
    text-decoration: none;
    color: #17c4bb;
}

.header-text {
    font-weight: normal;
    font-size: 20px;
    padding-left: 5px;
}

#profile {
    float: right;
    padding-right: 20px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

#profile:hover {
    color: rgba(255, 255, 255, 1);
}

/*#profile img{
    border-radius: 20px;
    width: 30px;
    height: 30px;
}*/

#help-content {
    padding: 20px 45px 45px 45px;
}

#help-content p, #help-content span, #help-content ul {
    font-size: 17px;
    text-align: justify;
}

.lang-fa #help-content p, .lang-fa #help-content span, .lang-fa #help-content ul {
    font-size: 20px;
    font-family: "BNazanin";
}

#help-content h2 {
    margin-bottom: 25px;
}

#help-content .lang-bar {
    text-align: right;
}

.lang-fa #help-content .lang-bar {
    text-align: left;
}

#help-content .lang-bar .selected {
    border-bottom: solid 3px red;
}

.vertical-center {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.vertical-bottom {
    position: absolute;
    bottom: 15px;
}

.stop-watch-bg {
    background-image: url('../images/stop-watch-bg.png');
    background-repeat: no-repeat;
    background-position: top left;
}

.alarm-clock-bg {
    background-image: url('../images/alarm-clock-bg.png');
    background-repeat: no-repeat;
    background-position: top right;
}

.table tr {
    cursor: pointer;
}

/*.form-group{
    margin-bottom: 0px;
}*/

.top-nav {
    /*border-bottom: solid 10px #ececec;*/
    border-top: solid 4px #17c4bb;
}

.bottom-nav {
    border-top: solid 10px #ececec;
}

.top-nav li, .bottom-nav li {
    border-left: solid rgba(255, 255, 255, 0.1) 1px;
}

.top-nav a, .bottom-nav a {
    color: #fff;
}

.top-nav a:hover, .bottom-nav a:hover {
    color: #17b1a8;
}

.top-nav a:hover, .top-nav a:focus,
.bottom-nav a:hover, .bottom-nav a:focus {
    background: transparent !important;

}

.top-nav .nav .open > a, .top-nav .nav .open > a:focus, .top-nav .nav .open > a:hover {
    color: #17b1a8;
    background: #2d3e58;

}

#gamePage {
    position: absolute;
    top: 40px;
    /*bottom: 13px;*/
    left: 0px;
    right: 0px;
}

#gamePage .machine_circle {
    position: absolute;
    display: inline-block;
    border-radius: 50%;
    width: 278px;
    height: 278px;
}

.machine_circle.color {
    background: rgba(23, 196, 187, .5);
}

.machine_circle.bg_circle {
    background: rgba(206, 196, 175, .5);
}

.machine_circle.transparent {
    background: rgba(255, 255, 255, 0);
}

#links .badge {
    background: #800;
    font-size: 15px;
    border: solid 2px;
}

#links span.fadedOut, #links img.fadedOut {
    opacity: 0;
}

#links img {
    -webkit-transition: opacity 0.8s;
    -moz-transition: opacity 0.8s;
    -ms-transition: opacity 0.8s;
    -o-transition: opacity 0.8s;
    transition: opacity 0.8s;
}

#queues .label {
    font-size: 15px;
    border: solid 3px;
    border-radius: 11px;
}

#machineNumbers .label {
    font-size: 15px;
    border: solid 2px;
    border-radius: 11px;
}

#overTimes .label {
    font-size: 15px;
    border: solid 3px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: inline-block;
    padding: 3px 5px;
}

/*#gamePage > .row{
    height: 100%;
}
#gamePage > .row [class*='col-'] {
    height: 100%;
}*/

.btn-primary {
    color: #fff;
    background-color: #17b1a8;
    border-color: #17a097;
}

.btn-primary:hover {
    color: #fff;
    background-color: #17a097;
    border-color: #17a097;
}

/*List Group*/
.list-group-item:first-child {
    border-radius: 0;
    -webkit-border-radius: 0;
}

.list-group-item:last-child {
    border-radius: 0;
    -webkit-border-radius: 0;
}

a.list-group-item.active,
a.list-group-item.active:hover,
a.list-group-item.active:focus {
    background-color: #2d3e58;
    border-color: #2d3e58;
}

a.list-group-item.active.light,
a.list-group-item.active.light:hover,
a.list-group-item.active.light:focus {
    background-color: #d7fdff;
    border-color: #17b1a8;
    color: #17b1a8;
}

.list-group-item i {
    /*color: rgba(85, 85, 85, 0.4);*/
    display: inline-block !important;
    float: left;
    margin-right: 11px;
    min-width: 15px;
    text-align: center;
}

.list-group-item i.sub-menu-icon {
    line-height: 23px;
}

.list-group-item h4 {
    margin-bottom: 8px;
    font-size: 17px;
}

.list-group-item h4 {
    margin-bottom: 8px;
    font-size: 15px;
}

.list-group-item {
    font-size: 17px;
    padding: 13px 15px;
    line-height: 22px;
}

a.list-group-item:hover {
    border-left: 5px solid #17c4bb;
    border-color: #17c4bb;
    padding-left: 11px;
}

.lang-fa a.list-group-item:hover {
    border-left: 1px solid #17c4bb;
    border-right: 5px solid #17c4bb;
    border-color: #17c4bb;
    padding-right: 11px;
}

a.list-group-item:hover + a.list-group-item {
    border-top-color: #17c4bb;
}

.list-group .active:hover {
    padding-left: 15px;
    border-left: 1px solid #17c4bb;
}

a[title="JavaScript charts"] {
    display: none !important;
}

.microChart {
    display: inline-block;
    vertical-align: middle;
}

.bold-text {
    font-weight: bold;
}

.timeStep {
    font-size: 5px;
    cursor: pointer;
}

#greenProgressBar:before, #greenProgressBar:after {
    content: "";
    display: none;
}

.gameElement {
    text-align: center;
    padding: 8px;
    position: absolute;
    border: dotted rgba(0, 0, 0, 0.2) 3px;
    border-radius: 50%;
    cursor: pointer;
    /*background: #eee;*/
    /*border-radius: 3px;*/
    /*border: solid #ddd 1px;*/
    -ms-transform: scale(1.1, 1.1); /* IE 9 */
    -webkit-transform: scale(1.1, 1.1); /* Chrome, Safari, Opera */
    transform: scale(1.1, 1.1);
    transition: transform 0.5s;
}

.gameLink {
    position: absolute;
}

.gameLinkCanvas {
    position: absolute;
}

.gameLinkHandle {
    position: absolute;
    display: inline-block;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 10px;
    transition: transform 0.2s;
    cursor: pointer;
}

.gameLinkHandle.disabled, .gameLink.disabled {
    opacity: 0.3;
}

.gameLinkHandle:hover {
    -ms-transform: scale(1.5, 1.5); /* IE 9 */
    -webkit-transform: scale(1.5, 1.5); /* Chrome, Safari, Opera */
    transform: scale(1.5, 1.5);
    opacity: 1;
}

.gameLinkHandle.selected {
    -ms-transform: scale(1.5, 1.5); /* IE 9 */
    -webkit-transform: scale(1.5, 1.5); /* Chrome, Safari, Opera */
    transform: scale(1.5, 1.5);
    opacity: 1;
    box-shadow: rgba(0, 0, 0, 0.7) 0px 0px 10px;
}

.gameElement.disabled {
    -ms-transform: scale(1, 1); /* IE 9 */
    -webkit-transform: scale(1, 1); /* Chrome, Safari, Opera */
    transform: scale(1, 1);
}

.gameElement.square {
    border-radius: 0px;
}

.gameElement.selected, .gameElement:hover {
    border: solid rgba(0, 0, 0, 0.4) 5px;
    background: rgba(255, 255, 255, 0.3);
    /*background: #ddd;*/
    /*border: solid #ccc 1px;*/
    box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 10px;
    -ms-transform: scale(1.2, 1.2); /* IE 9 */
    -webkit-transform: scale(1.2, 1.2); /* Chrome, Safari, Opera */
    transform: scale(1.2, 1.2);
}

.gameElement h3 {
    margin-top: 0px;
}

.gameElement .circleProgress {
    position: absolute;
    top: 0px;
    left: 0px;
    border-radius: 100%;
    background: rgba(255, 255, 255, 0.8);
    width: 45px;
    height: 45px;
    box-shadow: rgba(0, 0, 0, 0.5) 1px 1px 5px;
    transition: transform 0.5s;
}

.gameElement .circleProgress.guage, .gameElement .circleProgress.clock {
    width: 45px;
    height: 45px;

}

.gameElement .timerGauge {
    position: absolute;
    top: 0px;
    bottom: 0px;
    right: 0px;
    left: 0px;
}

.gameElement .barProgress {
    position: absolute;
    top: -5px;
    left: -25px;
    /*opacity:0.5;*/
    box-shadow: rgba(0, 0, 0, 0.5) 1px 1px 5px;
}

.gameElement .barProgress .outer-therm {
    margin: 0px !important;
}

.progress-bar-marker {
    border-radius: 100%;
    margin-left: -5px;
    width: 10px;
    border: solid 1px green;
    background: yellowgreen;
}

.elementImage {
    min-width: 60px;
    min-height: 60px;
    height: 100%;
    width: 100%;
}

.elementImage.big {
    min-width: 128px;
    min-height: 128px;
    height: 100%;
    width: 100%;
}

.gameElement .elementImage {
    filter: grayscale(1);
    -webkit-filter: grayscale(1);
}

.gameElement.disabled .elementImage {
    filter: grayscale(1);
    -webkit-filter: grayscale(1);
}

.gameElement:hover .elementImage, .gameElement.selected .elementImage {
    filter: none;
    -webkit-filter: none;
}

.gameElement:hover .circleProgress, .gameElement.selected .circleProgress {
    background: rgba(255, 255, 255, 1);
    -ms-transform: scale(1.3, 1.3); /* IE 9 */
    -webkit-transform: scale(1.3, 1.3); /* Chrome, Safari, Opera */
    transform: scale(1.3, 1.3);
}

.gameElement .badge {
    /*height: 40px;*/
    /*width: 40px;*/
    position: absolute;
    top: -10px;
    left: -10px;
    border-radius: 100%;
    padding: 6px !important;

}

.elementImage.factory {
    background: url(../images/game/factory.png) no-repeat center center;
    background-size: contain;
}

.elementImage.warehouse {
    background: url(../images/game/Warehouse.png) no-repeat center center;
    background-size: contain;
}

.elementImage.headQuarter {
    background: url(../images/game/headQuarter.png) no-repeat center center;
    background-size: contain;
}

.elementImage.big.factory {
    background: url(../images/game/factory.png) no-repeat center center;
}

.elementImage.big.warehouse {
    background: url(../images/game/Warehouse.png) no-repeat center center;
}

.elementImage.big.headQuarter {
    background: url(../images/game/headQuarter.png) no-repeat center center;
}

.square .elementImage.factory {
    background: url(../images/game/old/factory.png) no-repeat center center;
}

.square .elementImage.warehouse {
    background: url(../images/game/old/Warehouse.png) no-repeat center center;
}

.square .elementImage.headQuarter {
    background: url(../images/game/old/headQuarter.png) no-repeat center center;
}

.table .actionColumn a {
    color: transparent !important;
}

.table tr:hover .actionColumn a {
    color: #666 !important;
}

.btn[disabled] {
    /*opacity: 1 !important;*/
    /*color: #bbb !important;*/
}

ul.myBreadcrumb {
    list-style: none outside none;
    padding: 0;
    margin: 0;
    /*width: 4000px;    */
}

ul.myBreadcrumb li {
    float: left;
    margin: 0;
    padding: 0 20px 0 30px;
    height: 46px;
    line-height: 46px;
    position: relative;
    background: #fff;
    font-size: 16px;
    cursor: pointer;
    color: #666;
}

ul.myBreadcrumb li a {
    text-decoration: none;
}

ul.myBreadcrumb li .chevron {
    border: 24px solid transparent;
    border-left: 14px solid #d4d4d4;
    border-right: 0;
    display: block;
    position: absolute;
    right: -14px;
    top: 0;
    z-index: 1;
}

ul.myBreadcrumb li.active .chevron {
    border-left: 14px solid transparent;
}

ul.myBreadcrumb li .chevron:before {
    border: 24px solid transparent;
    border-left: 14px solid #fff;
    border-right: 0;
    content: "";
    display: block;
    position: absolute;
    right: 1px;
    top: -24px;

}

ul.myBreadcrumb li.active .chevron:before {
    border-left: 14px solid #17c4bb;
}

ul.myBreadcrumb li.active {
    font-weight: bold;
    background: #17c4bb;
    cursor: default;
    color: #fff;
    /*text-shadow: 1px 1px 0px rgba(0,0,0,0.5);*/
}

ul.myBreadcrumb li:first-child {
    border-radius: 4px 0 0 4px;
    padding-left: 20px;
}

/*tags*/
.bootstrapTag .tags {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.bootstrapTag .tags.focused {
    border-color: #66afe9;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

.bootstrapTag .tags .tag-item {
    background: #17c4bb;
    border: 1px solid #17a79e;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
    border-radius: 6px;
    color: #fff;
}

.bootstrapTag .tags .tag-item.selected {
    background: #d9534f;
    border: 1px solid #d43f3a;
    border-radius: 4px;
    color: #fff;
}

.bootstrapTag .tags .tag-item button {
    background: transparent;
    color: #000;
    opacity: .4;
}

.bootstrapTag .tags .tag-item .remove-button {
    color: #fff;
}

.bootstrapTag .host {
    margin: 0px !important;
}

.gameAdminStep {
    min-height: 60px;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    padding-left: 35px !important;
}

.gameAdminStep, .gameAdminStep a {
    color: rgba(0, 0, 0, 0.5);
}

.gameAdminStep a:hover {
    color: rgba(0, 0, 0, 0.8);
}

.gameAdminStep a {
    vertical-align: middle;
}

.gameAdminStep.step1 {
    background: #17c4bb;
    padding-left: 15px !important;
    color: #fff;
}

.gameAdminStep.step2 {
    background: #179e95;
    color: #fff;
}

.gameAdminStep.step3 {
    background: #167c73;
    color: #fff;
}
.gameAdminStep.step4 {
    background: #115148;
    color: #fff;
}
.gameAdminStep.step5 {
    background: #0d372e;
    color: #fff;
}

.gameAdminStep .content {
    line-height: 60px;
}

.gameAdminStep .chevron {
    border: 30px solid transparent;
    border-left: 20px solid #fff;
    border-right: 0;
    display: block;
    position: absolute;
    right: -20px;
    top: 0;
    z-index: 1;
}

.gameAdminStep .chevron:before {
    border: 28px solid transparent;
    border-left: 14px solid #f00;
    border-right: 0;
    content: "";
    display: block;
    position: absolute;
    right: 6px;
    top: -28px;
}

.gameAdminStep.step1 .chevron:before {
    border-left-color: #17c4bb;
}

.gameAdminStep.step2 .chevron:before {
    border-left-color: #179e95;
}
.gameAdminStep.step3 .chevron:before {
    border-left-color: #167c73;
}
.gameAdminStep.step4 .chevron:before {
    border-left-color: #115148;
}

.highLighted {
    color: greenyellow !important;
}

.blink-me {
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 1s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;

    -moz-animation-name: blinker;
    -moz-animation-duration: 1s;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: infinite;

    animation-name: blinker;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@-moz-keyframes blinker {
    0% {
        opacity: 1.0;
    }
    50% {
        opacity: 0.0;
    }
    100% {
        opacity: 1.0;
    }
}

@-webkit-keyframes blinker {
    0% {
        opacity: 1.0;
    }
    50% {
        opacity: 0.0;
    }
    100% {
        opacity: 1.0;
    }
}

@keyframes blinker {
    0% {
        opacity: 1.0;
    }
    50% {
        opacity: 0.0;
    }
    100% {
        opacity: 1.0;
    }
}

#gamePanelBg-map {
    opacity: 0.5;
}

.borderedLink {
    border: solid 2px rgba(0, 0, 0, 0.2) !important;
    padding: 5px;
    margin: 5px;
    border-radius: 6px;
    color: rgba(0, 0, 0, 0.5);
    background: transparent !important;
}

.borderedLinkWhite {
    border: solid 2px rgba(255, 255, 255, 0.2) !important;
    padding: 5px;
    margin: 5px;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.5);
    background: transparent !important;
}

/*.borderedLink[disabled]{
    color: rgba(0,0,0,0.5);
}*/
.borderedLink :hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

.tab-content {
    background: white !important;
    margin-top: 0 !important;
    padding: 15px !important;
    border: 1px solid #ddd;

}

.block.no-header {
    border: solid 1px #ddd;
}

.block {
    border-left: solid 1px #ddd
}

#showHideActionsButton {
    position: relative;
    top: 8px;
    right: 0;
    text-align: right;
    z-index: 1;
}

#showHideActionsButton button {
    position: absolute;
    border-radius: 50%;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background-color: white !important;
    color: #666;
    border-left: dashed 1px #999999;
    border-top: none;
}

.topRightAngled {
    border-top-right-radius: 0 !important;
}

.events-stream {
    background-color: #fff;
    color: #333;
    border-radius: 5px;
    height: 100%;
    box-sizing: border-box;
}

.events-stream h3 {
    padding: 10px;
    margin: 0;
}

.events-stream a {
    color: 333;
}

.events-stream p {
    margin-bottom: 0 !important;
}

.events-stream .item {
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    box-shadow: 3px 3px 4px 0px rgba(0, 0, 0, 0.3);
}

.badge.online {
    background: #70bb71;
    margin-right: 5px;
    color: rgba(0, 0, 0, 0.3);
}

.badge.offline {
    background: #ccc;
    margin-right: 5px;
    color: rgba(0, 0, 0, 0.3);
}

.lostConnection {
    position: absolute;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;

}
.lostConnection .jumbotron{
    background: transparent;
    padding: 0;
    text-shadow: 0px 0px 8px black;
}

#basicFacts b {
    font-weight: bold;
    font-size: 1.2em;
}
