/*
	Theme Name: Personage Child
	Theme URI: http://themeforest.net/user/PixFlow
	Description: <strong>Flexible and Responsive Resume Theme by PixFlow</strong> - Update notifications available on twitter and facebook:<br/> <a href='http://twitter.com/pixflow'>Follow us on twitter</a><br/> - <a href='https://www.facebook.com/pages/PixFlow/107145602731642'>Join the Facebook Group</a>
	Author: PixFlow
	Author URI: http://www.pixflow.net
	License: GNU General Public License version 3.0
	License URI: http://www.gnu.org/licenses/gpl-3.0.html
	Version: 1.6
	Tags: white, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, full-width-template, theme-options, translation-ready, rtl-language-support
    Text Domain: TEXTDOMAIN
	Designed & Handcrafted by PixFlow
	All files, unless otherwise stated, are released under the GNU General Public License
	Template: Personage
	version 3.0 (http://www.gnu.org/licenses/gpl-3.0.html)
*/

#teaching{
    margin-top: 72px;
    margin-bottom: 72px;
}

#teaching .teaching-header-container{
    padding-bottom: 45px;
}

#teaching .teaching-header{
    background-color: #62D703;
    color: #FFFFFF;
    display: inline-block;
    font-family: "oswald";
    font-size: 30px;
    font-weight: normal;
    padding: 0 4px 2px;
    text-transform: uppercase;
}

#teaching a.print-box {
    border: 1px solid #8e8e8e;
    border-radius: 18px;
    background-color: #ffffff;
;
    float: right;
    width: auto;
    height: 35px;
    font-size: 12px;
    font-family: "Oswald";
    color: rgb( 47, 47, 47 );
    line-height: 1.335;
    text-transform: uppercase;
    padding: 9px 18px;
    margin-top: 20px;
}
#teaching a.print-box:hover {
    background-color: #62D703;
    color: #ffffff;
    border-color: #62D703;
}
#teaching .print-box .text {
    margin-left: 6px;
}
#teaching .teaching-parts .teaching-part {
    border-bottom: 1px solid #000000;
    padding-bottom: 30px;
    padding-top: 20px;
    width: 100%;
}
#teaching .teaching-parts .teaching-part:last-child {
    border-bottom: none;
}
#teaching.container .teaching-parts .teaching-part .title > div {
    display: table-cell;
    vertical-align: middle;
}
#teaching.container .teaching-parts .teaching-part .title > div:first-child {
    max-width: calc(100% - 34px);
    padding-top: 10px;
    padding-top: 20px;
}

#teaching.container .teaching-parts .teaching-part .title > div:last-child {
    position: absolute;
    right: 0;
    top: calc(50% + 5px);
}
#teaching .teaching-parts .teaching-part h3 {
    font-size: 22px;
    font-family: "Oswald";
    color: #000000;
    text-transform: uppercase;
    line-height: 1.483;
    margin-top: 0;
    padding-right: 34px;
    /*max-width: calc(100% - 18px);*/
}

#teaching .teaching-parts .teaching-part .underline-box {
    background-color: rgb( 98, 215, 3 );
    float: right;
    width: 34px;
    height: 9px;
    margin-top: 9px;
}
#teaching .teaching-parts .teaching-part .years {
    font-size: 16px;
    font-family: "Oswald";
    color: rgb( 112, 112, 112 );
    text-transform: uppercase;
    position: absolute;
    margin-top: -8px;

}
#teaching .teaching-parts .teaching-part .description {
    padding-top: 22px;
}

#teaching .teaching-parts .teaching-part .description .icon {
    position: absolute;
    margin-left: 41px;
    font-size: 44px;
    margin-top: 9px;
    transition: 0.3s;
}

#teaching .teaching-parts .teaching-part:hover .description .icon {
    color: #45c1e5;
    transition: 0.3s;
}
#teaching .teaching-parts .teaching-part .description .text {
    margin-left: 154px;
    position: relative;
}
/*#teaching .teaching-parts .teaching-part .title{*/
#teaching .teaching-parts{
    padding-top: 30px;
}
#teaching .teaching-parts .teaching-part {
    width: 100%;
}
#teaching .teaching-parts .teaching-part .content {
    display: table;
    width: 100%;
}

#teaching .teaching-parts .teaching-part .title{
    font-family: "oswald";
    text-transform: uppercase;
    padding-right: 0px;
    padding-top: 22px;
}
#teaching .teaching-parts .teaching-part .title > div {
    display: table-cell;
    vertical-align: middle;
}
#teaching .teaching-parts .teaching-part .title .years{
    font-size: 22px;
    padding-right: 26px;
    border-right: 2px solid #000000;
    display: inline-block;
    font-family: "Oswald";
    border-style: none;
}
#teaching .teaching-parts .teaching-part .title h3{
    font-size: 18px;
    color: #707070;
    display: inline-block;
    padding-left: 20px;

    border-left: 2px solid black;
    margin-bottom: 0;
    margin-left: -2px;
    margin-top: 0;
    max-width: 150px;
}
#teaching .teaching-parts .teaching-part .description {
    padding-top: 22px;
}
#teaching .teaching-parts .teaching-part .description .icon {
    font-size: 44px;
    transition: all 0.3s ease 0s;;
}
#teaching .teaching-parts .teaching-part .underline-box {
    background-color: #62D703;
    float:left;
    clear: both;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    width: 34px;
    height: 9px;
    margin: 42px 0 37px 15px;
}
#teaching .teaching-parts .teaching-part:last-child .underline-box {
    visibility: hidden;
    display: none;
}

/*** ! Desktop Devices 1200! ***/
@media (min-width: 481px) {
    #teaching .teaching-parts .teaching-part .title .years{
        font-size: 20px;
        padding-right: 10px;
    }
    #teaching .teaching-parts .teaching-part .title h3{
        font-size: 16px;
        padding-left: 10px;
    }
}

/*** ! Desktop Devices! ***/
@media (min-width: 481px) {
    #teaching .teaching-parts .teaching-part {
        display: table;
    }
    #teaching.container .teaching-parts .teaching-part .title {
        display: table-cell;
        float: none;
        vertical-align: middle;
    }
    #teaching .teaching-parts .teaching-part .description {
        padding-top: 22px;
        width: 100%;
        float: none;
    }
    #teaching .teaching-parts .teaching-part .description .icon {
        display: table-cell;
        margin-left: 0px;
        margin-top: 0px;
        padding-left: 41px;
        padding-top: 9px;
        position: relative;
        vertical-align: middle;
    }
    #teaching .teaching-parts .teaching-part .description .text {
        display: table-cell;
        padding-left: 10%;
        margin-left: 0px;
        position: relative;
        width: 100%;
    }
}

/*** ! Tablet & Mobile Devices! ***/
@media (max-width: 800px) {
    .teaching {
        font-size: 26px;
    }
    #teaching .teaching-parts .teaching-part .underline-box{
        display: none;
        visibility: hidden;
    }
    #teaching .teaching-parts .teaching-part .description .icon {
        margin-left: 16px;
    }
    #teaching .teaching-parts .teaching-part .description .text {
        margin-left: 104px;
    }
    #teaching .teaching-parts .teaching-part .title {
        float: left;
        width: 30%;
    }
    #teaching .teaching-parts .teaching-part .description {
        float: right;
        padding-top: 22px;
        /*width: 70%;*/
        width: 100%;
    }
}

/*** ! Just Mobile Devices ! ***/
@media (max-width: 480px) {
    .teaching {
        font-size: 26px;
        margin-left: 0;
        text-align: left;
        margin-top: -5px;
    }
    body.rtl .teaching {
        margin-left: 0;
        text-align: right;
    }
    #teaching .teaching-header {
        text-align: center;
        font-size: 26px;
    }
    #teaching div.underline-box{
        margin-left: auto;
        margin-right: auto;
        width: 40%;
        height: 4px;
    }
    #teaching .teaching-header-container{
        width: 100%;
        text-align: center;
    }
    #teaching .print-box-container{
        width: 100%;
        display: none;
        visibility: hidden;
    }
    #teaching a.print-box {
        display: block;
        float: none;
        margin-left: auto;
        margin-right: auto;
    }
    #teaching.container .teaching-parts .teaching-part .title > div:first-child{
        max-width: 100%;
        display: inherit;
    }
    #education .education-parts .education-part .title > div{
        display: block;
    }
    #education .education-parts .education-part .title h3,
    #teaching .teaching-parts .teaching-part .years {
        margin-left: auto;
        margin-right: auto;
        margin-top: 12px;
        position: inherit;
        text-align: center;
        font-size: 16px;
        border: none !important;
    }
    body.rtl #education .education-parts .education-part .title h3{
        margin-top: -4px;
    }
    #education .education-parts .education-part .title h3{
        padding-left: 0;
    }
    #education .education-parts .education-part .title{
        text-align: center;
        padding: 0;
    }
    #education .education-parts .education-part .title .years,
    #teaching .teaching-parts .teaching-part h3 {
        color: #62D703;
        text-align: center;
        border: none !important;
        padding-right: 0;
        display: block;
        max-width: 100%;
    }

    body.rtl #teaching .teaching-parts .teaching-part .years,
    body.rtl #teaching .teaching-parts .teaching-part h3{
        padding-right: 10px !important;
        padding-left: 10px !important;
        max-width: 70%;
        margin-right: auto;
        margin-left: auto;
    }
    body.rtl #teaching .teaching-parts .teaching-part h3{
        max-width: 100%;
    }
    #teaching .teaching-parts .teaching-part .underline-box {
        float: none;
        margin-top: 30px;
        width: 50%;
        display: none;
    }

    #teaching .teaching-parts .teaching-part .description .icon {
        display: none;
        visibility: hidden;
    }

    #teaching .teaching-parts .teaching-part .description .text {
        /*margin: 20px 0 0;*/
        margin: 0px;
        text-align: center;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}