/* main search box: start*/

.search-box {
    position: relative;
    padding-right: 360px;
    margin: 40px 0;
    box-shadow: 0 0 20px #ddd;
    border-radius: 20px 0 0 20px;
}

.search-box .form-control {
    height: 72px;
    color: #2b2e3d;
    border-radius: 20px 0 0 20px;
    background: #fff;
    border: solid 1px #fff;
    border-right: none;
    box-shadow: none;
    padding-left: 35px;
    font-size: 16px;
}

.search-box .form-control::-webkit-input-placeholder {
    color: #2b2e3d;
}

.search-box .form-control::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #2b2e3d;
}

.search-box .form-control:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #2b2e3d;
}

.search-box .form-control:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #2b2e3d;
}

.btn-search {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 180px;
    width: 180px;
    background: #fee504;
    font-size: 18px;
    color: #292e44;
    font-weight: bold;
    border-radius: 0;
}

.btn-search span {
    padding-left: 38px;
    background: url(https://media.youcount.ca/you-count/images/shared/icon-search.png) left center no-repeat;
    display: inline-block;
    line-height: 23px;
}

.btn-img {
    right: 0;
    color: #fff;
    border-radius: 0 20px 20px 0;
    background: #2a3042;
}

.btn-img span {
    background: url(https://media.youcount.ca/you-count/images/shared/icon-locate.png) left center no-repeat;
}

.btn-search:hover, .btn-search:focus {
    color: #fff;
}

@media( max-width: 820px) {
    .search-box {
        height: auto;
        border-radius: 0;
        padding: 0;
        margin: 20px 0;
    }
    .btn-search {
        width: 49%;
        float: left;
        position: relative;
        padding: 0;
        border-radius: 10px;
        right: 0;
        display: block;
        height: 50px;
        line-height: 50px;
    }
    .search-box .form-control {
        height: 50px;
        margin-bottom: 20px;
        padding-left: 12px;
    }
}

/* main search box: end*/

/* map: start */

#map {
    width: 95%;
    height: 100%;
    margin: 0 auto 65px;
    border-radius: 20px;
    padding: 0 65px;
}

.map-container {
    position: relative;
    text-align: center;
    margin: 65px 0;
    height: 350px;
}

.map-container.map-back-color:before {
    display: block;
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50px;
    bottom: 50px;
    background: #fee504c7;
}

#map-box img {
    border-radius: 20px;
    position: relative;
    z-index: 10;
    width: 100%;
}

/* map: end */

/* warning bar: start */

.alert {
    display: none;
    margin-bottom: 40px;
    border: none;
    border-radius: 0;
    text-align: center;
    font-weight: 500;
    font-size: 18px;
}

.alert-warning {
    color: #292e44;
    background-color: #fee504;
}

.alert-danger {
    color: #fff;
    background-color: #ff4136;
}

.alert-warning select, .alert-error select {
    color: #333;
}

/* goto button: start*/

.goto-button {
    text-align: center;
    margin-bottom: 50px;
    clear: both;
}

.goto-button h2{
    padding: 20px;
}

.goto-button button {
    display: inline-block;
    background-color: #fee504;
    font-size: 28px;
    color: rgb(41, 46, 68);
    font-weight: bold;
    border-radius: 10px;
    box-shadow: 0 2px 5px #ddd;
}

.goto-button button a {
    display: inline-block;
    background: url(https://media.youcount.ca/you-count/images/shared/icon-goto.svg) left center no-repeat;
    background-size: 20px;
    padding-left: 30px;
    line-height: 28px;
}

.goto-button button a:hover {
    color: rgb(41, 46, 68);
}

/* goto button: end*/


/* warning bar: end */

/* yellow button: start */

.yellow-button {
    display: inline-block;
    padding: 0 30px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: 20px;
    background-color: #ffe504;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    color: #373737;
    margin: 20px 0 40px 0;
}

/* yellow button: end */

/* dialog: start */

.dialog-mask {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.dialog-mask-box {
    width: 720px;
    height: 540px;
    padding: 85px 50px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -360px;
    margin-top: -270px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(249,243,181,1) 0%, rgba(255,255,255,1) 35%, rgba(255,255,255,1) 100%);
}

.dialog-mask-box.home {
    height: 520px;
}

.dialog-close {
    position: absolute;
    right: 25px;
    top: 25px;
}

.dialog-tt {
    font-size: 40px;
    font-weight: bold;
    color: #2a3042;
    margin-top: 50px;
}

.dialog-p {
    font-size: 18px;
    line-height: 1.67;
    color: #373737;
    margin-top: 10px;
}

.dialog-p a {
    text-decoration: underline;
    font-weight: bold;
    color: #3db39d;
    font-size: 16px;
}

.dialog-mask-box .yellow-button {
    line-height: 60px;
}

@media( max-width: 768px) {
    .dialog-mask-box {
        width: 290px;
        height: 300px;
        margin-top: -150px;
        padding: 20px;
        margin-left: -145px;
    }
    .dialog-mask-box.home {
        height: 440px;
    }
    .dialog-tt {
        font-size: 18px;
        margin-top: 25px;
    }
    .dialog-p {
        font-size: 14px;
    }
    .dialog-mask-box img {
        max-width: 50px;
    }
    .dialog-mask-box .yellow-button {
        margin-top: 30px;
        font-size: 16px;
        height: 50px;
        line-height: 50px;
    }
    .dialog-close {
        right: 10px;
        top: 10px;
    }
}

/* dialog: end */
