/*#############################################################
Name: Shades of Gray
Date: 2006-11-05
Description: Monochrome, lightweight and totally liquid. Comes with three different layouts.
Author: Viktor Persson
URL: http://arcsin.se

Feel free to use and modify but please provide credits.
#############################################################*/

/* standard elements */
* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

body {
    background: #111 url(../img/bg.jpg) repeat-y center top;
    color: #BBB;
    /*font: normal 62.5% "Lucida Sans Unicode",sans-serif;*/
    font: normal 70% "Lucida Sans Unicode", sans-serif;
}

p, ul {
    font-size: 1.2em;
    /*padding-bottom: 1.2em;*/
    padding-bottom: .6em;
}

textarea {
    font-size: 1.0em;
    font-family: "Lucida Sans Unicode", sans-serif;
}

blockquote {
    font: bold 1em sans-serif;
}

code {
    background: #444;
    display: block;
    font-size: 12px;
    margin: 0 10px 12px;
    overflow: auto;
    padding: 8px 10px;
    white-space: pre;
}

img {
    border: none;
}

ul {
    margin-left: 2em;
}

/*h1 {font: normal 2.4em sans-serif;}*/
h1 {
    font: normal 2.0em sans-serif;
}

h2 {
    font: bold 1.6em Verdana, sans-serif;
    padding-bottom: 4px;
}

/* misc */
.clearer {
    clear: both;
}

.stripes {
    background: #333 url(../img/stripe.gif);
    height: 6px;
}

.left {
    float: left;
}

.right {
    float: right;
}

/* header */
.header {
    background: #111;
    border-bottom: 1px solid #333;
    font: normal 2em sans-serif;
    height: 120px;
    /*background-image:url(img/header.jpg);
    background-repeat:no-repeat;*/
}

.header a {
    color: #888;
    display: block;
    line-height: 120px;
    text-decoration: none;
    width: 100%;
}

.header span {
    padding-left: 32px;
}

.header a:hover {
    background: #191919;
    color: #BBB;
}

/* structure */
.container {
    border: 3px solid #444;
    border-top: none;
}

.main {
    background: #303030;
    border-bottom: 1px solid #2A2A2A;
    border-left: 1px solid #2A2A2A;
}

.main .left {
    width: 62%;
}

.main .right {
    width: 38%;
}

.content {
    border-left: 1px solid #444;
    border-top: 1px solid #444;
    padding: 16px;
}

/* content elements */
.content h1 {
    background: url(../img/bgh1.gif) repeat-x left bottom;
    color: #EEE;
    margin-bottom: 10px;
    padding: 6px 0 4px;
}

.content a {
    color: #999;
    text-decoration: underline;
}

.content a:hover {
    color: #CCC;
}

.content .descr {
    margin-bottom: 5px;
}

/* navigation */
.nav {
    background: #191919 url(../img/nav.gif);
}

.nav a {
    background: #191919 url(../img/nav.gif);
    border-right: 1px solid #161616;
    color: #CCC;
    float: left;
    font: bold 1em Verdana, sans-serif;
    line-height: 51px;
    padding: 0 20px;
    font-size: 1.2em;
}

.nav a:hover {
    background: #191919 url(../img/nav_hover.gif);
}

.nav a.selected {
    background: #191919 url(../img/nav_hover.gif);
}

.nav ul li {
    list-style: none;
}

/* sub-navigation */
.subnav {
    background: #2A2A2A;
    border: 1px solid #1E1E1E;
    border-top-color: #444;
    padding: 12px;
}

.subnav h1 {
    padding-top: 8px;
}

.subnav ul {
    margin: 0;
}

.subnav li {
    background: url(../img/li.gif) no-repeat left bottom;
    list-style: none;
    margin: 0;
}

.subnav li a {
    color: #777;
    line-height: 2.4em;
    padding-left: 18px;
    text-decoration: none;
}

.subnav li a:hover {
    color: #BBB;
}

/* footer */
.footer {
    background: #191919;
    border-top: 1px solid #444;
    color: #999;
    padding: 3% 3% 1%;
}

.footer ul {
    border-top: 1px solid #262626;
    margin: 0;
}

.footer li {
    border-bottom: 1px solid #262626;
    list-style: none;
}

.footer li a {
    display: block;
    line-height: 2em;
    padding-left: 4%;
    width: 96%;
}

.footer a {
    color: #666;
}

.footer a:hover {
    color: #BBB;
    background: #222;
}

.breadcrumbs {
    background: #191919;
    font-size: 1.2em;
    border-left: 1px solid #191919;
    border-top: 1px solid #444;
    padding-left: 16px;
    padding-top: 10px;
    padding-bottom: 6px;
    padding-right: 6px;
}

.breadcrumbs a {
    color: #999;
    text-decoration: underline;
}

.breadcrumbs a:hover {
    color: #CCC;
}

.col3, .col3center {
    float: left;
    width: 31%;
}

.col3center {
    margin: 0 3%;
}

/* bottom */
.bottom {
    color: #666;
    clear: both;
    font-size: 1.1em;
}

.bottom a {
    color: #888;
}

/* New styles */
div.err, div.success {
    padding: 4px;
    font-size: 1.6em;
    margin-bottom: 4px;
    color: #191919;
    text-align: left;
    /*border: 1px solid #191919;
    border-top-color: #444;*/
}

div.err {
    background-color: #f4511e;
}

div.success {
    background-color: #13aa52;
}

.fancy-text-red {
    color: #f4511e;
}

.fancy-text-green {
    color: #13aa52;
}

.fancy-text-yellow {
    color: #fff3cd;
}

table.carlist {
    font-size: 1.2em;
    border-top: 1px solid #444;
    border-left: 1px solid #444;
    background-color: #303030;
    /*border-bottom: 1px solid #2A2A2A;
    border-left: 1px solid #2A2A2A;*/
}

table.carlist tr th, table.carlist tr td {
    padding: 4px;
    border-bottom: 1px solid #666666;
    border-right: 1px solid #666666;
}

table.carlist tr th {
    border-bottom: 4px solid #666666;
}

table.carlist tr.selected, .selected, .selected a {
    /*background-color:#3F3F3F;*/
    background-color: #006699;
    color: #FFFFFF;
}

table.carlist tr.selected td {
    border-bottom-color: #FFFFFF;
}

table.carlist tr th a {
    text-decoration: none;
}

table.carlist tr td.today {
    /*background-color:#CC3300;
    color:#191919;*/
    background-color: #CC0000;
    color: #FFFFFF;
}

table.carlist tr td.forthcoming {
    background-color: #006600;
    color: #FFFFFF;
}

.divider {
    border-bottom: 1px dashed #444;
}

.divider2 {
    background-color: #444;
    height: 1px;
    border-top: 1px solid #222;
    margin-top: 1px;
    margin-bottom: 9px;
    margin-left: 0;
    margin-right: 0;
}

.sup_divider {
    padding-top: 8px;
}

.nav ul {
    padding: 0;
    margin: 0;
}

.nav ul li {
    font: bold .8em Verdana, sans-serif;
    float: left;
}

#sublinks, #sublinks2 {
    clear: both;
    padding: 0;
    margin: 0;
    position: absolute;
    list-style-type: none;
    top: 51px;
    background-color: #222222;
}

#sublinks li, #sublinks2 li {
    padding: 0;
    margin: 0;
    float: none;
    clear: both;
    border-bottom: 1px solid #161616;
    border-right: 1px solid #161616;
}

#sublinks li a, #sublinks2 li a {
    width: 220px;
    color: #CCCCCC;
    line-height: 34px;
    font-weight: normal;
    border-bottom: 1px solid #161616;
}

#sublinks li:hover, #sublinks2 li:hover {
    background: #303030;
}

.upper_pading {
    padding-top: 10px
}

.smaller_txt {
    font-size: .8em;
    font-style: italic;
}

table.carlist tr td.ratecond1, table.carlist tr th.ratecond1 {
    background-color: #01FA00; /*GREEN*/
    color: #000000;
}

table.carlist tr td.ratecond2, table.carlist tr th.ratecond2 {
    background-color: #FF6A00; /*ORANGE*/
    color: #000000;
}

table.carlist tr td.ratecond3, table.carlist tr th.ratecond3 {
    background-color: #FFF802; /*YELLOW*/
    color: #000000;
}

table.carlist tr td.ratecond4, table.carlist tr th.ratecond4 {
    background-color: #FC0100; /*RED*/
    color: #000000;
}

table.carlist tr td.ratecond5, table.carlist tr th.ratecond5 {
    background-color: #FB00FF; /*LILAC*/
    color: #000000;
}

table.carlist tr td.ratecond6, table.carlist tr th.ratecond6 {
    background-color: #01FEFC; /*NAVY*/
    color: #000000;
}

table.carlist ul {
    padding: 0;
    margin: 0;
}

table.carlist ul li {
    list-style-type: none;
    display: block;
    font-size: .8em;
    padding: 1px 0;
}

table.carlist2 {
    font-size: 1.3em;
    color: #000000;
}

.asterix {
    color: #FF9900;
    font-weight: bold;
    /*font-size: 14px;*/
}

/* Tabs */
#tabs {
    display: block;
    float: left;
    width: 100%;
}

a.tab {
    border-collapse: collapse;
    border-style: solid solid none solid;
    border-color: gray;
    border-color: #666666;
    border-width: 1px 1px 0px 1px;
    background-color: #2A2A2A;
    padding: 2px 0.5em 0px 0.5em;
    margin-top: 4px;
    margin-right: 2px;
    text-decoration: none;
    float: left;
    font-size: 1.2em;
}

a.tab:hover {
    border-color: gray;
    background-color: #000000;
    color: #FFFFFF;
}

a.active {
    background-color: #414141;
    padding-top: 6px;
    margin-top: 0;
    color: #FFFFFF;
}

.panel {
    clear: both;
}

.calcTbl {
    background-color: #2A2A2A;
    border: 1px solid #1E1E1E;
    font-size: 1.2em;
    padding: 6px;
}

form input[type="text"],
form input[type="number"],
form input[type="password"],
form textarea {
    background: url("../img/input-bg.gif") repeat-x scroll left top #FFFFFF;
    -moz-border-bottom-colors: none;
    -moz-border-image: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #7C7C7C #DDDDDD #DDDDDD #C3C3C3;
    border-right: 1px solid #DDDDDD;
    border-style: solid;
    border-width: 1px;
    padding: 2px 2px 2px 2px;
}

form input[type="text"].date_input, form input[type="text"].date_input1 {
    background: url("../img/datenofocus.gif") no-repeat scroll left top #FFFFFF;
    border: 1px solid #B4CDE4;
    cursor: pointer;
    padding: 2px 2px 2px 24px;
    width: 70px;
}

form select {
    padding: 2px 2px 2px 2px;
}

form input[type="text"].date_input, form input[type="text"].date_input1 {
    cursor: pointer;
}

input[type="submit"], input[type="button"] {
    vertical-align: middle;
    padding: 2px 6px 2px 6px;
}

.amountToPay {
    background-color: #ffcccc
}

.amountPaid {
    background-color: #ccccff;
}

form input[type="text"].hint_one {
    background: url("../img/hint_one.png") no-repeat left top #FFFFFF;
    padding: 2px 2px 2px 24px;
}

form input[type="text"].hint_two {
    background: url("../img/hint_two.png") no-repeat left top #FFFFFF;
    padding: 2px 2px 2px 24px;
}

form input[type="text"].hint_three {
    background: url("../img/hint_three.png") no-repeat left top #FFFFFF;
    padding: 2px 2px 2px 24px;
}

.cl_vehicle, .cl_representative, .cl_task {
    display: none;
}

.gradient {
    background-color: #191919; /* for non-css3 browsers */
    /* filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='#444444'); Internet Explorer 6,7 and 8
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='#444444')"; Internet Explorer 8 only */
    background: -webkit-gradient(linear, left top, left bottom, from(#000000), to(#444444)); /* for webkit browsers */
    background: -moz-linear-gradient(center top, #000000, #444444) repeat scroll 0 0 transparent; /* for firefox 3.6+ */

    padding: 15px 8px 12px 10px;
    overflow: hidden;
}

.rounded {
    border: 1px solid #444444;
    border-radius: 8px 8px 8px 8px;
    margin: 0 4px 4px 0;
}

a.lnkAsBtn {
    background-color: maroon;
    color: white;
    line-height: 1.9em;
    padding: 4px 6px;
    text-decoration: none;
    white-space: nowrap;
    -moz-border-radius: 10px;
    border-radius: 10px;
    margin-right: 6px;
    font-weight: normal;
}

a.lnkAsBtn:hover {
    background-color: #CC0000;
}

.myInlineModal {
    padding: 20px;
    background-color: #222222;
    font-size: 1.1em;
}

.myInlineModal a {
    color: #999999;
    text-decoration: underline;
}

.myInlineModal a:hover {
    color: #FFFFFF;
}

.myInlineModal ol {
    padding-left: 20px;
}

.myInlineModal ol li {
    padding-left: 0;
    padding-bottom: 2px;
    padding-top: 2px;
}

/*new styles*/
.boastText {
    background-color: #FF0000;
    color: #FFFFFF;
    text-decoration: blink;
    padding-left: 4px;
    padding-right: 4px;
}

/* http://stackoverflow.com/questions/11384588/how-to-add-text-blink-effect-in-css2-for-chrome-browser */
@-webkit-keyframes blinker {
    from {
        opacity: 1.0;
    }
    to {
        opacity: 0.0;
    }
}

@keyframes blinker {
    from {
        opacity: 1.0;
    }
    to {
        opacity: 0.0;
    }
}

.blink {
    text-decoration: blink;

    -webkit-animation-name: blinker;
    animation-name: blinker;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: cubic-bezier(1.0, 0, 0, 1.0);
    animation-timing-function: cubic-bezier(1.0, 0, 0, 1.0);
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
}

#formTilesWrapper {
    padding: 0;
    margin: 0;
}

#formTilesWrapper li {
    float: left;
    list-style-type: none;
}

#formTilesWrapper li div.gradient {
    display: inline-block;
    width: 504px;
}

.mobile_btn {
    background-color: navy;
    color: white;
    border: 1px solid white;
    font-size: 1.6em;
    border-radius: 8px;
}

.vi_text {
    font-size: larger;
    font-family: "Courier New", Courier, monospace;
    color: #FFFFFF;
    border-bottom: 1px dotted #FFFFFF;
    background-color: #000000;
    padding-left: 4px;
    padding-right: 4px;
}

.vi_text_fancy {
    font-weight: bold !important;
    color: #0000FF !important;
    border-bottom: 1px dotted #000000 !important;
    background-color: #00FFFF !important;
}

.vi_text_white {
    font-size: 1.2em;
    color: whitesmoke;
}

table.policy_table {
    font-size: 1.2em;
}

.my-search-bg {
    background-color: #990000;
    height: 20px;
    display: inline-block;
    width: 20px;
}

p.my-search-bg {
    background-color: #990000;
    padding-bottom: 1px;
}

.invalid-feedback {
    color: #FF6A00;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 12px;
}

table.carlist tr.hilight {
    background-color: #0000FF;
}

/* fancy button styles https://www.w3schools.com/css/css3_buttons.asp */
.fancy-button {
    display: inline-block;
    border-radius: 4px;
    border: none;
    color: #FFFFFF;
    text-align: center;
    /*font-size: 28px;
    padding: 20px;*/
    font-size: 18px;
    padding: 6px 20px;

    /*width: 200px;*/
    transition: all 0.5s;
    cursor: pointer;
    margin: 5px;
}

.fancy-button-red {
    background-color: #f4511e;
}

.fancy-button-green {
    background-color: #13aa52;
}

.fancy-button-yellow {
    background-color: #fff3cd;
    color: #856404;
}

.fancy-button span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

.fancy-button span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    /*right: -20px;*/
    right: -10px;
    transition: 0.5s;
}

.fancy-button:hover span {
    /*padding-right: 25px;*/
    padding-right: 15px;
}

.fancy-button:hover span:after {
    opacity: 1;
    right: 0;
}

/* Site-wide blocking loading overlay — shown via appLoading.show()/.close()
   (see js/shared.js). Renders a black, non-dismissable colorbox with a spinner. */
#colorbox.cbox-app-loading #cboxWrapper,
#colorbox.cbox-app-loading #cboxContent,
#colorbox.cbox-app-loading #cboxLoadedContent {
    background: #000 !important;
}

#colorbox.cbox-app-loading #cboxContent {
    padding: 0 !important;
}

#colorbox.cbox-app-loading #cboxClose {
    display: none !important;
}

.app-loading-box {
    background: #000;
    color: #fff;
    padding: 48px 60px;
    text-align: center;
}

.app-loading-spinner {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border: 6px solid rgba(255, 255, 255, 0.25);
    border-top-color: #fff;
    border-radius: 50%;
    -webkit-animation: appLoadingSpin 0.9s linear infinite;
    animation: appLoadingSpin 0.9s linear infinite;
}

.app-loading-text {
    margin-top: 24px;
    font-size: 15px;
}

@-webkit-keyframes appLoadingSpin {
    to { -webkit-transform: rotate(360deg); }
}

@keyframes appLoadingSpin {
    to { transform: rotate(360deg); }
}

/* Гаранционен фонд GO-check modal — extra vertical breathing room */
#go-check-results .success,
#go-check-results .err {
    padding: 14px 10px;
    line-height: 1.4;
}

#go-check-results form.upper_pading {
    padding-top: 16px;
    padding-bottom: 6px;
}
