body {
    color: #666666;
    font-family: Rubik, sans serif;
    max-width: 1800px;
    margin: auto;
    border: #ccc solid;
    border-width: 0 2px;
    background: #f5f5f5;
}


a:hover,
a:focus {
    color: #F2C853;
    text-decoration: none;
    border-bottom: 1px #F2C853 dashed;
}

a {
    color: #80080D;
    border-bottom: 1px #80080D dashed;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: Tenor Sans, serif;
}


h2 {
    text-transform: uppercase;
    border-bottom: 4px #80080D dashed;
    padding-bottom: 10px;
    text-shadow: 1px 1px 10px rgb(230, 230, 230);
    font-size: 40px;
}

h3 {
    font-size: 24px;
}



.center {
    text-align: center
}

/*.row{width: 980px;}*/
.w980 {
    max-width: 980px;
    margin: auto;
    float: none;
}

#header {
    background: url(/templates/avtodealer/images/bg7.jpg)bottom left no-repeat;
    padding-bottom: 20px;

    border-bottom: 4px #80080D groove;
    box-shadow: 5px 10px 60px rgba(1, 1, 1, 0.65);
}

#kontakttop .custom {
    float: right;
    margin-right: 30px;
    font-size: 22px;
    line-height: 20px;
}

.zvon {
    text-transform: uppercase;
    color: #E2AC05;
    text-align: center;
    letter-spacing: 2px;
}

#headertop .container {
    border-bottom: 1px #ccc solid;
    /*margin-bottom: 35px;*/
}

h1 {
    font-size: 42px;
    font-weight: bold;
    text-shadow: 1px 1px 5px rgb(93, 91, 91);
}

#header p.cl1 {
    font-size: 26px;
    line-height: 40px;
    margin-top: 30px;
}

#header p.cl1 span {
    font-weight: normal;
    background: url(/templates/avtodealer/images/tick.png) no-repeat;
    padding-left: 38px;
    padding-bottom: 9px;
}

#header p.cl1 span.cl11 {
    background: none;
    padding-left: 0px;
    text-transform: uppercase;
    color: #E2AC05;
    text-shadow: 0 0 2px rgb(121, 121, 121);
}

#header p.cl2 {
    margin-top: 28px;
    border: 1px #ccc solid;
    font-size: 22px;
    font-style: italic;
    background: #80080D;
    line-height: normal;
    color: #fff;
    font-weight: normal;
    width: 740px;
    text-shadow: 1px 1px 2px rgb(16, 16, 16);
    padding: 10px 0px 10px 20px;
}

#header p.cl3 {
    width: 740px;
    margin-top: 20px;
    text-align: center;
}

h1 span.cl1 {
    color: #E2AC05;
}

h1 span.cl2 {
    color: #670105;
}

h1 span.cl3 {
    font-size: 60px;
    text-transform: uppercase;
    color: #F3F2F2;
}

h1 span.cl4 {}

#top1 h1 {
    background: rgba(150, 147, 147, 0.54);
    padding: 10px 20px;
    box-shadow: 4px 4px 0 rgba(84, 82, 82, 0.27);
    width: 700px;
    text-align: center;
}

div#foxcontainer_m101 button.btn:hover {
    color: rgb(222, 221, 221) !important;
    background: #E2AC05;
    text-decoration: none;
}

button,
div#foxcontainer_c104 .controls.buttons .btn,
div#foxcontainer_m101 button.btn {
    padding: 13px 15px 10px;
    color: #fff !important;
    font-size: 22px;
    text-transform: uppercase;
    border-radius: 20px;
    border: 2px #80080D solid;
    background: #E2AC05;
    text-shadow: 0 0 3px rgb(1, 1, 1);
}

button a {
    font-size: 22px;
    text-transform: uppercase;
    color: #fff;
    border-bottom: none;
}

button a:hover {
    border-bottom: none;
}

div#foxcontainer_c104 .controls.buttons .btn {
    font-size: 22px;
    text-transform: uppercase;
    color: #fff !important;
}

#top3 {
    background: url(/templates/avtodealer/images/bg15.jpg) center;
    padding-top: 30px;
    position: relative;
}

#kontakttop {
    margin-top: 5px;
}

.time {
    letter-spacing: 5px;
    float: none;
    margin-top: -10px;
    padding-left: 10px;
    font-size: 80%;
    line-height: normal;
}

button a:hover {
    color: rgb(222, 221, 221);
    text-decoration: none;
}

#top3 .custom {
    background: #fff;
    padding: 20px 30px;
    box-shadow: 5px 5px 0 rgb(111, 110, 110);
    color: #000;
}

.bmw img {
    float: right;
    margin-top: 0;
    margin-right: -10px;
}

#p4 {
    margin-top: -10px;
    background: #fff;
    padding-top: 30px;
    padding-bottom: 30px;
    border: rgba(160, 159, 159, 0.81) dashed;
    border-width: 3px 0;
}

li strong {
    font-weight: normal;
    color: #E2AC05;
    text-transform: uppercase;
    padding-right: 10px;
}

#p4 li {
    font-size: 20px;
    line-height: normal;
    margin: 20px 0;
    /* box-shadow: 0 0 50px rgb(1,1,1);*/
}

#p4 li {
    font-size: 20px;
    line-height: normal;
    margin: 20px 0;
    background: url(/templates/avtodealer/images/tick1.png) no-repeat 3px 1px;
    padding-left: 40px;
    padding-top: 5px;
    padding-bottom: 9px;
    list-style: none;
}

#p4 li:hover {
    box-shadow: 0 0 10px rgba(1, 1, 1, 0.6);
    cursor: pointer;
}

.ev {
    font-size: 38px;
    line-height: 38px;
    margin: 10px auto 20px;
    padding: 80px 0px 30px 70px;
    margin-left: -90px;
    text-align: center;
    color: #E2AC05;
    background: url(/templates/avtodealer/images/crash1.png)no-repeat 20px;
}

.ev span {
    color: #F3F2F2;
    background: #80080D;
    padding: 5px 10px;
}

.ev strong {
    color: #80080D;
    font-weight: normal;
    border-bottom: 2px #80080D dashed;
}

#p4 ul {
    padding-bottom: 10px;
    border-bottom: 3px #80080D dashed;
}

.kupim {
    text-align: center;
    font-family: Tenor Sans;
    text-transform: uppercase;
    font-size: 28px;
    line-height: normal;
    margin-top: 20px;
    border-bottom: 2px #000 dashed;
}

.kupim span {
    color: #80080D;
    font-weight: bold;
}

.kupim strong {
    color: #80080D;
    font-weight: bold;
}

.zvonite {
    text-transform: uppercase;
    font-size: 32px;
    margin-top: 35px;
    line-height: 36px;
    font-weight: bold;
    color: #80080D;
    border-bottom: 1px #9E9E9E solid;
}

h3 {
    border-bottom: 1px #ccc solid;
}

#top3 ul {
    font-size: 22px;
    line-height: 32px;
}

#top3 ul li span {
    color: #80080D;
    background: #D6A50F;
    padding: 0 7px;
    text-shadow: 0 0 2px rgb(249, 245, 245);
}

.esli:hover {
    box-shadow: 3px 3px 30px rgb(189, 186, 186);
}

.esli {
    margin-left: 20px;
    background: rgba(204, 204, 204, 0.2);
    padding: 25px 20px 40px;
    border: 3px #ddd solid;
    box-shadow: 3px 3px 30px rgb(189, 186, 186);
}

#p5 {
    font-size: 18px;
    padding: 50px 0;
    background: #fff url(/templates/avtodealer/images/bit.png) no-repeat right bottom;
}

#p5 h3 {
    text-transform: uppercase;
    margin-top: 30px;
}

#p5 h3 span {
    color: #80080D;
    background: #E2AC05;
    padding: 0 3px;
    text-shadow: 0 0 2px rgb(247, 246, 246);
    font-weight: bold;
}

#p5 li {
    font-weight: normal;
    background: url(/templates/avtodealer/images/tick.png) no-repeat;
    padding-left: 38px;
    padding-bottom: 10px;
    font-size: 22px;
    list-style: none;
    line-height: 35px;
}

.pr {}

.pri {
    font-size: 30px;

    line-height: normal;
}

.pri span {
    background: #80080D;
    padding: 0 3px;
    color: #F1F1F1;
}

p.ofor {
    border-bottom: 3px #ccc double;
    padding-bottom: 20px;
}

#footer {
    padding: 20px 0;
    border-top: 2px #7A7A7A solid;
    background: #E3E3E3;
    font-size: 26px;
}

.zv {
    color: #E2AC05;
    text-transform: uppercase;
    text-shadow: 0 0 3px rgb(199, 198, 198);
}

.rab {
    margin-top: 20px;
    font-size: 75%;
    color: #E2AC05;
}

.rab em {
    color: #99191B;
    border-bottom: 2px #99191B dashed;
}

.kont {
    margin-top: 0px;
    font-size: 30px;
    line-height: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgb(165, 160, 160);
}

.kont em {
    font-size: 26px;
    color: #861416;
}

#footer .container {
    background: url(/templates/avtodealer/images/bg12.png)repeat-y center;
}

#debug span {
    color: #CF4C06;
}

#debug {
    background: #888888;
    border-top: 2px #E3E3E3 groove;
    color: #C5C5C5;
}

#debug a {
    color: #C5C5C5;
    text-decoration: underline;
    border-bottom: none;
}

#debug a:hover {
    color: #fff;
}

#p5 .center {
    margin-top: 50px;
}

#p4 {
    box-shadow: 0 0 50px rgb(1, 1, 1);
}

span.bel {
    border-top: 2px #ccc solid;
    padding-top: 0;
    margin-top: 10px;
    font-size: 27px;
    text-transform: uppercase;
    color: #EFEFEF;
}

span.bel1 {
    color: #038202;
    text-shadow: 0 0 8px rgb(202, 199, 199);
}

span.bel2 {
    color: #B90303;
    text-shadow: 0 0 8px rgb(202, 199, 199);
}

#top3 .center {
    margin-top: 30px;
}

.menuhorizontal li a {
    padding: 0px 10px;
    border-bottom: 1px #95090B dashed;
    margin-right: 25px;
}

.menuhorizontal li {
    display: inline-block;
}

#menutop {
    position: relative;
}

.menuhorizontal li a:focus {
    background-color: inherit;
    color: inherit;
}

.menuhorizontal li a:hover {
    border-bottom: 1px #4C4C4C dashed;
    color: #2F2E2E;
    background: none;
}

#debug .menuhorizontal {
    margin-top: 10px;
}

#debug .menuhorizontal li a {
    text-decoration: none;
    border-bottom: 1px #E3E3E3 dashed;
}

#debug .menuhorizontal li a:hover {
    border-bottom: 1px #FBFFFF dashed;
}

ul.menuhorizontal {
    float: right;
}

label {
    font-weight: normal;
}

#componentwrap {
    background: url(/templates/avtodealer/images/bg15.jpg) center;
}

#component,
.moduletable.main_form {
    margin: 10px auto;
    background: #fff url(/templates/avtodealer/images/bg16.jpg) no-repeat bottom right;
    border: 3px #ddd solid;
    margin: 25px auto;
    padding: 15px 30px;
    box-shadow: 5px 5px 0 rgb(111, 110, 110);
    color: #000;

}

.componentwrap__row {
    background: #fff;
    border: 3px #ddd solid;
    box-shadow: 3px 3px 30px rgb(189, 186, 186);
    margin: 25px auto;
}

form#fox_form_c104 {
    margin-top: 30px;
}

div#foxcontainer_c104 .fox_form select,
div#foxcontainer_c104 .fox_form input[type="text"] {
    height: 35px;
}

div#foxcontainer_c104 .fox_form input[type="text"]:hover,
div#foxcontainer_c104 .fox_form textarea:hover,
div#foxcontainer_c104 .fox_form input[type="text"]:focus,
div#foxcontainer_c104 .fox_form textarea:focus {
    background-color: #DDDDDD;
}

.zap {
    font-size: 18px;
    background: #E2AC19;
    padding: 3px 10px;
    color: #F5F5F5;
}

.krugl {
    color: #E2AC05;
    letter-spacing: normal;
    border-bottom: 2px #99191B dashed;
}

.pref {
    color: #9A191A;
    font-size: 75%;
}

.phone {
    margin-top: -20px;
    font-size: 30px;
    text-shadow: 0 0 2px rgb(150, 150, 150);
    line-height: 26px;
    background: url(/templates/avtodealer/images/viber.png) no-repeat right;
    padding-right: 42px;
    padding-top: 24px;
    background-size: 60px auto;
    background-position-y: 0px;
}

#header .logo {
    margin-top: 20px;
    margin-bottom: 10px;
}

#header .logo a {
    color: inherit;
    border-bottom: none;
}

#footer .viber {
    background: url(/templates/avtodealer/images/viber.png) no-repeat;
    background-position-x: 95%;
    padding-top: 44px;
    background-position-y: 5px;
    margin-top: -30px;
    text-align: right;
    margin-right: 30px;
}

#logobottom img {
    width: 95%;
    margin-left: 5%;
}

#logobottom a {
    text-decoration: none;
    border: none;
}

div#foxcontainer_m101.foxcontainer.main_form .foxform-compact .control-group {
    width: 50%;

}

div#foxcontainer_m101.foxcontainer.main_form .foxform-compact #mid_101-customhtml0 {
    width: 100%;
}

div#foxcontainer_m101.foxcontainer.main_form .foxform-compact .control-label {
    text-align: left;
    padding-right: 0;
    font-weight: bold;
}

div#foxcontainer_m101.foxcontainer.main_form .foxform-compact .controls,
div#foxcontainer_m101 .foxform-extended .controls {
    float: left;
    width: 100%;
    padding: 0 15px;
}

div#foxcontainer_m101 {
    max-width: 800px;
}

div#foxcontainer_m101 .foxform-compact .control-label {
    padding-left: 15px;
}

div#foxcontainer_m101 .fox_form input[type="text"] {
    height: 36px;
}

div#foxcontainer_m101.foxcontainer.main_form .foxform-compact #mid_101-textarea0 {
    width: 100%;
}

div#foxcontainer_m101.foxcontainer.main_form .foxform-compact #mid_101-buttons {
    width: 100%;
    text-align: center;
}

div#foxcontainer_m101 .asterisk:after {
    display: none;
}

a:focus {
    outline: none;
}

#top3 #uploadlist-module101 li span {
    font-size: 14px;
}

div#foxcontainer_m101 ul.fox_messages>li {
    font-size: 16px;
    line-height: 1.25em;
}

.form-control {
    height: 42px;
}

.control-group {
    margin-bottom: 12px;
}

.form__label>span>sup {
    color: #9A191A;
}

input#customFile {
    position: static !important;
}