/*@font-face
{
    font-family: TeXGyreAdventor;
    src: url('../fonts/texgyreadventor/texgyreadventor-regular.etf');
    src: url('..fonts/texgyreadventor/texgyreadventor-regular.etf?#iefix') format('embedded-opentype'),
         url('../fonts/texgyreadventor/texgyreadventor-regular.otf') format('opentype'),
         url('../fonts/texgyreadventor/texgyreadventor-regular.woff') format('woff'),
         url('../fonts/texgyreadventor/texgyreadventor-regular.ttf') format('truetype'),
         url('../fonts/texgyreadventor/texgyreadventor-regular.svg#svgFontName') format('svg');
}*/
*
{
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

body
{
    background-image: url('../images/new_bg5.png');
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    font-family: Segoe UI, Verdana, Lucida Sans Unicode, sans-serif;
    font-size: 14px;
}

#pagewrapper
{
    background-color: white;
    width: 85%;
    margin: 0px auto;
    box-shadow: 7px 0 5px -5px #dedede, -7px 0 5px -5px #dedede;
    padding: 10px 15px 10px 15px;
}

    #pagewrapper:after
    {
        content: "";
        display: block;
        clear: both;
    }

.topBorder
{
    width: 33.3%;
    height: 3px;
    border-top: 3px solid gray;
    float: left;
}

    .topBorder._1
    {
        border-top-color: #e90233;
    }

    .topBorder._2
    {
        width: 33.4%;
        border-top-color: #8eff67;
    }

    .topBorder._3
    {
        border-top-color: #0084ff;
    }

#homeInfo
{
    position: relative;
    width: 90%;
    height: 300px;
    margin: auto;
}

#name
{
    margin: 0;
    font-size: 60px;
    font-family: Georgia, Palatino Linotype, Times New Roman, serif;
    color: #555;
    text-align: center;
}

#homeLinesCnt
{
    text-align: center;
    overflow: hidden;
}

    #homeLinesCnt:after
    {
        content: "";
        display: table;
        clear: both;
    }

.homeLines
{
    width: 1200%;
    margin-top: 25px;
    border-top: 1px solid #eee;
    float: left;
}

#homeLogo
{
    margin-top: 14px;
    width: 32px;
    height: 24px;
    display: inline-block;
    background-image: url('../images/logo-home.png');
    background-repeat: no-repeat;
    background-position: center;
    padding-left: 4px;
    position: relative;
}

    #homeLogo:before, #homeLogo:after
    {
        content: "";
        width: 1700%;
        margin-top: 11px;
        border-top: 1px solid #eee;
        position: absolute;
    }

    #homeLogo:before
    {
        right: 100%;
        margin-right: 10px;
    }

    #homeLogo:after
    {
        left: 100%;
        margin-left: 10px;
    }

#info
{
    margin: auto;
    margin-top: 65px;
    width: 90%;
    font-size: 20px;
    font-family: Georgia, Palatino Linotype, Times New Roman, serif;
    color: #666;
    text-align: center;
}

.homeMenu
{
    text-align: center;
    margin-top: 20px;
    font-family: Century Gothic, Tw Cen MT, Gill Sans MT, sans-serif;
    font-size: 23px;
}

    .homeMenu:after
    {
        content: "";
        display: table;
        clear: both;
    }

    .homeMenu.bannerMenu
    {
        width: 45%;
        height: 50px;
        float: right;
    }

#banner
{
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
    height: 75px;
    margin-bottom: 10px;
}

    #banner:after
    {
        content: "";
        display: block;
        clear: both;
    }

#logo_name
{
    cursor: pointer;
}

#bannerName
{
    margin: 0;
    float: left;
    font-size: 60px;
    font-family: Georgia, Palatino Linotype, Times New Roman, serif;
    color: #555;
}

#logo
{
    margin-top: 7px;
    padding-right: 7px;
    padding-left: 10px;
    float: left;
}

#content
{
    width: 100%;
}

.mainTitle
{
    font-size: 26px;
    padding-bottom: 5px;
    display: block;
}

.subMenu a
{
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    color: #0061bc;
    padding: 3px;
    margin-bottom: 10px;
}

.mcast
{
    text-decoration: none;
    color: #0061bc;
}

    .mcast:hover
    {
        text-decoration: underline;
    }

.container
{
    position: relative;
    width: 100%;
    margin-top: 10px;
    float: left;
}

    .container .item
    {
        float: left;
        margin: 0 0 15px 0;
        padding-bottom: 15px;
        border-bottom: 1px dotted #ababab;
        width: 100%;
    }

    .container .title
    {
        font-size: 18px;
        display: block;
        color: #5a5a5a;
        margin-bottom: 10px;
    }

    .container .desc
    {
        width: 49%;
        margin: 0;
        padding: 0;
        float: left;
        text-align: justify;
        min-height: 100px;
    }

    .container .tech
    {
        font-size: 13px;
    }

    .container .image
    {
        float: right;
        width: 49%;
        text-align: center;
    }

        .container .image img
        {
            padding: 2px;
            border: 1px solid #fff;
            max-width: 85%;
            height: auto;
        }

            .container .image img:hover
            {
                cursor: pointer;
                border: 1px solid #ababab;
            }

    .container a
    {
        color: #0061bc;
        text-decoration: none;
    }

        .container a:hover
        {
            text-decoration: underline;
        }

    .container#work
    {
        padding: 5px;
    }

    .container#projects
    {
        padding: 5px;
        display: none;
    }

#projectsDesc
{
    padding-bottom: 10px;
}

#about p
{
    margin: 0;
    float: left;
    text-align: justify;
    width: 59%;
}

#about_info
{
    border-left: 1px solid gray;
    height: 100%;
    width: 37%;
    float: right;
    padding: 0 5px 5px 5px;
}

    #about_info th
    {
        text-align: left;
        font-weight: normal;
        font-size: 16px;
        color: #0061bc;
    }

    #about_info span
    {
        text-align: left;
        font-weight: normal;
        font-size: 16px;
        color: #0061bc;
        display: inline-block;
    }

    #about_info ul
    {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    #about_info ul li
    {
        color: #222;
        float: left;
        width: 127px;
    }

        /*#about_info ul li:nth-child(4n)
        {
            width: auto;
        }*/

    #about_info td
    {
        width: 30%;
        color: #222;
    }

#contact td
{
    width: 75px;
    font-size: 12px;
    color: #777;
}

    #contact td#msg
    {
        vertical-align: text-top;
        padding-top: 15px;
    }

    #contact td.selectedText
    {
        color: #000;
    }

#contact input[type=text], textarea
{
    outline: none;
    border: 1px solid #ddd;
    width: 420px;
    height: 40px;
    padding: 5px;
    font-size: 15px;
    font-family: Segoe UI, Lucida Sans Unicode, Verdana, sans-serif;
}

#contact textarea
{
    resize: none;
    height: 160px;
    font-family: Segoe UI, Lucida Sans Unicode, Verdana, sans-serif;
    padding: 5px;
}

#contact td.bottomRow
{
    width: 493px;
}

#contact td label:hover
{
    cursor: pointer;
}

#contact input[type=text]:hover, textarea:hover
{
    border: 1px solid #aaa;
}

#contact input[type=text]:focus, textarea:focus
{
    border: 1px solid #0061bc;
}

#contact #errMsg
{
    float: left;
    color: #0061bc;
    padding-top: 7px;
}

#contact input[type=submit].button
{
    float: right;
    border: none;
    cursor: pointer;
    background-color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    color: #0061bc;
    padding: 5px;
    width: 50px;
}

#contact input[type=submit].disabledButton
{
    float: right;
    border: none;
    cursor: default;
    background-color: #dedede;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    color: #ababab;
    padding: 5px;
    width: 50px;
}

#clear
{
    clear: both;
}

#footer
{
    font-family: Georgia, Palatino Linotype, Times New Roman, serif;
    font-size: 13px;
    width: 950px;
    text-align: right;
    padding: 5px 10px 5px 0;
    color: #888;
}

@media all and (max-width: 1023px)
{
    #banner
    {
        height: auto;
    }

    #logo_name
    {
        width: 420px;
        margin: 0 auto;
    }

        #logo_name:after
        {
            content: "";
            display: table;
            clear: both;
        }

    .homeMenu.bannerMenu
    {
        margin: 0 auto;
        float: none;
        width: 400px;
    }

    #about p
    {
        width: 100%;
        float: none;
    }

    #about_info
    {
        border: none;
        padding: 0;
        margin-top: 25px;
        float: none;
    }
}

@media all and (max-width: 720px)
{
    #pagewrapper
    {
        width: 100%;
    }

    .container .desc
    {
        width: 100%;
    }

    .container .image
    {
        display: none;
    }
}

@media all and (max-width: 547px)
{
    #info
    {
        display: none;
    }

    #logo_name
    {
        width: 100%;
    }

    #logo
    {
        margin: 0 auto;
        display: block;
        float: none;
    }

    #bannerName
    {
        display: none;
    }

    .homeMenu.bannerMenu
    {
        width: 100%;
        height: auto;
    }

    #contact td
    {
        width: auto;
    }

    #contact input[type=text], textarea
    {
        width: 100%;
    }

    #contact textarea
    {
        resize: none;
        height: 160px;
        font-family: Segoe UI, Lucida Sans Unicode, Verdana, sans-serif;
        padding: 5px;
    }
}