/* ******************************************** general ************************************************************* */

a {
    outline: 0 !important;
}

body {
    min-height: 100% !important;
}

/* ****************************************** navigation ************************************************************ */

.activeHome {
    background-color: #ff8f00;
    color: #fff !important;
}

.activeHome:hover {
    color: #333 !important;
    background-color: #ffb948 !important;
}

/* ******************************************** content ************************************************************* */

#content {
    /*background-color: palevioletred;*/
}

#content p {
    margin: 0 0 20px 0;
}

#content h2 {
    font-size: 1.4em;
    margin: 1%;
}

#content h2 span {
    font-weight: bold;
}

#content > p {
    font-size: 1.1em !important;
    margin: 15px 1%;
}

p.halfSite em {
    display: block;
    background-color: #efefef;
    padding: 15px;
    margin: 15px;
    border-radius: 10px;
}

.halfSite {
    width: 50%;
    float: left;
    min-width: 240px;
}

.halfSite p {
    margin: 20px auto !important;
}

.emText {
    background-color: #efefef;
    padding: 15px;
    margin: 1%;
}

.imgLink {
    float: left;
    width: 33.3%;
}

.imgLink figcaption {
    text-align: center;
    padding-top: 10px;
    color: #555;
}

.imgLink a {
    display: block;
    box-shadow: 0 2px 5px 0 rgba(50, 50, 50, 0.5);
    margin: 2%;
    padding: 3%;
    position: relative;
}

.imgLink a:hover {
    background-color: #c1dfff;
    cursor: pointer;
}

.imgLink a img {
    display: block;
    box-sizing: content-box;
    margin: 0 auto;
    width: 100%;
}

/* inside shadow hack (http://designbystevie.com/2011/03/applying-css3-inset-box-shadows-to-images/)*/
.imgLink a::before {
    display: block;
    content: '';
    position: absolute;
    width: 94%;
    height: 94%;
    box-shadow: inset 0 2px 4px -1px rgba(0, 0, 0, 0.15);
}

.imgFrame img {
    width: 100%;
    max-width: 331px;
    height: auto;
}

.alignMiddle {
    text-align: center;
}

.gap30 {
    padding-top: 30px;
}

.orange {
    color: #ff8f00;
    font-weight: 700;
    font-size: 1.2em;
    /* font-size: 1.1em; */
	font-weight: 300;
}

#aboutWrap {
    margin-top: 40px;
    margin-bottom: 40px;
    background-color: #fafafa;
}

#aboutWrap div {
    padding: 15px;
}

#aboutWrap div p {
    font-size: 1.3em;
}

#aboutWrap div p em span {
    font-size: 1.4em;
    color: #058EEE;
    line-height: 62px;
}

#avatarWrap {
    /*float:left;*/
    /*float: left;*/
    background-color: #fff;
}

#avatarWrap img {
    display: block;
    /*float: right;*/
    width: 100%;
    max-width: 463px;
    height: auto;
    margin: 0 auto;
}

/* ******************************************** footer ************************************************************** */

.footer div p a {
    text-align: center;
    margin-left: 20px;
}

/* ------------------------------------------- for GTM --------------------------------------------------------------- */

.phone:hover {
    color: #ff6100;
    transition: 0.2s;
    cursor: pointer;
}

/* ------------------------------------------ mediaquerry ----------------------------------------------------------- */

/* Portrait phones and smaller */
@media only screen and (max-width: 480px) {

    .halfSite {
        float: none;
        width: 100%;
    }

    .imgLink {
        float: none;
        width: 100%;
        margin-bottom: 30px;
    }

}