
html, body {
    min-width: 1500px;
    height: 100%;
}

body {	
	margin: 0px;
	padding: 0px;
	background-color: #fff;
    font-size: 12px;
}

body, h1, h2, h3, h4, h5, h6, span, div, input {
    font-family: Helvetica, Arial, sans-serif;
}

/*********************************** nav ********************************************/
#nav-container {
    display: block;
    position: relative;   
    background-color: #fff; 
    width: 100%;
    height: 70px;
    padding: 0;
    margin: 0;
    top:0;
    z-index: 909;
    box-shadow: 0px 1px 2px 0px #808080;
    -webkit-box-shadow: 0px 1px 2px 0px #808080;
    -moz-box-shadow: 0px 1px 2px 0px #808080;
}

#nav-bar {
    display: block;
    position: relative;
    background-color: #fff;
    margin: 0 auto;
    width: 800px;
    height: 70px;
}

#logo {
    background: url(../images/dict-logo-n.png) no-repeat;
    background-size: 60px;
    width: 60px;
    height: 60px;
    float: left;
    margin-left: 30px;
    margin-top: 5px;
}

#sulogo {
    background: url(../images/su-logo.png) no-repeat;
    background-size: 50px;
    width: 60px;
    height: 60px;
    float: left;
    margin-top: 5px;
}

#nav {
    display: block;
    float: right;
    height: 70px;
    list-style: none;
    margin: 0;
    padding: 0;
}

#nav li {
    display:block;
	float:left;  
    height: 50px;   
    margin-top: 10px;
    margin-left: 4px;
    margin-right: 4px;
}

#nav li.br {   
    border-right: 1px solid #d4d4d4;
}

#nav li a {
    display:table-cell;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    /*font-family: 'Segoe Script';*/
    color: #50021A;
    width: 144px;
    height: 50px;    
    vertical-align: middle;
    text-align: center;
}

#nav li a:hover {
    background-color: #FEE097;
    border-radius: 10px;
}

#abbs-toggle {
    display: block;
    position: absolute;
    top: 18px;
    right: -200px;
}

/*********************************** search panel ********************************************/

#search-panel {
    display: block;
    position: relative;
    min-width: 1000px;
    width: 100%;
    min-width: 100%;
    background-color: #FEE097;
    height: 110px;
    box-shadow: inset 0px -1px 2px 0px #808080;
    -webkit-box-shadow: inset 0px -1px 2px 0px #808080;
    -moz-box-shadow: inset 0px -1px 2px 0px #808080;
}

#search-panel #title {
    width: 1000px; 
    height: 60px; 
    margin: 0 auto;
}

#search-panel #title img {
    width: 1000px; 
    height: 60px; 
    border: 0;
}

#search-panel #search-container {
    width: 500px;
    margin: 0 auto;
    height: 40px;
}

#search-container .search-box {
    float: left;
    display: inline-block;
    cursor: pointer;
    border: 1px solid;
    border-color: #50021A;
    position: relative;
    text-align: left;
    overflow: hidden;
    line-height: 20px;
    color: #333;
    font-size: 18px;
    font-weight: bold;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;  
    width: 500px;
    padding: 6px 40px 6px 40px;
    background-image: url(../images/search.png);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 30px;
}

#search-container .search-box:focus {
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(80, 2, 26, 0.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(80, 2, 26, 0.6);
}

#search-container #search-loader {
    position: absolute;
    margin-top: 8px;
    margin-left: 465px;
    width: 24px;
    height: 24px;
    background-image: url(../images/search-loader.gif);
    background-repeat: no-repeat;
    background-position: center center;
}


#search-container #search-result {
    display: block;
    position: absolute;
    margin-top: 38px;
    width: 500px;
    min-height: 40px;
    border: 1px solid grey;
    background-color: #fff;
    z-index: 999;
    border-radius: 5px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(80, 2, 26, 0.6);
    cursor: pointer;
}

#search-result .word-container {
    display: block;
    position: relative;
    width: 100%;
    min-height: 40px;
    border-bottom: 1px solid #d4d4d4;
}

#search-result .word-container:hover {
    background-color: #FFECBE;
}

#search-result .word-container div {
    position: relative;
    width: 495px;
    padding: 5px 0 0 5px;    
} 

#search-result .word-container div:last-child {
    position: relative;
    width: 495px;
    padding: 5px 0 10px 5px;
} 


#search-result .word-container .word {
    font-size: 14px;
    color: #333;
    font-weight: bold;
} 

#search-result .word-container .attr {
    font-size: 14px;
    color: #333;    
} 

#search-result .word-container .meaning {
    font-size: 14px;
    color: #333;
} 

/*********************************** letter panel ********************************************/

#letter-panel {
    display: block;
    position: relative;
    margin: 0 auto;
    width: 800px;
    height: auto;
    padding-top: 35px;
    text-align: center;
    /*box-shadow: 0 3px 3px -2px #808080;*/
}

#letter-index {    
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 10px;
    font-weight: bold;
    text-align:left;
    background-color: #50021A;
    color: #fff;
    width: 125px;  
    height: 15px;
    padding-left: 7px;
    padding-top: 5px;
    cursor: pointer;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    -moz-border-radius-bottomleft: 7px;
    -moz-border-radius-bottomright: 7px;
    -webkit-border-bottom-left-radius: 7px;
    -webkit-border-bottom-right-radius: 7px;
}

#letter-panel .up {
    background-image: url(../images/up-white.png);
    background-position: 110px center;    
    background-repeat: no-repeat;
    background-size: 14px;
}

#letter-panel .down {
    background-image: url(../images/down-white.png);
    background-position: 110px center;    
    background-repeat: no-repeat;
    background-size: 14px;
}

.letter-line {
    display: inline-block;
    position: relative;
    height: 55px;
}

.letter-line .letter {
    position: relative;
    background-color: #50021A;
    color: #FFF;
    font-weight: bold;
    font-size: 31px;
    width: 32px;
    height: 32px;
    float: left;
    margin-left: 5px;
    margin-right: 5px;
    text-align: center;
    padding: 1px 3px 5px 3px;
    cursor: pointer;
    border-radius: 7px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
}

/*********************************** content ********************************************/

#main-container {
    display: block;
    position: relative;
    margin: 0 auto;
    width: 1280px;
    height: auto;
}

#main-container div {
    position: relative;
    float: left;
}

#main-container #left-side, #right-side {
    width: 230px;
    margin-left: 10px;
}

#main-container #mid {
    display: block;
    width: 800px;
    min-width: 800px;
    margin-left: 240px;
}

#mid #mid-inner {
    display: inline-block;
    width: 100%;
    min-height: 520px;
}

#main-container #loader {
    display: block;
    position: relative;
    margin: 0 auto;
    background: url(../images/loader.gif) no-repeat;
    background-position: center center;
    width: 100%;
    height: 200px;
}

#main-container #abbs {
    display: none;
    position: relative;
    background-color: #161616;
    width: 220px;
    overflow: hidden;
    opacity: 0.8;
    line-height: 16px;
    color: #fff;
    font-size: 12px;
    padding-left: 10px;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

#mid .background {
    display: block;
    position: relative;
    margin: 0;
    padding: 0; 
    width: 100%;
    height: auto;
    background-color: #F0F0F0;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

#mid h1 {
    padding-bottom: 9px;
    margin: 20px 20px;
    border-bottom: 1px solid #d4d4d4;
    color: #333;
    font-size: 32px;
}

#mid h2 {
    padding-bottom: 9px;
    margin: 20px 20px;
    border-bottom: 1px solid #d4d4d4;
    color: #333;
    font-size: 24px;
}

#mid h3 {
    padding-bottom: 6px;
    margin: 15px 15px;
    color: #333;
    font-size: 16px;
}

#mid .background p {
    font-size: 14px;
    color: #333;
    line-height: 18px;
    padding: 10px;
    text-align: justify;
    margin-left: 10px;
    margin-right: 10px;
}

#mid .text-red {
    color: #50021A;
}

#mid .right {
    float: right;
}

#mid .text-12 {
    font-size: 12px;
}

#mid .item-area {
    display: block;
    position: relative;
    width:  750px;
    padding: 5px;
    background-color: #FFF4D8;
    margin: 0 10px 20px 20px;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;    
}

#mid .item-area .left, right {
    float: left;
}

#mid .item-area .left {
    width: 460px;
}

.item-area .right {
    width: 290px;
}

#mid .item-area ul {
    display: block;
    margin: 0;
    padding: 0;
}

#mid .item-area ul li {
    font-size: 14px;
    color: #333;
    line-height: 18px;
    padding: 5px;
    text-align: justify;
    font-weight: bold;
    list-style: disc inside;
}

#mid .item-area .q {
    position: absolute;
    background: url(../images/question.png) no-repeat;    
    width: 48px;
    height: 48px;
    top: 15px;
    left: 430px;
}

#mid .word-container {
    display: block;
    position: relative;
    margin: 0;
    padding: 5px; 
    width: 790px;
    margin-bottom: 30px;
}

#mid .word-container:hover {
    cursor: pointer;   
    background: -webkit-linear-gradient(top, #FFF4D8, #fefbf3);
    background: -o-linear-gradient(top, #FFF4D8, #fefbf3);
    background: -moz-linear-gradient(top, #FFF4D8, #fefbf3);
    background: linear-gradient(top, #FFF4D8, #fefbf3);        
    background-color: #fff8e7; /*for IE - it doesn`t support gradients*/
    border-radius: 7px;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    box-shadow: 0px 0px 1px 1px #808080;
    -webkit-box-shadow: 0px 0px 1px 1px #808080;
    -moz-box-shadow: 0px 0px 1px 1px #808080;
}

#mid .word-container:first-child {
    /*margin-top: 40px;*/
}

#mid .word-container div {
    position: relative;
    display: block;
    width: 790px;
    margin-top: 4px;
    margin-bottom: 4px;
    text-align: justify;
}

#mid .word-container .word {
    font-size: 14px;
    color: #333;
    font-weight: bold;
}

#mid .word-container .incorrect {
    font-size: 14px;
    color: #AA2D2D;
}

#mid .word-container .incorrect .word {
    font-size: 14px;
    color: #333;
    font-weight: bold;
}

#mid .word-container .prop {
    font-size: 14px;
    color: #333;
}

#mid .word-container .mean {
    width: 770px;
    margin-left: 4px;
    float: left;
    font-size: 14px;
    color: #466999;
    line-height: 16px;
}

#mid .word-container .desc {
    width: 770px;
    margin-left: 4px;
    float: left;
    font-family: Helvetica, Arial, sans-serif !important;
    font-size: 14px !important;
    color: #333 !important;
    line-height: 18px !important;
}

#mid .word-container .desc p {
    margin: 0;
    padding: 0;
    font-family: Helvetica, Arial, sans-serif !important;
    font-size: 14px !important;
    color: #333 !important;
    line-height: 18px !important;
}

.word-container .icon {
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}

.word-container .icon.vs {
    background-color: #0B9754;
    padding: 1px 3px;
}

.word-container .icon.w {
    background-color: #AA2D2D;
    padding: 1px 6px;
}

.word-container .icon.m {
    background-color: #78808b;
    padding: 1px 4px;
    float: left;
}

.word-container .icon.d {
    background-color: #347ADA;
    padding: 1px 6px;
    float: left;
}

.word-container .icon.r {
    background-color: #D16EA1;
    padding: 1px 2px;
}

/*********************************** contact-form ********************************************/

.contact-panel {
    display: block;
    float:left;
    margin: 0;
    padding: 0;
    width: 400px;
}
.contact-panel .person {
    display: inline;
    padding: 10px 5px 10px 20px;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box; 
    -webkit-box-sizing: border-box;     
}

.person .photo {
    float: left;
    width: 85px;
}

.person .photo img {
    float: left;
    width: 70px;
    height: 70px;
    background: #fff;
    padding: 3px;
    border: 1px solid #dddddd;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}

.person .info {
    float: left;
    width: 290px;
}

.person .name {
    color: #333;
    font-size: 14px;    
    font-weight: bold;
    width: 100%;
}
.person .c {
    color: #333;
    font-size: 12px;
    width: 100%;
}

.contact-info {
    color: #333;
    font-size: 14px;
    font-weight: bold;
    width: 700px;
    padding: 25px;
}

#contact-form {
    display: inline-block;
    position: relative;        
    margin-left: 20px;
    margin-bottom: 5px;
}

#send-feedback {
    float: left;
    font-size: 14px;
    margin-left: 25px;
    margin-bottom: 5px;
}

#send-feedback .error {
    color: #ff4715;
}
#send-feedback .success {
    color: #008e03;
}

#contact-form div {
    display: block;
    position: relative;
    width: 100%;
    padding: 5px;
}

#contact-form input[type=text], textarea {
    display: inline-block;
    border: 1px solid;
    border-color: #6f6f6f;
    text-align: left;
    overflow: hidden;
    line-height: 18px;
    color: #333;
    font-size: 14px;    
    font-family: Helvetica, Arial, sans-serif;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;  
    width: 400px;
    padding: 5px;
}
#contact-form input[type=text]:focus, textarea:focus {
   outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(80, 2, 26, 0.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(80, 2, 26, 0.6);
}

#contact-form input[type=button] {
    cursor: pointer;
    color: #fff;
    font-size: 18px;    
    font-weight: bold;
    font-family: Helvetica, Arial, sans-serif;
    border: 0;
    padding: 10px 30px;
    background-color: #969696;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;  
}

#contact-form input[type=button]:hover {
    opacity: 0.5;
}

/*********************************** footer ********************************************/

#footer {
    position: relative;
    margin: 0 auto;
    width: 800px;
    text-align: center;
    color: #333;
    font-size: 12px;
}

#footer p {
    width: 100%;
    color: #50021A;    
}

#footer #credea {
    position: absolute;
    top: 6px;
    left: 670px;
    height: 28px;
    padding-left: 38px;
    background: url(../images/credea.png) no-repeat;
}

#footer #dictcorrect {
    position: absolute;
    top: 6px;
    left: 300px;
    background: url(../images/dict-logo-n.png) no-repeat;
    background-size: 28px;
    width: 28px;
    height: 28px;
}

#footer a {
    color: #036DAD;
    text-decoration: none;
    line-height: 28px;
}