@import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic,400,300,600);

* {
    margin:0;
    padding:0;
    box-sizing:border-box;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-font-smoothing:antialiased;
    -moz-font-smoothing:antialiased;
    -o-font-smoothing:antialiased;
    font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}

html, body {
    font-family:"Open Sans", Helvetica, Arial, sans-serif;
    font-weight:300;
    font-size: 12px;
    line-height:30px;
    color:#636b6f;
    background: #f5f5f5;
    height: 100vh;
    margin: 0;
}

.full-height {
    height: 100vh;
}

.flex-center {
    align-items: center;
    display: flex;
    justify-content: center;
}

.position-ref {
    position: relative;
}

.top-right {
    position: absolute;
    right: 10px;
    top: 18px;
}

.content {
    text-align: center;
}

.title {
    font-size: 84px;
}

.links > a {
    color: #636b6f;
    padding: 0 25px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1rem;
    text-decoration: none;
    text-transform: uppercase;
}

.m-b-md {
    margin-bottom: 30px;
}

.full-width {
    float: left;
    width: 100%;
}

.p-10 {
    padding: 10px !important;
}

.p-20 {
    padding: 20px !important;
}

.m-t-20 {
    margin-top: 20px !important;
}

.text-center {
    text-align: center !important;
}

.error {
    color: brown !important;
}

label.error {
    margin: 0 !important;
    font-weight: 400;
}

.api-delivery-form-container {
    position:relative;
    margin: 70px 0;
}

.api-delivery-result-container {
    position: relative;
    background: #F9F9F9;
    min-height: 480px;
    margin: 70px 0;
    box-shadow: 1px 1px 1px 1px #eee;
    border: 1px solid silver;
}

.delivery input[type="text"],
.delivery input[type="email"],
.delivery input[type="tel"],
.delivery input[type="url"],
.delivery input[type="number"],
.delivery textarea,
.delivery select,
.delivery button[type="submit"] {
    font:400 12px/16px "Open Sans", Helvetica, Arial, sans-serif;
}

.delivery input[type="text"]:disabled,
.delivery input[type="email"]:disabled,
.delivery input[type="tel"]:disabled,
.delivery input[type="url"]:disabled,
.delivery input[type="number"]:disabled,
.delivery textarea:disabled,
.delivery select:disabled,
.delivery button[type="submit"]:disabled {
    background: #eee;
}

.delivery form {
    display: inline-block;
    padding: 20px;
    min-height: 480px;
    background: #F9F9F9;
    box-shadow: 1px 1px 1px 1px #eee;
    border: 1px solid silver;
    width: 100%;
}

.delivery h3 {
    color: #333840;
    display: block;
    font-size: 22px;
    font-weight: 600;
    margin: 10px 0 !important;
}

.delivery h4 {
    margin:5px 0 15px;
    display:block;
    font-size:13px;
}

fieldset {
    border: medium none !important;
    margin: 0 0 15px;
    min-width: 100%;
    padding: 0;
    width: 100%;
}

.delivery input[type="text"],
.delivery input[type="email"],
.delivery input[type="tel"],
.delivery input[type="url"],
.delivery input[type="number"],
.delivery select,
.delivery textarea {
    width:100%;
    border:1px solid #CCC;
    background:#FFF;
    /*margin:0 0 5px;*/
    padding:10px;
}

.delivery input[type="text"]:hover,
.delivery input[type="email"]:hover,
.delivery input[type="tel"]:hover,
.delivery input[type="url"]:hover,
.delivery input[type="number"]:hover,
.delivery select:hover,
.delivery textarea:hover {
    -webkit-transition:border-color 0.3s ease-in-out;
    -moz-transition:border-color 0.3s ease-in-out;
    transition:border-color 0.3s ease-in-out;
    border:1px solid #AAA;
}

.delivery textarea {
    height:100px;
    max-width:100%;
    resize:none;
}

.delivery button[type="submit"] {
    cursor:pointer;
    width:100%;
    border:none;
    background: #09275f;
    color:#FFF;
    margin:0 0 5px;
    padding:10px;
    font-size:15px;
}

.delivery button[type="submit"]:hover {
    background:#09C;
    -webkit-transition:background 0.3s ease-in-out;
    -moz-transition:background 0.3s ease-in-out;
    transition:background-color 0.3s ease-in-out;
}

.delivery button[type="submit"]:active {
    box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

.delivery input:focus, .delivery textarea:focus {
    outline:0;
    border:1px solid #999;
}

.delivery #api-delivery-response {
    color: #333;
    font-weight: 500;
    object-fit: cover;
    width: 100%;
    float: left;
}

#api-delivery-response pre {
    max-height: 400px !important;
    display: flex !important;
}

select#api_delivery_campaign option {
    color: #000;
}

select#api_delivery_campaign option:disabled {
    color: #999;
}

::-webkit-input-placeholder {
    color:#888;
}
:-moz-placeholder {
    color:#888;
}
::-moz-placeholder {
    color:#888;
}
:-ms-input-placeholder {
    color:#888;
}

/*preloader*/
#loading{
    background-color: rgba(0,0,0,0.2);
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 1;
    margin-top: 0px;
    top: 0px;
}
#loading-center{
    width: 100%;
    height: 100%;
    position: relative;
}
#loading-center-absolute {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 50px;
    width: 50px;
    margin-top: -25px;
    margin-left: -25px;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-animation: loading-center-absolute 1.5s infinite;
    animation: loading-center-absolute 1.5s infinite;

}
.object{
    width: 25px;
    height: 25px;
    background-color: #FFF;
    float: left;

}




#object_one {
    -webkit-animation: object_one 1.5s infinite;
    animation: object_one 1.5s infinite;
}
#object_two {
    -webkit-animation: object_two 1.5s infinite;
    animation: object_two 1.5s infinite;
}
#object_three {
    -webkit-animation: object_three 1.5s infinite;
    animation: object_three 1.5s infinite;
}
#object_four {
    -webkit-animation: object_four 1.5s infinite;
    animation: object_four 1.5s infinite;
}


@-webkit-keyframes loading-center-absolute {
    100% { -webkit-transform: rotate(-45deg); }

}

@keyframes loading-center-absolute {
    100% {
        transform:  rotate(-45deg);
        -webkit-transform:  rotate(-45deg);
    }
}



@-webkit-keyframes object_one {
    25% { -webkit-transform: translate(0,-50px) rotate(-180deg); }
    100% { -webkit-transform: translate(0,0) rotate(-180deg); }

}

@keyframes object_one {
    25% {
        transform: translate(0,-50px) rotate(-180deg);
        -webkit-transform: translate(0,-50px) rotate(-180deg);
    }
    100% {
        transform: translate(0,0) rotate(-180deg);
        -webkit-transform: translate(0,0) rotate(-180deg);
    }
}


@-webkit-keyframes object_two {
    25% { -webkit-transform: translate(50px,0) rotate(-180deg); }
    100% { -webkit-transform: translate(0,0) rotate(-180deg); }
}

@keyframes object_two {
    25% {
        transform: translate(50px,0) rotate(-180deg);
        -webkit-transform: translate(50px,0) rotate(-180deg);
    }
    100% {
        transform: translate(0,0) rotate(-180deg);
        -webkit-transform: translate(0,0) rotate(-180deg);
    }
}

@-webkit-keyframes object_three {
    25% { -webkit-transform: translate(-50px,0) rotate(-180deg); }
    100% { -webkit-transform: translate(0,0) rotate(-180deg); }
}

@keyframes object_three {
    25% {
        transform:  translate(-50px,0) rotate(-180deg);
        -webkit-transform:  translate(-50px,0) rotate(-180deg);
    }
    100% {
        transform: translate(0,0) rotate(-180deg);
        -webkit-transform: translate(0,0) rotate(-180deg);
    }
}


@-webkit-keyframes object_four {
    25% { -webkit-transform: translate(0,50px) rotate(-180deg); }
    100% { -webkit-transform: translate(0,0) rotate(-180deg); }
}

@keyframes object_four {
    25% {
        transform: translate(0,50px) rotate(-180deg);
        -webkit-transform: translate(0,50px) rotate(-180deg);
    }
    100% {
        transform: translate(0,0) rotate(-180deg);
        -webkit-transform: translate(0,0) rotate(-180deg);
    }
}