/* RESET */

*, html { 
  margin: 0;
  padding: 0;
}
* { 
  margin: 0 auto;
  padding: 0;
  max-width: 100%;
}

/* FONTS */

@font-face {
    font-family: 'Gotham Narrow';
    src: url('fonts/GothamNarrow-Medium.woff2') format('woff2'),
        url('fonts/othamNarrow-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'MTT Milano';
    src: url('fonts/MTTMilano-Black.woff2') format('woff2'),
        url('fonts/MTTMilano-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
}
@font-face {
    font-family: 'Gotham Narrow Book';
    src: url('fonts/GothamNarrow-Book.woff2') format('woff2'),
        url('fonts/GothamNarrow-Book.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


h3 {
    font-size: 20px;
    line-height: 150%;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6a6a6a;
}
p {
    font-size: 18px;
    line-height: 150%;
    letter-spacing: 0.03em;
    color: #6a6a6a;
}
p a {
    color: #6a6a6a;
    text-decoration: none;
    padding-bottom: 2px;
}
p a:hover {
    color: #6a6a6a;
    border-bottom: 1px solid;
}

/* STYLES */

body, html {
    height: 100%;
}
#container { 
    /* The image used */
    background-image: url("images/palm2.jpg");

    /* Full height */
    height: calc(100% - 50px);

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border: 25px solid white;
    
    letter-spacing: 0.06em;
}
#container .wrapper {
    position: relative;
    height: calc(100% - 50px);
    padding: 40px;
    color: white;
    font-family: 'MTT Milano', 'Arial', sans-serif;
}


/* IMAGE DESKTOP */

#container .wrapper div {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}
#container .wrapper img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

#container .wrapper > #email {
    font-family: 'Gotham Narrow Book', 'Arial', sans-serif;
    position: absolute;
    bottom: 60px;
    left: 40px;
}
#container .wrapper > #email a {
    color: white;
    text-decoration: none;
    padding-bottom: 2px;
}
#container .wrapper > #email a:hover {
    border-bottom: 1px solid;
}

#container .wrapper > .linkdown {
    position: absolute;
    bottom: 60px;
    left: 40px;
}
#container .wrapper .linkdown a {
    font-family: 'Gotham Narrow Book', 'Arial', sans-serif;
    color: white;
    text-decoration: none;
    padding-bottom: 2px;
}
#container .wrapper .linkdown a:hover {
    border-bottom: 1px solid white;
}
#container .wrapper > .author {
    position: absolute;
    bottom: 60px;
    right: 40px;
    font-family: 'Gotham Narrow Book', 'Arial', sans-serif;
    text-transform: uppercase;
    font-size: 20px;
    letter-spacing: 0.6px;
}


/* BODYCONTAINER */

#bodycontainer {
}
#bodycontainer .wrapper {
    position: relative;
    height: calc(100% - 50px);
    padding: 90px 40px;
    font-family: 'Gotham Narrow Book', 'Arial', sans-serif;
    margin-top: -25px;
    margin-bottom: 0;
    background-color: #e6e6e6;
    border: 25px solid white;
}
#bodycontainer .wrapper #bodytext {
    width: 600px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 24px;
}

#bodycontainer .wrapper > .linkdown {
    position: absolute;
    bottom: 60px;
    left: 40px;
    color: #6a6a6a;
}
#bodycontainer .wrapper .linkdown a {
    font-family: 'Gotham Narrow Book', 'Arial', sans-serif;
    color: #6a6a6a;
    text-decoration: none;
    padding-bottom: 2px;
}
#bodycontainer .wrapper .linkdown a:hover {
    border-bottom: 1px solid #6a6a6a;
}

/*
#bodycontainer h3 {
    font-size: 20px;
    line-height: 150%;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #fff;
}
#bodycontainer p {
    font-size: 18px;
    line-height: 150%;
    letter-spacing: 0.03em;
    color: #fff;
}
#bodycontainer p a {
    color: #fff;
    text-decoration: none;
    padding-bottom: 2px;
}
#bodycontainer p a:hover {
    color: #fff;
    border-bottom: 1px solid;
}

*/


/* FOOTER */

#footer {
}
#footer a {
    font-family: 'Gotham Narrow Book', 'Arial', sans-serif;
    color: #6a6a6a;
    text-decoration: none;
    padding-bottom: 2px;
    font-size: 16px;
}
#footer a:hover {
    border-bottom: 1px solid #6a6a6a;
}


/* IMAGE CONTAINER */

#imagecontainer .wrapper {
    background-color: #e6e6e6;
    border: 25px white solid;
    margin-top: -25px;
}

/* GRID */

#imagecontainer .wrapper .grid {
  text-align: center;
  max-width: 95vw;
  margin: 20px auto;
}
#imagecontainer .grid-item {
  padding: 20px;
  box-sizing: border-box;
  display:inline;
}
@media (max-width: 500px) {
  #imagecontainer .grid-item {
    width: 100%;
  }
}
@media (min-width: 500px) {
  #imagecontainer .grid-item {
    width: 50%;
  }
}
@media (min-width: 1000px) {
  #imagecontainer .grid-item {
    width: 33.333%;
    padding: 30px;
  }
}
@media (min-width: 1700px) {
  #imagecontainer .grid-item {
    width: 25%;
  }
}
@media (min-width: 2100px) {
  #imagecontainer .grid-item {
    width: 20%;
  }
}



/* IMAGE TITLE */

.grid-item img {
    border: 1px solid #e6e6e6;
}
.imagetitle {
    text-align: left;
    font-family: 'Gotham Narrow Book', 'Arial', sans-serif;
    font-size: 18px;
    color: #6a6a6a;
    margin-top: 15px;
    line-height: 150%;
    margin-bottom: 40px;
}
.imagetitle span.title {
    font-family: 'Gotham Narrow', 'Arial', sans-serif;
}


/* *****************
   MEDIA QUERIES 
** ****************/


    /* EXTRA-WIDE */
    @media screen and (min-width: 2201px) {
        .img-mobile { display: none; }
        .img-tablet2 { display: none; }
        .img-tablet { display: none; }
        .img-desktop { display: none ; }
        .img-desktop-wide { display: none ; }
        .img-desktop-extrawide { display: inherit ; }
    }
    /* WIDE */
    @media screen and (max-width: 2200px) and (min-width: 2001px) {
        .img-mobile { display: none; }
        .img-tablet2 { display: none; }
        .img-tablet { display: none; }
        .img-desktop { display: none ; }
        .img-desktop-wide { display: inherit ; }
        .img-desktop-extrawide { display: none ; }
    }
    /* DESKTOP */
    @media screen and (max-width: 2000px) and (min-width: 1501px) {
        .img-mobile { display: none; }
        .img-tablet2 { display: none; }
        .img-tablet { display: none; }
        .img-desktop { display: inherit ; }
        .img-desktop-wide { display: none ; }
        .img-desktop-extrawide { display: none ; }
    }
    /* TABLET */
    @media screen and (max-width: 1500px) and (min-width: 1201px) {
        .img-mobile { display: none; }
        .img-tablet2 { display: none; }
        .img-tablet { display: inherit; }
        .img-desktop { display: none ; }
        .img-desktop-wide { display: none ; }
        .img-desktop-extrawide { display: none ; }
    }
    /* TABLET 2 */
    @media screen and (max-width: 1200px) and (min-width: 781px) {
        .img-mobile { display: none; }
        .img-tablet2 { display: inherit; }
        .img-tablet { display: none; }
        .img-desktop { display: none ; }
        .img-desktop-wide { display: none ; }
        .img-desktop-extrawide { display: none ; }
    }
    /* MOBILE */
    @media screen and (max-width: 780px) {
        
        #container { 
            /* The image used */
            background-image: url("images/palm2.jpg");

            /* Full height */
            height: auto;

            /* Center and scale the image nicely */
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
            border: 0px solid white;
            letter-spacing: 0.06em;
        }
        #container .wrapper {
            position: relative;
            height: auto;
            padding: 25px;
            color: white;
            font-family: 'MTT Milano', 'Arial', sans-serif;
        }
        
        .img-mobile { display: inherit; }
        .img-tablet2 { display: none; }
        .img-tablet { display: none; }
        .img-desktop { display: none ; }
        .img-desktop-wide { display: none ; }
        .img-desktop-extrawide { display: none ; }
        
        .img-mobile {
            font-family: 'Gotham Narrow Book', 'Arial', sans-serif;
            font-size: 14px;
        }

        .text_mobile_subtitle {
            font-family: 'MTT Milano', 'Arial', sans-serif;
            font-size: 20px;
            text-transform: uppercase;
            text-align: center;
        }
        #author, #references { padding: 0 25px !important;}
        #author .author-title,
        #references .references-title {
            font-family: 'MTT Milano', 'Arial', sans-serif;
            font-size: 14px;
            text-transform: uppercase;
        }
        #author .author-title img, 
        #references .references-title img {
            width: 50px;
        }
        #author .author-body,
        #references .references-body {
            padding-top: 25px;
            padding-left: 55px;
        }
        
        #container .wrapper > #email { display:none; }
        .img-mobile #email {
            font-family: 'Gotham Narrow Book', 'Arial', sans-serif;
            text-align: center;
            display: block;
            margin-bottom: 25px;
        }
        .img-mobile #email a {
            color: white;
            text-decoration: none;
            display: block;
        }
        .img-mobile #email a:hover {
            text-decoration: underline;
        }
        
        #container .wrapper > .linkdown {
            display: none;
        }
        #container .wrapper .img-mobile .linkdown {
            position: relative;
            margin-top: 40px ;
            margin-bottom: 20px;
            text-align: center;
        }
        #container .wrapper .img-mobile .linkdown a {
            font-family: 'Gotham Narrow Book', 'Arial', sans-serif;
            color: white;
            text-decoration: none;
            padding-bottom: 2px;
        }
        #container .wrapper .img-mobile .linkdown a:hover {
            border-bottom: 1px solid white;
        }
        #container .wrapper > .author {
            display: none;
        }
        #container .wrapper .img-mobile .author {
            position: relative;
            margin-top: 60px ;
            margin-bottom: 20px;
            text-align: center;
            font-family: 'Gotham Narrow Book', 'Arial', sans-serif;
            text-transform: uppercase;
            font-size: 16px;
            letter-spacing: 0.6px;
        }
        
    }
    @media screen and (max-width: 480px) {
        #author, #references { padding: 0 10px !important;}
    }

/*
@media all and (max-width: 1690px) {  }
@media all and (max-width: 1280px) {  }
@media all and (max-width: 980px) {  }
@media all and (max-width: 736px) {  }
@media all and (max-width: 480px) {  }
*/










/* 

#title1 {
    font-size: 84px;
    color: white;
    line-height: 85%;
    text-transform: uppercase;
}

#title2 {
    font-size: 28px;
    color: white;
    line-height: 120%;
    text-transform: uppercase;
    text-align: center;
    margin-top: -30px;
}

#email {
    font-family: 'Gotham Narrow Book', 'Arial', sans-serif;
    position: absolute;
    bottom: 60px;
    left: 40px;
}
#email a {
    color: white;
    text-decoration: none;
}

#right {
    font-family: 'Gotham Narrow Book', 'Arial', sans-serif;
    font-size: 14px;
}
#author {
    
}
.author-title {
    font-size: 18px;
}
#references {
    
}
.references-title {
    font-size: 18px;
}

*/