/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}


html {
    width: 100%;
    height: 100%;
}

body {
    /*background-color: #202028;*/
    /*background-color: #ff0000;*/
    background-color: rgb(132, 138, 144);
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

#bgimg {
    position: fixed;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%; 
    background: url("../img/colgirardin2.jpg") center center no-repeat fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#containerDiv {
    overflow-y: auto;
    background-color: rgba(250, 250, 250, 0.76);
    height: 100%;
    min-width: 500px;
    max-width: 630px;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    padding-left: 60px;
    padding-right: 60px;
}

#topDiv {
    padding-top: 50px;
    height: 80px;
}

#name {
    float: left;
    width: 30%;
    min-width: 300px;
    color: #333;
}

#name h1 { font-size: 35px; font-weight: bold; height: 50px; margin: 0 0 6px 0; }/*{
    font-size: 36pt;
    margin-top: 0px;*/
}
#name p {
    font-size: 14pt;
}

#email {
    color: #888;
}

#photoDiv {
    float: right;
    width: 150px;

}

#photoImg {
    width: 100%;
  	box-shadow: 4px 5px 3px #6f6f6f;
}

.contentDiv {
    position: relative;   
    min-height: 200px;
    clear: both;
    margin: 15px 0;
}

.tab {
    float: left;
    width: 25%;
}

/*.hSpacer {
    float: left;
    min-height: 1px;
    width: 5%;
}*/

.tab label {
    display: inline-block;
    float: left;
    /*background: rgba(250, 250, 250, 0.8);*/
   /* border: 1px solid #000; 
    border-top-left-radius: 1em;
    border-top-right-radius: 1em;
    border-bottom-right-radius: 1em;*/
    border-top-style: solid;
    border-top-color: #6f6f6f;
    border-top-width: 3px;
    margin-top: 7px;
    position: relative;
    width: 100%;
    text-align: center;
    padding-top: 7px;
    padding-bottom: 17px;
}

@media (max-width: 750px){
    .tab label {
        font-size: 12px;
    }
}

@media (min-width: 850px) and (max-width: 1133px){
    .tab label {
        font-size: 1.4118vw;
    }
}

@media (min-width: 1134px){
    .tab label {
        font-size: 16px;
    }
}
.underliner {
/*    clear: both;
    float: left;*/
    margin: 0;
    display: inline-block;
    position: relative;
/*    padding-bottom: 3px;
*/}
.underliner:after {
    content: '';
    display: block;
    margin: auto;
    height: 3px;
    width: 0px;
    background: transparent;
    background-color: #6f6f6f;
    transition: width .5s ease, background-color .5s ease;
}

.tab label {
    cursor: pointer;
}

.tab label:hover .underliner:after {
    width: 60px;
    background: #000;
}

.tab [type=radio] {
  display: none;
}

.content {
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: 20px;
  color: #333;
  display: none;
}

[type=radio]:checked ~ label {
  /*background: #d9d9d0;*/
  float: left;
}
[type=radio]:checked ~ label .underliner:after {
  width: 50px;
  background: #000;
}

[type=radio]:checked ~ label ~ .content {
  display: block;
}
