* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.clearfix {
    display: inline-block;
}

/* start commented backslash hack \*/

* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}

/* close commented backslash hack */

body {
    background: #fefefe;
    font-family: 'PTSansRegular', Arial, Helvetica, sans-serif !important;
    padding-bottom: 70px;
}

h1 {
    background-color: #1ccacd;
    color: #fefefe;
    padding: 100px;
    font-size: 4pc;
    text-align: center;
}

/* Start Authentication */

#authentication_container {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    background-color: #1ccacd;
}

#authentication_container>form {
    text-align: center;
}

#authentication_container #login_message {
    color: #ce4545;
    position: relative;
    margin: -20px 0 10px 0;
}

#authentication_container #login_pass {
    line-height: 40px;
    width: 500px;
    font-size: 20px;
    padding: 2px 15px;
    text-align: center;
}

#authentication_container #login_button {
    color: #fff;
    background: transparent;
    border: solid 1px #ffffff;
    padding: 10px 25px;
    width: 300px;
    font-size: 20px;
    display: block;
    margin: 10px auto;
    cursor: pointer;
    transition: all 0.3s;
}

#authentication_container #login_button:hover {
    background-color: #fff;
    color: #1ccacd;
    border: solid 1px #1ccacd;
}

/* End Authentication */

#main_content_loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1ccacd;
    z-index: 1000;
    text-align: center;
}

#main_content_loader>div {
    display: none;
    position: absolute;
    left: 0;
    margin-left: -100px;
    top: 30%;
}

#main_content_loader>div>img {}

#main_content_loader>div>h3 {
    margin-top: 5%;
    color: #458ba0;
    font-size: 25px;
    display: none;
}

#config_box select {
    width: 100%;
    display: block;
    margin: 0 auto;
    margin-top: 20px;
}

#templates_content,
#config_box,
#result_box {
    margin: 5% auto;
}

#templates_content ul,
#config_box ul {
    list-style-type: none;
    margin: 5px auto;
    display: table;
}

#templates_content ul li {
    float: left;
    overflow: hidden;
    -webkit-transition: all .3s;
    transition: all .3s;
    position: relative;
}

.background-select {
    max-width: 1200px;
}

.background-select > li{
    position: relative;
}

.background-select li>.bg_title {
    font-size: 30px;
    color: #333;
    position: absolute;
    width: 100%;
    left: 0;
    top: 50%;
    margin-top: -20px;
    text-align: center;
}

.background-select li a:hover:after,
.background-select li a:hover:before {   
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    opacity: 0.8;  
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    transition-delay: 0.2s;    
}

.background-select li a:after,
.background-select li a:before {
    content: " ";
    position: absolute;
    opacity: 0.2;  
    z-index: 1;
    display: block;
    -webkit-transition: all 0.1s;
    transition: all 0.1s;
    z-index: 1000;
}

.background-select li a:after {
    width: calc(100% - 50px);
    height: calc(100% - 30px);
    left: 25px;
    top: 15px;
    border-left: 1px solid #1ccacd;
    border-right: 1px solid #1ccacd;
    -webkit-transform: scale(1, 0);
    transform: scale(1, 0);
}

.background-select li a:before {
    width: calc(100% - 30px);
    height: calc(100% - 50px);
    left: 15px;
    top: 25px;
    border-top: 1px solid #1ccacd;
    border-bottom: 1px solid #1ccacd;
    -webkit-transform: scale(0, 1);
    transform: scale(0, 1);
}

/* .background-select li:hover a img { */

/* transform: scale(1.30) !important; */

/* z-index: 100; */

/* margin: 0 30px; */

/* transform-origin: center center; */

/* } */

/* .background-select li.none:hover a img{ */

/* transform: scale(1) !important; */

/* margin: 0 0; */

/* } */

#templates_content ul li a {
    display: block;
    max-width: 300px;
    /* height: 200px; */
    /* overflow: hidden; */
    z-index: 100;
    border: 1px solid #eee;
}

#templates_content ul li a.baseImg {
    height: 180px;
    position: relative;
    overflow: hidden;
}

#templates_content ul li a img {
    width: 100%;
    background: url('../img/transparent_bg.png');
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

#templates_content h2,
#config_box h2 {
    text-align: center;
    color: #808080;
    font-weight: 100;
    font-size: 2pc;
    margin-bottom: 50px; 
}

#config_box,
#result_box {
    display: none;
}

#selected_background_img {
    max-width: 200px;
    max-height: 300px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: url('../img/transparent_bg.png');
}

#selected_background_title,
#selected_background_size {
    display: block;
    font-size: 14px;
    color: #555;
    margin-top: 1px;
    font-style: italic;
}

#result_box>img {
    background: url('../img/transparent_bg.png');
}

#config_box ul li input[type="text"] {
    width: 100%;
    text-align: center;
    line-height: 35px;
    font-size: 16px;
    font-weight: bold;
    padding: 0 10px;
}

#loader {
    position: absolute;
    top: 35%;
    left: 50%;
    margin-left: -77px;
    text-align: center;
    display: none;
}

#loader h3 {
    color: #2b6374;
    margin: 25px 0 0 0;
}

.agreement-agb {
    padding: 25px 3px 5px 3px;
    text-align: left;
    color: #555;
}

.agreement-agb > label{
    display: block;
    color: #fff;
    background: #939999;
    padding: 15px 15px;
}
.agreement-agb > .agb-content{
    border: 1px solid #939999;
    padding: 15px;
    max-height: 150px;
    overflow-y: auto;
    line-height: 1.4em;
    font-size: 0.95em;
}
.agreement-agb > .agb-content h3{
    margin: 15px 0 5px 0;
}

.copy_r a {
    color: #a0a0a0;
}

.copy_r {
    display: inline-block;
    color: #a0a0a0;
    text-decoration: none;
    text-align: center;
    width: 100%;
    background-color: #fefefe;
    padding: 10px;
    position: fixed;
    bottom: 0;
    border-top: 1px solid #f3f3f3;
    padding-top: 20px;
    z-index: 100;
}

/*Formulare*/

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    border-radius: 0;
    font-size: 1em;
    width: 100%;
    text-transform: capitalize;
}

select {
    width: 100%;
    border: 1px solid #bbb;
    padding: .75em 1em .5em 1em;
    box-shadow: 0 2px 1px 0 rgba(0, 0, 0, 0.2);
    background-color: white;
    background-image: url(/images/select-arrow.png);
    background-position: right;
    background-repeat: no-repeat;
}

select {
    border: 1px solid #f3f3f3;
    padding: .75em 1em .5em 1em;
    box-shadow: 0 1px 1px 0 #e4e4e4;
    margin-bottom: 15px;
}

select:hover {
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
}

option {
    border-top: 1px solid #444 !important;
    padding: .3em 1em .3em 1em;
}

#mainColorSelector span.color {
    position: relative;
    width: 47.68px;
    width: 2.98rem;
    height: 47.68px;
    height: 2.98rem;
    display: inline-block;
    cursor: pointer;
    border-radius: 50%;
    /* <- */
    margin: 20px 2px 0 2px;
    max-width: 40px;
    max-height: 40px;
    /* 30 */
    min-width: 25px;
    min-height: 25px;
    border: 1px solid #dedede;
    /* <- */
    /* background-image: url(../img/car-logo.png);
	background-size: 100%;
	background-repeat: no-repeat; */
}

#mainColorSelector span.color:hover .tooltip {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

#mainColorSelector span.color:hover .tooltip::before {
    content: attr(data-color);
    position: absolute;
    z-index: 10;
    white-space: nowrap;
    width: auto;
    min-width: 60px;
    background-color: #2e2e2e;
    color: #fefefe;
    padding: 3px 10px;
    border-radius: 5px;
    top: -100%;
    left: -53%;
    text-transform: capitalize;
}

#mainColorSelector span.color:hover .tooltip::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-top: 15px solid #2e2e2e;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom-width: 0;
    top: -51%;
    left: 50%;
    transform: translate( -48%);
}

ul.form_inputs {
    list-style-type: none;
    margin: 0 auto;
    display: block;
    width: 30%;
}

button#generate {
    padding: 15px 30px;
    width: 100%;
    font-size: 20px;
    background-color: #1ccacd;
    border: none;
    color: #fff;
    text-transform: uppercase;
    margin-top: 50px;
    cursor: pointer;
    box-sizing: border-box;
    font-weight: 700;
    -webkit-transition: all .3s;
    transition: all .3s;
}

button#generate:hover {
    -webkit-transform: scale(1.07);
    transform: scale(1.07);
}

.img_link:hover {
    -webkit-transform: scale(1.07);
    transform: scale(1.07);
}

.a_refresh:hover {
    -webkit-transform: scale(1.07);
    transform: scale(1.07);
}

div#result_box {
    text-align: center;
    max-width: 1024px;
    margin: 0 auto;
    padding-bottom: 60px;
}

div#result_box img {
    max-height: 100%;
    display: block;
    margin: 0 auto;
    margin-bottom: 50px;
    border: 1px solid #eee;
}

.img_link {
    padding: 15px 30px;
    background-color: #1d85ff;
    border: none;
    color: #fff;
    text-transform: uppercase;
    margin-top: 50px;
    cursor: pointer;
    box-sizing: border-box;
    font-weight: 700;
    -webkit-transition: all .3s;
    transition: all .3s;
    text-decoration: none;
}

.a_refresh {
    padding: 15px 30px;
    background-color: #1ccacd;
    border: none;
    color: #fff;
    text-transform: uppercase;
    position: relative;
    top: 35px;
    cursor: pointer;
    box-sizing: border-box;
    font-weight: 700;
    -webkit-transition: all .3s;
    transition: all .3s;
    text-decoration: none;
}

span.active:after {
    content: "\2714";
    position: absolute;
    bottom: -2px;
    right: -1px;
    width: 16px;
    height: 16px;
    background-color: #fff;
    color: #cc0033;
    border-radius: 50%;
    border: 1px solid #cc0033;
    font-weight: 100;
    font-size: 12px;
}

button#generate:disabled {
    background-color: #939999;
    cursor: no-drop;
    -webkit-transform: scale(1);
    transform: scale(1);
}

#config_box {
    text-align: center;
}

#output_tilte {
    text-transform: capitalize;
    margin: 0 auto 8px 0;
    color: #666;
    font-weight: 900;
}

.backButton {
    display: inline-block;
    margin-bottom: 20px;
}

.car_position_icons>label {
    position: relative;
    display: none;
}

.car_position_icons>label>img {
    max-width: 130px;
    display: inline-block;
    margin: 0 2px;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.4s;
}

.car_position_icons>label>img:hover,
.car_position_icons>label>.car_pos_checkbox:checked~img {
    opacity: 1;
    transform: scale(1.05);
}

.car_position_icons>label>.car_pos_checkbox {
    display: none;
}

.car_position_icons>label>span.icon {
    position: relative;
}

.car_position_icons>label>.car_pos_checkbox:checked~span.icon:after {
    content: "\2714";
    position: absolute;
    top: -70%;
    right: 12px;
    background-color: #fff;
    color: #cc0033;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    border: 1px solid #cc0033;
    font-weight: 100;  
}

/* Result */

#result_container:after{
    content: "";
    clear: both;
}

.reult_images {
    position: relative;
    margin: 25px 2px 60px 2px;
    /* height: 500px; */
    display: inline-block;
    border: 2px solid #ddd;
    font-size: 12px;  
}


.reult_images im {
    width: 100%;
}

.reult_images a {
    display: block;
    height: 100%;
}

.reult_images a .title {
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    transform: translate(0, 110%);
    width: 100%;
    padding: 15px 30px;
    line-height: 20px;
    opacity: 1;
    background: #F44336; 
    color: #fefefe;
    z-index: 1;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}
.reult_images a .title .icon{
    position: relative;
    left: 6px;
}
.reult_images a::after {
    content: "";
    position: absolute;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, #ffffff 1%, transparent 10%);
    top: 0;
    left: 0;
    z-index: 10;
    display: none;
}

.reult_images a::before {
    content: "";
    position: absolute;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, #ffffff 1%, transparent 10%);
    top: 0;
    right: 0;
    z-index: 10;
    display: none;
}

#processesBar {
    display: none;
    max-width: 100%;
    background: #eee;
    border: 1px solid #ddd;
    line-height: 25px;
    position: relative;
    top: 10px;
    overflow: hidden;
    border-radius: 3px;
}

#processesBar .title {
    color: #2b6374;
    font-weight: 700;
    position: relative;
    z-index: 100;
    display: block;
    /* background: #900;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text; */
}

#processesBar .bar {
    display: block;
    width: 0%;
    height: 100%;
    background-color: #1ccacd;
    position: absolute;
    z-index: 1;
}

/* Start filter-container */

.filter-container {
    width: 100%;
    max-width: 600px;
    margin: 70px auto 5px auto;
}

.filter-container>ul {
    margin: 0;
    padding: 0;
    width: 100%;
}

.filter-container>ul>li {
    float: left;
}

/* End filter-container */

/* START Package */

.background-select > li:hover .package_popup{
    opacity: 0.85;
    transform: scale(1);
    border-top-right-radius: 0%;
}

.package_popup{  
    position: absolute;    
    padding: 20px;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    text-align: center;
    z-index: 101;
    background-color: #ffffff;
    border-top-right-radius: 100%;
    opacity: 0;
    transition: all 0.3s;
    transform: scale(0);
    transform-origin: 0 100%;    
}

.package_popup .list{
    position: absolute;
    width: 80%;
    left: 10%;
    top: 50%;
    color: #444;
    transform: translate( 0 , -50%);
}

.package_popup .list h3{  
    margin-bottom: 2%;
}

.package_popup p {    
    font-size: 0.7em;
    line-height: 1.6em;
    border-bottom: 1px dotted #ddd;      
}
.package_popup p:last-child {
    border-bottom-width: 0;
}

/* END Package */

/* Widths */

.in-l-1 {
    width: 10%;
}

.in-l-2 {
    width: 20%;
}

.in-l-3 {
    width: 30%;
}

.in-l-4 {
    width: 40%;
}

.in-l-5 {
    width: 50%;
}

.in-l-6 {
    width: 60%;
}

.in-l-7 {
    width: 70%;
}

.in-l-8 {
    width: 80%;
}

.in-l-9 {
    width: 90%;
}

.in-l-10 {
    width: 100%;
}