z-index not effect with child element - html

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.

Related

CSS: Slider overlaps Drop down Menu on Mobile - Z-Index issue?

Update:
I'm sure this will be easy fix for advanced members. I have created drop down menu with the 'nav' element. For some reason as hard as I try, I cannot get the menu to overlap the slider images below it when you expand it on mobile. I've tried lowering the Z-index on the slider and raising it on the menu. What am I doing wrong? Thanks in advance:
UPDATE: Here is a fiddle link as requested by a comment which includes the HTML. https://jsfiddle.net/wknow6cv/#&togetherjs=ADxkd31O6q
#import 'https://fonts.googleapis.com/css?family=Alegreya+Sans';
* {
margin: 0;
padding: 0;
border: 0;
overflow-x: hidden;
}
html,body
{
width: 100%;
height: 100%;
margin: 0px;
padding: 0px;
}
body {
background: #F5F5F5;
color: #67727A;
font-family: 'Alegreya', Sans-serrif;
margin: 0;
}
h3 {
font-size: 150%;
line-height: 155%;
padding: 5% 0;
font-weight: 400;
}
p{
font-size: 120%;
line-height: 150%;
padding: 3%;
text-indent: 2%;
text-align: center;
}
img{
max-width: 100%;
height: auto;
width: auto;
margin-bottom: -4px;
}
header{
background-color: #6991AC;
width: 100%;
height: 120px;
}
h1{
position:absolute;
right: 600px;
top:30px;
}
#top-left-menu {
right: 0px;
}
#logo{
margin: 20px;
float: left;
width: 380px;
height: 60px;
background: url(img/RD.png) no-repeat center;
left: 0px;
top: 0px;
}
p {
font-size: 1.4vw;
}
h3{
font-size: 1.5vw;
}
/*--- Start Navigation --*/
nav{
float: right;
padding: 25px 20px 0 0; /*--top right bottom left--*/
}
#menu-icon{
display: hidden;
width: 40px;
height: 40px;
background: url(img/nav.png) center;
}
a:hover#menu-icon {
border-radius: 4px 4px 0 0;
}
ul{
list-style-type: none;
}
nav ul li {
font-family: 'Alegreya Sans', Sans-serrif;
font-size: 150%;
display: inline-block;
/*makes the links go left from right instead of up and down*/
float: left;
padding: 10px;
}
nav ul li a {
text-decoration: none;
color: #F5F5F5;
}
nav ul li a:hover {
color: #C3D7DF;
}
/*.current{
color: #C3D7DF;
}
/*--End Navigation--*/
.one-fourth {
width: 25%;
float: left;
text-align: center;
font-family: Arial;
color: #F0F0F0;
}
#cloud {
background-color: #C3D7DF;
}
#lock {
background-color: #6991AC;
}
#headset {
background-color: #C3D7DF;
}
#truck {
background-color: #6991AC;
}
.one-fourth i { /*--Icons at one fourth blocks--*/
color: #F0F0F0;
font-size: 410%;
padding: 13% 0 4% 0;
}
article {
float: left;
margin: 0 auto;
width: 50%;
height: auto;
}
#sec-1 {
background-color: #FFFFFF;
}
aside {
float: right;
margin: 0 auto;
width: 50%;
height: auto;
}
.one-third {
width: 33.3333333%;
float: left;
text-align: center;
color: #FFFFFF
}
#google{
background-color: #A2B1C1;
}
#marketing {
background-color: #BEB9AD;
}
#customers {
background-color: #AADCD2;
}
/*--Start Footer--*/
footer {
background-color: #4682B4;
width: 100%;
}
.social {
list-style-type: none;
text-align: center;
}
.social li {
display: inline;
}
.social i { /*--icons--*/
font-size: 220%;
padding: 3% 3% 3% 2%;
color: #C3D7DF;
}
.social i:hover {
color: F5F5F5;
}
footer.second { /*--Socket--*/
border-top: 1px solid #AADCD2;
background-color: #544B59;
max-height: 55px;
text-align: center;
margin: 0;
}
footer.second p {
padding: 5px 0 9px 0;
text-align: center;
}
.carouselbox {
font-family: helvetica,sans-serif;
font-size: 14px;
width: 100px;
position: relative;
margin: 1em;
border: 1px solid #ccc;
box-shadow: 2px 2px 10px #ccc;
overflow: hidden;
}
.content {
margin: 0;
padding: 0;
}
.content li {
font-size: 100px;
margin: 0;
padding: 0;
width: 100%;
list-style: none;
text-align: center;
}
.new-inner {
height: 800px;
width: 100%;
float: left;
background-color: #FFFAFA;
font-family: Arial;
}
.nip1 {
width: 40%;
}
/*---------Insert Slideshow stuff below------*/
.cycle-slideshow{
width: 100%;
display: block;
position: relative;
margin: 0 auto;
overflow: hidden;
}
.cycle-prev, .cycle-next {
font-size: 200%;
color: #FFF;
top: 50%;
display: block;
position: absolute;
z-index: 9999;
cursor: pointer;
}
.cycle-prev {left: 10%;}
.cycle-next {right: 10%}
.cycle-pager{
width: 100%;
text-align: center;
display: block;
position: absolute;
bottom: 20px;
z-index: 9999;
cursor: pointer;
}
.cycle-pager span {
text-indent: 100%;
white-space: normal;
width: 12px;
height: 12px;
display: inline-block;
border: 1px solid #FFF;
border-radius: 50%;
margin: 0 10px;
}
.cycle-pager .cycle-pager-active {background: #FFF;}
/*------------MEDIA QUERIES ARE NOW STARTING-------------*/
#media screen and (max-width: 768px){
p {
font-size: 250%;
}
h3{
font-size: 260%;
}
header{
width: 100%;
}
#logo {
margin: 15px 0 20 -25px;
background: url(img/RD_mobile.png) no-repeat center;
float: left;
width: 170px;
height: 60px;
}
#menu-icon {
display: inline-block;
}
nav ul, nav:active ul {
display: none;
z-index: 1000;
position: absolute;
padding: 20px;
background: #6991AC;
right: 20px;
top: 60px;
border: 1px solid #FFF;
border-radius: 2px 0 2px 2px;
width: 50%;
}
nav:hover ul {
display: block;
}
nav li {
text-align: center;
width: 100%;
padding: 10px 0;
}
.one-fourth {
float: left;
width: 100%;
font-size: 30%;
}
.one-fourth i {
font-size: 500%;
padding: 4% 0 1% 0;
}
article {
width: 100%;
}
aside {
width: 100%;
}
.hand-mobile {
display: none;
}
.social i {
font-size: 100%;
}
}
Maybe try to change the media queries nav to position: relative;
EDIT:
Try this instead, change the display: none to inline:
nav ul, nav:active ul {
display: inline;
z-index: 1000;
position: relative;
padding: 20px;
background: #6991AC;
right: 20px;
top: 60px;
border: 1px solid #FFF;
border-radius: 2px 0 2px 2px;
width: 50%;
}

Centering image on my footer

I am trying to figure out how to center the logo image on my footer. I want it to be able to scale as the browser changes but stay inside the center. If anyone knows how I can fix this that would really help! Thank you! I really appreciate all of the help with this. I have figured it out now and I am good to go.
.msum {
position: absolute;
bottom: 5%;
width: 100%;
display: block;
width: 200px;
height: 50px;
}
/*Rest of Code*/
figure.stayssame {
width: 100%;
}
figure video {
width: 100%;
height: 80%;
}
p {
padding: 2%;
}
.video-txt {
position: absolute;
top: 30%;
z-index: 9;
color: #FFF;
width: 100%;
text-align: center;
font-size: 40px;
}
object {
position: absolute;
left: 0%;
top: -5%;
z-index: 10;
width: 15%;
}
/*ALL CODE FROM DESKTOP*/
figure.adjustable {
width: 29%;
}
html {
position: relative;
min-height: 100%;
}
body {
margin: 0 0 100px;
/* bottom = footer height */
font-family: 'Inconsolata', monospace;
/*font-family: 'Courier New', sans-serif;*/
font-weight: 300;
font-size: 20px;
line-height: 1.4em;
}
.squish {
margin-right: 125px;
}
.text {
padding: 5px;
}
.button {
margin-bottom: 50px;
margin-left: 20%
}
header {
position: fixed;
z-index: 1000;
width: 100%;
top: 0px;
background-color: #670809;
height: 70px;
letter-spacing: 1px;
line-height: 55px;
padding: 9px;
word-spacing: 5px;
}
header,
h1,
h2 {
font-family: 'Orbitron', sans-serif;
}
.space {
padding: 5px;
color: white;
}
nav {
float: left;
width: 100%;
}
nav ul li.active a {
background-color: none;
color: white;
text-decoration: none;
}
nav ul li a:hover {
color: #00E3FF;
}
nav ul li a:visited {
text-decoration: none;
}
/*nav ul li a {
display:inline-block;
padding: 1 px;
color: #fff;
letter-spacing: 1 px;
text-decoration:none;
text-transform: uppercase;
margin: .55em;
font-size: 5 px;
float: right;
}
nav ul li.active a {
/*background-color: none;
color: white;
text-decoration:none;
}
a:hover {
/*background-color:none;
color:black;
background-color:#00E3FF;
}
nav ul li a:visited {
color:black;
text-decoration:none;
}
*/
form {
padding-left: 20%;
}
/* header tags */
h1 {
text-align: center;
color: #013397;
font-size: 40px;
padding-top: 50px;
}
h2 {
text-align: center;
color: #00E3FF;
font-size: 30px;
margin: 5px;
padding: 20px;
}
p {
text-align: left;
}
.clearfix:after {
content: " ";
display: block;
clear: both;
}
#box {
background-color: #94DBEC;
}
hr.style2 {
border-top: 3px double #00E3FF;
width: 300px
}
section {
width: 85%;
margin-left: auto;
margin-right: auto;
margin-top: 35px;
}
img.adjustable {
width: 100%;
max-width: 100%;
height: auto;
/* max-width: 400px;
max-height: 400px;*/
margin: 1em;
/*width: 90%;
margin:5%;*/
}
#inner {
height: 100px;
padding: 15px 0;
}
#container {
height: 100%;
}
.imgbox5 {
padding-right: 30px;
padding-left: 0px;
}
.imgbox4 {
padding-right: 30px;
padding-left: 0px;
}
.imgbox3 {
padding-right: 30px;
padding-left: 0px;
}
.imgbox2 {
padding-right: 30px;
}
.imgbox {
padding-right: 30px;
padding-left: 0px;
}
#firstpara {
background-color: #5E5757;
color: white;
}
#secpara {
background-color: #5E5757;
color: white;
}
#thirdpara {
background-color: #5E5757;
color: white;
}
#fourthpara {
background-color: #5E5757;
color: white;
}
#primary {
background-color: #5E5757;
color: white;
}
#enroll {
margin: 0;
padding: 0;
}
/*section{
text-align: center;
width: 100%;
}*/
footer {
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 100px;
padding-bottom: 2%;
background-color: #670809;
font-family: 'Inconsolata', monospace;
/* text */
padding-left: 10px;
padding-top: 15px;
color: #ffffff;
font-size: 15px;
text-align: center;
}
a {
color: white;
}
a,
a:active {
color: white;
text-decoration: none;
}
.side {
left-margin: 10px;
right-margin: 10px;
}
object {
position: absolute;
top: 350px;
left: 100px;
height: 100px;
width: 200px;
z-index: 2000;
}
#headline {
text-align: center;
position: absolute;
top: 10%;
left: 35%;
color: #00E3FF;
line-height: 20px;
font-family: 'Orbitron', sans-serif;
word-spacing: 1px;
font-size: 12px;
}
#value {
background-color: #5E5757;
color: white;
width: 90%;
margin-left: auto;
margin-right: auto;
margin-top: 2%;
}
#title {
color: white;
text-align: center;
padding-top: 10px;
}
img {
width: 100%;
display: block;
}
/*.img{
border-width:thick;
border-style:solid;
border-color:white;
}
.column-right{
float: right;
width: 30%;
padding: 1%;
}
.column-center{
display: inline-block;
width: 30%;
padding: 1%;
bottom: 18px;
}
.column-left{
float: left;file:///Volumes/MMG/webfix/video/techpic1.jpg
width: 30%;
padding: 1%;
}
#left-box{
background-color:#5E5757;
color: white;
padding: 15px;
border-radius:10px;
}
#middle-box{
background-color:#5E5757;
color: white;
padding: 15px;
border-radius:10px;
}
#right-box{
background-color:#5E5757;
color: white;
padding: 15px;
border-radius:10px;
padding-bottom:135px;
}
.more {
position: relative;
display:inline-block;
color:black;
font-weight: bold;
top: 20px;
right: 31px;
background-color:white;
border-bottom-left-radius: 10px;
padding: 6px;
margin: 9px;
width: 30%;
}
#button3, #button2{
color: black;
position:relative;
top: 36px;
right:36px;
}
#button1{
color:black;
position:relative;
top: 155px;
right:36px;
}
*/
/*NAV BAR*/
#import url("http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css");
#import url("http://fonts.googleapis.com/css?family=Open+Sans:400,300");
html {
font-size: 62.5%;
font-family: 'Open Sans', sans-serif;
}
body {
font-size: 1.6rem;
min-height: 100vh;
}
h1 {
font-size: 3rem;
margin-bottom: 1rem;
}
h2 {
font-size: 1.6rem;
}
header {
position: relative;
}
main {
padding: 2rem;
}
/***************** NAVIGATION ********************/
nav ul {
display: flex;
flex-wrap: wrap;
margin: 0 auto;
background: #670809;
}
nav ul,
nav li {
flex: 1;
}
nav li:last-child {
border-bottom: none;
}
nav a {
text-decoration: none;
color: inherit;
display: block;
font-size: 1.8rem;
}
nav a:hover {
background:
/*#adacac*/
#555;
color: #fff;
}
nav li {
position: relative;
line-height: 50px;
color: #fff;
text-align: center;
}
nav input,
nav label {
display: none;
width: 36px;
height: 36px;
background: #555;
color: #fff;
text-align: center;
line-height: 36px;
font-size: 1.6rem;
border-radius: 4px;
}
nav label {
position: absolute;
top: 8px;
right: 8px;
transition: .4s;
}
nav label:hover {
cursor: pointer;
}
nav label:before {
font-family: FontAwesome;
font-size: 24px;
content: "\f0c9";
text-align: center;
}
/*************** MEDIA QUERIES *******************/
nav ul {
transform: translateY(0);
box-shadow: 0 0 5px rgba(0, 0, 0, .7);
transition: all .5s;
}
nav li {
flex: none;
width: 100%;
border-bottom: solid 1px #777;
}
nav input[type="checkbox"]:checked + ul {
transform: translateY(-100%);
width: 100%;
background: #999;
transition: all .5s;
}
nav label {
display: block;
}
nav input[type="checkbox"]:checked + ul li:nth-child(1) {
background: #777;
color: #fff;
}
#css-toggle-menu {
float: right;
margin: 10px;
}
<footer>
<a id="enroll" href="https://www.mnstate.edu/eservices/"> Enroll Now</a>
<div class="text">
© 2016</div>
<br>
<img class="msum" src="https://www.mnstate.edu/uploadedImages/Content/Marketing/logos/MSUM_Signature_Horiz_Color.jpg?n=808" alt="msum logo" />
</footer>
.msum {
position: absolute;
bottom: 5%;
width: 100%;
display: block;
width: 200px;
height: 50px;
//add this
left: 0;
right: 0;
margin: 0 auto;
}
There's no need for position: absolute here. Do these to the img.msum:
Remove position: absolute;
Add margin: auto;
Snippet
.msum {
display: block;
width: 200px;
height: 50px;
margin: auto;
}
/*Rest of Code*/
figure.stayssame {
width: 100%;
}
figure video {
width: 100%;
height: 80%;
}
p {
padding: 2%;
}
.video-txt {
position: absolute;
top: 30%;
z-index: 9;
color: #FFF;
width: 100%;
text-align: center;
font-size: 40px;
}
object {
position: absolute;
left: 0%;
top: -5%;
z-index: 10;
width: 15%;
}
/*ALL CODE FROM DESKTOP*/
figure.adjustable {
width: 29%;
}
html {
position: relative;
min-height: 100%;
}
body {
margin: 0 0 100px;
/* bottom = footer height */
font-family: 'Inconsolata', monospace;
/*font-family: 'Courier New', sans-serif;*/
font-weight: 300;
font-size: 20px;
line-height: 1.4em;
}
.squish {
margin-right: 125px;
}
.text {
padding: 5px;
}
.button {
margin-bottom: 50px;
margin-left: 20%
}
header {
position: fixed;
z-index: 1000;
width: 100%;
top: 0px;
background-color: #670809;
height: 70px;
letter-spacing: 1px;
line-height: 55px;
padding: 9px;
word-spacing: 5px;
}
header,
h1,
h2 {
font-family: 'Orbitron', sans-serif;
}
.space {
padding: 5px;
color: white;
}
nav {
float: left;
width: 100%;
}
nav ul li.active a {
background-color: none;
color: white;
text-decoration: none;
}
nav ul li a:hover {
color: #00E3FF;
}
nav ul li a:visited {
text-decoration: none;
}
/*nav ul li a {
display:inline-block;
padding: 1 px;
color: #fff;
letter-spacing: 1 px;
text-decoration:none;
text-transform: uppercase;
margin: .55em;
font-size: 5 px;
float: right;
}
nav ul li.active a {
/*background-color: none;
color: white;
text-decoration:none;
}
a:hover {
/*background-color:none;
color:black;
background-color:#00E3FF;
}
nav ul li a:visited {
color:black;
text-decoration:none;
}
*/
form {
padding-left: 20%;
}
/* header tags */
h1 {
text-align: center;
color: #013397;
font-size: 40px;
padding-top: 50px;
}
h2 {
text-align: center;
color: #00E3FF;
font-size: 30px;
margin: 5px;
padding: 20px;
}
p {
text-align: left;
}
.clearfix:after {
content: " ";
display: block;
clear: both;
}
#box {
background-color: #94DBEC;
}
hr.style2 {
border-top: 3px double #00E3FF;
width: 300px
}
section {
width: 85%;
margin-left: auto;
margin-right: auto;
margin-top: 35px;
}
img.adjustable {
width: 100%;
max-width: 100%;
height: auto;
/* max-width: 400px;
max-height: 400px;*/
margin: 1em;
/*width: 90%;
margin:5%;*/
}
#inner {
height: 100px;
padding: 15px 0;
}
#container {
height: 100%;
}
.imgbox5 {
padding-right: 30px;
padding-left: 0px;
}
.imgbox4 {
padding-right: 30px;
padding-left: 0px;
}
.imgbox3 {
padding-right: 30px;
padding-left: 0px;
}
.imgbox2 {
padding-right: 30px;
}
.imgbox {
padding-right: 30px;
padding-left: 0px;
}
#firstpara {
background-color: #5E5757;
color: white;
}
#secpara {
background-color: #5E5757;
color: white;
}
#thirdpara {
background-color: #5E5757;
color: white;
}
#fourthpara {
background-color: #5E5757;
color: white;
}
#primary {
background-color: #5E5757;
color: white;
}
#enroll {
margin: 0;
padding: 0;
}
/*section{
text-align: center;
width: 100%;
}*/
footer {
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 100px;
padding-bottom: 2%;
background-color: #670809;
font-family: 'Inconsolata', monospace;
/* text */
padding-left: 10px;
padding-top: 15px;
color: #ffffff;
font-size: 15px;
text-align: center;
}
a {
color: white;
}
a,
a:active {
color: white;
text-decoration: none;
}
.side {
left-margin: 10px;
right-margin: 10px;
}
object {
position: absolute;
top: 350px;
left: 100px;
height: 100px;
width: 200px;
z-index: 2000;
}
#headline {
text-align: center;
position: absolute;
top: 10%;
left: 35%;
color: #00E3FF;
line-height: 20px;
font-family: 'Orbitron', sans-serif;
word-spacing: 1px;
font-size: 12px;
}
#value {
background-color: #5E5757;
color: white;
width: 90%;
margin-left: auto;
margin-right: auto;
margin-top: 2%;
}
#title {
color: white;
text-align: center;
padding-top: 10px;
}
img {
width: 100%;
display: block;
}
/*.img{
border-width:thick;
border-style:solid;
border-color:white;
}
.column-right{
float: right;
width: 30%;
padding: 1%;
}
.column-center{
display: inline-block;
width: 30%;
padding: 1%;
bottom: 18px;
}
.column-left{
float: left;file:///Volumes/MMG/webfix/video/techpic1.jpg
width: 30%;
padding: 1%;
}
#left-box{
background-color:#5E5757;
color: white;
padding: 15px;
border-radius:10px;
}
#middle-box{
background-color:#5E5757;
color: white;
padding: 15px;
border-radius:10px;
}
#right-box{
background-color:#5E5757;
color: white;
padding: 15px;
border-radius:10px;
padding-bottom:135px;
}
.more {
position: relative;
display:inline-block;
color:black;
font-weight: bold;
top: 20px;
right: 31px;
background-color:white;
border-bottom-left-radius: 10px;
padding: 6px;
margin: 9px;
width: 30%;
}
#button3, #button2{
color: black;
position:relative;
top: 36px;
right:36px;
}
#button1{
color:black;
position:relative;
top: 155px;
right:36px;
}
*/
/*NAV BAR*/
#import url("http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css");
#import url("http://fonts.googleapis.com/css?family=Open+Sans:400,300");
html {
font-size: 62.5%;
font-family: 'Open Sans', sans-serif;
}
body {
font-size: 1.6rem;
min-height: 100vh;
}
h1 {
font-size: 3rem;
margin-bottom: 1rem;
}
h2 {
font-size: 1.6rem;
}
header {
position: relative;
}
main {
padding: 2rem;
}
/***************** NAVIGATION ********************/
nav ul {
display: flex;
flex-wrap: wrap;
margin: 0 auto;
background: #670809;
}
nav ul,
nav li {
flex: 1;
}
nav li:last-child {
border-bottom: none;
}
nav a {
text-decoration: none;
color: inherit;
display: block;
font-size: 1.8rem;
}
nav a:hover {
background:
/*#adacac*/
#555;
color: #fff;
}
nav li {
position: relative;
line-height: 50px;
color: #fff;
text-align: center;
}
nav input,
nav label {
display: none;
width: 36px;
height: 36px;
background: #555;
color: #fff;
text-align: center;
line-height: 36px;
font-size: 1.6rem;
border-radius: 4px;
}
nav label {
position: absolute;
top: 8px;
right: 8px;
transition: .4s;
}
nav label:hover {
cursor: pointer;
}
nav label:before {
font-family: FontAwesome;
font-size: 24px;
content: "\f0c9";
text-align: center;
}
/*************** MEDIA QUERIES *******************/
nav ul {
transform: translateY(0);
box-shadow: 0 0 5px rgba(0, 0, 0, .7);
transition: all .5s;
}
nav li {
flex: none;
width: 100%;
border-bottom: solid 1px #777;
}
nav input[type="checkbox"]:checked + ul {
transform: translateY(-100%);
width: 100%;
background: #999;
transition: all .5s;
}
nav label {
display: block;
}
nav input[type="checkbox"]:checked + ul li:nth-child(1) {
background: #777;
color: #fff;
}
#css-toggle-menu {
float: right;
margin: 10px;
}
<footer>
<a id="enroll" href="https://www.mnstate.edu/eservices/"> Enroll Now</a>
<div class="text">
MaKayla McLain-Graning © 2016</div>
<br>
<img class="msum" src="https://www.mnstate.edu/uploadedImages/Content/Marketing/logos/MSUM_Signature_Horiz_Color.jpg?n=808" alt="msum logo" />
</footer>
Preview
Check out the snippet below. The big thing you were missing is using the CSS left and transform properties. (You'll notice I also included the vendor-prefixed variants of the transform property to ensure it works on all major browsers). Additionally, you'll notice I replaced the absolute positioning that you had set for the .msum CSS selector with relative positioning. This is more optimal in this case and will ensure your image does not overlap with the text also present in the footer.
.msum {
position: relative;
bottom: 5%;
width: 100%;
left: 50%; /* Distribute from left-edge */
display: block;
width: 200px;
height: 50px;
/* Center horizontally */
-webkit-transform: translateX(-50%);
-moz-transform: translateX(-50%);
-ms-transform: translateX(-50%);
-o-transform: translateX(-50%);
transform: translateX(-50%);
}
/*Rest of Code*/
figure.stayssame {
width: 100%;
}
figure video {
width: 100%;
height: 80%;
}
p {
padding: 2%;
}
.video-txt {
position: absolute;
top: 30%;
z-index: 9;
color: #FFF;
width: 100%;
text-align: center;
font-size: 40px;
}
object {
position: absolute;
left: 0%;
top: -5%;
z-index: 10;
width: 15%;
}
/*ALL CODE FROM DESKTOP*/
figure.adjustable {
width: 29%;
}
html {
position: relative;
min-height: 100%;
}
body {
margin: 0 0 100px;
/* bottom = footer height */
font-family: 'Inconsolata', monospace;
/*font-family: 'Courier New', sans-serif;*/
font-weight: 300;
font-size: 20px;
line-height: 1.4em;
}
.squish {
margin-right: 125px;
}
.text {
padding: 5px;
}
.button {
margin-bottom: 50px;
margin-left: 20%
}
header {
position: fixed;
z-index: 1000;
width: 100%;
top: 0px;
background-color: #670809;
height: 70px;
letter-spacing: 1px;
line-height: 55px;
padding: 9px;
word-spacing: 5px;
}
header,
h1,
h2 {
font-family: 'Orbitron', sans-serif;
}
.space {
padding: 5px;
color: white;
}
nav {
float: left;
width: 100%;
}
nav ul li.active a {
background-color: none;
color: white;
text-decoration: none;
}
nav ul li a:hover {
color: #00E3FF;
}
nav ul li a:visited {
text-decoration: none;
}
/*nav ul li a {
display:inline-block;
padding: 1 px;
color: #fff;
letter-spacing: 1 px;
text-decoration:none;
text-transform: uppercase;
margin: .55em;
font-size: 5 px;
float: right;
}
nav ul li.active a {
/*background-color: none;
color: white;
text-decoration:none;
}
a:hover {
/*background-color:none;
color:black;
background-color:#00E3FF;
}
nav ul li a:visited {
color:black;
text-decoration:none;
}
*/
form {
padding-left: 20%;
}
/* header tags */
h1 {
text-align: center;
color: #013397;
font-size: 40px;
padding-top: 50px;
}
h2 {
text-align: center;
color: #00E3FF;
font-size: 30px;
margin: 5px;
padding: 20px;
}
p {
text-align: left;
}
.clearfix:after {
content: " ";
display: block;
clear: both;
}
#box {
background-color: #94DBEC;
}
hr.style2 {
border-top: 3px double #00E3FF;
width: 300px
}
section {
width: 85%;
margin-left: auto;
margin-right: auto;
margin-top: 35px;
}
img.adjustable {
width: 100%;
max-width: 100%;
height: auto;
/* max-width: 400px;
max-height: 400px;*/
margin: 1em;
/*width: 90%;
margin:5%;*/
}
#inner {
height: 100px;
padding: 15px 0;
}
#container {
height: 100%;
}
.imgbox5 {
padding-right: 30px;
padding-left: 0px;
}
.imgbox4 {
padding-right: 30px;
padding-left: 0px;
}
.imgbox3 {
padding-right: 30px;
padding-left: 0px;
}
.imgbox2 {
padding-right: 30px;
}
.imgbox {
padding-right: 30px;
padding-left: 0px;
}
#firstpara {
background-color: #5E5757;
color: white;
}
#secpara {
background-color: #5E5757;
color: white;
}
#thirdpara {
background-color: #5E5757;
color: white;
}
#fourthpara {
background-color: #5E5757;
color: white;
}
#primary {
background-color: #5E5757;
color: white;
}
#enroll {
margin: 0;
padding: 0;
}
/*section{
text-align: center;
width: 100%;
}*/
footer {
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 100px;
padding-bottom: 2%;
background-color: #670809;
font-family: 'Inconsolata', monospace;
/* text */
padding-left: 10px;
padding-top: 15px;
color: #ffffff;
font-size: 15px;
text-align: center;
}
a {
color: white;
}
a,
a:active {
color: white;
text-decoration: none;
}
.side {
left-margin: 10px;
right-margin: 10px;
}
object {
position: absolute;
top: 350px;
left: 100px;
height: 100px;
width: 200px;
z-index: 2000;
}
#headline {
text-align: center;
position: absolute;
top: 10%;
left: 35%;
color: #00E3FF;
line-height: 20px;
font-family: 'Orbitron', sans-serif;
word-spacing: 1px;
font-size: 12px;
}
#value {
background-color: #5E5757;
color: white;
width: 90%;
margin-left: auto;
margin-right: auto;
margin-top: 2%;
}
#title {
color: white;
text-align: center;
padding-top: 10px;
}
img {
width: 100%;
display: block;
}
/*.img{
border-width:thick;
border-style:solid;
border-color:white;
}
.column-right{
float: right;
width: 30%;
padding: 1%;
}
.column-center{
display: inline-block;
width: 30%;
padding: 1%;
bottom: 18px;
}
.column-left{
float: left;file:///Volumes/MMG/webfix/video/techpic1.jpg
width: 30%;
padding: 1%;
}
#left-box{
background-color:#5E5757;
color: white;
padding: 15px;
border-radius:10px;
}
#middle-box{
background-color:#5E5757;
color: white;
padding: 15px;
border-radius:10px;
}
#right-box{
background-color:#5E5757;
color: white;
padding: 15px;
border-radius:10px;
padding-bottom:135px;
}
.more {
position: relative;
display:inline-block;
color:black;
font-weight: bold;
top: 20px;
right: 31px;
background-color:white;
border-bottom-left-radius: 10px;
padding: 6px;
margin: 9px;
width: 30%;
}
#button3, #button2{
color: black;
position:relative;
top: 36px;
right:36px;
}
#button1{
color:black;
position:relative;
top: 155px;
right:36px;
}
*/
/*NAV BAR*/
#import url("http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css");
#import url("http://fonts.googleapis.com/css?family=Open+Sans:400,300");
html {
font-size: 62.5%;
font-family: 'Open Sans', sans-serif;
}
body {
font-size: 1.6rem;
min-height: 100vh;
}
h1 {
font-size: 3rem;
margin-bottom: 1rem;
}
h2 {
font-size: 1.6rem;
}
header {
position: relative;
}
main {
padding: 2rem;
}
/***************** NAVIGATION ********************/
nav ul {
display: flex;
flex-wrap: wrap;
margin: 0 auto;
background: #670809;
}
nav ul,
nav li {
flex: 1;
}
nav li:last-child {
border-bottom: none;
}
nav a {
text-decoration: none;
color: inherit;
display: block;
font-size: 1.8rem;
}
nav a:hover {
background:
/*#adacac*/
#555;
color: #fff;
}
nav li {
position: relative;
line-height: 50px;
color: #fff;
text-align: center;
}
nav input,
nav label {
display: none;
width: 36px;
height: 36px;
background: #555;
color: #fff;
text-align: center;
line-height: 36px;
font-size: 1.6rem;
border-radius: 4px;
}
nav label {
position: absolute;
top: 8px;
right: 8px;
transition: .4s;
}
nav label:hover {
cursor: pointer;
}
nav label:before {
font-family: FontAwesome;
font-size: 24px;
content: "\f0c9";
text-align: center;
}
/*************** MEDIA QUERIES *******************/
nav ul {
transform: translateY(0);
box-shadow: 0 0 5px rgba(0, 0, 0, .7);
transition: all .5s;
}
nav li {
flex: none;
width: 100%;
border-bottom: solid 1px #777;
}
nav input[type="checkbox"]:checked + ul {
transform: translateY(-100%);
width: 100%;
background: #999;
transition: all .5s;
}
nav label {
display: block;
}
nav input[type="checkbox"]:checked + ul li:nth-child(1) {
background: #777;
color: #fff;
}
#css-toggle-menu {
float: right;
margin: 10px;
}
<footer>
<a id="enroll" href="https://www.mnstate.edu/eservices/"> Enroll Now</a>
<div class="text">
MaKayla McLain-Graning © 2016</div>
<br>
<img class="msum" src="https://www.mnstate.edu/uploadedImages/Content/Marketing/logos/MSUM_Signature_Horiz_Color.jpg?n=808" alt="msum logo" />
</footer>
.msum {
position: absolute;
bottom: 5%;
width: 100%;
display: block;
width: 200px;
height: 50px;
left:50%;
margin-left:-100px;
}
/*Rest of Code*/
figure.stayssame {
width: 100%;
}
figure video {
width: 100%;
height: 80%;
}
p {
padding: 2%;
}
.video-txt {
position: absolute;
top: 30%;
z-index: 9;
color: #FFF;
width: 100%;
text-align: center;
font-size: 40px;
}
object {
position: absolute;
left: 0%;
top: -5%;
z-index: 10;
width: 15%;
}
/*ALL CODE FROM DESKTOP*/
figure.adjustable {
width: 29%;
}
html {
position: relative;
min-height: 100%;
}
body {
margin: 0 0 100px;
/* bottom = footer height */
font-family: 'Inconsolata', monospace;
/*font-family: 'Courier New', sans-serif;*/
font-weight: 300;
font-size: 20px;
line-height: 1.4em;
}
.squish {
margin-right: 125px;
}
.text {
padding: 5px;
}
.button {
margin-bottom: 50px;
margin-left: 20%
}
header {
position: fixed;
z-index: 1000;
width: 100%;
top: 0px;
background-color: #670809;
height: 70px;
letter-spacing: 1px;
line-height: 55px;
padding: 9px;
word-spacing: 5px;
}
header,
h1,
h2 {
font-family: 'Orbitron', sans-serif;
}
.space {
padding: 5px;
color: white;
}
nav {
float: left;
width: 100%;
}
nav ul li.active a {
background-color: none;
color: white;
text-decoration: none;
}
nav ul li a:hover {
color: #00E3FF;
}
nav ul li a:visited {
text-decoration: none;
}
/*nav ul li a {
display:inline-block;
padding: 1 px;
color: #fff;
letter-spacing: 1 px;
text-decoration:none;
text-transform: uppercase;
margin: .55em;
font-size: 5 px;
float: right;
}
nav ul li.active a {
/*background-color: none;
color: white;
text-decoration:none;
}
a:hover {
/*background-color:none;
color:black;
background-color:#00E3FF;
}
nav ul li a:visited {
color:black;
text-decoration:none;
}
*/
form {
padding-left: 20%;
}
/* header tags */
h1 {
text-align: center;
color: #013397;
font-size: 40px;
padding-top: 50px;
}
h2 {
text-align: center;
color: #00E3FF;
font-size: 30px;
margin: 5px;
padding: 20px;
}
p {
text-align: left;
}
.clearfix:after {
content: " ";
display: block;
clear: both;
}
#box {
background-color: #94DBEC;
}
hr.style2 {
border-top: 3px double #00E3FF;
width: 300px
}
section {
width: 85%;
margin-left: auto;
margin-right: auto;
margin-top: 35px;
}
img.adjustable {
width: 100%;
max-width: 100%;
height: auto;
/* max-width: 400px;
max-height: 400px;*/
margin: 1em;
/*width: 90%;
margin:5%;*/
}
#inner {
height: 100px;
padding: 15px 0;
}
#container {
height: 100%;
}
.imgbox5 {
padding-right: 30px;
padding-left: 0px;
}
.imgbox4 {
padding-right: 30px;
padding-left: 0px;
}
.imgbox3 {
padding-right: 30px;
padding-left: 0px;
}
.imgbox2 {
padding-right: 30px;
}
.imgbox {
padding-right: 30px;
padding-left: 0px;
}
#firstpara {
background-color: #5E5757;
color: white;
}
#secpara {
background-color: #5E5757;
color: white;
}
#thirdpara {
background-color: #5E5757;
color: white;
}
#fourthpara {
background-color: #5E5757;
color: white;
}
#primary {
background-color: #5E5757;
color: white;
}
#enroll {
margin: 0;
padding: 0;
}
/*section{
text-align: center;
width: 100%;
}*/
footer {
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 100px;
padding-bottom: 2%;
background-color: #670809;
font-family: 'Inconsolata', monospace;
/* text */
padding-left: 10px;
padding-top: 15px;
color: #ffffff;
font-size: 15px;
text-align: center;
}
a {
color: white;
}
a,
a:active {
color: white;
text-decoration: none;
}
.side {
left-margin: 10px;
right-margin: 10px;
}
object {
position: absolute;
top: 350px;
left: 100px;
height: 100px;
width: 200px;
z-index: 2000;
}
#headline {
text-align: center;
position: absolute;
top: 10%;
left: 35%;
color: #00E3FF;
line-height: 20px;
font-family: 'Orbitron', sans-serif;
word-spacing: 1px;
font-size: 12px;
}
#value {
background-color: #5E5757;
color: white;
width: 90%;
margin-left: auto;
margin-right: auto;
margin-top: 2%;
}
#title {
color: white;
text-align: center;
padding-top: 10px;
}
img {
width: 100%;
display: block;
}
/*.img{
border-width:thick;
border-style:solid;
border-color:white;
}
.column-right{
float: right;
width: 30%;
padding: 1%;
}
.column-center{
display: inline-block;
width: 30%;
padding: 1%;
bottom: 18px;
}
.column-left{
float: left;file:///Volumes/MMG/webfix/video/techpic1.jpg
width: 30%;
padding: 1%;
}
#left-box{
background-color:#5E5757;
color: white;
padding: 15px;
border-radius:10px;
}
#middle-box{
background-color:#5E5757;
color: white;
padding: 15px;
border-radius:10px;
}
#right-box{
background-color:#5E5757;
color: white;
padding: 15px;
border-radius:10px;
padding-bottom:135px;
}
.more {
position: relative;
display:inline-block;
color:black;
font-weight: bold;
top: 20px;
right: 31px;
background-color:white;
border-bottom-left-radius: 10px;
padding: 6px;
margin: 9px;
width: 30%;
}
#button3, #button2{
color: black;
position:relative;
top: 36px;
right:36px;
}
#button1{
color:black;
position:relative;
top: 155px;
right:36px;
}
*/
/*NAV BAR*/
#import url("http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css");
#import url("http://fonts.googleapis.com/css?family=Open+Sans:400,300");
html {
font-size: 62.5%;
font-family: 'Open Sans', sans-serif;
}
body {
font-size: 1.6rem;
min-height: 100vh;
}
h1 {
font-size: 3rem;
margin-bottom: 1rem;
}
h2 {
font-size: 1.6rem;
}
header {
position: relative;
}
main {
padding: 2rem;
}
/***************** NAVIGATION ********************/
nav ul {
display: flex;
flex-wrap: wrap;
margin: 0 auto;
background: #670809;
}
nav ul,
nav li {
flex: 1;
}
nav li:last-child {
border-bottom: none;
}
nav a {
text-decoration: none;
color: inherit;
display: block;
font-size: 1.8rem;
}
nav a:hover {
background:
/*#adacac*/
#555;
color: #fff;
}
nav li {
position: relative;
line-height: 50px;
color: #fff;
text-align: center;
}
nav input,
nav label {
display: none;
width: 36px;
height: 36px;
background: #555;
color: #fff;
text-align: center;
line-height: 36px;
font-size: 1.6rem;
border-radius: 4px;
}
nav label {
position: absolute;
top: 8px;
right: 8px;
transition: .4s;
}
nav label:hover {
cursor: pointer;
}
nav label:before {
font-family: FontAwesome;
font-size: 24px;
content: "\f0c9";
text-align: center;
}
/*************** MEDIA QUERIES *******************/
nav ul {
transform: translateY(0);
box-shadow: 0 0 5px rgba(0, 0, 0, .7);
transition: all .5s;
}
nav li {
flex: none;
width: 100%;
border-bottom: solid 1px #777;
}
nav input[type="checkbox"]:checked + ul {
transform: translateY(-100%);
width: 100%;
background: #999;
transition: all .5s;
}
nav label {
display: block;
}
nav input[type="checkbox"]:checked + ul li:nth-child(1) {
background: #777;
color: #fff;
}
#css-toggle-menu {
float: right;
margin: 10px;
}
<footer>
<a id="enroll" href="https://www.mnstate.edu/eservices/"> Enroll Now</a>
<div class="text">
MaKayla McLain-Graning © 2016</div>
<br>
<img class="msum" src="https://www.mnstate.edu/uploadedImages/Content/Marketing/logos/MSUM_Signature_Horiz_Color.jpg?n=808" alt="msum logo" />
</footer>

Change height of unordered list item in CSS

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/

Small image is overlapping my navigation?

With character: http://jsfiddle.net/nuu6g/
For some reason, I cannot click on my text on my navigation menu. This is most likely due to the (missing) image on the left, which I will refer to as the "character." However, when I remove the character, I can indeed click on the text again.
Without character: http://jsfiddle.net/aN5s5/
body {
background:grey;
}
.topContainer {
width: 1000px;
height: 125px;
margin: 0 auto;
padding-bottom: 20px;
}
#logo {
float: left;
padding: 10px 10px;
}
/* Navigation */
#navigation {
background: #107AEB;
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#107AEB), to(#106FEB));
background: -webkit-linear-gradient(top, #107AEB, #106FEB);
background: -moz-linear-gradient(top, #107AEB, #106FEB);
background: -ms-linear-gradient(top, #107AEB, #106FEB);
background: -o-linear-gradient(top, #107AEB, #106FEB);
border: 2px solid rgba(16, 86, 235, 0.9);
border-radius: 15px;
float: right;
width: 455px;
height: 55px;
margin-top: 22px;
z-index: 1;
}
#navigation ul {
display: inline-block;
position: absolute;
list-style-type: none;
}
#navigation li {
display: inline-block;
}
#navigation a {
color: #FFF;
font-family: SEGOEUIL, Arial, sans-serif;
text-shadow: 0 1px 0 #000;
text-align: center;
padding: 5px 10px;
font-size: 17px;
}
#navigation a:hover {
background: rgba(16, 86, 235, 0.9);
border-radius: 5px;
}
#navigation a:active {
text-decoration: none;
}
#navigation a:link {
text-decoration: none;
}
.character {
z-index: 2;
padding: 0 275px;
float: left;
position: absolute;
width: 187px;
height: 174px;
}
/* Wrapper */
#wrapper {
background: #FFF;
/*rgba(255, 255, 255, 0.85);*/
border-top-left-radius: 25px;
border-top-right-radius: 25px;
width: 1000px;
height: 1200px;
position: relative;
z-index: 3;
overflow: hidden;
margin: 0 auto;
}
#photoContent {
background: #ffcc00;
border: 1px solid #b62100;
border-radius: 8px;
width: 781px;
height: 231px;
margin-top: 12px;
display: block;
margin-left: auto;
margin-right: auto;
}
.displayPhoto {
width: 771px;
height: 221px;
border: 0;
border-radius: 8px;
display: block;
margin-left: auto;
margin-right: auto;
margin-top: 3px;
border: 1px solid #b62100;
}
#leftContent {
padding-top: 15px;
width: 500px;
height: 140px;
float: left;
padding-left: 45px;
}
.title {
font-family: Arial, sans-serif;
color: #3abfee;
font-size: 20px;
}
.desc {
color: #575757;
font-size: 15px;
font-family: Arial, sans-serif;
}
#rightContent {
padding-top: 15px;
width: 300px;
height: 140px;
float: right;
padding-right: 25px;
}
#flashContent {
padding-left: 25px;
width: 700px;
height: 500px;
}
hr {
width: 750px;
height: 1px;
background: #CCC;
border: none;
margin-top: 10px;
}
/* Bottom Wrapper */
#bwCont {
width: 1000px;
height: 500px;
display: block;
margin-left: auto;
margin-right: auto;
margin-top: 10px;
}
.galleryCont {
display: block;
margin-left: auto;
margin-right: auto;
width: 650px;
height: 150px;
}
.galleryImgCont {
width: 175px;
height: 175px;
float: left;
}
.galleryTitle {
font-family:'Exo 2', sans-serif;
font-size: 17px;
color: #333;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
padding-top: 145px;
}
.galleryDesc {
font-family:'Exo 2', sans-serif;
font-size: 15px;
color: #333;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
#galleryImg {
width: 175px;
height: 125px;
border: 5px solid #F5F5F5;
box-shadow: 0 0 7px;
border-radius: 5px;
float: left;
}
.readMore {
width: 175px;
height: 50px;
background: #000;
border: 0;
border-radius: 5px;
padding: 10px 10px;
color: #FFF;
font-family:'SEGOEUIL', sans-serif;
font-size: 17px;
}
.readMore:hover {
background: #202020;
}
Please help me, thanks! Also, just an extra question; is there any way I can keep the read more buttons inline, instead of like a staircase? Sorry, but thank you!
For your links to be "clickable", either adjust the padding/width of #character or use the following CSS so #navigation comes up top of #character
#navigation {
z-index: 3;
position: relative;
}
DEMO
For "Read More" to be aligned, you're going to need to have the same number of lines in the title and the description, or you can set a minimum height (or even just the height) of those by adding the following CSS for eaxmple:
.galleryTitle {
min-height:40px;
}
.galleryDesc {
min-height:60px;
}
DEMO
Your nav items are displaying in a staircase because there is not enough room due to the width of your ul. adding width 100% will allow them to display inline the way you want.
#navigation ul {
width: 100%
}
the reason you can't click your text link is because of your character class overlaying your images with a higher z-index.

Website not rendering correctly in IE - Just cannot get it right. :(

I have been trying to days now to get this website completed ... however, when viewing it in IE (compatibility mode) the header is all messed up. :(
The website is here: http://nageela.einfal.com/
This is actually the first design I've converted into a Wordpress theme, so it's been very challenging.
If anyone has any suggestions, I'd really appreciate it, I've grown so very frustrated with this! I'm not an IE user myself, though the client is it seems.
Thanks,
Jennifer
Your layout breaks mostly because of positioning issues in IE7 (and IE6). See the attached css, the lines I have changed is marked /*FIXED*/.
/*
Theme Name: Camp Negeela
Author: Mafiakitty Web Design & Development
Author URI: http://www.mafiakitty.com/
Description: Custom Theme
Version: 1.0
Tags: custom, canada, mafiakitty, design, creative
*/
* {
margin: 0;
padding: 0;
outline: none;
}
a:link, a:visited, a:active {
color: #630001;
}
a:hover {
color: #134077;
}
html, body {
height: 100%;
}
body {
background-color: #f7921e;
font-family: Verdana, Arial, Helvetica, san-serif;
font-size: 12px;
color: #666;
line-height: 1.8;
}
.newcampers {
background: url(http://nageela.einfal.com/wp-content/themes/nageela/img/campers.png);
width: 518px;
height: 19px;
margin-left: 58px;
cursor: default;
top: 230px;
position: absolute;
}
.bed {
background-color: #e4e2d6;
margin: 0 auto 0 auto;
border-left: 1px solid #333333;
border-right: 1px solid #333333;
}
#wrapper {
position: relative;
width: 960px;
margin-left: auto;
margin-right: auto;
}
.floatleft {
float: left;
background: url(http://nageela.einfal.com/wp-content/themes/nageela/img/left.png);
margin-top: 0;
width: 43px;
height: 182px;
margin-left: 1px;
position: absolute; /* FIXED */
}
.floatright {
float: right;
background: url(http://nageela.einfal.com/wp-content/themes/nageela/img/leaves-top.png);
background-repeat: no-repeat;
margin-top: 0;
width: 488px;
height: 334px;
right: -10px;
position: absolute;
}
.photo {
background: url(http://nageela.einfal.com/wp-content/themes/nageela/img/photo.png) no-repeat;
width: 275px;
height: 263px;
margin-right: 62px;
margin-top: 50px;
position: absolute; /* FIXED */
right: 0;
}
.board {
float: right;
background: url(http://nageela.einfal.com/wp-content/themes/nageela//img/bg.png);
margin-top: -10px;
width: 379px;
height: 500px;
}
.board div.video {
float: right;
background: url(http://nageela.einfal.com/wp-content/themes/nageela/video.png);
background-repeat: no-repeat;
width: 62px;
height: 108px;
margin-top: 207px;
margin-right: 175px;
}
.board a {
display: block;
width: 100%;
height: 100%;
text-decoration: none;
cursor: pointer;
}
.board div.free {
float: right;
background: url(http://nageela.einfal.com/wp-content/themes/nageela/img/free.png);
background-repeat: no-repeat;
width: 141px;
height: 74px;
margin-top: -215px;
margin-right: 135px;
}
.board div.pic {
float: right;
background: url(http://nageela.einfal.com/wp-content/themes/nageela/img/pic.png);
background-repeat: no-repeat;
width: 61px;
height: 13px;
margin-top: 136px;
margin-right: 272px;
}
.board div.sign {
float: right;
background: url(http://nageela.einfal.com/wp-content/themes/nageela/img/sign.png);
background-repeat: no-repeat;
width: 138px;
height: 46px;
margin-top: -203px;
margin-right: 15px;
}
#header {
height: 262px;
background: #e4e2d6 url(http://nageela.einfal.com/wp-content/themes/nageela/img/hdbg.jpg);
margin-top: 0;
padding: 0;
}
/*FIXME*/
a.logo {
width: 570px;
height: 76px;
margin-top: 37px;
margin-left: 0px;
background: url(http://nageela.einfal.com/wp-content/themes/nageela/img/logo.png);
position: absolute;
float: left;
left: 55px; /* FIXED */
}
a.logo span {
display: none;
}
#content {
width: 520px;
float: left;
margin-left: 24px;
padding-top: 5px;
clear: both;
padding-left: 10px;
/*margin-top: -52px; FIXED*/
display: inline;
}
.post {
width: 520px;
margin-bottom: 50px;
margin-top: 0px;
}
.post h2 a {
color: #24446b;
font-weight: normal;
text-decoration: none;
font-size: 24px;
}
.post span.post-info {
color: #CCCCCC;
font-size: 10px;
padding-bottom: 10px;
width: 560px;
float: left;
}
.post p {
line-height: 22px;
margin-bottom: 10px;
}
.post div.cats {
border-top: 1px solid #ececec;
padding-top: 10px;
}
#sidebar {
width: 379px;
float: right;
margin-right: 0px;
}
#footer {
clear: both;
width: 960px;
height: 350px;
background: #e4e2d6 url(http://nageela.einfal.com/wp-content/themes/nageela/img/footer.jpg);
margin-bottom: 0px;
padding: 0px;
margin-left: 0px;
}
/*
.comments template styles
*/
.comments {
float: left;
padding: 0;
}
.comments input[type=text], textarea {
width: 350px;
}
textarea {
width: 450px;
}
.comments fieldset {
padding: 20px;
border: 1px solid #CCC;
margin: 10px 0 20px 0;
}
.comments p {
padding: 0 0 10px 0;
}
.comments h2 {
padding: 0 0 15px 0;
}
.aligncenter, div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}
.alignleft {
float: left;
}
.alignright {
float: right;
}
img.avatar {
float: right;
}
.newspaper {
float: right;
background: url(img/newspaper.png) bottom;
background-repeat: no-repeat;
width: 382px;
height: 350px;
padding-bottom: 0px;
margin: 0px;
}
.inner {
width: 382px;
height: 300px;
text-align: center;
margin-bottom: 0px;
padding-bottom: 0px;
}
#dropmenu, #dropmenu ul {
top: -80px;
list-style-type: none;
list-style-position: outside;
position: relative;
line-height: 1.5em;
z-index: 200;
width: 100%;
font-weight: bold;
}
#dropmenu {
position: absolute;
top: 180px;
}
#dropmenu a {
display: block;
padding: 0.25em 1em;
color: #f7921e;
text-decoration: none;
}
#dropmenu a:hover {
background: #711a19;
color: #fff;
}
#dropmenu li {
float: left;
position: relative;
}
#dropmenu ul {
position: absolute;
display: none;
width: 12em;
top: 1.9em;
left: -1px;
}
#dropmenu ul a {
border-left: 1px solid #c8c8c8;
background: #10253a;
}
#dropmenu li ul {
border-top: 1px solid #c8c8c8;
width: 14.1em;
}
#dropmenu li ul a {
width: 12em;
height: auto;
float: left;
border-bottom: 1px solid #c8c8c8;
}
#dropmenu ul ul {
top: auto;
}
#dropmenu li ul ul {
left: 12em;
margin: 0px 0 0 10px;
}
#dropmenu li:hover ul ul, #dropmenu li:hover ul ul ul, #dropmenu li:hover ul ul ul ul {
display: none;
}
#dropmenu li:hover ul, #dropmenu li li:hover ul, #dropmenu li li li:hover ul, #dropmenu li li li li:hover ul {
display: block;
}
#contact-area {
width: 300px;
margin-left: 320px;
float: right;
position: absolute;
bottom: 40px;
}
#contact-area input, #contact-area textarea {
background-color: #61502c;
padding: 1px;
width: 125px;
font-family: Helvetica, sans-serif;
font-size: 1.2em;
margin: 5px 0px 5px 0px;
border: 2px solid #61502c;
color: #372d24;
}
#contact-area textarea {
height: 90px;
}
#contact-area textarea:focus, #contact-area input:focus {
border: 2px solid #630001;
}
#contact-area input.submit-button {
width: 61px;
height: 13px;
float: right;
background: url(img/submit.png) 0 0 no-repeat;
border: 0px;
cursor: pointer;
text-indent: -9999px;
}
label {
float: left;
text-align: right;
margin-right: 15px;
width: 100px;
padding-top: 5px;
font-size: 1.2em;
color: #e4e2d6;
}
#contact-area .formin {
background: url(img/form.png);
width: 137px;
height: 37px;
position: absolute;
top: -53px;
left: 50px;
}
.contactin {
background: url(img/contact.png);
width: 270px;
height: 39px;
position: absolute;
top: -54px;
margin-left: -258px;
}
.contactin p {
float: left;
margin: 18%;
border: 0px ;
width: 80%;
display: inline;
font-family: Helvetica, sans-serif;
font-size: 1.2em;
line-height: 2.2;
color: #ffffff;
}
.contactin a:link {
color: #f6d60b;
}
/* rotator in-page placement */
div#rotator {
height: 245px;
position: absolute; /* FIXED */
left: 640px; /* FIXED */
top: 65px; /* FIXED */
}
/* rotator image style */
div#rotator ul li img {
border: 1px solid #ccc;
padding: 4px;
background: #FFF;
}
/* rotator css */
div#rotator ul li {
float: right;
position: absolute;
list-style: none;
}
div#rotator ul li.show {
z-index: 500
}