@import url(https://fonts.googleapis.com/css?family=Roboto:400,700,500&subset=latin,cyrillic-ext);

html, body {
    margin: 0;
    padding: 0;
}

body {
    color: #333333;
    font-family: "Roboto", sans-serif;
    background: #eeeeee;
}

.login-bg {
    background: url("https://stamplay.com/images/exagon-pattern.png") #272d4e;
}

.content {
    width: 1200px;
    margin: 0 auto;
}

table {
    width: 100%;
}

input, button, select {
    outline: none;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 21px;
}

.icon-bar {
    background: #3d3f4d;
}

ul, li {
    margin: 0;
    padding: 0;
    display: inline-block;
    vertical-align: middle;
}

input[type="checkbox"] + label, input[type="radio"] + label {
    margin-left: 2px;
}

section {
    padding: 25px 0;
    margin: 0;
}

.menu {
    background: #3d3f4d;
    color: white;
    height: 80px;
    line-height: 80px;
    min-width: 960px;
}

.menu .inline {
    display: inline-block;
    vertical-align: top;
}

.menu ul.links {
    margin-left: 40px;
    font-size: 0;
}

.menu ul.links li {
    position: relative;
}

.menu ul.links li a {
    display: inline-block;
    height: 80px;
    line-height: 80px;
    color: #e7e7e7;
    padding: 0 15px;
    font-size: 15px;
}

.menu ul.links li:hover {
    color: white;
    background: #343641;
}

.menu ul.links li a.active {
    color: white;
}

.menu ul.links li ul {
    width: 122px;
    display: none;
    position: absolute;
    z-index: 100;
    left: 0;
    top: 80px;
    background: #3d3f4d;
    margin-left: 0;
}

.menu ul.links li ul li {
    width: 100%;
    margin-right: 0;
}

.menu ul.links li ul li a {
    width: 100%;
    padding: 0 10px;
    height: 45px;
    line-height: 45px;
}

.menu ul.links li:hover > ul {
    display: block;
}

.menu .right a {
    color: #e7e7e7;
    border-bottom: 1px dashed #e7e7e7;
}

.menu .right a:hover {
    color: white;
    border-bottom: 1px dashed #e7e7e7;
}

.modal-container {
    padding: 0 20px;
}

.fancybox-wrap.fancybox-desktop.fancybox-type-html.fancybox-opened div.fancybox-skin {
    padding: 20px 0 !important; 
}

.title {
    position: relative;
    padding-left: 0.9375rem;
    padding-right: 0.9375rem;
    display: block;
    font-weight: bold;
    font-size: 22px;
    line-height: 34px;
    letter-spacing: 0.5px;
    color: #555555;
    text-align: left;
    text-transform: uppercase;
}

/*.title:before {
    position: absolute;
    content: "";
    height: 1px;
    background: #ddd;
    width: 1200px;
    bottom: -15px;
    left: -20px;
}*/

.title.white {
    color: white;
}

.modal-button {
    padding: 10px 30px;
}

/*.input-box {
    margin-bottom: 25px;
}*/

small.modal-error {
    padding: 0;
    margin-top: -17px;
    margin-bottom: 0;
}

.add-right {
    float: right;
}

.cart {
    padding: 20px;
    background: white;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

small.error {
    margin-top: -11px;
    font-style: normal;
    padding: 4px 8px;
    border-radius: 0 0 4px 4px;
    color: #a94442;
    z-index: 10;
    background-color: #f2dede;
    text-transform: none;
    margin-bottom: 0.5rem;
}

.cart .switcher-box {
    width: 420px;
    font-size: 0;
    margin-bottom: 20px;
    height: 42px;
    line-height: 40px;
    border-bottom: 1px solid black;
}

.cart .switcher-box a {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    width: 50%;
    font-size: 17px;
    text-decoration: underline;
}

.cart .switcher-box a.active {
    display: inline-block;
    vertical-align: middle;
    border: 1px solid black;
    border-bottom: 2px solid white;
    color: black;
    width: 50%;
    text-align: center;
    font-size: 17px;
    text-decoration: none;
}

.more-link {
    text-align: center;
}

.more-link a {
    color: #777777;
    font-size: 17px;
    border-bottom: 1px dashed #777777;
    text-decoration: none;
}

.login-box {
    width: 300px;
    margin: 0 auto;
    margin-top: 100px;
}

.login-box .login-header {
    text-align: center;
    margin-bottom: 25px;
}

.login-box .login-form {
    background: white;
    padding: 20px;
}

.login-box .login-form input.button {
    padding: 10px;
    outline: none;
    margin-bottom: 0;
}

.login-box .login-form .error {
    font-style: normal;
    text-align: center;
}

.links-box {
    border-bottom: 1px solid #e6e6e6;
    margin-bottom: 10px;
}

.links-box a {
    display: inline-block;
    padding: 10px 15px;
}

.links-box a.active {
    background: #e6e6e6;
}

.flashes .notice {
    color: green;
}

.flashes .alert {
    color: red;
}

.expanded.row {
    max-width: none;
}

.expanded.row.filter-link{
    text-align: center;
    padding: 8px 0 6px;
}

.expanded.row .columns select {
    margin: 0 0 0.5rem 0;
}

.expanded.row .columns.buttons{
    padding-top: 22px;
}

.expanded.row .columns .stage-item {
    border: 1px solid #e0e0e0;
    border-bottom-width: 2px;
    border-radius: 4px;
    margin: 3px 0 0;
    background: #fff;
    padding: 4px 10px;
    position: relative;
}

.expanded.row .columns .stage-item .customer-box {
    display: block;
    padding-right: 75px;
    font-size: 0;
    overflow: hidden;
}

.expanded.row .columns .stage-item .customer-box span.customer-name {
    color: #333;
    display: inline-block;
    font-size: 13px;
    margin: 2px 5px 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
}

.expanded.row .columns .stage-item a.request-name {
    text-decoration: none;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.3;
    font-size: 15px;
}

.expanded.row .columns .stage-item span.time-stamp {
    background: #fff;
    position: absolute;
    top: 7px;
    right: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: #777;
    padding-left: 8px;
}

.expanded.row .columns .stage-item .manager-price-box {
    color: #777;
    font-size: 12px;
    margin-top: 2px;
    overflow: auto;
}

.expanded.row .columns .stage-item span.price {
    margin-left: 1px;
}

.expanded.row .columns .stage-item span.manager-name {
    float: right;
}

.padding-fix {
    width: 1200px;
    margin-left: -20px;
}

.stage-row {
    padding-top: 30px;
}

.expanded.row .large-4.columns .stage-title {
    text-align: center;
    border-bottom: solid 3px;
    margin-bottom: 10px;
}

.expanded.row .large-4.columns .stage-title .stage-descriotion {
    color: #888;
    margin: -5px 0 10px;
}

.expanded.row .large-4.columns .stage-title.stage-1 {
    border-color: #f77;
}

.expanded.row .large-4.columns .stage-title.stage-2 {
    border-color: #fd7;
}

.expanded.row .large-4.columns .stage-title.stage-3 {
    border-color: #7d7;
}

p.help-text {
    margin-top: -0.2rem;
    font-size: 0.75rem;
    line-height: 1.3;
    font-style: italic;
    color: #999;
}

.fancybox-skin {
    background: #fff;
}

button, .button, input[type=submit].button {
    border-radius: 4px;
    text-transform: none;
    font-size: 15px;
    letter-spacing: normal;
    padding: 8px 20px;
}

button.small-button, .button.small-button, input[type=submit].button.small-button {
    padding: 5px 8px;
    font-size: 16px;
    border-radius: 4px;
    margin-left: 5px;
}

button.margin-none, .button.margin-none, input[type=submit].button.margin-none {
    margin-bottom: 0;
}

button.float-right, .button.float-right, input[type=submit].button.float-right {
    float: right;
}

button.second-button, .button.second-button {
    margin-left: 15px;
}
button.icon-button, .button.icon-button {
    padding: 4px 20px;
    font-size: 20px;
}

.columns.buttons button.full-button, .columns.buttons .button.full-button {
    width: 100%;
}

a.request-name.red-link, .columns .red-label {
    color: #f04124;
    
}

a.request-name.red-link:hover {
    color: #cf2a0e;
}

.inline {
    display: inline-block;
}

.column+.column:last-child, .columns+.column:last-child, .column+.columns:last-child, .columns+.columns:last-child {
    float: left;
}

form.form-padding-fix {
    margin: 0;
    padding: 0;
    font-size: 0;
}

table thead tr th {
    background: #f8f8f8;
    color: #444;
    font-weight: 500;
}

.large-12.columns .margin-none {
    margin-bottom: 0;
}

.large-3.columns.align-center {
    text-align: center;
}

a.button.download {
    width: 100%;
    margin-bottom: 10px;
    line-height: 20px;
}

a.button.download  .download-icon {
    font-size: 20px;
    margin-right: 5px;
}

input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="week"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], input[type="color"], textarea {
    height: 34px;
    padding: 0.4rem 0.5rem;
    box-shadow: none;
    border-radius: 4px;
}

.columns input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="week"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], input[type="color"], textarea {
    margin: 0 0 0.5rem 0;
}

select {
    background-color: #fff;
    height: 34px;
    padding: 0.4rem 0.5rem;
    border-radius: 4px;
}

select:focus {
    background-color: #fafafa;
}

hr {
    margin: 1rem 0;
}

hr.no-line {
    border: none;
    margin: 10px;
}

table.non-margin {
    margin: 0;
}

form.button-form {
    display: inline;
}

.title .title-text {
    vertical-align: text-top;
}

label.radio-label {
    display: inline-block;
    margin-right: 20px;
    margin-top: 7px;
}

table {
    border: none;
}

table thead tr th.actions{
    width: 100px;
}

ul.flashes {
    width: 100%;
    margin-top: -15px;
    border: 1px solid #ebccd1;
    margin-bottom: 10px;
    padding: 10px 20px;
    border-radius: 4px;
    color: #a94442;
    background-color: #f2dede;
}

ul.flashes.alert{
    color: #a94442;
    border-color: #ebccd1;
    background-color: #f2dede;
}
ul.flashes.notice{
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

/* Buttons colors */

button.blue, .button.blue {
    background-color: #2199e8;
}

button.blue:hover, button.blue:focus, .button.blue:hover, .button.blue:focus {
    background-color: #1583cc;
}

button.green, .button.green {
    background-color: #2ecc71;
}

button.green:hover, button.green:focus, .button.green:hover, .button.green:focus {
    background-color: #27ae60;
}

button.grey, .button.grey {
    background-color: #f0f0f0;
    color: #333;
}

button.grey:hover, button.grey:focus, .button.grey:hover, .button.grey:focus {
    background-color: #e0e0e0;
}

/* Buttons colors end */

.bubble {
    background-color: #2199e8;
    color: #fff;
    border-radius: 15px;
    clear: both;
    float: left;
    margin-bottom: 15px;
    line-height: 1.3;
    padding: 5px 15px;
    position: relative;
    width: auto;
    max-width: 100%;
    font-size: 14px;
    word-wrap: break-word;
}

.bubble:before, .bubble:after {
    border-radius: 20px / 10px;
    content: '';
    display: block;
    position: absolute;
}

.bubble:before {
    border: 0px solid transparent;
    bottom: 0;
    left: -7px;
    z-index: -2;
}

.bubble:after {
    border: 8px solid transparent;
    border-bottom-color: #2199e8;
    bottom: 1px;
    left: -5px;
}

.bubble--alt {
    background-color: #e5e5e5;
  color: #000;
    float: right;
}

.bubble--alt:before {
    border-radius: 20px / 10px;
    left: auto;
    right: -7px;
}

.bubble--alt:after {
    border-bottom-color: #e5e5e5;
    border-radius: 20px / 10px;
    left: auto;
    right: -5px;
}

.bubble--alt.green {
    background-color: #43AC6A;
    color: #fff;
    float: right;
}

.bubble--alt.green:after {
    border-bottom-color: #43AC6A;
}

.bubble.alert {
    background-color: #f04124;
    color: #fff;
}

.bubble.alert:after {
    border-bottom-color: #f04124;
}

.ms-container .ms-list, .ms-container .ms-selectable li.ms-elem-selectable, .ms-container .ms-selection li.ms-elem-selection {
    display: block;
}

.ms-container {
    width: 100%;
}
