body {
    margin:0;
    width: 100%;
    overflow-x: hidden;
    background: #101010;
    font-family: 'Montserrat', sans-serif;
}

.container {
    width: 100%;
    overflow: hidden;
}

p {
    font-family: 'Open Sans', sans-serif;
    color: white;
}

a {
    color: #f7f7f7;
    text-decoration: none;
}

.clear {
    clear: both;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

button {
    padding: 0.5em 1em;
    border: 1px solid #000;
    background: transparent;
    margin-right: 1em;
    font-size: 1em;
    cursor: pointer;
    box-sizing: border-box;
    transition: background ease 0.4s, color ease 0.4s;
}

button:hover {
    background: #000;
    color:#f7f7f7;
}

button.white {
    color:white;
    border:1px solid white;
}

button.red {
    color:red;
    border:1px solid red;
}

button.white:hover {
    background: white;
    color:black;
}

button.red:hover {
    background:red;
    color:white;
}

button.big {
    padding: 1em 2em;
}

button.reverse {
    color:black;
    border:1px solid white;
    background: #fff;
    border-radius: 2px;
}

button.reverse:hover {
    color:white;
    background: transparent;
}

.container {
    position: relative;
    width: 100%;
    overflow-x: hidden;
}

.navbar {
    top:0;
    width: 100%;
    height: 80px;
    z-index: 10;
    position: fixed;
    background:#101010;
    box-sizing: border-box;
}


.navbar .nav-wrapper {
    width: 90%;
    height: 100%;
    margin: auto;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: flex-end
}

.navbar .logo
{
    color: #fff;
    position: relative;
    margin-right: auto;
}

.navbar ul {
    margin: 0;
    padding: 0;
    position: relative;
    text-align: center;
}

.navbar .language-select {
    display: inline-block;
    color: #fff;
    position: relative;
    font-family: 'Open Sans', sans-serif;
    margin-left: 10px;
    padding-left: 10px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.mobile-nav .language-select {
    padding: 0;
    margin: 10px 0 0 0;
    font-size: 14pt;
}

.navbar .language-select .selector {
    top: 26px;
    left: 0;
    padding: 0px 10px 10px 10px;
    position: absolute;
    background: #101010;
}

.mobile-nav .language-select .selector {
    top: 40px;
    padding: 0;
    background: transparent;
}

.navbar .language-select .option {
    cursor: pointer;
    display: block;
    box-sizing: border-box;
    margin-bottom: 3px;
}

.mobile-nav .language-select .option {
    margin-bottom: 15px;
}

.navbar .language-select .selector.hide {
    display: none;
}

.navbar .language-select .option.selected,
.navbar .language-select .option:hover
{
    border-bottom: 1px solid #fff;
    margin-bottom: 2px;
}

.mobile-nav .language-select .option.selected,
.mobile-nav .language-select .option:hover
{
    margin-bottom: 14px;
}

.navbar ul li {
    display: inline-block;
    padding: 0.5em;
}

.navbar ul li a {
    color: white;
    font-family: 'Montserrat', sans-serif;
    transition: color ease 0.4s;
    cursor: pointer;
}

.navbar ul li a:hover {
    color: cadetblue;
}

header {
    width: 100%;
    height: 600px;
    display: flex;
    overflow: hidden;
    position: relative;
    flex-flow: row nowrap;
}

header .slide {
    width: 100%;
    height: 600px;
    display: flex;
    position: relative;
    flex-shrink: 0;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

header .title {
    color: #fff;
    width: 50%;
    padding: 1em;
    overflow: hidden;
    font-size: 2.5em;
    box-sizing: border-box;
    transition: flex ease 0.4s;
    background: #101010;
    box-sizing: border-box;
}

header .title h1 {
    position: relative;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    margin: 0;
    text-overflow: ellipsis;
    overflow: hidden;
}

header .text {
    width: 50%;
    height: 100%;
    position: absolute;
    top:0;
    left: 0;
    padding: 50px;
    color: white;
    font-size: 3em;
}

header .pic {
    flex: 0;
    width: 50%;
    transition: flex ease 0.7s;
}

.slider-controls {
    height: 60px;
    display: flex;
    justify-content: center;
}

.slider-controls i {
    width: 50px;
    color: #fff;
    height: 100%;
    cursor: pointer;
    display: flex;
    font-size: 2em;
    align-items: center;
    justify-content: center;
}

.slider-controls i:hover {
    background: rgba(255, 255, 255, 0.1)
}

.slider-controls .dots {
    display: flex;
}

.slider-controls .dots i {
    width: 50px;
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.3);
    transition: color ease 0.3s;
}

.slider-controls .dots i.active {
    color: rgba(255, 255, 255, 1);
}

.section {
    line-height: 80px;
}

.dark {
    height: 50px;
    background:#101010;
}

.header_slider {
    position: relative;
    height: calc(100vh - 50px);
    width: 100%;
    background:#202020;
}

.h_slide {
    position: relative;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    opacity: 0.6;
}

.h_text {
    position: absolute;
    top:50%;
    left:50%;
    z-index: 4;
    transform: translate(-50%, -50%);
    color: white;
}

.h_text h1 {
    font-size: 6em;
}

.h_text p {
    text-align: justify;
}

.header_slider img#left, .header_slider img#right {
    position: absolute;
    bottom: 0;
    height: 50px;
    width: 50px;
}

.header_slider img#right {
    right: 0;
}

.flip {
    transform:rotate(270deg);
}

.displayed {
    position: relative;
    height: 600px;
    width: 100%;
}

.d_row {
    flex:1;
    display: block;
    position: relative;
}

.d_item {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 33.33%;
    float: left;
    height: 100%;
}

.pic {
    background-size: cover;
    background-position: center;
    flex: 1;
}

.d_contents {
    flex: 1;
    position: relative;
}

.d_contents h3 {
    font-size: 2em;
    position: absolute;
    top:50%;
    transform: translate(-50%, -50%);
    margin: 0;
    left: 50%;
    text-align: center;
    color:cadetblue;
}

.d_contents h3 a {
    color:cadetblue;
    transition: color ease 0.4s;
}

.d_contents h3 a:hover {
    color:#fff;
}

.overlay {
    position: absolute;
    z-index: 4;
    width: 100%;
    height: 100%;
    background: #202020;
    top:0;
    left:0;
    opacity: 0.7;
    transition: opacity ease 0.4s, background ease 1s;
}

.content {
    width: 80%;
    margin: 0 auto;
    position: relative;
}

.content.single {
    margin-top: 80px;
}

.content h2 {
    color: cadetblue;
    font-size: 3em;
    margin-top: 0;
}

.about p {
    display: inline-block;
    text-align: justify;
}

.red_line {
    bottom: 0;
    height: 5px;
    left: -100%;
    width: 100%;
    background: cadetblue;
    position: relative;
    transition: transform ease 0.6s;
}

.n_item {
    display: flex;
    flex-direction: row;
    text-align: justify;
    color: cadetblue;
}

.n_item:hover .red_line{
    transform: translateX(100%);
}

.n_date {
    flex:1;
    position: relative;
    transition: color ease 0.4s;
}

.n_date span {
    position: absolute;
    top: 70%;
    left: 50%;
    color: white;
    transform: translateX(-50%);
    transition: color ease 0.4s;
    font-family: 'Montserrat', sans-serif;
}

.n_item:hover .n_date h3, .n_item:hover .n_date span {
    color: cadetblue;
}

.n_date h3 {
    top:50%;
    left:50%;
    color: white;
    position: absolute;
    font-size: 4em;
    margin: 0;
    transition: color ease 0.4s;
    transform: translate(-50%, -50%);
}

.n_desc {
    flex:4;
    text-overflow: ellipsis;
  word-wrap: break-word;
  overflow: hidden;
  max-height: 200px;
  line-height: 1.8em;
}

.n_desc p a {
    color: cadetblue;
}

.portfolio {
    position: relative;
    font-size: 0;
    width: 100%;
}

.portfolio a {
    font-size: initial;
    float: left;
    display: flex;
    flex-direction: column;
    width: 23%;
    margin: 1%;
    height: 18.4vw;
    background: #202020;
}

.p_thumb {
    background-position: center;
    background-size: cover;
    flex:5;
    transition: flex ease 0.4s;
}

.p_title {
    flex: 1;
    box-sizing: border-box;
    padding: 1em;
}

.p_title h4 {
    margin: 0;
}

.portfolio a:hover .p_thumb
{
    flex: 0;
}

.service {
    width: 100%;
    height: 150px;
    display: block;
    padding: 1em;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    transition: transform ease 0.4s;
    margin-bottom:1em;
    background-size: cover;
    background-position: center;
}

.service:hover {
    transform: translateX(50px);
}

.service:hover .overlay {
    background: cadetblue;
}

.service h3, .service p {
    position: relative;
    z-index: 5;
}

.service h3 {
    color:white;
    font-size: 3em;
    margin: 0;
}

.service p {
    color: black;
    color: white;
}

/* HAMBURGER */

nav {
    padding: 0 !important;
}

.mobile-nav
{
    top: 0;
    left: 0;
    height: 100%;
    position: absolute;
    display: none;
}

#menu-toggle
{
  top: 30px;
  left: 5%;
  z-index: 6;
  display: block;
  position: fixed;
  user-select: none;
  font-family: 'Montserrat', sans-serif;
  -webkit-user-select: none;
}

#menu-toggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  cursor: pointer;
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  -webkit-touch-callout: none;
}

#menu-toggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;

  background: cadetblue;
  border-radius: 3px;

  z-index: 1;

  transform-origin: 4px 0px;

  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menu-toggle span:first-child
{
  transform-origin: 0% 0%;
}

#menu-toggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}


#menu-toggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: white;
}


#menu-toggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

#menu-toggle input:checked ~ span:nth-last-child(2)
{
  opacity: 1;
  transform: rotate(-45deg) translate(0, -1px);
}

#menu
{
    width: 300px;
    margin: -100px 0 0 -50px;
    padding: 50px;
    height: 100vh;
    position: absolute;
    transform: translate(-100%, 0);
    background: #202020;
    text-align: left;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
    padding-top: 125px;
    list-style-type: none;
    transform-origin: 0% 0%;
    -webkit-font-smoothing: antialiased;
}

#menu li
{
    display: block;
    padding: 10px 0;
    font-size: 22px;
}

#menu li:hover {
    color: cadetblue;
}

/*
 * And let's fade it in from the left
 */
#menu-toggle input:checked ~ ul
{
  transform: scale(1.0, 1.0);
  opacity: 1;
}





/* SINGLE */
.content h1 {
    font-size: 5em;
    color: white;
    margin: 0.5em 0;
}

.content_area p, .content_area span:not(.notice) {
    color: white;
}

.content.single .columns {
    color: #fff;
    display: flex;
    flex-flow: row wrap;
    font-family: 'Open Sans', sans-serif;
    justify-content: space-between;
}

.content.single .columns .content_area {
    width: calc(50% - 40px);
    flex-shrink: 0;
    margin-bottom: 50px;
}

.single_header h3 {
    text-align: justify;
}

.tcflex {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.single_header ul {
    flex: 1;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.bignum {
    flex: 1;
    position: relative;
    text-align: center;
}

.bignum h1 {
    font-size: 200px;
    margin: 0;

}

.bignum span {
    font-size: 1.7em;
    margin: 0;
    color: red;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.single_header li {
    font-size: 2em;
    font-family: 'Montserrat', sans-serif;
    padding: 0.5em 0;
}

.single_header ul li:before {

  content: '';
  display: inline-block;
  height: 1em;
  width: 1em;
  position: relative;
  top:0.15em;
  background-size: 1em;
  background-image: url("img/bullet.svg");
  background-repeat: no-repeat;
  margin-right: 1em;
}

/* SINGLE POST */
.tcflex .thumb {
    position: relative;
    flex: 1;
    background-position: center;
    background-size: cover;
}

.header_text {
    background: #202020;
    color:red;
    flex: 1;
    overflow: hidden;

}

.header_text h2 {
    margin: 1em;
    overflow: hidden;
     text-overflow: ellipsis;
}

.square {
    height: 40vw;
}

.content_grid {
    font-size: 0;
}

.g_item {
    height: 15vw;
    width: 33.33%;
    box-sizing: border-box;
    padding: 1%;
    margin-bottom: 1%;
    position: relative;
    float: left;
}

.g_item .pic {
    position: relative;
    width: 100%;
    height: 100%;
}

footer {
    width: 100%;
    position: relative;
}

.partners .content img {
    width: 200px;
    margin-right: 40px;
    float: left;
}

/* GOOGLE MAPS */
#map {
        height: 400px;
}

.contact-box {
    position: relative;
    width: 100%;
    padding: 1em;
    box-sizing: border-box;
}

.contact-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
    color: cadetblue;
    font-family: 'Open Sans', sans-serif;
}

.contact-box ul li {
    display: inline-block;
    margin-right: 2em;
}

.raq {
    right: 0;
    bottom: 0;
    position: fixed;
    z-index: 10;
}

.raq .toggle button {
    color: #fff;
    margin: 0;
    border: none;
    outline: none;
    padding: 10px 13px;
    background: cadetblue;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0px 0px 20px -8px rgba(0, 0, 0, 0.6);
    border-radius: 3px 0 0 0;
    text-transform: uppercase;
}

#contact-form, #askoffer-form
{
    top: 50%;
    left: 50%;
    width: 90%;
    height: 90%;
    display: none;
    padding: 30px;
    position: fixed;
    max-width: 500px;
    transform: translate(-50%, -50%);
    max-height: 650px;
    box-sizing: border-box;
    box-shadow: 0px 0px 20px -8px rgba(0, 0, 0, 0.6);
    background: #fff;
    border-radius: 3px;
}

#nopaint {
    color: black !important;
}

#askoffer-form {
    z-index: 500;
}

#askoffer-form .ion-close
{
    color: black;
}

#contact-form h2, #askoffer-form h2
{
    margin-top: 0;
}

#contact-form label,
#contact-form input,
#contact-form textarea,
#askoffer-form label,
#askoffer-form input,
#askoffer-form textarea
{
    box-sizing: border-box;
    display: block;
    width: 100%;
    margin: 10px 0;
}

#contact-form input,
#contact-form textarea,
#askoffer-form input,
#askoffer-form textarea
{
    border: 1px solid #ccc;
    max-width: 100%;
    min-width: 100%;
    padding: 5px;
    font-family: 'Open Sans', sans-serif;
    border-radius: 3px;
}

#contact-form textarea, #askoffer-form textarea
{
    height: 150px;
    min-height: 50px;
    max-height: 250px;
}

#contact-form button, #askoffer-form button
{
    left: 50%;
    bottom: 30px;
    outline: none;
    position: absolute;
    transform: translateX(-50%);
    box-sizing: border-box;
    border-radius: 3px;
    text-transform: uppercase;
}

#contact-form span.notice, #askoffer-form span.notice,
{
    display: block;
    margin: 10px 0;
    color: red;
}

#contact-form span.close, #askoffer-form span.close
{
    top: 10px;
    right: 10px;
    cursor: pointer;
    display: block;
    position: absolute;
}

.contact-background
{
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: none;
    position: fixed;
    background: rgba(0, 0, 0, 0.6);
}

#contact-form.show,
.contact-background.show,
#askoffer-form.show
{
    display: block;
}

#letter-form {
    width: 100%;
}

#letter-form h2 {
    margin-bottom: 30px;
}

#letter-form label {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
}

#letter-form label,
#letter-form input,
#letter-form textarea
{
    box-sizing: border-box;
    display: block;
    margin: 10px 0;
    width: 100%;
}

#letter-form input,
#letter-form textarea
{
    border: 1px solid #ccc;
    padding: 5px;
    font-family: 'Open Sans', sans-serif;
    border-radius: 3px;
}

#letter-form textarea
{
    height: 150px;
    min-height: 50px;
    max-height: 250px;
}

#letter-form button
{
    margin-top: 10px;
    border: 1px solid #fff;
    color: #fff;
    background: transparent;
    box-sizing: border-box;
    border-radius: 3px;
    transition: background ease 0.4s, color ease 0.4s;
}

#letter-form button:hover
{
    color: #000;
    background: #fff;
}

#letter-form input {
    margin-bottom: 20px;
}

/* SOCIAL */
.s_item {
    display: inline-block;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    margin-right: 1em;
}

.s_item:hover i {
    border: 2px solid cadetblue;
    color: cadetblue;
}

.s_item:hover span {
    color: cadetblue;
}

.s_item i {
    width: 1.2em;
    font-size: 2em;
    display: block;
    float: left;
    border: 2px solid white;
    border-radius: 1em;
    transition: color ease 0.4s, border ease 0.4s;
}

.s_item span
{
    top: 0.7em;
    position: relative;
    transition: color ease 0.4s;
}

@media only screen and (max-width: 1650px) {
    header .title {
        font-size: 2em;
        line-height: 2.5em;
    }
}

@media only screen and (max-width: 1350px) {
    header .title {
        font-size: 1.8em;
    }
}

@media only screen and (max-width: 1100px) {
    header .title {
        font-size: 1.5em;
        line-height: 3em;
    }
}

@media only screen and (max-width: 1180px) {
    .portfolio a {
        width: 31.33%;
    }

    .displayed {
        height: 400px;
    }

    .d_contents h3 {
        font-size: 1.2em;
    }
}

@media only screen and (max-width: 860px) {

    .g_item {
        height: 45vw;
        width: 100%;
    }

    .tcflex {
        display: block;
        /* flex-direction: column; */
    }

    .tcflex.square {
        height: initial;
    }

    .tcflex .thumb {
        height: 30vw;
    }

    .portfolio a {
        width: 48%;
        height: 30vw;
    }

    .content {
        width: 90%;
    }

    .h_text h1 {
        font-size: 3em;
        text-align: center;
    }

    .h_text {
        width: 80%;
    }

    .mobile-nav {
        display: block;
    }

    .navbar .nav-wrapper > ul,
    .navbar .nav-wrapper > .language-select {
        display: none;
    }

    .navbar .logo
    {
        margin-right: initial;
    }

    .content.single .columns .content_area {
        width: 100%;
    }

    /* Mobile slider */
    .slide {
        flex-direction: column-reverse;
    }

    .slide .title {
        width: 100%;
    }

    header .pic {
        width: 100%;
    }

    header .title h1 {
        top: 0;
        transform: none;
        left: 0;
        font-size: 1.2em;
        line-height: normal;
    }

    /* DISPLAYED */
    .displayed {
        display: none;
    }
    /*.d_item {
        width: 100%;
        height: 50%;
    }*/

    .content h2 {
        font-size: 1.7em;
    }

    .service h3 {
        font-size: 1.2em;
    }

    .partners .content img {
        width: 60%;
        margin: 0 20% 30px 20%;
        float: none;
    }

    /* SERVICE */
    .single_header .thumb {
        height: 90vw;
    }
}

@media only screen and (max-width: 670px) {
    .portfolio a {
        width: 100%;
        height: 50vw;
        margin: 0 0 3em 0;
    }

    .h_text button {
        width: 100%;
        margin-bottom: 1em;
    }

    #menu {
        width: 100vw;
    }

    .content h1 {
        font-size: 2.1em;
    }

    .content_area h2 {
        font-size: 2.1em;
    }
}
