/*MARTA BLUE: rgb(30,115,154);*/
/*MARTA YELLOW: rgb(232,167,19);*/

@import url("font-awesome.min.css");

@font-face {
    font-family: myDIN;
    src: url(fonts/DIN.ttf);
}

body {
    font-family: myDIN;
}

h1 {
    text-transform: uppercase;
    color: rgb(30,115,154);
    margin-top: 0.2em;
    margin-bottom: 0.2em;
}

h4 {
    font-weight: bolder;
    margin: 5px 0 3px 0;
}

p {
    margin: 0 0 3px 0;
}

a {
    color: black;
    text-decoration: none;
}

a:hover {
    color: rgb(232,167,19);
    text-decoration: underline;
}

.eaec-name-component {
    font-weight: normal !important;
}

div.eaec-list-item-infoContainer:hover {
    color: rgb(232,167,19) !important;
}

div.eaec-grid-item:hover {
    color: rgb(232,167,19) !important;
}

div.eaec-grid-item {
    padding-bottom: 15px !important;
}

.icon {
    text-decoration: none;
    position: relative;
}

    .icon:before {
        -moz-osx-font-smoothing: grayscale;
        -webkit-font-smoothing: antialiased;
        font-family: FontAwesome;
        font-style: normal;
        font-weight: normal;
        text-transform: none !important;
    }

    .icon.circle {
        -moz-transition: all 0.2s ease-in-out;
        -webkit-transition: all 0.2s ease-in-out;
        -ms-transition: all 0.2s ease-in-out;
        transition: all 0.2s ease-in-out;
        border: 0;
        border-radius: 100%;
        display: inline-block;
        font-size: 1.25em;
        height: 2.25em;
        left: 0;
        line-height: 2.25em;
        text-align: center;
        text-decoration: none;
        top: 0;
        width: 2.25em;
    }

        .icon.circle:hover {
            top: -0.2em;
        }

        .icon.circle.fa-twitter {
            background: #70aecd;
            color: #fff;
        }

            .icon.circle.fa-twitter:hover {
                background: #7fb7d2;
            }

        .icon.circle.fa-facebook {
            background: #7490c3;
            color: #fff;
        }

            .icon.circle.fa-facebook:hover {
                background: #829bc9;
            }

        .icon.circle.fa-instagram {
            background: #db83ad;
            color: #fff;
        }

            .icon.circle.fa-instagram:hover {
                background: #ed95c0;
            }

    .icon.featured {
        cursor: default;
        display: block;
        margin: 0 0 1.5em 0;
        opacity: 0.35;
        text-align: center;
    }

        .icon.featured:before {
            font-size: 5em;
            line-height: 1em;
        }

    .icon > .label {
        display: none;
    }

/* Heart */
.heart {
    display: inline-block;
    width: 21px;
    height: auto;
    margin-left: 2px;
    margin-right: 2px;
    vertical-align: middle;
}

    .heart:hover {
        animation: 1.2s ease-in-out 0s infinite normal none running heartbeat;
    }

    @keyframes heartbeat {
        0% {
            -webkit-transform: scale(1);
            transform: scale(1)
        }
        14% {
            -webkit-transform: scale(1.3);
            transform: scale(1.3)
        }
        28% {
            -webkit-transform: scale(1);
            transform: scale(1)
        }
        42% {
            -webkit-transform: scale(1.3);
            transform: scale(1.3)
        }
        70% {
            -webkit-transform: scale(1);
            transform: scale(1)
        }
    }

div #main {
    width: 100%;
}

    div #main-container {
        position: absolute;
    }

        div #vacationHome {
            padding-top: 20px;
        }

        div #vacationContact {
            padding-bottom: 10px;
            padding-left: 3px;
        }

        div #topnav {
            overflow: hidden;
            background-color: white;
        }

            div #myLinks {
                display: none;
            }

            div #topnav a.iconnav {
                background: white;
                color: rgb(30,115,154);
                display: block;
                position: absolute;
                right: 0;
                top: 0;
                font-size: 25px;
                padding: 10px 0 0 0;
            }

            div #topnav a {
                float: left;
                color: rgb(30,115,154);
                padding: 20px 15px 0 0;
                text-decoration: none;
                font-size: 18px;
                display: block;
            }

            div #topnav a:hover {
                color: rgb(232,167,19);
                text-decoration: underline;
            }

            div #topnav a.active {
                color: rgb(232,167,19);
            }

        div #logo-container {
            text-align: left;
        }

            #logo {
                width: 300px;
                padding-top: 20px;
                padding-left: 2px;
            }

        div #dot-container {
            text-align: center;
        }

            #dot {
                width: 10px;
                padding-top: 10px;
                padding-bottom: 8px;
            }

        div #img-container {
            text-align: center;
            padding: 10px 0;
        }

            #img-home {
                max-width: 100%;
                height: auto;
            }

    div #event-container {
        padding: 12px 0;
    }

    div #support-container {
        padding: 12px 0;
        text-align: center;
    }
        #img-support {
            padding: 12px 12px 0 0;
            max-width: 156px;
            max-height: 64px;
        }

    div #footer {
        margin-top: 50px;
        margin-bottom: 50px;
        text-align: center;
    }

        div #footer a.fa-facebook,  div #footer a.fa-instagram {
            margin-left: 10px;
        }

        div #footer p {
            margin-left: 12px;
            margin-top: 20px;
        }

    div #map {
        height:400px;
    }
        div #map iframe {
            height:100%;
            width:100%;
            border:0;
            filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /*!* Firefox 10+ *!*/
            -webkit-filter: grayscale(50%); /*!* Chrome 19+ & Safari 6+ *!*/
            -webkit-backface-visibility: hidden;  /*!* Fix for transition flickering *!*/
        }

/* #### Desktops #### */
@media only screen and (min-device-width: 1024px){
    div #main-container {
        width: 600px;
        left: calc(50% - 300px);
    }

    .eaec-name-component {
        font-size: 16px !important;
    }

    div .img-only-mobile {
        display: none;
    }

    .after-only-mobile-img {
        margin-top: 15px !important;
    }

    div.eaec-date-element-start {
        margin-left: 0 !important;
    }
}

/* #### Desktops - Small Window #### */
@media only screen and (max-width: 650px){
    div #main-container {
        width: 400px;
        left: calc(50% - 200px);
    }

    div .img-only-mobile {
        display: none;
    }
}

/* #### iPhone 4+ or higher Portrait #### */
@media screen and  (min-device-width: 320px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
    .heart {
        width: 52px;
        margin-left: 4px;
        margin-right: 4px;
    }

    h1 {
        font-size: 1.5em;
    }

    div #main-container {
        width: 800px;
        left: calc(50% - 400px);
        font-size: 3em;
    }

    div #topnav a.iconnav {
        font-size: 1.25em;
        margin-top: 0;
        top: 0;
    }

    div #topnav a {
        font-size: 1.25em;
        margin-top: 0.3em;
        padding: 0.3em 0 0.3em 0;
        float: none;
    }

    #logo {
        width: 700px;
        padding-top: 40px;
    }

    #dot {
        width: 25px;
        padding-top: 10px;
        padding-bottom: 5px;
    }

    div #img-container {
        text-align: center;
        padding: 30px 0 25px 0;
    }

    div #event-container {
        padding: 35px 0;

    }

    #img-support {
        padding: 12px 0 0 0;
        max-width: 384px;
        max-height: 96px;
    }

    div.eaec-grid-item {
        padding-bottom: 25px !important;
        width: 100% !important;
    }

    div.eaec-grid-item-date {
        min-width: 120px !important;
        min-height: 115px !important;
    }

    div.eaec-date-element-start {
        margin-left: 0 !important;
    }

    div.eaec-date-element-month {
        font-size: 0.8em !important;
        line-height: 0.85em !important;
    }

    div.eaec-name-component {
        font-size: 0.95em !important;
    }

    div.eaec-tags-item {
        font-size: 0.7em !important;
    }

    div.eaec-tags-item::after {
        width: 7px !important;
        height: 7px !important;
        right: -14px !important;
    }

    div.eaec-time-time {
        font-size: 3em !important;
    }

    svg.eaec-time-icon {
        width: 24px !important;
        height: 24px !important;
    }

    div #footer {
        margin-top: 75px;
        padding-bottom: 100px;
    }
}

/* #### iPhone 4+ or higher Landscape #### */
@media screen and  (min-device-width: 320px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
    .heart {
        width: 52px;
        margin-left: 4px;
        margin-right: 4px;
    }

    h1 {
        font-size: 1.5em;
    }

    div #main-container {
        width: 800px;
        left: calc(50% - 400px);
        font-size: 3em;
    }

    div #topnav a.iconnav {
        font-size: 1.1em;
    }

    div #topnav a {
        font-size: 0.75em;
        padding: 20px 0.75em 0 0;
    }

    #logo {
        width: 700px;
        padding-top: 40px;
    }

    #dot {
        width: 25px;
        padding-top: 10px;
        padding-bottom: 5px;
    }

    div #img-container {
        text-align: center;
        padding: 30px 0 25px 0;
    }

    div #event-container {
        padding: 35px 0;
    }

    #img-support {
        padding: 12px 0 0 0;
        max-width: 384px;
        max-height: 96px;
    }

    div.eaec-grid-item {
        padding-bottom: 25px !important;
        /*width: 100% !important;*/
    }

    /*div.eaec-grid-item-date {
        min-width: 120px !important;
        min-height: 115px !important;
    }*/

    div.eaec-date-element-start {
        margin-left: -4px !important;
    }

    div.eaec-date-element-month {
        font-size: 0.4em !important;
        line-height: 0.5em !important;
    }

    /*div.eaec-name-component {
        font-size: 0.95em !important;
    }

    div.eaec-tags-item {
        font-size: 0.7em !important;
    }

    div.eaec-tags-item::after {
        width: 7px !important;
        height: 7px !important;
        right: -14px !important;
    }

    div.eaec-time-time {
        font-size: 3em !important;
    }

    svg.eaec-time-icon {
        width: 24px !important;
        height: 24px !important;
    }*/

    div #footer {
        margin-top: 75px;
        padding-bottom: 100px;
    }
}

/* #### Tablets Portrait or Landscape #### */
@media screen and (min-device-width: 481px) and (max-device-width: 1024px) {
    div #main-container {
        width: 600px;
        left: calc(50% - 300px);
        font-size: 1.5em;
    }

    div #footer {
        margin-top: 75px;
        margin-bottom: 75px;
    }

    #logo {
        width: 400px;
        padding-top: 40px;
    }

    #dot {
        width: 13px;
        padding-top: 10px;
        padding-bottom: 5px;
    }

    .heart {
        width: 26px;
        margin-left: 4px;
        margin-right: 4px;
    }

}

