#footerwrap {
    display: none;
}

#content {
    padding: 0% 0;
}

#main-nav>li.current_page_item>a:before {
	display:none;
}

#headerwrap.fixed-header {
    border-bottom: 0px solid rgba(0,0,0,.1);
}

div#headerwrap {
    height: 90px;
}

#header {
    padding: 0px 0;
}

li {
    margin: 0 0 0em 0;
    padding: 0.2em 0;
}

h3 {
    padding: .2em 0 0.2em;
}

hr {
    border: 2px solid #d9a58a;
    margin-right: 80%;
    margin-top: -5px;
    margin-bottom: 15px;
}

.tablepress thead th {
    background-color: #77564e;
color: #ffffff;
}

.tablepress tbody td {
    vertical-align: top;
    color: #ffffff;
    font-weight: bold;
}

.first .row-2 {
    background-color: #16b6ff;
}

.first tr.row-3 {
    background-color: #9a80ad;
}

.first tr.row-4 {
    background-color: #2778a1;
}

.first tr.row-5 {
    background-color: #22b0ab;
}

.first tr.row-6 {
    background-color: #7eb8ec;
}

.first tr.row-7 {
    background-color: #f5b8a8;
}

.first tr.row-8 {
    background-color: #0081a4;
}

.first tr.row-9 {
    background-color: #ff986f;
}

.first tr.row-10 {
    background-color: #80c89d;
}

.first tr.row-11 {
    background-color: #ff8f79;
}

.first tr.row-12 {
    background-color: #96a5ff;
}

.first tr.row-13 {
    background-color: #caa39e;
}

.first tr.row-14 {
    background-color: #8492a8;
}

.first tr.row-15 {
    background-color: #42d2d0;
}

.first tr.row-16 {
    background-color: #f6c537;
}

.first tr.row-17 {
    background-color: #b73958;
}

.ground tr.row-13 {
    background-color: #93a2ff ! important;
}

.mfp-bottom-bar .tf_social_sharing {
    display: none;
}

@media screen and (max-width: 1200px) { #main-nav a {
    padding: 5px 2px 19px;
}}

@media screen and (max-width: 600px)
{ #main-nav a {
    padding: 5px 2px 18px;
    text-align: center;
    border-bottom: solid 0px #eee;
}}

@media screen and (max-width: 600px)
{ #main-nav {
    margin: 135px 0 30px;
}}

.mobile_menu_active #headerwrap .sidemenu-on {
    background-image: url(http://rammill.co.uk/wp-content/uploads/2021/02/RamMill_icon.png)! important;
    background-repeat: no-repeat! important;
    background-position: 50% 50px! important;
    background-size: 150px! important;
}

@media screen and (max-width: 600px)
{ #header {
    padding: 10px 0;
}}

input#rammill-name {
    width: 100%;
}

input#rammill-tel {
    width: 100%;
}

input#rammill-email {
    width: 100%;
}

input#rammill-send {
    width: 100%;
    background-color: #daa789;
}

input#rammill-send:hover {
    transform: translateY(0px);
    background-color: #4c3530;
}

select#rammill-what {
    width: 100%;
    margin-bottom: 0.4em;
}

.back-top.tf_textc.tf_clearfix.back-top-float {
    display: none!important;
}

li.menu-item-custom-582 {
    background-color: red;
    position: absolute;
    right: 0! important;
}

li.menu-item-custom-582:hover {
    background-color: #000000;
}

li.menu-item-custom-582 a {
    color: #ffffff!important;
    padding-right: 20px! important;
    padding-left: 20px! important;
    padding-bottom: 12px! important;
}

#menu-icon {
    margin: 20px 0 0 10px!important;
}

@media screen and (max-width: 1460px) {
#main-nav {
    position: absolute;
    left: 10%!important;
    top: 25%!important;
}}

.scaleimage {
    overflow: hidden;
    object-fit: cover;
}

.scaleimage img {
    overflow: hidden;
    -webkit-transition: all 2s ease! important;
    -moz-transition: all 2s ease;
    -ms-transition: all 2s ease;
    transition: all 2s ease! important;
    object-fit: cover;
}

.scaleimage img:hover {
    transform: scale(1.1);
    -webkit-transition: all 2s ease! important;
    -moz-transition: all 2s ease;
    -ms-transition: all 2s ease;
}

.scaleimage-event {
    overflow: hidden;
    object-fit: cover;
}

.scaleimage-event img {
    overflow: hidden;
    -webkit-transition: all 2s ease! important;
    -moz-transition: all 2s ease;
    -ms-transition: all 2s ease;
    transition: all 2s ease! important;
    object-fit: cover;
    height: 500px;
}

.scaleimage-event img:hover {
    transform: scale(1.1);
    -webkit-transition: all 2s ease! important;
    -moz-transition: all 2s ease;
    -ms-transition: all 2s ease;
}

.scaleimage-event2 {
    overflow: hidden;
    object-fit: cover;
}

.scaleimage-event2 img {
    overflow: hidden;
    -webkit-transition: all 2s ease! important;
    -moz-transition: all 2s ease;
    -ms-transition: all 2s ease;
    transition: all 2s ease! important;
    object-fit: cover;
    height: 300px;
}

.scaleimage-event2 img:hover {
    transform: scale(1.1);
    -webkit-transition: all 2s ease! important;
    -moz-transition: all 2s ease;
    -ms-transition: all 2s ease;
}

@media (hover: hover) {
#main-nav li:hover>.sub-menu {
    opacity: 1;
    transform: scale(1);
    width: 400px;
    padding: 20px 20px 0 20px;
}}

#main-nav li>.sub-menu {
    width: 400px!important;
    padding: 20px 20px 0 20px!important;
    height: 250px;
}

ul.sub-menu.tf_box h3 {
    font-size: 25px;
    line-height: 1.2em;
    letter-spacing: 3px;
    font-family: "Montserrat";
    font-weight: 700;
    background-clip: border-box;
    background-image: none;
    color: #745148;
}

ul.sub-menu.tf_box p {
    font-family: Montserrat;
    line-height: 1.3em;
}

li.menu-item-custom-670.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-670 em {
    color: #d39e84;
    font-size: 20px;
}

.menu-item-670 a {
    color: #694a45!important;
}

ul.sub-menu.tf_box a {
    padding: 0! important;
    line-height: 2.2em;
}

ul.sub-menu.tf_box a {
    color: #000! important;
}

ul.sub-menu.tf_box a:hover {
    color: #d39e84!important;
}

@media screen and (max-width: 780px)
{ li.menu-item-custom-670.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-670 {
    display: none! important;
}}

@media screen and (max-width: 780px)
{ .fixed-header #site-logo img:not(.tf_sticky_logo) {
    max-height: none! important;
    width: 250px! important;
}}

.sbi_feedtheme_title_wrapper h3 {
    display: none;
}

@media screen and (max-width: 780px)
{ #main-nav {
    right: 10%!important;
}}

.ground .row-2 {
    background-color: #ecbda1;
}

.ground tr.row-7 {
    background-color: #9db3b0;
}

.ground tr.row-8 {
    background-color: #000000;
}

.ground tr.row-9 {
    background-color: #f2b5a6;
}

.ground tr.row-10 {
    background-color: #0182a3;
}

.ground tr.row-11 {
    background-color: #f6c536;
}

.ground tr.row-12 {
    background-color: #f42c53;
}

.ground tr.row-13 {
    background-color: #f42c53;
}

.ground tr.row-14 {
    background-color: #f39052;
}

.ground tr.row-15 {
    background-color: #c54f6b;
}

.ground tr.row-16 {
    background-color: #7e9f38;
}

.ground tr.row-17 {
    background-color: #22a0d3;
}

.ground tr.row-18 {
    background-color: #000000;
}

.ground tr.row-19 {
    background-color: #9db3b0;
}

.ground tr.row-20 {
    background-color: #a1b06f;
}

table#tablepress-1 h4 {
    font-size: 12px;
    color: #ffffff;
}

table#tablepress-2 h4 {
    font-size: 12px;
    color: #ffffff;
}

.one-half {
    position: relative;
    margin-right: 1%;
    float: left;
        margin-bottom: 0px;
 
}
 
.one-half { width: 49%!important; }
 
@media only screen and (max-width: 780px) {
    .one-half {
        width: 100%!important;
        margin-right: 0;
    }
}

select {
    margin: 0 0 0em!important;
}

.office-contact p {
    margin: 0 0 0.5em;
}

.office-contact textarea {
    min-height: 9em ! important;
    width: 100%;
    height: 9em;
}

.rammill-name {
    width: 100% ! important;
}

.rammill-tel {
    width: 100% ! important;
}

.rammill-email {
    width: 100% ! important;
}

select#office-people {
    width: 100%;
}

select#office-budget {
    width: 100%;
}

select#conference-people {
    width: 100%;
}

select#conference-catering {
    width: 100%;
}

input#conference-date {
    width: 100%;
}

select#conference-people {
    width: 100%;
}

select#conference-tea {
    width: 100%;
}

select#events-details {
    width: 100%;
}

select#events-guests {
    width: 100%;
}

input#events-date {
    width: 100%;
}

select#events-catering {
    width: 100%;
}

li.menu-item-custom-670.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-670 {
    background-image: url(https://rammill.co.uk/wp-content/uploads/2024/07/phone-1.svg);
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: center;
}

@media only screen and (max-width: 1460px) { li.menu-item-custom-670.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-670 {
  display:none!important;
}}

@media only screen and (min-width: 781px) { .module_row.themify_builder_row.tb_obji453.tf_w {
    display:none!important;
}}

.module_row.themify_builder_row.tb_obji453.tf_w {
    width: min-content;
    top: 11px;
    right: -15px;
}

input#conference-people {
    width: 100%;
}

input {
    border: solid 1px black ! important;
}

select {
    border: solid 1px black ! important;
}

textarea {
    border: solid 1px black ! important;
}

#headerwrap {
    background-color: #694a45!important;
}

#headerwrap.fixed-header {
    background-color: #694a45 ! important;
}

.officeimage img {
  height:300px;
}

div#headerwrap .tf_fa {
    display: none;
}

.remove-top-gap {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.module.module-image {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.module.module-image img {
  display: block;
  margin-bottom: 0 !important;
}

