/*
Theme Name: RM_MediaCenter
Author: Raremark
version: 1.0
Description: This theme has been created especially for Raremark.
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, blue, gray, red, white, yellow, dark, light, one-column, two-columns, right-sidebar, fixed-layout, responsive-layout, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: RM_MediaCenter
*/


/* Placeholder text color -- selectors need to be separate to work. 
::-webkit-input-placeholder {
	color: #686868;
}

:-moz-placeholder {
	color: #686868;
}

::-moz-placeholder {
	color: #686868;
	opacity: 1;
	/* Since FF19 lowers the opacity of the placeholder by default *//*
}

:-ms-input-placeholder {
	color: #686868;
}
*/


/***********************************************
RESET 
***********************************************/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}

strong {
    font-weight: bold;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


*, *:before, *:after {
    box-sizing: border-box;
}




/***********************************************
RESET END
***********************************************/

/***********************************************
GRID
***********************************************/

/************************************************
Common columns definitions
 ************************************************/
.col1, .col2, .col3, .col4, .col5, .col6, .col7, .col8, .col9, .col10, .col11, .col12 {
	float: left;
	margin: 0 3% 0 0;
}

.col1.last, .col2.last, .col3.last, .col4.last, .col5.last, .col6.last, .col7.last, .col8.last, .col9.last, .col10.last, .col11.last, .col12 {
	margin: 0;
	float: right;
}

.col1 { width: 5.5%; }
.col2 { width: 14%; }
.col3 { width: 22.5%; }
.col4 { width: 31%; }
.col5 { width: 39.5%; }
.col6 { width: 48%; }
.col7 { width: 56.5%; }
.col8 { width: 65%; }
.col9 { width: 73.5%; }
.col10 { width: 82%; }
.col11 { width: 90.5%; }
.col12 { width: 99%; margin: 0; }

.col1 img, .col2 img, .col3 img, .col4 img, .col5 img, .col6 img, .col7 img, .col8 img, .col9 img, .col10 img, .col11 img, .col12 img {
	width: 100%;
	height: auto;
	display: block;
}

/************************************************
 Disable padding left/right 10px if I'm 1024 or gibber - correct percentage math
 ************************************************/
@media all and (min-width: 1024px) {
	.onepcssgrid-1000 {
		max-width: 1000px;
	}

	.onepcssgrid-1000 .onerow {
		padding: 0;
	}
}

/************************************************
Small devices
************************************************/
@media all and (max-width: 768px) {
	.onerow {
	}

	.col1, .col2, .col3, .col4, .col5, .col6, .col7, .col8, .col9, .col10, .col11, .col4.last {
		float: none;
		width: 99%;
	}
}

/***********************************************
GRID END
***********************************************/



html {
	font-size: 87.5%;
    font-size: 14px;
    line-height: 2em;
}

body {
    min-height: 100%;
    background-color: #fff;
    font-family: Verdana, Geneva, sans-serif;
    color: #666;
    background: #fff;
}

section.hero_landing {
        background: #44c9ef;

}

.hero {
	width: 100%;
	height: 235px;
	margin: -70px 0 70px 0;
	padding-bottom: 50px;
    padding-top: 50px;
    overflow: hidden;
    position: relative;
}

.hero::after {
    content: "";
    background: url(Library/images/header_bg_right.svg); 
    background-position: right bottom;
    background-repeat: no-repeat;
    border-left: 20px solid #44c9ef;
    border-right: 0px;
    opacity: 0.7;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
}

.wrapper {
    padding-left: 30px;
    padding-right: 30px;
    max-width: 1170px;
    margin: 0 auto;
    position: relative;
}

.row:before, .row:after {
    content: " ";
    display: table;
}

.row:after {
    clear: both;
}

.row.top {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(50,145,218,0.3);

}

img.hon {
    width: 60px;
    float: left;
    margin-right: 15px;
    height: auto;
    margin-top: 0;
}

p.hon-text {
    margin: 0;
}


.main {
	/*width: 65%; /*comment out for fixed sidebar*/
	float: left;
	margin: 0 3% 0 0;
	margin-right: 385px; /*for fixed sidebar*/
	padding-top: 30px;
    padding-right: 30px;
}

.main section {
	margin-top: 50px;
	padding-bottom: 22px;
	border-bottom: 2px solid #f1f1f1;
}

.abouttxt {
	border-top: 2px solid #f1f1f1;
	margin-top: 50px;
	padding-top: 40px;
}



a.anchor { 
  margin-top: -50px;
  padding-bottom: 50px; 
  display: block; 
}

.main section:first-child {
	margin-top: 0px;
}

.rhs {
	width: 31%; 
	margin: 0;
	float: right;
	/**/position: relative;
    width: 355px;
    margin-left: -355px;/* to make the side bar a fixed width*/
}


.media-contacts-side, .to-rare, .social-feed {
	padding: 30px 30px;
	margin-bottom: 30px;
	border-radius: 15px;
}

.awards-side {
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 15px;
}

.awards-side h1 {
    margin-bottom: 30px !important;
}

.media-contacts-side, .awards-side {
	border: 2px solid #f1f1f1;
}


.social-feed {
	background: #ebf6f1;
}

.socials-rhs {
	padding-bottom: 40px;
	margin-bottom: 30px;
	border-bottom: 1px solid #c2c2c2;
}

.socials-rhs ul {
    clear: both;
    height: 50px;
}

li.socials {
	float: left;
	margin-right: 15px;
}

.social-icon{
	color: #ffffff;
	background: #3ca4e1;
	border-radius: 50%;
	width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    vertical-align: middle;
    padding: 2px;
}

.rhs-logo {
    width: 46%;
    float: left;
    margin: 0 2% 0px 0;
    padding: 0px 10px 0px 0px;
}

.rhs-logo img{
    width: 100%;
    height: auto;
}

.rhs-logo.bottom{
   margin: 0 2% 0 0;
}

.widget ul li {
color:#ffffff;
font-size:18px;
}

/*.social-icon:hover{
	background: #70c06c;
}
*/

.to-rare  {
	height: 200px;
	background-color: #44c9ef;
    background-image: url(Library/images/gotorare_2.svg); 
    background-size: auto 100%;
    background-position: right;
    background-repeat: no-repeat;
    overflow: hidden;
}



.to-rare a {
	margin-bottom: 0;
    font-size: 22px;
    font-size: 1.571rem;
    line-height: 16px;
    line-height: 1.5rem;
    color: #ffffff;
    padding: 6px 0 0 0;
    display: block;
}

.to-rare a:hover {
    color: #ffffff;
    opacity: 0.7;
}

.to-rare a span {
	font-weight: normal;
	font-size: 1rem;
	font-size: 14px;
}


h1, h2, h3, h4, h5, h6 {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
}

h1 {
    font-size: 28px;
    font-size: 2rem;
    line-height: 38px;
    line-height: 2.714rem;
    margin-bottom: 20px;
    color: #7d378b;
}

.media-contacts-side h1 {
	margin-bottom: 20px;
}

.hero h1.title{
	font-weight: 300;
    font-size: 33px;
    font-size: 2.35714rem;
    line-height: 42px;
    line-height: 3rem;
    color: #fff;
    margin-top: 48px;
    position: absolute;
    z-index: 2;
}

h2 {
    font-size: 22px;
    font-size: 1.57143rem;
    line-height: 30px;
    line-height: 2.14286rem;
    margin-bottom: 20px;
    color: #7d378b
}

h3 {
    font-size: 18px;
    font-size: 1.28571rem;
    line-height: 28px;
    line-height: 2rem;
    margin-bottom: 20px;
    color: #7d378b
}



h4 {
    font-size: 18px;
    font-size: 1.28571rem;
    line-height: 28px;
    line-height: 2rem;
    margin-bottom: 20px
}

h5 {
    font-size: 15px;
    font-size: 1.07143rem;
    line-height: 28px;
    line-height: 2rem;
    margin-bottom: 20px;
    color: #7d378b;
    font-weight: normal
}

blockquote p {
    font-style: italic;
    font-size: 16px;
    font-size: 1.15rem;
    line-height: 28px;
    line-height: 2rem;
}

p.e-entry-title, p {
    font-size: 14px;
	font-size: 1rem;
    line-height: 21px;
    line-height: 1.5rem;
    margin-bottom: 28px;
    font-family: Verdana, Geneva, sans-serif;
    font-weight: 400;
    text-align: left;
}

p.contact {
	font-size: 14px;
	font-size: 1rem;
	line-height: 28px;
    line-height: 2rem;
    margin-bottom: 0px;
}

p.contact span {
	font-weight: bold;
}

p.name {
	font-size: 16px;
	font-size: 1.15rem;
	margin-bottom: 10px;
}

p.team-member {
    font-size: 14px;
    font-size: 1rem;
    line-height: 21px;
    line-height: 1.5rem;
    padding-top: 0px;
    margin-bottom: 0;
    text-align: center;
    color: #666;
    font-weight: bold;
}

p.team-member.job{
    font-weight: normal;
    font-size: 11px;
    font-size: 0.8em;
}


a {
    text-decoration: none;
    color: #20b3e6;
}

a.contactlink {
    font-weight: bold;
}





.icon__rounded-plus {
    background: url(Library/images/icons/plus.png);
}

.icon__rounded-download {
    background: url(Library/images/icons/download.png);
}

.icon__rounded-play {
    background: url(Library/images/icons/play.png);
}

.icon__rounded-back {
    background: url(Library/images/icons/back.png);
}

.icon__rounded-forward {
    background: url(Library/images/icons/forward.png);
}


    .icon__rounded-plus, .icon__rounded-download, .icon__rounded-back, .icon__rounded-forward, .icon__rounded-play {
    border-radius: 50%;
    background-size: 16px;
    width: 30px;
    height: 30px;
    display: inline-block;
    background-position: center center;
    background-color: #20a3e0;
    background-repeat: no-repeat;
    vertical-align: middle;
}


a:hover [class*="icon__rounded-"], a:hover [class*="social-icon"] {
    background-color: #70c06c;
}


.posts-navigation h2 {display: none;}

.nav-next {
    text-align: right;
}

a:hover {
    color: #70c06c;
}



ul.floated-list-bullets {
	display: block;
    list-style-type: disc;
}

ul.floated-list-bullets li {
	float: left;
	padding-right: 30px;
}

ul.pressreleased {
    list-style: disc;
    color: #7d378b;
    margin-left: 20px;
    margin-bottom: 13px;
}

ul.pressreleased li span {
    color: #666666;
    font-size: 14px;
    font-size: 1rem;
    line-height: 28px;
    line-height: 2rem;
}

ul.pressreleased li {
    margin-bottom: 15px;
}

.postdownload {
    margin-bottom: -20px;
    margin-top: 4px;
    border-top: 2px dotted #f1f1f1;
    padding-top: 30px;
}

/***********************************************
PRESS RELEASE
***********************************************/

ul.releases li, ul.mediaspotlight li, .thepost {
	margin-bottom: 30px;
	padding-bottom: 10px; /* put back to 30px if we end up including the extract again*/
	border-bottom: 2px dotted #f1f1f1;
}



ul.releases li.full:nth-child(2) .page-excerpt-link > span,
ul.releases li.full:nth-child(3) .page-excerpt-link > span, 
ul.releases li.full:nth-child(2) .excerpt,
ul.releases li.full:nth-child(3) .excerpt {
    display: none;
}

/* uncomment out if we end up including the extract again*/
/*
ul.mediaspotlight h2, 
li.full:nth-child(2) h2,
li.full:nth-child(3) h2 {
    margin-bottom: 0px;
}
*/

p.poston, p.publication {
    margin-bottom: 0px;
    color: #707070;
    font-size: 12px;
    font-size: 0.857rem;
}

ul.mediakit li {
    padding: 20px 30px;
    background: #f1f1f1;

}

ul.mediakit li:nth-child(even) {
    background: none;
}

ul.mediakit img {
    width: 100px;
    height: 100px;
}

.download-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    
}


.download-wrapper .thumb {
    margin-right: 30px;
    width: 16%;
}

p.download-item {
    width: 45%;
    padding-right: 30px;
}

p.download-item.film-desc {
    width: 55%;
}

p.download-item.filesize {
    width: 14%;
}

.download-link {
    margin-left: auto;
    width: 18%;
}

 p.download-item, a.download-item   {
    margin: 0px;
   
 }


 p.download-item:first-child   {
    font-weight: bold;
   
 }


#spotlights .poston, #spotlights .entry-title {
    display: none;
} 

#pressreleases .entry-content p, #spotlights h2 {
    margin-bottom: 0px;
} 

/***********************************************
PRESS RELEASE END
***********************************************/

/***********************************************
HEADER
***********************************************/

header {
	background: #62b55d;
	margin-bottom: 70px;
}

article > header {
    background: transparent;
}

.header-top {
    padding-top: 13px;
    padding-bottom: 13px;
}

.logo {
	position: relative;
    width: 148px;
    height: 27px;
}

.header-bottom {
	    height: 110px;
    padding-top: 15px;
     background: #5eb78c;
}

nav.nav-large {

}

nav.nav-large ul {
	color: #ffffff;
	list-style: disc;
}

nav.nav-large ul li {
	float: left;
    margin-right: 30px;
    margin: 0 15px;



}

nav.nav-large ul li a{
    padding: 0 25px;
    color: #fff;
    display: block;
    font-size: 16px;
    font-size: 1.142857rem;
    line-height: 40px;
    line-height: 2.85714rem;
    font-family: "Lato", sans-serif;
    font-weight: 700;
    border-radius: 30px;
}

nav.nav-large ul li:first-child {
    list-style: none;
    margin-left: 0;
}

nav.nav-large ul li.icon a {
	    font-size: 18px;
    font-size: 1.28571rem;
    line-height: 40px;
    line-height: 2.85714rem;
    color: #fff;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: -15px;
}

nav.nav-large ul li:last-child {
	margin-right: 0px;
}


nav.nav-large ul li a:hover {
    background: #61c29f;
    color: #fff;
}

.mobile-nav {
        display: none;
    }



   .mobile-nav a {
    color: #ffffff;
    font-size: 14px;
    font-size: 1em;
    line-height: 28px;
    line-height: 2em;
    }


    
.menu-right {
    background: #5eb78c;
    position: fixed;
    width: 240px;
    height: 100%;
    top: 0;
    z-index: 1000;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.menu-right h3 {
    color: #afdefa;
    font-size: 1.9em;
    padding: 20px;
    margin: 0;
    font-weight: 300;
    background: #0d77b6;
}

.menu-right a {
    display: block;
    color: #fff;
    font-size: 1.1em;
    font-weight: 300;
    border-bottom: 1px solid #ffffff;
    padding: 1em;
    text-decoration: none;
    text-align: right;
}

.menu-right a:hover {
    background: #ffffff;
    color:#70c06c;http://localhost:8888/
}

.menu-right a:active {
    background: #6cc544;
}

.menu-right {
    right: -240px;
}

.menu-right.menu-open {
    right: 0px;
}

/***********************************************
HEADER END
***********************************************/

/***********************************************
FOOTER
***********************************************/

footer {
	background: #5eb78c;
	height: 57px;
    line-height: 57px;
    width: 100%;
    color: #ffffff;
    margin-top: 70px;
}

footer a {
	color: #ffffff;
}

.copyright {
    text-align: right;
}


@media (max-width: 768px) {

    footer {
    margin-top: 30px;
    }
}

/***********************************************
FOOTER END
***********************************************/

/***********************************************
404
***********************************************/

.error {
    text-align: center;
    padding-bottom: 50px;
}

.error svg {
    width: 350px;
    height: 350px;
    display: block;
    margin: -20px auto;
}

.error p {
    margin: 8px 0;
    text-align: center;
}
/***********************************************
404 END
***********************************************/


@media (max-width: 1040px) {
    
    img.download-item {
        margin-right: 20px
    }  

    a.download-item {
        text-align: center;
    }

    i.icon__rounded-download {
        margin-bottom: 10px;
    }

}

@media (max-width: 1024px) {

    nav.nav-large ul li a {
        padding: 0 9px;
        font-size: 16px;
        font-size: 1.14286rem;
        line-height: 40px;
        line-height: 2.85714rem;
    }

    .hero::after {
        border: 20px solid #44c9ef;
        border-right: 0px;
    }

}

@media (max-width: 955px) {

.main {
    float: left;
    margin: 0 3% 0 0;
    margin-right: 354px;
    padding-top: 30px;
    padding-right: 30px;
}
    

}

@media (max-width: 924px) {

    .main {
    float: left;
    margin: 0 3% 0 0;
    margin-right: 385px;
    padding-top: 30px;
    padding-right: 30px;
}

.download-wrapper {
    display: inline-block;
    width: 100%;
}


.download-wrapper .thumb, p.download-item, p.download-item.filesize, .download-link, p.download-item.film-desc {
    width: 100%;
}

ul.mediakit img, p.download-item, a.download-item {
        margin: 0 auto;
            
            text-align: center;
    margin-bottom: 10px;
    font-size: 16px;
    }

    p.filesize {
    font-size: 12px;
    }

   .thumb, .download-link {
    width: 100%
   }

    ul.mediakit img {
    height: auto;
    width: auto;
    max-width: 200px;
    display: block;
    margin: 0 auto 20px auto;
}

a.download-item {
    height: auto;
    width: auto;
    display: block;
    margin: 20px auto 0px auto;
    float: none;
}

}


@media (max-width: 825px) {
    .main {
    padding-right: 0;
}

.rhs {
    
    margin-left: -385px;
}

nav.nav-large ul li {
    float: left;
    margin-right: 30px;
    margin: 0 10px;
}

}


@media (max-width: 785px) {

    .main {
    margin-right: 0px;
    padding-right: 0;
    padding-top: 0;
}

.rhs {
    float: left;
    width: 100%;
    margin-left: 0;
    margin-top: 50px;
}

.rhs-logo {
    width: 30%;
    float: left;
    margin: 0 4% 0px 0;
    padding: 0px 10px 0px 0px;
}

section#contact {
    display: none;
}

    
    nav.nav-large ul  {
        display: none;
    }

    .header-bottom {
        display: none;
    }

    .mobile-nav {
        display: block;
        float: right;
    }



    .hero h1.title {
    font-weight: 300;
    font-size: 44px;
    line-height: 42px;
    line-height: 3rem;
    color: #fff;
    margin-top: 0;
    text-align: center;
    position: relative;
}

.hero {
    height: 365px;
    margin: -70px 0 70px 0;
    padding-bottom: 50px;
    padding-top: 50px;

}





.overlay {
    display: block;
    visibility: hidden;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    height: 100%;
    background: rgba(255,255,255,0);
    z-index: 900;
    -webkit-transition: visibility 0s linear 300ms,background 300ms cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: visibility 0s linear 300ms,background 300ms cubic-bezier(0.165, 0.84, 0.44, 1);
}


.overlay.isvisible {
    -webkit-backdrop-filter: blur(10px);
    -webkit-transition: visibility 0s linear,background 300ms cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: visibility 0s linear,background 300ms cubic-bezier(0.165, 0.84, 0.44, 1);
    visibility: visible;
    background: rgba(255,255,255,0.8);
}

}


@media (max-width: 500px) {
    
    .hero h1.title {
    font-size: 28px;
    font-size: 2rem;
    line-height: 42px;
    line-height: 3rem;
    text-align: center;
}

    .hero {
    height: 255px;
    margin: -70px 0 70px 0;
    padding-bottom: 50px;
    padding-top: 30px;
}

.rhs-logo {
    width: 46%;
    float: left;
    margin: 0 4% 0px 0;
    padding: 0px 10px 0px 0px;
}


}

