@font-face {
    font-family: 'chevinthinregular';
    src: url('chevinthin-webfont.woff2') format('woff2'),
         url('chevinthin-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'chevindemiboldregular';
    src: url('chevindemibold-webfont.woff2') format('woff2'),
         url('chevindemibold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'chevinmediumregular';
    src: url('chevinmedium-webfont.woff2') format('woff2'),
         url('chevinmedium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
body {
    background: url("background.jpg") no-repeat center center;
    height: 100%;
    margin: 0;
    color: #6a737c !important;
}
html {
    height: 100%;
    font-family: 'chevinthinregular' !important;
    overflow: hidden;
}
h1.subhead {
    font-family: "chevinmediumregular";
    font-size: 7em;
    text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.6);
    color: #fff;
}
div.container {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
    color: #fff;
}
div.logo {
    width: 100%;
}
div.logo img {
    width: 280px;
}
div.contatti {
    font-size: 16px;
    width: 50%;
    padding: 30px;
    color: #6a737c;
    background: #fff;
    margin: 0 auto;
    border-radius: 120px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
}
div.contatti .col-sm-2, div.contatti .col-md-2 {
    padding-right: 0;
    padding-left: 0;
    margin: 5px;
}
a {
    text-decoration: none;
    color: #fff;
}
.outer {
  display: table;
  position: absolute;
  height: 100%;
  width: 100%;
}

.middle {
  display: table-cell;
  vertical-align: middle;
}

.inner {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width:576px) {
    div.container {
        max-width:540px;
    }
}
@media (min-width:768px) {
    div.container {
        max-width:720px;
    }
}
@media (min-width:992px) {
    div.container {
        max-width:960px;
    }
}
@media (min-width:1200px) {
    div.container {
        max-width:1140px;
    }
}
div.footer {
    position: absolute;
    background: #fff;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
}
div.row.contacts {
    margin-right: 0;
    margin-left: 0;
    padding: 30px 60px;
}
div.footer:before {
    content: "";
    display: block;
    background: url(images/gdtms_logo.svg);
    height: 360px;
    width: 270px;
    background-size: 360px 270px;
    position: absolute;
    right: 0;
    left: 0;
    top: -102px;
    margin: 0 auto;
}
div.footer h1, div.footer p {
    margin: 0;
}
div.footer h1, div.footer p strong {
    color: #f78f20;
    font-family: 'chevindemiboldregular';
}
div.footer p {
    color: #6a737c;
}


/* The animation code */
@keyframes slide-up {
    from {bottom: -230px; opacity: 0;}
    to {bottom: 0; opacity: 1;}
  }
  
  /* The element to apply the animation to */
  div.footer {
    animation-name: slide-up;
    animation-duration: .8s;
    animation-timing-function: ease-in-out;
  }

.mask {
    -webkit-mask-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxpdmVsbG9fMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCAyMDAgMTIyLjA1IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAyMDAgMTIyLjA1OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PGc+PHBhdGggZD0iTTE5Ny41NiwxMjIuMDVjMS42LTcuMDksMi40NC0xNC40NywyLjQ0LTIyLjA1QzIwMCw0NC43NywxNTUuMjMsMCwxMDAsMFMwLDQ0Ljc3LDAsMTAwYzAsNy41OCwwLjg0LDE0Ljk1LDIuNDQsMjIuMDVMMTk3LjU2LDEyMi4wNXoiLz48L2c+PC9zdmc+);
    mask-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxpdmVsbG9fMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCAyMDAgMTIyLjA1IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAyMDAgMTIyLjA1OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PGc+PHBhdGggZD0iTTE5Ny41NiwxMjIuMDVjMS42LTcuMDksMi40NC0xNC40NywyLjQ0LTIyLjA1QzIwMCw0NC43NywxNTUuMjMsMCwxMDAsMFMwLDQ0Ljc3LDAsMTAwYzAsNy41OCwwLjg0LDE0Ljk1LDIuNDQsMjIuMDVMMTk3LjU2LDEyMi4wNXoiLz48L2c+PC9zdmc+);
    -webkit-mask-size: 30px 20px;
    mask-size: 30px 20px;
    width: 30px !important;
    height: 20px;
    margin: 2px;
}
.mask.first {
    background-color: #F18F21;
}
.mask.second {
    background-color: #F6B25B;
}
.mask.third {
    background-color: #FAD3A2;
}
.mask.fourth {
    background-color: #C6C9CF;
}
.mask.fifth {
    background-color: #9CA2A9;
}
.mask.sixth {
    background-color: #72797F;
}

/* The animation code */
@keyframes first {
    0% {background-color: #F18F21;-webkit-transform: scale(1.1);-moz-transform: scale(1.1);-o-transform: scale(1.1);transform: scale(1.1);}
    16.6666% {background-color: #72797F;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
    33.3333% {background-color: #9CA2A9;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
    50% {background-color: #C6C9CF;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
    66.6666% {background-color: #FAD3A2;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
    83.3333% {background-color: #F6B25B;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
    100% {background-color: #F18F21;-webkit-transform: scale(1.1);-moz-transform: scale(1.1);-o-transform: scale(1.1);transform: scale(1.1);}
  }
  @keyframes second {
    0% {background-color: #F6B25B;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
    16.6666% {background-color: #F18F21;-webkit-transform: scale(1.1);-moz-transform: scale(1.1);-o-transform: scale(1.1);transform: scale(1.1);}
    33.3333% {background-color: #72797F;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
    50% {background-color: #9CA2A9;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
    66.6666% {background-color: #C6C9CF;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
    83.3333% {background-color: #FAD3A2;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
    100% {background-color: #F6B25B;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
  }
  @keyframes third {
    0% {background-color: #FAD3A2;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
    16.6666% {background-color: #F6B25B;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
    33.3333% {background-color: #F18F21;-webkit-transform: scale(1.1);-moz-transform: scale(1.1);-o-transform: scale(1.1);transform: scale(1.1);}
    50% {background-color: #72797F;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
    66.6666% {background-color: #9CA2A9;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
    83.3333% {background-color: #C6C9CF;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
    100% {background-color: #FAD3A2;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
  }
  @keyframes fourth {
    0% {background-color: #C6C9CF;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
    16.6666% {background-color: #FAD3A2;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
    33.3333% {background-color: #F6B25B;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
    50% {background-color: #F18F21;-webkit-transform: scale(1.1);-moz-transform: scale(1.1);-o-transform: scale(1.1);transform: scale(1.1);}
    66.6666% {background-color: #72797F;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
    83.3333% {background-color: #9CA2A9;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
    100% {background-color: #C6C9CF;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
  }
  @keyframes fifth {
    0% {background-color: #9CA2A9;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
    16.6666% {background-color: #C6C9CF;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
    33.3333% {background-color: #FAD3A2;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
    50% {background-color: #F6B25B;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
    66.6666% {background-color: #F18F21;-webkit-transform: scale(1.1);-moz-transform: scale(1.1);-o-transform: scale(1.1);transform: scale(1.1);}
    83.3333% {background-color: #72797F;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
    100% {background-color: #9CA2A9;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
  }
  @keyframes sixth {
    0% {background-color: #72797F;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
    16.6666% {background-color: #9CA2A9;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
    33.3333% {background-color: #C6C9CF;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
    50% {background-color: #FAD3A2;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
    66.6666% {background-color: #F6B25B;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
    83.3333% {background-color: #F18F21;-webkit-transform: scale(1.1);-moz-transform: scale(1.1);-o-transform: scale(1.1);transform: scale(1.1);}
    100% {background-color: #72797F;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);transform: scale(1);}
  }
  
  /* The element to apply the animation to */
.mask.first {
    -webkit-animation: first 2s infinite linear;
    -moz-animation: first 2s infinite linear;
    -o-animation: first 2s infinite linear;
    animation: first 2s infinite linear;
}
.mask.second {
    -webkit-animation: second 2s infinite linear;
    -moz-animation: second 2s infinite linear;
    -o-animation: second 2s infinite linear;
    animation: second 2s infinite linear;
}
.mask.third {
    -webkit-animation: third 2s infinite linear;
    -moz-animation: third 2s infinite linear;
    -o-animation: third 2s infinite linear;
    animation: third 2s infinite linear;
}
.mask.fourth {
    -webkit-animation: fourth 2s infinite linear;
    -moz-animation: fourth 2s infinite linear;
    -o-animation: fourth 2s infinite linear;
    animation: fourth 2s infinite linear;
}
.mask.fifth {
    -webkit-animation: fifth 2s infinite linear;
    -moz-animation: fifth 2s infinite linear;
    -o-animation: fifth 2s infinite linear;
    animation: fifth 2s infinite linear;
}
.mask.sixth {
    -webkit-animation: sixth 2s infinite linear;
    -moz-animation: sixth 2s infinite linear;
    -o-animation: sixth 2s infinite linear;
    animation: sixth 2s infinite linear;
}


a.btn {
    color: #fff;
    background: #f78f20;
    padding: 10px 20px;
    margin-top: 20px;
    font-size: 16px;
    transition: all 0.5s ease-in-out;
    border-radius: 120px;
}
a.btn:hover {
    background: #6a737c;
    color: #fff;
}
div.contatti h1 {
    text-transform: uppercase;
    font-size: 26px;
    font-weight: bold;
    font-family: 'chevindemiboldregular';
    margin: 0;
    margin-bottom: 20px;
}
div.contatti div.row {
    justify-content: center;
    display: flex;
}

/* The animation code */
@keyframes fade-in {
    from {opacity: 0;}
    to {opacity: 1;}
  }
  
  /* The element to apply the animation to */
  div.contatti {
      opacity: 0;
    animation-name: fade-in;
    animation-duration: .8s;
    animation-timing-function: ease-in-out;
    animation-delay: .4s;
    animation-fill-mode: forwards;
  }
  h1.subhead {
    animation-name: fade-in;
    animation-duration: 2s;
    animation-timing-function: ease-in-out;
  }
div.footer a {
    color: #f78f20 !important;
}
.flex-center-horizontal {
    display: flex;
    justify-content: center;
}
.flex-center-vertical {
    display: flex;
    align-items: center;
}
div.footer h1 {
    font-size: 28px;
}


/* MEDIAQUERIES*/

/* (1440x900) WXGA+ Display */
@media  screen and (max-width: 1440px) {
    h1.subhead {
        width: 100%;
    }
}

/* (1366x768) WXGA Display */
@media  screen and (max-width: 1366px) {
    h1.subhead {
        margin-top: -160px;
    }
}
 
/* (1280x1024) SXGA Display */
@media  screen and (max-width: 1280px) {
    h1.subhead {
        margin-top: -160px;
    }
}

/* (1024x768) SXGA Display */
@media  screen and (max-width: 1024px) {
    h1.subhead {
        margin-top: -160px;
    }
}


/*Retina displays*/

@media all and (-webkit-min-device-pixel-ratio:2) {

	#sampleImage{
		/*background-image:url('logo@2x.png');
		-webkit-background-size:1000px 100px;	*/
	}

}

/* Since IE does not support device-pixel-ratio media query  */

/* 1.25 dpr */
@media (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi){ 
		/* Styling Goes here */
}

/* 1.3 dpr */
@media (-webkit-min-device-pixel-ratio: 1.3), (min-resolution: 124.8dpi){ 
		/* Styling Goes here */
}

/* 1.5 dpr */
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi){ 
		/* Styling Goes here */
}

/*2.0 dpr */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi){ 
		/* Styling Goes here */
}

/* ----------------------------------------------------------*/

/* iPad */
@media all and (device-width: 768px) and (device-height: 1024px) {
	
}

/* iPad ~ Portrait */
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
	
}

/* iPad ~ Landscape */
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:landscape) {
	
}

/* ----------------------------------------------------------*/

/* iPhone/Smartphone ~ Portrait */
@media only screen and (max-width: 767px) {
    .flex-center-vertical {
        display: block;
    }
    div.row.contacts > div.col-sm-12 {
        margin: 10px 0;
    }
    .mobile-hidden {
        display: none;
    }
	div.container {
        width: 100%;
        margin: 0;
        padding: 0;
        padding: 15px;
        box-sizing: border-box;
    }
    h1.subhead {
        font-size: 2.5em;
        width: 100%;
        text-align: center;
        position: absolute;
        top: 40px;
        margin: 0;
    }
    div.contatti {
        width: 100%;
    }
    div.footer:before {
        height: 250px;
        width: 250px;
        background-size: 250px 250px;
        top: -152px;
        right: 0;
        left: 0;
        margin: 0 auto;
    }
    div.row.contacts {
        padding: 40px 15px 5px 15px;
    }
    h1 {
        font-size: 24px;
    }
    .outer {
        position: absolute;
        height: 73%;
        width: 100%;
        display: flex;
        align-items: center;
    }
    .mask {
        -webkit-mask-size: 30px 20px;
        mask-size: 30px 20px;
        width: 30px !important;
        height: 20px;
    }
    div.contatti .col-sm-2, div.contatti .col-md-2 {
        margin: 2px;
    }
    div.contatti {
        background: rgba(255, 255, 255, 0.9);
        border-radius: 0;
        box-shadow: none;
    }
    div.contatti h1 {
        font-size: 18px;
    }
    div.container {
        padding: 0;
    }
    .middle {
        width: 100%;
    }
    div.footer h1 {
        font-size: 22px;
    }
    div.footer p strong {
        font-size: 16px;
    }
}

#demobtn {
	  border-radius: 25px;
  background-color: orange;
  padding: 10px;
  width: 200px;
  height: 150px;
}

/* iPhone/Smartphone ~ Landscape */

@media only screen and (min-width: 480px) and (max-width: 767px) {
	
}


/* ----------------------------------------------------------*/


/* Other Smartphones / Small Screen ~ Portrait and Landscape */

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
	#sampleDiv{ /* Your styling goes here */  }
}

/* Other Smartphones / Small Screen ~  Landscape */
@media only screen and (min-width : 321px) {
	#sampleDiv{ /* Your styling goes here */  }
}

/* Other Smartphones / Small Screen ~  Portrait */
@media only screen and (max-width : 320px) {
	#sampleDiv{ /* Your styling goes here */  }
}