
#header {
    height: 250px;
    /* background-image: url('/assets/appimg/backgorund_general.jpg'); */
}

.content .title-page h1 {
    font: bold 18pt "cormorant-b";
    color: #eba300;
    margin-top: 0;
    margin-bottom: 5px;
}

.content .title-page h2 {
    font-size: 24pt;
    text-transform: uppercase;
}

.content .title-page {
    margin-bottom: 50px;
}




/*   main    */

main {
    width: 90%;
    margin: 0 auto;
    
    position: relative;
    top: -140px;
}

main .hack-comunicate .right div {
    display: none;
}

main .hack-father {
    padding-top: 20px;
    border-radius: 30px;
    
    background: #fff;
}

main .right {
    overflow: auto;
}

main .left p,
#any-comunicate {
    font-size: 11pt;
    line-height: 20px;
    margin-bottom: 5px;
}

main .right .alert-comunic {
    width: 45px;
    position: relative;
}

main .hack-comunicate .right div {
    display: none;                   /*  to remove     */
}

main .right .number {
    display: block;
    width: 30px;
    height: 30px;
    background: #f55252;
    border-radius: 30px;
    
    color: #fff;
    font: normal 16pt "cormorant";
    text-align: center;
    
    position: absolute;
    top: 0;
    right: 25px;

    transition: .3s;
    cursor: pointer;
}

main .right .alert-comunic:hover .number {
    background: #ff2929;
}

main .right p {
    float: left;
}

main .right,
main .right button {
    color: #6e8675;
}

main .right button {
    background: none;
    border: none;
    font-size: 32pt;
    margin-top: -15px;

    transition: .3s;
    cursor: pointer;
}

main .right .alert-comunic:hover button,
main .right:hover p {
    color: #004015;
}

main .content {
    padding-bottom: 30px;
}


/*  */
main .content .services h1 {
    display: none;
}

main .content .services li {
    display: inline-block;
    vertical-align: top;
    width: 45%;
    margin: 10px 2%;

    text-align: center;
}

main .content .services li a {
    display: block;
    width: 100%;
    height: 140px;
    padding: 40px 10px;
    border: 1px solid #ddd;
    border-radius: 35px;
    display: inline-block;

    color: #666;
    text-align: center;
    transition: .3s
}

main .content .services li a:hover {
    border: 1px solid #004015;
    color: #004015;
    background: #e7ffef;
    box-shadow: 0 0 5px #004015;
}

main .content .services li a span {
    font-size: 32pt;
    transition: .3s
}

main .content .services li a:span span {
    font-size: 36pt;
}

main .content .services li p {
    font-size: 11pt;
    margin-bottom: 0;
    line-height: 20px;
}


/* list-frame */
main .list-frame > li {
    height: 300px;
    padding: 15px;
    border: 1px solid #ddd;

    position: relative;
    cursor: pointer;
    transition: .5s;
    overflow: hidden;
}

main .list-frame > li:hover {
    border: 1px solid #004015 ;
    box-shadow: 0 0 3px #2c8f4c;
}

main .list-frame > li h3 {
    color: #666;
    margin-top: 50px;
    transition: .5s;
}

main .list-frame > li:hover  h3 {
    color: #004015 ;
}

main .list-frame > li p {
    color: #808080;
}

main .list-frame > li ul {
    position: absolute;
    top: 0;
    right: -100%;
    width: 90%;
    height: 300px;
    padding: 35px 15px;
    background: #9affbb;
    overflow-y: scroll;
    overflow-y: auto;

    transition: .5s;
}

main .list-frame > li:hover ul {  
    right: 0;  
}

main .list-frame > li ul a {
    font-weight: 800;
    font-size: 14pt;
}

main .list-frame-small {
    height: 300px;
    padding: 15px;
    border: 1px solid #ddd;
    margin: 30px 0;
    padding-top: 60px;

    position: relative;
}

main .list-frame-small li h3 {
    color: #666;
    margin-top: 0;
    margin-bottom: 10px;
    cursor: pointer;
}

main .list-frame-small li h3:hover {
    color: #2c8f4c;
}

main .list-frame-small li ul {
    position: absolute;
    top: 0;
    left: 40px;
    height: 300px;
    padding: 15px;
    background: #9affbb;

    display: none;
}

main .list-frame-small li h3:hover + ul {
    display: block;
}

main .list-frame-small li ul a {
    font-weight: 800;
    font-size: 14pt;
}




/* person list2  */

main .person-list2 li {
    width: 100%;
    border: 2px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    text-align: center;

    padding: 15px;
    margin-bottom: 15px;
    transition: .3s;
}

main .person-list2 li:hover {
    border: 2px solid #004015;
    box-shadow: 1px 1px 5px #ccc;
}

main .person-list2 li img {
    width: 100%;
    border-radius: 5px 5px 0 0;
    filter: grayscale(70%);
    transition: .3s;
}

main .person-list2 li:hover img {
    filter: grayscale(0);
}

main .person-list2 li h2 {
    font-weight: 600;
    font-size: 18pt;
    margin-bottom: 10px;
    color: #333;
    transition: .3s;
}

main .person-list2 li:hover h2 {
    color: #004015;
}

main .person-list2 li p {
    font-size: 14pt;
    font-weight: 600;
    font-weight: bold;
    color: #666;
    transition: .3s;
}

main .person-list2 li:hover p {
    color: #333;
}

main .person-list2 li p:before,
main .person-list2 li p:after {
    content: '..';
    color: #ccc;
}







/*  */
main .statist {
    border-top: 1px solid #ddd;
    padding-top: 50px;
    margin-top: 50px;
}

main .statist ul {
    margin-top: 30px;
    text-align: center;
}

main .statist ul .active {
    border: 1px solid #ddd;
    padding: 30px 20px 50px;
}

main .statist ul .active .typcn {
    font-size: 24pt;
    color: #566f5e;
}

main .statist ul .active p {
    font-size: 14pt;
    margin-bottom: 20px;
}

main .statist ul .active a {
    color: #fff;
    background: #566f5e;
    padding: 8px 15px;
    border-radius: 30px;
}

main .statist ul .active a:hover {
    background: #2c8f4c;
}

main .statist ul .active h4 {
    font-size: 28pt;
}

main .statist ul h4 {
    font: bold 24pt "cormorant-b";
    margin-bottom: 5px;
    color: #666;
}

main .statist ul p {
    color: #808080;
}





.hierarchy img {
    width: 100%;
}

.hierarchy img:last-child {
    display: none;
}






@media(min-width: 450px) {

    main .list-frame > li {
        padding: 30px;
    }

    main .list-frame > li ul {
        left: auto;
        padding: 30px;
        width: 80%;
    }

    main .list-frame-small {
        width: 350px;
        padding-left: 30px;
        padding-right: 30px;
    }

    main .list-frame-small li ul {
        width: 300px;
        left: auto;
        right: -30px;
        padding: 30px;
    }

    .hierarchy img {
        width: auto;
    }
}






@media(min-width: 550px) {

    main .list-frame > li ul {
        width: 60%;
    }

    main .person-list2 li {
        width: 48%;
        height: 450px;
        display: inline-block;
        vertical-align: top;
    }

    main .person-list2 li:nth-child(2n-1) {
        margin-right: 3%;
    }

}







@media(min-width: 600px) {

    main .hack-father {
        padding-top: 20px;
    }

    main .hack-comunicate {
        overflow: auto;
    }

    main .left {
        float: left;
        width: 60%;
    }

    main .right {
        float: right;
        margin-top: 0;
    }

    main .right .alert-comunic {
        padding-top: 5px;
    }

    main .content {
        clear: both;
    }

    main .content .services li {
        width: 22%;
        margin: 10px 1%;
    }

    main .list-frame-small li ul {
        right: -100px;
    }
}






@media(min-width: 750px) {

    main .list-frame > li {
        width: 48%;
        display: inline-block;
        vertical-align: top;
        margin-right: 2%;
    }

    main .list-frame > li:nth-child(2n+2) {
        margin-right: 0;
    }

    main .list-frame > li ul {
        height: 300px;
    }
}






@media(min-width: 800px) {

    main .statist ul li {
        width: 35%;
        display: inline-block;
    }

    main .statist ul .active {
        margin: 30px 25%;
    }
    
}






@media(min-width: 1015px) {

    #header .title-page {
        margin-left: 20%;
        width: 75%;
    }

    main .list-frame-3 > li {
        width: 32%;
        display: inline-block;
        vertical-align: top;
        margin-right: 1%;
    }

    main .list-frame > li ul {
        width: 80%;
    }

    main .list-frame-3 > li:nth-child(2n+2) {
        margin-right: 1%;
    }

    main .list-frame-3 > li:last-child {
        margin-right: 0;
    }

    /*  */
    main .person-list2 li {
        width: 32%;
    }

    main .person-list2 li:nth-child(2n-1) {
        margin-right: 1%;
    }

    main .person-list2 li {
        margin-right: 1%;
    }

    .hierarchy img {
        width: 100%;
    }
    
    .hierarchy img:first-child {
        display: none;
    }
    
    .hierarchy img:last-child {
        display: block;
    }
}






@media(min-width: 1200px) {

    main {
        width: 1000px;
    }

    main .statist ul li {
        width: 155px;
        display: inline-block;
    }

    main .statist ul .active {
        margin: 30px auto;
    }

    main .statist ul .active {
        width: 250px;
    }

    main .person-list2 li {
        height: 410px;
    }
    
}






@media(min-width: 1700px) {

	main {
		width: 1200px;
	}

	main .margin {
		width: 90%;
	}
} 

