﻿* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
}

.cf:before,
.cf:after {
    content: " ";
    /* 1 */
    display: table;
    /* 2 */
}

.cf:after {
    clear: both;
}


/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.cf {
    *zoom: 1;
}


/* Generic styling */

body {
    background: #F5EEC9;
}

.ogcontent {
    width: 100%;
    max-width: 1142px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 750px;
}

a:focus {
    outline: 2px dashed #f7f7f7;
}

@media screen and (max-width: 767px) {
    .ogcontent {
        padding: 0 20px;
    }
}

.ogcontent ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

    .ogcontent ul a {
        display: block;
        background: #94d0f1;
        text-align: center;
        overflow: hidden;
        font-size: .9em;
        text-decoration: none;
        font-weight: bold;
        color: #333;
        height: 57px;
        margin-bottom: -26px;
        box-shadow: 4px 4px 9px -4px rgba(0, 0, 0, 0.4);
        -webkit-transition: all linear .1s;
        -moz-transition: all linear .1s;
        transition: all linear .1s;
    }

@media print {
    .ogcontent ul a {
        border: 4px solid #000;
    }
}

@media screen and (max-width: 767px) {
    .ogcontent ul a {
        font-size: 0.8em;
    }
}

.ogcontent ul a span {
    top: 50%;
    margin-top: -0.7em;
    display: block;
}
.ogcontent ul .dep-a a span, .ogcontent ul .dep-b a span, .ogcontent ul .dep-c a span {
    top: 2%;
    margin-top: 0;
    display: block;
    line-height: 18px;
    padding: 5px 5px;
    font-size: 12px;
    font-weight: 600;
}
/*
 
 */
.administration > li > a {
    margin-bottom: 25px;
}

.director > li > a {
    width: 50%;
    margin: 0 auto 0px auto;
}

.subdirector:after {
    content: "";
    display: block;
    width: 0;
    height: 190px;
    border-left: 4px solid #3e8dac;
    left: 49.45%;
    position: relative;
}

@media print {
    .subdirector:after {
        border-left: 4px solid #000;
    }
}

.subdirector,
.departments {
    position: absolute;
    width: 100%;
}

    .subdirector > li:first-child,
    .departments > li:first-child {
        width: 18.59894921190893%;
        height: 64px;
        margin: 0 auto 92px auto;
        padding-top: 25px;
        border-bottom: 4px solid #3e8dac;
        
    }

@media print {
    .subdirector > li:first-child,
    .departments > li:first-child {
        border-bottom: 4px solid #3e8dac;
    }
}

.subdirector > li:first-child {
    float: right;
    right: 32%;
    border-left: 4px solid #3e8dac;
}

@media print {
    .subdirector > li:first-child {
        border-left: 4px solid black;
    }
}

.departments > li:first-child {
    float: left;
    left: 31.2%;
    border-right: 4px solid #3e8dac;
}

@media print {
    .departments > li:first-child {
        border-right: 4px solid black;
    }
}

.subdirector > li:first-child a,
.departments > li:first-child a {
    width: 100%;
    z-index: 99;
}

.subdirector > li:first-child a {
    left: 25px;
}

.subdirector > li.llv-3 {
    height: 136px;
    margin: 0 auto 92px auto;
    padding-top: 27px;
    border-bottom: 4px solid #3e8dac;
    /*z-index: 1;*/
}

.subdirector > li a.lv-3 {
    left: 25px;
    top: 72px;
}

.departments.cf1 > li:first-child {
    width: 18.59894921190893%;
    height: 135px;
    margin: 0 auto 92px auto;
    padding-top: 25px;
    border-bottom: 4px solid #3e8dac;
   /* z-index: 1;*/
    float: left;
    left: 31.2%;
}

.departments.cf1 > li a.lv-2 {
    top: 75px;
}

@media screen and (max-width: 767px) {
    .ogcontent ul .dep-a a span, .ogcontent ul .dep-b a span, .ogcontent ul .dep-c a span {
        top: 28%;
     
    }
    .ogcontent {
        width: 100%;
 
        min-height: 1420px;
    }
    .departments.cf1 > li:first-child {
        left: 11.2%;
        width: 39.598949%;
    }

    .subdirector > li:first-child,
    .departments > li:first-child {
        width: 40%;
    }

    .subdirector > li:first-child {
        right: 10%;
        margin-right: 2px;
    }

    .subdirector:after {
        left: 49.8%;
        height: 183px;
    }

    .departments > li:first-child {
        left: 10%;
        margin-left: 2px;
    }
}

.departments > li:first-child a {
    right: 25px;
}

.department:first-child,
.departments li:nth-child(2) {
    margin-left: 0;
    clear: left;
}

.departments:after {
    content: "";
    display: block;
    position: absolute;
    width: 81.1%;
    height: 22px;
    border-top: 4px solid #3e8dac;
    border-right: 4px solid #3e8dac;
    border-left: 4px solid #3e8dac;
    margin: 0 auto;
    top: 180px;
    left: 9.1%
}

@media print {
    .departments:after {
        border-top: 4px solid #000;
        border-right: 4px solid #000;
        border-left: 4px solid #000;
    }
}

@media screen and (max-width: 767px) {
    .departments:after {
        border-right: none;
        left: 0;
        width: 49.8%;
    }
}

@media screen and (min-width: 768px) {
    .department:first-child:before,
    .department:last-child:before {
        border: none;
    }
}

.department:before {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 22px;
    border-left: 4px solid #3e8dac;
/*    z-index: 1;*/
    top: -11px;
    left: 50%;
    margin-left: -4px;
}

@media print {
    .department:before {
        border-left: 4px solid #3e8dac;
    }
}

.department {
    border-left: 4px solid #3e8dac;
    width: 18.59894921190893%;
    float: left;
    margin-left: 21.751313%;
    margin-bottom: 60px;
    top: 35px;
}

@media print {
    .department {
        border-left: 4px solid #000;
    }
}

.lt-ie8 .department {
    width: 18.25%;
}

@media screen and (max-width: 767px) {
    .department {
        float: none;
        width: 100%;
        margin-left: 0;
    }

        .department:before {
            content: "";
            display: block;
            position: absolute;
            width: 0;
            height: 60px;
            border-left: 4px solid #3e8dac;
            z-index: 1;
            top: -60px;
            left: 0%;
            margin-left: -4px;
        }

        .department:nth-child(2):before {
            display: none;
        }
}

.department > a {
    margin: 0 0 -26px -4px;
    z-index: 1;
}

    .department > a:hover {
        height: 58px;
    }

.department > ul {
    margin-top: 0px;
    margin-bottom: 0px;
}

.department li {
    padding-left: 25px;
    border-bottom: 4px solid #3e8dac;
    height: 80px;
     
}

@media print {
    .department li {
        border-bottom: 4px solid #000;
    }
}

.department li a {
    background: #fff;
    top: 48px;
    position: absolute;
    z-index: 1;
    width: 97%;
    height: 60px;
    vertical-align: middle;
    right: -1px;
   
}

    .department li a:hover {
        box-shadow: 8px 8px 9px -4px rgba(0, 0, 0, 0.1);
        background-image: none !important;
    }


/* Department/ section colors */

.department.dep-a a {
    background: #FFD600;
}

.department.dep-b a {
    background: #ffd600;
}

.department.dep-c a {
    background: #ffd600;
}

.department.dep-d a {
    background: #ffd600;
}

.department.dep-e a {
    background: #ffd600;
}
.department ul li a {
    background: #f4e59a !important
}