Change height of unordered list item in CSS - html

I have a unordered list in my HTML:
HTML:
<ul class="resp-tabs-list templatemo_testitab">
<li>Testimonials</li>
<li>Special Awards</li>
<li>Recognitions</li>
<li>New item</li>
</ul>
CSS:
html, body {
font-family: Tahoma, Arial;
padding: 0px;
margin: 0px;
color: #333333;
background: #333333;
font-size: 16px;
}
img { width: 100%; }
a {
color: #ffffff; outline: 0;
}
a:hover, a:focus {
text-decoration: none;
color: #cccccc;
}
a:active, a:focus {
color: #ffffff;
border: none;
}
p {
color: #333333;
}
h1, h2, h3, h4, h5, h6 {
font-family: Tahoma, Arial;
font-weight: 400;
}
h1 { font-size: 3em;
color: #cccccc;
background: #343537;
padding: 0px 0px;
float: left;
text-shadow: 4px 2px 2px rgba(33, 33, 33, 1);
margin: 5% 0% 0% 2%;;
}
h2 {
font-size: 24px;
color: #333333;
margin-top: 0px;
}
h3 {
text-align: center;
font-size: 2em;
}
.clear { clear: both; }
.content { display: none; height: auto; }
.homepage{ display: block; }
.portfolioshow { display: block; }
/* .container { position: absolute; } */
.templatemo_link ,.templatemo_linkservice,.templatemo_linkcontact {
font-size: 2em; color: #ffffff;
width: 95%;
}
.templatemo_link1 {
font-size: 2em; color: #ffffff;
padding-top:20%;
position: absolute;
width: 100%;
}
.templatemo_smalltitle {
float: left;
padding: 0px 0px 0px 0px;
font-size: 1em;
color: #b5b5b5;
margin: 10px 0px 30px 25px;
}
.templatemo_footer {
float: right;
padding: 0px 0px 0px 0px;
font-size: 14px;
color: #b5b5b5;
margin: 30px 40px 20px 0px;
}
.templatemo_mainservice {
background: #999933;
text-align: center;
width: 100%;
float: left;
}
.templatemo_mainportfolio {
background: #993333;
text-align: center;
width: 100%;
}
.templatemo_maintesti {
background: #339966;
text-align: center;
width: 100%;
}
.templatemo_mainabout {
background: #cc9933;
text-align: center;
width: 100%;
}
.templatemo_maincontact {
background: #006699;
text-align: center;
width: 100%;
}
.templatemo_insideportfolio h2 { color: #ffffff; }
.templatemo_insideportfolio {
background: #993333;
width: 100%;
padding: 0px;
color: #ffffff;
}
.templatemo_portfoliotext {
color: #ffffff;
/*position: absolute; */
width: 95%;
padding: 30px;
}
.templatemo_portfolioback {
background: #666666;
text-align: center;
width: 100%;
}
.templatemo_aboutback {
background: #666666;
text-align: center;
}
.templatemo_graybg {
float: left;
background: #cccccc;
overflow: hidden;
width: 100%;
}
.templatemo_paddinggap { padding: 30px; }
.templatemo_form { padding: 10px 0px; }
.templatemo_form input, .templatemo_form textarea {
border-radius: 0px;
border: 1px solid #999999;
}
.templatemo_form textarea {
height: 150px;
}
.templatemo_form button {
float: right;
background: #666666;
color: #ffffff;
border-radius: 0px;
border: none;
font-size: 16px;
}
#templatemo_map {
width: 100%;
height: 280px;
}
.templatemo_address { color: #757575; padding-top: 10px; }
/*------------------------------------------------------
Gallery Styles
--------------------------------------------------------*/
.gallery-item {
-webkit-box-shadow: inset 0 0 1px #666;
-moz-box-shadow: inset 0 0 1px #666;
box-shadow: inset 0 0 1px #666;
margin-bottom: 0px;
position: relative;
overflow: hidden;
}
.gallery-item .content-gallery {
text-align: center;
}
.gallery-item .content-gallery h3 {
color: #b10021;
font-size: 16px;
font-weight: 300;
margin-top: 5px;
padding-bottom: 5px;
display: inline-block;
}
.gallery-item img {
width: 100%;
}
.gallery-item .overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
min-width: 100%;
min-height: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.4);
display: block;
-webkit-transition: all 50ms ease-in-out;
-moz-transition: all 50ms ease-in-out;
-ms-transition: all 50ms ease-in-out;
-o-transition: all 50ms ease-in-out;
transition: all 50ms ease-in-out;
}
.gallery-item .overlay a {
color: #ffffff;
text-align: center;
line-height: 32px;
position: absolute;
top: 50%;
left: 50%;
margin-top: -16px;
margin-left: -16px;
font-size: 24px;
}
.templatemo_frame {
float: left; overflow-x:hidden; margin-top: 30px;
}
::-webkit-scrollbar
{
width: 12px;
background-color: #cccccc;
}
.templatemo_frame a {
color: #06C;
}
.templatemo_frame a:hover {
color: #C30;
}
::-webkit-scrollbar-thumb
{
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
background-color: #b1b1b1;
}
.resp-vtabs ul.templatemo_tab { float: left; width: 100%; }
.resp-vtabs ul.templatemo_tab li { padding: 0px; background: url(../images/templatemo_arrow_gap.png) no-repeat center right #cc9933; font-size: 24px; text-align: center; font-weight: normal; }
.resp-vtabs ul.templatemo_tab li.resp-tab-active{ background: url(../images/templatemo_arrow.png) no-repeat center right #cc9933; border: 0px; padding: 0px; color: #ffffff; }
.resp-vtabs ul.templatemo_testitab { float: left; width: 100%; }
.resp-vtabs ul.templatemo_testitab li { padding: 0px; background: url(../images/templatemo_arrow_gap.png) no-repeat center right #339966; font-size: 24px; text-align: center; font-weight: normal; }
.resp-vtabs ul.templatemo_testitab li.resp-tab-active { background: url(../images/templatemo_testi_arrow.png) no-repeat center right #339966; border: 0px; padding: 0px; color: #ffffff; }
.resp-vtabs .templatemo_aboutcontainer, .resp-vtabs .templatemo_testicontainer { background: none; border-radius: 0px; border: 0px; }
h2.resp-accordion { color: #ffffff; }
.resp-tabs-list li { color: #ffffff; }
.templatemo_testicontainer h2.resp-accordion {
background: #339966 !important; }
.templatemo_aboutcontainer h2.resp-accordion {
background: #cc9933 !important; }
/*----- Page Load ------*/
#media(min-width:320px) {
.templatemo_leftgap { padding: 0px 10px; }
.templatemo_rightgap_about { padding: 0px 10px; }
.templatemo_botgap { margin: 0px 0px 20px 0px; }
.templatemo_topgap, .templatemo_portfotopgap { margin-top: 20px; }
.templatemo_col37 { float: left; width: 100%; }
.resp-vtabs .templatemo_aboutcontainer, .resp-vtabs .templatemo_testicontainer { width: 100%; }
.templatemo_aboutlinkwrapper{ display: none; }
.templatemo_aboutlinkwrapper1{ display: block; }
.templatemo_frame { padding: 0px 30px 30px 30px; }
.templatemo_link { padding-top: 20%; }
.logocontainer { padding: 0px 15px; margin: 0 auto; }
.templatemo_insideportfolio { padding-bottom: 30px; }
.templatemo_link, .templatemo_linkservice, .templatemo_linkcontact { padding: 50px 0px; }
}
#media(min-width:320px) and (max-width: 767px) {
/*.container { left: 15px; right: 15px; padding: 0px; }*/
}
#media(min-width:768px) {
.templatemo_leftgap { padding: 0px 10px; }
.templatemo_botgap { margin: 0px 0px 20px 0px; }
.templatemo_topgap { margin-top: 20px; }
.templatemo_portfotopgap { margin-top: 0px; }
.templatemo_link { padding-top: 20%; }
/*.container { left: 50%; margin-left: -375px; right: 0px; }*/
.logocontainer { width: 750px; padding: 0px 15px; margin: 0 auto; }
.templatemo_insideportfolio { height: 398px; }
.templatemo_link, .templatemo_linkservice, .templatemo_linkcontact { height: 189px; line-height: 189px; padding: 0px; }
}
#media(min-width:992px) {
.templatemo_leftgap { padding: 0px 6px; }
.templatemo_rightgap_about { padding: 0px 6px 0px 2px; }
.templatemo_botgap { margin: 0px 0px 12px 0px; }
.templatemo_topgap { margin-top: 0px; }
.templatemo_portfotopgap { margin-top: 0px; }
.templatemo_bordergapborder { padding: 0px; margin: 0px; }
.templatemo_graybg {height: 397px; }
.templatemo_col37 { float: left; width: 37.5%; }
.templatemo_col50 { float: left; width: 50%; position: relative; }
.templatemo_form { padding: 5px 0px; }
.templatemo_form textarea { height: 120px; }
.templatemo_address { font-size: 12px; }
.templatemo_portfoliotext { width: 95%; padding: 15px ; font-size: 14px; }
.resp-vtabs .templatemo_aboutcontainer, .resp-vtabs .templatemo_testicontainer { width: 75%; }
.templatemo_leftgap_about { padding: 0px 0px 0px 6px; }
.templatemo_aboutlinkwrapper { width: 95.8%; float: left; background: #666666; text-align: center; display: block; }
.templatemo_aboutlinkwrapper1 { display: none; }
.resp-vtabs .templatemo_tab li,
.resp-vtabs .templatemo_testitab li{ padding: 0px; margin-bottom: 12px; }
.resp-vtabs ul.templatemo_tab li,
.resp-vtabs ul.templatemo_tab li.resp-tab-active,
.resp-vtabs ul.templatemo_testitab li,
.resp-vtabs ul.templatemo_testitab li.resp-tab-active { line-height: 79px; height: 79px; }
.templatemo_frame { height: 337px; margin-right: 1px; padding: 0px 30px; }
.templatemo_link { padding-top: 15%; }
/*.container { left: 50%; margin-left: -485px; }*/
.templatemo_link, .templatemo_linkservice, .templatemo_linkcontact { height: 124px; line-height: 124px; padding: 0px; }
.logocontainer { width: 970px; padding: 0px 15px; margin: 0 auto; }
.templatemo_insideportfolio { height: 260px; }
}
#media(min-width:1200px) {
.templatemo_leftgap { padding: 0px 8px; }
.templatemo_rightgap_about { padding: 0px 8px; }
.templatemo_botgap { margin: 0px 0px 16px 0px; }
.templatemo_topgap { margin-top: 0px; }
.templatemo_portfotopgap { margin-top: 0px; }
.templatemo_bordergapborder { padding: 0px 16px; }
.templatemo_graybg { height: 466px; }
.templatemo_col37 { float: left; width: 37.5%; position: relative; }
.templatemo_col50 { float: left; width: 50%; position: relative; }
.templatemo_form { padding: 10px 0px; }
.templatemo_form textarea { height: 150px; }
.templatemo_address { font-size: 14px; }
.templatemo_portfoliotext { width: 95%; padding: 30px; font-size: 16px; }
.resp-vtabs .templatemo_aboutcontainer, .resp-vtabs .templatemo_testicontainer { width: 75%; }
.templatemo_leftgap_about { padding: 0px 0px 0px 10px; }
.resp-vtabs ul.templatemo_tab li,
.resp-vtabs ul.templatemo_tab li.resp-tab-active,
.resp-vtabs ul.templatemo_testitab li,
.resp-vtabs ul.templatemo_testitab li.resp-tab-active { line-height: 93px; height: 93px; }
.resp-vtabs .templatemo_tab li,
.resp-vtabs .templatemo_testitab li { padding: 0px; margin-bottom: 15px; }
.templatemo_frame { height: 806px; padding: 0px 30px; }
.templatemo_link { height: 150px; line-height: 150px; padding: 0px; }
/*.container { left: 50%; margin-left: -585px; }*/
.logocontainer { width: 1140px; padding: 0px 30px; margin: 0 auto; }
.templatemo_insideportfolio { height: 316px; }
.templatemo_leftgap_about .templatemo_link { height: 142px; line-height: 142px; padding: 0px; }
.templatemo_linkservice, .templatemo_linkcontact { height: 145px; line-height: 145px; padding: 0px; }
}
These list items are shown in boxes in my file, and i want to change the height of these boxes, so where should i change my CSS code.
JSFiddle [here]

Change height in this class .resp-tabs-list li like this
.resp-tabs-list li {
color: #ffffff;
height: 40px;
}
This will change the height of list items.
Working JSFiddle http://jsfiddle.net/a843botj/1/

Related

html page missing the alignment in every iteration in Django Template

I have an HTML for cricket fixtures where I need to iterate it through the data in models. If I add a different div tag of the same content in the next line it gets aligned properly but when I'm generating the models data I see the alignment is changed to every iteration. It looks like the image shown here
HTML code:
<!DOCTYPE html>
<html lang="en">
<head>
{% load staticfiles %}
<meta charset="utf-8">
<link rel="stylesheet" href="{% static 'css/fixture.css' %}">
</head>
<body>
</header>
<div class="page">
<div id="fb-root"></div>
<div id="page-wrapper" class="container" style="display:inline-block;">
<div id="shosh" class="ad-unit shosh-embed" style="height:0; width:980px; text-align:center;"></div>
<div style="margin-top:5px;"></div>
{% for fixture in fixtures %}
<div class="cb-bg-white cb-schdl cb-col cb-col-100">
<h1 class='cb-schdl-hdr cb-font-24 line-ht30'>Cricket Schedule</h1>
<div id="international-list" class="cb-bg-white">
<div class="cb-col-100 cb-col">
<div class="cb-lv-grn-strip text-bold">{{fixture.date}}</div>
<div class="cb-col-100 cb-col">
<div class="cb-col-33 cb-col cb-mtchs-dy text-bold">West Indies tour of England, 2020 (Postponed)</div>
<div class="cb-col-67 cb-col">
<div class="cb-ovr-flo cb-col-60 cb-col cb-mtchs-dy-vnu cb-adjst-lst"> England vs West Indies, 1st Test, Day 1
<div class="cb-font-12 text-gray cb-ovr-flo">Kennington Oval, London</div>
</div>
<div class="cb-col-40 cb-col cb-mtchs-dy-tm cb-adjst-lst"> <span class="schedule-date" timestamp="1591264800000" venue="+01:00" format="h:mm a"></span>
<div class="cb-font-12 text-gray"> <span>10:00 AM</span> GMT /<span> 11:00 AM</span> LOCAL </div>
</div>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
</div>
</body>
</html>
CSS
body {
background: #E3E6E3;
font-family: helvetica, "Segoe UI", Arial, sans-serif;
color: #222;
font-size: 14px;
line-height: 1.5;
margin: 0;
}
body,
.cb-comm-pg,
.cb-hm-mid {
min-height: 1000px
}
.container {
width: 980px;
margin: 0 auto;
}
.page {
max-width: 980px;
margin: 0 auto;
position: relative;
}
.cb-col-8 {
width: 8%;
}
.cb-col-10 {
width: 10%;
}
.cb-col-14 {
width: 14%;
}
.cb-col-16 {
width: 16%;
}
.cb-col-20 {
width: 20%;
}
.cb-col-25 {
width: 25%;
}
.cb-col-27 {
width: 27%;
}
.cb-col-33 {
width: 33%;
}
.cb-col-40 {
width: 40%;
}
.cb-col-46 {
width: 46%;
}
.cb-col-47 {
width: 47%;
}
.cb-col-50 {
width: 50%;
}
.cb-col-60 {
width: 60%;
}
.cb-col-66 {
width: 66%;
}
.cb-col-67 {
width: 67%;
}
.cb-col-73 {
width: 73%;
}
.cb-col-75 {
width: 75%;
}
.cb-col-84 {
width: 84%;
}
.cb-col-80 {
width: 80%;
}
.cb-col-90 {
width: 90%;
}
.cb-col-100 {
width: 100%;
}
.cb-col {
display: inline-block;
box-sizing: border-box;
float: left;
min-height: 1px;
}
h1 {
font-size: 36px;
line-height: 42px;
margin: 0;
}
h2 {
font-size: 24px;
margin: 0;
line-height: 30px;
}
h3 {
font-size: 18px;
line-height: 24px;
margin: 0;
}
h4 {
font-size: 16px;
margin: 0;
}
h5 {
font-size: 14px;
margin: 0;
}
.cb-font-18 {
font-size: 18px;
}
img {
border-radius: 4px;
}
a {
text-decoration: none;
color: #222;
}
a,
a:hover,
a:active,
a:focus {
outline: medium none;
}
.text-center {
text-align: center;
}
.cb-nws-lft-col {
padding: 15px 20px;
}
.cb-nws-dtl-lft-col {
padding: 10px 30px 0 30px;
border-right: 1px solid #ecebeb;
}
.cb-nws-lst-rt {
padding-left: 10px;
}
.cb-srs-lst-itm {
padding: 10px 0;
}
.cb-lst-itm-sm {
padding: 10px 0 5px;
}
.cb-scrd-lft-col {
padding: 15px 10px;
}
.cb-col-rt {
padding: 10px;
}
.text-white {
color: #fff;
}
.cb-scrd-hdr-rw,
.cb-nav-pill-1.active {
background: #028062;
color: #fff;
}
.cb-nav {
position: relative;
height: 48px;
background: #009270;
}
.cb-hm-mnu-itm {
padding: 16px 6px 11px;
color: #fff;
display: inline-block;
}
.cb-hm-text {
padding: 10px 18px 10px 20px;
}
.cb-hm-rght {
padding: 15px;
}
.cb-subnav .cb-sub-navigation {
display: none;
position: absolute;
}
.cb-mat-mnu {
background: #4a4a4a;
width: 980px;
font-size: 0;
}
.cb-mat-mnu-itm {
font-size: 12px;
color: #fff;
padding: 10px;
cursor: pointer;
display: inline-block;
max-width: 140px;
}
.cb-mat-mnu-ttl {
background: #333;
padding: 10px 20px;
}
.cb-mat-mnu-wrp {
margin-bottom: 10px;
}
.cb-ovr-flo {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.cb-mat-mnu-all {
text-align: center;
float: right;
width: 60px;
}
.cb-nav-main {
border-bottom: 1px solid #e3e6e3;
padding: 0 0 5px 20px;
}
.cb-nav-bar {
padding-top: 10px;
clear: both;
}
.cb-lst-itm,
.cb-bg-white {
background: #fff;
}
.cb-nav-tab.active,
.cb-nav-tab-hm.active {
font-weight: bold;
color: #028062;
}
.cb-nav-tab.active {
border-bottom: 3px solid #028062;
line-height: 24px;
}
.cb-nav-tab-hm.active {
border-bottom: 2px solid #028062;
line-height: 22px;
}
.cb-nav-tab {
margin-right: 20px;
padding-bottom: 6px;
}
.cb-nav-tab-hm {
margin-right: 15px;
padding-bottom: 6px;
}
.cb-nav-hdr {
padding-top: 15px
}
.cb-nav-subhdr {
padding: 5px 0 10px 0;
}
.cb-lv-scr-mtch-hdr {
line-height: 21px;
font-size: 16px;
}
.disp-none {
display: none;
}
.disp-blck {
display: block;
}
.cb-font-24 {
font-size: 24px;
}
.line-ht30 {
line-height: 30px;
}
.line-ht24 {
line-height: 24px;
}
.cb-hm-scg-blk {
background: #fff;
margin-bottom: 5px;
height: 90px;
}
.mrgn-btm-5 {
margin-bottom: 5px;
}
#scagTabContent .show {
display: block;
visibility: visible;
}
#scagTabContent .hide {
display: none;
visibility: hidden;
}
[ng\:cloak],
[ng-cloak],
[data-ng-cloak],
[x-ng-cloak],
.ng-cloak,
.x-ng-cloak {
display: none !important;
}
.cb-hm-lft {
margin-bottom: 5px;
padding: 0 15px;
}
.cb-hm-lft-hdr {
margin: 0;
padding: 15px 15px 0;
color: #009270;
}
.cb-hm-mid {
border-left: 5px solid #e3e6e3;
border-right: 5px solid #e3e6e3;
padding: 0 15px;
}
.cb-mtch-blk {
border-right: 1px solid #ecebeb;
line-height: 1.4;
margin: 15px 0;
padding: 0 20px;
}
.crd-cntxt {
font-size: 12px;
color: #666;
padding-bottom: 10px;
}
.big-crd-main {
border-top: 1px solid #ecebeb;
padding: 15px 0 5px;
margin-bottom: 1px;
clear: both;
}
.big-crd-reltd-itm {
margin: 0 0 10px;
width: 100%;
display: inline-block;
}
.cb-nws-time {
font-size: 12px;
padding-bottom: 5px;
}
.cb-nws-hdln-ancr {
padding-bottom: 5px;
}
.cb-hmscg-bwl-txt,
.cb-hmscg-bat-txt {
font-weight: bold;
padding-bottom: 4px;
height: 18px;
}
.cb-hmscg-bwl-txt {
color: #666;
}
.sml-crd-main {
padding: 15px 0 5px;
width: 100%;
}
.big-crd-hdln {
margin: 10px 0;
}
.big-crd-rltd-txt {
font-weight: bold;
margin: 10px 0;
color: #1866DB;
}
.cb-nws-intr {
color: #666;
padding-bottom: 5px;
}
.cb-lv-scrs-well {
background: #f5f5f5;
display: inline-block;
margin: 10px 0;
padding: 10px 5px;
}
.cb-hm-mtch-crd-width {
min-width: 300px;
}
.cb-mr-30 {
margin-right: 30px;
}
.cb-pretag {
color: #B34A57;
}
.cb-schdl-hdr {
margin: 0;
padding: 15px 0 10px 10px;
}
.cb-lst-itm-lg {
padding: 20px 0;
}
.cb-left-pad {
padding: 20px 10px 0;
}
.cb-nav-pill-1 {
background: #CFE0DB;
border-radius: 20px;
color: #222;
cursor: pointer;
margin-right: 15px;
padding: 5px 20px;
}
.cb-mtch-lst {
padding: 15px 0;
}
.cb-nws-min-cntr {
padding: 10px;
background: #f5f5f5;
color: #333;
margin: 10px 0 15px;
}
.sml-crd-subtxt {
margin: 0 10px 10px;
}
/*-------------------------Live Pages -----------------------*/
.cb-scrcrd-status {
padding: 0 0 10px 10px;
}
.cb-scrd-hdr-rw {
padding: 8px 10px;
}
.cb-bg-gray {
background: #ecebeb;
}
.cb-lv-grn-strip {
background: #ecebeb;
}
.cb-min-hdr-rw,
.cb-scrd-sub-hdr {
padding: 4px 10px;
font-size: 12px;
color: #666;
}
.cb-scrd-itms {
padding: 4px 10px;
font-size: 13px;
}
.cb-text-link {
color: #1866DB;
}
.text-bold {
font-weight: bold;
}
.text-normal {
font-weight: normal;
}
.cb-mat-fct-itm {
padding: 5px 0;
}
.cb-min-bat-rw {
padding-bottom: 5px;
}
.cb-nws-sub-txt,
.cb-nws-sub-txt,
.cb-font-12 {
font-size: 12px;
}
.cb-font-16 {
font-size: 16px;
}
.cb-font-20 {
font-size: 20px;
}
.cb-min-inf {
padding-top: 10px;
margin-left: -10px;
display: inline-block;
}
.cb-min-itm-rw {
padding: 5px 10px 0;
}
.text-right {
text-align: right;
}
.cb-key-st-lst {
padding: 10px 0 0 5px;
}
.cb-min-prw-time {
padding: 20px 0 0;
}
.cb-toss-sts {
padding: 10px 0 30px;
}
.cb-min-rcnt {
padding: 7px 10px;
margin: 0 -10px 0;
}
.cb-key-lst-wrp {
border: 1px solid #ecebeb;
padding-bottom: 15px;
margin-right: -10px;
}
.cb-min-tm {
font-size: 18px;
font-weight: bold;
}
.cb-min-stts {
padding: 20px 0;
}
.cb-mom-itm {
padding: 0 0 10px;
}
.cb-lv-grn-strip {
padding: 10px 10px 5px;
}
.cb-ovr-num {
padding-top: 2px;
}
.cb-min-pad {
padding-left: 5px;
}
/*Upcoming Series*/
.cb-mnth {
margin-top: 10px;
padding: 0 10px;
}
.cb-sch-lst-itm {
padding: 10px 0;
margin-left: 20px;
border-bottom: 1px solid #ecebeb;
}
/*Matches By Day*/
.cb-mtchs-dy {
padding: 20px 20px 20px 10px;
}
.cb-mtchs-dy-tm,
.cb-mtchs-dy-vnu {
padding: 20px 20px 20px 0px;
}
/*Schedule Teams*/
.cb-lv-upcom-strip {
padding: 5px 10px;
background: #ecebeb;
}
/*Archives*/
.cb-srs-cat {
padding: 10px;
color: #028062;
}
.pad-left {
padding-left: 30px;
}
.cb-arcv-yr {
font-size: 20px;
padding: 0 0 5px 10px;
font-weight: bold
}
.cb-yr-tmline {
padding: 2px 15px 15px 0;
}
.cb-sch-tms-widgt {
padding: 5px 10px;
margin: 5px 2px 2px 2px;
background: #f5f5f5;
border-radius: 0;
border: 0;
display: inline-block;
}
/*Photos*/
.cb-thmb-dark {
background: #333333;
box-shadow: none;
border-radius: 4px;
border: none;
padding: 0;
color: #CCC;
}
.cb-pht-main {
padding: 20px 15px;
margin: 0 -10px;
}
.cb-pht-block {
padding: 9px;
float: left;
height: 280px;
box-sizing: border-box;
}
.cb-gallery-pht-block {
padding: 9px 9px 9px 16px;
}
.img-responsive {
height: auto;
max-width: 100%;
}
.center-block {
margin-right: auto;
margin-left: auto;
}
.cb-schdl {
padding: 0 10px;
line-height: 1.5;
}
.cb-caret-up,
.cb-caret-down {
display: inline-block;
width: 0;
height: 0;
margin-left: 4px;
margin-bottom: 1px;
border-right: 4px solid transparent;
border-left: 4px solid transparent;
}
.cb-caret-up {
border-bottom: 4px solid;
}
.cb-caret-down {
border-top: 4px solid;
}
.cb-hm-rt-itm {
margin: 0 0 5px;
padding: 10px 10px 5px;
}
.cb-hmscg-tm-nm {
display: inline-block;
width: 60px;
}
.pull-right,
.cb-all-mtch-tab {
float: right;
}
.cb-skin-ads-close {
display: none;
}
.cb-nws-sub-txt {
padding-top: 10px;
}
.nws-dtl-hdln {
margin-top: 10px;
}
.cb-min-lv {
min-height: 270px
}
.cb-min-comp {
min-height: 150px;
}
.cb-ttl-vts {
margin-top: 20px;
}
.cb-poll-radio {
width: 5%;
margin: 4px 10px 0 0;
}
.cb-mini-tim {
padding-bottom: 20px;
}
.cb-com-ln {
margin: 0 0 10px;
line-height: 24px;
}
.cb-comm-static {
min-height: 31px;
margin: 0 -10px 10px;
}
.cb-com-ovr-sum-ad {
min-height: 31px;
}
.cb-comm-static-anchr {
margin: 5px 10px;
display: block;
}
.ad-unit-rendered {
margin-bottom: 5px;
}
.cb-mm-wrp {
max-height: 0px;
-webkit-transition: max-height 0.35s ease;
transition: max-height 0.35s ease;
overflow: hidden;
}
.cb-mm-wrp.down {
max-height: 1000px;
transition: max-height 0.75s ease;
-webkit-transition: max-height 0.75s ease;
overflow: hidden;
}
.cb-srs-hstry-dtl {
padding: 10px 15px;
margin-top: 20px;
border-radius: 4px;
}
.cb-qck-lnk {
margin-bottom: 5px;
padding: 10px 15px;
}
.cb-qck-hdr {
padding-right: 15px;
border-right: 1px solid #ecebeb;
}
.cb-qck-ancr {
margin-left: 15px;
}
.cb-lst-vid-rw {
padding-bottom: 0;
height: 64px;
border: 1px solid #ecebeb;
margin-right: -10px;
}
.cb-auth-img {
border-radius: 100%;
}
.cb-expt-athr {
vertical-align: top;
padding: 5px 0 0 0;
display: inline-block;
font-size: 16px
}
.inline-block {
display: inline-block;
}
.cb-exprt-athr-hdr {
text-align: right;
font-size: 42px;
font-family: bodani;
color: #fff;
padding-right: 15px;
line-height: 44px;
text-transform: uppercase;
}
.cb-exprt-athr-hdr-tag {
text-align: right;
font-size: 24px;
font-family: bodani;
color: #fff;
padding-right: 15px;
font-style: italic;
}
.cb-athr-wgt-wrp {
border: 1px solid #ecebeb;
padding: 15px;
margin-bottom: 20px;
background: #f5f5f5;
}
.cb-exprt-athr-hdr-img {
background: url("/images/harsha-banner.jpg") no-repeat scroll;
height: 80px;
}
.cb-overflow-hidden {
overflow: hidden;
}
/*Videos*/
.cb-vid-sm-ply-api {
color: #fff;
line-height: 34px;
font-size: 18px;
margin-left: 3px;
}
.cb-vid-sml-card-api {
margin-top: 10px;
height: auto;
padding: 0 12px 0 11px;
}
.cb-cat-head-wrap {
padding: 0 12px 0 11px;
}
.cb-cat-head-text {
margin-top: 5px;
line-height: 20px;
}
.cb-more-btn {
padding: 8px 20px;
border-radius: 2px;
color: #fff;
background: #009270;
border: 0;
cursor: pointer;
}
.cb-cat-head-link {
float: right;
padding: 5px 25px;
margin-top: 10px;
border-radius: 4px;
}
.cb-pos-rel {
position: relative;
}
.cb-videos-cat {
border-bottom: 1px solid #ecebeb;
padding: 10px 3px 15px 4px;
}
.cb-cat-head-text-wrap {
float: left;
}
.cb-cat-head-count {
margin: 0;
color: #666;
}
h2.cb-cat-head-text {
font-size: 18px
}
.cb-vid-sml-card-api-head {
font-size: 14px;
font-weight: bold;
line-height: 18px;
max-height: 55px;
margin: 2px 0 5px;
overflow: hidden;
}
.cb-cen {
position: absolute;
top: 50%;
left: 50%;
opacity: .8;
transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
-moz-transform: translateX(-50%) translateY(-50%);
-ms-transform: translateX(-50%) translateY(-50%);
-o-transform: translateX(-50%) translateY(-50%);
background: #222;
text-align: center;
height: 35px;
width: 35px;
border-radius: 50px;
}
.cb-cen:hover {
opacity: 1;
}
.padding-handling-errors {
padding: 20px 0px 10px 15px;
border-bottom: 1px solid #ecebeb;
}
.cb-col .cb-align-cen {
float: none;
text-align: center;
padding: 7px 25px;
margin-top: 20px;
}
.cb-align-cen {
padding-top: 10px;
}
.cb-hot-cat {
max-width: 90px;
text-align: center;
padding-right: 0;
}
.cb-hot-cat-img {
width: 72px;
}
.cb-vid-slider-arrs {
position: absolute;
top: 52px;
left: 0;
right: 0;
z-index: 5;
}
.cb-vid-slider-arr {
position: absolute;
z-index: 5;
height: 43px;
width: 43px;
border-radius: 50%;
cursor: pointer;
}
.cb-vid-slider-arr-prev {
display: none;
left: 0;
}
.cb-vid-slider-arr-next {
right: 0;
}
.videos-list-carousal {
overflow: hidden;
position: relative;
height: 220px;
}
.videos-carousal-wrapper {
float: none;
list-style: none;
padding: 0;
margin: 0;
transition: all 0.3s ease;
display: flex;
flex-direction: row;
position: absolute;
left: 0;
}
.videos-carousal-item {
min-width: 25%;
justify-content: center;
align-items: center;
}
.cb-vid-more {
float: right;
color: #2C3E9A;
font-size: 18px;
}
.cb-vid-more:hover {
text-decoration: underline;
}
.cat-vid-carousal {
height: 135px !important;
}
.cat-vid-carousal .videos-carousal-item {
min-width: auto;
}
.cat-vid-carousal .cb-vid-slider-arrs {
top: 24px;
}
.cb-srs-sqd-box {
min-height: 700px;
background: #fff;
}
.cb-float-none {
float: none;
}
.cb-margin-top-10 {
margin-top: 10px;
}
.cb-schdl-nvtb {
margin: 0 0 10px 0;
padding: 10px;
}
.cb-carousal-item-small {
padding: 0 0 0 16px;
}
.cb-carousal-item-small:first-child {
padding-left: 11px;
}
.cb-carousal-item-large {
padding: 0 11px;
}
.cb-carousal-item-small .cb-vid-txt-wrp {
font-size: 12px;
}
.cb-hot-cat .cb-vid-txt-wrp {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
max-height: 40px;
}
.cb-more-video {
float: right;
color: #2C3E9A;
}
.cb-more-video:hover {
text-decoration: underline;
}
.home_video .cb-vid-slider-arrs {
opacity: 0.8;
}
/*Rankings*/
.cb-ranking-nav.active {
line-height: 21px
}
.cb-rank-plyr {
padding-left: 15px
}
.text-left {
text-align: left;
}
.cb-rank-tabs {
padding-left: 10px;
}
.cb-plyr-tbody {
padding: 5px 0;
}
.cb-padding-left0 {
padding-left: 0;
}
.cb-rank-hdr {
margin-top: 15px;
padding: 5px 0;
}
.cb-bg-grey {
background: #f5f5f5;
}
/*Players*/
.cb-player-name-wrap {
padding-top: 90px;
}
.cb-plyr-tbl {
margin-top: 30px
}
.cb-font-40 {
font-size: 40px;
}
/*Teams*/
.cb-cursor-pointer {
cursor: pointer;
}
.cb-team-stats-btn {
margin-top: 21px;
}
.cb-upper-text {
text-transform: capitalize;
}
Hope this helps..
The problem is that you have 2 closing div-tags which are outside your for-loop:
{% endfor %}
</div>
</div>
If you put those 2 inside the loop it should work and render the html correctly:
</div>
</div>
{% endfor %}

z-index not effect with child element

I have a website Suoi Hong Resort
But block of menu display behind logo.
.navigation class has position is absolute, z-index is 3. Logo has position is absolute. z-index is 2. And block has z-index is 10. But block of menu cannot display in fron of logo.
Please help me this issue!
*
{
margin: 0;
padding: 0;
text-decoration: none;
list-style: none;
border: none;
outline: none;
}
#font-face
{
font-family: UTM_Alberta_Heavy;
src: url("/Styles/CSS/Font/UTM_Alberta_Heavy/UTM ALBERTA HEAVY.TTF");
}
#font-face
{
font-family: Pristina;
src: url("/Styles/CSS/Font/Pristina/PRISTINA_0.TTF");
}
#font-face
{
font-family: UVN_Van;
src: url("/Styles/CSS/Font/UVN_Van/UVNVAN_R.TTF");
}
#font-face
{
font-family: UTM_Pierre;
src: url("/Styles/CSS/Font/UTM_Pierre/UTM PIERRE.TTF");
}
#font-face
{
font-family: UVN_MAU_TIM_1;
src: url("/Styles/CSS/Font/UVN_Mau_Tim_1/UVNMAUTIM1.TTF");
}
#font-face
{
font-family: UVN_MAU_TIM_2;
src: url("/Styles/CSS/Font/UVN_Mau_Tim_2/UVNMAUTIM2.TTF");
}
#font-face
{
font-family: UTM_DINH_TRAN;
src: url("/Styles/CSS/Font/UTM_Dinh_Tran/UTM DINH TRAN.TTF");
}
#font-face
{
font-family: UVN_Tin_Tuc_Nhe;
src: url("/Styles/CSS/Font/UVN_Tin_Tuc_Nhe/UVNTINTUCNHE_R.TTF");
}
#font-face
{
font-family: MuaThu;
src: url("/Styles/CSS/Font/MuaThu/UVNMUATHU.TTF");
}
#font-face
{
font-family: Caolanh;
src: url("/Styles/CSS/Font/Caolanh/CAOLANH.TTF");
}
.img
{
float: left;
width: 100%;
height: 100%;
}
.link
{
float: left;
width: 100%;
height: 100%;
}
h1
{
font-weight: normal;
}
body, .line-fix-parent-width, .container, .header
{
float: left;
width: 100%;
}
body
{
background-color: #381004;
background-image: url("/Design/bg.png");
}
.container
{
}
/* CSS for navigation-left */
.navigation
{
float: left;
width: 100%;
height: 72px;
background-color: rgba(253,230,199,1);
background-image: url("/Design/nav-bg.png");
background-repeat: repeat;
position: fixed;
top: 0;
z-index: 2;
}
/*CSS For navigation*/
.navigation-wrapper
{
float: left;
width: 73.206%;
margin-left: 13.397%;
}
.nav
{
float: left;
width: 39%;
}
navigation-left
{
float: left;
}
.navigation-right
{
float: right;
}
.nav ul
{
float: left;
width: 100%;
}
.nav ul li
{
float: left;
font-family: UVN_Van;
}
.nav ul li a
{
padding: 13px;
color: #FFF;
font-size: 13px;
float: left;
}
.nav > ul > li
{
margin-top: 16px;
}
.nav > ul > li > a
{
padding: 13px;
}
.nav li.active
{
background-color: rgba(255, 255, 255, 0.2);
border-top-left-radius: 3px;
border-top-right-radius: 3px;
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
}
.nav li.active > a
{
color: #FFF;
}
.nav > ul li:hover
{
background-color: #fde6c7;
}
.nav > ul li:hover a
{
color: #FFF;
}
.nav > ul > li:hover
{
border-top-left-radius: 3px;
border-top-right-radius: 3px;
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
color: #FFF;
background-color: rgba(255, 255, 255, 0.2);
}
.nav > ul > li.has-sub > ul
{
top: 99%;
left: 0;
z-index: 10;
}
.nav > ul > li.has-sub
{
border-top-left-radius: 3px;
border-top-right-radius: 3px;
}
.has-sub span.arrow
{
text-align: center;
margin-left: 3px;
}
.nav > ul > li.has-sub > span.arrow
{
float: left;
width: 100%;
text-align: center;
margin-top: -6px;
margin-left: 0px;
}
.has-sub
{
position: relative;
}
.has-sub > ul
{
position: absolute;
top: -1px;
left: 225px;
/*display: none;*/
width: 100%;
height: 0px;
overflow: hidden;
transition: all .4s linear;
}
.has-sub > ul > li
{
background-color: rgba(55, 109, 173, 0.8);
width: 225px;
height: 0px;
overflow: hidden;
border-top: 1px solid #C0C0C0;
padding-left: 0;
padding-right: 0;
text-align: left;
}
.has-sub > ul > li:first-child
{
/*border-top: none;*/
/*border-top-left-radius: 3px;
border-top-right-radius: 3px;*/
}
.has-sub > ul > li:last-child
{
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
}
.has-sub > ul li a, .has-sub > ul li:hover a
{
color: #FFF;
}
.has-sub:hover > ul
{
/*display: block;*/
width: 225px;
height: auto;
}
.has-sub:hover > ul > li
{
float: left;
width: 100%;
height: auto;
}
.has-sub > ul > li:hover
{
background-color: rgba(55, 109, 173, 0.6);
}
/*CSS For navigation - End*/
.navi-hr
{
float: left;
width: 100%;
height: 7px;
background-color: #2e72cd;
position: fixed;
top: 72px;
z-index: 1;
}
/*CSS for Logo*/
.logo
{
float: left;
width: 14.348%;
height: 100px;
border-left: 5px solid #2e72cd;
border-right: 5px solid #2e72cd;
border-bottom: 5px solid #2e72cd;
border-bottom-left-radius: 15px;
border-bottom-right-radius: 15px;
position: fixed;
top: 0;
left: 42.326%;
/*background-color: #f9d7a2;*/
background: #feffff; /* Old browsers */
background: -moz-linear-gradient(top, #feffff 0%, #8db9f3 0%, #ddf1f9 0%, #a0d8ef 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#feffff), color-stop(0%,#8db9f3), color-stop(0%,#ddf1f9), color-stop(100%,#a0d8ef)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #feffff 0%,#8db9f3 0%,#ddf1f9 0%,#a0d8ef 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #feffff 0%,#8db9f3 0%,#ddf1f9 0%,#a0d8ef 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #feffff 0%,#8db9f3 0%,#ddf1f9 0%,#a0d8ef 100%); /* IE10+ */
background: linear-gradient(to bottom, #feffff 0%,#8db9f3 0%,#ddf1f9 0%,#a0d8ef 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#feffff', endColorstr='#a0d8ef',GradientType=0 ); /* IE6-9 */
z-index: 3;
}
.res-name
{
margin-top: 15px;
color: #04326b;
font-family: UVN_Mau_Tim_1;
font-size: 34px;
text-align: center;
font-weight: normal;
text-transform: uppercase;
}
.res-type
{
margin-top: 5px;
}
.res-cat
{
float: left;
width: 34%;
color: #04326b;
font-family: Caolanh;
font-size: 35px;
text-align: center;
font-weight: normal;
}
.sp
{
float: left;
width: 27%;
margin: 11% 2% 0 4%;
height: 1px;
background-color: #04326b;
}
.sp-left
{
}
.sp-right
{
}
/*CSS for Logo - End*/
.wrapper
{
float: left;
width: 73.206%;
margin-top: 80px;
margin-left: 13.397%;
}
/*CSS for slideshow*/
.horizontal-slideshow
{
float: left;
width: 99.2%;
height: 401px;
padding: 0.4%;
border: 1px solid #99c3fa;
background-color: #2e72cd;
position: relative;
}
/*CSS for Language bar*/
.icon-bar
{
width: 18.8%;
height: 8.728%;
position: absolute;
top: 1%;
right: 0.4%;
}
.lang-bar
{
background: rgba(255,255,255,0.6);
}
.lang-bar
{
float: left;
width: 100%;
height: 100%;
}
.lang-item
{
float: left;
width: 47%;
height: 63%;
margin-left: 3%;
margin-top: 3%;
}
.lang-item a
{
float: left;
width: 100%;
height: 100%;
}
.lang-icon
{
float: left;
width: 34.722%;
margin-right: 3%;
height: 100%;
}
.lang-name
{
float: left;
width: 62.265%;
height: 100%;
}
.lang-name span
{
float: left;
width: 100%;
height: 100%;
margin-top: 6%;
font-size: 13px;
font-family: UVN_Van;
color: #545454;
}
/*CSS for Service bar*/
.service
{
float: left;
width: 100%;
padding: 0.9% 0 1.7%;
}
.service-box
{
float: left;
width: 19.6%;
height: 123px;
margin-right: 0.5%;
background-color: #FFF;
position: relative;
}
.service-box:last-child
{
margin-right: 0;
}
.service-title
{
float: left;
width: 93%;
position: absolute;
top: 10%;
}
.service-title-tren
{
color: #96bff5;
float: left;
width: 91%;
font-family: "MuaThu";
font-size: 20px;
padding-left: 9%;
text-shadow: 1px 1px 0 rgba(0, 0, 0, 1);
}
.service-title-duoi
{
float: left;
width: 92%;
padding-left: 8%;
font-family: 'Times New Roman';
font-size: 25px;
font-weight: bold;
color: #96bff5;
text-shadow: 1px 1px 0px rgba(0, 0, 0, 1);
}
/*End*/
.special-seperate
{
float: left;
width: 100%;
height: 47px;
background-image: url("/Design/title-bg.png");
background-repeat: no-repeat;
background-size: 100% 100%;
}
.special-seperate-title
{
float: left;
width: auto;
margin-left: 1%;
margin-right: 1%;
margin-top: 2.2%;
font-family: 'Times New Roman';
font-size: 15px;
font-weight: normal;
color: #FFF;
text-transform: uppercase;
}
.arrow
{
float: left;
width: 4.2%;
margin-top: 2.2%;
}
.body-wrapper
{
float: left;
width: 100%;
}
.lbody
{
float: left;
width: 75.3%;
margin-right: 1.6%;
}
.content
{
float: left;
width: 96.8%;
border: 1px solid #99c3fa;
padding: 1.778% 1.504% 0.957%;
font-family: Arial;
font-size: 13px;
color: #FFF;
text-align: justify;
border-radius: 3px;
line-height: 16px;
background-color: #2e72cd;
background-image: url("/Design/hoavan.png");
background-repeat: no-repeat;
background-position: top right;
}
.content img
{
max-width: 100%;
}
.content-detail
{
float: left;
width: 100%;
}
.m-read-more
{
float: left;
width: 100%;
margin-top: 2px;
text-align: right;
font-style: italic;
color: #FFF;
}
.block
{
float: left;
}
.video-block
{
float: left;
width: 35.157%;
margin-right: 2.6%;
margin-top: 27px;
/*margin-bottom: 18px;*/
}
.photo-block
{
float: left;
width: 62.243%;
margin-top: 27px;
/*margin-bottom: 18px;*/
}
.block-title
{
float: left;
width: 100%;
margin-bottom: 9px;
}
.block-title h1
{
float: left;
width: 100%;
font-family: 'Times New Roman';
font-size: 15px;
text-transform: uppercase;
color: #FFF;
}
.block-content
{
float: left;
border: 1px solid #99c3fa;
background-color: #2e72cd;
}
.video-block .block-content
{
width: 95.5%;
height: 204px;
padding: 2.222%;
position: relative;
}
.play
{
float: left;
width: 10.778%;
height: 14.509%;
position: absolute;
top: 42.944%;
left: 45.111%;
opacity: 0.2;
transition: all 0.2s ease-in-out;
}
.play:hover, .video-block .block-content:hover .play
{
opacity: 1;
width: 19.778%;
height: 24.509%;
top: 37.944%;
left: 40.111%;
}
.photo-block .block-content
{
width: 97%;
height: 204px;
padding: 1.366%;
}
.photo-wrapper
{
float: left;
width: 94.774%;
padding: 3.2% 1.493% 0.64% 3.627%;
background-color: #4e8fe6;
height: 91%;
overflow: hidden;
}
.photo-item
{
float: left;
width: 31%;
height: 82px;
margin-right: 2.254%;
margin-bottom: 2.654%;
}
.rbody
{
float: left;
width: 23.1%;
}
.booking-block
{
width: 100%;
}
.contact-block
{
width: 100%;
margin-top: 27px;
}
.contact-wrapper
{
float: left;
width: 86.725%;
height: 86.225%;
padding: 6.637%;
background-color: #4e8fe6;
}
.booking-block .block-content, .contact-block .block-content
{
width: 94.5%;
height: 170px;
padding: 2.722%;
background-color: #2e72cd;
}
.contact-block .block-content
{
min-height: 203px;
}
.phone
{
float: left;
width: 21.164%;
margin: 5px 0;
}
.phone-sp
{
float: left;
width: 100%;
height: 1px;
border-top: 1px solid #65a4f8;
background-color: #3a7acf;
}
.contact-item
{
float: left;
width: 100%;
margin-top: 10px;
margin-bottom: 5px;
font-family: 'Times New Roman';
color: #FFF;
}
.c-phone, .c-name, .c-email
{
float: left;
width: 100%;
}
.c-phone
{
font-size: 25px;
font-weight: bold;
}
.c-name
{
font-size: 15px;
font-weight: bold;
}
.c-email
{
font-family: Arial;
font-size: 13px;
}
.footer
{
float: left;
width: 100%;
background-color: #002149;
margin-top: 19px;
border-top: 1px solid #001329;
}
.l-footer, .r-footer
{
float: left;
width: 50%;
}
.footer-wrapper
{
float: left;
width: 71.206%;
margin-left: 13.397%;
padding: 1%;
font-family: Arial;
font-size: 13px;
color: #FFF;
}
.l-footer
{
}
.l-footer p:first-child
{
margin-bottom: 5px;
}
.l-footer p:last-child
{
}
.r-footer a
{
color: #FFF;
}
.r-footer
{
text-align: right;
}
.r-footer p:first-child
{
/*margin-bottom: 5px;*/
}
.r-footer p:last-child
{
}
.product-container
{
float: left;
width: 102%;
margin-top: 20px;
}
.check-rate-result-mess
{
color: #ddd491;
float: left;
width: 100%;
font-family: UVN_ChuKy;
font-size: 17px;
text-align: center;
margin-bottom: 10px;
margin-top: -10px;
line-height: 20px;
}
.product-box
{
float: left;
width: 30%;
margin-right: 2%;
margin-bottom: 19px;
padding: 0.5%;
/*border: 1px solid #840404;*/
height: 306px;
-webkit-box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.3);
-moz-box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.3);
box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.3);
background-color: #FFF;
position: relative;
}
.product-box:hover
{
background-color: #fcf7e8;
}
.product-box img
{
width: 100%;
height: 135px;
border-bottom: 1px solid #e0bbef;
}
.product-title
{
width: 100%;
text-align: center;
margin-top: 5px;
margin-bottom: 5px;
}
.product-title a
{
/*float: left;*/
width: 100%;
font-family: UTM_DINH_TRAN;
font-size: 30px;
color: #840404;
}
.product-title a:hover
{
color: #d03c3c;
}
.product-seperate
{
width: 100%;
height: 1px;
/*margin: 5px auto 7px;*/
background-color: #840404;
}
.product-sumary
{
width: 100%;
margin: 15px auto 0;
text-align: center;
color: #6f6f6f;
font-family: "UVN_Tin_Tuc_Nhe";
font-size: 14px;
}
.product-box .intro-readmore:hover
{
border: none;
}
.titlecategory
{
font-family: UTM_DINH_TRAN;
font-size: 35px;
color: #443d37;
}
.intro-readmore
{
background-color: #e0c34b;
position: absolute;
bottom: 4%;
right: 32%;
width: 36%;
height: 30px;
border-radius: 3px;
background-image: url("/Design/pattern_06.png");
background-position: top right;
background-repeat: no-repeat;
background-size: 40% 100%;
}
.intro-readmore a
{
color: #FFF;
margin-top: 7%;
float: left;
text-align: center;
width: 100%;
font-family: UVN_Tin_Tuc_Nhe;
}
.intro-readmore:hover
{
/*background-color: #f8e180;*/
}
/* CSS For Room detail*/
.left-block
{
float: left;
width: 60%;
}
.main-pic
{
float: left;
height: 300px;
width: 97%;
margin-bottom: 5px;
/*border: 1px solid #848990;*/
text-align: center;
background-color: rgba(189,199,210,0.3);
}
.main-pic img
{
/*width: 100%;*/
height: 100%;
max-width: 100%;
/*border: 1px solid #848990;*/
border: 1px solid #848990;
}
.thumb-pic
{
float: left;
width: 100%;
}
.thumb-item
{
/*border: 1px solid;*/
float: left;
height: 72px;
margin-bottom: 1%;
margin-right: 1.5%;
margin-top: 0.5%;
width: 23%;
}
.nav-thumb
{
width: 100%;
height: 100%;
border: 1px solid #848990;
}
.item-active
{
border: 1px solid #009bd5;
}
.right-block
{
float: left;
width: 39%;
text-align: justify;
font-family: UVN_Tin_Tuc_Nhe;
}
.titlepro
{
font-weight: bold;
font-size: 15px;
color: #C0C0C0;
line-height: 16px;
}
.des-info, .fared
{
font-size: 15px;
}
.fared
{
}
.lbdetail
{
float: left;
font-size: 15px;
margin-left: 26px;
margin-top: -15px;
}
.contactproduct
{
color: #FFF;
float: right;
text-align: center;
font-family: UVN_Tin_Tuc_Nhe;
font-size: 17px;
background-color: #e0c34b;
width: 36%;
height: 30px;
border-radius: 2px;
background-image: url("/Design/pattern_06.png");
background-position: top right;
background-repeat: no-repeat;
background-size: 40% 100%;
padding-top: 2%;
margin-bottom: 5%;
margin-right: 3%;
}
.contactproduct:hover
{
/*background-color: #916ea0;*/
}
.right-block hr
{
float: left;
width: 97%;
/*border-bottom: 1px dashed #3399FF;*/
}
.right-block .line-witdth-fix-parent
{
text-align: left;
}
.pic-title
{
font-family: UVN_MAU_TIM_2;
font-size: 23px;
color: #443d37;
margin-left: 1%;
}
/*CSS FOR Check rate*/
.check-rate-wrapper
{
float: left;
width: 100%;
}
.right-footer-reservation
{
width: 45%;
height: 216px;
margin: 1% auto 2%;
background-color: rgba(244,244,244,0.8);
-webkit-box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.3);
-moz-box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.3);
box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.3);
/*background-color: rgba(189,199,210,0.8);*/
}
.right-footer-reservation-wraper, .right-footer-info-wraper
{
width: 95%;
margin: 0 auto;
}
.reservation-input
{
float: left;
width: 100%;
height: 25px;
border: 1px solid #FFF;
margin-top: 7px;
margin-bottom: 7px;
background-color: #dee3e9;
font-family: Arial;
font-size: 12px;
position: relative;
}
.half
{
width: 47.3%;
margin-right: 4%;
}
div.half:last-child
{
margin-right: 0;
}
.right-footer-reservation p
{
float: left;
width: 100%;
text-align: center;
margin-bottom: 5%;
height: 25px;
font-family: UTM_DINH_TRAN;
font-size: 45px;
color: #443d37;
}
.select-number, .chose-date
{
float: left;
width: 100%;
height: 100%;
border: none;
margin: 0;
padding: 0;
box-shadow: none;
background-color: transparent;
color: #7a7877;
padding-left: 5px;
}
.select-number
{
/*width: 107px;*/
}
.chose-date
{
/*width: 162px;*/
}
.input-icon
{
position: absolute;
top: 0;
right: 0;
background-color: #dee3e9;
height: 25px;
width: 24px;
}
.input-icon img.date
{
float: left;
margin-top: 5px;
margin-right: 8px;
}
.input-icon img.number
{
float: left;
margin-left: 13px;
margin-top: 9px;
}
.btnCheckRate
{
color: #FFF;
float: right;
text-align: center;
font-family: UVN_Tin_Tuc_Nhe;
background-color: #e0c34b;
width: 27%;
height: 36px;
border-radius: 3px;
background-image: url("/Design/pattern_06.png");
background-position: top right;
background-repeat: no-repeat;
background-size: 40% 100%;
font-size: 18px;
border: none;
margin-top: 1%;
}
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="ctl00_ctl00_Head1"><title>
Resort Suối Hồng tại Mũi Né
</title>
<meta name="Keywords" content="Resort Suối Hồng, resort tại Mũi Né" />
<meta name="description" content="Resort Suối Hồng Mũi Né là nơi nghĩ dưỡng lý tưởng khi đến với Phan Thiết" />
<meta name="generator" content="" />
</head>
<body>
<form>
<div class="container">
<div class="navigation">
<div class="navigation-wrapper">
<div class="nav navigation-left">
<ul><li class='active'><a href='/vn/home-12.html'> <span>TRANG CHỦ</span></a></li><li><a href='/vn/article/introduction-suoi-hong-resort-14-1.html'> <span>GIỚI THIỆU</span></a></li><li class='has-sub'><a href='/vn/danh-sach-phong-2-2.html'> <span>PHÒNG NGỦ</span></a><ul><li><a href='/vn/phong-ngu-1-2.html'> <span>Phòng một giường</span></a></li><li><a href='/vn/phong-ngu-2-2.html'> <span>Phòng hai giường</span></a></li></ul></li><li class='has-sub'><a href='javascript:void();'> <span>DỊCH VỤ</span></a><ul><li><a href='/vn/article/phuc-vu-khach-doan-23-3.html'> <span>Phục vụ khách đoàn</span></a></li><li><a href='/vn/article/dich-vu-tam-bien-24-3.html'> <span>Dịch vụ tắm biển</span></a></li></ul></li></ul>
</div>
<div class="nav navigation-right">
<ul><li><a href='/vn/category/information-4-4.html'> <span>THÔNG TIN</span></a></li><li><a href='/vn/gallery-6.html'> <span>HÌNH ẢNH</span></a></li><li><a href='/vn/video-5.html'> <span>VIDEO -CLIPS</span></a></li><li><a href='/vn/contact-7.html'> <span>LIÊN HỆ</span></a></li></ul>
</div>
</div>
</div>
<div class="navi-hr"></div>
<div class="logo">
<a href="/vn/home-12.html" class="link">
<h1 class="res-name line-fix-parent-width">Suối Hồng</h1>
<div class="res-type line-fix-parent-width">
<span class="sp sp-left"></span>
<span class="res-cat">Resort</span>
<span class="sp sp-left"></span>
</div>
</a>
</div>
<div class="wrapper">
</div>
</form>
</body>
</html>
*
{
margin: 0;
padding: 0;
text-decoration: none;
list-style: none;
border: none;
outline: none;
}
#font-face
{
font-family: UTM_Alberta_Heavy;
src: url("/Styles/CSS/Font/UTM_Alberta_Heavy/UTM ALBERTA HEAVY.TTF");
}
#font-face
{
font-family: Pristina;
src: url("/Styles/CSS/Font/Pristina/PRISTINA_0.TTF");
}
#font-face
{
font-family: UVN_Van;
src: url("/Styles/CSS/Font/UVN_Van/UVNVAN_R.TTF");
}
#font-face
{
font-family: UTM_Pierre;
src: url("/Styles/CSS/Font/UTM_Pierre/UTM PIERRE.TTF");
}
#font-face
{
font-family: UVN_MAU_TIM_1;
src: url("/Styles/CSS/Font/UVN_Mau_Tim_1/UVNMAUTIM1.TTF");
}
#font-face
{
font-family: UVN_MAU_TIM_2;
src: url("/Styles/CSS/Font/UVN_Mau_Tim_2/UVNMAUTIM2.TTF");
}
#font-face
{
font-family: UTM_DINH_TRAN;
src: url("/Styles/CSS/Font/UTM_Dinh_Tran/UTM DINH TRAN.TTF");
}
#font-face
{
font-family: UVN_Tin_Tuc_Nhe;
src: url("/Styles/CSS/Font/UVN_Tin_Tuc_Nhe/UVNTINTUCNHE_R.TTF");
}
#font-face
{
font-family: MuaThu;
src: url("/Styles/CSS/Font/MuaThu/UVNMUATHU.TTF");
}
#font-face
{
font-family: Caolanh;
src: url("/Styles/CSS/Font/Caolanh/CAOLANH.TTF");
}
.img
{
float: left;
width: 100%;
height: 100%;
}
.link
{
float: left;
width: 100%;
height: 100%;
}
h1
{
font-weight: normal;
}
body, .line-fix-parent-width, .container, .header
{
float: left;
width: 100%;
}
body
{
background-color: #381004;
background-image: url("/Design/bg.png");
}
.container
{
}
/* CSS for navigation-left */
.navigation
{
float: left;
width: 100%;
height: 72px;
background-color: rgba(253,230,199,1);
background-image: url("/Design/nav-bg.png");
background-repeat: repeat;
position: fixed;
top: 0;
z-index: 2;
}
/*CSS For navigation*/
.navigation-wrapper
{
float: left;
width: 73.206%;
margin-left: 13.397%;
}
.nav
{
float: left;
width: 39%;
}
navigation-left
{
float: left;
}
.navigation-right
{
float: right;
}
.nav ul
{
float: left;
width: 100%;
}
.nav ul li
{
float: left;
font-family: UVN_Van;
}
.nav ul li a
{
padding: 13px;
color: #FFF;
font-size: 13px;
float: left;
}
.nav > ul > li
{
margin-top: 16px;
}
.nav > ul > li > a
{
padding: 13px;
}
.nav li.active
{
background-color: rgba(255, 255, 255, 0.2);
border-top-left-radius: 3px;
border-top-right-radius: 3px;
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
}
.nav li.active > a
{
color: #FFF;
}
.nav > ul li:hover
{
background-color: #fde6c7;
}
.nav > ul li:hover a
{
color: #FFF;
}
.nav > ul > li:hover
{
border-top-left-radius: 3px;
border-top-right-radius: 3px;
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
color: #FFF;
background-color: rgba(255, 255, 255, 0.2);
}
.nav > ul > li.has-sub > ul
{
top: 99%;
left: 0;
z-index: 10;
}
.nav > ul > li.has-sub
{
border-top-left-radius: 3px;
border-top-right-radius: 3px;
}
.has-sub span.arrow
{
text-align: center;
margin-left: 3px;
}
.nav > ul > li.has-sub > span.arrow
{
float: left;
width: 100%;
text-align: center;
margin-top: -6px;
margin-left: 0px;
}
.has-sub
{
position: relative;
}
.has-sub > ul
{
position: absolute;
top: -1px;
left: 225px;
/*display: none;*/
width: 100%;
height: 0px;
overflow: hidden;
transition: all .4s linear;
}
.has-sub > ul > li
{
background-color: rgba(55, 109, 173, 0.8);
width: 225px;
height: 0px;
overflow: hidden;
border-top: 1px solid #C0C0C0;
padding-left: 0;
padding-right: 0;
text-align: left;
}
.has-sub > ul > li:first-child
{
/*border-top: none;*/
/*border-top-left-radius: 3px;
border-top-right-radius: 3px;*/
}
.has-sub > ul > li:last-child
{
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
}
.has-sub > ul li a, .has-sub > ul li:hover a
{
color: #FFF;
}
.has-sub:hover > ul
{
/*display: block;*/
width: 225px;
height: auto;
}
.has-sub:hover > ul > li
{
float: left;
width: 100%;
height: auto;
}
.has-sub > ul > li:hover
{
background-color: rgba(55, 109, 173, 0.6);
}
/*CSS For navigation - End*/
.navi-hr
{
float: left;
width: 100%;
height: 7px;
background-color: #2e72cd;
position: fixed;
top: 72px;
z-index: 1;
}
/*CSS for Logo*/
.logo
{
float: left;
width: 14.348%;
height: 100px;
border-left: 5px solid #2e72cd;
border-right: 5px solid #2e72cd;
border-bottom: 5px solid #2e72cd;
border-bottom-left-radius: 15px;
border-bottom-right-radius: 15px;
position: fixed;
top: 0;
left: 42.326%;
/*background-color: #f9d7a2;*/
background: #feffff; /* Old browsers */
background: -moz-linear-gradient(top, #feffff 0%, #8db9f3 0%, #ddf1f9 0%, #a0d8ef 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#feffff), color-stop(0%,#8db9f3), color-stop(0%,#ddf1f9), color-stop(100%,#a0d8ef)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #feffff 0%,#8db9f3 0%,#ddf1f9 0%,#a0d8ef 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #feffff 0%,#8db9f3 0%,#ddf1f9 0%,#a0d8ef 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #feffff 0%,#8db9f3 0%,#ddf1f9 0%,#a0d8ef 100%); /* IE10+ */
background: linear-gradient(to bottom, #feffff 0%,#8db9f3 0%,#ddf1f9 0%,#a0d8ef 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#feffff', endColorstr='#a0d8ef',GradientType=0 ); /* IE6-9 */
z-index: 3;
}
.res-name
{
margin-top: 15px;
color: #04326b;
font-family: UVN_Mau_Tim_1;
font-size: 34px;
text-align: center;
font-weight: normal;
text-transform: uppercase;
}
.res-type
{
margin-top: 5px;
}
.res-cat
{
float: left;
width: 34%;
color: #04326b;
font-family: Caolanh;
font-size: 35px;
text-align: center;
font-weight: normal;
}
.sp
{
float: left;
width: 27%;
margin: 11% 2% 0 4%;
height: 1px;
background-color: #04326b;
}
.sp-left
{
}
.sp-right
{
}
/*CSS for Logo - End*/
.wrapper
{
float: left;
width: 73.206%;
margin-top: 80px;
margin-left: 13.397%;
}
/*CSS for slideshow*/
.horizontal-slideshow
{
float: left;
width: 99.2%;
height: 401px;
padding: 0.4%;
border: 1px solid #99c3fa;
background-color: #2e72cd;
position: relative;
}
/*CSS for Language bar*/
.icon-bar
{
width: 18.8%;
height: 8.728%;
position: absolute;
top: 1%;
right: 0.4%;
}
.lang-bar
{
background: rgba(255,255,255,0.6);
}
.lang-bar
{
float: left;
width: 100%;
height: 100%;
}
.lang-item
{
float: left;
width: 47%;
height: 63%;
margin-left: 3%;
margin-top: 3%;
}
.lang-item a
{
float: left;
width: 100%;
height: 100%;
}
.lang-icon
{
float: left;
width: 34.722%;
margin-right: 3%;
height: 100%;
}
.lang-name
{
float: left;
width: 62.265%;
height: 100%;
}
.lang-name span
{
float: left;
width: 100%;
height: 100%;
margin-top: 6%;
font-size: 13px;
font-family: UVN_Van;
color: #545454;
}
/*CSS for Service bar*/
.service
{
float: left;
width: 100%;
padding: 0.9% 0 1.7%;
}
.service-box
{
float: left;
width: 19.6%;
height: 123px;
margin-right: 0.5%;
background-color: #FFF;
position: relative;
}
.service-box:last-child
{
margin-right: 0;
}
.service-title
{
float: left;
width: 93%;
position: absolute;
top: 10%;
}
.service-title-tren
{
color: #96bff5;
float: left;
width: 91%;
font-family: "MuaThu";
font-size: 20px;
padding-left: 9%;
text-shadow: 1px 1px 0 rgba(0, 0, 0, 1);
}
.service-title-duoi
{
float: left;
width: 92%;
padding-left: 8%;
font-family: 'Times New Roman';
font-size: 25px;
font-weight: bold;
color: #96bff5;
text-shadow: 1px 1px 0px rgba(0, 0, 0, 1);
}
/*End*/
.special-seperate
{
float: left;
width: 100%;
height: 47px;
background-image: url("/Design/title-bg.png");
background-repeat: no-repeat;
background-size: 100% 100%;
}
.special-seperate-title
{
float: left;
width: auto;
margin-left: 1%;
margin-right: 1%;
margin-top: 2.2%;
font-family: 'Times New Roman';
font-size: 15px;
font-weight: normal;
color: #FFF;
text-transform: uppercase;
}
.arrow
{
float: left;
width: 4.2%;
margin-top: 2.2%;
}
.body-wrapper
{
float: left;
width: 100%;
}
.lbody
{
float: left;
width: 75.3%;
margin-right: 1.6%;
}
.content
{
float: left;
width: 96.8%;
border: 1px solid #99c3fa;
padding: 1.778% 1.504% 0.957%;
font-family: Arial;
font-size: 13px;
color: #FFF;
text-align: justify;
border-radius: 3px;
line-height: 16px;
background-color: #2e72cd;
background-image: url("/Design/hoavan.png");
background-repeat: no-repeat;
background-position: top right;
}
.content img
{
max-width: 100%;
}
.content-detail
{
float: left;
width: 100%;
}
.m-read-more
{
float: left;
width: 100%;
margin-top: 2px;
text-align: right;
font-style: italic;
color: #FFF;
}
.block
{
float: left;
}
.video-block
{
float: left;
width: 35.157%;
margin-right: 2.6%;
margin-top: 27px;
/*margin-bottom: 18px;*/
}
.photo-block
{
float: left;
width: 62.243%;
margin-top: 27px;
/*margin-bottom: 18px;*/
}
.block-title
{
float: left;
width: 100%;
margin-bottom: 9px;
}
.block-title h1
{
float: left;
width: 100%;
font-family: 'Times New Roman';
font-size: 15px;
text-transform: uppercase;
color: #FFF;
}
.block-content
{
float: left;
border: 1px solid #99c3fa;
background-color: #2e72cd;
}
.video-block .block-content
{
width: 95.5%;
height: 204px;
padding: 2.222%;
position: relative;
}
.play
{
float: left;
width: 10.778%;
height: 14.509%;
position: absolute;
top: 42.944%;
left: 45.111%;
opacity: 0.2;
transition: all 0.2s ease-in-out;
}
.play:hover, .video-block .block-content:hover .play
{
opacity: 1;
width: 19.778%;
height: 24.509%;
top: 37.944%;
left: 40.111%;
}
.photo-block .block-content
{
width: 97%;
height: 204px;
padding: 1.366%;
}
.photo-wrapper
{
float: left;
width: 94.774%;
padding: 3.2% 1.493% 0.64% 3.627%;
background-color: #4e8fe6;
height: 91%;
overflow: hidden;
}
.photo-item
{
float: left;
width: 31%;
height: 82px;
margin-right: 2.254%;
margin-bottom: 2.654%;
}
.rbody
{
float: left;
width: 23.1%;
}
.booking-block
{
width: 100%;
}
.contact-block
{
width: 100%;
margin-top: 27px;
}
.contact-wrapper
{
float: left;
width: 86.725%;
height: 86.225%;
padding: 6.637%;
background-color: #4e8fe6;
}
.booking-block .block-content, .contact-block .block-content
{
width: 94.5%;
height: 170px;
padding: 2.722%;
background-color: #2e72cd;
}
.contact-block .block-content
{
min-height: 203px;
}
.phone
{
float: left;
width: 21.164%;
margin: 5px 0;
}
.phone-sp
{
float: left;
width: 100%;
height: 1px;
border-top: 1px solid #65a4f8;
background-color: #3a7acf;
}
.contact-item
{
float: left;
width: 100%;
margin-top: 10px;
margin-bottom: 5px;
font-family: 'Times New Roman';
color: #FFF;
}
.c-phone, .c-name, .c-email
{
float: left;
width: 100%;
}
.c-phone
{
font-size: 25px;
font-weight: bold;
}
.c-name
{
font-size: 15px;
font-weight: bold;
}
.c-email
{
font-family: Arial;
font-size: 13px;
}
.footer
{
float: left;
width: 100%;
background-color: #002149;
margin-top: 19px;
border-top: 1px solid #001329;
}
.l-footer, .r-footer
{
float: left;
width: 50%;
}
.footer-wrapper
{
float: left;
width: 71.206%;
margin-left: 13.397%;
padding: 1%;
font-family: Arial;
font-size: 13px;
color: #FFF;
}
.l-footer
{
}
.l-footer p:first-child
{
margin-bottom: 5px;
}
.l-footer p:last-child
{
}
.r-footer a
{
color: #FFF;
}
.r-footer
{
text-align: right;
}
.r-footer p:first-child
{
/*margin-bottom: 5px;*/
}
.r-footer p:last-child
{
}
.product-container
{
float: left;
width: 102%;
margin-top: 20px;
}
.check-rate-result-mess
{
color: #ddd491;
float: left;
width: 100%;
font-family: UVN_ChuKy;
font-size: 17px;
text-align: center;
margin-bottom: 10px;
margin-top: -10px;
line-height: 20px;
}
.product-box
{
float: left;
width: 30%;
margin-right: 2%;
margin-bottom: 19px;
padding: 0.5%;
/*border: 1px solid #840404;*/
height: 306px;
-webkit-box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.3);
-moz-box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.3);
box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.3);
background-color: #FFF;
position: relative;
}
.product-box:hover
{
background-color: #fcf7e8;
}
.product-box img
{
width: 100%;
height: 135px;
border-bottom: 1px solid #e0bbef;
}
.product-title
{
width: 100%;
text-align: center;
margin-top: 5px;
margin-bottom: 5px;
}
.product-title a
{
/*float: left;*/
width: 100%;
font-family: UTM_DINH_TRAN;
font-size: 30px;
color: #840404;
}
.product-title a:hover
{
color: #d03c3c;
}
.product-seperate
{
width: 100%;
height: 1px;
/*margin: 5px auto 7px;*/
background-color: #840404;
}
.product-sumary
{
width: 100%;
margin: 15px auto 0;
text-align: center;
color: #6f6f6f;
font-family: "UVN_Tin_Tuc_Nhe";
font-size: 14px;
}
.product-box .intro-readmore:hover
{
border: none;
}
.titlecategory
{
font-family: UTM_DINH_TRAN;
font-size: 35px;
color: #443d37;
}
.intro-readmore
{
background-color: #e0c34b;
position: absolute;
bottom: 4%;
right: 32%;
width: 36%;
height: 30px;
border-radius: 3px;
background-image: url("/Design/pattern_06.png");
background-position: top right;
background-repeat: no-repeat;
background-size: 40% 100%;
}
.intro-readmore a
{
color: #FFF;
margin-top: 7%;
float: left;
text-align: center;
width: 100%;
font-family: UVN_Tin_Tuc_Nhe;
}
.intro-readmore:hover
{
/*background-color: #f8e180;*/
}
/* CSS For Room detail*/
.left-block
{
float: left;
width: 60%;
}
.main-pic
{
float: left;
height: 300px;
width: 97%;
margin-bottom: 5px;
/*border: 1px solid #848990;*/
text-align: center;
background-color: rgba(189,199,210,0.3);
}
.main-pic img
{
/*width: 100%;*/
height: 100%;
max-width: 100%;
/*border: 1px solid #848990;*/
border: 1px solid #848990;
}
.thumb-pic
{
float: left;
width: 100%;
}
.thumb-item
{
/*border: 1px solid;*/
float: left;
height: 72px;
margin-bottom: 1%;
margin-right: 1.5%;
margin-top: 0.5%;
width: 23%;
}
.nav-thumb
{
width: 100%;
height: 100%;
border: 1px solid #848990;
}
.item-active
{
border: 1px solid #009bd5;
}
.right-block
{
float: left;
width: 39%;
text-align: justify;
font-family: UVN_Tin_Tuc_Nhe;
}
.titlepro
{
font-weight: bold;
font-size: 15px;
color: #C0C0C0;
line-height: 16px;
}
.des-info, .fared
{
font-size: 15px;
}
.fared
{
}
.lbdetail
{
float: left;
font-size: 15px;
margin-left: 26px;
margin-top: -15px;
}
.contactproduct
{
color: #FFF;
float: right;
text-align: center;
font-family: UVN_Tin_Tuc_Nhe;
font-size: 17px;
background-color: #e0c34b;
width: 36%;
height: 30px;
border-radius: 2px;
background-image: url("/Design/pattern_06.png");
background-position: top right;
background-repeat: no-repeat;
background-size: 40% 100%;
padding-top: 2%;
margin-bottom: 5%;
margin-right: 3%;
}
.contactproduct:hover
{
/*background-color: #916ea0;*/
}
.right-block hr
{
float: left;
width: 97%;
/*border-bottom: 1px dashed #3399FF;*/
}
.right-block .line-witdth-fix-parent
{
text-align: left;
}
.pic-title
{
font-family: UVN_MAU_TIM_2;
font-size: 23px;
color: #443d37;
margin-left: 1%;
}
/*CSS FOR Check rate*/
.check-rate-wrapper
{
float: left;
width: 100%;
}
.right-footer-reservation
{
width: 45%;
height: 216px;
margin: 1% auto 2%;
background-color: rgba(244,244,244,0.8);
-webkit-box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.3);
-moz-box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.3);
box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.3);
/*background-color: rgba(189,199,210,0.8);*/
}
.right-footer-reservation-wraper, .right-footer-info-wraper
{
width: 95%;
margin: 0 auto;
}
.reservation-input
{
float: left;
width: 100%;
height: 25px;
border: 1px solid #FFF;
margin-top: 7px;
margin-bottom: 7px;
background-color: #dee3e9;
font-family: Arial;
font-size: 12px;
position: relative;
}
.half
{
width: 47.3%;
margin-right: 4%;
}
div.half:last-child
{
margin-right: 0;
}
.right-footer-reservation p
{
float: left;
width: 100%;
text-align: center;
margin-bottom: 5%;
height: 25px;
font-family: UTM_DINH_TRAN;
font-size: 45px;
color: #443d37;
}
.select-number, .chose-date
{
float: left;
width: 100%;
height: 100%;
border: none;
margin: 0;
padding: 0;
box-shadow: none;
background-color: transparent;
color: #7a7877;
padding-left: 5px;
}
.select-number
{
/*width: 107px;*/
}
.chose-date
{
/*width: 162px;*/
}
.input-icon
{
position: absolute;
top: 0;
right: 0;
background-color: #dee3e9;
height: 25px;
width: 24px;
}
.input-icon img.date
{
float: left;
margin-top: 5px;
margin-right: 8px;
}
.input-icon img.number
{
float: left;
margin-left: 13px;
margin-top: 9px;
}
.btnCheckRate
{
color: #FFF;
float: right;
text-align: center;
font-family: UVN_Tin_Tuc_Nhe;
background-color: #e0c34b;
width: 27%;
height: 36px;
border-radius: 3px;
background-image: url("/Design/pattern_06.png");
background-position: top right;
background-repeat: no-repeat;
background-size: 40% 100%;
font-size: 18px;
border: none;
margin-top: 1%;
}
<form>
<div class="container">
<div class="navigation">
<div class="navigation-wrapper">
<div class="nav navigation-left">
<ul><li class='active'><a href='/vn/home-12.html'> <span>TRANG CHỦ</span></a></li><li><a href='/vn/article/introduction-suoi-hong-resort-14-1.html'> <span>GIỚI THIỆU</span></a></li><li class='has-sub'><a href='/vn/danh-sach-phong-2-2.html'> <span>PHÒNG NGỦ</span></a><ul><li><a href='/vn/phong-ngu-1-2.html'> <span>Phòng một giường</span></a></li><li><a href='/vn/phong-ngu-2-2.html'> <span>Phòng hai giường</span></a></li></ul></li><li class='has-sub'><a href='javascript:void();'> <span>DỊCH VỤ</span></a><ul><li><a href='/vn/article/phuc-vu-khach-doan-23-3.html'> <span>Phục vụ khách đoàn</span></a></li><li><a href='/vn/article/dich-vu-tam-bien-24-3.html'> <span>Dịch vụ tắm biển</span></a></li></ul></li></ul>
</div>
<div class="logo">
<a href="/vn/home-12.html" class="link">
<h1 class="res-name line-fix-parent-width">Suối Hồng</h1>
<div class="res-type line-fix-parent-width">
<span class="sp sp-left"></span>
<span class="res-cat">Resort</span>
<span class="sp sp-left"></span>
</div>
</a>
</div>
<div class="nav navigation-right">
<ul><li><a href='/vn/category/information-4-4.html'> <span>THÔNG TIN</span></a></li><li><a href='/vn/gallery-6.html'> <span>HÌNH ẢNH</span></a></li><li><a href='/vn/video-5.html'> <span>VIDEO -CLIPS</span></a></li><li><a href='/vn/contact-7.html'> <span>LIÊN HỆ</span></a></li></ul>
</div>
</div>
</div>
<div class="navi-hr"></div>
<div class="wrapper">
</div>
</form>
See this demo it'll help.
The child (the menu items) inherit the parent's z-index context. In the context of the parent it has an index of 10, but it only has an index of 2 within the page as the navigation does.
If it's possible, remove the z-index of your navigation. Alternatively, place the logo inside navigation and it will be inside the same context as your block menu.
The problem is that you either have the logo over the menus or you have the navigation background over the logo.
If you don't want to change your html, one thing you could do is make the navigation background transparent and apply the color to its parent.

how to align nav bar and slider together

ok, i am having problems with the ndex page im re building ( due to flash drive getting corrupted. :(, i want the nav bar to sit flush with the slider which is below it... at the moement the nav bat is way too the left and it doesnt look very good :/ e.g--->
i will give you both my html and my css to refer to:
HTMLof nav and slider
<div class="nav">
<ul>
<li class="home">Home</li>
<li class="">sports news
<ul>
<li>headlines</li>
<li>when an where</li>
<li>rewind</li>
<li>manager of the week </li>
</ul>
<li class="">music
<ul>
<li>whats new</li>
<li>the classic corner</li>
<li>hall of fame</li>
</ul>
</li>
<li class="news">on air
<ul>
<li>schedule</li>
<li>presenters</li>
<li>competitions</li>
<li>guests</li>
</ul>
</li>
<li class="contact">events</li>
<li class="contact">gallery</li>
<li class="contact">Contact</li>
</ul>
</div>
<div class="cleaner"></div>
<div id="middle">
<div id="slider">
<img src="images/slideshow/01.jpg" alt="slideshow 01" title="wow" />
<img src="images/slideshow/02.jpg" alt="slideshow 02" title="wow" />
<img src="images/slideshow/03.jpg" alt="slideshow 03" title="wow" />
<img src="images/slideshow/04.jpg" alt="slideshow 04" title="wow" />
<img src="images/slideshow/05.jpg" alt="slideshow 05" title="wow" />
</div>
</div>
CSS:
body {
margin: 0px;
padding: 0px;
color: #4d4638;
font-family: Tahoma, Geneva, sans-serif;
font-size: 13px;
line-height: 1.7em;
background: url(images/tooplate_body.jpg);
background-color: #c2b8a1;
background-repeat: repeat-x;
background-position: top
}
a, a:link, a:visited { color: #000; font-weight: bold; text-decoration: none; }
a:hover { text-decoration: underline; }
.orange {
color: #FC0;
}
.green {
color: #CF6;
}
p { margin: 0 0 10px 0; padding: 0; }
img { border: none; }
em { color: #000; font-weight: bold; font-style: normal }
h1, h2, h3, h4, h5, h6 { color: #000; font-weight: normal; }
h1 { font-size: 34px; margin: 0 0 20px 0; padding: 5px 0 }
h2 { font-size: 28px; margin: 0 0 20px 0; padding: 5px 0; }
h3 { font-size: 24px; margin: 0 0 15px; padding: 0; }
h4 { font-size: 18px; margin: 0 0 15px; padding: 0; }
h5 { font-size: 16px; margin: 0 0 10px; padding: 0; }
h6 { font-size: 14px; margin: 0 0 5px; padding: 0; }
.cleaner { clear: both }
.h10 { height: 10px }
.h20 { height: 20px }
.h30 { height: 30px }
.h40 { height: 40px }
.h50 { height: 50px }
.h60 { height: 60px }
a.more {
clear: both;
display: block;
width: 87px;
height: 31px;
padding-right: 15px;
line-height: 30px;
text-align: center;
color: #000;
font-weight: bold;
background: url(images/btn.png);
}
a.more:hover {
text-decoration: none;
color: #960;
}
.float_l { float: left }
.float_r { float: right }
.margin { margin: 10px; }
.image_wrapper {
display: inline-block;
border: 1px solid #cac2b1;
background: #b5ac98;
padding: 4px;
margin-bottom: 5px;
}
.image_fl {
float: left;
margin: 3px 15px 0 0;
}
.image_fr {
float: right;
margin: 3px 0 0 15px;
}
.list {
margin: 20px 0 20px 20px;
padding: 0;
list-style: none;
}
.list li {
color:#000;
margin: 0 0 5px 0;
padding: 0 0 0 25px;
background: url(images/list.png) no-repeat scroll 0 5px;
}
.list li a {
color: #000;
font-weight: normal;
}
.list li a:hover {
text-decoration: underline;
}
#header {
width: 960px;
padding: 10px 0;
margin: 0 auto;
}
#site_title {
float: left;
}
#site_title h1 {
margin: 30px 0 0 0;
padding: 0;
}
#site_title h1 a {
display: block;
width: 278px;
height: 50px;
color: #fff;
text-indent: -10000px;
background: url(images/logo.png) no-repeat;
}
/* menu */
#menu {
float: right;
width: 632px;
height: 48px;
margin-top: 40px;
background: url(images/menu.png)
}
#menu ul {
width: 600px;
margin: 0 auto;
padding: 0;
list-style: none;
}
#menu ul li {
float: left;
display: block;
padding: 0;
margin: 0;
display: inline;
text-align: center;
}
#menu ul li a {
display: block;
width: 116px;
padding: 9px 4px 9px 0;
margin: 0;
font-size: 14px;
text-align: center;
text-decoration: none;
color: #000000;
text-shadow: 1px 1px 1px #cec8ba;
font-weight: normal;
outline: none;
border: none;
background: url(images/menu_divider.png) center right no-repeat
}
#menu ul li a:hover, #menu ul li .current {
color: #fff;
text-shadow: 1px 1px 1px #3d3728;
}
#menu ul .last {
background: none;
}
#search_box {
float: right;
margin: 12px 0 0 0;
width: 170px;
height: 27px;
background: url(images/search.png) no-repeat;
}
#search_box form {
clear: both;
width: 170px;
height: 26px;
padding: 0;
margin: 0;
}
#searchfield {
float: left;
display: block;
height: 16px;
width: 130px;
padding: 5px;
font-size: 12px;
color: #ccc;
line-height: 0;
background: none;
border: none;
}
#searchbutton {
float: right;
display: block;
height: 26px;
width: 30px;
padding: 0;
margin: 0;
cursor: pointer;
background: none;
border: none;
}
/* end of menu */
/* slider */
#middle {
clear: both;
width: 940px;
height: 307px;
padding: 10px 40px;
margin: 0 auto;
background: url(images/middle_home.png) no-repeat
}
#middle_subpage {
clear: both;
width: 820px;
height: 207px;
padding: 60px 100px;
margin: 0 auto;
font-family: Georgia, "Times New Roman", Times, serif;
background: url(images/middle_subpage.png) no-repeat;
}
#middle_subpage h2 {
font-size: 48px;
color: #000;
}
#middle_subpage p {
font-size: 18px;
color: #000;
line-height: 30px;
}
#middle_subpage a {
color: #507921;
font-weight: normal;
}
#slider {
float: right;
width: 940px;
height: 300px;
overflow: hidden;
}
/* end of slider */
#main {
clear: both;
width: 960px;
padding: 30px 0;
margin: 0 auto;
}
.col_w960 { width: 960px; margin-bottom: 40px }
.col_w600 { width: 600px }
.col_w450 { width: 450px }
.col_w300 { width: 300px }
.col_allw300 { width: 300px; float: left; margin-right: 30px }
.col_last { margin: 0 }
.col_w960_last { margin: 0; background: none; }
.col_last { margin: 0; }
.wwd_box { clear: both; margin-top: 20px; margin-bottom: 40px }
.wwd_box img { float: left; width: 80px; margin-right: 30px }
.wwd_box h3 { font-size: 16px; margin-bottom: 0 }
.wwd_box h3 a { color: #507921; font-size: 16px; font-weight: normal }
.wwd_box p { margin-bottom: 30px; }
.lp_box { float: left; width: 300px; margin-right: 30px }
.lp_box h6 { font-weight: bold; color: #507921 }
.lp_box_last { margin: 0 }
.lp_box img { border: 1px solid #CCC; padding: 4px }
#cp_contact_form {
margin: 10px;
padding: 0;
width: 412px;
}
#cp_contact_form form {
margin: 0px;
padding: 0px;
}
#cp_contact_form form .input_field {
width: 400px;
padding: 10px;
border: 1px solid #ccc;
background: #fff;
color: #333;
font-family: Verdana,Geneva,sans-serif;
font-size: 12px;
margin-top: 5px;
}
#cp_contact_form form label {
display: block;
width: 100px;
margin-right: 10px;
font-size: 14px;
}
#cp_contact_form form textarea {
width: 400px;
height: 160px;
padding: 10px;
border: 1px solid #ccc;
background: #fff;
color: #333;
font-family: Verdana,Geneva,sans-serif;
font-size: 12px;
margin-top: 5px;
}
#cp_contact_form form .submit_btn {
margin: 5px 0px;
padding: 5px 14px;
text-decoration: none;
border: 1px solid #ccc;
background: #fff;
font-size: 14px;
}
#map {
margin: 10px;
}
#map img {
width: 300px;
height: 200px;
border: 1px solid #d9d3c5;
background: #b5ac98;
padding: 7px;
margin-bottom: 10px;
}
.news_box {
clear: both;
margin-bottom: 30px;
padding-bottom: 30px;
border-bottom: 1px dashed #333;
}
.news_box h2 {
font-size: 20px;
margin-bottom: 0;
}
.news_box p.date {
color: #000;
}
.news_box img {
float: left;
padding: 4px;
border: 1px solid #000;
margin-right: 30px;
}
.news_box a.more {
clear:none;
float: right;
}
.sb_lp_box {
clear: both;
margin-bottom: 20px;
}
.sb_lp_box img {
border: 1px solid #cac2b1;
background: #b5ac98;
padding: 8px;
margin-bottom: 10px;
}
.post_box {
clear: both;
margin-bottom: 30px;
}
.post_box h2 {
font-size: 20px;
margin-bottom: 10px;
}
.post_box p.post_meta {
margin-bottom: 0;
}
.post_box p span.cat a {
color: #507921;
font-weight: 400;
}
.post_box img {
width: 550px;
height: 160px;
border: 1px solid #cac2b1;
background: #b5ac98;
padding: 8px;
margin-bottom: 10px;
}
.post_box a.more {
float: left;
}
.lbe_box {
clear: both;
margin-bottom: 20px;
}
.lbe_box h3 {
font-size: 16px;
margin-bottom: 0;
}
.lbe_box h3 a {
color: #507921;
font-size: 16px;
font-weight: normal;
}
.lbe_box h3 a span {
font-size: 12px;
color: #507921;
}
.lbe_box p {
margin-bottom: 0;
}
.lbe_box p.date {
font-size: 10px;
font-weight: 700;
color: #507921;
}
#gallery {
margin: 0;
padding: 0;
}
#gallery ul {
margin: 0;
padding: 0;
}
#gallery ul li {
display: block;
float: left;
width: 281px;
margin: 0 30px 30px 0;
padding: 8px;
border: 1px solid #d0c9b8;
background: #b6ac97;
}
#gallery ul .third {
margin: 0 0 30px 0;
}
#gallery ul li a img {
border: 1px solid #ccc;
margin-bottom: 5px;
}
#footer_wrapper {
clear: both;
width: 100%;
background: #a19882;
border-top: 10px solid #d0c8b4;
}
#footer {
width: 960px;
margin: 0 auto;
padding: 15px 0;
text-align: center;
color: #000;
background: url(images/footer.jpg) top center no-repeat
}
color: #5fa008;
font-weight: normal;
}
.nav ul {
list-style: none;
background-color: #444;
text-align: center;
padding: 0;
margin: 0;
}
.nav li {
font-family: 'Oswald', sans-serif;
font-size: 1.2em;
line-height: 40px;
text-align: left;
}
.nav a {
text-decoration: none;
color: #fff;
display: block;
padding-left: 15px;
border-bottom: 1px solid #888;
transition: .3s background-color;
}
.nav a:hover {
background-color: #005f5f;
}
.nav a.active {
background-color: #aaa;
color: #444;
cursor: default;
}
/* Sub Menus */
.nav li li {
font-size: .8em;
}
#media screen and (min-width: 650px) {
.nav li {
width: 130px;
border-bottom: none;
height: 50px;
line-height: 50px;
font-size: 1.4em;
display: inline-block;
margin-right: -4px;
}
.nav a {
border-bottom: none;
}
.nav > ul > li {
text-align: center;
}
.nav > ul > li > a {
padding-left: 0;
}
/* Sub Menus */
.nav li ul {
position: absolute;
display: none;
width: inherit;
}
.nav li:hover ul {
display: block;
}
.nav li ul li {
display: block;
}
}
.nav ul{
position:relative;
z-index:9999;
}
}
Add this to your CSS:
.nav {
margin-right: auto;
margin-left: auto;
clear: both;
}
I made a fiddle for testing:
http://jsfiddle.net/8x1fkpoe/

how to bring drop down menu infront of slider

hi i am having provlems with my drop down menu on my index page, the drop down items are hidden below my image slider which is directly below my nav bar, i would like to be able to see the drop down menu items, any help would be greatly appreciated
thank you very much;
here is my html for the nav bar:
<div class="nav">
<ul>
<li class="home">Home</li>
<li class="">sports news
<ul>
<li>headlines</li>
<li>when an where</li>
<li>rewind</li>
<li>manager of the week </li>
</ul>
</li>
<li class="about"><a class="active" href="#">music</a></li>
<li class="news">events
<ul>
<li>News #1</li>
<li>News #2###</li>
<li>News #3</li>
</ul>
</li>
<li class="contact">events</li>
<li class="contact">gallery</li>
<li class="contact">Contact</li>
</ul>
</div>
<div class="cleaner"></div>
and here is my css:
/*
jmc
*/
body {
margin: 0px;
padding: 0px;
color: #4d4638;
font-family: Tahoma, Geneva, sans-serif;
font-size: 13px;
line-height: 1.7em;
background: url(images/tooplate_body.jpg);
background-color: #c2b8a1;
background-repeat: repeat-x;
background-position: top
}
a, a:link, a:visited { color: #000; font-weight: bold; text-decoration: none; }
a:hover { text-decoration: underline; }
.orange {
color: #FC0;
}
.green {
color: #CF6;
}
p { margin: 0 0 10px 0; padding: 0; }
img { border: none; }
em { color: #000; font-weight: bold; font-style: normal }
h1, h2, h3, h4, h5, h6 { color: #000; font-weight: normal; }
h1 { font-size: 34px; margin: 0 0 20px 0; padding: 5px 0 }
h2 { font-size: 28px; margin: 0 0 20px 0; padding: 5px 0; }
h3 { font-size: 24px; margin: 0 0 15px; padding: 0; }
h4 { font-size: 18px; margin: 0 0 15px; padding: 0; }
h5 { font-size: 16px; margin: 0 0 10px; padding: 0; }
h6 { font-size: 14px; margin: 0 0 5px; padding: 0; }
.cleaner { clear: both }
.h10 { height: 10px }
.h20 { height: 20px }
.h30 { height: 30px }
.h40 { height: 40px }
.h50 { height: 50px }
.h60 { height: 60px }
a.more {
clear: both;
display: block;
width: 87px;
height: 31px;
padding-right: 15px;
line-height: 30px;
text-align: center;
color: #000;
font-weight: bold;
background: url(images/tooplate_btn.png);
}
a.more:hover {
text-decoration: none;
color: #960;
}
.float_l { float: left }
.float_r { float: right }
.tooplate_margin { margin: 10px; }
.image_wrapper {
display: inline-block;
border: 1px solid #cac2b1;
background: #b5ac98;
padding: 4px;
margin-bottom: 5px;
}
.image_fl {
float: left;
margin: 3px 15px 0 0;
}
.image_fr {
float: right;
margin: 3px 0 0 15px;
}
.tooplate_list {
margin: 20px 0 20px 20px;
padding: 0;
list-style: none;
}
.tooplate_list li {
color:#000;
margin: 0 0 5px 0;
padding: 0 0 0 25px;
background: url(images/tooplate_list.png) no-repeat scroll 0 5px;
}
.tooplate_list li a {
color: #000;
font-weight: normal;
}
.tooplate_list li a:hover {
text-decoration: underline;
}
#tooplate_header {
width: 960px;
padding: 10px 0;
margin: 0 auto;
}
#site_title {
float: left;
}
#site_title h1 {
margin: 30px 0 0 0;
padding: 0;
}
#site_title h1 a {
display: block;
width: 278px;
height: 50px;
color: #fff;
text-indent: -10000px;
background: url(images/tooplate_logo.png) no-repeat;
}
/* menu */
#tooplate_menu {
float: right;
width: 632px;
height: 48px;
margin-top: 40px;
background: url(images/tooplate_menu.png)
}
#tooplate_menu ul {
width: 600px;
margin: 0 auto;
padding: 0;
list-style: none;
}
#tooplate_menu ul li {
float: left;
display: block;
padding: 0;
margin: 0;
display: inline;
text-align: center;
}
#tooplate_menu ul li a {
display: block;
width: 116px;
padding: 9px 4px 9px 0;
margin: 0;
font-size: 14px;
text-align: center;
text-decoration: none;
color: #000000;
text-shadow: 1px 1px 1px #cec8ba;
font-weight: normal;
outline: none;
border: none;
background: url(images/tooplate_menu_divider.png) center right no-repeat
}
#tooplate_menu ul li a:hover, #tooplate_menu ul li .current {
color: #fff;
text-shadow: 1px 1px 1px #3d3728;
}
#tooplate_menu ul .last {
background: none;
}
#search_box {
float: right;
margin: 12px 0 0 0;
width: 170px;
height: 27px;
background: url(images/tooplate_search.png) no-repeat;
}
#search_box form {
clear: both;
width: 170px;
height: 26px;
padding: 0;
margin: 0;
}
#searchfield {
float: left;
display: block;
height: 16px;
width: 130px;
padding: 5px;
font-size: 12px;
color: #ccc;
line-height: 0;
background: none;
border: none;
}
#searchbutton {
float: right;
display: block;
height: 26px;
width: 30px;
padding: 0;
margin: 0;
cursor: pointer;
background: none;
border: none;
}
/* end of menu */
/* slider */
#tooplate_middle {
clear: both;
width: 940px;
height: 307px;
padding: 10px 40px;
margin: 0 auto;
background: url(images/tooplate_middle_home.png) no-repeat
}
#tooplate_middle_subpage {
clear: both;
width: 820px;
height: 207px;
padding: 60px 100px;
margin: 0 auto;
font-family: Georgia, "Times New Roman", Times, serif;
background: url(images/tooplate_middle_subpage.png) no-repeat;
}
#tooplate_middle_subpage h2 {
font-size: 48px;
color: #000;
}
#tooplate_middle_subpage p {
font-size: 18px;
color: #000;
line-height: 30px;
}
#tooplate_middle_subpage a {
color: #507921;
font-weight: normal;
}
#slider {
float: right;
width: 940px;
height: 300px;
overflow: hidden;
}
/* end of slider */
#tooplate_main {
clear: both;
width: 960px;
padding: 30px 0;
margin: 0 auto;
}
.col_w960 { width: 960px; margin-bottom: 40px }
.col_w600 { width: 600px }
.col_w450 { width: 450px }
.col_w300 { width: 300px }
.col_allw300 { width: 300px; float: left; margin-right: 30px }
.col_last { margin: 0 }
.col_w960_last { margin: 0; background: none; }
.col_last { margin: 0; }
.wwd_box { clear: both; margin-top: 20px; margin-bottom: 40px }
.wwd_box img { float: left; width: 80px; margin-right: 30px }
.wwd_box h3 { font-size: 16px; margin-bottom: 0 }
.wwd_box h3 a { color: #507921; font-size: 16px; font-weight: normal }
.wwd_box p { margin-bottom: 30px; }
.lp_box { float: left; width: 300px; margin-right: 30px }
.lp_box h6 { font-weight: bold; color: #507921 }
.lp_box_last { margin: 0 }
.lp_box img { border: 1px solid #CCC; padding: 4px }
#cp_contact_form {
margin: 10px;
padding: 0;
width: 412px;
}
#cp_contact_form form {
margin: 0px;
padding: 0px;
}
#cp_contact_form form .input_field {
width: 400px;
padding: 10px;
border: 1px solid #ccc;
background: #fff;
color: #333;
font-family: Verdana,Geneva,sans-serif;
font-size: 12px;
margin-top: 5px;
}
#cp_contact_form form label {
display: block;
width: 100px;
margin-right: 10px;
font-size: 14px;
}
#cp_contact_form form textarea {
width: 400px;
height: 160px;
padding: 10px;
border: 1px solid #ccc;
background: #fff;
color: #333;
font-family: Verdana,Geneva,sans-serif;
font-size: 12px;
margin-top: 5px;
}
#cp_contact_form form .submit_btn {
margin: 5px 0px;
padding: 5px 14px;
text-decoration: none;
border: 1px solid #ccc;
background: #fff;
font-size: 14px;
}
#map {
margin: 10px;
}
#map img {
width: 300px;
height: 200px;
border: 1px solid #d9d3c5;
background: #b5ac98;
padding: 7px;
margin-bottom: 10px;
}
.news_box {
clear: both;
margin-bottom: 30px;
padding-bottom: 30px;
border-bottom: 1px dashed #333;
}
.news_box h2 {
font-size: 20px;
margin-bottom: 0;
}
.news_box p.date {
color: #000;
}
.news_box img {
float: left;
padding: 4px;
border: 1px solid #000;
margin-right: 30px;
}
.news_box a.more {
clear:none;
float: right;
}
.sb_lp_box {
clear: both;
margin-bottom: 20px;
}
.sb_lp_box img {
border: 1px solid #cac2b1;
background: #b5ac98;
padding: 8px;
margin-bottom: 10px;
}
.post_box {
clear: both;
margin-bottom: 30px;
}
.post_box h2 {
font-size: 20px;
margin-bottom: 10px;
}
.post_box p.post_meta {
margin-bottom: 0;
}
.post_box p span.cat a {
color: #507921;
font-weight: 400;
}
.post_box img {
width: 550px;
height: 160px;
border: 1px solid #cac2b1;
background: #b5ac98;
padding: 8px;
margin-bottom: 10px;
}
.post_box a.more {
float: left;
}
.lbe_box {
clear: both;
margin-bottom: 20px;
}
.lbe_box h3 {
font-size: 16px;
margin-bottom: 0;
}
.lbe_box h3 a {
color: #507921;
font-size: 16px;
font-weight: normal;
}
.lbe_box h3 a span {
font-size: 12px;
color: #507921;
}
.lbe_box p {
margin-bottom: 0;
}
.lbe_box p.date {
font-size: 10px;
font-weight: 700;
color: #507921;
}
#gallery {
margin: 0;
padding: 0;
}
#gallery ul {
margin: 0;
padding: 0;
}
#gallery ul li {
display: block;
float: left;
width: 281px;
margin: 0 30px 30px 0;
padding: 8px;
border: 1px solid #d0c9b8;
background: #b6ac97;
}
#gallery ul .third {
margin: 0 0 30px 0;
}
#gallery ul li a img {
border: 1px solid #ccc;
margin-bottom: 5px;
}
#tooplate_footer_wrapper {
clear: both;
width: 100%;
background: #a19882;
border-top: 10px solid #d0c8b4;
}
#tooplate_footer {
width: 960px;
margin: 0 auto;
padding: 15px 0;
text-align: center;
color: #000;
background: url(images/tooplate_footer.jpg) top center no-repeat
}
#tooplate_cr a {
color: #5fa008;
font-weight: normal;
}
.nav ul {
list-style: none;
background-color: #444;
text-align: center;
padding: 0;
margin: 0;
}
.nav li {
font-family: 'Oswald', sans-serif;
font-size: 1.2em;
line-height: 40px;
text-align: left;
}
.nav a {
text-decoration: none;
color: #fff;
display: block;
padding-left: 15px;
border-bottom: 1px solid #888;
transition: .3s background-color;
}
.nav a:hover {
background-color: #005f5f;
}
.nav a.active {
background-color: #aaa;
color: #444;
cursor: default;
}
/* Sub Menus */
.nav li li {
font-size: .8em;
}
/*******************************************
Style menu for larger screens
Using 650px (130px each * 5 items), but ems
or other values could be used depending on other factors
********************************************/
#media screen and (min-width: 650px) {
.nav li {
width: 130px;
border-bottom: none;
height: 50px;
line-height: 50px;
font-size: 1.4em;
display: inline-block;
margin-right: -4px;
}
.nav a {
border-bottom: none;
}
.nav > ul > li {
text-align: center;
}
.nav > ul > li > a {
padding-left: 0;
}
/* Sub Menus */
.nav li ul {
position: absolute;
display: none;
width: inherit;
}
.nav li:hover ul {
display: block;
}
.nav li ul li {
display: block;
}
}
#nav ul {
z-index: 9999;
}
thanks again;
From what I can see from the snippet provided, my best guess would be to add:
position:relative;
to your:
#nav ul{
z-index:9999;
}
HOWEVER I cannot see div id="nav" in your html! If you have just not included it in your snippet, that's fine, but if this is also an error and you mean to assign that css to div class="nav", then try changing that whole block to:
.nav ul{
position:relative;
z-index:9999;
}
One final note to remember, assign z-index to elements that ALSO have a position set (be it relative or absolute etc) - as far as i'm aware, z-index doesn't work unless the block has a position attribute set to it also.
Hope this works for you.

How to remove extraneous vertical space between html elements

I have a problem with spacing between form fields (and other HTML elements) as seen in the attached images. I've tried many things in the CSS but nothing has worked. I'm not sure if it's a paragraph marging-top setting.
thanks for the help.
.post-content is the class here and div.post-share for the facebook like buttons.
here's my style.css code:
body {
background: #f2f2f2;
padding-top: 58px;
padding-bottom: 15px;
}
.postid-1699 { padding-top: 338px; }
a {
color: #9f9f9f;
}
a:hover {
color: #3f3f3f;
}
a, p, h1, h2, h3, h4, h5, h6, div {
word-wrap: break-word;
}
h1, h2, h3 { letter-spacing: -1px;
}
/* Masonry */
#masonry {
margin: 0 auto;
visibility: hidden;
}
#masonry .thumb {
background: #fff;
border: 1px solid #e5e5e5;
font-size: 0.9em;
float: left;
margin: 0 8px 14px 8px;
position: relative;
width: 250px;
-webkit-box-shadow: 0 5px 10px #D6D6D6;
-moz-box-shadow: 0 5px 10px #D6D6D6;
box-shadow: 0 5px 10px #D6D6D6;
-webkit-border-bottom-right-radius: 5px;
-webkit-border-bottom-left-radius: 5px;
-moz-border-radius-bottomright: 5px;
-moz-border-radius-bottomleft: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
}
#masonry .featured-thumb-link {
display: block;
min-height: 70px;
position: relative;
text-align: center;
width: 100%;
}
#masonry .featured-thumb-gif {
background: transparent url("img/gif_overlay.png") no-repeat;
height: 50px;
width: 50px;
left: 50%;
top: 50%;
margin-left: -25px;
margin-top: -25px;
position: absolute;
}
#masonry .sticky {
background: #ffd;
}
#masonry .masonry-actionbar {
display: none;
font-weight: normal;
height: 25px;
position: absolute;
text-align: center;
top: 5px;
width: 250px;
z-index: 999;
}
#masonry .masonry-actionbar button {
font-weight: normal;
}
#masonry .masonry-actionbar-mobile {
display: none;
}
#masonry .post-title {
line-height: 1.3em;
font-size: 1em;
margin: 3px 0 16px 0;
padding: 5px 10px 0 10px;
text-align: center;
}
#masonry .masonry-meta {
border-top: 1px solid #f5f5f5;
clear: both;
color: #888;
font-size: 0.9em;
line-height: 1.3em;
padding: 5px 10px 10px 10px;
}
#masonry .masonry-meta-author {
font-weight: bold;
}
#masonry .masonry-meta-comment-likes {
border-top: none;
padding-bottom: 5px;
padding-top: 0;
}
#masonry .masonry-meta-comment-likes span {
margin: 0 0.3em;
}
#masonry .masonry-meta-comment {
margin-left: 35px;
}
#masonry .masonry-meta-comment-content {
white-space: pre-wrap;
}
#masonry .masonry-meta-avatar {
float: left;
margin: 2px 0px 5px 0;
width: 26px;
}
#masonry .masonry-meta-avatar img {
height: 26px;
width: 26px;
}
#masonry #reply-title {
}
#masonry .masonry-meta textarea {
height: 27px;
margin-top: 2px;
padding-top: 2px;
resize: none;
width: 100%;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
#masonry .masonry-meta form {
margin: 0;
}
#ajax-loader-masonry {
left: 50%;
margin-left: -12px;
position: absolute;
top: 400px;
}
#infscr-loading {
background: #000;
bottom: 0;
color: #fff;
left: 50%;
margin-left: -60px;
opacity: 0.3;
padding: 5px;
position: fixed;
text-align: center;
width: 120px;
z-index: 100;
-webkit-border-top-left-radius: 5px;
-webkit-border-top-right-radius: 5px;
-moz-border-radius-topleft: 5px;
-moz-border-radius-topright: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
-webkit-text-shadow: none;
-moz-text-shadow: none;
text-shadow: none;
}
#infscr-loading img {
width: 43px;
}
#post-lightbox {
background: transparent;
bottom: 0;
left: 0;
margin: 0;
overflow-x: auto;
overflow-y: scroll;
position: fixed;
right: 0;
top: 0;
width: 100%;
}
#post-lightbox .post-wrapper {
position : static;
width: 570px;
margin: 25px auto;
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.2);
-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.2);
box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
/* Post */
#post-masonry {
position: relative
}
.post-wrapper {
background: transparent;
border: 0px solid #e5e5e5;
margin-bottom: 45px;
-webkit-box-shadow: 0 0px 0px rgba(0,0,0,0.08);
-moz-box-shadow: 0 0px 0px rgba(0,0,0,0.08);
box-shadow: 0 0px 0px rgba(0,0,0,0.08);
z-index: 200;
}
.post-wrapper .h1-wrapper {
border-bottom: 1px solid #eee;
}
.post-wrapper .h1-wrapper h1 {
font-size: 1.5em;
line-height: 1.3em;
margin: 10px 25px;
text-align: center;
}
.post-wrapper .post-top-wrapper {
border-bottom: 1px solid #eee;
min-height: 48px;
padding: 20px 25px;
}
.post-wrapper .post-top-wrapper-header .follow {
font-weight: bold;
margin-top: 8px;
}
.post-wrapper .post-top-wrapper-header {
color: #999;
margin-left: 60px;
}
.post-wrapper .post-top-wrapper-author {
font-size: 1.5em;
font-weight: bold;
line-height: 1.2em;
}
.post-wrapper .post-top-wrapper-header a {
color: #000;
}
.post-wrapper .post-share {
position: absolute;
left: 50%;
margin-left: 320px;
}
.post-share-horizontal {
background: #fafafa;
display: block;
padding: 8px 8px 0 8px;
}
.post-share-horizontal #___plusone_0, .post-share-horizontal #___plusone_1 {
margin-left: -25px !important;
margin-right: -15px !important;
padding-bottom: 13px !important;
}
.post-share .fb_iframe_widget {
display: block;
height: 20px;
overflow: hidden;
width: 90px;
}
.post-share .fb_iframe_widget span {
width: 450px !important;
}
.post-comments-wrapper .fb_iframe_widget span, .post-comments-wrapper .fb_iframe_widget {
width: 100% !important;
}
.post-share-horizontal .pinterest img, .post-share-horizontal .post-embed, .post-share-horizontal .post-email, .post-share-horizontal #post-email-board, .post-share-horizontal .post-report {
margin-top: -14px;
}
.post-wrapper .post-top-meta {
margin: 0 25px;
padding: 20px 0 0 0;
}
.post-wrapper .post-top-meta .pull-right {
color: #a1a1a1;
font-size: 0.9em;
}
.post-wrapper .post-top-meta .pull-right a {
font-weight: bold;
}
.post-wrapper .post-actionbar {
font-weight: normal;
}
.post-wrapper .post-actionbar button {
font-weight: normal;
}
.post-wrapper .post-actionbar .btn {
margin-bottom: 4px;
}
.post-wrapper .featured-thumb {
position: relative;
}
.post-wrapper .post-featured-photo {
background: #f2f2f2;
margin: 24px;
position: relative;
text-align: center;
}
.post-wrapper .post-nav-next {
position: absolute;
margin-top: -10px;
top: 50%;
right: -18px;
}
.post-wrapper .post-nav-prev {
position: absolute;
margin-top: -10px;
top: 50%;
left: -18px;
}
.post-wrapper .post-nav-next a, .post-wrapper .post-nav-prev a {
display: block;
font-size: 15px;
}
.post-wrapper .post-nav-next a:hover, .post-wrapper .post-nav-prev a:hover {
color: #555;
text-decoration: none;
}
.post-wrapper .post-nav-link-lightbox {
border: 1px solid #ccc;
height: 32px;
line-height: 32px;
width: 32px;
-webkit-border-radius: 16px;
-moz-border-radius: 16px;
border-radius: 16px;
-webkit-text-shadow: 1px 1px #fff;
-moz-text-shadow: 1px 1px #fff;
text-shadow: 1px 1px #fff;
}
.post-wrapper .post-nav-link-lightbox i {
display: block;
line-height: 32px;
}
.post-wrapper .post-nav-next-lightbox, .post-wrapper .post-nav-prev-lightbox {
position: fixed;
}
.post-wrapper .post-nav-link-lightbox:hover {
border: 1px solid #aaa;
}
.post-wrapper .post-content {
margin: 25px;
}
.post-wrapper .post-content h1 {
font-size: 1em;
font-weight: normal;
line-height: 1.4em;
}
.post-wrapper .post-content .post-title-large {
font-size: 1.5em;
font-weight: bold;
line-height: 1em;
}
.post-wrapper .post-original-author {
color: #999;
font-size: 0.9em;
}
.post-wrapper .post-original-author a {
font-weight: bold;
}
.post-wrapper .post-content .thecontent img {
height: auto;
}
.post-wrapper .post-comments {
border-top: 1px solid #eee;
padding-top: 20px;
}
.post-wrapper .post-comments-wrapper {
margin: 0 25px;
}
.post-wrapper .post-board {
border-top: 1px solid #eee;
margin-bottom: 16px;
}
.post-wrapper .post-board-wrapper {
margin: 0 25px;
}
.post-wrapper .post-board-wrapper h4 {
font-size: 1.1em;
margin-top: 12px;
}
.post-wrapper .post-board-wrapper .follow {
font-weight: bold;
margin-top: -2px;
}
.post-wrapper .post-board-wrapper a {
font-weight: bold;
}
.post-wrapper .post-board-photo {
background: #fcfcfc;
border-right: 4px solid #fff;
border-bottom: 4px solid #fff;
float: left;
height: 48px;
overflow: hidden;
width: 48px;
}
.post-wrapper .post-board-photo:nth-child(n+8) {
border-left: 2px solid #fff;
border-right: 3px solid #fff;
}
.post-wrapper .post-board-photo:nth-child(10) {
border-right: none;
}
.post-wrapper .post-likes {
border-top: 1px solid #eee;
padding-top: 10px;
}
.post-wrapper .post-likes-wrapper {
margin: 0 25px 5px 25px;
}
.post-wrapper .post-likes-wrapper h4 {
float: left;
font-size: 1.1em;
margin-top: 12px;
}
.post-wrapper .post-likes-wrapper a {
display: inline-block;
margin: 0 0 6px 6px;
}
.post-wrapper .post-likes-wrapper .more-likes {
margin-left: 7px;
}
.post-wrapper .post-meta-top {
margin: 0 25px;
padding: 5px 0 15px 0;
}
.post-wrapper .post-likes-avatar {
margin-left: 55px;
}
.post-wrapper #post-repins {
border-top: 1px solid #eee;
padding: 10px 0;
}
.post-wrapper .post-repins-wrapper {
margin: 0 25px 5px 25px;
}
.post-wrapper .post-repins-wrapper h4 {
float: left;
font-size: 1.1em;
margin-top: 12px;
}
.post-wrapper .post-repins-wrapper ul {
list-style-type: none;
margin-left: 62px;
}
.post-wrapper .post-repins-wrapper li {
margin-bottom: 6px;
min-height: 50px;
}
.post-wrapper .post-repins-wrapper li.more-repins {
min-height: 1em;
}
.post-wrapper .post-repins-wrapper .post-repins-content {
line-height: 1.1em;
margin-left: 55px;
padding-top: 15px;
}
.post-wrapper .post-repins-wrapper a {
font-weight: bold;
}
.post-wrapper .post-repins-avatar {
margin-right: 4px;
}
.thetags {
margin-top: 6px;
padding: 0;
}
.thetags a {
border: 1px solid #e1e1e8;
display: inline-block;
margin-bottom: 5px;
max-width: 90%;
padding: 2px 5px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.thetags a:hover {
background: #fcfcfc;
text-decoration: none;
}
#post-repin-box {
background: #f2f2f2;
left: 50%;
margin-left: -210px;
max-width: 420px;
position: absolute;
}
#post-repin-box .close {
margin: 3px 8px 0 0;
}
#post-repin-box .post-repin-box-photo {
background: #e1e1e1;
border: 1px solid #aaa;
margin: 5px 25px;
overflow: hidden;
text-align: center;
}
#post-repin-box .post-repin-box-photo img {
max-height: 300px;
}
#post-repin-box #repinform {
margin: 10px 25px 10px 25px;
}
#post-repin-box .input-prepend, #post-repin-box .input-append {
margin: 0 0 3px 0;
width: 100%;
}
#post-repin-box .add-on {
background-color: #fcfcfc;
color: #999;
font-size: 18px;
font-weight: bold;
height: 22px;
line-height: 22px;
margin: 3px -1px 0 -1px;
width: 13%;
}
#post-repin-box .input-prepend input, #post-repin-box .input-append input {
font-size: 18px;
height: 32px;
margin: 3px 0;
text-align: left;
width: 84%;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
#post-repin-box .input-append input {
text-align: right;
}
#post-repin-box #repinform select {
font-size: 18px;
height: 32px;
margin: 3px 0 6px 0;
width: 65%;
background: rgb(252,252,252);
background: -moz-linear-gradient(top, rgba(252,252,252,1) 0%, rgba(241,241,241,1) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(252,252,252,1)), color-stop(100%,rgba(241,241,241,1)));
background: -webkit-linear-gradient(top, rgba(252,252,252,1) 0%,rgba(241,241,241,1) 100%);
background: -o-linear-gradient(top, rgba(252,252,252,1) 0%,rgba(241,241,241,1) 100%);
background: -ms-linear-gradient(top, rgba(252,252,252,1) 0%,rgba(241,241,241,1) 100%);
background: linear-gradient(to bottom, rgba(252,252,252,1) 0%,rgba(241,241,241,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfcfc', endColorstr='#f1f1f1',GradientType=0 );
}
#post-repin-box #repinform #noboard select {
color: #999;
}
#post-repin-box #repinform #repinform-add-new-board {
margin-top: 3px;
padding: 6px 10px;
}
#post-repin-box #repinform #board-add-new {
display: none;
font-size: 18px;
font-weight: bold;
height: 21px;
margin: 5px 0 5px 0;
width: 61%;
}
#post-repin-box #repinform textarea {
font-size: 18px;
height: 4em;
resize: vertical;
text-align: center;
width: 100%;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
#post-repin-box #repinform #pinit {
font-size: 1.2em;
font-weight: bold;
margin: 5px 0;
}
#post-repin-box #repinform .alert {
height: 18px;
}
#post-repin-box #repinnedmsg {
margin: 0 25px 15px 25px;
}
#post-zoom-overlay {
background: #000;
bottom: 0;
display: none;
left: 0;
position: fixed;
right: 0;
top: 0;
z-index: 1055;
opacity: 0.85;
filter: alpha(opacity=85);
}
#post-embed-overlay {
background: #fff;
bottom: 0;
display: none;
left: 0;
position: fixed;
right: 0;
top: 0;
z-index: 1055;
opacity: 0.92;
filter: alpha(opacity=92);
}
#post-embed-box {
z-index: 1060;
}
#post-embed-box .modal-footer {
text-align: left;
}
#post-embed-box .modal-footer .help-inline {
color: #aaa;
font-size: 1.3em;
margin-top: -10px;
}
#post-embed-box input {
font-size: 1.3em;
padding: 10px;
}
#post-embed-box .modal-footer textarea {
background-color: #f5f5f5;
font-size: 1.3em;
line-height: 1.2em;
height: 6em;
padding: 10px;
resize: none;
width: 100%;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
#post-email-overlay, #post-email-board-overlay {
background: #fff;
bottom: 0;
display: none;
left: 0;
position: fixed;
right: 0;
top: 0;
z-index: 1055;
opacity: 0.92;
filter: alpha(opacity=92);
}
#post-email-box, #post-email-board-box {
z-index: 1060;
}
#post-email-box .modal-footer, #post-email-board-box .modal-footer {
text-align: left;
}
#post-email-box .modal-footer .help-inline, #post-email-board-box .modal-footer .help-inline {
color: #aaa;
font-size: 1.3em;
margin-top: -10px;
}
#post-email-box input, #post-email-board-box input {
font-size: 1.3em;
padding: 10px;
}
#post-email-box .modal-footer textarea, #post-email-board-box .modal-footer textarea {
font-size: 1.3em;
line-height: 1.2em;
height: 6em;
padding: 10px;
resize: none;
width: 100%;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
#post-report-overlay {
background: #fff;
bottom: 0;
display: none;
left: 0;
position: fixed;
right: 0;
top: 0;
z-index: 1055;
opacity: 0.92;
filter: alpha(opacity=92);
}
#post-report-box {
z-index: 1060;
}
#post-report-box .modal-footer {
text-align: left;
}
#post-report-box .modal-footer .help-inline {
color: #aaa;
font-size: 1.3em;
margin-top: -10px;
}
#post-report-box input {
font-size: 1.3em;
padding: 10px;
}
#post-report-box .modal-footer textarea {
font-size: 1.3em;
line-height: 1.2em;
height: 6em;
padding: 10px;
resize: none;
width: 100%;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.subpage-title h1 {
font-size: 1.8em;
line-height: 1.2em;
padding-bottom: 0.6em;
margin-bottom: 5px;
text-align: center;
-webkit-text-shadow: 1px 1px #fff;
-moz-text-shadow: 1px 1px #fff;
text-shadow: 1px 1px #fff;
}
.subpage-title p {
border-top: 3px double #ccc;
padding: 8px 0;
text-align: center;
}
.grand-title-wrapper {
margin: 30px 0 60px 0;
text-align: center;
}
.grand-title-wrapper h1 {
border-bottom: 3px double #ccc;
font-size: 1.8em;
line-height: 1.2em;
padding-bottom: 0.6em;
margin-bottom: 5px;
-webkit-text-shadow: 1px 1px #fff;
-moz-text-shadow: 1px 1px #fff;
text-shadow: 1px 1px #fff;
}
.grand-title-wrapper h1 a {
font-weight: bold;
}
.grand-title-wrapper .grand-title-subheader {
border-bottom: 3px double #ccc;
padding: 4px 0 8px 0;
}
.grand-title-wrapper .grand-title-subheader .avatar {
height: 32px;
width: 32px;
}
.grand-title-wrapper .grand-title-subheader a {
color: #000;
font-weight: bold;
}
.grand-title-wrapper .grand-title-subheader .pull-left a {
margin-right: 5px;
}
.grand-title-wrapper .follow {
color: #000;
font-weight: bold;
}
/* Comments */
.post-comments .commentlist {
list-style-type: none;
margin: 0;
padding: 0;
}
.post-comments .commentlist li {
list-style: none;
padding-bottom: 1em;
}
.post-comments .commentlist ul.children li {
margin: 1em 0 0 0;
padding: 0;
}
.post-comments .comment-avatar {
float: left;
padding: 3px 10px 0 0;
}
.post-comments .comment .pull-right a {
padding: 2px 6px;
font-size: 0.8em;
line-height: 15px;
color: #888;
background-color: #f5f5f5;
background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
border-color: #e6e6e6 #e6e6e6 #bfbfbf;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
*background-color: #e6e6e6;
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
border: 1px solid #ddd;
*border: 0;
border-bottom-color: #ccc;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
*margin-left: .3em;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.post-comments .comment .pull-right a:hover {
background-color: #e6e6e6;
*background-color: #d9d9d9;
background-position: 0 -15px;
text-decoration: none;
-webkit-transition: background-position 0.1s linear;
-moz-transition: background-position 0.1s linear;
-o-transition: background-position 0.1s linear;
transition: background-position 0.1s linear;
}
.post-comments .comment-content {
color: #333;
line-height: 1.3em;
margin-left: 60px;
padding-bottom: 5px;
width: 80%;
}
.post-comments span.bypostauthor a.url {
background-color: #aaa;
color: #fff;
margin-right: 5px;
padding: 0 3px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.post-comments span.bypostauthor a.url:hover {
background-color: #990000;
text-decoration: none;
}
.post-comments #reply-title {
color: #666;
font-size: 18px;
margin: 0;
padding: 0;
}
.post-comments #cancel-comment-reply-link {
margin-left: 60px;
}
.post-comments blockquote p {
font-size: 1em;
}
#commentform .commentform-input {
color: #666;
margin-right: 14px;
width: 31%;
}
#commentform .commentform-input:nth-child(3) {
margin-right: 0;
}
#commentform .commentform-field {
width: 94%;
}
#commentform .textarea-wrapper {
margin-left: 60px;
}
#commentform textarea {
background: #fafafa;
height: 48px;
resize: vertical;
width: 100%;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
/* Media Queries */
#media (min-width: 1200px) {
#post-lightbox .post-wrapper {
width: 570px;
}
#commentform .commentform-input {
margin-right: 10px;
width: 32%;
}
.sidebar .sidebar-left-single {
width: 270px;
}
.sidebar-right-single {
margin-left: 5px;
}
.board-mini {
width: 270px;
}
.board-mini .board-photo-wrapper {
height: 65.5px;
width: 65.5px;
}
.board-domain .board-domain-wrapper {
height: 55px;
width: 55px;
}
.post-wrapper .post-share {
margin-left: 320px;
}
.usercp-pins #pin-upload-postdata-wrapper form .input-prepend input, .usercp-pins #pin-upload-postdata-wrapper form .input-append input {
width: 85%;
}
}
#media (max-width: 979px) {
body {
padding-top: 0;
}
#post-lightbox .post-wrapper {
width: 460px;
}
.sidebar {
padding-top:0;
}
.sidebar .sidebar-left-single {
width: 166px;
}
.board-mini {
width: 166px;
}
.board-mini .board-photo-wrapper {
height: 39.5px;
width: 39.5px;
}
.board-domain .board-domain-wrapper {
height: 29px;
width: 29px;
}
.post-wrapper .post-share {
margin-left: 260px;
}
.post-top-meta .pull-right {
clear:both;
float: none;
padding-top: 10px;
}
#double-left-column {
padding-bottom: 20px;
}
#scrolltotop {
right: 5px
}
#scrolltotop a {
padding: 5px 10px;
}
#commentform .commentform-input {
margin-right: 14px;
width: 100%;
}
#commentform .commentform-field {
width: 98%;
}
}
#media (min-width: 768px) and (max-width: 979px) {
#pin-postdata-add-new-board {
float: left;
}
}
#media (max-width: 767px) {
.sidebar .sidebar-left-single, .post-share {
display: none;
}
.sidebar-right-single {
margin-top: 0;
margin-left: 0;
}
.post-wrapper .post-board {
display: block;
}
.post-wrapper {
margin-bottom: 5px;
}
.board-mini {
width: 166px;
}
#userbar .nav {
display: block;
}
.usercp-pins #pin-upload-postdata-wrapper form .input-prepend input, .usercp-pins #pin-upload-postdata-wrapper form .input-append input {
width: 85%;
}
}
#media (max-width: 480px) {
#shadowtop { margin-top: -5px;
}
#masonry .thumb {
width: 93%;
}
#masonry .featured-thumb {
height: auto !important;
width: 100% !important;
}
#masonry .masonry-actionbar-mobile {
display: block;
margin-bottom: 5px;
text-align: center;
}
#post-repin-box {
margin-left: 0;
max-width: 100%;
top: 10px;
left: 10px;
right: 10px;
}
#post-repin-box select {
max-width: 50%;
}
#post-repin-box .post-repin-box-photo img {
max-height: 150px;
}
.post-wrapper .post-board-photo:nth-child(n+8) {
border-left: none;
border-right: 4px solid #fff;
}
.post-wrapper .post-board-photo:nth-child(10) {
border-right: none;
}
.post-wrapper .post-top-wrapper-header .follow {
margin-top: -40px;
}
.post-wrapper .post-top-wrapper-header {
clear: both;
margin: 50px 0 0 0;
}
.board-mini {
width: 88%;
}
.board-mini .board-photo-wrapper {
height: auto;
min-height: 35px;
width: 24.5%;
}
#user-profile-follow .follow-wrapper {
margin: 10px 0;
width: 90%;
}
}
#media (max-width: 480px) and (orientation:landscape) {
#masonry .thumb {
margin-left: 13px;
margin-right: 13px;
}
#shadowtop { margin-top: -2px;
}
it was a Google Web fonts plugin that caused it. I disabled the plugin and the problem went away.
this is from the HTML source code:
p {
margin-top: 269px; margin-bottom: 188px;
}