// Core variables and mixins @import "/bootstrap3.2.0/less/variables.less"; @import "/bootstrap3.2.0/less/mixins.less"; // Reset and dependencies @import "/bootstrap3.2.0/less/normalize.less"; @import "/bootstrap3.2.0/less/print.less"; @import "/bootstrap3.2.0/less/glyphicons.less"; // Core CSS @import "/bootstrap3.2.0/less/scaffolding.less"; @import "/bootstrap3.2.0/less/type.less"; @import "/bootstrap3.2.0/less/code.less"; @import "/bootstrap3.2.0/less/grid.less"; @import "/bootstrap3.2.0/less/tables.less"; @import "/bootstrap3.2.0/less/forms.less"; @import "/bootstrap3.2.0/less/buttons.less"; // Components @import "/bootstrap3.2.0/less/component-animations.less"; //@import "/bootstrap3.2.0/less/dropdowns.less"; @import "/bootstrap3.2.0/less/button-groups.less"; @import "/bootstrap3.2.0/less/input-groups.less"; //@import "/bootstrap3.2.0/less/navs.less"; //@import "/bootstrap3.2.0/less/navbar.less"; //@import "/bootstrap3.2.0/less/breadcrumbs.less"; @import "/bootstrap3.2.0/less/pagination.less"; @import "/bootstrap3.2.0/less/pager.less"; @import "/bootstrap3.2.0/less/labels.less"; //@import "/bootstrap3.2.0/less/badges.less"; //@import "/bootstrap3.2.0/less/jumbotron.less"; //@import "/bootstrap3.2.0/less/thumbnails.less"; //@import "/bootstrap3.2.0/less/alerts.less"; //@import "/bootstrap3.2.0/less/progress-bars.less"; @import "/bootstrap3.2.0/less/media.less"; //@import "/bootstrap3.2.0/less/list-group.less"; //@import "/bootstrap3.2.0/less/panels.less"; @import "/bootstrap3.2.0/less/responsive-embed.less"; //@import "/bootstrap3.2.0/less/wells.less"; @import "/bootstrap3.2.0/less/close.less"; // Components w/ JavaScript @import "/bootstrap3.2.0/less/modals.less"; @import "/bootstrap3.2.0/less/tooltip.less"; @import "/bootstrap3.2.0/less/popovers.less"; @import "/bootstrap3.2.0/less/carousel.less"; // Utility classes @import "/bootstrap3.2.0/less/utilities.less"; @import "/bootstrap3.2.0/less/responsive-utilities.less"; @body-bg:#F8F5F2; @link-color: #4F423A; @text-color: #4F423A; @font-size-base: 16px; @line-height-base: 1.7; @font-family-sans-serif: 'Muli'; @secondary-font:'Merriweather'; @color-form: #333; @primary-color: #65CAD5; @azzurro: #006BB8; @rosso:#4E4139; @giallo:#F7D231; @background-input:transparent; @primary-color-hover:#054169; .corsivo{font-family:@secondary-font;} .rosso{color:@rosso;} .giallo{color:@giallo;} .azzurro{color:@azzurro;} .colore-due{color:@primary-color-hover;} .colore-uno{color:@primary-color;} .brown{color:@text-color;} @font-face { font-family: 'icomoon'; src: url('fonts/icomoon.eot?r5wr16'); src: url('fonts/icomoon.eot?r5wr16#iefix') format('embedded-opentype'), url('fonts/icomoon.ttf?r5wr16') format('truetype'), url('fonts/icomoon.woff?r5wr16') format('woff'), url('fonts/icomoon.svg?r5wr16#icomoon') format('svg'); font-weight: normal; font-style: normal; } [class^="icon-"], [class*=" icon-"] { /* use !important to prevent issues with browser extensions that change fonts */ font-family: 'icomoon' !important; speak: none; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; vertical-align:middle; display:inline-block; /* Better Font Rendering =========== */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .icon-ico-mail:before { content: "\e90e"; } .icon-ico-pin:before { content: "\e907"; } .icon-ico-telefono:before { content: "\e90b"; } .azzurro-scuro{ color:@azzurro; } /* animazioni blocchi */ .opacity-animation { opacity: 0; animation: opacity 0.8s ease-out 1.5s; -moz-animation: opacity 0.8s ease-out 1.5s; -o-animation: opacity 0.8s ease-out 1.5s; -webkit-animation: opacity 0.8s ease-out 1.5s; animation-fill-mode: forwards; -moz-animation-fill-mode: forwards; -webkit-animation-fill-mode: forwards; -o-animation-fill-mode: forwards; } .moveDown.visible { -webkit-animation: moveDown 0.6s ease-in-out 0.2s backwards; -moz-animation: moveDown 0.6s ease-in-out 0.2s backwards; -o-animation: moveDown 0.6s ease-in-out 0.2s backwards; -ms-animation: moveDown 0.6s ease-in-out 0.2s backwards; animation: moveDown 0.6s ease-in-out 0.2s backwards; opacity: 1; } @-webkit-keyframes moveDown { 0% { -webkit-transform: translateY(-40px); opacity: 0; } 100% { -webkit-transform: translateY(0px); opacity: 1; } } @-moz-keyframes moveDown { 0% { -moz-transform: translateY(-40px); opacity: 0; } 100% { -moz-transform: translateY(0px); opacity: 1; } } @-o-keyframes moveDown { 0% { -o-transform: translateY(-40px); opacity: 0; } 100% { -o-transform: translateY(0px); opacity: 1; } } @-ms-keyframes moveDown { 0% { -ms-transform: translateY(-40px); opacity: 0; } 100% { -ms-transform: translateY(0px); opacity: 1; } } @keyframes moveDown { 0% { transform: translateY(-40px); opacity: 0; } 100% { transform: translateY(0px); opacity: 1; } } .moveUp.visible { -webkit-animation: moveUp 0.6s ease-in-out 0.2s backwards; -moz-animation: moveUp 0.6s ease-in-out 0.2s backwards; -o-animation: moveUp 0.6s ease-in-out 0.2s backwards; -ms-animation: moveUp 0.6s ease-in-out 0.2s backwards; animation: moveUp 0.6s ease-in-out 0.2s backwards; opacity: 1; } @-webkit-keyframes moveUp { 0% { -webkit-transform: translateY(40px); opacity: 0; } 100% { -webkit-transform: translateY(0px); opacity: 1; } } @-moz-keyframes moveUp { 0% { -moz-transform: translateY(40px); opacity: 0; } 100% { -moz-transform: translateY(0px); opacity: 1; } } @-o-keyframes moveUp { 0% { -o-transform: translateY(40px); opacity: 0; } 100% { -o-transform: translateY(0px); opacity: 1; } } @-ms-keyframes moveUp { 0% { -ms-transform: translateY(40px); opacity: 0; } 100% { -ms-transform: translateY(0px); opacity: 1; } } @keyframes moveUp { 0% { transform: translateY(40px); opacity: 0; } 100% { transform: translateY(0px); opacity: 1; } } .moveRight.visible { -webkit-animation: moveRight 0.6s ease-in-out 0.2s backwards; -moz-animation: moveRight 0.6s ease-in-out 0.2s backwards; -o-animation: moveRight 0.6s ease-in-out 0.2s backwards; -ms-animation: moveRight 0.6s ease-in-out 0.2s backwards; animation: moveRight 0.6s ease-in-out 0.2s backwards; opacity: 1; } @-webkit-keyframes moveRight { 0% { -webkit-transform: translateX(40px); opacity: 0; } 100% { -webkit-transform: translateX(0px); opacity: 1; } } @-moz-keyframes moveRight { 0% { -moz-transform: translateX(40px); opacity: 0; } 100% { -moz-transform: translateX(0px); opacity: 1; } } @-o-keyframes moveRight { 0% { -o-transform: translateX(40px); opacity: 0; } 100% { -o-transform: translateX(0px); opacity: 1; } } @-ms-keyframes moveRight { 0% { -ms-transform: translateX(40px); opacity: 0; } 100% { -ms-transform: translateX(0px); opacity: 1; } } @keyframes moveRight { 0% { transform: translateX(40px); opacity: 0; } 100% { transform: translateX(0px); opacity: 1; } } .moveLeft.visible { -webkit-animation: moveLeft 0.6s ease-in-out 0.2s backwards; -moz-animation: moveLeft 0.6s ease-in-out 0.2s backwards; -o-animation: moveLeft 0.6s ease-in-out 0.2s backwards; -ms-animation: moveLeft 0.6s ease-in-out 0.2s backwards; animation: moveLeft 0.6s ease-in-out 0.2s backwards; opacity: 1; } @-webkit-keyframes moveLeft { 0% { -webkit-transform: translateX(-40px); opacity: 0; } 100% { -webkit-transform: translateX(0px); opacity: 1; } } @-moz-keyframes moveLeft { 0% { -moz-transform: translateX(-40px); opacity: 0; } 100% { -moz-transform: translateX(0px); opacity: 1; } } @-o-keyframes moveLeft { 0% { -o-transform: translateX(-40px); opacity: 0; } 100% { -o-transform: translateX(0px); opacity: 1; } } @-ms-keyframes moveLeft { 0% { -ms-transform: translateX(-40px); opacity: 0; } 100% { -ms-transform: translateX(0px); opacity: 1; } } @keyframes moveLeft { 0% { transform: translateX(-40px); opacity: 0; } 100% { transform: translateX(0px); opacity: 1; } } /* ****************************** */ .hideme, .moveUp, .moveDown, .moveRight, .moveLeft { @media (min-width: @screen-md-min) { opacity: 0; } } ::selection { background:@azzurro; color:#fff; } ::-moz-selection { background:@azzurro; color:#fff; } .barra-desktop{ background-color: @body-bg; } .barra-mobile{ background-color: @body-bg; } .play{ font-family:@secondary-font; } .fa{ font-size:30px; color:@azzurro; @media (min-width: @screen-md-min) { font-size: 15px; color: #fff; background-color: @azzurro; width: 30px; height: 30px; text-align: center; padding: 8px 0; border-radius: 50%; } } /* BUTTON */ input[type=text], input[type=password], input[type=email], input[type=number], input[type=image], textarea, select { width: 100%; margin:0; -webkit-appearance:none; -moz-appearance:none; border: none; -webkit-border-radius: 0px; border-radius: 0px; display:block; text-indent:5px; } #pgall input[type=submit], #pgall input[type=button], { width:100%; text-align:center; cursor:pointer; display:block; -webkit-appearance:none; -moz-appearance:none; border: none; -webkit-border-radius: 0px; border-radius: 0px; -webkit-transition:all 400ms ease; -moz-transition:all 400ms ease; -ms-transition:all 400ms ease; -o-transition:all 400ms ease; transition:all 400ms ease; } a{ color: @azzurro; &:hover, &:focus{ color: @text-color; } } a, a:active,a:focus,a:visited,a:link,.fixed, i, input[type = "submit"],.preventivo, .scroll:before{ -webkit-transition:all 400ms ease; -moz-transition:all 400ms ease; -ms-transition:all 400ms ease; -o-transition:all 400ms ease; transition:all 400ms ease; outline:none; } .transition_400, .freccia-none, .slick-prev, .slick-next,.prev-gallery,.next-gallery,.box-sezione .cont-img img,.pulsante{ -webkit-transition:all 400ms ease; -moz-transition:all 400ms ease; -ms-transition:all 400ms ease; -o-transition:all 400ms ease; transition:all 400ms ease; } .transition_600{ -webkit-transition:all 600ms ease; -moz-transition:all 600ms ease; -ms-transition:all 600ms ease; -o-transition:all 600ms ease; transition:all 600ms ease; } .pulsante { &:link, &:active, &:visited, &:focus { text-align: center; display: block; line-height: 50px; color:#584A3F; letter-spacing:1px; font-size: 16px; background-color: @giallo; width: 100%; max-width: 210px; margin: 0 auto; padding: 0 5px; position: relative; -webkit-transition-property: color; transition-property: color; -webkit-transition-duration: 0.5s; transition-duration: 0.5s; -webkit-transform: perspective(1px) translateZ(0); transform: perspective(1px) translateZ(0); } &:before { content: ""; position: absolute; z-index: -1; top: 0; left: 0; right: 0; bottom: 0; background: @primary-color; -webkit-transform: scaleY(0); transform: scaleY(0); -webkit-transform-origin: 50% 100%; transform-origin: 50% 100%; -webkit-transition-property: transform; transition-property: transform; -webkit-transition-duration: 0.5s; transition-duration: 0.5s; -webkit-transition-timing-function: ease-out; transition-timing-function: ease-out; } &:hover { color: #fff; &:before { -webkit-transform: scaleY(1); transform: scaleY(1); -webkit-transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66); transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66); } } img { margin: 0 6px; } } .slick-slide{outline:none;} .slick-prev, .slick-next{ top: auto !important; bottom: -50px !important; width: 40px !important; height: 35px !important; } .slick-next{ right: 45% !important; @media (max-width: @screen-xs-max) { right: 30% !important; } } .slick-prev{ left: 45% !important; @media (max-width: @screen-xs-max) { left: 30% !important; } } .slick-prev:before, .slick-next:before{ content: "" !important; display: block; width: 40px !important; height: 35px !important; } .slick-prev:before { background: url('/source/arr_left.png') center left no-repeat !important; margin-right: auto; margin-left: 0; } .slick-next:before { background: url('/source/arr_right.png') center right no-repeat !important; margin-right: 0; margin-left: auto; } label{font-weight:normal;margin:0;} input[type="radio"], input[type="checkbox"]{margin:0;} /* ***************************** */ p{margin:0;} ul{margin:0px;} h1,h2,h3,h4,h5,h6{ margin:0px; padding:0px; @media (max-width: @screen-xs-max) { padding-right: 10px; padding-left: 10px; } } .no-pad{padding:0;} .big{ display: block; font-size: 130%; color: #16a1ba; text-transform: uppercase; font-family: @secondary-font; color: @azzurro; } /* elenchi puntati */ .lista-v { list-style-image: url(/source/ico-elenco.png); padding: 20px 5px; li { padding: 2px 0; list-style-position: inside; } } .blk{max-width:2000px;margin:0 auto;width:100%; @media (min-width: @screen-lg-min) { padding:0 40px; } } /* ********** menu lingue ***************** */ .containerLingue { line-height:30px; text-align:center; background-color: #fff; font-size: 13px; text-transform: uppercase; } #select_lingue { display: none; z-index:2000; width: 100%; margin: 0 auto; position: absolute; padding:0; text-align:center; a { display: block; line-height:33px; color:#fff; background-color:@azzurro; &:not(:last-child){ border-bottom: 1px dotted @azzurro; } &:hover{ background-color:@azzurro; } } } .tendina-lingue, .sidr-class-tendina-lingue { position:relative; -webkit-transition: all 400ms ease; -moz-transition: all 400ms ease; -ms-transition: all 400ms ease; -o-transition: all 400ms ease; transition: all 400ms ease; cursor: pointer; padding: 0px 2px; background-image: url('/source/arr_down.png'); background-position: 92% 48%; background-repeat: no-repeat; text-align: left; padding-left: 8px; @media(max-width:@screen-xs-max){ padding-left: 25px; } } .item_lingue{ padding-top:5px; padding-bottom:4px; background-color:#eee; text-align:center; z-index:2000; @media (max-width: @screen-sm-max) { background-color:transparent; } } /**/ .container,.container-fluid{ max-width:100%; -webkit-transition:all 600ms ease; -moz-transition:all 600ms ease; -ms-transition:all 600ms ease; -o-transition:all 600ms ease; transition:all 600ms ease } .container-fluid{max-width:1610px;} h1, h2.grande, .cont-h1{ font-weight: normal; font-size:50px; line-height:53px; padding-bottom:0px; font-family:@secondary-font; @media (max-width: @screen-sm-max) { } @media (max-width: @screen-xs-max) { margin-bottom: 25px; font-size:27px; line-height:30px; } } .cont-h1{ text-align:center; } h2{font-size:30px;color:#fff; @media (max-width: @screen-md-max) { font-size:28px;line-height:30px; } @media (max-width: @screen-xs-max) { font-size:21px;line-height:22px; } } h3{line-height:35px;font-size:37px;text-align:center;padding:20px 0 10px 0; @media (max-width: @screen-xs-max) { font-size:23px; line-height:23px; } &.grande{ font-size: 40px; line-height:42px; padding-bottom:0px; font-family:@secondary-font; @media (max-width: @screen-sm-max) { font-size: 33px; line-height:35px; } @media (max-width: @screen-xs-max) { font-size:28px; line-height:32px; } } } h4{font-size:25px;margin:0;font-weight:bold;} .titolo-trattino{ position: relative; &:before{ content: ''; border-bottom: 9px dotted @rosso; width: 90px;; position: absolute; left: 50%; -webkit-transform: translateX(-50%); -moz-transform: translateX(-50%); -ms-transform: translateX(-50%); -o-transform: translateX(-50%); transform: translateX(-50%); bottom: -20px; } @media(max-width:767px){ padding-left:10px; padding-right:10px; } &.trattino-sinistra{ text-align: left; &:before{ left: 45px; @media(max-width:767px){ left: 50%; } } } } .testo { padding: 40px 3%; word-wrap: break-word; max-width:950px; @media (max-width: @screen-md-max) { padding:30px 15px; } @media (max-width: @screen-sm-max) {} @media (max-width: @screen-xs-max) { padding: 20px 10px; } h1 { margin-bottom: 30px; } } .testo-sx { padding-right: 30px; @media (max-width: @screen-sm-max) { padding-right:15px; } @media (max-width: @screen-xs-max) { padding-right: 10px; } } .testo-dx { padding-left: 30px; @media (max-width: @screen-sm-max) { padding-left:15px; } @media (max-width: @screen-xs-max) { padding-left: 10px; } } /* ***************************** */ .table-box { display: table; table-layout: fixed; width:100%; @media (max-width: @screen-xs-max) { display:block; } } .table-cell { display: table-cell; vertical-align: middle; float: none; @media (max-width: @screen-xs-max) { display:block; } } .mobile-center{ @media (max-width: @screen-sm-max) { text-align:center; } } /* ***************************** */ .txt-menu{ font-size:20px; a{ color: @azzurro; font-family: @secondary-font; font-size: 25px; &:hover{ text-decoration: underline; } } } // FORM CONTATTI .myReplyForm{ .alpaca-form-button{ cursor: pointer; color: #fff!important; background-color: @giallo!important; padding: 0px 10px!important; //height: 55px; width: 100%; line-height: 45px!important; -webkit-appearance: none; float: right; margin: 0 auto; margin-top: 20px; font-weight: bold!important; outline: none; font-size: 17px!important; max-width: 240px!important; text-transform: uppercase; border-radius: 0!important; border: none!important; font-weight:normal !important; -webkit-transition:all 400ms ease; -moz-transition:all 400ms ease; -ms-transition:all 400ms ease; -o-transition:all 400ms ease; transition:all 400ms ease; &:hover{ background-color:@primary-color-hover !important; } } .form-control{ height: 55px!important; } } // ****************************************************** /* newsletter */ #pgall #email_min{height:59px;text-indent:20px !important;color:#333 ;-webkit-appearance:none; background-color:#fff; } #button_email_min{ height:59px; -webkit-appearance:none; background-color: @giallo; font-size:17px;display:block!important; text-align:center; color:@text-color;border:none !important;} #button_email_min:hover{background:@primary-color; color:#fff;} .field_email_min{width:78%;} .field_button_min{width:22%;} .link_email{font-size:14px;color:#fff !important; } #wrapper_email_min{ max-width: 90%; margin-top:15px; margin:0 auto} .newsletter_min_cont_privacy{color:#fff !important; margin-top:5px; text-align:center } .newsletter_min_cont_privacy a{color:#fff !important;} .news-size{ color:#FFFFFF; font-size:51px; line-height:1; FONT-WEIGHT:700; margin-bottom:20px; text-align:center} .result_inscr_newsl_min {color:#fff !important;} /* ******************************************************************** */ //lista-custom utilizza l'immagine nel before .lista-custom { list-style-type: none; padding: 25px 0px; li { position: relative; padding: 3px 0px 3px 20px; list-style-position: inside; &:before { content: ''; position: absolute; left: 0; top: 10px; margin: auto; height: 11px; width: 15px; background-image: url(/source/ico-elenco.png); background-repeat: no-repeat; } } } // FORM CONTATTI #ContContatti { color: @color-form; input[type="radio"], input[type="checkbox"] { display: inline-block; margin-right: 4px; margin-top: 2px; } .form-group { margin: 3px 0; } .modulo_alt { &:extend(.form-control all); height: 45px; background-repeat: no-repeat; box-shadow: none; padding: 0; font-size: 16px; background-color: @background-input; margin: 5px 0; color: @color-form; border: #CCC 1px solid; border-radius: 2px; text-indent: 10px; option { color: @color-form; } &::-webkit-input-placeholder { /* Chrome/Opera/Safari */ color: @color-form; } &::-moz-placeholder { /* Firefox 19+ */ color: @color-form; } &:-ms-input-placeholder { /* IE 10+ */ color: @color-form; } &:-moz-placeholder { /* Firefox 18- */ color: @color-form; } } .modulo_alt[readonly], .modulo_file { background-image: url('/ATScripts/form/img/attach.png'); background-repeat: no-repeat; background-position: 5px center; cursor: pointer; text-indent: 25px; background-color: @background-input; } .bottone_alt { &:extend(.btn all); .button-variant(#fff; #000; #000); &:extend(.btn-block all); @media (max-width: @screen-sm-max) { float: none; margin: 10px auto; } } .privacy-form { text-align: right; } .privacy-form label { margin: 0; display: inline; } label { display: block; margin: 5px 0; font-size: 16px; color: @color-form; } .sep { padding-bottom: 10px; } textarea { min-height: 100px; @media (max-width: @screen-sm-max) { min-height: 100px; } } .separatore { margin-bottom: 10px; } select.modulo_alt { background-image: url("/source/arr_down.png"); background-repeat: no-repeat; background-position: 95% 50%; background-position: right 10px bottom 50%; } .privacy-form { @media (max-width: @screen-xs-max) { margin-top: 10px; } label { padding: 0; } } } #testo_privacy, .txtred_alt { font-size: 12px !Important; color: @color-form; font-weight: normal; } #ContContatti input.datepicker, #ContContatti input[name="arrivo"], #ContContatti input[name="partenza"], #data_arrivo_lastminute, #data_partenza_lastminute { background-color: @background-input; background-image: url("/source/calendario.png") !important; background-repeat: no-repeat; background-position: 98% 50% !important; cursor: pointer; color: @color-form; } #ContContatti input[type="button"].bottone_alt, #pgall .wrapper_form_cont input[type="submit"] { border-radius: 0; background-color: @giallo; font-weight:bold; cursor: pointer; color: @text-color; width: auto; padding: 0px 10px; height: 55px; line-height: 50px; width: 100%; max-width: 220px; font-size: 16px; float:right; letter-spacing:1px; margin-top: 10px; -webkit-appearance: none; -webkit-transition: all 400ms ease; -moz-transition: all 400ms ease; -ms-transition: all 400ms ease; -o-transition: all 400ms ease; transition: all 400ms ease; border:none; @media (max-width: @screen-xs-max) { float: none; margin: 15px auto; margin-bottom: 0; } &:hover { background-color: @primary-color; color: #fff; } } #pgall .wrapper_form_cont .privacy_check div { display: inline-block; } .slider-top{ height:100%; .slick-list{ height:100%; .slick-track{ height:100%; .bg{ height:100%; } } } } .offerte{ margin-top:25px; .btn-offerte { outline:none; color:#fff!important; line-height:45px; font-size:17px; width:100%; max-width:150px; cursor:pointer; margin:0 auto; padding:0 10px; background-color:#63c7b2; display:block; -webkit-appearance:none; text-align: center; &:hover { background:#F4CDF0; border-bottom-color: #ffffff; } } .space-scopri-offer { margin-top:35px; } .cont { max-width:371px; float:none; margin:0 auto; } .img_contenuto { transform:none; } .box-proposta { margin:0 5px; } .sottotitolo { line-height:1.3; padding: 10px 0 25px 0; } h3{ font-size:23px; line-height:26px; margin-top:15px; a{ color:@text-color; font-weight:bold; &:hover{ color:@primary-color; } } } .pulsante{ max-width:200px; margin:0 auto; margin-top:0; } } .dett_offerte h1 { font-size: 40px; color: @text-color; line-height: 43px; padding-bottom: 0px; } .listato-foto{ .image_2{ @media (max-width: @screen-xs-max) { display:none; } } } .flex { @media (min-width: @screen-sm-min) { display: -ms-flexbox; display: -webkit-flex; display: flex; align-items: center; -webkit-align-items: center; -moz-align-items: center; align-content: center; justify-content: center; -webkit-justify-content: center; -webkit-align-content: center; } } .box-home{ @media (max-width: @screen-sm-max) { margin:25px 0; } h3{ text-align:left; margin-bottom:25px; padding-top:0; } .txt{ text-align:left; @media (max-width: @screen-xs-max) { margin-bottom:20px; } } } html{ overflow-x:hidden; }