﻿
.subtitleProfesores {
    color: #666;
    display: block;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin-left: 60px;
    text-align: left;
    width: 90%;
    font-family: 'Open Sans', serif;
    font-style: normal;
}

.h3-underline {
    color: #000000;
    font-size: 17px;
    font-weight: 400;
    text-align: center;
    width: auto;
    border-bottom: 2px solid #6f0101;
    width: 150px;
    margin: 0 auto 5px;
    padding: 30px 0 5px 0;
    align-content: center;
}

#danza_profes {
    margin-top: 30px;
    margin-bottom: 15px;
    display: block;
}

    #danza_profes ul {
        list-style: none;
        margin: 0;
        padding: 0;
        width: 100%;
        overflow: hidden;
    }

        #danza_profes ul li {
            float: left;
        }

#danza_profes_1 li {
    width: 100%;
    margin: 0;
}

#danza_profes_2 {
    padding-top: 20px !important;
}

    #danza_profes_1 li img {
        width: 35%;
        height: auto;
        float: left;
    }

    /*#danza_profes_1 li img {
        float: left;
        padding: 30px 20px 10px 15px;
        width: 50%;
        min-width: 300px;
    }*/

    #danza_profes_1 li div {
        width: 60%;
        height: auto;
        float: left;
        margin-left: 5%
    }

#danza_profes ul li h3 {
    color: #000000;
    font-size: 17px;
    font-weight: 400;
    text-align: center;
    width: auto;
    border-bottom: 2px solid #6f0101;
    width: 150px;
    margin: 0 auto 5px;
    padding-bottom: 5px;
    clear: both;
}

#danza_profes ul li div {
    color: #212529;
    /*font-size: 13px;*/
    /*line-height: 1.4;
    font-weight: 400;
    text-align: left;*/
    /*font-family: 'Open Sans', serif;*/
}

#danza_profes_2 li {
    width: 33%;
    height: 33%;
    overflow: hidden;
    opacity: 0.7;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.page-id-9 #danza_profes_2 li:first-child, .page-id-163 #danza_profes_2 li:first-child, .page-id-181 #danza_profes_2 li:first-child, .page-id-212 #danza_profes_2 li:first-child {
    background: #DDD;
}

    .page-id-9 #danza_profes_2 li:first-child:hover, .page-id-163 #danza_profes_2 li:first-child:hover, .page-id-181 #danza_profes_2 li:first-child:hover {
        background: #6f0101;
    }

#danza_profes_2 li:first-child a div span {
    border-bottom: 2px solid #6f0101;
    padding-bottom: 3px;
}

#danza_profes_2 li a div p {
    font-size: 12px;
    margin-top: 15px;
    text-transform: uppercase;
}

#danza_profes_2 li:hover {
    opacity: 1;
    background: #6f0101;
}

#danza_profes_2 li img, #danza_profes_2 li div {
    float: left;
    width: 50%;
    height: 100%;
}

#danza_profes_2 li:nth-child(4) img, #danza_profes_2 li:nth-child(4) div, #danza_profes_2 li:nth-child(5) img, #danza_profes_2 li:nth-child(5) div, #danza_profes_2 li:nth-child(6) img, #danza_profes_2 li:nth-child(6) div, #danza_profes_2 li:nth-child(10) img, #danza_profes_2 li:nth-child(10) div, #danza_profes_2 li:nth-child(11) img, #danza_profes_2 li:nth-child(11) div, #danza_profes_2 li:nth-child(12) img, #danza_profes_2 li:nth-child(12) div, #danza_profes_2 li:nth-child(16) img, #danza_profes_2 li:nth-child(16) div, #danza_profes_2 li:nth-child(17) img, #danza_profes_2 li:nth-child(17) div, #danza_profes_2 li:nth-child(18) img, #danza_profes_2 li:nth-child(18) div, #danza_profes_2 li:nth-child(22) img, #danza_profes_2 li:nth-child(22) div, #danza_profes_2 li:nth-child(23) img, #danza_profes_2 li:nth-child(23) div, #danza_profes_2 li:nth-child(24) img, #danza_profes_2 li:nth-child(24) div, #danza_profes_2 li:nth-child(28) img, #danza_profes_2 li:nth-child(28) div, #danza_profes_2 li:nth-child(29) img, #danza_profes_2 li:nth-child(29) div, #danza_profes_2 li:nth-child(30) img, #danza_profes_2 li:nth-child(30) div, #danza_profes_2 li:nth-child(34) img, #danza_profes_2 li:nth-child(34) div, #danza_profes_2 li:nth-child(35) img, #danza_profes_2 li:nth-child(35) div, #danza_profes_2 li:nth-child(36) img, #danza_profes_2 li:nth-child(36) div, #danza_profes_2 li:nth-child(40) img, #danza_profes_2 li:nth-child(40) div, #danza_profes_2 li:nth-child(41) img, #danza_profes_2 li:nth-child(41) div, #danza_profes_2 li:nth-child(42) img, #danza_profes_2 li:nth-child(42) div, #danza_profes_2 li:nth-child(46) img, #danza_profes_2 li:nth-child(46) div, #danza_profes_2 li:nth-child(47) img, #danza_profes_2 li:nth-child(47) div, #danza_profes_2 li:nth-child(48) img, #danza_profes_2 li:nth-child(48) div,
#danza_profes_2 li:nth-child(52) img, #danza_profes_2 li:nth-child(52) div, #danza_profes_2 li:nth-child(53) img, #danza_profes_2 li:nth-child(53) div, #danza_profes_2 li:nth-child(54) img, #danza_profes_2 li:nth-child(54) div {
    float: right;
}

#danza_profes_2 li div {
    text-align: center !important;
    padding: 3% 0 13%;
    font-size: 17px !important;
    font-family: 'Oswald', serif !important;
    font-weight: 400 !important;
    color: #000 !important;
    background: url() center bottom no-repeat;
}

#danza_profes_2 li:hover div {
    color: #FFF !important;
}

.page-id-163 #danza_profes_2 li:first-child div {
    padding-bottom: 0px;
    background: none;
}

.page-id-13 #danza_profes_2 li div {
    padding: 6% 0 8%;
}

@media screen and (max-width: 770px) {
    #banner_ai_full {
        display: none !important;
    }

    #danza_profes_2 li {
        width: 33%;
        height: 50%;
    }

        #danza_profes_2 li img, #danza_profes_2 li div {
            float: left !important;
        }

        #danza_profes_2 li:nth-child(3) img, #danza_profes_2 li:nth-child(3) div,
        #danza_profes_2 li:nth-child(4) img, #danza_profes_2 li:nth-child(4) div,
        #danza_profes_2 li:nth-child(7) img, #danza_profes_2 li:nth-child(7) div,
        #danza_profes_2 li:nth-child(8) img, #danza_profes_2 li:nth-child(8) div,
        #danza_profes_2 li:nth-child(11) img, #danza_profes_2 li:nth-child(11) div,
        #danza_profes_2 li:nth-child(12) img, #danza_profes_2 li:nth-child(12) div,
        #danza_profes_2 li:nth-child(15) img, #danza_profes_2 li:nth-child(15) div,
        #danza_profes_2 li:nth-child(16) img, #danza_profes_2 li:nth-child(16) div,
        #danza_profes_2 li:nth-child(19) img, #danza_profes_2 li:nth-child(19) div,
        #danza_profes_2 li:nth-child(20) img, #danza_profes_2 li:nth-child(20) div,
        #danza_profes_2 li:nth-child(23) img, #danza_profes_2 li:nth-child(23) div,
        #danza_profes_2 li:nth-child(24) img, #danza_profes_2 li:nth-child(24) div,
        #danza_profes_2 li:nth-child(28) img, #danza_profes_2 li:nth-child(28) div,
        #danza_profes_2 li:nth-child(27) img, #danza_profes_2 li:nth-child(27) div,
        #danza_profes_2 li:nth-child(32) img, #danza_profes_2 li:nth-child(32) div,
        #danza_profes_2 li:nth-child(31) img, #danza_profes_2 li:nth-child(31) div,
        #danza_profes_2 li:nth-child(36) img, #danza_profes_2 li:nth-child(36) div,
        #danza_profes_2 li:nth-child(35) img, #danza_profes_2 li:nth-child(35) div,
        #danza_profes_2 li:nth-child(40) img, #danza_profes_2 li:nth-child(40) div,
        #danza_profes_2 li:nth-child(39) img, #danza_profes_2 li:nth-child(39) div,
        #danza_profes_2 li:nth-child(44) img, #danza_profes_2 li:nth-child(44) div,
        #danza_profes_2 li:nth-child(43) img, #danza_profes_2 li:nth-child(43) div,
        #danza_profes_2 li:nth-child(48) img, #danza_profes_2 li:nth-child(48) div,
        #danza_profes_2 li:nth-child(47) img, #danza_profes_2 li:nth-child(47) div,
        #danza_profes_2 li:nth-child(52) img, #danza_profes_2 li:nth-child(52) div,
        #danza_profes_2 li:nth-child(51) img, #danza_profes_2 li:nth-child(51) div,
        #danza_profes_2 li:nth-child(55) img, #danza_profes_2 li:nth-child(55) div,
        #danza_profes_2 li:nth-child(56) img, #danza_profes_2 li:nth-child(56) div {
            float: right !important;
        }

    #danza_profes_1 li {
        width: 100%;
    }

        #danza_profes_1 li div {
            width: 60%
        }

        #danza_profes_1 li img {
            width: 35%;
        }
}

@media screen and (max-width: 480px) {
    #danza_profes_2 li {
        width: 100%;
        height: 100%;
    }

    .page #danza_profes_2 li img, .page #danza_profes_2 li div {
        float: left !important;
    }

    .page #danza_profes_2 li:nth-child(2n+1) img, .page #danza_profes_2 li:nth-child(2n+1) div {
        float: right !important;
    }

    #danza_profes_1 li {
        width: 100%;
    }

    #danza_profes ul#danza_profes_1 li div {
        width: 50%;
        font-size: 12px;
    }

    #danza_profes_1 li img {
        width: 45%;
    }
}

@media screen and (max-width: 380px) {
    #danza_profes ul#danza_profes_1 li div {
        font-size: 11px;
    }
}

@media screen and (max-width: 350px) {
    #danza_profes #danza_profes_1 li div {
        width: 60%;
        font-size: 12px;
    }

    #danza_profes_1 li img {
        width: 35%;
        margin-top: 30px;
    }
}