* {
    outline-width: 0 !important;
}
a,
a:hover,
a:focus {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

html {
   height: 100%;
   height: 100vh;
}

body {
    background-color: transparent;
    background-image: url('../images/bg.jpg');
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    color: #333333;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    padding: 20px;
    min-height: 100%;
}

body > .container {
    background-color: #FFFFFF;
    position: relative;
    width: auto;
    max-width: 970px;
    padding: 20px;
    margin: 0 auto;
    border: 1px solid #cdcdcd;
}

body > .container:first-child {
    border-bottom-width: 0;
}

/* Buttons */
a.button,
input.button,
button.button {
    background-image: none;
    background-color: #3498DB;
    border: 1px solid #2488CB;
    color: #FFFFFF;
    display: inline-block;
    margin: 0;
    margin-top: 23px;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    white-space: nowrap;
    padding: 0 12px;
    font-size: 16px;
    height: 34px;
    line-height: 30px;
    -webkit-user-select: none;
            user-select: none;
    
    -webkit-transition: all 0.4s linear;
    transition: all 0.4s linear;
}
a.button.block,
input.button.block,
button.button.block {
    width: 100%;
}
a.button:hover,
input.button:hover,
button.button:hover {
    background-color: #2980B9;
    border-color: #1970A9;
}

/* Alert */
.alert {
    padding: 15px;
    margin-bottom: 21px;
    border: 1px solid transparent;
    border-radius: 4px;
}
.alert h4 {
    margin-top: 0;
    color: inherit;
}
.alert .alert-link {
    font-weight: bold;
}
.alert > p,
.alert > ul {
    margin-bottom: 0;
}
.alert > p {
    margin-top: 0;
}
.alert > p + p {
    margin-top: 5px;
}
.alert-dismissable,
.alert-dismissible {
    padding-right: 35px;
}
.alert-dismissable .close,
.alert-dismissible .close {
    display: none;
}
.alert-success {
    background-color: #18bc9c;
    border-color: #18bc9c;
    color: #ffffff;
}
.alert-success hr {
    border-top-color: #15a589;
}
.alert-success .alert-link {
    color: #e6e6e6;
}
.alert-info {
    background-color: #3498db;
    border-color: #3498db;
    color: #ffffff;
}
.alert-info hr {
    border-top-color: #258cd1;
}
.alert-info .alert-link {
    color: #e6e6e6;
}
.alert-warning {
    background-color: #f39c12;
    border-color: #f39c12;
    color: #ffffff;
}
.alert-warning hr {
    border-top-color: #e08e0b;
}
.alert-warning .alert-link {
    color: #e6e6e6;
}
.alert-danger {
    background-color: #e74c3c;
    border-color: #e74c3c;
    color: #ffffff;
}
.alert-danger hr {
    border-top-color: #e43725;
}
.alert-danger .alert-link {
    color: #e6e6e6;
}

/* Forms */
form {
    margin: 0;
}
form .row {
    margin-top: 10px;
}
form .row:first-child {
    margin-top: 0;
}
form .field {
    margin-top: 10px;
}
form .field:first-child {
    margin-top: 0;
}

form label {
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 6px;
}
form label i {
    color: #E20;
    font-style: normal;
}
form input[type="text"],
form input[type="email"],
form input[type="number"],
form textarea,
form select,
form .input {
    background-color: #FFFFFF;
    padding: 3px 5px;
    display: block;
    width: 100%;
    height: 34px;
    line-height: 28px;
    margin: 0;
    border: 1px solid #CCCCCC;
    -webkit-box-shadow: initial;
       -moz-box-shadow: initial;
            box-shadow: initial;
    
    -webkit-transition: border-color 0.4s linear;
    transition: border-color 0.4s linear;
}
form textarea {
    height: auto;
    min-height: 91px;
    resize: vertical;
}
form select option {
    padding: 5px 10px;
}
form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="number"]:focus,
form textarea:focus,
form select:focus {
    border-color: #555555;
}

form .input-dialer {
    position: relative;
    padding: 0 34px;
    margin-top: 5px;
}
form .input-dialer input[type="text"] {
    text-align: center;
    border-color: #CCCCCC;
    border-width: 1px 0;
}
form .input-dialer .button {
    background-color: #FFFFFF;
    border-color: #CCCCCC;
    color: #000000;
    position: absolute;
    top: 0;
    width: 34px;
    margin-top: 0;
    padding: 0;
    font-size: 20px;
}
form .input-dialer .button:hover {
    color: #2980B9;
}
form .input-dialer .button.disabled {
    color: #999999;
    cursor: default;
}
form .input-dialer .button.minus {
    left: 0;
    border-right-width: 0;
}
form .input-dialer .button.plus {
    right: 0;
    border-left-width: 0;
}

/* Header */
header {
    position: relative;
    text-align: left;
    height: 70px;
}
header .logo {
    display: inline-block;
    float: left;
}
header .logo img {
    height: 70px;
}
header h1 {
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 30px;
    margin: 20px 15px;
    letter-spacing: 1px;
    
    float: left;
}

header .right-container {
    position: absolute;
    right: 0;
    top: 0;
    width: 140px;
    height: 70px;
}

/* Language switcher */
#language-switcher {
    width: 100%;
    height: 32px;
}
#language-switcher select {
    width: 100%;
    height: 32px;
}
#language-switcher .noUglySelect-control:hover,
#language-switcher .noUglySelect-control:focus {
    background-color: #FAFAFA;
}
#language-switcher .noUglySelect-dropdown a {
    height: 32px;
}
#language-switcher .noUglySelect-label img,
#language-switcher .noUglySelect-dropdown img {
    float: left;
    clear: left;
    width: 24px;
    height: 24px;
    margin-top: 3px;
    margin-right: 6px;
}
#language-switcher .noUglySelect-dropdown > li > a:hover,
#language-switcher .noUglySelect-dropdown > li > a:focus {
    background-color: #3498DB;
}
#language-switcher .noUglySelect-dropdown > li > a.active {
    background-color: #2980B9;
}

/* Basket */
#basket {
    margin-top: 6px;
}
#basket .basket-status {
    display: block;
    position: relative;
    border: 1px solid #EEEEEE;
    color: #4C4C84;
    font-size: 14px;
    height: 14px;
    text-align: left;
    cursor: pointer;
    height: 32px;
    line-height: 29px;
    padding: 0 10px 0 40px;
    background-image: url(../images/hose.png);
    background-repeat: no-repeat;
    background-size: 25px 21px;
    background-position: 9px 4px;
}
#basket .basket-status:hover,
#basket .basket-status:focus {
    background-color: #FAFAFA;
}
#basket .basket-status span {
    float: right;
    color: #4C4C84;
}

/* Content */
#content {
    min-height: 300px
}

.step-title {
    text-align: left;
    font-size: 20px;
}
.step-title:first-child {
    margin-top: 0;
}

/* Home introduction */
#content .home-intro {}
#content .home-intro ul,
#content .home-intro ol {
    padding-left: 2em;
}
#content .home-intro ol {
    list-style-type: decimal-leading-zero;
}

/* Home button group */
.home-button {
    width: 300px;
    margin: 20px auto 0;
}
.home-button .button {
    margin-top: 10px;
}

/* Country switcher */
#country-switcher {
    width: 100%;
    height: 32px;
}
#country-switcher select {
    width: 100%;
    height: 32px;
}
#country-switcher .noUglySelect-control {
    border-color: #CCCCCC;
}
#country-switcher .noUglySelect-control:hover,
#country-switcher .noUglySelect-control:focus {
    background-color: #FAFAFA;
}
#country-switcher .noUglySelect-dropdown {
    top: auto;
    bottom: 0;
}
#country-switcher .noUglySelect-dropdown a {
    height: 32px;
}
#country-switcher .noUglySelect-label img,
#country-switcher .noUglySelect-dropdown img {
    float: left;
    clear: left;
    width: 24px;
    height: 24px;
    margin-top: 3px;
    margin-right: 6px;
}
#country-switcher .noUglySelect-dropdown > li > a:hover,
#country-switcher .noUglySelect-dropdown > li > a:focus {
    background-color: #3498DB;
}
#country-switcher .noUglySelect-dropdown > li > a.active {
    background-color: #2980B9;
}

/* Form steps */
#form-steps {
    text-align: center;
    margin-top: 30px;
}
#form-steps ul {
    display: inline-block;
    list-style-type: none;
    padding: 0;
    margin: 0;
}
#form-steps ul .step {
    display: block;
    position: relative;
    float: left;
    margin: 0 10px;
    height: 60px;
    width: 16px;
}
#form-steps ul .step span {
    display: block;
    position: relative;
    top: 22px;
    height: 16px;
    width: 16px;
    background-color: #CCCCCC;
    border-radius: 8px;
    
    -webkit-transition: all 0.4s linear;
    transition: all 0.4s linear;
}

#form-steps ul .step.done span,
#form-steps ul .step.doing span {
    background-color: #239CD7;
}

#form-steps ul .step.doing {
    width: auto;
}
#form-steps ul .step.doing span {
    overflow: visible;
    top: 0;
    width: 60px;
    height: 60px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
    line-height: 58px;
    color: #FFFFFF;
}
#form-steps ul .step.prev {
    width: auto;
    margin-left: 0;
}
#form-steps ul .step.next {
    width: auto;
    margin-right: 0;
}
#form-steps ul .step.prev span,
#form-steps ul .step.next span {
    cursor: pointer;
    overflow: hidden;
    display: block;
    background-color: transparent;
    color: #CCCCCC;
    top: 10px;
    font-weight: bold;
    font-size: 30px;
    width: 30px;
    height: 40px;
    line-height: 40px;
}
#form-steps ul .step.prev span:hover,
#form-steps ul .step.next span:hover {
    color: #239CD7;
}

/* Select boxes */
.select-boxes {
    text-align: center;
}
.select-boxes .select-box {
    display: block;
    cursor: pointer;
    padding: 10px;
    background-color: #F0F0F0;
    margin-bottom: 10px;
    -webkit-transition: all 0.4s linear;
    transition: all 0.4s linear;
}
.select-boxes .select-box:hover {
    background-color: #CCCCCC;
}
.select-boxes .select-box.active {
    background-color: #009CD4;
    color: #FFFFFF;
}
.select-boxes .select-box p {
    font-size: 12px;
    margin-top: 7px;
    margin-bottom: 0;
}
.select-boxes .select-box .image {
    height: 0px;
    width: 100%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

#hoses .select-box,
#couplings .select-box {
    padding: 5px;
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
}
#hoses .select-box:hover,
#couplings .select-box:hover {
    border-color: #009CD4;
}
#hoses .select-box strong,
#couplings .select-box strong {
    display: block;
    font-size: 12px;
}
#hoses .image {
    padding-bottom: 20%;
}

#couplings-categories .category,
#couplings-sub-categories .category {
    margin-bottom: 10px;
}
#couplings-categories .select-box,
#couplings-sub-categories .select-box {
    padding: 0;
    margin-bottom: 0;
}
#couplings-categories .select-box strong,
#couplings-sub-categories .select-box strong {
    display: block;
    padding: 10px;
}
#couplings-categories .image {
    padding-bottom: 66.67%;
    background-color: #FAFAFA;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}
#couplings-sub-categories .img-wrapper {
    background-color: #FFFFFF;
    padding: 15px 0;
    text-align: center;
}
#couplings-sub-categories .img-wrapper img {
    width: 50%;
    height: auto;
}

#couplings-categories .pdf {
    display: block;
    width: 32px;
    height: 32px;
    background-image: url('../images/pdf.png');
    background-size: 32px 32px;
    background-repeat: no-repeat;
    float: right;
    position: absolute;
    right: 10px;
    bottom: 5px;
}

#couplings .image {
    padding-bottom: 100%;
    background-size: 100% 100%;
    position: relative;
}
#couplings .image::after {
    content: "";
    display: block;
    width: 46px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 100% 100%;
    position: absolute;
    right: 0;
    top: 0;
}
#couplings .image.outlet {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

/* Hose Order */
#hose-order {
    background-color: #FAFAFA;
    border: 1px solid #CCCCCC;
}
#hose-order > .row {
    margin-left: 0;
    margin-right: 0;
}
#hose-order > .row > div {
    padding-left: 0;
    padding-right: 0;
}
#hose-order .hose-animation {
    padding-top: 5px;
    padding-bottom: 5px;
}
#hose-order .hose-animation .hose-id {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 10px;
    left: 0;
    z-index: 2;
}
#hose-order .hose-form form {
    padding: 7px 10px 10px 10px;
}
#hose-order .hose-form .row {
    margin-top: 0;
}
#hose-order .hose-form form > .button {
    margin-top: 10px;
}

/* Hose animation */
@keyframes inlet_enter_hose {
  0% {
    left: -44.445%;
  }
  100% {
    left: -27.75%;
  }
}
@keyframes outlet_enter_hose {
  0% {
    right: -44.445%;
  }
  100% {
    right: -27.75%;
  }
}

.hose-animation {
    position: relative;
    overflow: hidden;
    padding-left: 22%;
    padding-right: 22%;
    background-color: #FFFFFF;
}
.hose-animation .animation-inner {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    padding-top: 22%;
    position: relative;
}
.hose-animation img.hose {
    width: 100%;
    height: auto;
    left: 0;
    position: relative;
    z-index: 2;
}
.hose-animation img.coupling {
    width: 44.45%;
    height: auto;
    position: absolute;
    bottom: 0;
    z-index: 1;
}
.hose-animation img.coupling.inlet {
    left: -27.75%;
}
.hose-animation img.coupling.outlet {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    right: -27.75%;
}

.hose-animation.animated img.coupling {
    animation-duration: 2s;
    animation-timing-function: linear;
    animation-iteration-count: 1;
}
.hose-animation.animated img.coupling.inlet {
    animation-name: inlet_enter_hose;
}
.hose-animation.animated img.coupling.outlet {
    animation-name: outlet_enter_hose;
}

/* Basket */
#basket-orders {}

#basket-orders .order {
    border: 1px solid #DDDDDD;
    margin-bottom: 10px;
    position: relative;
}
#basket-orders .order .hose-animation {
    padding: 5px 20%;
}
#basket-orders .order .hose-form {
    padding: 10px;
    background-color: #FAFAFA;
}
#basket-orders .order .hose-form input {
    height: 30px;
    line-height: 26px;
}
#basket-orders .input-dialer {
    padding: 0 30px;
}
#basket-orders .input-dialer .button {
    width: 30px;
    height: 30px;
    line-height: 28px;
}

#basket-orders .order a.delete {
    display: block;
    height: 20px;
    width: 20px;
    position: absolute;
    top: 0;
    right: 0;
    color: #555555;
    z-index: 3;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
}
#basket-orders .order a.delete:hover {
    color: #F20;
}

#basket-orders .basket-buttons a {
    margin-left: 10px;
}

@media (min-width: 701px) {
    .row.extra-gap {
        margin-left: -10px;
        margin-right: -10px;
    }
    .row.extra-gap > div {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 700px) {
    body {
        background-image: none;
        background-color: #F0F0F2;
        padding: 0;
    }
    body > .container {
        max-width: 500px;
        border-width: 0;
    }
    body > .container:first-child {
        margin-bottom: 0;
        border-bottom-width: 1px;
    }
    
    header {
        height: auto;
    }
    header .logo {
        float: none;
    }
    header h1 {
        float: none;
        margin: 15px 0 0 0;
        font-size: 20px;
        line-height: 20px;
        letter-spacing: 0;
    }
}
