/* GLOBAL */
.page_header {
    text-transform: none;
    color: #471d0f;
    font-size: 28px;
    font-family: "OpenSans_ExtraBold";
    text-align: center;
    padding: 35px 0px 9px 0px;
    margin-bottom: 20px;
    position: relative;
}
.page_header::before {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    margin-left: -70px;
    width: 140px;
    height: 2px;
    background: #471d0f;
}
.page_header h2 {
    padding: 0;
    display: inline-block;
    position: relative;
    color: #471d0f;
    margin: 0;
    font-family: "OpenSans_ExtraBold";
    font-size: 36px;
    text-transform: none;
}
.page_header h2::after {
    content: '';
    position: absolute;
    width: 38px;
    height: 67px;
    left: -58px;
    top: -18px;
    background-image: url(../img/arrowHead.png);
}

.chronoform {
    border: 2px solid #e4b423;
    padding: 10px;
    max-width: 580px;
    margin: 0 auto;
}
.chronoform .gcore-line-tr:first-child {
    padding-top: 20px;
}
.chronoform .gcore-line-tr {
    background-color: #fff;
    padding: 0 5%;
    margin: 0;
}
.chronoform input {
    border: 0;
    border-radius: 0;
    border-bottom: 2px solid #e4b423;
    background-color: #fff;
    padding: 10px;
}
.chronoform textarea {
    border: 0;
    border-radius: 0;
    border-bottom: 2px solid #e4b423;
    background-color: #f2eddd;
    padding-left: 10px;
}
.chronoform #ftr-button5 input[type="submit"] {
    background: transparent;
    border-bottom: 0;
    line-height: 26px;
    color: #000;
    font-size: 18px;
    text-transform: uppercase;
    padding-bottom: 20px;
    padding-top: 15px;
    font-family: OpenSans_Bold, sans-serif;
}
.chronoform #ftr-button5 {
    background: #e4b423;
    border-radius: 0;
    width: 100%;
    padding: 5px 0;
}
.chronoform #ftr-button5:hover {
    background: #582918;
}
.chronoform #ftr-button5:hover input[type="submit"] {
    color: #fff;
}

/* SLIDER BLOCK */
.slider {
    overflow: hidden;
}

.slider .img {
    background: center no-repeat;
    background-size: cover;
    width: 100%;
    height: 636px;
}
.slider .item_desc {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}
.slider .item_desc .formTitle {
    padding-top: 8%;
    padding-bottom: 2%;
    width: 60%;
    float: right;
    color: #f4b93a;
    font-size: 36px;
    font-family: "OpenSans_ExtraBold";
}
.slider_block {
    position: relative;
}
.slider_block img {
    max-width: 200px;
}
.slider_block table td:last-child {
    /*padding: 20px;*/
    color: #fff;
    font-size: 28px;
    text-shadow: 1px 1px 1px #000;
}
.slider_block blockquote:first-child img {
    width: 39px;
    height: 28px;
    float: left;
    top: -5px;
    position: relative;
    margin-right: 5px;
}
.slider_block blockquote {
    width: 100%;
    position: relative;
    display: block;
    padding-right: 20px;
    margin: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.2);
    min-height: 130px;
    position: relative;
    top: -17px;
}
.slider_block blockquote p {
    color: #fff;
    font-style: italic;
    font-weight: 600;
    font-size: 17px;
}
.slider_block blockquote p:first-child {
    line-height: 28px;
    padding-top: 20px;
    text-align: left;
}
.slider_block blockquote:nth-child(2) {
    width: 70%;
    float: right;
    display: table;
}
.slider_block blockquote:nth-child(2) p {
    display: table-cell;
    vertical-align: middle;
    font-size: 13px;
    line-height: 16px;
    padding: 0 45% 0 10%;
    text-align: right;
}
.slider_block blockquote:nth-child(2) img {
    max-width: 30%;
    position: absolute;
    top: 50%;
    margin-top: -15%;
    right: 20px;
}

@media screen and (max-width: 768px) {
    .slider .img {
        height: 100%;
        padding: 30%;
    }
}
/* OWL CAROUSEL */
.owl-nav {
    font-size: 2em;
    color: rgba(255, 255, 255, 0.3);
    background-color: transparent;
}
.owl-prev {
    position: absolute;
    top: 50%;
    left: 1%;
    margin-top: -27px;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 400;
    font-size: 38px;
    color: rgba(255, 255, 255, 0.4);
}
.owl-prev:before {
    content: "\e079";
}
.owl-next {
    position: absolute;
    top: 50%;
    right: 1%;
    margin-top: -27px;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 400;
    font-size: 38px;
    color: rgba(255, 255, 255, 0.4);
}
.owl-next:before {
    content: "\e080";
}
.owl-prev:hover,
.owl-next:hover {
    color: #fff;
}

.owl-pagination {
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
}
.owl-pagination .owl-page {
    width: 15px;
    height: 15px;
    background: #fff;
    display: inline-block;
    margin-right: 10px;
    border-radius: 50%;
}
.owl-pagination .owl-page.active{
    background: #6a3723;
}


.owl-dots {
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
}
.owl-dots {
    text-align: center;
}
.owl-dots .owl-dot {
    display: inline-block;
    zoom: 1;
}
.owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 5px 7px;
    background-color: #D6D6D6;
    display: block;
    -webkit-backface-visibility: visible;
    transition: opacity .2s ease;
    border-radius: 30px;
}
.owl-dots .owl-dot.active span,
.owl-dots .owl-dot:hover span {
    background-color: #4b2314;
}


/* PORTFOLIO BLOCK */
.mod_port {
    background-image: url(../img/bg_port.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    background-color: #f4f4f4;
    margin: 0;
    margin-bottom: -60px;
}
.mod_port .module_content {
    position: relative;
    top: -30px;
    background: #e1dcd9;
    padding: 0;
    min-height: 1000px;
}
.mod_port .page_header {
    margin-top: 40px;
}
#portfolio {
    padding: 0 5px;
}
#portfolio .tilte {
    margin: 10px 0;
    padding: 0 10px;
}
#portfolio .catDesc {
    display: table;
    min-height: 170px;
}
#portfolio .catDesc strong,
#portfolio .catDesc p {
    display: table-cell;
    vertical-align: middle;
    color: #471d0f;
    line-height: 1;
    font-size: 14px;
}
#portfolio .item > .img {
    background: center top no-repeat;
    background-size: cover;
    position: relative;
    width: 100%;
    height: 100%;
    padding: 45%;
}
#portfolio .item > .img:before {
    content: "";
    position: absolute;
    width: 28px;
    height: 39px;
    right: 1%;
    bottom: 1%;
    background-image: url(../img/ex.png);
    z-index: 2;
}
#portfolio .item {
    position: relative;
    display: none;
    margin-bottom: 10px;
    overflow: hidden;
}
#portfolio .item .info {
    position: absolute;
    width: 114%;
    top: -7%;
    left: -7%;
    padding: 0 17px;
    background: rgba(71, 29, 15, 0.91);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.2s ;
}
#portfolio > .item:nth-child(-n+3) {
    display: block;
}
#portfolio > .item:nth-child(2n) .info {
    z-index: 3;
}
#portfolio .item .info > .name {
    position: relative;
}
#portfolio .item .info > .name:after {
    content: "";
    position: absolute;
    width: 28px;
    height: 39px;
    right: 2%;
    bottom: -37px;
    background-image: url(../img/ex.png);
}
#portfolio .item:hover .info,
#portfolio .item:hover {
    opacity: 1;
    overflow: inherit;
}
#portfolio .item .img {
    display: block;
    position: relative;
}
/*#portfolio .item img {
    margin-top: 17px;
    max-width: 100%;
    width: 100%;
}*/
#portfolio .item .info .img:before {
    position: absolute;
    width: 46px;
    height: 46px;
    background-color: #4b2314;
    content: "+";
    left: 50%;
    top: 50%;
    margin: -23px 0 0 -23px;
    color: #fff;
    font-size: 3em;
    font-family: serif;
    line-height: 46px;
    padding-left: 10px;
    cursor: pointer;
}
#portfolio .item .info .img {
    position: relative;
    background: center top no-repeat;
    background-size: cover;
    width: 98%;
    height: 190px;
    margin: 10px auto;
    margin-top: 20px;
    overflow: hidden;
    transition: all 0.5s;
    filter: brightness(80%);
    cursor: pointer;
}

#portfolio .item .info .img:hover {
    filter: brightness(100%)
}
#portfolio .item h4 {
    color: #ebb038;
    text-transform: uppercase;
    margin: 20px 0 10px 0;
}
#portfolio .item p {
    font-size: 10px;
    line-height: 12px;
    color: #fff;
}
#portfolio .item a {
    display: block;
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    padding: 5px 0;
}
#portfolio .item a:hover {
    text-decoration: underline;
}

#portfolio .tilte > h4 {
    font-weight: bold;
    color: #471d0f;
    padding-left: 30px;
}

@media screen and (max-width: 1024px){
    #portfolio .tilte > h4 {
        padding-left: 24px;
        font-size: 16px;
    }
    #portfolio .catDesc p {
        font-size: 12px;
    }
    .phone_block {
        text-align: right;
        margin: 5px 0 0 0;
        width: 100%;
    }
    .phone {
        display: inline-block;
        margin-left: 30%;
        float: right;
    }
}

#portfolio .tilte > h4::before {
    content: "";
    width: 17px;
    height: 17px;
    background-color: #471d0f;
    position: absolute;
    left: 15px;
}
#portfolio .info_small {
    display: none;
}
#portfolio .info_small p {
    padding-bottom: 10px;
    margin: 0;
}
.mod_port .more {
    text-align: center;
    margin: 5% 0;
    display: block;
}
.mod_port .more > a {
    font-size: 22px;
    color: #471d0f;
    font-weight: bold;
    padding: 15px 100px;
    cursor: pointer;
    border: 2px solid #471d0f;
}
.mod_port .more > a:hover {
    font-size: 22px;
    color: #fff;
    font-weight: bold;
    padding: 15px 100px;
    cursor: pointer;
    background-color: #471d0f;
    border: 2px solid #471d0f;
}

.mod_port .item_column:nth-child(-n+4):after {
    content: '';
    float: left;
    width: 1px;
    height: 85%;
    right: 0;
    top: 100px;
    position: absolute;
    background: #bfbfbf;
}

@media screen and (max-width: 768px){
    #portfolio .catDesc {
        display: block;
        min-height: 1px;
    }
    #portfolio .item {
        display: block;
        background: #471d0f;
    }
    #portfolio .info {
        display: none;
    }
    #portfolio .info_small {
        display: block;
        padding: 0 10px;
    }
    .mod_port {
        max-height: 100%;
    }
    .mod_port .more {
        display: none;
    }
    .mod_port .item_column:nth-child(-n+4):after {
        display: none;
    }
}

/* VIEW */
.view_item {
    display: none;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1002;
    background: rgba(255, 255, 255, 0.7);
    padding-top: 2.7%;
    overflow: auto;
}
.view_item img {
    width: 100%;
}
.view_item .container {
    background: rgba(70, 31, 17, 0.9);
    padding-top: 20px;
}
.view_item .item_block .img {
    background: center no-repeat;
    background-size: cover;
    width: 100%;
    height: 500px;
}
.view_item h2 {
    color: #ebb038;
    text-transform: uppercase;
    padding: 20px 0;
    text-align: left;
}
.view_item p {
    font-size: 14px;
    color: #fff;
}
.view_item a {
    display: block;
    text-decoration: none;
    color: #fff;
    font-size: 16px;
}
.view_item a:hover {
    text-decoration: underline;
}
.view_item #close {
    color: #fff;
    top: -10px;
    right: -4px;
    float: right;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}
.view_item #close:hover {
    color: #ffd4b8;
}

@media screen and (max-width: 768px){
    .view_item .item_block .img {
        height: 100%;
        padding: 30%;
    }
}

/* info block 1 */
.infogr_block p {
    font-size: 20px !important;
    color: #582918 !important;
    font-weight: bold;
    text-transform: uppercase;
    padding-top: 30px;
}
.infogr_block .header_name {
    text-transform: none;
    color: #6a3723;
    font-size: 28px;
}

.infogr_block .header_name::before {
    height: 2px;
    background: #6a3723;
}

.infogr_block .header_name h2 {
    padding: 0;
    display: inline-block;
    position: relative;
    color: #582918;
}
.infogr_block .header_name h2::after {
    content: '';
    position: absolute;
    width: 38px;
    height: 67px;
    left: -50px;
    top: -20px;
    background-image: url(../img/arrowHead.png);
}

/* SHEMA BLOCK */
.shema_block {
    padding-bottom: 50px;
    text-align: center;
}
.shema_block img {
    max-width: 100%;
}

/* CONTACT BLOCK */
.form_block {
    padding: 35px 0;
    background-image: url(../img/bg01.jpg);
}
.form_block p {
    margin-bottom: 50px;
    text-align: center;
}
.form_block strong {
    color: #f4b93a;
    font-size: 40px;
    font-family: "OpenSans_ExtraBold";
}

/* CONTACT */
.contact_bg, .shema_block, .infogr_block {
    background: #f4f4f4;
    padding: 35px 0;
}
.infogr_block {
    padding-bottom: 0;
}
.contact_item p {
    padding-top: 20px;
}

/* MAPS */
.maps iframe {
    margin-bottom: -5px;
}
.maps .line {
    display: block;
    height: 32px;
    background-image: url(../img/footer_line.jpg);
}

/* FOOTER */
.logo_footer, .copy_footer, .phone_footer, .req_footer {
    display: table;
    min-height: 80px;
}
.logo_footer img {
    width: 130px;
}
.logo_footer .img_footer, .algn {
    display: table-cell;
    vertical-align: middle;
}
.copy_footer {
    padding:0;
}
.copy_footer .copy {
    font-size: 12px;
    text-transform: uppercase;
    padding-bottom: 5px;
    color: #fff;
}
.copy_footer .tags {
    font-size: 14px;
    color: #fff;
    line-height: 1;
}
.phone_footer .icon_phone {
    padding: 3px 0 0 39px;
}
.phone_footer .icon_phone p {
    color: #fff;
}
.req_footer .call_btn {
    background: #da9620;
    border: 2px solid #433619;
    color: #6a3723;
}
.req_footer .call_btn:hover {
    background: #fff;
    border: 2px solid #da9620;
    color: #6a3723;
}

.message_block {
    width: 560px;
    margin: 0 auto;
}
.message_block .message {
    padding: 10px;
    border: 2px solid #ffc94b;
}
.message_block .message p {
    background: #fff;
    padding: 30px 10px;
    margin: 0;
    color: #000;
    text-shadow: none;
}





.infogr_block .page_header h2 {
    color: #582918;
}
.contact_bg .page_header h2 {
    color: #290b05;
}
.overlay {
    background:transparent;
    position:relative;
    width:100%;
    height:550px;
    top:550px;
    margin-top:-550px;
}

#chronoform-callback {
    border: 0;
}
#chronoform-callback input {
    border-radius: 5px;
    background: #f9f1d8;
    border: 1px solid #e4b423;
    color: #000;
    font-weight: bold;
}
#chronoform-callback #ftr-button5,
#chronoform-callback #ftr-button5:hover {
    background: transparent;
}
#chronoform-callback #button5{
    color: #000;
    background: #ffc94b;
    padding: 8px 100px;
    border-bottom: 5px solid #000;
    border-radius: 30px;
    margin-top: 30px;
}
#chronoform-callback #button5:hover {
    color: #fff;
    background: #ffc74d;
    padding: 8px 100px;
    border-bottom: 5px solid #000;
    border-radius: 30px;
}
#callback .modal-body {
    padding-top: 0;
}


/* HISTORY */
/* div block */
.sig > div {
    display: inline-block;
    position: relative;
    margin-bottom: -2px;
    width: 100%;
}
.sig > div:before {
    content: '';
    position: absolute;
    width: 4px;
    height: 102%;
    background: #f4b93a;
    left: 20px;
    top: 0;
}
.sig div:after {
    content: '';
    position: absolute;
    width: 18px;
    height: 31px;
    background: url("../img/line.png") center no-repeat;
    background-size: 18px 31px;
    left: 13px;
    top: 50%;
    margin-top: 20px;
}
.sig > div:last-child:before {
    height: 60%;
}
.sig > div:last-child:after {
    display: none;
}

.sig p:first-child {
    text-align: center;
    display: block;
    width: 18%;
    padding: 0 1%;
    float: left;
    margin-top: 5px;
}
.sig p:first-child sub {
    font-size: 18px;
    font-weight: bold;
    font-family: "PT Sans", sans-serif;
    position: relative;
    left: 40px;
    color: #582918;
}
.sig p:first-child:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f4b93a;
    left: 295px;
    top: 30px;
}
.sig p:first-child:after {
    content: '';
    display: none;
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f0ff00;
    left: 10px;
    top: 1px;
}

/* cite block */
.sig cite {
    display: block;
    width: 76%;
    float: right;
    padding: 24px 1%;
    padding-left: 5%;
    color: #582918;
    background: #f9f1d8;
    border: 1px solid #f4b93a;
    border-radius: 10px;
    margin: 0 0 50px 0;
    font-size: 18px;
    font-style: normal;
    font-family: "PT Sans", sans-serif;
    font-weight: 400;
}
.sig cite strong {
    color: #582918;
    font-family: "PT Sans", sans-serif;
    font-size: 18px;
}
.sig cite:before {
    content: '';
    position: absolute;
    width: 255px;
    height: 1px;
    background: #f4b93a;
    left: 35px;
    top: 40px;
    z-index: 1;
}
.sig cite:after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f4b93a;
    left: 12px;
    top: 30px;
}
.sig cite#lp {
    position: relative;
    display: block;
    width: 76%;
    float: right;
    padding: 1%;
    padding-left: 5%;
    color: #582918;
    background: #f9f1d8;
    border: 1px solid #f4b93a;
    border-radius: 10px;
    margin: 0 0 50px 0;
    font-size: 18px;
    font-style: normal;
    font-family: PT Sans, sans-serif;
    font-weight: 400;
}
.sig cite#lp:before {
    content: '';
    position: absolute;
    width: 1px;
    height: 75px;
    background: #f4b93a;
    left: 33px;
    top: -52px;
    z-index: 1;
}
.sig cite#lp:after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f4b93a;
    left: 24px;
    top: 14px;
}
.sig cite > strong.line:before {
    content: '';
    position: absolute;
    width: 1px;
    height: 102px;
    background: #f4b93a;
    left: 33px;
    bottom: -82px;
    z-index: 1;
}
.sig cite > strong.line:after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f4b93a;
    left: 24px;
    bottom: 13px;
    z-index: 1;
}

.contact_block .info_mane > p:first-child {
    height: 66px;
}

.modal-content {
    border-radius: 5px;
}
.gvalidation-error-text {
    text-shadow: none;
}

.video {
    padding-bottom: 80px;
}
.video iframe {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    display: table;
}
.video .page_header {
    margin-top: 30px;
    margin-bottom: 50px;
}

iframe, img {
    max-width: 100%;
}

.nav:before,
.nav:after {
    display: none;
}
.nav {
    table-layout: fixed;
}




@media screen and (max-width: 768px) {
    .page_header h2::after {
        display: none;
    }
    .phone_block {
        text-align: center;
    }
    .phone {
        display: inline-block;
        margin-left: 0;
        float: none;
        padding-right: 20px;
    }
    .logo_footer, .copy_footer, .phone_footer, .req_footer {
        text-align: center;
        width: 100%;
    }
    .phone_footer .icon_phone {
        background-size: 0;
        padding: 3px 0 0 0;
    }
    .main_menu .menu li ul {
        text-align: left;
    }
    .main_menu .menu li ul a {
        padding-left: 20px;
    }
    .article {
        padding: 0;
    }
}

@media screen and (max-width: 1200px) {
/*    .slider_block {
        display: none!important;
    }*/
    .slider .item_desc .formTitle {
        font-size: 26px;
    }
    .sig cite > strong.line:before,
    .sig cite > strong.line:after {
        display: none;
    }
}
@media screen and (max-width: 1230px) {

    .sig cite {
        float: none;
        width: 90%;
        margin-top: 100px;
        margin-bottom: 50px;
        margin-left: 50px;
    }
    .sig cite#lp {
        float: none;
        width: 90%;
        margin-bottom: 50px;
        margin-left: 50px;
    }
    .sig cite#lp:before {
        content: '';
        position: absolute;
        width: 2px;
        height: 73px;
        background: #f4b93a;
        left: 33px;
        top: -74px;
        z-index: 1;
    }
    .sig cite#lp:after {
        display: none;
    }
}

@media screen and (min-width:  1200px) {

    .infogr_block .page_header {
        position: relative;
        top: -9px;
    }
    .infogr_block .page_header h2 {
        letter-spacing: 2px;
        line-height: 18px;
        padding-bottom: 18px;
    }
    .mod_port .page_header {
        margin-bottom: 50px;
    }
    .mod_port .page_header h2 {
        position: relative;
        left: 35px;
        top: -7px;
        letter-spacing: 1px;
    }
    .mod_port .page_header h2::after {
        left: -65px;
        top: -8px;
    }
    .shema_block .page_header h2 {
        letter-spacing: 2px;
    }
    .shema_block img {
        max-width: 100%;
        margin-top: 30px;
        margin-bottom: 13px;
    }
    .form_block p {
        position: relative;
        top: -4px;
    }
    .contact_bg .page_header {
        position: relative;
        top: -31px;
        left: 0px;
    }
    .contact_bg .page_header h2 {
        text-transform: uppercase;
        letter-spacing: 2px;
        position: relative;
        left: 6px;
    }
    .contact_bg .page_header h2:after {
        left: -45px;
        top: -11px;
    }
    .req_footer .button {
        position: relative;
        top: -5px;
    }
    .phone_footer .icon_phone {
        position: relative;
        left: 50px;
        padding-left: 28px;
    }
    .logo_footer img {
        position: relative;
        top: 5px;
        left: 30px;
        width: 120px;
    }
    .logo_block .logo img {
        position: relative;
        top: 2px;
        left: -20px;
    }
    .logo_text strong {
        position: relative;
        top: 4px;
        left: 66px;
        letter-spacing: 1.1px;
    }
    .phone_block .icon_phone {
        position: relative;
        left: 30px;
        top: 5px;
        line-height: 20px;
        padding-left: 30px;
    }
    .info_block button {
        position: relative;
        top: 4px;
        left: 24px;
    }
    .header_small .call_btn {
        margin: 2px 8px 0px 0px;
    }
    .header_small .phone_block {
        margin: 0;
        padding-top: 4px;
    }
    .header_small .logo_block {
        margin: 10px 0px 0px 7px;
    }
    .header_small .logo_text {
        position: relative;
        top: -5px;
        left: 10px;
    }
    .modal-dialog {
        width: 525px;
    }
    .header_small .logo_small img {
        position: relative;
        left: -22px;
    }
    .header_small .header_top {
        min-height: 52px;
    }
}

@media screen and (max-width:  420px) {
    .sig p:first-child:before {
        left: 185px;
    }
    .sig cite:before {
        width: 145px;
    }
    .sig p:first-child {
        width: 25%;
    }
    .sig {
        position: relative;
        left: -10%;
    }
}

.slider_block * {
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}
#xmap {
    text-align: center;
}
#xmap > ul {
    display: inline-block;
    text-align: left;
}
@media screen and (max-width: 420px) {
    #xmap > ul {
        width: 100%;
    }
}