@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300);

*{
    margin: 0px;
    padding: 0px;
    font-family: Open Sans;
    font-size: 100%;
}
body{
    overflow-x: none;
}
a{
    text-decoration: none;
}
img{
    text-align: center;
    max-width: 100%;
    width: auto;
    height: auto;
}
h1{
    font-size: 200%;
    font-weight: 100;
    color: gray;
}
canvas{
    display: none !important;
}
.container{
    padding: 0 5% 0 5%;
    max-width: 1000px;
}
.clear{
    clear: both;
}
header{
    width: 100%;
    height: 80px;
    position: fixed;
    z-index: 900;
    top: 0;
    left: 0;
    background-color: #f9f9f9;
    /*border-bottom: 1px solid #f0f0f0;*/
    /*opacity: 0.9; */
   /* -webkit-box-shadow: 0px 4px 5px 0px rgba(248,248,248,1);
    -moz-box-shadow: 0px 4px 5px 0px rgba(248,248,248,1);
    box-shadow: 0px 4px 5px 0px rgba(248,248,248,1);*/
}

.logo-bar{
    margin-top: 20px;
    float: left;
}
.logo-bar h1{
    float: left;
    font-size: 150%;
    font-weight: normal;
}
.logo-bar h3{
    font-weight: 100;
    font-size: 80%;
}
nav{
    text-align: center;
    float: right;
    margin-top: 20px;
}


nav ul{
    list-style:none;
    width: 100%;
    /*background-color: #f1f1f1;*/
}
nav ul li{
    display: inline-block;
    -webkit-transition: 0.3s ease-in-out all;
    -moz-transition: 0.3s ease-in-out all;
    -ms-transition: 0.3s ease-in-out all;
    -o-transition: 0.3s ease-in-out all;
    transition: 0.3s ease-in-out all;
    /*border-radius: 4px;*/
}
nav ul li a{
    padding: 10px 20px;
    color: #979797;
    font-weight: 100;
    font-size: 100%;
    white-space: nowrap;
    display: block;
    /*border-radius: 4px;*/
    -webkit-transition: 0.3s ease-in-out all;
    -moz-transition: 0.3s ease-in-out all;
    -ms-transition: 0.3s ease-in-out all;
    -o-transition: 0.3s ease-in-out all;
    transition: 0.3s ease-in-out all;
}
nav ul li:hover{
    background-color: #f0f0f0;
}
nav ul li a:hover{
    color: #000;
}
nav ul li a.active{
    background-color: #e6e6e6;
    color: #7e7e7e;
    -webkit-transition: 0.3s ease-in-out all;
    -moz-transition: 0.3s ease-in-out all;
    -ms-transition: 0.3s ease-in-out all;
    -o-transition: 0.3s ease-in-out all;
    transition: 0.3s ease-in-out all;
    /*border-radius: 4px;*/
}
nav ul li a.active:hover{
    color: #000;
}
nav ul li ul.dropDown{
    display: none;
    list-style: none;
    border: 1px solid #e3e2e2;
    width:150px;
    position: absolute;
    background-color: #fff; 
    z-index: 1000;
    -webkit-box-shadow: 0px 6px 5px 0px rgba(153,153,153,1);
-moz-box-shadow: 0px 6px 5px 0px rgba(153,153,153,1);
box-shadow: 0px 6px 5px 0px rgba(153,153,153,1);
}
nav ul li.dropDownBtn:hover ul.dropDown, nav ul li.dropDownBtn1:hover ul.dropDown{
    display: block;
}

nav ul li ul.dropDown li{
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 0px;
}
nav ul li ul.dropDown li:last-child{
    border-bottom: none;
}
nav ul li ul.dropDown li a{
    text-align: left;
    padding: 8px 10px;
    width:130px;
    color: #979797;
    white-space: nowrap;
    display: block;
    border-radius: 0px;
    -webkit-transition: 0.3s ease-in-out all;
    -moz-transition: 0.3s ease-in-out all;
    -ms-transition: 0.3s ease-in-out all;
    -o-transition: 0.3s ease-in-out all;
    transition: 0.3s ease-in-out all;
}
nav ul li ul.dropDown li a:hover{
    color: #000;
}

#doc{
    margin-top: 80px;
    margin-bottom: 20px;
    max-width: 1000px;
    padding: 0 5% 0 5%;
}

section{
    width: 29%;
    margin: 2% 2%;
    float: left;
    text-align: center;
}
section h1{
    margin-bottom: 10px;
}
section img{
    /*border-radius: 2%;
    -moz-border-radius: 2%;
    -webkit-border-radius: 2%;*/
    border: 2px solid #fff;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(100,100,100,1);
    -moz-box-shadow: 0px 0px 5px 0px rgba(100,100,100,1);
    box-shadow: 0px 0px 5px 0px rgba(100,100,100,1);
}
section span{
    font-weight: 100;
    color: gray;
    font-size: 3.2vmin;
}

footer{
    height: 30px;
    width: 100%;
    padding-top: 10px; 
    text-align: center;
    /*background-color: #eaeaea;*/
    color: gray;
    font-size: 80%;
    margin-top: 100px;
    bottom: 0px;
    display: block;
}
#menuIcon{
    display: none;
}


article{
    max-width: 1000px;
}
article ul{
    list-style: none;
    text-align: center;
}
article ul li{
    width: 25%;
    margin: 3.8%;
    min-width: 100px;
    display: inline-block;
    vertical-align: top;
}
article ul li img{
    -webkit-transition: 0.3s ease-in-out all;
    -moz-transition: 0.3s ease-in-out all;
    -ms-transition: 0.3s ease-in-out all;
    -o-transition: 0.3s ease-in-out all;
    transition: 0.3s ease-in-out all;
    -webkit-box-shadow: 0px 0px 8px 0px #cccccc;
    -moz-box-shadow: 0px 0px 8px 0px #cccccc;
    box-shadow: 0px 0px 8px 0px #cccccc;
    border: 2px solid #fff;
}
article ul li:hover img{
    -webkit-box-shadow: 0px 0px 15px 0px #b8b8b8;
    -moz-box-shadow: 0px 0px 15px 0px #b8b8b8;
    box-shadow: 0px 0px 15px 0px #b8b8b8;

}
article ul li a span{
    color: gray;
    font-size: 100%;
    font-weight: 100;
    padding-top: 8px; 
    display: block;
}
article h1, .form h1{
    margin-bottom: 10px;
    margin-top: 130px;
}
.form{
    text-align: left;
    width: auto;
    min-width: 250px;
    max-width: 400px;
    margin: 20px;
    font-weight: 100;
    color: gray;
}
.form h2{
    font-size: 100%;
    font-weight: 100;
    color: gray;
    margin-bottom: 10px;
    margin-top: 130px;
}
.form label{
    display: block;
    color: gray;
    font-size: 100%;
    font-weight: 100;
}
.form input[type=text],.form input[type=email]{
    width: 100%;
    height: 25px;
    border: 1px solid silver;
    margin-bottom: 20px;
    border-radius: 3px;
}
.form input[type=submit]{
    width: 100px;
    height: 35px;
    border: 1px solid silver;
    margin-bottom: 20px;
    border-radius: 3px;
    color: gray;
    font-size: 100%;
    font-weight: 100;
    cursor: pointer;
    text-align: center;
    -webkit-transition: 0.3s ease-in-out all;
    -moz-transition: 0.3s ease-in-out all;
    -ms-transition: 0.3s ease-in-out all;
    -o-transition: 0.3s ease-in-out all;
    transition: 0.3s ease-in-out all;
}
.form input[type=submit]:hover{
    color: #000;
}
.form textarea{
    width: 100%;
    height: 200px;
    border: 1px solid silver;
    margin-bottom: 30px;
    border-radius: 3px;
}
.form input[type=text], .form textarea, .form input[type=email]{
    padding: 5px 10px;
}
.text-danger{
    color: red;
    font-weight: bold;
}
.pub{
    max-width: 1000px;
    margin-top: 130px;
}
.pub a{
    display: inline-block;
    width: 25%;
    margin-bottom: 2%;
    text-align: left;
}
.pub a img{
    width: 90%;
}
.pub span{
    font-size: 100%;
}
.pub div.pubArticle{
    display: inline-block;
    width: 70%;
    text-align: left;
    vertical-align: top;
    margin-left: 2%;
    font-size: 100%;
    color: gray;
    font-weight: 100;
    line-height: 180%;
}
.pub h1{
    margin-top: 130px;
    margin-bottom: 20px;
}
.pub article{
    clear: both;
    margin-top:20px;
}
.pub .readmore{
    float: right;
    margin-top: 20px;
    margin-bottom: 30px;
}
.pub .readmore a, .pub .readmore a:active,  .pub .readmore a:visited{
    padding: 0px 10px;
    width: 80%;
    text-align: center;
    background-color: #e6e6e6;
    color: #fa8304 !important;
    font-size: 80%;
    white-space: nowrap;
    font-weight: normal;
}
.pub .readmore a:hover{
    background-color: #f0f0f0;
}
.pub p{
    margin-top: 20px;
    text-align: justify;
}

.pub h4{
    font-weight: normal;
    font-size: 80%;
    font-style: italic;
}

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


@media screen and (max-width: 760px) {
    
    header{
        position: absolute;
    }
    #mainMenu{
        display: none;
    }
    a#menuIcon{
        display: inline-block;
    }
    a#menuIcon img{
        width: 70%;
        margin-top: 10px;
    }
    nav:hover #mainMenu{
        display: block;
    }
    #doc{
        margin-top: 80px;
        margin-bottom: 20px;
        max-width: 1000px;
        padding: 0 3% 0 3%;
    }
    nav ul, nav:active ul{
        display: none;
        position: absolute;
        right: 5px;
        top: 50px;
        background-color: #fff;
        width: 50%;
        border: 1px solid #e3e2e2;
    }
    
    nav ul li{
        width: 100%;
        -webkit-transition: 0.3s ease-in-out all;
        -moz-transition: 0.3s ease-in-out all;
        -ms-transition: 0.3s ease-in-out all;
        -o-transition: 0.3s ease-in-out all;
        transition: 0.3s ease-in-out all;
        /*border-radius: 4px;*/
    }
    nav ul li a{
        padding: 10px 20px;
        color: #979797;
        font-weight: 100;
        font-size: 100%;
        white-space: nowrap;
        border-bottom: 1px solid #f0f0f0;
        text-align: left;
        display: block;
        /*border-radius: 4px;*/
        -webkit-transition: 0.3s ease-in-out all;
        -moz-transition: 0.3s ease-in-out all;
        -ms-transition: 0.3s ease-in-out all;
        -o-transition: 0.3s ease-in-out all;
        transition: 0.3s ease-in-out all;
    }

    nav ul li ul.dropDown{
        display: none;
        list-style: none;
        border: 1px solid #e3e2e2;
        width:150px;
        right:80px;
        position: all;
        background-color: #fff; 
        z-index: 1000;
        -webkit-box-shadow: 0px 6px 5px 0px rgba(153,153,153,1);
        -moz-box-shadow: 0px 6px 5px 0px rgba(153,153,153,1);
        box-shadow: 0px 6px 5px 0px rgba(153,153,153,1);
    }
    nav ul li ul.dropDown li a{
        text-align: left;
        padding: 8px 10px;
        width:130px;
        color: #979797;
        white-space: nowrap;
        display: block;
        border-radius: 0px;
        -webkit-transition: 0.3s ease-in-out all;
        -moz-transition: 0.3s ease-in-out all;
        -ms-transition: 0.3s ease-in-out all;
        -o-transition: 0.3s ease-in-out all;
        transition: 0.3s ease-in-out all;
    }
    nav ul li.dropDownBtn:hover ul.dropDown{
        margin-top: 10px;
    }
    nav ul li.dropDownBtn1:hover ul.dropDown{
        margin-top: 50px;
    }

    h1{
        font-size: 200%;
    }
}

@media screen and (min-width: 761px) {
    nav ul li ul.dropDown{
        display: none;
        list-style: none;
        border: 1px solid #e3e2e2;
        width:150px;
        /*right:80px;*/
        position: all;
        background-color: #fff; 
        z-index: 1000;
        -webkit-box-shadow: 0px 6px 5px 0px rgba(153,153,153,1);
        -moz-box-shadow: 0px 6px 5px 0px rgba(153,153,153,1);
        box-shadow: 0px 6px 5px 0px rgba(153,153,153,1);
    }
}



@media screen and (max-width: 480px) and (min-width: 376px) {
    article ul li{
        width: 38%;
        margin: 3.8%;
        min-width: 100px;
        display: inline-block;
        vertical-align: top;
    }
    .pub span{
        color: gray;
        font-size: 85%;
        font-weight: 100;
    }
    section{
        width: 43%;
        margin: 2% 3%;
        text-align: center;
        margin-bottom: 20px;
        display: inline-block;
        float: none;
    }
    .container{
        text-align: center;
    }
    #doc{
        margin-top: 80px;
        margin-bottom: 20px;
        max-width: 1000px;
        padding: 0 2% 0 2%;
    }
}

@media screen and (max-width: 375px) {
    article ul li{
        width: 38%;
        margin: 3.8%;
        min-width: 100px;
        display: inline-block;
        vertical-align: top;
    }
    article ul li a{
        color: gray;
        font-size: 80%;
        font-weight: 100;
    }
    h1{
        font-size: 200%;
    }
    .pub a{
        display: inline-block;
        width: 25%;
        margin-bottom: 2%;
        text-align: left;
    }
    .pub a img{
        width: 90%;
    }
    .pub div.pubArticle{
        display: inline-block;
        width: 70%;
        text-align: left;
        vertical-align: top;
        margin-left: 2%;
        font-size: 80%;
        color: gray;
        font-weight: 100;
        line-height: 150%;
    }
    .pub p{
        margin-top: 20px;
        text-align: left;
        font-size: 85%;
    }
    .pub span{
        color: gray;
        font-size: 85%;
        font-weight: 100;
    }
    section{
        width: 94%;
        margin: 2% 2%;
        text-align: center;
        margin-bottom: 20px;
    }
    section h1{
        margin-bottom: 10px;
    }
    section img{
        /*border-radius: 2%;
        -moz-border-radius: 2%;
        -webkit-border-radius: 2%;*/
        border: 2px solid #fff;
        -webkit-box-shadow: 0px 0px 5px 0px rgba(100,100,100,1);
        -moz-box-shadow: 0px 0px 5px 0px rgba(100,100,100,1);
        box-shadow: 0px 0px 5px 0px rgba(100,100,100,1);
    }
    section span{
        font-weight: 100;
        color: gray;
        font-size: 90%;
    }
    #doc{
        margin-top: 80px;
        margin-bottom: 20px;
        max-width: 1000px;
        padding: 0 1% 0 1%;
    }
}

.TitleTooltip {
    font-size: 12px;
    color: #000;
    height: auto;
    width: auto;
    max-width: 500px;
    overflow: auto;
    padding: 5px 10px 5px 10px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
    border-radius: 4px 4px 4px 4px;
    z-index: 999;
    display: none;
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 41%, #eeefef 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(41%,#ffffff), color-stop(100%,#eeefef)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ffffff 41%,#eeefef 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ffffff 41%,#eeefef 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ffffff 41%,#eeefef 100%); /* IE10+ */
    background: linear-gradient(to bottom, #ffffff 41%,#eeefef 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eeefef',GradientType=0 ); /* IE6-9 */
    border: 1px solid silver;
    position: absolute;
    -moz-box-shadow: 0px 0px 5px #bdbdbd;
    -webkit-box-shadow: 0px 0px 5px #bdbdbd;
    box-shadow: 0px 0px 5px #bdbdbd;
}